Linux Netfilter discussions
 help / color / mirror / Atom feed
* Query: will redundant rules gobble up firewall resources unnecessarily?
@ 2007-07-02 13:55 william fitzgerald
  0 siblings, 0 replies; only message in thread
From: william fitzgerald @ 2007-07-02 13:55 UTC (permalink / raw)
  To: netfilter

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Netfilter experts,

I have a query in relation to redundant firewall rules possibly wasting
CPU or memory usage. I would like to know if this is indeed the case.

I noticed if you have 2 or more identical rules (lets say they are
stateful rules) in a firewall table/rule-set (entered accidentally) that
when a packet matches the first of the identical rules that packet
counters are increased. Nothing unusual here. The second rule is never
executed due to the first one and no packet counter readings here
(according to iptables -L -v).

However, given that the 2 rules are stateful in nature does Netfilter
allocate memory (expecting it to be activated at some stage) to the
second stateful rule (and other identical rules) albeit a redundant rule?

regards,
Will.



- --
William M. Fitzgerald,
PhD Student,
Telecommunications Software & Systems Group,
ArcLabs Research and Innovation Centre,
Waterford Institute of Technology,
WIT West Campus,
Carriganore,
Waterford.
Office Ph: +353 51 302937
Mobile Ph: +353 87 9527083
Web: www.williamfitzgerald.org



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGiQPTIcwlebz1MmwRAnNGAJ9ed96cY55eDv1paWjrhuXK1cdp5wCg7+I8
CaPNM2L7QoC7thdrkARgI7w=
=TlaD
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-02 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-02 13:55 Query: will redundant rules gobble up firewall resources unnecessarily? william fitzgerald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox