* Many rules one one line
@ 2006-04-03 22:43 Mont Rothstein
[not found] ` <d9c105ea0604032008gf9e908g12ae45119f2376bf@mail.gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Mont Rothstein @ 2006-04-03 22:43 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 273 bytes --]
Is there any reason not to put many rules on one line in audit.rules?
Ex:
-a exit, always -S creat -S open -S truncate -S truncate64 -S ftruncate -S
ftruncate64 -S unlink -S link -S symlink -S rename -S mkdir -S rmdir -F
devmajor=253 -F devminor=1
Thanks,
-Mont
[-- Attachment #1.2: Type: text/html, Size: 303 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Many rules one one line
[not found] ` <d9c105ea0604032008gf9e908g12ae45119f2376bf@mail.gmail.com>
@ 2006-04-04 3:08 ` Dustin Kirkland
0 siblings, 0 replies; 2+ messages in thread
From: Dustin Kirkland @ 2006-04-04 3:08 UTC (permalink / raw)
To: Linux Audit Discussion
On 4/3/06, Mont Rothstein <mont.rothstein@gmail.com> wrote:
> Is there any reason not to put many rules on one line in audit.rules?
>
> Ex:
> -a exit, always -S creat -S open -S truncate -S truncate64 -S ftruncate -S
> ftruncate64 -S unlink -S link -S symlink -S rename -S mkdir -S rmdir -F
> devmajor=253 -F devminor=1
Yes, that is preferred. The total overhead of storing this rule in
the kernel is reduced, and it's more efficient for the kernel
filtering code to iterate over.
You might have missed it, but this is exactly what Steve Grubb
recommended to you on 3/28:
https://www.redhat.com/archives/linux-audit/2006-March/msg00249.html
:-Dustin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-04 3:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03 22:43 Many rules one one line Mont Rothstein
[not found] ` <d9c105ea0604032008gf9e908g12ae45119f2376bf@mail.gmail.com>
2006-04-04 3:08 ` Dustin Kirkland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox