Country Block

Country Block is a bash script that will download the country zone files from ipdeny.com, extract the ip address ranges and put them into hosts.deny. You can list “safe” countries which will then be ignored and not inserted into the hosts.deny file. Special thanks to the folks at ipdeny.com who provide this awesome free service. Check them out at www.ipdeny.com

Latest Release: 0.2

1 Comment

DonnaMarch 2, 2008 at 9:47 pm

There is another website that provides even better services. At http://www.countryipblocks.net you can get .htaccess allow and deny files for more than 240 countries, plus you can get Access Control Lists in CIDR or Netmask format, and they have a searchable IP database.