dariussutherland — 2012-09-11T04:59:51-04:00 — #1
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 : 220.127.116.11
deny from 88.135.85.
deny from 88.135.85
deny from 18.104.22.168
deny from 22.214.171.124/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...
timigoe — 2012-09-12T03:47:24-04:00 — #2
Deny From ....
If i remember rightly, the default is Order Allow,Deny
i.e. its allowed before its blocked
dariussutherland — 2012-09-13T06:46:27-04:00 — #3
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 126.96.36.199
deny from 188.8.131.52
deny from 184.108.40.206/20
deny from 220.127.116.11/20
It seems to be stilll getting through. I've not restarted the server tho, but I didn't think you had to.
timigoe — 2012-09-14T07:17:21-04:00 — #4
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.
dariussutherland — 2012-09-14T08:51:30-04:00 — #5
Okay. Will see if that makes a difference. Thanks