Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Chris Brenton <cbrenton@chrisbrenton.org>
To: Paul Caritj <pcaritj@riovia.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: Deleting Rules
Date: Sun, 14 Sep 2003 06:48:46 -0400	[thread overview]
Message-ID: <3F64478E.8060201@chrisbrenton.org> (raw)
In-Reply-To: 3F642E1B.8010801@riovia.net

Paul Caritj wrote:
> 
> Is it possible to delete rules without complete knowledge of its 
> contents? E.g., Would it be possible to delete all rules that match a 
> source ip of X?

Not in my experience. Its only worked for me when I specify all the same 
options that are in the original rule.

> If not, can anyone recommend a workaround?

Maybe you can grep the output from '-L -nv' to search for the IP address 
you want, and then use info in the output to create your delete rule?

HTH,
C



  reply	other threads:[~2003-09-14 10:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-14  9:00 Deleting Rules Paul Caritj
2003-09-14 10:48 ` Chris Brenton [this message]
2003-09-14 13:10 ` Sebastian

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=3F64478E.8060201@chrisbrenton.org \
    --to=cbrenton@chrisbrenton.org \
    --cc=netfilter@lists.netfilter.org \
    --cc=pcaritj@riovia.net \
    /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