[TriLUG] hosts.deny question?

WA Brown brownwa at ftc-i.net
Mon Mar 6 19:44:13 EST 2006


Hello all,
      I am new to this group and linux. I hope you tolerate another 
"newbie". I have a server online at www.havenstead.net and am learning how 
to do things with it everyday. I am running Redhat9 with an Apache 2.0 
server.

This is what I have in the "hosts.deny" file. What have I got wrong?

#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow.  In particular
# you should know that NFS uses portmap!



      Order allow,deny
      Allow from all

      Deny from 218.64.*.*
      Deny from 61.134.32.18


This what i am getting on my report. How should it be listed?

WA Brown


6 02:45:02 www sshd[32311]: Did not receive identification string from 
211.171.202.87

Mar 6 07:50:10 www sshd[5322]: warning: /etc/hosts.deny, line 12: missing 
":" separator

Mar 6 07:50:10 www sshd[5322]: warning: /etc/hosts.deny, line 13: missing 
":" separator

Mar 6 07:50:10 www sshd[5322]: warning: /etc/hosts.deny, line 15: missing 
":" separator

Mar 6 07:50:10 www sshd[5322]: warning: /etc/hosts.deny, line 16: missing 
":" separator





More information about the TriLUG mailing list