From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: Florian Westphal <fw@strlen.de>
Subject: [PATCH v2 iptables 0/4] xtables-nft: add arptranslate support
Date: Tue, 7 Nov 2023 12:15:36 +0100 [thread overview]
Message-ID: <20231107111544.17166-1-fw@strlen.de> (raw)
This series adds support for arptranslate to xtables-nft.
First patch adds missing value/mask support, second patch
adds arptranslate.
Patch 3 adds test cases. Finally, patch 4 fixes -j MARK and adds
test cases for it.
Florian Westphal (4):
nft-arp: add missing mask support
nft-arp: add arptables-translate
arptables-txlate: add test cases
extensions: MARK: fix arptables support
extensions/generic.txlate | 6 ++
extensions/libarpt_mangle.c | 47 +++++++++
extensions/libarpt_mangle.txlate | 6 ++
extensions/libxt_MARK.c | 2 +
extensions/libxt_MARK.txlate | 9 ++
iptables/nft-arp.c | 174 ++++++++++++++++++++++++++++++-
iptables/nft-ruleparse-arp.c | 8 ++
iptables/xtables-multi.h | 1 +
iptables/xtables-nft-multi.c | 1 +
iptables/xtables-translate.c | 35 ++++++-
xlate-test.py | 4 +-
11 files changed, 289 insertions(+), 4 deletions(-)
create mode 100644 extensions/libarpt_mangle.txlate
--
2.41.0
next reply other threads:[~2023-11-07 11:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-07 11:15 Florian Westphal [this message]
2023-11-07 11:15 ` [PATCH v2 iptables 1/4] nft-arp: add missing mask support Florian Westphal
2023-11-07 11:15 ` [PATCH v2 iptables 2/4] nft-arp: add arptables-translate Florian Westphal
2023-11-07 11:15 ` [PATCH v2 iptables 3/4] arptables-txlate: add test cases Florian Westphal
2023-11-07 11:15 ` [PATCH v2 iptables 4/4] extensions: MARK: fix arptables support Florian Westphal
2023-11-08 2:51 ` [PATCH v2 iptables 0/4] xtables-nft: add arptranslate support Phil Sutter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231107111544.17166-1-fw@strlen.de \
--to=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).