Evan Platt schrieb:
At 12:59 PM 4/1/2009, you wrote:What is the best way to limit concurrent connections per IP to, say, 20?I'm having some problems with "connection storms" caused by bots harvesting websites.mod_limitipconn.c ? http://dominia.org/djao/limitipconn2.html Never tried it, but looks like it should work.
Or, just use iptables?iptables -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 20 -j REJECT
Anyone had experiences with that?What number of connections should I allow not to cut off legitimate users? 20? 30?
-- Tomasz Chmielewski http://wpkg.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx