NetBSD/share/examples/ftpd/ftpd.conf
1998-06-06 01:28:33 +00:00

23 lines
711 B
Plaintext

# $NetBSD: ftpd.conf,v 1.1 1998/06/06 01:28:33 lukem Exp $
#
# example /etc/ftpd.conf
# Check PORT command for validity; prevents denial of service attempt.
#
checkportcmd guest
# 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*
# 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