News for hackers. Stuff that matters.
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