Re: [squid-users] delay_pools configuration Unable to unlimited the local traffic

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 29 Jan 2003 18:36:16 +0100

What is the exact purpose of your "no_limit" acl? Which requests should
it match? As defined this acl matches requests having the following
sequence of characters anywhere in the URL:

  1 9 2 [any characer] 1 6 8 [any character] 1

Regards
Henrik

ons 2003-01-29 klockan 11.31 skrev zulkarnain:
> Hi,
>
> I am trying to configure delay_pools to limit traffic
> for the groups (admin & student) to the internet but
> unlimited for our LAN traffic. My squid.conf as shown
> bellow.
>
> # ---- custom acl
> acl no_limit url_regex -i 192.168.1
> acl admin_site src 192.168.1.16/255.255.255.240
> acl student_site src 192.168.1.192/255.255.255.224
>
> # ---- subnet that will not be cached
> acl weblocal dst 192.168.1.16/28
> no_cache deny weblocal
>
>
> # ---- begin delay_pool
> delay_pools 3
>
> delay_class 1 2
> delay_class 2 2
> delay_class 3 2
>
> delay_access 1 allow student
> delay_access 1 deny all
> delay_access 2 allow admin
> delay_access 2 deny all
> delay_access 3 allow no_limit
> delay_access 3 deny all
>
> # student group
> delay_parameters 1 48000/48000 1250/3000
>
> # admin group
> delay_parameters 2 48000/48000 3000/6000
>
> # no limits for local traffic
> delay_parameters 3 -1/-1 -1/-1
>
>
> When trying to download a big file on admin_site
> (http://192.168.1.19/bigfile.exe) from a PC that
> belong to the student group (192.168.1.194), I got
> 10kbps or below. Without using delay_pools I got
> 270kbps.
>
> Did I miss something? Would you please point me to
> the correct direction? Any help would be great.
>
> Best regards,
> zul
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com

-- 
Henrik Nordstrom <hno@squid-cache.org>
MARA Systems AB, Sweden
Received on Wed Jan 29 2003 - 10:36:26 MST

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