libwrap (TCP Wrappers) wu-ftpd patch

Price: $0 (GPL License) THIS SOFTWARE HAS NO WARRANTY. USE AT YOUR OWN RISK.

Current Version: 0.9

Date Modified: July 5, 2000

Overview


This is a patch to the Un*x wu-ftpd FTP server (available here) to support the use of libwrap (TCP Wrappers) when the server is run in standalone daemon mode via the -S switch.

This gives you the ability to control access in the same /etc/hosts.deny or /etc/hosts.allow files you use when running wu-ftpd (or any other service) from inetd With this patch you may deny access to hosts and the connection is dropped right after the connection is made (with the accept() call). The check is performed in the child process so the main server process is not slowed down.

There is also an initscript provided for starting and stopping the ftp server in standalone mode.

Details

TCP Wrappers (or libwrap) provide a way to control access to services on a host. Traditional TCP Wrappers are called from inetd and used to protect services started from inetd. When the wu-ftpd is run from inetd you do not need this patch. This patch is for use when you run the wu-ftpd in standalone daemon mode. You use this mode primarily for speed (as all that is required is a fork instead of an exec), though some people choose not to run inetd at all, in which case running the server standalone is the only way to go.

 

What you need:

 

How to use the patch:

 

 

Download

 


 

Revision History


v0.9


Return to LAFFEY Computer Imaging home page.
Powered By: NetBSD

Webmaster (webmaster@laffeycomputer.com)