Possible to load entries into hosts.deny from text file?

Posted by Tar on Server Fault See other posts from Server Fault or by Tar
Published on 2012-09-16T08:45:45Z Indexed on 2012/09/16 9:39 UTC
Read the original article Hit count: 199

Filed under:

I have around 96 million IP addresses that I have collected and routinely validate to be VPN providers, proxies, etc. I want these blocked. Currently, I am including the list formatted like deny ip; in nginx and that works perfectly. I want to use this list on another server, but nginx isn't an option, and I don't trust apache to handle this without slowing down. Is there a way to load this list into hosts deny via some command like aclexec or something? Are there other alternatives like setting up a DNSBL or using hosts.deny in conjunction with one?

© Server Fault or respective owner

Related posts about hosts