]> git.dujemihanovic.xyz Git - linux.git/commit
selftests: netfilter: add reverse-clash resolution test case
authorFlorian Westphal <fw@strlen.de>
Tue, 10 Sep 2024 09:38:16 +0000 (11:38 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 26 Sep 2024 11:03:01 +0000 (13:03 +0200)
commita57856c0bbc238779e56ec9e48a7ba8e06d8bebf
tree2c9f22740540c86e22bf596178c2bf3d004a6664
parenta4e6a1031e7769c63d17b8e97d79e25dd7271fd3
selftests: netfilter: add reverse-clash resolution test case

Add test program that is sending UDP packets in both directions
and check that packets arrive without source port modification.

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