1 1.1 lukem # $NetBSD: ftpd.conf,v 1.1 1998/06/06 01:28:33 lukem Exp $ 2 1.1 lukem # 3 1.1 lukem # example /etc/ftpd.conf 4 1.1 lukem 5 1.1 lukem # Check PORT command for validity; prevents denial of service attempt. 6 1.1 lukem # 7 1.1 lukem checkportcmd guest 8 1.1 lukem 9 1.1 lukem # For anonymous connections, when a directory is entered show the contents 10 1.1 lukem # of `.message' if it exists, and notify about any files that start 11 1.1 lukem # with `README'. 12 1.1 lukem # 13 1.1 lukem display guest .message 14 1.1 lukem notify guest README* 15 1.1 lukem 16 1.1 lukem # Support automatic conversions. 17 1.1 lukem # (For anonymous connections, ~ftp/usr/bin should be a symlink to ~ftp/bin, 18 1.1 lukem # and gzip and tar should exist in the latter directory.) 19 1.1 lukem # 20 1.1 lukem conversion all .gz f . /usr/bin/gzip -c %s 21 1.1 lukem conversion all .tar df .notar /usr/bin/tar cf - %s 22 1.1 lukem conversion all .tar.gz df .notar /usr/bin/tar zcf - %s 23