From: Friedrich Lobenstock <fl@fl.priv.at>
To: Netfilter Development Mailinglist <netfilter-devel@lists.netfilter.org>
Subject: Re: Memory Loading
Date: Mon, 19 Apr 2004 22:27:28 +0200 [thread overview]
Message-ID: <40843630.6060908@fl.priv.at> (raw)
In-Reply-To: <40842F4C.6050608@rocksteady.com>
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
prev parent reply other threads:[~2004-04-19 20:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-19 19:58 Memory Loading Patrick Turley
2004-04-19 20:27 ` Friedrich Lobenstock [this message]
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=40843630.6060908@fl.priv.at \
--to=fl@fl.priv.at \
--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.