Slow down or throttles down apache server to avoid automatic downloads

by on November 4, 2006 · 1 comment· Last updated November 4, 2006

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]



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 1 comment… read it below or add one }

1 dembol November 14, 2006 at 3:32 pm

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

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 3 + 14 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: