I am following iptables connection limits to limit the amount of connections the server can get on port 80. For instance I tried:
/sbin/iptables -I INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 10 -j REJECT --reject-with tcp-reset
This seems to limit connections per IP. Is there any way to via IPTables or perhaps sysctl to limit the connection amount globally. Meaning that if say host A jams up all of the 10 available sessions then no other host will be able to connect?