aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/netfilter/Makefile
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-04-11 16:36:39 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-04-12 01:45:58 +0200
commit26f7fe4a5db5b41d2abe53e37100c8984b157fb2 (patch)
tree8d016e221ff95decadb9c846f0ac21421e5d8bb6 /tools/testing/selftests/netfilter/Makefile
parentnetfilter: nf_nat_masquerade: unify ipv4/6 notifier registration (diff)
downloadwireguard-linux-26f7fe4a5db5b41d2abe53e37100c8984b157fb2.tar.xz
wireguard-linux-26f7fe4a5db5b41d2abe53e37100c8984b157fb2.zip
selftests: netfilter: add ebtables broute test case
ebtables -t broute allows to redirect packets in a way that they get pushed up the stack, even if the interface is part of a bridge. In case of IP packets to non-local address, this means those IP packets are routed instead of bridged-forwarded, just as if the bridge would not have existed. Expected test output is: PASS: netns connectivity: ns1 and ns2 can reach each other PASS: ns1/ns2 connectivity with active broute rule PASS: ns1/ns2 connectivity with active broute rule and bridge forward drop Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: David S. Miller <davem@davemloft.net> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/testing/selftests/netfilter/Makefile')
-rw-r--r--tools/testing/selftests/netfilter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/netfilter/Makefile b/tools/testing/selftests/netfilter/Makefile
index c9ff2b47bd1c..80dae72a25c7 100644
--- a/tools/testing/selftests/netfilter/Makefile
+++ b/tools/testing/selftests/netfilter/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
# Makefile for netfilter selftests
-TEST_PROGS := nft_trans_stress.sh nft_nat.sh
+TEST_PROGS := nft_trans_stress.sh nft_nat.sh bridge_brouter.sh
include ../lib.mk