View Single Post
Old 01-23-2010, 05:20 PM  
barelist
Confirmed User
 
barelist's Avatar
 
Join Date: Jan 2009
Location: Texas
Posts: 523
Quote:
Originally Posted by AdultStoriesNow View Post
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

Last edited by barelist; 01-23-2010 at 05:21 PM..
barelist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote