Skip to content

Commit 249749c

Browse files
committed
selftests: netfilter: synproxy test requires nf_conntrack
Otherwise, this test does not find the sysctl entry in place: sysctl: cannot stat /proc/sys/net/netfilter/nf_conntrack_tcp_loose: No such file or directory iperf3: error - unable to send control message: Bad file descriptor FAIL: iperf3 returned an error Fixes: 7152303 ("selftests: netfilter: add synproxy test") Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent 2b4e5fb commit 249749c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/testing/selftests/netfilter/nft_synproxy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ checktool "ip -Version" "run test without ip tool"
2323
checktool "iperf3 --version" "run test without iperf3"
2424
checktool "ip netns add $nsr" "create net namespace"
2525

26+
modprobe -q nf_conntrack
27+
2628
ip netns add $ns1
2729
ip netns add $ns2
2830

0 commit comments

Comments
 (0)