tcp-wrappers
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.
Restrictions:
-
The configuration files must be named /etc/hosts.allow and/or
/etc/hosts.deny;
-
The files must be in the old format, and not the new layout mentioned
by the hosts_options man page;
-
Even if the new format was supported, you could not use the twist
option;
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.
Examples:
tcp-wrappers=yes
tcp-wrappers=no
Recommendation: