Linux Netfilter development
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Phil Sutter <phil@nwl.cc>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [nf-next PATCH 0/2] Support resetting rules' state
Date: Tue, 25 Oct 2022 13:52:33 +0200	[thread overview]
Message-ID: <Y1fOAZkQU8u81mPf@salvia> (raw)
In-Reply-To: <20221014214559.22254-1-phil@nwl.cc>

On Fri, Oct 14, 2022 at 11:45:57PM +0200, Phil Sutter wrote:
> In order to "zero" a rule (in the 'iptables -Z' sense), users had to
> dump (parts of) the ruleset in stateless form and restore it again after
> removing the dumped parts.
> 
> Introduce a simpler method to reset any stateful elements of a rule or
> all rules of a chain/table/family. Affects both counter and quota
> expressions.

Patchset LGTM.

For the record, we agreed on the workshop to extend this to:

- add support for this command to table, chain and set objects too.
- validate that nft syntax is consistent from userspace with other
  existing commands (for example, list).

Thanks Phil.

  parent reply	other threads:[~2022-10-25 11:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-14 21:45 [nf-next PATCH 0/2] Support resetting rules' state Phil Sutter
2022-10-14 21:45 ` [nf-next PATCH 1/2] netfilter: nf_tables: Extend nft_expr_ops::dump callback parameters Phil Sutter
2022-10-14 21:45 ` [nf-next PATCH 2/2] netfilter: nf_tables: Introduce NFT_MSG_GETRULE_RESET Phil Sutter
2022-10-25 11:52 ` Pablo Neira Ayuso [this message]
2022-11-08 16:49   ` [nf-next PATCH 0/2] Support resetting rules' state Phil Sutter
2022-11-09 10:16     ` Pablo Neira Ayuso
2022-11-09 12:11       ` 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=Y1fOAZkQU8u81mPf@salvia \
    --to=pablo@netfilter.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox