All of lore.kernel.org
 help / color / mirror / Atom feed
* Memory Loading
@ 2004-04-19 19:58 Patrick Turley
  2004-04-19 20:27 ` Friedrich Lobenstock
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Turley @ 2004-04-19 19:58 UTC (permalink / raw)
  To: netfilter-devel

Our system has potentially a few thousand firewall rules. I need to find 
out the amount of memory these that firewall rules consume. If you have 
this information at hand, or can point me to a useful web site, that 
would be great. Failing that, a pointer to specific source files would 
also be marvelous.

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

* Re: Memory Loading
  2004-04-19 19:58 Memory Loading Patrick Turley
@ 2004-04-19 20:27 ` Friedrich Lobenstock
  0 siblings, 0 replies; 2+ messages in thread
From: Friedrich Lobenstock @ 2004-04-19 20:27 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

Patrick Turley wrote on 19.04.2004 21:58 MET:
> Our system has potentially a few thousand firewall rules. I need to find 
> out the amount of memory these that firewall rules consume. If you have 
> this information at hand, or can point me to a useful web site, that 
> would be great. Failing that, a pointer to specific source files would 
> also be marvelous.
> 

Would be interesting to know what you find out about this.

# iptables -L -n | wc -l
    6323                       (minus some few lines of text output)

That's 99.8% "accounting-only" rules with 0.2% filtering rules.

BTW I have set hashsize = ip_conntrack_max = 1785961. Therefore max. 510 MB 
will be allocate to conntrack. That much max. memory for conntrach will 
probably never be needed at all, but the memory is there, so why not ;-). I 
think this had more influence on the memory usage than all the rules 
together. No exact numbers to compare with, sorry.

How many rules would you want to install?

-- 
MfG / Regards
Friedrich Lobenstock

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

end of thread, other threads:[~2004-04-19 20:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-19 19:58 Memory Loading Patrick Turley
2004-04-19 20:27 ` Friedrich Lobenstock

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.