Cooked audit log format

John Dennis jdennis at redhat.com
Tue May 13 12:30:05 UTC 2008


Eric Paris wrote:
> On Mon, 2008-05-12 at 12:12 -0400, John Dennis wrote:
>> It should also be a goal that correct parsing of audit logs not be
>> dependent on specific kernel versions.
> 
> I've heard you say this a number of times.  Can you let me know specific
> examples of what you had to code around due to specific kernel versions
> since the audit system started to settle down?

The set of strings which are encoded in hex vary depending on kernel 
version. That set of special audit fields currently must be hard coded 
into any code which attempts to parse audit output or the parsing will 
fail, sometimes catastrophically. A list of these special field values 
differing between two popular kernel versions has been previously posted 
to this list. That list is not complete. If the rules for string 
encoding were proper and regular this issue would not exist.

-- 
John Dennis <jdennis at redhat.com>




More information about the Linux-audit mailing list