# $NetBSD: ftpd.conf,v 1.2 1999/12/26 09:38:47 lukem Exp $ # # example /etc/ftpd.conf # Check PORT command for validity; prevents denial of service attempt. # checkportcmd all # For anonymous connections, when a directory is entered show the contents # of `.message' if it exists, and notify about any files that start # with `README'. # display guest .message notify guest README* # Prevent uploads & modification commands for anonymous connections # upload guest off # Limit transfers for users in `slowmo' class to 5 KB/s # rateget slowmo 5k rateput slowmo 5k # Support automatic conversions. # (For anonymous connections, ~ftp/usr/bin should be a symlink to ~ftp/bin, # and gzip and tar should exist in the latter directory.) # conversion all .gz f . /usr/bin/gzip -c -- %s conversion all .tar df .notar /usr/bin/tar -cf - -- %s conversion all .tar.gz df .notar /usr/bin/tar -zcf - -- %s