[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1763122537.git.rrobaina@redhat.com>
Date: Fri, 14 Nov 2025 09:36:15 -0300
From: Ricardo Robaina <rrobaina@...hat.com>
To: audit@...r.kernel.org,
linux-kernel@...r.kernel.org,
netfilter-devel@...r.kernel.org,
coreteam@...filter.org
Cc: paul@...l-moore.com,
eparis@...hat.com,
fw@...len.de,
pablo@...filter.org,
kadlec@...filter.org,
Ricardo Robaina <rrobaina@...hat.com>
Subject: [PATCH v7 0/2] audit: improve NETFILTER_PKT records
Currently, NETFILTER_PKT records lack source and destination
port information, which is often valuable for troubleshooting.
This patch series adds ports numbers, to NETFILTER_PKT records.
The first patch refactors netfilter-related code, by moving
duplicated code to audit.c, by creating audit_log_nf_skb()
helper function.
The second one, improves the NETFILTER_PKT records, by
including source and destination ports for protocols of
interest.
Ricardo Robaina (2):
audit: add audit_log_nf_skb helper function
audit: include source and destination ports to NETFILTER_PKT
include/linux/audit.h | 8 ++
kernel/audit.c | 159 +++++++++++++++++++++++++++++++++++++++
net/netfilter/nft_log.c | 58 +-------------
net/netfilter/xt_AUDIT.c | 58 +-------------
4 files changed, 169 insertions(+), 114 deletions(-)
--
2.51.1
Powered by blists - more mailing lists