[squid-users] Bandwidth control with delay pool

FredB fredbmail at free.fr
Tue Mar 15 17:33:21 UTC 2016


You can easily make this with an acl, delay_pool is a very powerful tool 

eg:

Bandwidth 64k for each users with an identification except for acl BP and only in time included in acl desk 

acl my_ldap_auth proxy_auth REQUIRED 
acl bp dstdom_regex "/etc/squid/limit"

acl desk time 09:00-12:00
acl desk time 13:30-16:00

delay_pools 1
delay_class 1 4
delay_access 1 allow my_ldap_auth desk !bp
delay_parameters 1 -1/-1 -1/-1 -1/-1 64000/64000

Be careful, a recent version is needed (squid 3.5) to avoid some bugs with https

Fred


More information about the squid-users mailing list