Need help with af_unix audisd plugin
Steve, thank you so much =)
I suppose you meant ncat -U --recv-only due to nc doesn't have --recv-only option. ncat works as expected (shows incoming audit messages).
Regards
Rinat
Quoted 19 lines · Steve Grubb
Hello,
Quoted 1 line · EDT Rinat Gadelshin
Could I ask your help with the plugin?
The mail list might get a faster response. I sometimes get busy.
Quoted 13 lines
I try to check it by the following way on my Ubuntu 20.04:
-
systemctl stop auditd
- set 'active' parameter to 'yes' (file/etc/audisp/plugins.d/af_unix.conf)
-systecmtl start auditd
-systemctl status auditdshows that the service is running.
-auditctl -w /tmp/delme
-auditctl -lshows that the rule has been successfully added.
-ls -l /var/run/audispd_eventsprints "srwxr-xr-x 1 root root 0 okt 10 18:38/var/run/audispd_events"
- launchnc -Ul /var/run/audispd_eventsin another terminal
-echo 1 > /tmp/delme
Quoted 10 lines
Quoted 2 lines
Expected result:
nchas received some audit events for the file. Actual result:nchas received nothing.nc -U --recv-only
/var/run/audispd_eventsQuoted 1 line
Can you tell me what I did wrong?
See above.
-Steve
--
Linux-audit mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/linux-audit