[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
size of a state table entry for pf?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: size of a state table entry for pf?
- From: Jason Crawford <jasonrcrawford_(_at_)_gmail_(_dot_)_com>
- Date: Thu, 21 Apr 2005 16:05:25 -0400
- Reply-to: Jason Crawford <jasonrcrawford_(_at_)_gmail_(_dot_)_com>
I was wondering, how does one determine exactly how much memory one
state table entry uses for pf? I was looking at some code, and
printing sizeof(struct pf_state) looks like it might be what I want,
however I'm not positive. I wouldn't want to get it wrong, and make
the state table bigger than the actual memory of a firewall can
handle, and suddenly it's panicing due to pool exhaustion. I am just
trying to get an idea about the maximum number of states that a
firewall can handle, depending on how much ram it has.
Visit your host, monkey.org