Skip to content

nftables: add support for wildcard interfaces

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netlink: swap byteorder for host-endian concat datasrc/netlink.c+4 -00 replies
2/3segtree: add pretty-print support for wildcard strings in concatenated setssrc/segtree.c+36 -20 replies
3/3sets_with_ifnames: add test case for concatenated rangetests/shell/testcases/sets/dumps/sets_with_ifnames.nft tests/shell/testcases/sets/sets_with_ifnames+94 -240 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nft 0/3] nftables: add support for wildcard interfaces

First patch is needed so kernel doesn't think end is before start, second patch allows to dump "x .foo*" correctly, without this nft tries to represent the start/end "name" with a range. This doesn't work well because end range uses \ff padding.

Patch 3 adds tests.

Florian Westphal (3):
netlink: swap byteorder for host-endian concat data
segtree: add pretty-print support for wildcard strings in concatenated
sets
sets_with_ifnames: add test case for concatenated range

 src/netlink.c                                 |  4 +
 src/segtree.c                                 | 38 +++++++-
 .../sets/dumps/sets_with_ifnames.nft          | 25 ++++-
 tests/shell/testcases/sets/sets_with_ifnames  | 93 ++++++++++++++-----
 4 files changed, 134 insertions(+), 26 deletions(-)
Signature · 1 line
2.35.1