Index: [Article Count Order] [Thread]

Date:  Mon, 02 Nov 2009 21:39:42 -0600
From:  Gerald Waugh <gwaugh (at mark) frontstreetnetworks.com>
Subject:  [coba-e:16122] Re: [BlueOnyx:02790]  DFix note
To:  BlueOnyx General Mailing List <blueonyx (at mark) blueonyx.it>
Cc:  coba-e (at mark) bluequartz.org
Message-Id:  <1257219582.18697.8.camel (at mark) c102.home.com>
In-Reply-To:  <002201ca5c2a$18d207c0$6401a8c0@HPPAVILION>
References:  <002201ca5c2a$18d207c0$6401a8c0@HPPAVILION>
X-Mail-Count: 16122


On Mon, 2009-11-02 at 21:05 -0500, Darrell D. Mobley wrote:
> For those people using DFix, and have IP窶冱 whitelisted
> in /etc/hosts.allow, you should know that DFix throws away hosts.allow
> entries that have comments after the entry.

Comments in the /etc/hosts.allow are very similar to shell scripts where
each comment line starts with a hash mark (#) and extends to the end of
the line. There is one significant difference in how comments are
handled in hosts.allow and shell scripts is that comments are not
allowed after a rule. The following example shows valid uses of comments
in the file.

	# this is a valid comment
	portmap : 1.2.3.4 : deny
	# so is this
	
	sshd : 9.8.7.6 : deny	# but not this one

-- 
Gerald Waugh