[squid-users] Delay Pools configuration

From: Rob Asher <rasher@dont-contact.us>
Date: Fri, 09 May 2008 09:45:18 -0500

I have a question about my delay pools config on squid2.6.STABLE13 The setup below works as expected for the delay classes 2 thru 5 but class 1 is never used. What I'm wanting is a way to have exceptions for certain destinations but I'd also like to have a limit on them as well. As it works now, the exceptions are not limited and in delay pool 0. Any ideas are appreciated.

################################################################################
# Delay Pools Config
################################################################################
# network bandwidth controls
acl nat src 10.56.22.0/255.255.254.0
acl pub1 src 170.211.125.0/255.255.255.128
acl pub2 src 165.29.119.128/255.255.255.128
acl webmail dst 170.211.125.120/32
acl exceptions dst "/etc/squid/exceptions.list"

# School hours are Monday - Friday 8AM to 3:15PM. Allow first hour more bandwidth
# for checking email, downloads, etc. After hours allow 3.0 Mbit/s with no individual limit.
acl school_hours time MTWHF 09:00-15:15

delay_pools 5

delay_class 1 2 #- NEVER USED?
# Don't delay local webmail traffic or other exceptions.
delay_parameters 1 -1/-1 320000/320000
delay_access 1 allow webmail exceptions school_hours
delay_access 1 deny all

delay_class 2 3
# NAT range - 10.56.22.0 thru 10.56.23.254
delay_parameters 2 384000/384000 162000/162000 48000/162000
delay_access 2 allow nat !webmail !exceptions school_hours
delay_access 2 deny all

delay_class 3 2
# public range 1 - 170.211.125.0 thru 170.211.125.127
delay_parameters 3 160000/384000 48000/384000
delay_access 3 allow pub1 !webmail !exceptions school_hours
delay_access 3 deny all

delay_class 4 2
# public range 2 - 165.29.119.128 thru 165.29.119.254
delay_parameters 4 160000/384000 48000/384000
delay_access 4 allow pub2 !webmail !exceptions school_hours
delay_access 4 deny all

delay_class 5 2
# wide open after hours.....almost!
delay_parameters 5 384000/384000 384000/384000
delay_access 5 allow all !school_hours
delay_access 5 deny all

delay_initial_bucket_level 75

################################################################################

-------------------------------------
Rob Asher
Network Systems Technician
Paragould School District
(870)236-7744 Ext. 169
Received on Fri May 09 2008 - 14:45:56 MDT

This archive was generated by hypermail 2.2.0 : Tue May 13 2008 - 12:00:03 MDT