Re: [squid-users] delay pools not working:(

From: Adam <adam-s@dont-contact.us>
Date: Fri, 18 Apr 2003 12:56:36 -0700

From: "babar haq" <babarhaq@email.com>
> acl office 192.168.0.0/24

Where is the "office" acl used below or at all? Was it supposed to be
"comcept?"

> acl notwebpages url_regex -i ftp .exe .mp3 .vqf .tar.gz .gz .rpm .zip .rar
.avi .mpeg .mp .ram .rm .iso .raw .wav .mov

My line is similar but I have a \ in front of the period to escape the
period and a $ to match end-of-line so docs/winzip.html isn't matched by
mistake (e.g. \.zip$). Not your issue but just so you know.

> acl day time 0900-17:00
> delay_pools 2
>
> delay_class 1 2
> delay_parameters 1 -1/-1 2000/2000
> delay_access 1 allow office notweppages day

Is the double p (pp) in "notweppages" a typo or did you cut and paste? If
so it will never match the "acl notwebpages url_regex" above.

> delay_class 2 2
> delay_parameters 2 -1/-1 -1/-1

I see a lot of people using -1/-1 but since you know the maximum size of
your pipe I wonder why you and others don't specify it since that way squid
can make sure not to go over that (I concluded that that was the purpose of
having this aggregate's field in the first place but I've been wrong
before).

> delay_access 1 allow comcept

This is never used in these examples (i.e I saw no acl for it) so what is it
supposed to stand for?

Other than the typo, none of the above probably addresses your problem. One
thing I did differently is I also have a "delay_access 1 deny all" and the
same for pool 2. Also I assume you have some http_access lines somewhere,
right? I put one for each delay pool. If you have a generic one for your
whole network then that may be allowing users to go "around" the delay_pool
if there is no match - but I am not an expert.

hope some of this helped,

Adam
Received on Fri Apr 18 2003 - 13:56:41 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:02 MST