You are probably right. I dont know the format. This is one of the things I
am learning. I just dont have the "basics" of linux. I have bought a bunch
of books but cant find one that I need. Most are over my head. Just as with
this problem. I need and exact example to see how something should be done.
WA Brown
----- Original Message -----
From: "Owen Berry" <[EMAIL PROTECTED]>
To: "Triangle Linux Users Group discussion list" <[email protected]>
Sent: Monday, March 06, 2006 10:26 PM
Subject: Re: [TriLUG] hosts.deny question?
I think you have the Apache configuration file confused with the
hosts.deny file. What you have looks suspiciously like the format for an
Apache Location or Directory.
Reading:
http://httpd.apache.org/docs/2.0/mod/core.html#directory
http://httpd.apache.org/docs/2.0/mod/core.html#location
Man pages (type on command line):
man hosts.deny
man hosts.allow
man tcpd
Hope that helps. No problem with the "newbie" questions - how else do
you learn.
Owen
On Mon, 2006-03-06 at 19:44 -0500, WA Brown wrote:
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
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/