]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: netfilter: synproxy test requires nf_conntrack
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 10 Feb 2022 09:11:52 +0000 (10:11 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 10 Feb 2022 15:34:46 +0000 (16:34 +0100)
commit249749c88906a00dc937a750406a36dfd11b5701
treebb89f48840a3eb35f881d68d6c8fe7747bb6e70a
parent2b4e5fb4d3776c391e40fb33673ba946dd96012d
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: 7152303cbec4 ("selftests: netfilter: add synproxy test")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/netfilter/nft_synproxy.sh