summaryrefslogtreecommitdiffstats
path: root/files/nftables/inet-filter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2020-10-19 14:46:22 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2020-10-20 12:14:00 +0200
commitc85a7b0faad897b094b95153212ce351140721ea (patch)
treeaee5013e6d0ae78f6f5a97edc69f884fdfbbbc30 /files/nftables/inet-filter
parent26db6cd9061757d9548cfadc4f921caa1aa6aff7 (diff)
src: improve rule error reporting
Kernel provides information regarding expression since 83d9dcba06c5 ("netfilter: nf_tables: extended netlink error reporting for expressions"). A common mistake is to refer a chain which does not exist, e.g. # nft add rule x y jump test Error: Could not process rule: No such file or directory add rule x y jump test ^^^^ Use the existing netlink extended error reporting infrastructure to provide better error reporting as in the example above. Requires Linux kernel patch 83d9dcba06c5 ("netfilter: nf_tables: extended netlink error reporting for expressions"). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'files/nftables/inet-filter')
0 files changed, 0 insertions, 0 deletions