Skip to content

RFC update iptables-nft dissector

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5nft-shared: dump errors on stdout to garble outputiptables/nft-shared.c+5 -15 replies
2/5iptables-nft: do not refuse to decode table with unsupported expressionsiptables/nft.c iptables/nft.h iptables/xtables-save.c+3 -710 replies
3/5nft: check for unknown meta keysiptables/nft-arp.c iptables/nft-bridge.c iptables/nft-ipv4.c +1 more+21 -80 replies
4/5xlate-test: extra-escape of '"' for replay modexlate-test.py+1 -15 replies
5/5generic.xlate: make one replay test case workextensions/generic.txlate+1 -11 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [iptables-nft RFC 0/5] update iptables-nft dissector

This is n RFC patchset to demonstrate some of the issues of the xlate-replay mode.

I'm planning to push
nft-shared: dump errors on stdout to garble output
xlate-test: extra-escape of '"' for replay mode
nft: check for unknown meta keys

but not the other changes, at least not yet.

I will try to extend the test script to move beyond strcmp, see last patch in series:
manually reordering all test files appears to be too error-prone.

Florian Westphal (5):
nft-shared: dump errors on stdout to garble output
iptables-nft: do not refuse to decode table with unsupported
expressions
nft: check for unknown meta keys
xlate-test: extra-escape of '"' for replay mode generic.xlate: make one replay test case work

 extensions/generic.txlate |  2 +-
 iptables/nft-arp.c        |  9 ++++--
 iptables/nft-bridge.c     |  6 +++-
 iptables/nft-ipv4.c       |  7 +++--
 iptables/nft-ipv6.c       |  7 +++--
 iptables/nft-shared.c     |  6 +++-
 iptables/nft.c            | 66 ++-------------------------------------
 iptables/nft.h            |  2 --
 iptables/xtables-save.c   |  6 +---
 xlate-test.py             |  2 +-
 10 files changed, 31 insertions(+), 82 deletions(-)
Signature · 1 line
2.37.4