Hement Gopal wrote:
Hi all
I've compiled Squid 2.5 STABLE 5 with delay pools on and would like
throttle all media downloads (eg mpeg, avi, mp3 etc)...during office hours.
Can some tell me what lines to include in my squid.conf?
Hi Hement
acl workdays time M T W H F A 07:00-19:30
#http_access allow staff workdays
http_access allow staff
#Delay Pools
#acl ipaddress url_regex -i 192.168
acl ipaddress src "/etc/SQUID/staff.txt"
acl type url_regex -i ftp .exe .com .mp3 .vqf .gz .rpm .rar .zip .avi .mpeg .msi .mpg .mpe .qt .ram .rm .raw .wav .mov .pdf .doc .xls .wma .pps .ppt .swf
delay_pools 2
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow ipaddress
delay_class 2 2
delay_parameters 2 5000/150000 5000/120000
delay_access 2 allow workdays
delay_access 2 deny !workdays
delay_access 2 allow type
HTH
Kind Regards
Brent Clark