由 pc2boy 在 05-03-2003 22:14 发表:
急!有关于proftp的问题,老鸟多多指点啊。
2装好proftp开始还用的不错,但后来没多久(重启后)就连不上了。在服务器自己上用“telnet localhost 21"时显示
Trying 127.0.01....
Connected to localhost
Escape character is '^]'
Connetion closed by foreign host <---问题
防火墙打开的,外部机器也连不上,/etc/shutmsg也删过了;/etc/rc.d/init.d/xinetd reload 也没用(我是用inetd方式启动的)
求救啊,将/etc/xinetd.d/proftpd 中的disable项注消了也没用。
3还有我的装wuftp也好,proftp和vsftp也好速度最高也只有200K,一般70~80K,我可是用的100M卡啊怎么会这样?
附配置文件:
This is a basic ProFTPD configuration file (rename it to
'proftpd.conf' for actual use. It establishes a single server
and a single anonymous login. It assumes that you have a user/group
"nobody" and "ftp" for normal operation and anon.
ServerName "red.dnsdiy.com FTP Server"
ServerType standalone
DefaultServer on
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
RequireValidShell off
#Serverldent off
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 under which the server will run.
User nobody
Group nobody
To cause every FTP user to be "jailed" (chrooted) into their home
directory, uncomment this line.
DefaultRoot ~
Normally, we want files to be overwriteable.
1<directory></directory>
AllowOverwrite on