netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Phil Sutter <phil@nwl.cc>,
	Karuna Grewal <karunagrewal98@gmail.com>,
	Pablo Neira Ayuso <pablo@netfilter.org>,
	Florian Westphal <fw@strlen.de>,
	netfilter-devel@vger.kernel.org
Subject: Re: Implementing Deletion of Set Elements in Rulesets
Date: Thu, 21 Mar 2019 09:45:16 +0100	[thread overview]
Message-ID: <20190321084516.6qmr23meelir7uc3@breakpoint.cc> (raw)
In-Reply-To: <20190321082304.GH4851@orbyte.nwl.cc>

Phil Sutter <phil@nwl.cc> wrote:
> Hi Karuna,
> 
> On Thu, Mar 21, 2019 at 11:57:15AM +0530, Karuna Grewal wrote:
> > I'm trying to implement  "deletion of set elements in ruleset". For
> > which I wanted to understand the way existing set operations are
> > implemented.
> 
> What are you trying to achieve? Anonymous sets are immutable by design.
> If you want to add/delete set elements, you can create a named set and
> reference that from rules. See nftables wiki[1] for examples of usage.

This is about deletion of elements from the packet path in dynamic
sets, see https://people.netfilter.org/pablo/nf-ideas-2019.txt, 1.4 .

  reply	other threads:[~2019-03-21  8:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-21  6:27 Implementing Deletion of Set Elements in Rulesets Karuna Grewal
2019-03-21  8:23 ` Phil Sutter
2019-03-21  8:45   ` Florian Westphal [this message]
2019-03-21 11:08 ` Phil Sutter
2019-03-24  4:33   ` Karuna Grewal
     [not found]   ` <CAHRz_yazsKDFYfsVemDLd4av3M+3k6MJnctvFYYMjDD7q2zSMA@mail.gmail.com>
2019-03-25 10:44     ` 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=20190321084516.6qmr23meelir7uc3@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=karunagrewal98@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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;
as well as URLs for NNTP newsgroup(s).