View Single Post

  #4 (permalink)  
Old 12-20-2006
C.
 
Posts: n/a
Default Re: Limiting Apache Connections By IP - mod_throttle, mod_limitipconn, what?


Ricardo Manuel Oliveira wrote:
> Thought I'd just send my 0.5€ worth of info: mod_cband, as statedin
> the previous comment, is exactly what you need.
>
> Of course, if you have some sort of Linux firewall/balancer or your
> web server is running in Linux, you can get away with iptables and the
> limit module (max connections per second, for instance), which is way
> faster then letting the connections go all the way up, just to be
> blocked anyway.
>
> Regards,
> Ricardo Oliveira
> http://apache.superbofh.org/ - Apache book in Portuguese


....which is going to mess up anybody behind a proxy (i.e. all of AOL,
NTL and others).

If this is a serious problem, then a better solution might be to write
your own wrapper in PHP or Perl with a session mutex.

C.