[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] RaQ550: Excluding TLDs from using FTP in hosts.alllow



On Friday 18 April 2003 07:38, Michelle A. Hoyle wrote:
> Summary:
> How can I use "ALL EXCEPT" in hosts.allow to deny FTP access to
> certain top-level domains?
>
> Discussion:
> I've been trying to for ages to get this to work on both a RaQ4 and a
> RaQ550 for what seems like ages with no success.  In theory, I think
> the following should work in /etc/hosts.allow
>
> in.proftpd: ALL EXCEPT .fr, .de, .tw, .cn, .pl
>
> In practice, it doesn't seem to do anything.  Is there a better
> approach or am I just doing something incorrectly?
>

What do you have in /etc/hosts.deny?
These files work together, 
Why not just; In /etc/hosts.deny
in.proftpd: .fr .de .tw .cn .pl

Or to make your s work, In /etc/hosts/deny
in.protpd: ALL

You don't need the ',' just a 'space' between entries

-- 
http://frontstreetnetworks.com         http://raqware.com
Front Street Networks LLC   |  Phone: 203-785-0699
229 Front Street, Ste C, New Haven, CT 06513-3203