From: Patrick McHardy <kaber@trash.net>
To: Jesper Dangaard Brouer <hawk@diku.dk>
Cc: Eric Leblond <eric@regit.org>,
Netfilter Developers <netfilter-devel@vger.kernel.org>,
Jesper Brouer <brouer@redhat.com>
Subject: Re: [nftables PATCH] rule: display rule handle as comment
Date: Wed, 22 May 2013 17:35:41 +0200 [thread overview]
Message-ID: <20130522153538.GD8434@macbook.localnet> (raw)
In-Reply-To: <Pine.LNX.4.64.1305221512110.26402@ask.diku.dk>
On Wed, May 22, 2013 at 03:53:26PM +0200, Jesper Dangaard Brouer wrote:
>
> On Tue, 21 May 2013, Eric Leblond wrote:
>
> >Knowing the rule handle is necessary to be able to delete a single
> >rule. It was not displayed till now in the output and it was thus
> >impossible to remove a single rule.
>
> The current iptables system supports deleting a specific rule by
> simply specifying iptables -D [...] instead of equivilant iptables
> -A [...]
>
> Would it be possible to keep this semantics in nftables?
Yes, I wanted to add that feature myself. Implementation would be similar
to what we do in iptables, IOW we'd compare either the netlink commands
constructed from the rule specification or the internal expression
representation, whatever seems better suited.
prev parent reply other threads:[~2013-05-22 15:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 23:09 [nftables PATCH] rule: display rule handle as comment Eric Leblond
2013-05-21 13:53 ` Pablo Neira Ayuso
2013-05-30 14:22 ` [nftables PATCH] rule: add flag to " Eric Leblond
2013-05-31 11:11 ` Pablo Neira Ayuso
2013-05-21 19:06 ` [nftables PATCH] rule: " Patrick McHardy
2013-05-22 13:53 ` Jesper Dangaard Brouer
2013-05-22 15:35 ` Patrick McHardy [this message]
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=20130522153538.GD8434@macbook.localnet \
--to=kaber@trash.net \
--cc=brouer@redhat.com \
--cc=eric@regit.org \
--cc=hawk@diku.dk \
--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).