LinuxSir.cn,穿越时空的Linuxsir!

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

我的proftpd.conf,花了我两天的时间啊!终于弄好了

[复制链接]
发表于 2003-10-26 01:10:59 | 显示全部楼层 |阅读模式
ServerName                        "xxxxxxxx"
ServerType                        standalone
DefaultServer                         on
ServerAdmin                      xxx@xxx.com

# Port 21 is the standard FTP port.
Bind                            192.168.0.240
Port                                21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                                022

# 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                                com
Group                                com



<Global>                     
#RateReadFreeBytes          200000
AllowRetrieveRestart on  #下载续传   
DefaultRoot  ~
RootLogin off
ServerIdent on              "ices azure connected"
DisplayLogin                       welcome.msg
DisplayFirstChdir                        .message
MaxHostsPerUser 20 "太多人了!!大哥,您等会再来看我吧!!"
MaxLoginAttempts 4
TimeoutIdle  30         #设置空闲连接超时时间
TimeoutLogin  30        #设置空闲登陆超时时间
TimeoutNoTransfer 30    #设置当没有数据传输时的超时时间
TimeoutStalled 30       #设置被阻塞的下载的超时时间
AccessGrantMsg          "you are so lucky to find this wonderful place!"
</Global>

<Directory ~/incoming>
AllowOverwrite on        #如果要支持上传续传,那么必须指定
AllowStoreRestart on     
</Directory>

<Limit READ DIRS>
IgnoreHidden on
</Limit>
 楼主| 发表于 2003-10-26 01:14:37 | 显示全部楼层
一直想弄个proftpd
但是一直没有时间 这两天有空 就弄了一下 网上的资料总是杂七杂八
最后我还是到 www.proftpd.org 上看来的
呵呵 各位给我意见
对了 上下载速度一直没有弄好
因为我是 1.2.9rc1的版本
ratereadbps 之类的好象都不行了
transferrate 老是说 wrong number parameter
呵呵 不过是小问题了
 楼主| 发表于 2003-10-26 01:16:30 | 显示全部楼层
对了
我的站点 211.80.90.8 :8021
com
com
不定时开机
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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