Re: Detecting massive web hits
| From: | Matijn Woudt | Date: | Fri, 12 Apr 2013 19:37:23 +0000 |
| Subject: | Re: Detecting massive web hits | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320841@lists.php.net to get a copy of this message | ||
On Fri, Apr 12, 2013 at 5:23 PM, Angela Barone
<angela@italian-getaways.com>wrote:
> Does anyone know if there's a ready-made script that detects if
> someone hits multiple web pages within seconds of each other and then can
> temporarily ban them by IP from accessing our site?
>
> Looking through the logs, I see someone/something hit each and
> every page of a site I work on within only a few seconds of each other. I
> seriously doubt they are a customer. ;)
>
> I'd appreciate any insights.
>
> Thank you,
> Angela
>
>
Just to be sure, are you sure it is not a spider? (Google, Bing, etc) You
can detect with the user agent.
If it is, you can most likely switch some settings.
- Matijn