Re: [squid-users] ## Problem with delay pools ##

From: Mike Kiernan <mkiernan@dont-contact.us>
Date: Fri, 31 Aug 2001 16:51:42 +0200

You don't really say what the problem is
with your delaypools, but I'll have a go:

What you've got looks correct, but
one thing that stands out is that
you've got 'allow network_1' for every one
of your pools - presumably you meant
to have each network 1,2,3 and each ftypes
regex group in each pool 1,2,3 ?
A regex can only fall into one delaypool.

I could be wrong but it looks like what
you want is:

delay class 1 2
delay_parameters 5000/150000 5000/120000
delay_access 1 allow network_1
delay_access 1 allow network_1_ftypes

delay class 1 2
delay_parameters 5000/150000 5000/120000
delay_access 1 allow network_2
delay_access 1 allow network_2_ftypes

and so on

sorry if I've misinterpreted...

cheers,
Mike

>
> Hi everybody. Well i'm very new to squid but i have finished installing
> and configuring
> a Squid server with delay pools that is working with my transperant
> proxy configuration.
>
> But i have a problem with more then one pool. I have 3 networks that i
> whant to limit.
>
> This is my configuration (Of course it could be wrong) :
> As i am not familiar with delay pools.
>
> acl network_1 url_regex -i 10.100.0
> acl network_2 url_regex -i 10.100.2
> acl network_3 url_regex -i 10.100.4
>
> acl network_1_ftypes url_regex -i ftp .mp3 .avi .mpg .mpeg .iso .mov
> .ram ... and so on
> acl network_2_ftypes url_regex -i ftp .mp3 .avi .mpg .mpeg .iso .mov
> .ram ... and so on but diffrent.
> acl network_3_ftypes url_regex -i ftp .mp3 .avi .mpg .mpeg .iso .mov
> .ram ... and so on but diffrent.
>
> delay_pools 3
>
> # ==== 1 ====
> delay_class 1 2
> delay_parameters 5000/150000 5000/120000
> delay_access 1 allow network_1
> # ==== 1 ====
>
> # ==== 2 ====
> delay_class 2 2
> delay_parameters 5000/150000 5000/120000
> delay_access 1 allow network_1
> # ==== 2 ====
>
> # ==== 3 ====
> delay_class 3 2
> delay_parameters 5000/150000 5000/120000
> delay_access 1 allow network_1
> # ==== 3 ====
>
> Is this incorrect or what? any suggestions appreciated.
>

-- 
Michael Kiernan
Onet.pl S.A.
Krakow, Poland
http://www.onet.pl/
Received on Fri Aug 31 2001 - 08:51:20 MDT

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