Forum Moderators: phranque

Message Too Old, No Replies

script to auto block ip's

         

Doood

10:51 pm on Feb 27, 2008 (gmt 0)

10+ Year Member



Are there scripts that will block ip's if they visit a certain page too many times or if they click on an invisible link?

I guess it would deny their ip by adding it to the htaccess?

My site gets bombarded with what has to be fake traffic cause there are thousands of ip's with one number difference and each are returning hundreds of times per day.

My server load goes into the 200's at times and it's got 2 quad core xeons with 8gb ram, so I figure it can handle quite a bit.

limoshawn

11:57 pm on Feb 27, 2008 (gmt 0)

10+ Year Member



I'm not sure if I’ve ever seen one that blocks automatically, I don't think I'd use it if there was one, but I have used a simple php script that records the ip in a database of anyone (bot) that clicks on an invisible link. Its good to use the "no-follow" tag on the link so that good bot don't get caught.