Step by Step Configuration Squid to Block Streaming Media Online _ Linux Step by Step

November 14, 2016 | Author: Arun Vijay | Category: N/A
Share Embed Donate


Short Description

Blocking Video Streaming using squid....

Description

11/14/2014

Step By Step Configuration Squid To block Streaming media Online | Linux Step By Step

Linux Step By Step Step By Step Configuration Squid To block Streaming media Online Config File squid configuration in /etc/squid/squid.conf Edit File in squid.conf above line in ACL Zone. ################## ACL for Radio / Video Stream ########################### acl StreamingRequest1 req_mime_type -i ^video/x-ms-asf$ acl StreamingRequest2 req_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$ acl StreamingRequest3 req_mime_type -i ^application/x-mms-framed$ acl StreamingRequest4 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 File in squid.conf above line in http_access Zone. #################### Rules to block Radio / Video Stream ################# http_access deny StreamingRequest1 all http_access deny StreamingRequest2 all http_access deny StreamingRequest3 all http_access deny StreamingRequest4 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 #################### Rules to block Radio / Video Stream ################# Like Be the first to like this.

Comments (7)

7 Comments » 1. This works for me…. but how can i block it for some sites and allow for others…

http://linuxstep.wordpress.com/step-by-step-configuration-squid-to-block-streaming-media-online/

1/4

11/14/2014

Step By Step Configuration Squid To block Streaming media Online | Linux Step By Step

Comment by Rahul — January 13, 2009 @ 9:43 am | Reply 2. i want to configure squid server pls help me how can i install squid step by step Comment by ratibhan — April 24, 2009 @ 4:12 am | Reply 3. Using Squid Proxy to Block Multimedia Streaming Often multimedia streaming is not good for the office environment. It will dry out the bandwidth of our network, thus slows it down. We can block the multimedia streaming using squid filter. Below is the example of how I did it using squid: Testing squid.conf system Ok working In the /etc/squid/squid.conf : # streaming download acl fails rep_mime_type ^.*mms.* acl fails rep_mime_type ^.*ms-hdr.* acl fails rep_mime_type ^.*x-fcs.* acl fails rep_mime_type ^.*x-ms-asf.* acl fails2 urlpath_regex dvrplayer mediastream mms:// acl fails2 urlpath_regex \.asf$ \.afx$ \.flv$ \.swf$ acl deny_rep_mime_flashvideo rep_mime_type -i video/flv acl deny_rep_mime_shockwave rep_mime_type -i ^application/x-shockwave-flash$ acl x-type req_mime_type -i ^application/octet-stream$ acl x-type req_mime_type -i application/octet-stream acl x-type req_mime_type -i ^application/x-mplayer2$ acl x-type req_mime_type -i application/x-mplayer2 acl x-type req_mime_type -i ^application/x-oleobject$ acl x-type req_mime_type -i application/x-oleobject acl x-type req_mime_type -i application/x-pncmd acl x-type req_mime_type -i ^video/x-ms-asf$ acl x-type2 rep_mime_type -i ^application/octet-stream$ acl x-type2 rep_mime_type -i application/octet-stream acl x-type2 rep_mime_type -i ^application/x-mplayer2$ acl x-type2 rep_mime_type -i application/x-mplayer2 acl x-type2 rep_mime_type -i ^application/x-oleobject$ acl x-type2 rep_mime_type -i application/x-oleobject acl x-type2 rep_mime_type -i application/x-pncmd acl x-type2 rep_mime_type -i ^video/x-ms-asf$ http_reply_access deny deny_rep_mime_flashvideo http://linuxstep.wordpress.com/step-by-step-configuration-squid-to-block-streaming-media-online/

2/4

11/14/2014

Step By Step Configuration Squid To block Streaming media Online | Linux Step By Step

http_reply_access deny deny_rep_mime_shockwave #streaming files http_access deny fails http_reply_access deny fails http_access deny fails2 http_reply_access deny fails2 http_access deny x-type http_reply_access deny x-type http_access deny x-type2 http_reply_access deny x-type2

Follow

Follow “Linux Step By And of course, you have to force your usersStep” to use your squid proxy server. Get every new post delivered to your Inbox.

Comment by hasan — July 25, 2009 @ 11:05 am | Reply

Enter your email address

4. Configuratio

Sign me up

Comment by Joshan — May 12, 2010 @ 5:04 Reply Buildam a w |ebsite w ith WordPress.com 5. Excellent…. Good job .. you save my time Comment by Sunimal — May 31, 2010 @ 5:58 am | Reply 6. Thank u very much, I works for me !!! Comment by Sudip — August 5, 2010 @ 5:13 am | Reply 7. Does anyone know how to block Proxy bypass soft-wares like UltraSurf ???? Comment by Sudip — August 5, 2010 @ 5:14 am | Reply

RSS feed for comments on this post. TrackBack URI

http://linuxstep.wordpress.com/step-by-step-configuration-squid-to-block-streaming-media-online/

3/4

11/14/2014

Step By Step Configuration Squid To block Streaming media Online | Linux Step By Step

Leave a Reply Enter your comment here...

Archives Select Month

Menu Today Step By Step Config RAID For Redhat Enterprise Step By Step Configuration Squid To block Streaming media Online Step By Step how to Recovery password for root Step By Step install CTorrent & CTorrent Control Server Step By Step Install Horde On CentOS Linux Step By Step Install Horde On Redhat linux Step By Step install Mailscanner Solution Step By Step Install Oracle 10g R1,R2 On Linux Redhat Exterprise Step By Step install Postfix + OpenLDAP + Dovecot + Jamm + SASL + SquirrelMail

Blogroll รั บเหมาก อสร าง cheap black berry Cheap ralph Lauren Wii games Blog at WordPress.com. Blog at WordPress.com. Search

Categories 1

Linux Step Horde horde install horde install centos horde install linux

The Rubric Theme. Blog at WordPress.com.

http://linuxstep.wordpress.com/step-by-step-configuration-squid-to-block-streaming-media-online/

4/4

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF