Re: Delay Pools

From: David Luyer <luyer@dont-contact.us>
Date: Fri, 04 Sep 1998 13:09:52 +0800

Stefan wrote:

> is it possible to add the functionality of my mime intercept patch
> (http://squid.nlanr.net/Squid/1.1/patches.html) to delay pools? The patch
> allows bandwidth limiting based on mime type and is doing great work here
> in preventing people from listening to real audio the whole day ;-)

I expect this might work (assuming aclCheckFast() handles url_regex
acl's);

acl realaudio url_regex \.ra$
acl theboss src 10.11.12.13/255.255.255.255
delay_class1_access allow realaudio !theboss
delay_class1_aggregate_restore 123
delay_class1_aggregate_max 4321

Or something like that.

You could also look at class2/class3 and see if they suit your situation
(ie, limit individual realaudio clients as well as the aggregate).

David.
Received on Thu Sep 03 1998 - 22:11:12 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:52 MST