LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 871|回复: 4

请问proftpd连接的时候很慢是为什么?

[复制链接]
发表于 2005-5-13 20:22:59 | 显示全部楼层 |阅读模式
现在的情况是连接的时候很慢,但是传送文件的时候速度正常!不知道为什么?

proftpd.conf如下:
############################################################
ServerName                      "YanQian's FTP Server"
ServerType                      standalone
DefaultServer                   on
Port                            21

AllowRetrieveRestart            on
AllowStoreRestart               on
AllowForeignAddress             on
AllowOverwrite                  on

Umask                           022

DirFakeUser     On      FTP
DirFakeGroup    On      FTP

User                            nobody
Group                           nogroup

MaxInstances                    15
MaxClients                      10
MaxClientsPerHost               1

TimeoutStalled                  15

DisplayLogin                    welcome.msg
DisplayFirstChdir               .message

RootLogin                       off
ServerIdent                     off
RequireValidShell               off

DefaultRoot ~

TransferRate RETR 1024 user ftp
TransferRate STOR 1024 user ftp

<Anonymous ~ftp>

  <Limit LOGIN>
    AllowAll
  </Limit>

  MaxClients                    5 "Sorry, max %m users -- try again later"
  User                          ftp
  Group                         ftp
  UserAlias                     anonymous ftp

  AnonRequirePassword           off

  <Limit WRITE>
    DenyAll
  </Limit>

  # An upload directory that allows storing files but not retrieving or creating directories.
  <Directory uploads/*>
    <Limit READ>
      DenyAll
    </Limit>

    <Limit STOR>
      AllowAll
    </Limit>
  </Directory>
</Anonymous>
####################################################
发表于 2005-5-13 23:14:24 | 显示全部楼层
关掉dns反向解析。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-14 00:55:50 | 显示全部楼层
哦!谢谢了!

可否告知具体该如何操作呢?

我用的是Linux系统是:Mandriva 2005 LE
回复 支持 反对

使用道具 举报

发表于 2005-5-14 06:52:34 | 显示全部楼层
都是老问题 了。为什么自己不找找。。。。。。。。。。。。
UseReverseDNS           off
IdentLookups            off
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-14 13:08:52 | 显示全部楼层
谢谢!

其实我自己找过的,百度,google搜过,本站内也输入关键词:“关闭DNS反向解析”搜索过,可是就是没有找到解决方法!也许搜索的关键词不恰当!

再次感谢!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表