我的 proftp.conf是这样配置的,,可是还是不能联结,

由 sunjinsong 在 11-28-2003 10:40 发表:

我的 proftp.conf是这样配置的,,可是还是不能联结,

请大家看看 帮着解决一下 ,谢谢啊

ServerName "Debian"

ServerType standalone

DeferWelcome off

#Serverldent on "welcome to my ftp"

MultilineRFC2228 on

DefaultServer on

ShowSymlinks on

AllowOverwrite on

AllowForeignAddress off

TimeoutNoTransfer 600

TimeoutStalled 600

TimeoutIdle 200

DisplayLogin welcome.msg

DisplayFirstChdir .message

ListOptions "-l"

DenyFilter \./|index.html

Uncomment this if you are using NIS or LDAP to retrieve passwords:

#PersistentPasswd off

Uncomment this if you would use TLS module:

#TLSEngine on

Uncomment this if you would use quota module:

#Quotas on

Port 21 is the standard FTP port.

Port 21

To prevent DoS attacks, set the maximum number of child processes

to 30. If you need to allow more than 30 concurrent connections

at once, simply increase this value. Note that this ONLY works

in standalone mode, in inetd mode you should use an inetd server

that allows you to limit maximum number of processes per service

(such as xinetd)

MaxInstances 30

Set the user and group that the server normally runs at.

User nobody

Group nogroup

Normally, we want files to be overwriteable.

 1<directory *="">   
 2  
 3# Umask 022 is a good standard umask to prevent new files and dirs   
 4  
 5# (second parm) from being group and world writable.   
 6  
 7Umask 022 022   
 8  
 9  
10  
11AllowOverwrite on   
12  
13</directory>

A basic anonymous configuration, no upload directories.

These lines are marked with ##proftpd.deb anon access## so that they

can be recognized, and edited by postinst. You can remove them once

you re sure you don t want to keep them around.

LogFormat myxfer "%h %u %t"%r"%s %b"

LogFormat default "%h %a %u %t "%r" %s %b $$ \ %F\ "

LogFormat auth "%h %a %t "%r" %s"

LogFormat write "%h %a %t "%r" %s %b"

##proftpd.deb anon access##

 1<anonymous ftp="">   
 2  
 3##proftpd.deb anon access## User ftp   
 4  
 5##proftpd.deb anon access## Group nogroup   
 6  
 7##proftpd.deb anon access## # We want clients to be able to login with "anon   
 8  
 9ymous" as well as "ftp"   
10  
11##proftpd.deb anon access## UserAlias anonymous ftp   
12  
13##proftpd.deb anon access##   
14  
15##proftpd.deb anon access## RequireValidShell off   
16  
17##proftpd.deb anon access##   
18  
19##proftpd.deb anon access## # Limit the maximum number of anonymous logins   
20  
21  
22  
23##proftpd.deb anon access## MaxClients 10   
24  
25##proftpd.deb anon access##   
26  
27##proftpd.deb anon access## # We want welcome.msg displayed at login, and   
28  
29.message displayed   
30  
31##proftpd.deb anon access## # in each newly chdired directory.   
32  
33##proftpd.deb anon access## DisplayLogin welcome.msg   
34  
35##proftpd.deb anon access## DisplayFirstChdir .message   
36  
37##proftpd.deb anon access##   
38  
39##proftpd.deb anon access## # Limit WRITE everywhere in the anonymous chroot   
40  
41  
42  
43##proftpd.deb anon access## <directory *="">   
44  
45##proftpd.deb anon access## <limit write="">   
46  
47##proftpd.deb anon access## DenyAll   
48  
49##proftpd.deb anon access## </limit>   
50  
51&amp;lt</directory></anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus