]> git.ipfire.org Git - thirdparty/nftables.git/commit
log: Add support for audit logging
authorPhil Sutter <phil@nwl.cc>
Fri, 1 Jun 2018 15:15:07 +0000 (17:15 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 3 Jun 2018 09:53:06 +0000 (11:53 +0200)
commita24552c165346f087e82a52807d134e3910387a8
tree378f69e8fe6c10ac6fd0d111313c3b0ed14371d5
parentefc8a83e943d54e0ca88548a0eaff056ad2a650d
log: Add support for audit logging

This is implemented via a pseudo log level. The kernel ignores any other
parameter, so reject those at evaluation stage. Audit logging is
therefore simply a matter of:

| log level audit

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nf_tables.h
src/evaluate.c
src/parser_bison.y
src/statement.c
tests/py/any/log.t
tests/py/any/log.t.json
tests/py/any/log.t.payload