From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Subject: [PATCH iptables,v2 0/5] iptables-translation enhancements
Date: Fri, 4 Jun 2021 00:58:01 +0200 [thread overview]
Message-ID: <20210603225806.13625-1-pablo@netfilter.org> (raw)
Hi,
This is v2 of a previously posted individual patches.
1) Extend libxtables to allow to add a set dependency definition
for translations. Changes since v1: Fix broken translation
of single commands with no matches / targets.
2) Update xlate-test.py to deal with multiline translation
(new in this v2 batch).
3) Add libxt_connlimit xlate support and tests (Changes since v1:
added tests).
4) Use compact flags match representation in libxt_tcp (new)
5) Use negation to simplify libxt_conntrack translation (new)
Pablo Neira Ayuso (5):
libxtables: extend xlate infrastructure
tests: xlate-test: support multiline expectation
extensions: libxt_connlimit: add translation
extensions: libxt_tcp: rework translation to use flags match representation
extensions: libxt_conntrack: simplify translation using negation
configure.ac | 4 +-
extensions/libxt_TCPMSS.txlate | 4 +-
extensions/libxt_connlimit.c | 49 ++++++++++++++++++
extensions/libxt_connlimit.txlate | 15 ++++++
extensions/libxt_conntrack.c | 46 +++++------------
extensions/libxt_conntrack.txlate | 8 +--
extensions/libxt_tcp.c | 10 ++--
extensions/libxt_tcp.txlate | 6 +--
include/xtables.h | 6 +++
iptables/xtables-translate.c | 29 ++++++++---
libxtables/xtables.c | 82 ++++++++++++++++++++++++-------
xlate-test.py | 14 +++++-
12 files changed, 196 insertions(+), 77 deletions(-)
create mode 100644 extensions/libxt_connlimit.txlate
--
2.20.1
next reply other threads:[~2021-06-03 22:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 22:58 Pablo Neira Ayuso [this message]
2021-06-03 22:58 ` [PATCH iptables,v2 1/5] libxtables: extend xlate infrastructure Pablo Neira Ayuso
2021-06-03 22:58 ` [PATCH iptables,v2 2/5] tests: xlate-test: support multiline expectation Pablo Neira Ayuso
2021-06-03 22:58 ` [PATCH iptables,v2 3/5] extensions: libxt_connlimit: add translation Pablo Neira Ayuso
2021-06-03 22:58 ` [PATCH iptables,v2 4/5] extensions: libxt_tcp: rework translation to use flags match representation Pablo Neira Ayuso
2021-06-03 22:58 ` [PATCH iptables,v2 5/5] extensions: libxt_conntrack: simplify translation using negation Pablo Neira Ayuso
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=20210603225806.13625-1-pablo@netfilter.org \
--to=pablo@netfilter.org \
--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).