[BlueOnyx:02795] Re: DFix note

Greg Kuhnert greg.kuhnert at theanchoragesylvania.com
Tue Nov 3 04:06:33 -05 2009


Gerald Waugh wrote:
> 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
>   
Hi All.

I have done a few tweaks in the source that will make it a little more 
forgiving to the formatting in hosts.allow. I wont bother releasing this 
just yet - its only a small tweak. It will be included in the next 
release (whenever that may be).

Regards,
Greg.

-- 

+---------------------------------------------------------------------+
|   / \   Greg Kuhnert, gkuhnert at compassnetworks.com.au               |
| <  o  > Compass Networks - Pointing you in the right direction      |
|   \ /   Come see us for BlueQuartz / BlueOnyx modules & Support.    |
+---------------------------------------------------------------------+  



More information about the Blueonyx mailing list