All of lore.kernel.org
 help / color / mirror / Atom feed
From: Massimiliano Cuzzoli <mcuzzoli@mbigroup.it>
To: netfilter-devel@lists.netfilter.org
Subject: Problem with extended-match deletion
Date: Mon, 18 Aug 2003 17:34:40 +0200	[thread overview]
Message-ID: <3F40F210.3050704@mbigroup.it> (raw)

Hi all,
I've wrote a new match for iptables 1.2.7a.
All features, that I've implemented in it, run very well but
there is a problem when I try to remove the rule with my match.
I execute iptables command with "-D" option and the same parameters of 
rule insertion.

EXAMPLE:

Insert:
$> iptables -I PREROUTING -t mangle -m my_match --my_option -j DROP

Delete:
$> iptables -D PREROUTING -t mangle -m my_match --my_option -j DROP

Then I've received the following message:

"iptables: Bad rule (does a matching rule exist in that chain?)"

There isn't any problem if I remove the rule with a FLUSH operation "-F".

Can Anybody help me???

Regards,

	Mike-Ro-Chanel

             reply	other threads:[~2003-08-18 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-18 15:34 Massimiliano Cuzzoli [this message]
     [not found] <20030819102424.16725.44717.Mailman@kashyyyk>
     [not found] ` <012a01c36651$0889f970$010f430a@elite.co.in>
2003-08-19 13:37   ` Problem with extended-match deletion Massimiliano Cuzzoli
     [not found]     ` <018401c36659$e505a220$010f430a@elite.co.in>
2003-08-19 14:14       ` Massimiliano Cuzzoli

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=3F40F210.3050704@mbigroup.it \
    --to=mcuzzoli@mbigroup.it \
    --cc=netfilter-devel@lists.netfilter.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 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.