Welcome! Log In Create A New Profile

Advanced

Token bucket to limit bots and site grabbers

Tobia Conforto
February 15, 2010 05:40AM
Hello

Is there any module I can use to limit or deny access to bots and site grabbers, based on the long-term request rate?

I'm thinking of a token bucket with a timeframe of hours or days, where a legitimate user will only download, say, 50 pages (images and css excluded) per day, from a single ip address. Bots will obviously try and grab more content than that. Even if they set a long delay between requests, the overall number of requests per day will be much higher than that of a legitimate user.

limit_req is not what I'm looking for, because it has a short timeframe of seconds or minutes, and because this kind of limit requires a token bucket, not a leaky bucket.

Is there anything available, or should I write my own module?

Tobia
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Token bucket to limit bots and site grabbers

Tobia Conforto February 15, 2010 05:40AM

Re: Token bucket to limit bots and site grabbers

Maxim Dounin February 15, 2010 06:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready