Skip to content

add arptables-translate

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arptables-nft: use ARPT_INV flags consistentlyiptables/nft-arp.c iptables/nft-ruleparse-arp.c+36 -367 replies
2/4nft-arp: add missing mask supportiptables/nft-arp.c iptables/nft-ruleparse-arp.c+27 -22 replies
3/4nft-arp: add arptables-translateextensions/libarpt_mangle.c iptables/nft-arp.c iptables/xtables-multi.h +2 more+236 -11 reply
4/4arptables-txlate: add test casesextensions/generic.txlate extensions/libarpt_mangle.txlate xlate-test.py+15 -10 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 0/4] add arptables-translate

iptables-nft lacks a translate variant for arptables.

Add it. First patch fixes a bug in existing arptables-nft, second patch adds missing mask matching.
Patch 3 is the main arptables-translate support.

Last patch adds a few test cases.

Florian Westphal (4):
arptables-nft: use ARPT_INV flags consistently
nft-arp: add missing mask support
nft-arp: add arptables-translate
arptables-txlate: add test cases

 extensions/generic.txlate        |   6 +
 extensions/libarpt_mangle.c      |  47 +++++++
 extensions/libarpt_mangle.txlate |   6 +
 iptables/nft-arp.c               | 230 +++++++++++++++++++++++++++----
 iptables/nft-ruleparse-arp.c     |  24 ++--
 iptables/xtables-multi.h         |   1 +
 iptables/xtables-nft-multi.c     |   1 +
 iptables/xtables-translate.c     |  35 ++++-
 xlate-test.py                    |   2 +-
 9 files changed, 312 insertions(+), 40 deletions(-)
 create mode 100644 extensions/libarpt_mangle.txlate
Signature · 1 line
2.41.0