From: Gerald Waugh <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Apr 2003 09:46:24 -0400
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