All of lore.kernel.org
 help / color / mirror / Atom feed
* prohibiting iptables to insert a rule twice
@ 2004-05-06  8:47 Ozgur AKAN
  2004-05-06 11:21 ` Henrik Nordstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Ozgur AKAN @ 2004-05-06  8:47 UTC (permalink / raw)
  To: netfilter-devel@lists.netfilter.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-06 12:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2004-05-06 12:33       ` Henrik Nordstrom
2004-05-06 12:56         ` Ozgur Akan

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.