All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniel Paul" <dpaul@gmx.net>
To: netfilter@lists.netfilter.org
Subject: Possible bug for delete specific rule w/ RedHat 8.0, Kernel 2.4.18, Iptables 1.2.6a
Date: Mon, 14 Oct 2002 13:05:59 +0200	[thread overview]
Message-ID: <PFEPIPDMGMFEOIBPJIIEMEBBCEAA.dpaul@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

Hello,

I have problems deleting a rule from any chain by specifying the rule
itself, for example:

iptables -A FORWARD -p tcp -s $NET_IN --sport 1024: -d 0/0 --dport smtp -j
ACCEPT

and then

iptables -D FORWARD -p tcp -s $NET_IN --sport 1024: -d 0/0 --dport smtp -j
ACCEPT

gives me a "Bad rule: Does matching rule exist in chain" error. Btw, the
variables used
here are of course defined.

When I use -v switch on both commands I can see that also the created rules
(smtp to 25 etc.)
are the same, so it is not a problem of parsing itself.

Any help would be very appreciated.

Daniel Paul

dpaul{NOSPAM}@gmx.net



[-- Attachment #2: Type: text/html, Size: 2910 bytes --]

             reply	other threads:[~2002-10-14 11:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-14 11:05 Daniel Paul [this message]
2002-10-18  2:18 ` Possible bug for delete specific rule w/ RedHat 8.0, Kernel 2.4.18, Iptables 1.2.6a Joel Newkirk

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=PFEPIPDMGMFEOIBPJIIEMEBBCEAA.dpaul@gmx.net \
    --to=dpaul@gmx.net \
    --cc=netfilter@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.