Group: comp.os.linux.networking
From: "Simon Smith"
Date: Friday, March 07, 2008 5:51 AM
Subject: Re: squid



I've been trying to tweak the delay pools to slow access, but I'm having
problems,

I thought it was just a case of defining an ACL and then assigning it to a
delay pool.

are the ACL's for the delay pools applied in order?, if it doesnt match the
first then it will try the second ?

this is what I have in squid.conf

delay_pools 2
delay_class 1 2
delay_class 2 2

delay_parameters 1 -1/-1 4096000/128000
delay_parameters 2 4/4 -1/-1




delay_access 1 allow ClientNet !YM_port !streaming-radio !streaming !youtube
!microsoftupdate !iplayer
delay_access 2 allow ClientNet youtube microsoftupdate iplayer

These are the ACL's

acl ClientNet src 10.0.0.50-10.0.0.149
acl YM_port port 5050
acl streaming-radio dstdomain players.heart.co.uk
acl streaming url_regex -i magicplayer.asp
acl youtube dstdomain youtube.com
acl microsoftupdate dstdomain update.microsoft.com
acl iplayer url_regex -i .swf


Everyone seems to be throttled back to a 128k connection, this varified with
just about any speedtest website tested with.

but I would have though that any download with a swf file would be so
painfully slow its unusable, but it isnt its just as fast as anything else.

The object is the slow so much as to make it unusable for bbc's new iplayer
service.



Safety Articles | Usenet Groups | Usenet News | Bluegrass