1 # ident "%Z%%M% %I% %E% SMI" 2 # 3 # FTP server configuration file, see ftpaccess(4). 4 # 5 6 class realusers real * 7 class guestusers guest * 8 class anonusers anonymous * 9 10 loginfails 3 11 passwd-check trivial warn 12 private no 13 shutdown /etc/ftpd/shutdown.msg 14 # email user@hostname 15 # guestuser username 16 # rhostlookup no 17 18 keepalive yes 19 recvbuf 65536 real,guest,anonymous 20 sendbuf 65536 real,guest,anonymous 21 # flush-wait no anonymous 22 # passive ports 0.0.0.0/0 32768 65535 23 # timeout data 600 24 # timeout idle 300 25 26 banner /etc/ftpd/banner.msg 27 greeting brief 28 message /etc/ftpd/welcome.msg login 29 message .message cwd=* 30 readme README* login 31 readme README* cwd=* 32 # quota-info * 33 34 chmod no anonymous 35 delete no anonymous 36 overwrite no anonymous 37 rename no anonymous 38 umask no anonymous 39 40 compress yes realusers guestusers anonusers 41 tar yes realusers guestusers anonusers 42 43 path-filter guest,anonymous /etc/ftpd/filename.msg ^[[:alnum:]._-]*$ ^[.-] 44 45 noretrieve relative class=anonusers / 46 allow-retrieve relative class=anonusers /pub 47 48 upload class=anonusers * * no nodirs 49 # upload class=anonusers * /incoming yes ftpadm ftpadm 0440 nodirs 50 51 # log commands real,guest,anonymous 52 # log security real,guest,anonymous 53 # log transfers real,guest,anonymous inbound,outbound 54 # xferlog format %T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc %Xs %Xr 55 56 # limit-time anonymous 30 57 # limit anonusers 10 Wk0730-1800 /etc/ftpd/toomany.msg 58 # limit anonusers 50 SaSu|Any1800-0730 /etc/ftpd/toomany.msg