Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Monitoring events
@ 2006-06-08 13:55 Steve
  2006-06-08 14:04 ` Steve Grubb
  0 siblings, 1 reply; 6+ messages in thread
From: Steve @ 2006-06-08 13:55 UTC (permalink / raw)
  To: linux-audit

I have the program adding rules to Audit now.  Thank you for your help.

I also have my program monitoring the output from auditd (via the 
dispatch option in auditd.conf).

Ideally, I would like to only capture (or parse) events pertaining to 
rules I have created (since other system processes are using auditd as 
well).  Is there's any kind of identifier that ties events to rules?

Thank you again,
Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Monitoring events
  2006-06-08 13:55 Monitoring events Steve
@ 2006-06-08 14:04 ` Steve Grubb
  2006-06-08 14:22   ` Steve
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Grubb @ 2006-06-08 14:04 UTC (permalink / raw)
  To: linux-audit

On Thursday 08 June 2006 09:55, Steve wrote:
> Ideally, I would like to only capture (or parse) events pertaining to
> rules I have created (since other system processes are using auditd as
> well).  Is there's any kind of identifier that ties events to rules?

Which kernel are you using? Are your events only watches or do you care about 
syscall auditing as well (meaning you have set some syscall audit rules) ?

-Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Monitoring events
  2006-06-08 14:04 ` Steve Grubb
@ 2006-06-08 14:22   ` Steve
  2006-06-08 14:39     ` Steve Grubb
  0 siblings, 1 reply; 6+ messages in thread
From: Steve @ 2006-06-08 14:22 UTC (permalink / raw)
  To: linux-audit; +Cc: Steve

>> Ideally, I would like to only capture (or parse) events pertaining to
>> rules I have created (since other system processes are using auditd as
>> well).  Is there's any kind of identifier that ties events to rules?

> Which kernel are you using? Are your events only watches or do you care about 
> syscall auditing as well (meaning you have set some syscall audit rules) ?

kernel-2.6.16-1.2212.2.8_FC6.lspp.34.i686 on Fedora Core 5

At the moment they are only watches, I may add others (syscall rules) later.

Thanks again,
Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Monitoring events
  2006-06-08 14:22   ` Steve
@ 2006-06-08 14:39     ` Steve Grubb
  2006-06-08 14:57       ` Steve
  0 siblings, 1 reply; 6+ messages in thread
From: Steve Grubb @ 2006-06-08 14:39 UTC (permalink / raw)
  To: linux-audit; +Cc: Steve

On Thursday 08 June 2006 10:22, Steve wrote:
> >> Ideally, I would like to only capture (or parse) events pertaining to
> >> rules I have created (since other system processes are using auditd as
> >> well).  Is there's any kind of identifier that ties events to rules?
> >
> > Which kernel are you using? Are your events only watches or do you care
> > about syscall auditing as well (meaning you have set some syscall audit
> > rules) ?
>
> kernel-2.6.16-1.2212.2.8_FC6.lspp.34.i686 on Fedora Core 5
>
> At the moment they are only watches,

OK, the lspp series (so far) does not support the idea of a "key tag" as RHEL4 
did. The key would have allowed you to recognize events you are interested 
in. That said, you can look for events that have an AUDIT_PATH record in 
them. Those would likely be yours.

> I may add others (syscall rules) later.

That would complicate the analysis somewhat. But you could still do it. You 
can also look over the list of message types and see which ones you do not 
want and reject those early in the filtering.

-Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Monitoring events
  2006-06-08 14:39     ` Steve Grubb
@ 2006-06-08 14:57       ` Steve
  2006-06-08 15:23         ` Steve Grubb
  0 siblings, 1 reply; 6+ messages in thread
From: Steve @ 2006-06-08 14:57 UTC (permalink / raw)
  To: linux-audit

>>>> Is there's any kind of identifier that ties events to rules?
>>> Which kernel are you using? Are your events only watches or do you care
>>> about syscall auditing as well (meaning you have set some syscall audit
>>> rules) ?
>> kernel-2.6.16-1.2212.2.8_FC6.lspp.34.i686 on Fedora Core 5
>> At the moment they are only watches,
> OK, the lspp series (so far) does not support the idea of a "key tag" as RHEL4 
> did.

So, assuming I installed RHEL4, would this "key tag" allow all events to 
be tied to rules, or just the file watch events?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Monitoring events
  2006-06-08 14:57       ` Steve
@ 2006-06-08 15:23         ` Steve Grubb
  0 siblings, 0 replies; 6+ messages in thread
From: Steve Grubb @ 2006-06-08 15:23 UTC (permalink / raw)
  To: linux-audit

On Thursday 08 June 2006 10:57, Steve wrote:
> So, assuming I installed RHEL4, would this "key tag" allow all events to
> be tied to rules, or just the file watch events?

There has been some talk about adding the "key" to LSPP kernels. So this might 
be available eventually. (You are testing against a kernel that is under 
development and not feature complate.)

RHEL4 on the otherhand has an older audit system. I have not backported the 
audit dispatcher interface to the 1.0.X series. It shouldn't be difficult and 
might be something I do for 1.0.15.

-Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-06-08 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 13:55 Monitoring events Steve
2006-06-08 14:04 ` Steve Grubb
2006-06-08 14:22   ` Steve
2006-06-08 14:39     ` Steve Grubb
2006-06-08 14:57       ` Steve
2006-06-08 15:23         ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox