tcp-wrappers NcFTPd file configuration
Don't forget to restart NcFTPd after modifying the file.

You can control which client hosts contact your server by using TCP Wrappers' access control files.  Consult the documentation that comes with TCP Wrappers for information on how to configure the access controls.


Service-specific access for NcFTPd can be controlled by the "NcFTPd:" service name.

Please note that the author of TCP Wrappers (Wietse Venema) is not responsible for NcFTPd's implementation -- if you have problems with NcFTPd but your other services work fine with your TCP Wrappers please contact us first.

Also note that turning this feature on invokes a substantial performance penalty.  If you're running an anonymous-only site you probably don't want to turn anyone away anyway.



Example TCP Wrappers configuration:

This example shows how to limit FTP access to only the 192.168.5.* network and hosts in the * domain. All other hosts are denied.

Contents of /etc/hosts.allow file:

Contents of /etc/hosts.deny file:

Previous: tar NcFTPd Home Next: throttle