From: Pablo Neira Ayuso <pablo@netfilter.org>
To: netfilter-devel@vger.kernel.org
Cc: phil@nwl.cc, fw@strlen.de
Subject: [PATCH nft 0/5] support for several list and reset commands
Date: Wed, 8 Apr 2026 13:59:17 +0200 [thread overview]
Message-ID: <20260408115922.48676-1-pablo@netfilter.org> (raw)
Hi Phil,
This is alternative proposal to address the issue reported in this patch:
https://patchwork.ozlabs.org/project/netfilter-devel/patch/20260311194100.21983-1-phil@nwl.cc/
On top of this, it aims at addressing a longstanding issue, which is to
allow users to add a list command in their .nft files.
Please, see 5/5 for details.
Comments welcome, thanks.
Pablo Neira Ayuso (5):
libnftables: report EPERM to non-root users with -f/--filename
libnftables: add nft_run_cmd_release() helper and use it
libnftables: consolidate evaluation and netlink run
libnftables: use nft_eval_run_cmds() in nft_run_cmd_from_filename()
libnftables: support for several list and reset commands
include/cmd.h | 10 ++++
src/cmd.c | 100 +++++++++++++++++++++++++++++++++-
src/libnftables.c | 133 +++++++++++++++++++++++++++------------------
src/parser_bison.y | 12 +++-
src/parser_json.c | 9 +--
5 files changed, 203 insertions(+), 61 deletions(-)
--
2.47.3
next reply other threads:[~2026-04-08 11:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-08 11:59 Pablo Neira Ayuso [this message]
2026-04-08 11:59 ` [PATCH nft 1/5] libnftables: report EPERM to non-root users with -f/--filename Pablo Neira Ayuso
2026-04-08 12:03 ` Florian Westphal
2026-04-08 14:12 ` Pablo Neira Ayuso
2026-04-08 11:59 ` [PATCH nft 2/5] libnftables: add nft_run_cmd_release() helper and use it Pablo Neira Ayuso
2026-04-08 11:59 ` [PATCH nft 3/5] libnftables: consolidate evaluation and netlink run Pablo Neira Ayuso
2026-04-08 11:59 ` [PATCH nft 4/5] libnftables: use nft_eval_run_cmds() in nft_run_cmd_from_filename() Pablo Neira Ayuso
2026-04-08 11:59 ` [PATCH nft 5/5] libnftables: support for several list and reset commands 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=20260408115922.48676-1-pablo@netfilter.org \
--to=pablo@netfilter.org \
--cc=fw@strlen.de \
--cc=netfilter-devel@vger.kernel.org \
--cc=phil@nwl.cc \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.