Quote:
Originally Posted by AdultStoriesNow
What language? Is it a cronjob to check your access log sort of like:
Code:
cat /var/log/apache2/access.log | awk '{print $1}' | wc -l
I will be looking at implementing something similar soon so would be interested in your thoughts on your current setup.
|
.net
I'm grabbing low level ip hits (no client needed) over all my sites and if hits exceed a certain number over a set interval it's flagged as abuse and the app blocks the IP in IIS.
Had my wife and myself browse the site pretty heavy, but stopping like a surfer would, then figured out a number of hits to start with. I'll probably look over the blocked ips for the next week and see if I'm blocking any legit looking IPs. I'll also see how the bandwidth changes.
They are then directed to a 403 page with contact information if they feel they were blocked in error
