From: Paul Moore <paul.moore@hp.com>
To: linux-audit@redhat.com
Subject: Re: Performance of libauparse
Date: Wed, 1 Oct 2008 14:38:17 -0400 [thread overview]
Message-ID: <200810011438.17154.paul.moore@hp.com> (raw)
In-Reply-To: <1222866927.28251.115.camel@localhost.localdomain>
On Wednesday 01 October 2008 9:15:27 am Eric Paris wrote:
> On Tue, 2008-09-30 at 15:18 -0400, John Dennis wrote:
> > Eric likes to point out we can't change the
> > kernel
>
> Close, but not quite. I say we can't change the kernel without
> complete backwards compatibility. Show me the right solution and we
> can get there, we just can't throw away what's already there.
Not really aimed at anyone in particular, just throwing out a possible
solution ...
1. By default kernel starts up and emits existing string format, legacy
audit daemons function normally
2. If a new audit daemon starts it sends a message to the kernel
indicating that it can handle the new format and the kernel starts
emitting newly formatted records[1]
3. The new audit daemon records the audit records in whatever format it
is configured to so: legacy string format, raw binary format, and/or
some wacky format yet to be invented[2]
[1] The new record format should probably a binary format which makes
use of netlink attributes, this would avoid much of the string parsing
and versioning problems we have seen previously. There is ample
evidence of kernel subsystems using netlink in a similar fashion
successfully.
[2] If done carefully, we might be able to allow administrators to
create their own on-disk string formats without the need to write an
entire dispatcher plug-in.
--
paul moore
linux @ hp
next prev parent reply other threads:[~2008-10-01 18:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 13:34 Performance of libauparse Matthew Booth
2008-09-30 18:34 ` Steve Grubb
2008-09-30 19:18 ` John Dennis
2008-09-30 22:18 ` Matthew Booth
2008-10-01 13:15 ` Eric Paris
2008-10-01 16:08 ` Matthew Booth
2008-10-01 18:46 ` Steve Grubb
2008-10-01 18:38 ` Paul Moore [this message]
2008-10-01 19:20 ` LC Bruzenak
2008-10-01 19:31 ` LC Bruzenak
2008-10-01 21:19 ` Paul Moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200810011438.17154.paul.moore@hp.com \
--to=paul.moore@hp.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox