* On 06/10/05 17:01 +0200, Hement Gopal wrote:
> Hi all
>
> Squid 2.5 Stable 5
>
> Being trying to get this working most of today but not much luck.
>
> All i want to acheive is to limit the downloads of certain file types
> (mpeg, avi etc) for my entire class b network.
>
> Can anyone assist?
>
> Rgds,
> Hement
Brent Clark already responded to you on this very question today!!!
I quote what he wrote:
<quote>
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
</quote>
What problem did you experience when you tested those?
-Wash
http://www.netmeister.org/news/learn2quote.html
-- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <wash@wananchi.com> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Lewis's Law of Travel: The first piece of luggage out of the chute doesn't belong to anyone, ever.Received on Thu Oct 06 2005 - 10:34:54 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST