Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | segtree: add support for get element with sets that contain ifnames | Florian Westphal | 2022-04-13 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | | nft get element inet filter s { bla, prefixfoo } table inet filter { set s { type ifname flags interval elements = { "prefixfoo*", "bla" } } Also add test cases for this. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | tests: add testcases for interface names in sets | Florian Westphal | 2022-04-13 | 1 | -0/+83 |
Add initial test case, sets with names and interfaces, anonymous and named ones. Check match+no-match. netns with ppp1 and ppq veth, send packets via both interfaces. Rule counters should have incremented on the three rules. (that match on set that have "abcdef1" or "abcdef*" strings in them). Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |