diff options
author | 2025-05-21 22:44:34 +0200 | |
---|---|---|
committer | 2025-05-23 13:57:14 +0200 | |
commit | 73db1b5dab6fe17baf9fe2b0d7c8dfd1d4a5b3e5 (patch) | |
tree | 98e1c3af2f46b7b8a83d1b21b25d76296ed4b0aa /scripts/gdb/linux/modules.py | |
parent | netfilter: nf_tables: Add notifications for hook changes (diff) | |
download | wireguard-linux-73db1b5dab6fe17baf9fe2b0d7c8dfd1d4a5b3e5.tar.xz wireguard-linux-73db1b5dab6fe17baf9fe2b0d7c8dfd1d4a5b3e5.zip |
selftests: netfilter: Torture nftables netdev hooks
Add a ruleset which binds to various interface names via netdev-family
chains and flowtables and massage the notifiers by frequently renaming
interfaces to match these names. While doing so:
- Keep an 'nft monitor' running in background to receive the notifications
- Loop over 'nft list ruleset' to exercise ruleset dump codepath
- Have iperf running so the involved chains/flowtables see traffic
If supported, also test interface wildcard support separately by
creating a flowtable with 'wild*' interface spec and quickly add/remove
matching dummy interfaces.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions