I am having issues blocking an IP, it's banging away at my site daily under different IP's. I want to block a range now. Each day I am adding new IP's from the same spammer into the database, they obviosuly have a massive range.
Todays IP is : 188.8.131.52
deny from 88.135.85.
deny from 88.135.85
deny from 184.108.40.206
deny from 220.127.116.11/8
For the last one I used http://whois.arin.net/rest/net/NET-88-0-0-0-1/pft to find the ranges.
Can anyone help
Thanks very much...
Deny From ....
If i remember rightly, the default is Order Allow,Deny
i.e. its allowed before its blocked
It's all set up fine I think
SetEnvIfNoCase User-Agent "^Black Hole" bad_bot
<Limit GET POST>
allow from all
deny from env=bad_bot
deny from 18.104.22.168
deny from 22.214.171.124
deny from 126.96.36.199/20
deny from 188.8.131.52/20
It seems to be stilll getting through. I've not restarted the server tho, but I didn't think you had to.
LIMIT GET,POST rather than space
Equally, they aren't needed as such in a htaccess, you can do just the commands for order etc.
Okay. Will see if that makes a difference. Thanks
This topic is now closed. New replies are no longer allowed.