到了proftpd的官网看了faq!
发现好象没有如何限制用户每个线程速度的设定啊!
只有个流量控制模块,而且2.0以上版本和mysql可结合使用。
Ratios on # enable module
UserRatio ftp 0 0 0 0
HostRatio master.debian.org 0 0 0 0 # leech access (default)
GroupRatio proftpd 100 10 5 100000 # 100:1 files, 10 file cred 5:1 bytes, 100k byte cred
AnonRatio [email protected] 1 0 1 0 # 1:1 ratio, no credits
UserRatio * 5 5 5 50000 # special default case
This example is for someone who (1) has downloaded 1 file of 82k, (2) has uploaded nothing, (3) has a ratio of 5:1 files and 5:1 bytes, (4) has 4 files and 17k credit remaining, and (5) is now changing directory to /art/nudes/young/carla. The initial credit, not shown, was 5 files and 100k (UserRatio * 5 5 5 100000).
这个好象是:拿第二个为例——上传/下载比是100,可以下载10个文件,上传流量/下载流量比是5,允许的流量是100KB。
请问我的理解是否正确?里面是否有限制用户每个线程速度的设定? |