[Firewall] limit of lines in blocked-hosts?

Jason Stahls jason at justuscare.ca
Tue Apr 23 15:35:02 CEST 2013


On 4/22/2013 5:47 PM, Michel van Dop wrote:
>
> Hello,
>
> Is there a limit lines for the blocked-hosts file?
>
> I have 165176 host line(s) in this file. I use Centos 6.4 1 gb mem (1 
> CPU 3 Ghz).
>
> I try to block any country except the Netherlands. I use: 
> http://ipinfodb.com/ip_country_block.php
>
> The loading of the ips takes 5 minutes.
>

Why don't you default block and only allow your local country through?  
Would be a lot smaller list :)

-- 
Jason Stahls


More information about the Firewall mailing list