summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-06-27 17:27:51 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2025-07-14 16:21:33 +0300
commit78a58836358783995884784cb20021db6f6a29df (patch)
tree6f6c71de479c9e7d29135ac274cc5cbf1663c36d /scripts/gdb/linux/utils.py
parentb08590559f4b6954f1bf2510445aba346044c91b (diff)
downloadlinux-78a58836358783995884784cb20021db6f6a29df.tar.xz
selftests: netfilter: add conntrack clash resolution test case
Add a dedicated test to exercise conntrack clash resolution path. Test program emits 128 identical udp packets in parallel, then reads back replies from socat echo server. Also check (via conntrack -S) that the clash path was hit at least once. Due to the racy nature of the test its possible that despite the threaded program all packets were processed in-order or on same cpu, emit a SKIP warning in this case. Two tests are added: - one to test the simpler, non-nat case - one to exercise clash resolution where packets might have different nat transformations attached to them. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions