Can I limit the number of tcp connections ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Jackson
Date: Tuesday, April 13, 2010 - 4:16 am

Is there any way to limit the # tcp connections under Linux ?

I've tried ...

echo 8 > /proc/sys/net/core/somaxconn

... but I can still open 10 ssh sessions, as well as a web server.

I know I could run iptables, but I was looking for a much lower level
solution (with a smaller resource footprint).

Any clues ?

Thanks
Mark

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Can I limit the number of tcp connections ?, Mark Jackson, (Tue Apr 13, 4:16 am)