Ok, so apache doesn't use hosts.deny for access control. On 1.3x versions of apache, I use mod_hosts_access which makes it use the hosts.allow and hosts.deny. This works great in conjunction with portsentry.
On apache2, there is no mod_hosts_access. Has anyone gotten portsentry and apache2 to work together?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ok, I've used iptables to solve this problem. It seems much more effective as hosts.allow/deny only control inetd services. When a host is blocked with iptables, this will effectively block that host from all services.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, so apache doesn't use hosts.deny for access control. On 1.3x versions of apache, I use mod_hosts_access which makes it use the hosts.allow and hosts.deny. This works great in conjunction with portsentry.
On apache2, there is no mod_hosts_access. Has anyone gotten portsentry and apache2 to work together?
ok, I've used iptables to solve this problem. It seems much more effective as hosts.allow/deny only control inetd services. When a host is blocked with iptables, this will effectively block that host from all services.