View Single Post
Old 2008-10-25, 02:35 AM   #3
MadCat
If something's hard to do, then it's not worth doing
 
MadCat's Avatar
 
Join Date: Sep 2008
Location: Berlin, Germany
Posts: 247
The last block will still be covered except you'll block a couple IP addresses at the end of the block that weren't in your original range

A useful tool that I've found: http://ip2cidr.com/ -- it has a bulk conversion tool where you can stick in a list of ranges and it poops out the proper Apache config for either allow or deny

In your case it'd be:

deny from 61.14.41.136/29
deny from 61.14.132.32/27
deny from 61.14.132.64/27
deny from 61.14.132.128/25

(as cd34 already pointed out too )

Last edited by MadCat; 2008-10-25 at 02:38 AM..
MadCat is offline   Reply With Quote