1 # $NetBSD: ftpd.conf,v 1.3 2000/01/08 13:17:17 lukem Exp $ 2 # 3 # example /etc/ftpd.conf 4 5 # Check PORT command for validity; prevents denial of service attempt. 6 # 7 checkportcmd all 8 9 # For anonymous connections, when a directory is entered show the contents 10 # of `.message' if it exists, and notify about any files that start 11 # with `README'. 12 # 13 display guest .message 14 notify guest README* 15 16 # Prevent uploads & modification commands for anonymous connections 17 # 18 upload guest off 19 20 # Limit transfers for users in `slowmo' class to 5 KB/s 21 # 22 rateget slowmo 5k 23 rateput slowmo 5k 24 25 # Limit the number of simultaneous `foo' class connections to 50, 26 # and display /etc/ftptoomany when this limit is reached 27 # 28 limit foo 50 ftptoomany 29 30 # Support automatic conversions. 31 # (For anonymous connections, ~ftp/usr/bin should be a symlink to ~ftp/bin, 32 # and gzip and tar should exist in the latter directory.) 33 # 34 conversion all .gz f . /usr/bin/gzip -c -- %s 35 conversion all .tar df .notar /usr/bin/tar -cf - -- %s 36 conversion all .tar.gz df .notar /usr/bin/tar -zcf - -- %s 37