On Mon, Oct 13, 2025 at 2:48 PM Paul Moore <[email protected]> wrote: > On Fri, Oct 3, 2025 at 11:43 AM Ricardo Robaina <[email protected]> wrote: > > On Sat, Sep 27, 2025 at 7:45 AM Florian Westphal <[email protected]> wrote: > > > Ricardo Robaina <[email protected]> wrote: > > ... > > > > Maybe Paul would be open to adding something like audit_log_packet() to > > > kernel/audit.c and then have xt_AUDIT.c and nft_log.c just call the > > > common helper. > > > > It sounds like a good idea to me. What do you think, Paul? > > Seems like a good idea to me too.
A quick follow-up to this ... when you are doing the work Ricardo, please do this as a two patch patchset; the first patch should introduce a new common function called by both audit_tg() and nft_log_eval_audit(), and the second patch should add new port information to the audit record. -- paul-moore.com
