Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of action and filter #7

Open
wland32 opened this issue Mar 25, 2019 · 2 comments
Open

Order of action and filter #7

wland32 opened this issue Mar 25, 2019 · 2 comments

Comments

@wland32
Copy link

wland32 commented Mar 25, 2019

-a exit,always -F arch=b32 -S mknod -S mknodat -k specialfiles

Why it the order of action and filter in this line "-a exit,always" and not "-a always,exit" like all the other lines have?

This line
https://github.com/Neo23x0/auditd/blob/master/audit.rules#L90
also seems to have a reverse order.

Is this intentional?

@Neo23x0
Copy link
Owner

Neo23x0 commented Sep 21, 2020

Oh my .. no. Somehow I've missed this issue in 2019. I'll fix that.

@kovacs-andras
Copy link
Contributor

It really doesn't matter because augenrules will make an -a always,exit from it anyways.
But I also prefer the same way as augenrules makes it because it's easier to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants