421 Service not available,remote server has closed connection 强烈要求加入vsftpd FAQ中

由 dato 在 10-13-2003 14:31 发表:

421 Service not available,remote server has closed connection 强烈要求加入vsftpd FAQ中

困挠了好几个月啦,大概知道是为什么了,不过问题仍然没解决。

http://www.google.com/search?hl=zh-...nection&lr=

很羡慕REDHAT用户有大量的文档,随便改一下就可以将vsftpd的S模式改为X模式。

完完全全从源码编绎vsftpd,使用X模式启动时,

FTP服务器IP192.168.1.3

ftp localhost可以正常连接,

ftp 192。168。1。3时却遇到

421 Service not available,remote server has closed connection

其实这个问题跟/etc/vsftpd里的only_from之类的参数一点关系都没有

今天在网上那E文里大概知道了原因

试着修改/etc/hosts.allow

在里面添加了ALL : 192.168.1.3

可以在IP192.168.1.3上ftp 192.168.1.3

再添加一条ALL : 192.168.1.2

可以在局域网里的192.168.1.2访问 192.168.1.3上提供的FTP服务

那现在的问题是我要让这台服务器让所有的IP访问,总不能让我添加一条

ALL : ALL吧

那个/etc/hosts.allow有些例子,例如

in.proftpd : ALL

那么vsftpd该叫什么呢

哪位使用redhat的兄弟帮我找一下/etc/hosts.allow里让vsftpd通过的名利

我当然试过in.ftp :ALL in.vsftpd:ALL都不可以,谢谢


http://dato.minidns.net

Webmasterworld -- the next person you help may just be yourself!


由 北南南北 在 10-13-2003 17:18 发表:


http://www.linuxsir.org/bbs/showthr...;threadid=42075

看一下这个里面有没有,我感觉好象是有。


===========================

请弟兄们发帖时要写个好标题,多谢!

===========================

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus