squid video blocking is confusing me?


Recommended Posts

hello! so squid video blocking is confusing me, it appears to work and then for some reason I can play the exact video that was just blocked... and it does not come up in the access logs? so it is really confusing me, I have no other networks on the test device. I know there appears to be a double in seperate ACLs but thats for different actions and error pages...would it cause squid to become confused? its like this because I have a standard hard coded (second paragraph) and an extra db controlled file extensions

 

\.exe(\?.*)?$
\.mp4(\?.*)?$
\.mp3(\?.*)?$
\.torrent(\?.*)?$
\.mpg(\?.*)?$
\.avi(\?.*)?$
\.mpeg(\?.*)?$
\.zip(\?.*)?$
\.tar(\?.*)?$
\.iso(\?.*)?$
 
acl media rep_mime_type video/flv video/x-flv
acl media rep_mime_type -i ^video/
acl media rep_mime_type -i ^video\/
acl media rep_mime_type ^application/x-shockwave-flash
acl media rep_mime_type ^application/vnd.ms.wms-hdr.asfv1
acl media rep_mime_type ^application/x-fcs
acl media rep_mime_type ^application/x-mms-framed
acl media rep_mime_type ^video/x-ms-asf
acl media rep_mime_type ^audio/mpeg
acl media rep_mime_type ^audio/x-scpls
acl media rep_mime_type ^video/x-flv
acl media rep_mime_type ^video/mpeg4
acl media rep_mime_type ms-hdr
acl media rep_mime_type x-fcs
acl mediapr urlpath_regex \.flv(\?.*)?$
acl mediapr urlpath_regex -i \.(avi|mp4|mov|m4v|mkv|flv)(\?.*)?$
acl mediapr urlpath_regex -i \.(mpg|mpeg|avi|mov|flv|wmv|mkv|rmvb)(\?.*)?$
 
Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.