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

From: zulkarnain <sizulku@dont-contact.us>
Date: Wed, 29 Jan 2003 02:31:04 -0800 (PST)

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
Received on Wed Jan 29 2003 - 03:31:14 MST

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