Richard Guy Briggs
c520292f29
audit: log nftables configuration change events once per table
...
Reduce logging of nftables events to a level similar to iptables.
Restore the table field to list the table, adding the generation.
Indicate the op as the most significant operation in the event.
A couple of sample events:
type=PROCTITLE msg=audit(2021-03-18 09:30:49.801:143) : proctitle=/usr/bin/python3 -s /usr/sbin/firewalld --nofork --nopid
type=SYSCALL msg=audit(2021-03-18 09:30:49.801:143) : arch=x86_64 syscall=sendmsg success=yes exit=172 a0=0x6 a1=0x7ffdcfcbe650 a2=0x0 a3=0x7ffdcfcbd52c items=0 ppid=1 pid=367 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=roo
t sgid=root fsgid=root tty=(none) ses=unset comm=firewalld exe=/usr/bin/python3.9 subj=system_u:system_r:firewalld_t:s0 key=(null)
type=NETFILTER_CFG msg=audit(2021-03-18 09:30:49.801:143) : table=firewalld:2 family=ipv6 entries=1 op=nft_register_table pid=367 subj=system_u:system_r:firewalld_t:s0 comm=firewalld
type=NETFILTER_CFG msg=audit(2021-03-18 09:30:49.801:143) : table=firewalld:2 family=ipv4 entries=1 op=nft_register_table pid=367 subj=system_u:system_r:firewalld_t:s0 comm=firewalld
type=NETFILTER_CFG msg=audit(2021-03-18 09:30:49.801:143) : table=firewalld:2 family=inet entries=1 op=nft_register_table pid=367 subj=system_u:system_r:firewalld_t:s0 comm=firewalld
type=PROCTITLE msg=audit(2021-03-18 09:30:49.839:144) : proctitle=/usr/bin/python3 -s /usr/sbin/firewalld --nofork --nopid
type=SYSCALL msg=audit(2021-03-18 09:30:49.839:144) : arch=x86_64 syscall=sendmsg success=yes exit=22792 a0=0x6 a1=0x7ffdcfcbe650 a2=0x0 a3=0x7ffdcfcbd52c items=0 ppid=1 pid=367 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=r
oot sgid=root fsgid=root tty=(none) ses=unset comm=firewalld exe=/usr/bin/python3.9 subj=system_u:system_r:firewalld_t:s0 key=(null)
type=NETFILTER_CFG msg=audit(2021-03-18 09:30:49.839:144) : table=firewalld:3 family=ipv6 entries=30 op=nft_register_chain pid=367 subj=system_u:system_r:firewalld_t:s0 comm=firewalld
type=NETFILTER_CFG msg=audit(2021-03-18 09:30:49.839:144) : table=firewalld:3 family=ipv4 entries=30 op=nft_register_chain pid=367 subj=system_u:system_r:firewalld_t:s0 comm=firewalld
type=NETFILTER_CFG msg=audit(2021-03-18 09:30:49.839:144) : table=firewalld:3 family=inet entries=165 op=nft_register_chain pid=367 subj=system_u:system_r:firewalld_t:s0 comm=firewalld
The issue was originally documented in
https://github.com/linux-audit/audit-kernel/issues/124
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2021-03-31 22:34:11 +02:00
..
2021-03-24 17:52:11 -07:00
2021-03-28 17:56:56 -07:00
2021-03-24 12:48:38 -07:00
2021-02-12 16:40:28 -08:00
2021-01-29 18:24:05 -08:00
2021-03-10 12:45:15 -08:00
2021-03-26 15:14:56 -07:00
2021-02-11 14:59:01 -08:00
2021-03-04 19:11:29 -08:00
2021-01-27 17:04:12 -08:00
2021-03-31 22:34:05 +02:00
2021-02-15 13:21:48 -08:00
2021-03-20 20:21:35 +01:00
2021-03-25 17:05:07 -07:00
2021-03-28 17:56:56 -07:00
2021-01-27 17:03:52 -08:00
2021-03-18 11:19:23 -07:00
2021-03-25 17:05:07 -07:00
2021-01-27 17:04:12 -08:00
2021-03-25 17:05:08 -07:00
2021-03-18 19:51:12 -07:00
2021-03-26 15:09:45 -07:00
2021-03-18 19:13:41 -07:00
2020-11-16 08:08:54 -08:00
2021-01-27 17:04:12 -08:00
2021-03-31 00:37:27 +02:00
2021-03-31 00:37:27 +02:00
2021-03-28 17:31:13 -07:00
2021-03-28 17:31:13 -07:00
2021-01-04 10:05:50 +01:00
2021-03-22 13:17:49 -07:00
2021-03-28 17:56:55 -07:00
2021-03-23 14:14:50 -07:00
2021-03-28 17:31:13 -07:00
2021-03-28 17:31:13 -07:00
2020-11-07 10:40:56 -08:00
2021-03-09 16:12:20 -08:00
2021-03-28 17:31:13 -07:00
2021-03-28 17:31:13 -07:00
2021-03-31 22:34:11 +02:00
2021-03-28 17:56:55 -07:00
2021-02-12 16:31:46 -08:00
2021-03-28 17:56:56 -07:00
2021-03-25 15:31:22 -07:00
2021-03-24 17:52:11 -07:00
2021-03-14 15:00:43 -07:00
2021-03-14 14:28:22 -07:00
2021-03-28 17:52:50 -07:00
2020-12-11 12:47:17 +01:00
2021-03-10 12:45:15 -08:00
2021-02-12 16:42:05 -08:00
2021-03-25 15:31:22 -07:00
2021-03-28 17:52:50 -07:00
2021-01-12 20:22:01 -08:00
2021-03-16 10:22:50 -07:00
2021-02-14 17:38:11 -08:00
2021-03-29 16:28:50 -07:00
2021-03-24 17:52:11 -07:00
2021-01-24 14:27:18 +01:00
2021-03-28 17:52:51 -07:00
2021-03-28 17:31:14 -07:00
2021-03-28 17:31:13 -07:00
2021-03-10 01:06:34 +01:00
2021-03-28 17:31:14 -07:00
2020-10-03 00:02:13 -04:00
2021-03-19 13:38:46 -07:00
2021-01-27 17:03:52 -08:00
2021-03-25 16:56:27 -07:00