Earlier quoted context omitted.
Why is DNS based blocking getting difficult? You run a bind server and tell it what it can and cannot resolve. It can even listen on DoH so you get transport security between peer and local dns server.
Your browser (or your tv) can just skip your entire dns infra and make its own lookups over https- which you won’t see. That’s the evil genius of doh- you can’t block 443 and their “dns server” could be the same hostname as the site you visit … and now we’re discussing mitm’ing ourselves… Sigh.
Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
41–50 of 63 posts
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#42Earlier quoted context omitted.
Run your own DoH filtering DNS server, I set this up a few months ago. DNS blocking is not obsoleted by transport encryption.
Very curious about how you went about this as I would like to do the same.
Update the DHCP on your router, all done.
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#43I've really wanted a server-side uBlock Origin like this for a while now for devices that can't run uBlock (mobile, etc) or where uBlock is limited in functionality (Chrome). This looks like a great start.
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#44Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#45This approach is a natural escalation step as DNS-based blocking is getting increasingly difficult. But it's not without its drawbacks. For example, browsers tend to have by far the best TLS implementations. By MITMing yourself, you essentially trust the proxy's TLS implementation instead, which will receive much less scrutiny. There's a lot of precedent for TLS vulnerabilities introduced by middleboxes. If browser e…
Why is DNS based blocking getting difficult? You run a bind server and tell it what it can and cannot resolve. It can even listen on DoH so you get transport security between peer and local dns server.
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#46Earlier quoted context omitted.
I wouldn't write it off - one possible trick here is to also MITM the DoH/DoQ server and disable ECH by removing the relevant records from the DNS response. We've just added DNS support to mitmproxy and this is a natural follow-up. :)
Oh? Do you guys have a blog writeup? I would LOVE to read more about this! I want to eliminate the small amount of ads that make it through my PiHole.
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#47I fear that MITMing ads is a dead end: 1. IIUC, when SNI is encrypted (in TLS 1.3?) almost everything is out the window. 2. Local devices can do DNS over HTTPS (DoH) and DNS over QUIC (DoQ) to look up their stuff, so DNS-based blocking will soon be obsolete. 3. The browser itself is controlled by the biggest ad-vendor around (Google), so you’ll probably get no help there. The only solutions are: A. Use browsers not c…
Run your own DoH filtering DNS server, I set this up a few months ago. DNS blocking is not obsoleted by transport encryption.
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#48I fear that MITMing ads is a dead end: 1. IIUC, when SNI is encrypted (in TLS 1.3?) almost everything is out the window. 2. Local devices can do DNS over HTTPS (DoH) and DNS over QUIC (DoQ) to look up their stuff, so DNS-based blocking will soon be obsolete. 3. The browser itself is controlled by the biggest ad-vendor around (Google), so you’ll probably get no help there. The only solutions are: A. Use browsers not c…
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#49This approach is a natural escalation step as DNS-based blocking is getting increasingly difficult. But it's not without its drawbacks. For example, browsers tend to have by far the best TLS implementations. By MITMing yourself, you essentially trust the proxy's TLS implementation instead, which will receive much less scrutiny. There's a lot of precedent for TLS vulnerabilities introduced by middleboxes. If browser e…
Re: Show HN: Privaxy – Adblocking / tracker blocking by MITMing HTTPS traffic
#50Earlier quoted context omitted.
Run your own DoH filtering DNS server, I set this up a few months ago. DNS blocking is not obsoleted by transport encryption.
OP is stating that "apps and devices" may circumvent DNS blocking by resorting to DoH. You can run your own DoH server, and you can even advertise it via your DHCP server, but clients ("apps and devices") do not need to accept the supplied servers for their own configuration.
I am yet to hear of any examples of hardcoded DNS servers. I believe this to be too fragile to implement.