Community discussions

MUM Europe 2020
 
Latif123
just joined
Topic Author
Posts: 16
Joined: Fri Nov 09, 2012 12:24 pm

How to block streaming ( video) in webproxy

Mon Nov 12, 2012 1:40 pm

Dear I want to know , how to block streaming ( videos) in mikrotik Router OS 5.18. I have configured Webproxy and running successfully . Now I want to block streaming in webproxy instead of blocking website. please help me
 
deejayq
Member Candidate
Member Candidate
Posts: 195
Joined: Wed Feb 23, 2011 8:33 am

Re: How to block streaming ( video) in webproxy

Mon Nov 12, 2012 1:53 pm

block .flv .f4v and .mp4 maybe
 
kurtkraut
Frequent Visitor
Frequent Visitor
Posts: 73
Joined: Wed Feb 15, 2012 2:55 am

Re: How to block streaming ( video) in webproxy

Mon Nov 12, 2012 4:14 pm

Live streaming is done through the RTMP protocol. The default port is 1935 but many websites uses 80 and 443 as an attempt to pass through firewalls. In that case, you will need to use Layer 7 blocks in RouterOS.
 
Latif123
just joined
Topic Author
Posts: 16
Joined: Fri Nov 09, 2012 12:24 pm

Re: How to block streaming ( video) in webproxy

Tue Nov 13, 2012 10:55 am

Dear kurtkraut


would you please tell me how to use layer 7 for blocking live streaming or Embedded videos
 
deejayq
Member Candidate
Member Candidate
Posts: 195
Joined: Wed Feb 23, 2011 8:33 am

Re: How to block streaming ( video) in webproxy

Wed Nov 14, 2012 3:57 pm

found this on the internet
# Adobe Real Time Messaging Protocol(RTMP). By Jonathan A.P. Marpaung
# Pattern attributes: works very fast
# Protocol Groups: streaming_video streaming_audio
# The RTMP Specification is availabe at 
# http://www.adobe.com/devnet/rtmp/pdf/rtmp_specification_1.0.pdf [^]
#
# First 12 bytes, starting at \x03 are the RTMP header. Next 25 bytes,
# starting at \x02, are part of the RTMP body which is an AMF Object.
# The first string "connect" is a command of the NetConnection class object.
# The next string "app" is a Command Object which is followed by values
# such as "video", . 
rtmp
^\x03.+\x14.+\x02.+\x07.(connect)?.+(app)?
add a new pattern in ip->firewall->layer7 protocols
name:rtmp
regexp:^\x03.+\x14.+\x02.+\x07.(connect)?.+(app)?
add a rule in ip->rfirewall->filter to block based on incoming interface (jn your case the wan) and your newly created l7 protocol, or based on destination ip (in your case local ip class) and your newly created l7 protocol.
 
Latif123
just joined
Topic Author
Posts: 16
Joined: Fri Nov 09, 2012 12:24 pm

Re: How to block streaming ( video) in webproxy

Mon Nov 19, 2012 8:41 pm

dear I did the same but no result. still the streaming and embedded videos are running ..
 
Latif123
just joined
Topic Author
Posts: 16
Joined: Fri Nov 09, 2012 12:24 pm

Re: How to block streaming ( video) in webproxy

Fri Nov 23, 2012 9:05 am

still waiting for any further help. please

I want to block streaming or embedded videos. ( I have Router OS 5.18 and webproxy setup). Any help would be highly appriciated .
 
tate
just joined
Posts: 2
Joined: Sat Jun 13, 2009 2:33 pm
Location: Georgia Akhaltsikhe
Contact:

Re: How to block streaming ( video) in webproxy

Thu Apr 04, 2013 1:56 am

add a new pattern in ip->firewall->layer7 protocols
name:rtmp
regexp:^\x03.+\x14.+\x02.+\x07.(connect)?.+(app)?
need to edit (app) to (video) and good workin

regexp:^\x03.+\x14.+\x02.+\x07.(connect)?.+(video)?

Who is online

Users browsing this forum: PROXCON and 37 guests