summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/mptcp/config
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-11-19 12:41:37 -0800
committerDavid S. Miller <davem@davemloft.net>2021-11-20 14:11:00 +0000
commit5fb62e9cd3adadd95303447ee8e3f62ee98b0e73 (patch)
treeb2ba5218fe17bae705e846e1af473c82fd69e915 /tools/testing/selftests/net/mptcp/config
parentc9406a23c1161c3a9a672d055ec840b00d730a6f (diff)
downloadlinux-stable-5fb62e9cd3adadd95303447ee8e3f62ee98b0e73.tar.gz
linux-stable-5fb62e9cd3adadd95303447ee8e3f62ee98b0e73.tar.bz2
linux-stable-5fb62e9cd3adadd95303447ee8e3f62ee98b0e73.zip
selftests: mptcp: add tproxy test case
No hard dependencies here, just skip if test environ lacks nft binary or the needed kernel config options. The test case spawns listener in ns2 but ns1 will connect to the ip address of ns4. policy routing + tproxy rule will redirect packets to ns2 instead of forward. v3: - update mptcp/config (Mat Martineau) - more verbose SKIP messages in mptcp_connect.sh Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/mptcp/config')
-rw-r--r--tools/testing/selftests/net/mptcp/config8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/testing/selftests/net/mptcp/config b/tools/testing/selftests/net/mptcp/config
index 0faaccd21447..419e71560fd1 100644
--- a/tools/testing/selftests/net/mptcp/config
+++ b/tools/testing/selftests/net/mptcp/config
@@ -13,5 +13,9 @@ CONFIG_NFT_COUNTER=m
CONFIG_NFT_COMPAT=m
CONFIG_NETFILTER_XTABLES=m
CONFIG_NETFILTER_XT_MATCH_BPF=m
-CONFIG_NF_TABLES_IPV4=y
-CONFIG_NF_TABLES_IPV6=y
+CONFIG_NF_TABLES_INET=y
+CONFIG_NFT_TPROXY=m
+CONFIG_NFT_SOCKET=m
+CONFIG_IP_ADVANCED_ROUTER=y
+CONFIG_IP_MULTIPLE_TABLES=y
+CONFIG_IPV6_MULTIPLE_TABLES=y