Maximum number of rules?

Gerd Zemella gzemella@gmx.net
Sun, 20 Jan 2002 15:14:28 +0100


Hi,

Johannes Schmid wrote:

> Hi,
> 
> is there a max. number of rules you can use with iptables? I'm asking
> because we've created a script for our firewall that generates about
> 5000 rules (yes, most of them are neccessary) and the last rules seem to
> have no affect at all. Besides, when I say "iptables -L -v -n |wc -l", I
> only get about 2700 rules/lines (practically the same, as we don't use
> any user-defined chains so far).
we have a firewall with about 8000 rules (thats not a real firewall, only paket couting)

have you got many rules in the nat table? when you list your 
user-defined chains are the really shown? if the user-defined chains 
have no affect, have you a reference to it?

 
> Is there such a thing as a maximum number of rules, and if yes, where
> can I change it? (If no, is there anyone who could tell me what
> happened?)

hmm havn't tried if there is a limit.

gerd