News for hackers. Stuff that matters.
Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by randomhodler84 on Thursday May 19, 2022 @12:36PM (#31436858)
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 MITMi... by aesh2Xa1 on Thursday May 19, 2022 @02:37PM (#31438399)
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.
Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by randomhodler84 on Thursday May 19, 2022 @03:13PM (#31438821)
A lot of things are possible, but are they done?

I am yet to hear of any examples of hardcoded DNS servers. I believe this to be too fragile to implement.

Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by autoexec on Friday May 20, 2022 @03:13AM (#31444281)
They don't even have to be hardcoded, they just have to ignore anything you specify or not give you any option to specify your own. As long as a device manufacturer can push updates to your device (even by IP address) they can regularly update their chosen DNS servers when needed. Honestly though, for many devices I doubt they'd even bother. Companies seem to have little trouble taking the position that if your device is more than a few years old you're insane for expecting them to still support it and you should have already thrown it away and bought another one.
Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by random1temp2 on Thursday May 19, 2022 @06:21PM (#31440910)
League of Legends hardcodes 8.8.8.8.
Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by randomhodler84 on Thursday May 19, 2022 @08:13PM (#31441868)
Thank you for the example, probably 53/udp, which one can set up a NAT rule to direct all outgoing 53 to the local filtering DNS resolver.
Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by teddyh on Thursday May 19, 2022 @12:41PM (#31436910)
How do your force applications to use this server? I mean, even if you MITM the connection to the application’s preferred DoH server, the application probably checks the certificate of the DoH server and refuses to work at all if it can’t get a verified connection.
Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by randomhodler84 on Thursday May 19, 2022 @12:47PM (#31436978)
You don’t mitm the DoH, you substitute it with your own server.

I have yet to see DNS/DoH “pinning”, and apps (browsers) will let your override it. Embedding DNS entries in apps is a bad idea (as opposed to cert pinning, which is about fixed trust, and a good idea). Given that sometimes this is going to be blocked, even if they did it would fall to the host resolver.

Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by atommclain on Thursday May 19, 2022 @12:59PM (#31437175)
Very curious about how you went about this as I would like to do the same.
Re:Show HN: Privaxy – Adblocking / tracker blocking by MITMi... by randomhodler84 on Thursday May 19, 2022 @01:10PM (#31437309)
Many options, take a look at https://wiki.archlinux.org/title/DNS_over_HTTPS_servers

Update the DHCP on your router, all done.