You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried creating my own plugin of type af_unix on Ubuntu 20.04 and RHEL 7 system (audit 2.8.5). Everything looked fine, I could connect to socket on given file and then listen to events. After that I've installed Wazuh, which creates its own af_unix plugin in some other location.
It causes events to be duplicated in both sockets, as you can see in this output:
Of course when I create third plugin (e.g. activate default example af_unix plugin) then there are three copies of each record in every socket. This issue does not occur on Alma Linux 9 system (audit 3.1.2).
How can I deal with such behavior? Is it expected? Is there any workaround?
The text was updated successfully, but these errors were encountered:
But why should there be only one .config file inside plugin directory? Why can't I have multiple af_unix plugins? When there are two independent apps that utilize audit af_unix socket it's hard to enforce that they should use the same one as they both deploy their own configuration for plugin.
Why is it possible in audit >= 3.0 then? Was there some bug fixed? Can't see anything related in changelog
I've tried creating my own plugin of type
af_unix
on Ubuntu 20.04 and RHEL 7 system (audit 2.8.5). Everything looked fine, I could connect to socket on given file and then listen to events. After that I've installed Wazuh, which creates its ownaf_unix
plugin in some other location.It causes events to be duplicated in both sockets, as you can see in this output:
Of course when I create third plugin (e.g. activate default example af_unix plugin) then there are three copies of each record in every socket. This issue does not occur on Alma Linux 9 system (audit 3.1.2).
How can I deal with such behavior? Is it expected? Is there any workaround?
The text was updated successfully, but these errors were encountered: