Results 1 to 1 of 1
Hi,
I setup delay pools on my squid. however, I want to limit download speed on file extension, let say exe, zip etc.
Here's my delay pools
Code:
acl extensions ...
- 01-19-2011 #1Just Joined!
- Join Date
- Jan 2011
- Posts
- 34
Delay Pool - Limit download speed
Hi,
I setup delay pools on my squid. however, I want to limit download speed on file extension, let say exe, zip etc.
Here's my delay pools
It works per bucket, I test using 172.10.10.dept1_ip and dept2, dept3 ip, and it works. I only allowed max bandwidth allocated (tested using speedtest,net)Code:acl extensions url_regex -i .exe$ .mp3$ .tar.gz$ .gz$ .rpm$ .zip$ .rar$ .avi$ .mpeg$ .mpe$ .mpg$ .ram$ .rm$ .iso$ .raw$ .wav$ .mov$ acl dept1 src 172.10.10.1-172.10.10.50 acl dept2 src 172.10.10.51-172.10.10.100 acl dept3 src 1172.10.101.1-172.10.10.255 delay_pools 4 delay_class 1 1 delay_class 2 1 delay_class 3 1 delay_class 4 1 delay_parameters 1 250000/312500 delay_access 1 allow dept1 delay_parameters 2 125000/187500 delay_access 2 allow dept2 delay_parameters 3 -1/-1 delay_access 3 allow dept3 delay_parameters 4 250/625 delay_access 4 allow extensions
However, when I download let say .exe file, it download the max speed, and doesn't follow my delay_class 4. Besides limiting per bucket, i also what I control/ limit the download speed. (eg. 1mbps per bucket, but 20kbps download speed)
Thanks.


Reply With Quote