BBS水木清华站∶精华区
发信人: cybergene (活泼的基因), 信区: Linux
标 题: Re: 如何限制ftp的传输带宽
发信站: BBS 水木清华站 (Thu Sep 23 14:24:48 1999)
【 在 yuhj (勇 梦回唐朝) 的大作中提到: 】
∶ 缺省的wu-ftpd可能作不到,你需要实验一下别的ftpd比如proftpd
∶ 等.看看www.linuxapps.com
wu-ftpd可以限制的说.
在/etc/ftpaccess里面加上:
throughput /home/ftp * * 64000 0.5 *
意思是下载带宽对所有IP(最后那个*)限制在64K,每下一个文件速度减半(那个0.5).
我用的是2.5.x,man page里面很全的.
用man ftpaccess就可以.:-)
--
Talking the way you are talking now. There are things that
have to be done and you do them and you never talk about them.
You don't try to justify them, they can't be justified. You just
do them, then you forget it...
Welcome to DNA Studio: http://202.112.87.24/main.html
※ 修改:·cybergene 於 Sep 23 14:44:02 修改本文·[FROM: 202.112.87.24]
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 202.112.87.24]
BBS水木清华站∶精华区