Can't Seem To Block And IP

Hi

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 : 88.135.85.82

I’ve tried

deny from 88.135.85.
deny from 88.135.85
deny from 88.135.0.0
deny from 88.0.0.0/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…

Order Deny,Allow
Deny From …

If i remember rightly, the default is Order Allow,Deny

i.e. its allowed before its blocked :slight_smile:

It’s all set up fine I think

SetEnvIfNoCase User-Agent “^Black Hole” bad_bot

<Limit GET POST>
order allow,deny
allow from all
deny from env=bad_bot

deny from 88.135.85.82
deny from 88.135.85.13
deny from 88.135.0.0/20
deny from 88.135.48.0/20

</LIMIT>

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