Skip to content

iptables: prefer native expressions for udp and tcp matches

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7nft-shared: support native tcp port delinearizeiptables/nft-shared.c iptables/nft-shared.h+179 -20 replies
2/7nft-shared: support native tcp port range delinearizeiptables/nft-shared.c iptables/nft-shared.h iptables/nft.c+115 -00 replies
3/7nft-shared: support native udp port delinearizeiptables/nft-shared.c iptables/nft-shared.h+118 -00 replies
4/7nft: prefer native expressions instead of udp matchiptables/nft.c+122 -00 replies
5/7nft: prefer native expressions instead of tcp matchiptables/nft.c+32 -00 replies
6/7nft-shared: add tcp flag dissectioniptables/nft-shared.c+28 -00 replies
7/7nft: add support for native tcp flag matchingiptables/nft.c+29 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH iptables-nft 0/7] iptables: prefer native expressions for udp and tcp matches

This series switches iptables-nft to use native nft expressions (payload, cmp, range, bitwise) to match on ports and tcp flags.

Patches are split up to first add delinearization support and then switch the add/insert side over to generating those expressions.

Florian Westphal (7):
nft-shared: support native tcp port delinearize
nft-shared: support native tcp port range delinearize
nft-shared: support native udp port delinearize
nft: prefer native expressions instead of udp match
nft: prefer native expressions instead of tcp match
nft-shared: add tcp flag dissection
nft: add support for native tcp flag matching

 iptables/nft-shared.c | 436 +++++++++++++++++++++++++++++++++++++++++-
 iptables/nft-shared.h |   5 +
 iptables/nft.c        | 182 ++++++++++++++++++
 3 files changed, 621 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1