Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Amish <anon.amish@gmail.com>
To: netfilter@vger.kernel.org
Subject: when will nftables have ability to delete matching rule like iptables?
Date: Mon, 8 Mar 2021 18:44:38 +0530	[thread overview]
Message-ID: <d27a2a67-6739-6ade-d822-bbefd9c8bcd4@gmail.com> (raw)

Hello,

I have few programs that currently use iptables to add / delete firewall 
rules.

I have been waiting to migrate to nftables from 3-4 years. (I do not 
want to use nft based iptables)

But roadblock for me is inability of nftables to delete a matching rule. 
(similart to iptables -D INPUT -s 192.168.1.10 -j ACCEPT)

Obtaining the handle first and then deleting is difficult programmatically.

Have I missed any easy way out here?

Why is it difficult for nftables to find and delete matching rule?

Is there any ETA for this?

Curious to know,

Thank you,

Amish.


             reply	other threads:[~2021-03-08 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-08 13:14 Amish [this message]
2021-03-08 15:24 ` when will nftables have ability to delete matching rule like iptables? kfm
2021-03-08 22:46   ` Amish V

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=d27a2a67-6739-6ade-d822-bbefd9c8bcd4@gmail.com \
    --to=anon.amish@gmail.com \
    --cc=netfilter@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