TCP Wrappers

Edward Krack ekrack at sigecom.net
Wed Apr 19 09:01:28 UTC 2006


Kaushal Shriyan:

> I have RHL9 installed and I am using TCP Wrappers, In the 
> /etc/hosts.deny
> I have put
>
> vsftpd : ALL EXCEPT : localhost
>
> but doesnot work for me I want to deny FTP Service to localhost
>
> Any Clue

My /etc/hosts.allow looks some-what like this:

vsftpd : 172.16.1.2 : ALLOW
ALL : ALL : DENY
ALL : DENY

Which removes the need for a /etc/hosts.deny.
It's a better way to block all services not explicitly defined.

Krack






More information about the fedora-list mailing list