I have been successfully using /etc/hosts.deny to block a few pernicious thug IPs from pestering my SSH port.
I now have a few IPs I'd like to block for TCP/80 for Apache.
However, I found that /etc/hosts.deny does not seem to apply to Apache???
"ALL : ip/mask" does not prevent their access to TCP/80.
I really don't feel like trumping up a whole IPTables solution to block a few pests.... other ideas? No need to be courteous to these IPs.. BUT I don't want to leave an httpd child process left open any longer than needed to turn these IPs away.
I guess I'm kind of arguing myself into an IPTables solution, but I'd appreciate any other ideas!
Thanks,
D.
D.E.R. Management - IT Project Management Consulting
I now have a few IPs I'd like to block for TCP/80 for Apache.
However, I found that /etc/hosts.deny does not seem to apply to Apache???
"ALL : ip/mask" does not prevent their access to TCP/80.
I really don't feel like trumping up a whole IPTables solution to block a few pests.... other ideas? No need to be courteous to these IPs.. BUT I don't want to leave an httpd child process left open any longer than needed to turn these IPs away.
I guess I'm kind of arguing myself into an IPTables solution, but I'd appreciate any other ideas!
Thanks,
D.
D.E.R. Management - IT Project Management Consulting