News for hackers. Stuff that matters.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Sunday August 27, 2023 @01:37AM (#37279704)
I've been MITM'ing my traffic to, among other things, strip ads and rewrite pages with things like custom CSS, ever since I discovered The Proxomitron over 2 decades ago. It does tend to get me profiled as a "bot" by CloudFlare and such, but there are not-so-trivial ways around that too. It also shows why things like remote attestation are hazardous for user freedom.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by greyface- on Sunday August 27, 2023 @02:06AM (#37279845)
> It does tend to get me profiled as a "bot" by CloudFlare

Since Cloudflare employees are known to lurk here, I'd like to know: is this considered a false positive, or working as intended?

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by rs_rs_rs_rs_rs on Sunday August 27, 2023 @02:15AM (#37279886)
Not a CF employee but I am pretty sure it's working as intended as they built and use this:

https://github.com/cloudflare/mitmengine

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by fulafel on Sunday August 27, 2023 @03:30AM (#37280272)
Here's hoping that, if they do it, they'll start blocking corporate TLS mitm regimes too.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by michaelt on Sunday August 27, 2023 @04:16AM (#37280529)
Blocking? Cloudflare provides corporate TLS MITM regimes.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by sgammon on Sunday August 27, 2023 @04:03PM (#37286113)
"Corporate MITM" is built into the very idea of PKI. Running your own custom PKI is a completely valid way to operate a network. This is a feature because it allows anyone to establish their own trust tree, completely outside of the public certificate trust network.

"Regimes" sounds pejorative but in truth, companies have a duty and in many cases a legal obligation to protect their networks. Prima facie, I don't see any reason at all why interception of traffic in this circumstance is "bad," except maybe a potential for political misuse like any other written medium.

I actually think the reverse would be substantially worse: if _only_ the public trust chain was valid in major browsers, we would be completely hosed and there would be no distinguishing factor at all between remote attestation and trust.

Thus, corporate TLS interception is, at worst, a necessary byproduct of a very well chosen tradeoff.

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Sunday August 27, 2023 @05:42PM (#37286897)
And as a personal user, I also should have the right to intercept the traffic on my network.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by josephcsible on Sunday August 27, 2023 @06:02PM (#37287052)
I have a minor quibble with "my network". You should have the right to intercept the traffic originating or terminating at your devices, but not to intercept any traffic going between other people's devices just because it's on your network.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Monday August 28, 2023 @03:54PM (#37299596)
Then it wouldn't be my network anymore.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by josephcsible on Monday August 28, 2023 @06:43PM (#37301336)
Should your ISP be able to MITM all of your traffic just because it's going over their network? If not, then what's the difference?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by sgammon on Monday August 28, 2023 @12:58AM (#37289933)
That's what I'm standing up for in this comment, but you've characterized it as opposition. I don't understand, perhaps you'd like to clarify.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Monday August 28, 2023 @03:52PM (#37299576)
I'm not opposing, just adding more context.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by rightbyte on Sunday August 27, 2023 @05:38AM (#37280982)
Ever since Google started pushing HTTPS I understood that non-encryption would be a future privacy problem.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by yrro on Sunday August 27, 2023 @09:49AM (#37282699)
Why? This isn't the 90s any more. You shouldn't use your employer's systems for anything other than work.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by netsharc on Sunday August 27, 2023 @10:11AM (#37282890)
Hah, remember how Amazon invented "Cyber-Monday"? They claim the Monday after Thanksgiving when people go back to work it'll be their first encounter with Internet-connected computers after the Thanksgiving vacation, and it's the time where they'll be most busy shopping for Christmas presents...
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by yrro on Sunday August 27, 2023 @10:24AM (#37283023)
So that's where thta came from...
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by mynameisvlad on Sunday August 27, 2023 @02:25PM (#37285318)
Amazon was barely a blip when Cyber Monday first came out, let alone the inventors of the term.

> The term "Cyber Monday" was coined by Ellen Davis, and was first used within the ecommerce community during the 2005 holiday season. According to Scott Silverman, the head of Shop.org, the term was coined based on 2004 research showing "one of the biggest online shopping days of the year" was the Monday after Thanksgiving (12th-biggest day historically). Retailers also noted the most significant shopping period was December 5 through 15 of the previous year. In late November 2005, The New York Times reported: "The name Cyber Monday grew out of the observation that millions of otherwise productive working Americans, fresh off a Thanksgiving weekend of window shopping, were returning to high-speed Internet connections at work Monday and buying what they liked." At the time, a lot of people had slow Internet at home. The idea for having such a holiday was created by Tony Valado, in 2003 while working at 1800Flowers.com, and coined "White Wednesday" to be the day before Thanksgiving for online retailers.

https://en.wikipedia.org/wiki/Cyber_Monday

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by hedora on Sunday August 27, 2023 @09:53AM (#37282720)
Why should they only allow MItM’ed traffic when a third party is the one defeating the encryption?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by fulafel on Sunday August 27, 2023 @11:11AM (#37283427)
Privacy of communications is a protected right in lots of jurisdictions, not by default overridden by employer interests. From a values pov it makes sense as well, privacy is a human right and the fact that you're at work doesn't invalidate that, social interactions at work can be of a personal nature that is good to keep confidential.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by jupp0r on Sunday August 27, 2023 @11:19AM (#37283498)
You never watch a conference talk on YouTube at work?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by dylan604 on Sunday August 27, 2023 @11:50AM (#37283810)
I've always created a google account specific for that company though, so it is still technically segregated from my personal anything
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by cbsmith on Sunday August 27, 2023 @01:43PM (#37284932)
Corporate TLS mitm is so often misunderstood. There are, unfortunately, a lot of legit reasons to do so.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by thegeomaster on Sunday August 27, 2023 @05:56AM (#37281087)
Use this to evade it: https://github.com/lwthiker/curl-impersonate

Greetings from a country whose (almost) entire IP space is blacklisted by Cloudflare!

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by issafram on Sunday August 27, 2023 @08:40AM (#37282126)
Which country?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by kyrra on Sunday August 27, 2023 @08:53AM (#37282237)
From his profile:

> Software engineer from Belgrade, Serbia

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by SOLAR_FIELDS on Sunday August 27, 2023 @08:52AM (#37282220)
Wow thanks, I was looking for this exact piece of software a few weeks ago when testing against some geo restrictions
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by pmarreck on Sunday August 27, 2023 @09:10AM (#37282382)
necessity: still the mother of invention

greetings from the other side of the world, commandline brother. I did not know of this tool, but I do now. Thanks

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by foobarbazetc on Sunday August 27, 2023 @11:40AM (#37283707)
Wow. Need this as a golang net/http shim.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by rollcat on Sunday August 27, 2023 @09:34AM (#37282567)
> We consider an HTTPS connection to be intercepted when there is a mismatch between the expected client request signature corresponding to the browser identified by the User Agent, and the actual client request fingerprint of the request.

Sounds like something that would be "trivial" to defeat, by means of "emulating" other TLS implementations more closely?

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by homarp on Sunday August 27, 2023 @09:55AM (#37282758)
which is what https://github.com/lwthiker/curl-impersonate does: it's a special build of curl that can impersonate Chrome & Firefox
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by nwellinghoff on Sunday August 27, 2023 @12:38PM (#37284284)
Can this be used as a proxy to your real browser? Can you paint the whole picture/setup for a noob?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by cbsmith on Sunday August 27, 2023 @01:54PM (#37285051)
Presumably so. You'd just need to compile the curl-impersonate for the appropriate browser you want to impersonate, and then link it in to a proxy that used libcurl for its https traffic.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by voytec on Sunday August 27, 2023 @09:56AM (#37282762)
I have no releation to CF but from my perspective, if a human is marked as a bot - that's a false positive.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by aardvarkr on Sunday August 27, 2023 @11:09AM (#37283412)
99.9999% of humans won’t be decrypting protobuf traffic but a large % of bots are out of necessity to interact with the website. That’s what I’d call a good filter.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by adrr on Sunday August 27, 2023 @11:17AM (#37283484)
Since you’re not a Cloudflare customer, you need to think like a customer who is using Cloudflare’s bot protection. Do you want to filter people who are blocking your ads through mitm? I would guess yes.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1B05H1N on Sunday August 27, 2023 @02:27AM (#37279948)
You should be okay as long as you solve the challenge(s).
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1vuio0pswjnm7 on Sunday August 27, 2023 @04:55AM (#37280767)
I also run a forward proxy and found adding a user-agent header was all that was necessary.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by brainbag on Sunday August 27, 2023 @06:43AM (#37281348)
would you mind providing more details about this? Is it any user agent header, or do you need to do some thing like curl-impersonate?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1vuio0pswjnm7 on Sunday August 27, 2023 @07:18AM (#37281511)
No, actually it just needed to be well-formed. UA headers follow a certain format. Some folks like to try to "blend in" and use known headers seen in the wild but personally I like to make up new UA headers that reveal nothing, not even fake details. On the whole, I very rarely send a UA header. The number of sites that demand one is very small for me. I had just assumed Cloudflare was doing TLS fingerprinting or something more involved than just checking for presence of a UA header. But it worked. The StackExchange family of sites is one example where a UA header is needed. They will block otherwise. Not using Cloudflare to do the blocking though.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1vuio0pswjnm7 on Sunday August 27, 2023 @05:06PM (#37286649)
s/StackExchange/StackOverflow/
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by faraggi on Sunday August 27, 2023 @02:52AM (#37280074)
> among other things

what else do you MITM for?

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1vuio0pswjnm7 on Sunday August 27, 2023 @05:14AM (#37280854)
MITM is kind of a silly term for what the user is doing when using a forward proxy. If the computer owner binds the proxy to a localhost address, the unencrypted requests need only go over the loopback. There need be no encrypted requests travelling over the LAN. The computer owner, the "MITM", is on their own computer sitting in between an application and the network interface. That is exactly where they should be, IMHO. Corporations do it. They own the computer and they own their internal networks. It's no different for home users. And WFH is blurring the distinction anyway.

Once the requests leave the computer and travel onto the internet destined for another computer, then of course "MITM" makes sense as a concept.

The computer owner controls the proxy and it's the proxy, not the untrusted application, like a "modern" web browser for example, that handles authentication of the remote peer. Compiling and fully controlling a "modern" browser is a PITA. Almost no one does it, even software developers. Instead people beg for an advertising company or their partner to make changes to a browser. That does not seem to work. Sometimes when people complain it stops the company from making undesired changes. But only temporarily.

Whereas compiling a proxy is easy and the user can fully control it.

Having used many different applications that implement support for TLS, I actually trust the proxy's implementation better than most applications. It's arguably easier to audit one program, the proxy, than it is to check every application to make sure the developer didn't make a mistake when adding TLS support. I recall the incident with socat as one example. That mistake when undetected for a long time. Elinks was another.

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by docmars on Sunday August 27, 2023 @09:18AM (#37282442)
For any gamers out there, Reshade's installer is another example where TLS istn't implemented properly. It fails to download effect/shader packages for basic setup on up-to-date Windows machines because it requires that you disable TLS 1.3 globally on Windows so it can use 1.1 or 1.2.

[1] https://reshade.me/forum/troubleshooting/8746-reshade-v-5-8-...

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by ComputerGuru on Sunday August 27, 2023 @02:12PM (#37285203)
I never heard of reshade before but that is quite crazy. The only explanation I can think of is that the backend they connect to implements TLS 1.3 but in a broken way (because the client crypto lib would otherwise fall back to TLS 1.2 on its own) which really makes you wonder just how broken the crypto impl on their servers is and how many vulnerabilities they’re wide open to.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Sunday August 27, 2023 @05:52PM (#37286970)
TLS 1.3 is IMHO still too new to have stabilised and had all the edge-cases worked out. 1.2 was first released in 2008 and only started becoming a requirement more than ~10 years later. I'm not sure how the situation with 1.2 was but I know there were several draft versions of 1.3, which do not interoperate yet had public implementations. That might be what's happening there.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by 1vuio0pswjnm7 on Monday August 28, 2023 @12:55AM (#37289917)
Here are a few sites one (IMHO) would expect to support TLS1.3 but do not

   www.digitalocean.com
   arstechnica.com (Amazon)
   git.kernel.org
   cdn.netbsd.org (Fastly)
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by ttctciyf on Sunday August 27, 2023 @02:58AM (#37280095)
> The Proxomitron

Googling this, development ended in 2004? An informed summary of the current state of play would be interesting, since a lot of different "continuations" of it seem to be around. Also, is it Windows-only? (I've been casually looking for a simple proxy that would enable injection of local links into remote content.)

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by d2323 on Sunday August 27, 2023 @06:08AM (#37281151)
Privacy might be what you're after. Open source and cross platform.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by mrAssHat on Sunday August 27, 2023 @06:20AM (#37281227)
That's impossible to google.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by scoopertrooper on Sunday August 27, 2023 @06:23AM (#37281248)
Didn't help that they spelled the name incorrectly, but I found it :D

https://github.com/barre/privaxy

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Sunday August 27, 2023 @03:50PM (#37286006)
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.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by d2323 on Sunday August 27, 2023 @08:17PM (#37288082)
Apologies, I meant Privoxy. Privaxy looks pretty decent too, but I've never used it.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by Phemist on Sunday August 27, 2023 @07:03AM (#37281435)
Auto-correct issue?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by dfxm12 on Sunday August 27, 2023 @09:33AM (#37282558)
We call that Auto co-wrecked or maybe a spill check.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by d2323 on Sunday August 27, 2023 @08:14PM (#37288052)
Sorry all, I meant Privoxy. Didn't even realise Privaxy was a thing.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by ttctciyf on Sunday August 27, 2023 @07:08AM (#37281454)
(With thanks to your grandchild) https://github.com/barre/privaxy seems definitely worth a look - thanks!
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by tbbfjotllf on Sunday August 27, 2023 @09:54AM (#37282740)
How does this compare to adguard home???

https://github.com/AdguardTeam/AdguardHome

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by ttctciyf on Sunday August 27, 2023 @11:22AM (#37283525)
Adguard seems to offer blocking only, whereas Privaxy "is able ... to inject scripts as well as styles into HTML documents", which was the feature my comment expressed interest in.

The readme goes on to say: "Privaxy is also way more capable than DNS-based blockers as it is able to operate directly on URLs and to inject resources into web pages."

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by k4rli on Sunday August 27, 2023 @12:28PM (#37284188)
One acts as a proxy while the other one is a DNS server. Different tools
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by xattt on Sunday August 27, 2023 @10:52AM (#37283274)
> Windows-only

Can’t Wine help with this?

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by sneak on Sunday August 27, 2023 @05:03AM (#37280809)
Presumably this involves installing new CA certs on your devices, no?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by userbinator on Sunday August 27, 2023 @05:50AM (#37281044)
Yes, and this also answers the other comment about what else I MITM for: blocking devices that I can't inspect the traffic of is another reason, since the proxy is the only way out of the network.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by pdimitar on Sunday August 27, 2023 @07:09AM (#37281461)
Pardon the lay question, but is it really the only way out of the network? Can't programs initiate connections while skipping the system-wide configured proxy?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by haraldooo on Sunday August 27, 2023 @07:22AM (#37281533)
Sure they can.. but they can’t get around your outgoing firewall rule that reroutes alle traffic for certain ports to the proxy.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by pdimitar on Sunday August 27, 2023 @07:25AM (#37281548)
Hm, I have to see if Mikrotik has rule syntax for this. I can already force every app who thinks they will use their own DNS server to use mine but not sure how I could do the same with a proxy. Maybe just force ports 80 and 443? But what's stopping these apps to communicate on non-standard ports?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by emidln on Sunday August 27, 2023 @07:59AM (#37281787)
There's no reason to allow arbitrary traffic in either direction other than convenience. If you want a more secure network, you block everything by default and narrowly open as needed.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by pdimitar on Sunday August 27, 2023 @08:02AM (#37281809)
That means I'll stop 99% of all outgoing traffic. Still interested in how to force all traffic to a proxy though.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by denysvitali on Sunday August 27, 2023 @09:48AM (#37282693)
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by pdimitar on Sunday August 27, 2023 @10:11AM (#37282887)
Thanks, I'll give this a thorough read.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by LoganDark on Sunday August 27, 2023 @09:17AM (#37282435)
If it's only for certain ports, they can just use non-standard ports.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by magicalhippo on Sunday August 27, 2023 @09:35AM (#37282576)
Not uncommon to have a drop all rule as default on outgoing packets as well.

Regular http gets redirected to proxy, non-standard traffic needs to be explicitly allowed out.

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by fifteen1506 on Sunday August 27, 2023 @07:11AM (#37281466)
Cooool. Any blog post or something about your network setup?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by yukIttEft on Sunday August 27, 2023 @09:02AM (#37282307)
layperson here: won't, say a banking app complain about the now new cert it deals with instead of the bank-cert?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by alwayslikethis on Sunday August 27, 2023 @09:32AM (#37282550)
Banking apps generally hardcode their certs in to prevent this, so this wouldn't work unless you find a way to replace that cert too.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by cute_boi on Sunday August 27, 2023 @01:39PM (#37284881)
most banks already do certificate pinning, even tho it is not necessary.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by sgammon on Sunday August 27, 2023 @04:05PM (#37286134)
clearly it is necessary in some circumstances
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by slacka on Sunday August 27, 2023 @10:58AM (#37283328)
Network level ad-blocking like Privoxy and pi-hole have so many downsides like they can't handle inline adverts. My pi4 pi-hole is unplugged right now because it just didn't work well. After hours wasted trying to make it work with all the services, I've thrown in the towel. The time involved is just not worth it for a home network.

What works are browser based ad-blockers and app patchers like ReVanced. As my savings have gone up, I've relied more and more on just paying for ad-free services like YouTube Premium, Hulu, Netfix, and Max for the cases those 2 can't handle.

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by plopz on Sunday August 27, 2023 @11:41AM (#37283719)
I run pi-hole strictly for my mobile devices, I let my desktop run through the router normally
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by skinner927 on Sunday August 27, 2023 @11:20AM (#37283515)
I think this is an unfair critique of the PiHole and I believe you’re throwing the baby out with the bath water. The PiHole blocks DNS and that’s all it’s designed to do, and it does it well. There’s a grandiose amount of telemetry, marketing, and general unsavory traffic flying through your network that didn’t originate from a browser. The PiHole is not exactly a turnkey solution and does take some adjusting to your preferences, but once you get it set up, you basically only have to touch it to do system updates.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by Salgat on Sunday August 27, 2023 @11:59AM (#37283900)
The problem is that unless you're willing to do surgery on a regular basis as you come across blocked sites, PiHole is going to cause more problems than it solves when you have your entire family using it. Even google stops working correctly because results for products on the front page start leading to blocked links. I like PiHole, but I had to stop using it because it was so aggravating for my wife.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by eertami on Sunday August 27, 2023 @12:21PM (#37284120)
I used a PiHole for a while but after a corrupted SD card I said screw it and started using NextDNS. I have very few subscriptions, in fact nothing else except Spotify, but this one was worth the time saved and hasn't required any maintenance on my end.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by ukuina on Sunday August 27, 2023 @04:53PM (#37286537)
Why not AdGuard DNS? It's free.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by xethos on Sunday August 27, 2023 @10:20PM (#37288925)
How heartwarming that they run such a wonderful service purely out of the goodness of their hearts, with no income from it, and no expectation of financial compensation.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by ukuina on Saturday September 02, 2023 @03:48PM (#37364882)
It forms the backbone of their paid AdGuard apps on iOS, MacOS and Android. Those apps create a loopback VPN on your system so they can reroute the DNS requests to AdGuard DNS.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by lolinder on Sunday August 27, 2023 @04:25PM (#37286317)
I have our PiHole set up with just ad lists, not trackers or privacy. I follow that up on my own devices with uBO with more thorough lists, but this way my whole family gets ad protection rather than nothing.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by BLKNSLVR on Sunday August 27, 2023 @05:58PM (#37287012)
> google stops working correctly because results for products on the front page start leading to blocked links.

Because they're often ads made to look like search results. Pi-hole working as intended.

That's my experience anyway. My family network is behind a pi-hole and rarely if ever does an intended website visit break as a result.

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by sizzle on Sunday August 27, 2023 @10:27PM (#37288973)
This is not my experience. Pihole works flawlessly for me and it’s sitting in my closet connected to my cable modem. Haven’t touched it in a year. No broken mainstream sites and I’m blocking telemetry and other crap from apple, Amazon, google, Netflix, Hulu, Wyze, etc. related to advertising and device analytics trying to profile my usage. Pi-hole has been a blessing in the war on privacy and targeted advertising.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by spaceisballer on Monday August 28, 2023 @02:46PM (#37298706)
I’m a novice, and figured it out and have zero maintenance. Unless you count occasionally updating pihole every now and then. I have a word file with all my exceptions (mostly white lists for Microsoft gaming stuff my kids want) in the event I ever need to reload (ever since I switched to a better SD never have had corruption issues). I understand the spouse issue, mine loves clicking ads on her phone. Easiest workaround is to pop off WiFi click link then go back to WiFi.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by KerrAvon on Sunday August 27, 2023 @11:10AM (#37283423)
What services are you having trouble with? My RPi PiHole has been working great for whole-house blocking for a half-decade now.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by ryaneager on Sunday August 27, 2023 @11:38AM (#37283686)
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.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by smolyeet on Sunday August 27, 2023 @04:37PM (#37286419)
There’s also nextdns which I was planning on switching to anyways
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by berniedurfee on Sunday August 27, 2023 @07:12PM (#37287574)
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 ... by sizzle on Sunday August 27, 2023 @10:27PM (#37288980)
Is it okay to use cloudflare dns?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by fbdab103 on Sunday August 27, 2023 @12:44PM (#37284333)
Airplane booking sites seem incapable of working with a Pihole. Presumably the entire travel industry is similar
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by berniedurfee on Sunday August 27, 2023 @07:14PM (#37287590)
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 ... by IggleSniggle on Sunday August 27, 2023 @11:50AM (#37283804)
Fair enough, but I've been super happy with the ability to do network level blocking; if you're willing to decrypt your own traffic, you can even do things like strip advertisements from getting embedded in Smart TVs and whatever else you have connected to your insecure network partition. I like it that I can hook up some random Roku and I won't get ads. Or my kid can connect his school laptop to our network and it wont get ads.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by nwellinghoff on Sunday August 27, 2023 @12:25PM (#37284161)
Does this just apply to the roku menu or are you saying you are stripping ads from the video streams themselves?
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by cbsmith on Sunday August 27, 2023 @01:30PM (#37284799)
Inline adverts can be blocked, as long as you're decoding layer-7 (which is effectively what this ad is doing).
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by yumraj on Sunday August 27, 2023 @03:30PM (#37285841)
What kind of problems have you been running into.

I use a layered approach. I’ve been using Pi-hole for 8-10 years, don’t remember, with about 1-2M in the block list.

In addition, I use uBlock as well as pfsense with pfBlocker-NG for blocking countries and other features.

They all work well together. Sometimes I have to bypass them, when I momentarily use the ISP’s Wi-Fi router directly.

It’s been working fine.

Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by Friedduck on Monday August 28, 2023 @09:17AM (#37293479)
This is what I fail to understand. It’s a cool hack but ad-free YouTube is a few dollars a month. Spend that creative time elsewhere!
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by spaceisballer on Monday August 28, 2023 @02:50PM (#37298771)
It’s $18.99 a month for an individual, I agree with your sentiment but really don’t feel like it’s that inexpensive. Then again I don’t consume large amounts of YouTube as most people seem to do.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by HWR_14 on Tuesday August 29, 2023 @07:45AM (#37306284)
Most creative projects are not cost effective. If people enjoy the journey, that's what's important.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by venusenvy47 on Sunday August 27, 2023 @01:07PM (#37284559)
I haven't thought about Proxomitron in about two decades - are you still using it? I never used it for anything you described, but it was great to use as a proxy with our company firewall. Many programs back in the day couldn't connect with the Internet because our firewall back then required login information to make outbound connections.
Re:Block YouTube Ads on AppleTV by Decrypting and Stripping ... by BlindWanderer on Monday August 28, 2023 @01:14AM (#37290032)
I loved Proxomitron! I hadn't thought of using it to MITM YouTube!