netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Check for rule existence
Date: Mon, 14 Jun 2010 13:24:09 -0500	[thread overview]
Message-ID: <4C1673C9.9000700@riverviewtech.net> (raw)
In-Reply-To: <4C167362.1030201@riverviewtech.net>

On 06/14/10 13:22, Taylor, Grant wrote:
> Depending on how system agnostic you are trying to bee, processing the 
> rule as if it were a command line (looking for individual pieces) will 
> probably be the easiest to do.

Also remember that IPTables(-save) is going to give you the output of 
what is in kernel.  Any host names that you specified in your rule will 
be translated to IPs and entered in the kernel as such.  This could be 
even more tricky if you have host names that are being translated to 
dynamic IPs.



Grant. . . .

  reply	other threads:[~2010-06-14 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-14 17:16 Check for rule existence Mistick Levi
2010-06-14 17:23 ` Curby
2010-06-14 18:22   ` Grant Taylor
2010-06-14 18:24     ` Grant Taylor [this message]
2010-06-14 18:25   ` Grant Taylor

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=4C1673C9.9000700@riverviewtech.net \
    --to=gtaylor@riverviewtech.net \
    --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;
as well as URLs for NNTP newsgroup(s).