Hi
Got an issue with my delay pools. My specs are 2.6.18-1ubuntu3 on Ubuntu
8.04.
Somehow the group lan-unknown seem to keep hogging all the bandwidth.
How do I keep them firmly inside their allocated delay pool?
acl lan-servers dst 172.20.0.0/24 # Servers
acl lan-unknown dst 172.20.1.0/24 # Unknown
acl lan-known1 dst 172.20.2.0/24 # Knowns
acl lan-known2 dst 172.20.3.0/24 # Knowns
acl lan-staff dst 172.20.5.0/24 # Staff desktops
acl lan-cc-admins dst 172.20.4.1-172.20.4.20 # CC admins
acl lan-cc-labs dst 172.20.4.21-172.20.4.254 # AH101 and AH102
http_access deny lan-cc-labs
deny_info ERR_TMP lan-cc-labs
acl local_dest dst 172.20.0.0/21
acl html_pages url_regex -i .html .htm .css .gif .jpe .jpeg .jpg .png .pdf
acl text_pages rep_mime_type -i ^text/ ^image/ ^application/pdf$
^application/xml$
#acl slow-downloads rep_mime_type -i ^video/ ^application/x-
^application/zip ^application/octet-stream
acl hires dstdomain "/etc/squid/hires.dat"
acl hogs dst 172.20.1.167/32 172.20.1.103/32 172.20.1.182/32 172.20.1.88
delay_pools 6
delay_initial_bucket_level 95
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 deny lan-unknown
delay_access 1 deny hires
delay_access 1 deny hogs
delay_access 1 allow local_dest
delay_access 1 allow html_pages !hogs
delay_access 1 allow html_pages !lan-unknown
delay_access 1 allow text_pages !hogs
delay_access 1 allow text_pages !lan-unknown
delay_access 1 allow lan-servers !hogs
delay_access 1 allow lan-servers !lan-unknown
delay_access 1 deny all
delay_class 2 2
delay_parameters 2 1500/1500 200/400
delay_access 2 deny hogs
delay_access 2 allow lan-unknown
delay_access 2 deny hires
delay_access 2 deny local_dest
delay_access 2 deny html_pages
delay_access 2 deny text_pages
delay_access 2 deny all
# HOGS
delay_class 3 2
delay_parameters 3 800/800 200/300
delay_access 3 allow hogs
delay_access 3 allow hires
delay_access 3 deny all
delay_class 4 2
delay_parameters 4 60000/60000 30000/30000 5000/8000
delay_access 4 deny lan-unknown
delay_access 4 deny hogs
delay_access 4 deny hires
delay_access 4 deny local_dest
delay_access 4 deny html_pages
delay_access 4 deny text_pages
delay_access 4 allow lan-known1
delay_access 4 allow lan-known2
delay_access 4 deny all
delay_class 5 2
delay_parameters 5 47000/47000 3000/5000
delay_access 5 deny lan-unknown
delay_access 5 deny hogs
delay_access 5 deny hires
delay_access 5 deny local_dest
delay_access 5 deny html_pages
delay_access 5 deny text_pages
delay_access 5 allow lan-staff
delay_access 5 deny all
delay_class 6 2
delay_parameters 6 8000/8000 3000/4000
delay_access 6 deny lan-unknown
delay_access 6 deny hogs
delay_access 6 deny hires
delay_access 6 deny local_dest
delay_access 6 deny html_pages
delay_access 6 deny text_pages
delay_access 6 allow lan-cc-admins
delay_access 6 deny all
Best regards
Dayo
Received on Sun Mar 13 2011 - 07:51:52 MDT
This archive was generated by hypermail 2.2.0 : Sun Mar 13 2011 - 12:00:02 MDT