Quote:
Originally Posted by hawk1278
You can do this with iptables.
/sbin/iptables -A INPUT -p tcp --syn --dport $port -m connlimit --connlimit-above N -j DROP
you can throw in --connlimit-mask and provide specific subnets as well. check the iptables man pages.
|
Sorry but doesn't that just limit the connections Per-IP, not the total connections from all-IPs on at a single time on the server?