ftp-proxy(8) | Proxy-Suite | ftp-proxy(8) |
ftp-proxy - application level proxy for the FTP protocol
ftp-proxy [-c] [-d|-i] [-f file] [-n] [-v level] [-V]
FTP-Proxy acts as an application level gateway between FTP clients and servers. Its main purpose is to secure local FTP servers against possibly insecure clients or malicious attacks. FTP-Proxy is believed to be immune against current known attacks based on the FTP protocol.
FTP-Proxy can be started from the inetd (or xinetd, or any other) internet super daemon or executed on its own as a standalone daemon, in which case it will fork child processes to handle connections. The behaviour depends on the ftp-proxy.conf(5) configuration option ServerType or the -i and -d command line switches, where the latter two take precedence.
FTP-Proxy features a rich set of auditing and command restriction capabilities and is specifically suited for deployment in firewall environments.
Please note that the default path for the configuration file is a compile time option. It can be changed using the --prefix and --sysconfdir options when running the configure script - see also the INSTALL file for usage description.
When running FTP-Proxy in inetd mode, it is always an excellent idea to check that the inetd configuration file includes a line that invokes FTP-Proxy. An example for a line in /etc/inetd.conf follows:
ftp stream tcp nowait root /usr/sbin/ftp-proxy -i
Please note that this is just an example and does not provide much security, like running as a non-privileged user or using the TCP Wrapper functionality.
The -v option is is only available if enabled using the --enable-debug option when running the configure script - see also the INSTALL file for usage description. This option should be used with great care only. It is strongly recommended to not to use it in production environments.
If debugging is activated, it always adds output to the file /tmp/ftp-proxy.debug which is created with 0666 mode. This allows child processes to open and write the file after they have given up their root privileges.
If the configuration file contains a ServerRoot directive, child processes and processes run from inetd will try to open the file within their chroot(2) environment. If this fails, e.g. because there is no /tmp directory, it is silently ignored and no debug output is generated.
Please note that the program makes no attempt to erase the debug file after use. Thus it will stay around with world writeability until the operator manually removes it!
/etc/proxy-suite/ftp-proxy.conf
/usr/sbin/ftp-proxy
The SuSE Proxy-Suite documentation included in the doc subdirectory of the package.
Jens-Gero Boehm <jens-gero.boehm@suse.de>
Pieter Hollants <pieter.hollants@suse.de>
Volker Wiegand <volker.wiegand@suse.de>
Marius Tomaschewski <mt@suse.de>
The whole SuSE Proxy-Suite is released under the
GNU General Public License (GPL).
September 20th, 1999 | SuSE |