Search squid archive

youtube regex not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(think I posted this in the wrong forum last week, apologies)

I've tried all sorts and can't get delay pools working for youtube's HD
resolutions of 720 and 1080p. 

Below is a config snippet I've been using which should block all streamed
media.  This works for bbc.co.uk but not for youtube.com 

If you remove the files in between the \/\/\/\ comments it will slow down
all low res streams from youtube but not the HD ones.  I put the \/\/\/\
section in to test the mime types were working but the're clearly not even
though fiddler is showing the header for the files as video/mp4. 

Any ideas from anyone would be great.  I have to get streaming and delay
pools working within a few weeks time.? 
EDIT:  I'm using Squid version 2.HEAD20110824

# ACL for Radio / Video Stream
----------------------------------------------- 
acl StreamingRequest req_mime_type -i ^video/x-ms-asf$ 
acl StreamingRequest req_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$ 
acl StreamingRequest req_mime_type -i ^application/x-mms-framed$ 
acl StreamingRequest req_mime_type -i ^audio/x-pn-realaudio$ 
acl StreamingRequest req_mime_type -i ^video/x-flv$ 
acl StreamingRequest req_mime_type -i ^video/mp4$ 
acl StreamingReply rep_mime_type -i ^video/x-ms-asf$ 
acl StreamingReply rep_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$ 
acl StreamingReply rep_mime_type -i ^application/x-mms-framed$ 
acl StreamingReply rep_mime_type -i ^audio/x-pn-realaudio$ 
acl StreamingReply1 req_mime_type -i ^video/mp4$ 

acl deny_rep_mime_flashvideo rep_mime_type -i video/flv 
acl deny_rep_mime_shockwave rep_mime_type -i ^application/x-shockwave-flash$ 

#/\/\/\/\/\/\/\/\ 
http_access deny streamingReply 
http_access deny streamingReply1 
http_access deny streamingRequest 
http_reply_access deny deny_rep_mime_flashvideo 
http_reply_access deny deny_rep_mime_shockwave 
#/\/\/\/\/\/\/\/\ 

# Rules to block Radio / Video Stream
---------------------------------------- 

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/youtube-regex-not-working-tp4579767p4579767.html
Sent from the Squid - Users mailing list archive at Nabble.com.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux