All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ozgur AKAN <akan@aiqa.com>
To: Ozgur AKAN <akan@aiqa.com>
Cc: Henrik Nordstrom <hno@marasystems.com>,
	"netfilter-devel@lists.netfilter.org"
	<netfilter-devel@lists.netfilter.org>
Subject: Re: prohibiting iptables to insert a rule twice
Date: Thu, 06 May 2004 14:48:49 +0300	[thread overview]
Message-ID: <409A2621.1020109@aiqa.com> (raw)
In-Reply-To: <409A239B.2040409@aiqa.com>

Lets examine this stuation

1 iptables -A INPUT -p tcp -d 10.1.1.2 --dport 80 -j ACCEPT
2 iptables -A INPUT -m fuzzy --lower-limit 100 --upper-limit 1000 -j REJECT
3 iptables -A INPUT -p tcp -d 10.1.1.2 --dport 80 -j ACCEPT

by the example below 3th rule`s byte/packet count  is used to check how 
effective 2nd rule is used!

This is a good example, I hope.

Then inserting same rule afterwards is not meaningful but inserting same 
rule in other order my be meaningful!

-- 
Ozgur Akan

  parent reply	other threads:[~2004-05-06 11:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06  8:47 prohibiting iptables to insert a rule twice Ozgur AKAN
2004-05-06 11:21 ` Henrik Nordstrom
2004-05-06 11:38   ` Ozgur AKAN
2004-05-06 11:41     ` Henrik Nordstrom
2004-05-06 11:48     ` Ozgur AKAN [this message]
2004-05-06 12:33       ` Henrik Nordstrom
2004-05-06 12:56         ` Ozgur Akan

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=409A2621.1020109@aiqa.com \
    --to=akan@aiqa.com \
    --cc=hno@marasystems.com \
    --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.