0% found this document useful (0 votes)
223 views7 pages

How To Block A Streaming Video in Squid Proxy Server - TechwithGuru

The document discusses how to block streaming videos in a Squid proxy server. It describes editing the squid.conf file to add an ACL that denies requests with a flash mime type. It also provides commands to restart Squid and clear browser caches after making configuration changes. Additional related articles on Squid proxy configuration are listed at the bottom.

Uploaded by

Javier
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
223 views7 pages

How To Block A Streaming Video in Squid Proxy Server - TechwithGuru

The document discusses how to block streaming videos in a Squid proxy server. It describes editing the squid.conf file to add an ACL that denies requests with a flash mime type. It also provides commands to restart Squid and clear browser caches after making configuration changes. Additional related articles on Squid proxy configuration are listed at the bottom.

Uploaded by

Javier
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Menu

Thursday, Feb 20, 2020 


How to Block a Streaming Video in Squid
(http://www.techwithguru.com/)

Proxy Server
By Techwithguru (Http://Www.Techwithguru.Com/Author/Admin/)

— April 23, 2013 (Http://Www.Techwithguru.Com/2013/04/23/)


— Squid Proxy (Http://Www.Techwithguru.Com/Category/Linux/Squid-Proxy/)

HOME (HTTP://WWW.TECHWITHGURU.COM)  LINUX


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/)  SQUID PROXY
(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)  HOW TO BLOCK A
STREAMING VIDEO IN SQUID PROXY SERVER

How to Block a Streaming Video in


Squid Proxy Server
How to Block a Streaming Video in Squid …

$ su -
# vim /etc/squid/squid.conf

acl BLKStreamVideo rep_mime_type ^application/x-shockwave-flash


http_reply_access deny BLKStreamVideo
http_access deny all

:wq [Enter]

Restart the Squid Server

# /etc/init.d/squid restart

Then Remove the Browser cache, and reload the youtube video.

Installing Squid Proxy Server in CentOS ( http://tecexpertz.com/installing-squid-


proxy-server-in-centos/) :
Running Squid on Boot in Squid Proxy Server (http://tecexpertz.com/running-squid-
View Terminal History in Linux Linux – lspci command How to disable CTRL+
  on-boot-in-squid-proxy-server/) :(http://www.techwithguru.com/linux-
(http://www.techwithguru.com/view- keys under Ubuntu L  
terminal-history-in-linux/) lspci-command/) (http://www.techwit
Initializing Cache Directories in Squid Proxy Server (http://tecexpertz.com/initializing-
Menu cache-directories-in-squid-proxy-server/) :
Thursday, Feb 20, 2020 
Clean and Re-build Squid cache in Squid Proxy Server (http://tecexpertz.com/clean-
(http://www.techwithguru.com/)
and-re-build-squid-cache-in-squid-proxy-server/) :
Squid Proxy Server – Error : ‘visible_hostname’ ( http://tecexpertz.com/squid-proxy-
server-error-visible_hostname/) :
Squid Proxy Server – Custom Error Pages (http://tecexpertz.com/squid-proxy-server-
custom-error-pages) :
Squid Proxy Server – ACL Types (http://tecexpertz.com/squid-proxy-server-acl-
types) :
Squid Proxy Server – ACL : src, dst, myip (http://tecexpertz.com/squid-proxy-server-
acl-src-dst-myip) :
How to enable Internet Access to the Local Network in Squid Proxy Server
(http://tecexpertz.com/how-to-enable-internet-access-to-the-local-network-in-squid-
proxy-server) :
Squid Proxy Server – ACL : req_mime_type (http://tecexpertz.com/squid-proxy-
server-acl-req_mime_type) :
How to Block a Streaming Video in Squid Proxy Server (http://tecexpertz.com/how-
to-block-a-streaming-video-in-squid-proxy-server) :
Squid Proxy Server – ACL : dstdomain (http://tecexpertz.com/squid-proxy-server-acl-
dstdomain) :
Block any Domain Name in Squid Proxy Server (http://tecexpertz.com/block-any-
domain-name-in-squid-proxy-server) :
Di erence between url_regex, urlpath_regex and dstdom_regex
(http://tecexpertz.com/di erence-between-url_regex-urlpath_regex-and-
dstdom_regex) :
Squid content ltering from Squid Proxy Server (http://tecexpertz.com/squid-
content- ltering-from-squid-proxy-server) :
Block urls, keyword or le format on Squid proxy (http://tecexpertz.com/block-urls-
keyword-or- le-format-on-squid-proxy) :
Block Anonymous Proxy sites in SQUID (http://tecexpertz.com/block-anonymous-
proxy-sites-in-squid) :
Squid Proxy Server – Combining ACLs (AND/OR) (http://tecexpertz.com/squid-proxy-
server-combining-acls-andor) :
Squid Proxy Server – ACL : time (http://tecexpertz.com/squid-proxy-server-acl-time) :
Time Based restriction with Squid (http://tecexpertz.com/time-based-restriction-
with-squid) :
How to Limit download size in Squid ( http://tecexpertz.com/how-to-limit-download-
size-in-squid) :
How to Limit Upload size in Squid (http://tecexpertz.com/how-to-limit-upload-size-in-
squid) :
Max User IP In Squid Proxy Server (http://tecexpertz.com/maximum-connections-
and-max-user-ip-in-squid-proxy-server) :
Maximum Connections In Squid Proxy Server (http://tecexpertz.com/maximum-
connections-in-squid-proxy-server) :
How to block a Web Browser using Squid proxy (http://tecexpertz.com/how-to-block-
a-web-browser-using-squid-proxy) :
Redirect URL In Squid Proxy Server (http://tecexpertz.com/redirect-url-in-squid-
proxy-server) :

    
0 0 0 0 0

 (https://getsocial.io?utm_source=reaction_button)

Tagged : Block a Streaming Video (http://www.techwithguru.com/tag/block-a-streaming-video/) How to


Block a Streaming Video (http://www.techwithguru.com/tag/how-to-block-a-streaming-video/) Proxy
Server (http://www.techwithguru.com/tag/proxy-server/) Squid (http://www.techwithguru.com/tag/squid/)
Squid Proxy Server (http://www.techwithguru.com/tag/squid-proxy-server/) Streaming Video
(http://www.techwithguru.com/tag/streaming-video/)

View Terminal
Related History in Linux
Articles Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view- (http://www.techwithguru.com/linux- keys under Ubuntu L  
terminal-history-in-linux/) lspci-command/) (http://www.techwit
(http://www.techwithguru.com SQUID PROXY
(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
Menu
to-limit-upload-size-in-squid/)
Thursday, Feb 20, 2020 
How
(http://www.techwithguru.com/) to Limit Upload size in Squid
(http://www.techwithguru.com/how-to-limit-
upload-size-in-squid/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— April 23, 2013 (Http://Www.Techwithguru.Com/2013/04/23/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
proxy-server-custom-error-
pages/) Custom Error Pages in Squid Proxy Server
(http://www.techwithguru.com/squid-proxy-
server-custom-error-pages/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— April 23, 2013 (Http://Www.Techwithguru.Com/2013/04/23/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
to-limit-download-size-in-
squid/) How to Limit download size in Squid
(http://www.techwithguru.com/how-to-limit-
download-size-in-squid/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— April 23, 2013 (Http://Www.Techwithguru.Com/2013/04/23/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
proxy-server-acl-time/)
Squid Proxy Server: date and time based
restriction using ACL
(http://www.techwithguru.com/squid-proxy-
server-acl-time/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— April 23, 2013 (Http://Www.Techwithguru.Com/2013/04/23/)

(http://www.techwithguru.com SQUID PROXY


(HTTP://WWW.TECHWITHGURU.COM/CATEGORY/LINUX/SQUID-PROXY/)
squid-proxy-server-
windows/) Download Squid Proxy Server for the Windows
Platform
(http://www.techwithguru.com/download-
squid-proxy-server-windows/)
By Techwithguru
(Http://Www.Techwithguru.Com/Author/Admin/)
— April 23, 2013 (Http://Www.Techwithguru.Com/2013/04/23/)

Previous
How to enable Internet Access to the Local Network in Squid Proxy Server

(http://www.techwithguru.com/how-to-enable-internet-access-to-the-local-
network-in-squid-proxy-server/)
View Terminal History in Linux Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 
Menu Next Thursday, Feb 20, 2020 
(http://www.techwithguru.com/)
Block any Domain Name in Squid Proxy Server

(http://www.techwithguru.com/block-any-domain-name-in-squid-proxy-
server/)

ONE THOUGHT ON “HOW TO BLOCK A


STREAMING VIDEO IN SQUID PROXY SERVER”

Burton Haynes (http://www.howtomakemoney832.com)


June 8, 2013 at 5:38 am (http://www.techwithguru.com/how-to-block-a-streaming-video-in-squid-proxy-
server/#comment-184)

I just want to say I am new to blogs and really enjoyed your web page. More than
likely I’m planning to bookmark your blog post . You de nitely come with fabulous
article content. Many thanks for revealing your website.

REPLY

LEAVE A REPLY

Your email address will not be published. Required elds are marked *

COMMENT

NAME * EMAIL *

WEBSITE

Post Comment

View Terminal History in Linux Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 
Menu
Thursday, Feb 20, 2020 
(http://www.techwithguru.com/)

TechwithGuru

 (https://www.facebook.com/tecexpertz4u/)
 (https://twitter.com/techwithguru)


(https://ca.linkedin.com/company/techwithguru)


(https://www.youtube.com/c/techwithguru)

(http://www.te — 4 Jan 2020


terminal- View Terminal History in
history-in- Linux
(http://www.techwithguru.com/view-
linux/) 1
terminal-history-in-linux/)

(http://www.te — 3 Jan 2020


lspci- Linux – lspci command
command/) (http://www.techwithguru.com/linux-
lspci-command/)
2

(http://www.te — 2 Jan 2020


alt-delete- How to disable CTRL+ALT+DEL
ubuntu/) reboot keys under Ubuntu
Linux
3
(http://www.techwithguru.com/disable-
alt-delete-ubuntu/)

(http://www.te — 1 Jan 2020


to- nd-the- How To Find the Ubuntu
ubuntu- Version
(http://www.techwithguru.com/how-
version/) 4 to-find-the-ubuntu-
version/)

Recent Comments

Siu Cuthbert
(http://downloadzapk les.blogspot.com/) on
Custom Error Pages in Squid Proxy Server
(http://www.techwithguru.com/squid-proxy-
server-custom-error-pages/#comment-161)
ABOUT
Junior Brody
(http://downloadzapk les.blogspot.com/) on
TechwithGuru,
Custom Is a Computer
Error Pages Technology
in Squid Proxy Server related web portal that provides the latest and
industry speci c information to the viewers. Most of the important categories covered are
(http://www.techwithguru.com/squid-proxy-
View Terminal History
Networking, in Linux
Hardware, Linux
Software, Open Source, – lspci
Linux, Webcommand
development, Programming, OS How to disable CTRL+
etc.
server-custom-error-pages/#comment-160)
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 
Armanda Dudden
Top Stories: Mobile
(http://zblackmartandroid.blogspot.com/) on
Menu
Custom Error Pages in Squid Proxy Server Thursday, Feb 20, 2020 
(http://www.techwithguru.com/)
(http://www.techwithguru.com/squid-proxy-
(http://www.techwithguru.com/ — 1 Apr 2019
server-custom-error-pages/#comment-159)
reset-samsung-galaxy-s- How To Factory/Master Reset Samsung Galaxy S device
device/) (http://www.techwithguru.com/factory-reset-samsung-
galaxy-s-device/)
1

(http://www.techwithguru.com/ — 31 Mar 2019

reset-samsung-galaxy-device/) How to Hard Reset Samsung Galaxy S devices


(http://www.techwithguru.com/hard-reset-samsung-
galaxy-device/)
2

(http://www.techwithguru.com/ — 30 Mar 2019

cache-partition-samsung- How to Wipe cache partition in Samsung Galaxy S devices


galaxy/) (http://www.techwithguru.com/wipe-cache-partition-
samsung-galaxy/)
3

(http://www.techwithguru.com/ — 29 Mar 2019


iphone-origin/) How to Find iPhone’s Origin?
(http://www.techwithguru.com/find-iphone-origin/)
4

Top Stories: Linux

(http://www.techwithguru.com/ — 4 Jan 2020


terminal-history-in-linux/) View Terminal History in Linux
(http://www.techwithguru.com/view-terminal-history-in-
linux/)
1

(http://www.techwithguru.com/ — 3 Jan 2020


lspci-command/) Linux – lspci command
(http://www.techwithguru.com/linux-lspci-command/)
2

(http://www.techwithguru.com/ — 2 Jan 2020


alt-delete-ubuntu/) How to disable CTRL+ALT+DEL reboot keys under Ubuntu Linux
(http://www.techwithguru.com/disable-alt-delete-ubuntu/)
3

(http://www.techwithguru.com/ — 1 Jan 2020


to- nd-the-ubuntu-version/) How To Find the Ubuntu Version
(http://www.techwithguru.com/how-to-find-the-ubuntu-
version/)
4

Search … Search

Social Profile’s

 (https://www.facebook.com/techwithguru/)  (https://twitter.com/techwithguru)

 (https://ca.linkedin.com/company/techwithguru)

 (https://www.youtube.com/c/techwithguru)

View Terminal History in Linux Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 
Copyright All right reserved : by TechwithGuru (http://techwithguru.com/)
Menu Home (http://www.techwithguru.com/home/)
Thursday, Feb 20, 2020 
(http://www.techwithguru.com/) Contact Us (http://www.techwithguru.com/contact-us/)
About Us (http://www.techwithguru.com/about-us/) Blog (http://www.techwithguru.com/blog/)

View Terminal History in Linux Linux – lspci command How to disable CTRL+
  (http://www.techwithguru.com/view-
terminal-history-in-linux/)
(http://www.techwithguru.com/linux-
lspci-command/)
keys under Ubuntu L
(http://www.techwit
 

You might also like