Community discussions

MikroTik App
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Block hd videos via proxy or firewall

Mon May 12, 2014 6:42 pm

I was wondering if there's a way to block high definition videos such as youtube hd or other websites that offer hd streaming videos.
any proxy/firewall rule?
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: Block hd videos via proxy or firewall

Mon May 12, 2014 6:49 pm

Even though I don't know, could you explain why you want to block it?
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Block hd videos via proxy or firewall

Mon May 12, 2014 6:53 pm

I don't want users to watch any hd video!
 
voxframe
Member Candidate
Member Candidate
Posts: 126
Joined: Thu Dec 16, 2010 2:51 pm

Re: Block hd videos via proxy or firewall

Mon May 12, 2014 8:52 pm

It's almost impossible. You would need to make custom L7 rules for each video site. (That's even IF it's possible to track in L7)

You will also need serious hardware to do this. (CCR is the only option for MT hardware)

If you're trying to do it to save bandwidth... Good luck. Spend your time trying to fill the hole instead of plugging it. You will spend less money in the end.
 
reinerotto
Long time Member
Long time Member
Posts: 523
Joined: Thu Dec 04, 2008 2:35 am

Re: Block hd videos via proxy or firewall

Tue May 13, 2014 12:24 am

I was wondering if there's a way to block high definition videos such as youtube hd or other websites that offer hd streaming videos.
any proxy/firewall rule?
No problem regarding youtube-videos when using squid, as yt identifies HD-videos within URL. Only need to set up proper ACL & regex for blocking.
However, it is a user-friendlier solution to downgrade yt-HD-video to simple resolution, without real block.
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Block hd videos via proxy or firewall

Tue May 13, 2014 1:55 am

I do not see any "hd" tag in youtube video url
It seems really impossible
 
reinerotto
Long time Member
Long time Member
Posts: 523
Joined: Thu Dec 04, 2008 2:35 am

Re: Block hd videos via proxy or firewall

Tue May 13, 2014 2:38 am

I do not see any "hd" tag in youtube video url
It seems really impossible
Then I give you a hint to do the impossible: Examine "id"
 
Arpanet
Member Candidate
Member Candidate
Topic Author
Posts: 281
Joined: Sat Aug 24, 2013 8:26 pm

Re: Block hd videos via proxy or firewall

Tue May 13, 2014 12:54 pm

this is a youtube hd video url:
https://www.youtube.com/watch?v=6v2L2UGZJAM

:?
 
reinerotto
Long time Member
Long time Member
Posts: 523
Joined: Thu Dec 04, 2008 2:35 am

Re: Block hd videos via proxy or firewall

Tue May 13, 2014 1:47 pm

YES, but only to be started with.
This URL will be redirected according to your location/requested resolution into something much more complicated. And this will contain "...id=..." specifying the resolution.
You should use firebug in firefox to observe.

As this is a MT-forum, no more info on this topic from me.

Who is online

Users browsing this forum: exray, jagga, vanes32 and 28 guests