[ previous ] [ next ] [ threads ]
 
 From:  "Chris Buechler" <cbuechler at gmail dot com>
 Cc:  "Monowall Email List" <m0n0wall at lists dot m0n0 dot ch>
 Subject:  Re: [m0n0wall] sessions increase
 Date:  Sat, 25 Mar 2006 16:00:06 -0500
On 3/24/06, sai <sonicsai at gmail dot com> wrote:
> I seem to remember that m0n0 comes with 30,000 sessions as a builtin
> limit. I need to increase this because of P2P traffic.
> q1: I have managed to change the HTML in the m0n0 code and rebuild the
> image. Where do I need to make changes for the sessions increase?
> Hopefully its just a matter of increasing the size of an array :-)

no, you actually have to recompile the kernel.  it's documented in
http://doc.m0n0.ch/dev/ somewhere.


> q2: How much memory would be needed to handle, say,  200,000 sessions?
>

Not sure.  I know the rule of thumb with pf is 1 KB of RAM per state. 
I couldn't imagine ipf taking more than that.

-Chris