On Sun, May 05, 2002 at 01:27:33PM -0500, Ronneil Camara wrote:
> Hi,
>
> Does anyone know how to compute the memory used by ipf for every connection?
> It's because, I was configuring a cisco PIX firewall and found out that
> it has only 64mb of ram.
>
> So I need to know has much RAM is really needed by ipf for, let say, 1000
> simultaneous connections and so on.
>
> Please also add other info.
>
> Thank you very much.
>
> Neil
It is possible to compute exact memory usage, but
the data of practical experience is probably just as good.
Here is my situation
FreeBSD 4.5 with ipf as a dedicated statefull firewall/router
in front of several front end webservers. There are typically
between 20000 - 35000 connections in the state table and I have about
120 or so rules. I have a simple NAT setup for round-robin loadbalancing.
This machine has 128M RAM. This is the smallest approved DIMM
for the motherboard. This machine has been up for 30 days and I monitor
memmory usage etc with MRTG. The amount of Free memory has never been less
than 86M.
-steve