Thank you for your reply. I read the man page of ftp-proxy. There's an option like you said, "-q queue". But in my way, i have 2 queue : ilimit and istd ilimit : bandwidth -> 20Ko/s istd : bandwidth -> 128 Ko/s
So i just modified to my /etc/rc.conf.local : ftpproxy_flags="" to ftpproxyflags="-q ilimit" Restart the box. Now, when this limited user download files using ftp, it downloads at 20Ko/s. But the others download also at 20Ko/s ; How can i fix the others to download files at 128 Ko/s ? How can i have 2 ftp stream like one 20Ko/s and 128 Ko/s ? Thank you very much for your help. Wesley. On Thu, 03 Nov 2011 07:04:04 +0100, Camiel Dobbelaar <c...@sentia.nl> wrote: > On 3-11-2011 6:07, Wesley M. wrote: >> I suppose it is because traffic are redirect to 127.0.0.1 (ftpproxy) >> >> sample of my pf.conf: >> ... >> anchor "ftp-proxy/*" >> pass in on $lan inet proto tcp from $limithost \ >> to port 21 divert-to 127.0.0.1 port 8021 queue ilimit >> ... >> >> Is there a way to solve this problem? > > ftp-proxy has a '-q' option to set a queue.