]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: only allow in/output for arp packets
authorFlorian Westphal <fw@strlen.de>
Fri, 7 Jul 2017 11:29:03 +0000 (13:29 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 17 Jul 2017 15:02:44 +0000 (17:02 +0200)
commit8c507870f4f807b0bce75e6fec5ef80d366dcacb
treef9865fb83ea6979a8f7ef02d10020af01090e3bb
parent8563630b5b52b6525d7101e680a454433b93611b
netfilter: nf_tables: only allow in/output for arp packets

arp packets cannot be forwarded.

They can be bridged, but then they can be filtered using
either ebtables or nftables bridge family.

The bridge netfilter exposes a "call-arptables" switch which
pushes packets into arptables, but lets not expose this for nftables, so better
close this asap.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_tables_arp.c