Live data from Hacker News

Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

ericdraken.com

611–620 of 659 posts

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#612
post #587

Qs: to those who are running a MITM proxy Is there no risk running an MITM proxy, even if self hosted, that can see all your financial and other important private communication? I know a couple mentioned here are open source, but are they guaranteed to be safe? How do I know which one (s) are good to use and can be trusted. I want to rub it based on this thread, but have the above concern.

I can answer this as one of the mitmproxy devs: We're doing this for 10+ years as FOSS, we're a relatively well-known project (so lots of eyes hopefully), our software has absolutely zero telemetry / phone home functionality, and we're developing under our real names. We also have relevant backgrounds in either the security industry and academia, and absolutely no plans to monetize mitmproxy.

Does that make it guaranteed to be safe? Not really. I'd personally trust our TLS stack over most IoT TLS implementations, but Chrome/Firefox/Safari will do a better job at e.g. revocation checking. That being said, I'd argue that this is unlikely to be the weakest link in your threat model.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#613
post #491

Earlier quoted context omitted.

If you struggle with 2MB payload, how do you expect to stream video, which is usually hundreds of megabytes? You’re right about 2MB being a large payload in some network configurations, but I think it isn’t that big in Youtube’s context.

If I were to keep my insurance policy number in my car in the form of 9 bricks with a number on each one, I honestly wouldn't notice. The car would seem to drive exactly the same. There are even plenty of dead spaces to hide them where they wouldn't even noticeably consume cargo space. Yet for some reason I will not place 9 unneccessary bricks in my car, nor tolerate them if I discovered them already there. Is the "s…

[deleted]

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#614

Earlier quoted context omitted.

Likewise. My biggest tip is set your secondary DNS to something outside your networks so if your pi-hole goes down your entire network doesn’t go down you just get ads.

There’s also nextdns which I was planning on switching to anyways

I’ve been using NextDNS for a few years now. I don’t have time to mess with an ‘on prem’ solution.

It works really well and is simple to manage. It runs on my mobile devices easily.

I turn it off occasionally to shop, but immediately turn it back on as the internet is a whole different place without some sort of robust ad blocking.

It’s nice to see the logs fill up with blocked telemetry and other crap all day.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#615

Earlier quoted context omitted.

What services are you having trouble with? My RPi PiHole has been working great for whole-house blocking for a half-decade now.

Airplane booking sites seem incapable of working with a Pihole. Presumably the entire travel industry is similar

I use a chrome extension or app to switch DNS to something like 1.1.1.1 when a site I need can’t handle blocked DNS calls.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#616
post #606

Earlier quoted context omitted.

I'm not super familiar with YouTube terminology, is "YouTube Partner Program" something that applies to anyone who has ads on their YouTube channel? Seems to me something you need to apply to, and also only available in Canada, South Korea, Taiwan, the United Kingdom, and the United States which probably excludes more than 50% of popular channels on YouTube. It seems to me that YouTube would serve ads on any channel,…

Partners are everyone with monetization (revenue sharing) [1]. It's available in many many countries [2]. The countries you are listing are the early access to newer features like superchats, merch store, etc [3] It's all there, no need for rumors and hearsay. [1] https://support.google.com/youtube/answer/2475463 [2] https://support.google.com/youtube/answer/7101720 [3] https://support.google.com/youtube/answer/13429…

I'm not basing anything I say here on rumors or hearsay, I'm simply reading the content on Google's own websites regarding this, as I personally have no experience about it.

From the first link:

> I'm not a YouTube partner, so why am I seeing ads on my videos?

> YouTube may also place ads on videos in channels not in the YouTube Partner Program.

Doesn't this mean that YouTube is earning money from ads placed on videos where people don't get anything from the revenue?

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#617

Earlier quoted context omitted.

How do you get your TV to trust the self signed cert?

I believe the article shows screenshots of it in Apple TV (at least) Looks like it uses the method in this article https://developer.apple.com/library/archive/qa/qa1948/_index... but i have not (yet) tried it

I followed this guide on how to install a self-signed certificate and setup the routing to my proxy server on an Apple TV: https://lucaslegname.github.io/mitmproxy/2020/04/10/mitmprox...

TL;DR it involves using Apple Configuration to make a custom mobileconfig profile to point to your proxy and then also installing the certificate with the same method.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#618

Replacing the YouTube client on tvOS/iOS/macOS with https://github.com/yattee/yattee and using either https://github.com/iv-org/invidious https://github.com/TeamPiped/Piped as backend is a nice alternative.

> and using either […] as backend [emphasis added] is a nice alternative. Both those links are to alternative YT frontends , though?

Yattee connects to these, there is no other way to use the frontend on iOS/tvOS otherwise.

Re: Block YouTube ads on AppleTV by decrypting and stripping ads from Profobuf

#620

Earlier quoted context omitted.

Didn't help that they spelled the name incorrectly, but I found it :D https://github.com/barre/privaxy

In this case "incorrectly" is what makes it possible to find it, search-engine-autocorrect-stupidity aside. The name is obviously a combination of privacy and proxy. There's another one called Privoxy which works on similar principles.

Apologies, I meant Privoxy. Privaxy looks pretty decent too, but I've never used it.
Post reply on HN