aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2025-04-17 17:14:28 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2025-05-05 13:14:10 +0200
commitd33f889fd80c91e0250874e910fc58918eb660db (patch)
treee28cfdf52f1d0afd14608da15f320b84ca36724a /tools/perf/scripts/python/export-to-postgresql.py
parentnetfilter: bridge: Move specific fragmented packet to slow_path instead of dropping it (diff)
downloadwireguard-linux-d33f889fd80c91e0250874e910fc58918eb660db.tar.xz
wireguard-linux-d33f889fd80c91e0250874e910fc58918eb660db.zip
selftests: netfilter: add conntrack stress test
Add a new test case to check: - conntrack_max limit is effective - conntrack_max limit cannot be exceeded from within a netns - resizing the hash table while packets are inflight works - removal of all conntrack rules disables conntrack in netns - conntrack tool dump (conntrack -L) returns expected number of (unique) entries - procfs interface - if available - has same number of entries as conntrack -L dump Expected output with selftest framework: selftests: net/netfilter: conntrack_resize.sh PASS: got 1 connections: netns conntrack_max is pernet bound PASS: got 100 connections: netns conntrack_max is init_net bound PASS: dump in netns had same entry count (-C 1778, -L 1778, -p 1778, /proc 0) PASS: dump in netns had same entry count (-C 2000, -L 2000, -p 2000, /proc 0) PASS: test parallel conntrack dumps PASS: resize+flood PASS: got 0 connections: conntrack disabled PASS: got 1 connections: conntrack enabled ok 1 selftests: net/netfilter: conntrack_resize.sh Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions