Slow down or throttles down apache server to avoid automatic downloads

by on November 4, 2006 · 1 comment· LAST UPDATED November 4, 2006

in , ,

The Apache module mod_bwshare throttles HTTP requests to Apache 1 and 2 servers for each client IP address independently. This module accepts or rejects HTTP requests from each client IP address based on past downloads by that client IP address.
If the HTTP client's download rate exceeds specified levels, the reponse to the HTTP client is an HTML warning message. A human browser will see a warning message indicating how long to wait. Automatic rampant downloaders will download large numbers of useless warning messages.

The original motivation for mod_bwshare was to prevent automatic download of all 900 MBytes of material on one of my web sites which was connected to a 33k modem, which would have taken several days if it had succeeded.

Debian Administration site has published the configuration directives for mod_bwshare:
If you're running a popular website you'll most likely notice that some clients are less well-behaved than others. Greedy clients can do anything from make numerous requests, to attempting to spider your entire site.

Avoiding greedy webclients with mod_bwshare [debian-administration.org]

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!
1 dembol November 14, 2006 at 3:32 pm

You can also try mod_cband module – http://cband.linux.pl :)

Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum.

Previous post:

Next post: