|
||||||||
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 |