On 12 Jul 2005,
(E-Mail Removed) <(E-Mail Removed)> wrote:
>
> I'm trying to block certain hackers, but for some reason
> the following hosts.deny isn't working. Can someone explain
> why?
>
> Thanks.
>
> ALL EXCEPT sshd httpd: ALL
>
> httpd: 80.17. 209. 210. 211. 212. 213. 214. 215.
> 216.
> 217. 218. 60.36. 195.70.
>
> sshd: 80.17. 209. 210. 211. 212. 213. 214. 215.
> 216.
> 217. 218. 60.36. 195.70.
What web server are you using that it does tcpwrappers (for apache you
control that with allow or deny directives, or your firewall).
If sshd is running with ipv6 support it might not pay attention to ipv4
IPs. For example I had trouble allowing ssh from specific ipv4 ranges
that worked in the past, so I require keys only (passwords not allowed)
and just have a blanket ALL: UNKNOWN at end of hosts.deny (to at least
deny nameless/broken DNS IPs).