[squid-users] delay pools behaviour

From: Alex <alex@dont-contact.us>
Date: Mon, 12 Jul 2004 01:22:02 +0300

Hello, I have some questions for you guys and maybe someone can explain to
me a couple of things.

What I need to do is shape downloading of files with extensions like exe mp3
avi, etc. at different speeds depending on the client. I have clients which
have to get 128k at download, clients specified in "unlimited" acl should
not be restricted in any way and clients which should get 64k BUT all of
them should be able to browse sites without any speed restrictions. What I
did is this:

acl files url_regex -i .exe .avi .mp3 .zip
acl clients-low src 192.168.2.5 192.168.2.20 192.168.2.25
acl clients-big src 192.168.2.6 192.168.2.7 192.168.2.10
acl unlimited src 192.168.2.100 192.168.2.101

delay_pools 2
delay_class 1 3
delay_class 2 3

delay_parameters 1 -1/-1 -1/-1 8500/9000
delay_parameters 2 -1/-1 -1/-1 17000/17500

delay_access 1 deny unlimited
delay_access 1 allow files clients-low

delay_access 2 deny unlimited
delay_access 2 allow files clients-big

It seems to me that there is something wrong with this setup because this
limits not only downloading of files with specified extensions, but instead
it limits everything, including browsing. I think this is related to the
statements in acl files url_regex but I'm not sure.

Alex Iruc

-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.
Received on Sun Jul 11 2004 - 16:21:39 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Aug 01 2004 - 12:00:01 MDT