[BlueOnyx:02791] Re: DFix note
Gerald Waugh
gwaugh at frontstreetnetworks.com
Mon Nov 2 22:39:42 -05 2009
On Mon, 2009-11-02 at 21:05 -0500, Darrell D. Mobley wrote:
> For those people using DFix, and have IP’s 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
More information about the Blueonyx
mailing list