Posted on 2004-08-09
I am trying to deny access to ssh\sshd for a number of IP's from Asia that are constantly trying to hack my box.
I have edited my hosts.allow to the following::
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
sshd : 211.117.191. : deny
ssh : 211.117.191. : deny
sshd : 193.145.87. : deny
ssh : 193.145.87. : deny
sshd : 210.205.6. : deny
ssh : 210.205.6. : deny
sshd : 211.104.106. : deny
ssh : 211.104.106. : deny
then I restarted the xinetd.
My Question:: IS THIS CORRECT?
I still have these little ba$tard$ in my logfiles.
How can I deny their subnet from being able to even TRY to login to my server?