OSDN Git Service

selftests: netfilter: add fib test case
authorFlorian Westphal <fw@strlen.de>
Tue, 8 Jun 2021 11:48:17 +0000 (13:48 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Jun 2021 19:06:35 +0000 (21:06 +0200)
commit82944421243e5988898f54266687586ba07d889e
treec7eb3d4ab8523e33f73a23f38c881b863ceadae0
parentad9f151e560b016b6ad3280b48e42fa11e1a5440
selftests: netfilter: add fib test case

There is a bug report on netfilter.org bugzilla pointing to fib
expression dropping ipv6 DAD packets.

Add a test case that demonstrates this problem.

Next patch excludes icmpv6 packets coming from any to linklocal.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/netfilter/Makefile
tools/testing/selftests/netfilter/nft_fib.sh [new file with mode: 0755]