All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ozgur AKAN <akan@aiqa.com>
To: "netfilter-devel@lists.netfilter.org"
	<netfilter-devel@lists.netfilter.org>
Subject: prohibiting iptables to insert a rule twice
Date: Thu, 06 May 2004 11:47:05 +0300	[thread overview]
Message-ID: <4099FB89.3000604@aiqa.com> (raw)

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

Hi,
I am working on a patch for iptables.c to prohibit inserting the same 
rule twice. Inserting same rule twice does not cause any problems but 
also is not meaningful.

After the patch iptables will has an option to force the system to 
insert the rule twice but by default it will check whether the rule is 
already inserted or not and will give warning.

I think that checking the rule in the system may take too much time for 
systems with thousands of rules, so an option argument will be a good 
choice.

I wonder why this has not been done before. Please write your 
suggestions and thoughts.

thanks,

-- 
Ozgur Akan


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

             reply	other threads:[~2004-05-06  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-06  8:47 Ozgur AKAN [this message]
2004-05-06 11:21 ` prohibiting iptables to insert a rule twice Henrik Nordstrom
2004-05-06 11:38   ` Ozgur AKAN
2004-05-06 11:41     ` Henrik Nordstrom
2004-05-06 11:48     ` Ozgur AKAN
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=4099FB89.3000604@aiqa.com \
    --to=akan@aiqa.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.