xref: /onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/ftpaccess (revision 0:68f95e015346)
1*0Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
2*0Sstevel@tonic-gate#
3*0Sstevel@tonic-gate# FTP server configuration file, see ftpaccess(4).
4*0Sstevel@tonic-gate#
5*0Sstevel@tonic-gate
6*0Sstevel@tonic-gateclass		realusers	real		*
7*0Sstevel@tonic-gateclass		guestusers	guest		*
8*0Sstevel@tonic-gateclass		anonusers	anonymous	*
9*0Sstevel@tonic-gate
10*0Sstevel@tonic-gateloginfails	3
11*0Sstevel@tonic-gatepasswd-check	trivial		warn
12*0Sstevel@tonic-gateprivate		no
13*0Sstevel@tonic-gateshutdown	/etc/ftpd/shutdown.msg
14*0Sstevel@tonic-gate# email		user@hostname
15*0Sstevel@tonic-gate# guestuser	username
16*0Sstevel@tonic-gate# rhostlookup	no
17*0Sstevel@tonic-gate
18*0Sstevel@tonic-gatekeepalive	yes
19*0Sstevel@tonic-gaterecvbuf		65536		real,guest,anonymous
20*0Sstevel@tonic-gatesendbuf		65536		real,guest,anonymous
21*0Sstevel@tonic-gate# flush-wait	no		anonymous
22*0Sstevel@tonic-gate# passive	ports		0.0.0.0/0	32768	65535
23*0Sstevel@tonic-gate# timeout	data		600
24*0Sstevel@tonic-gate# timeout	idle		300
25*0Sstevel@tonic-gate
26*0Sstevel@tonic-gatebanner		/etc/ftpd/banner.msg
27*0Sstevel@tonic-gategreeting	brief
28*0Sstevel@tonic-gatemessage		/etc/ftpd/welcome.msg	login
29*0Sstevel@tonic-gatemessage		.message		cwd=*
30*0Sstevel@tonic-gatereadme		README*			login
31*0Sstevel@tonic-gatereadme		README*			cwd=*
32*0Sstevel@tonic-gate# quota-info	*
33*0Sstevel@tonic-gate
34*0Sstevel@tonic-gatechmod		no		anonymous
35*0Sstevel@tonic-gatedelete		no		anonymous
36*0Sstevel@tonic-gateoverwrite	no		anonymous
37*0Sstevel@tonic-gaterename		no		anonymous
38*0Sstevel@tonic-gateumask		no		anonymous
39*0Sstevel@tonic-gate
40*0Sstevel@tonic-gatecompress	yes		realusers guestusers anonusers
41*0Sstevel@tonic-gatetar		yes		realusers guestusers anonusers
42*0Sstevel@tonic-gate
43*0Sstevel@tonic-gatepath-filter	guest,anonymous	/etc/ftpd/filename.msg	^[[:alnum:]._-]*$ ^[.-]
44*0Sstevel@tonic-gate
45*0Sstevel@tonic-gatenoretrieve	relative	class=anonusers		/
46*0Sstevel@tonic-gateallow-retrieve	relative	class=anonusers		/pub
47*0Sstevel@tonic-gate
48*0Sstevel@tonic-gateupload		class=anonusers    *	*	  no  nodirs
49*0Sstevel@tonic-gate# upload	class=anonusers    *	/incoming yes ftpadm ftpadm 0440 nodirs
50*0Sstevel@tonic-gate
51*0Sstevel@tonic-gate# log		commands	real,guest,anonymous
52*0Sstevel@tonic-gate# log		security	real,guest,anonymous
53*0Sstevel@tonic-gate# log		transfers	real,guest,anonymous	inbound,outbound
54*0Sstevel@tonic-gate# xferlog	format	%T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc %Xs %Xr
55*0Sstevel@tonic-gate
56*0Sstevel@tonic-gate# limit-time	anonymous	30
57*0Sstevel@tonic-gate# limit		anonusers	10	Wk0730-1800	  /etc/ftpd/toomany.msg
58*0Sstevel@tonic-gate# limit		anonusers	50	SaSu|Any1800-0730 /etc/ftpd/toomany.msg
59