Web Hosting Talk







View Full Version : Controlling leeches with mod_throttle


jnestor
07-02-2001, 05:18 PM
Does anyone know of a good mod_throttle setup to prevent people with an "offline browser" from hitting a site too hard? I tried playing with ThrottleClientIP using the Idle policy but it would slow down image loading for almost everyone.

I think some combination of ThrottleClientIP with the Document policy might work. Basically I want to allow normal users to surf as quickly as they'd like but some people hit my site with HTTrack and the like and since the pages are dynamically generated it bring the machine to a crawl.

Madman2020
07-04-2001, 02:54 AM
If you are using Apache, they have a limiting module for the newer versions. I am not sure if it is called mod_throttle, but you may want to check apache.org for it.

WebDork
07-04-2001, 09:03 AM
Why not just use a .htaccess file ?

slade
07-04-2001, 10:53 AM
he doesn't want to deny any one person access to his site, he just wants to specify a certain amount of bandwidth that is "ok" for a particular person to pull at a time.

It's not a bad idea, but I noticed something looking through my logs, alot of people come to my sites through proxy servers. If you only allowed 128k or so per IP, people behind proxies or firewalls *might* suffer.