Skip to contentSkip to conversation

two questions regarding default audit behavior

DISCUSSION Bill Tangren 2 participants 2 messages Jan 17, 2007

lore
Share & tools
lore
#0 lore raw

I have two questions regarding default audit behavior (i.e. auditd is running, but there is nothing in audit.rules but "-D" and "-b 256"):

1) what is being audited?

2) can I use the -D command to prevent those things from being audited?

I am required to have auditing running, but what I need to audit is specific. One server in particular is slow (a 750 MHz Pentium III) to start with, and default auditing is slowing it down to a crawl.

Bill Tangren

#1 lore raw
Quoted 4 lines · Bill Tangren

I have two questions regarding default audit behavior (i.e. auditd is running, but there is nothing in audit.rules but "-D" and "-b 256"):

1) what is being audited?

Nothing except the hardcoded events in various apps and SE Linux avc events. The default settings is to cater to SE Linux users that have no other use for the audit system.

Quoted 1 line

2) can I use the -D command to prevent those things from being audited?

Nope. You'd have to do "-e 0" to do that. Even then, SE Linux will still send things to the audit system.

Quoted 3 lines

I am required to have auditing running, but what I need to audit is specific. One server in particular is slow (a 750 MHz Pentium III) to start with, and default auditing is slowing it down to a crawl.

Do you have any oprofile data showing the bottleneck? I'd be curious. Also, what kernel are you using? We've tested the performance of the audit system and its not a big hit unless you have a lot of syscall rules loaded. Watches are cheap.

-Steve