Portal Home > Knowledgebase > Articles Database > hosts.deny Maximum?


hosts.deny Maximum?




Posted by SI-Chris, 08-04-2007, 05:56 PM
What are the maximum number of entries that can go in hosts.deny? Will the server bog down the more entries that are in there? How many is a safe, reasonable number?

Posted by Patrick, 08-04-2007, 05:57 PM
A better question is, what are you trying to do - exactly? In some cases it may make sense to modify /etc/hosts.deny to include ALL:ALL and then add the IP ranges you require to /etc/hosts.allow ...

Posted by SI-Chris, 08-04-2007, 06:04 PM
Pat: ALL:ALL won't work for me, I need to block individual IPs.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Email via SMTP server (Views: 486)
PHP (Views: 462)
Chroot Website Files? (Views: 506)