diff options
| author | Phil Sutter <[email protected]> | 2025-05-21 20:44:34 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2025-05-23 11:57:14 +0000 |
| commit | 73db1b5dab6fe17baf9fe2b0d7c8dfd1d4a5b3e5 (patch) | |
| tree | 98e1c3af2f46b7b8a83d1b21b25d76296ed4b0aa /net/core/dev_api.c | |
| parent | netfilter: nf_tables: Add notifications for hook changes (diff) | |
| download | kernel-73db1b5dab6fe17baf9fe2b0d7c8dfd1d4a5b3e5.tar.gz kernel-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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
