how much memory does increasing max rules for IPFW take up?

Vivek Khera vivek at khera.org
Fri May 16 14:53:08 UTC 2008


How are the buckets used?  Are they hashed per rule number or some  
other mechanism?  Nearly all of my states are from the same rule (eg,  
on a mail server for the SMTP port rule).

How should I scale the buckets with the max rules?  The default seems  
to be 4096 rules and 256 buckets.  Should I maintain that ratio?


More information about the freebsd-stable mailing list