proftpd设置之后,为什么windows用户的cuteftp就死阿???

由 leijinying 在 04-12-2004 23:12 发表:

proftpd设置之后,为什么windows用户的cuteftp就死阿???

搞笑 阿 。不知道怎么回事阿 。

我设置完之后,只要在windows下面用cuteftp然后输入ip,匿名登录,然后显示了一些说明之后,就会出现显示错误,然后只有关闭了

奇怪了。但是ie这些浏览器没有任何问题!----其他的ftp客户端不知道是不是有问题!

有一点就是,他们用的都是一个版本的cuteftp。

大家说说,怎么回事???

我这几天在试一试!

谢谢!

> quote: > > * * * > >
>
> # This is the ProFTPD configuration file1
>
> # $Id: proftpd.conf,v 1.6 2003/09/24 10:51:11 dude Exp $
>
>
>
> ServerName "xx.com"
>
> # ServerIdent on "FTP Server ready."
>
> ServerIdent off
>
> ServerAdmin [email protected]
>
> ServerType standalone
>
> #ServerType inetd
>
> DefaultServer on
>
> AccessGrantMsg "User %u logged in."
>
> #DisplayConnect /etc/ftpissue
>
> #DisplayLogin /etc/ftpmotd
>
> #DisplayGoAway /etc/ftpgoaway
>
> DeferWelcome off
>
>
>
> # Use this to excude users from the chroot
>
> DefaultRoot ~ !adm
>
>
>
> # Use pam to authenticate by default
>
> AuthPAMAuthoritative on
>
>
>
> # Do not perform ident nor DNS lookups (hangs when the port is filtered)
>
> IdentLookups off
>
> UseReverseDNS off
>
>
>
> # Port 21 is the standard FTP port.
>
> Port 21
>
>
>
> # Umask 022 is a good standard umask to prevent new dirs and files
>
> # from being group and world writable.
>
> Umask 022
>
>
>
> # Default to show dot files in directory listings
>
> ListOptions "-a"
>
>
>
> # See Configuration.html for these (here are the default values)
>
> #MultilineRFC2228 off
>
> #禁止root登录
>
> RootLogin off
>
> #LoginPasswordPrompt on
>
> #最大尝试次数
>
> #MaxLoginAttempts 3
>
> #TransferRate RETR 50 user kaoyan 下载速度限制
>
> #TransferRate STOR 100 user upload上传速度限制!
>
> TransferRate RETR 100 user ftp
>
> MaxClientsPerHost 1 "对不起,一个IP只允许一个连接"
>
> #MaxClientsPerUser 1 "对不起,每个帐户在每个客户端最多可以同时登陆1次"
>
> MaxHostsPerUser 8 "对不起,已经到达该用户最大连接数8,请您稍候再试!"
>
> #AllowForeignAddress off # For FXP
>
> MaxClients 8 "对不起, 最大%m个用户 -- 请稍后再试"
>
> #TimeoutIdle 设置空闲连接超时时间
>
> #TimeoutLogin 设置空闲登陆超时时间
>
> #TimeoutNoTransfer 设置当没有数据传输时的超时时间
>
> #TimeoutStalled 设置被阻塞的下载的超时时间
>
> TimeoutIdle 60
>
> TimeoutLogin 60
>
> # Allow to resume not only the downloads but the uploads too
>
> AllowRetrieveRestart on
>
> AllowStoreRestart on
>
>
>
> # 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 5
>
>
>
> # Set the user and group that the server normally runs at.
>
> User nobody
>
> Group nobody
>
>
>
> # This is where we want to put the pid file
>
> ScoreboardFile /var/run/proftpd.score
>
>
>
> # Normally, we want users to do a few things.
>
>

 1<global>   
 2&gt;    
 3&gt;  AllowOverwrite yes   
 4&gt;    
 5&gt;  <limit all="" cmd="" site_chmod="">   
 6&gt;    
 7&gt;  AllowAll   
 8&gt;    
 9&gt;  </limit>   
10&gt;    
11&gt;  </global>

>
>
>
> # Define the log formats
>
> LogFormat default "%h %l %u %t "%r" %s %b"
>
> LogFormat auth "%v [%P] %h %t "%r" %s"
>
>
>
> # TLS
>
> # Explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
>
> #TLSEngine on
>
> #TLSRequired on
>
> #TLSRSACertificateFile /usr/share/ssl/certs/proftpd.pem
>
> #TLSRSACertificateKeyFile /usr/share/ssl/certs/proftpd.pem
>
> #TLSCipherSuite ALL:!ADH:!DES
>
> #TLSOptions NoCertRequest
>
> #TLSVerifyClient off
>
> ##TLSRenegotiate ctrl 3600 data 512000 required off timeout 300
>
> #TLSLog /var/log/proftpd/tls.log
>
>
>
> # A basic anonymous configuration, with an upload directory.
>
>

 1<anonymous ftp="" var="">   
 2&gt;    
 3&gt;  User ftp   
 4&gt;    
 5&gt;  Group ftp   
 6&gt;    
 7&gt;  AccessGrantMsg "Anonymous login ok, restrictions apply"   
 8&gt;    
 9&gt;  RequireValidShell off   
10&gt;    
11&gt;  # We want clients to be able to login with "anonymous" as well as "ftp"   
12&gt;    
13&gt;  UserAlias anonymous ftp   
14&gt;    
15&gt;  #   
16&gt;    
17&gt;  # # Limit the maximum number of anonymous logins   
18&gt;    
19&gt;  MaxClients 6 "Sorry, max %m users -- try again later"   
20&gt;    
21&gt;  #   
22&gt;    
23&gt;  #Alias " /mnt" " /var/ftp"   
24&gt;    
25&gt;  # # Put the user into /pub right after login   
26&gt;    
27&gt;  # #DefaultChdir /pub   
28&gt;    
29&gt;  #   
30&gt;    
31&gt;  # # We want 'welcome.msg' displayed at login, '.message' displayed in   
32&gt;    
33&gt;  # # each newly chdired directory and tell users to read README* files.   
34&gt;    
35&gt;  DisplayLogin /welcome.msg   
36&gt;    
37&gt;  # DisplayFirstChdir .message   
38&gt;    
39&gt;  # DisplayReadme README*   
40&gt;    
41&gt;  #   
42&gt;    
43&gt;  # # Some more cosmetic and not vital stuff   
44&gt;    
45&gt;  # DirFakeUser on ftpadm   
46&gt;    
47&gt;  # DirFakeGroup on ftpadm   
48&gt;    
49&gt;  #   
50&gt;    
51&gt;  # # Limit WRITE everywhere in the anonymous chroot   
52&gt;    
53&gt;    
54&gt;    
55&gt;  <limit site_chmod="" write="">   
56&gt;    
57&gt;  DenyAll   
58&gt;    
59&gt;  IgnoreHidden on   
60&gt;    
61&gt;  </limit>   
62&gt;    
63&gt;  #   
64&gt;    
65&gt;  # # An upload directory that allows storing files but not retrieving   
66&gt;    
67&gt;  # # or creating directories.   
68&gt;    
69&gt;  # <directory *="" uploads="">   
70&gt;    
71&gt;  # AllowOverwrite no   
72&gt;    
73&gt;  # <limit read="">   
74&gt;    
75&gt;  # DenyAll   
76&gt;    
77&gt;  # </limit>   
78&gt;    
79&gt;  #   
80&gt;    
81&gt;  # <limit stor="">   
82&gt;    
83&gt;  # AllowAll   
84&gt;    
85&gt;  # </limit>   
86&gt;    
87&gt;  # </directory>   
88&gt;    
89&gt;  &lt;Directo</anonymous>
Published At
Categories with 服务器类
Tagged with
comments powered by Disqus