Dear Arpit,
 
Try this blw rules it sud work.
 
# ACL for Radio / Video Stream
 
acl Streaming1 req_mime_type -i ^video/x-ms-asf$
acl Streaming2 req_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$
acl Streaming3 req_mime_type -i ^application/x-mms-framed$
acl Streaming4 req_mime_type -i ^audio/x-pn-realaudio$

acl StreamingReply1 rep_mime_type -i ^video/x-ms-asf$
acl StreamingReply2 rep_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$
acl StreamingReply3 rep_mime_type -i ^application/x-mms-framed$
acl StreamingReply4 rep_mime_type -i ^audio/x-pn-realaudio$

#ACL for Radio / Video Stream #
Edit above line in http_access Zone.

#Rules to block Radio / Video Stream

http_access deny Streaming1 all
http_access deny Streaming2 all
http_access deny Streaming3 all
http_access deny Streaming4 all
http_reply_access deny StreamingReply1 all
http_reply_access deny StreamingReply2 all
http_reply_access deny StreamingReply3 all
http_reply_access deny StreamingReply4 all


 



 
with warm regards 
 Jagannath

--- On Mon, 1/12/08, senty_dil <[EMAIL PROTECTED]> wrote:

From: senty_dil <[EMAIL PROTECTED]>
Subject: [LinuxVadaPav] Re: blocking squid streaming
To: linuxvadapav@yahoogroups.com
Date: Monday, 1 December, 2008, 5:01 PM






i want to block audio and vedio streaming in my squid..

currently i am using this

acl streaming req_mime_type -i ^video/x-ms- asf$
acl streaming req_mime_type -i ^application/ vnd.ms.wms- hrd.asfv1$
acl streaming req_mime_type -i ^applicaton/ x-mms-framed$
acl streaming req_mime_type -i ^audio/x-pn- realaudio$
acl streaming req_mime_type -i ^application/ octet-stream$
acl streaming req_mime_type -i application/ octet-stream
acl streaming req_mime_type -i ^application/ x-mplayer2$
acl streaming req_mime_type -i application/ x-mplayer2
acl streaming req_mime_type -i ^application/ x-oleobject$
acl streaming req_mime_type -i application/ x-oleobject
acl streaming req_mime_type -i application/ x-pncmd
acl streaming req_mime_type -i ^video/x-ms- asf$
acl reply rep_mime_type -i ^video/x-ms- asf$
acl reply rep_mime_type -i ^application/ vnd.ms.wms- hrd.asfv1$
acl reply rep_mime_type -i ^applicaton/ x-mms-framed$
acl reply rep_mime_type -i ^audio/x-pn- realaudio$
acl reply rep_mime_type -i ^application/ octet-stream$
acl reply rep_mime_type -i application/ octet-stream
acl reply rep_mime_type -i ^application/ x-mplayer2$
acl reply rep_mime_type -i application/ x-mplayer2
acl reply rep_mime_type -i ^application/ x-oleobject$
acl reply rep_mime_type -i application/ x-oleobject
acl reply rep_mime_type -i application/ x-pncmd
acl reply rep_mime_type -i ^video/x-ms- asf$
acl block urlpath_regex -i
\.(mp3|avi|mpg| mpeg|asf| wmv|ra|rm| ram|asx|afx| divx|m3u| viv|vivo| vo|flv)$

http_access deny streaming all
http_access deny reply all
http_access deny block

http_reply_access deny streaming all
http_reply_access deny reply all

but nothing happens... users are able to view movies and listen songs...

please help me through it........

 














      Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[Non-text portions of this message have been removed]

Reply via email to