News for hackers. Stuff that matters.
Re:The FBI now recommends using an ad blocker when searching... by JohnFen on Thursday February 23, 2023 @07:11PM (#34918775)
> killing DoH conclusively on your home network is more difficult than you've made it seem

True.

I had to install a system to MITM all my https traffic in order to block DoH requests.

Re:The FBI now recommends using an ad blocker when searching... by dngray on Friday February 24, 2023 @12:27AM (#34921174)
> killing DoH conclusively on your home network is more difficult than you've made it seem

It's actually not too difficult if your users use Firefox. You can use enterprise policies https://support.mozilla.org/en-US/products/firefox-enterpris...

   /* 0710: disable DNS-over-HTTPS (DoH) rollout [FF60+]
    * 0=off by default, 2=TRR (Trusted Recursive Resolver) first, 3=TRR only, 5=explicitly off
    * see "doh-rollout.home-region": USA 2019, Canada 2021, Russia/Ukraine 2022 [3]
    * [1] https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-over-https/
    * [2] https://wiki.mozilla.org/Security/DOH-resolver-policy
    * [3] https://support.mozilla.org/en-US/kb/firefox-dns-over-https
    * [4] https://www.eff.org/deeplinks/2020/12/dns-doh-and-odoh-oh-my-year-review-2020 ***/
      // user_pref("network.trr.mode", 5);


It can be more of an issue if you have a lot of "smart" products or IoT products that essentially operate as black boxes on your network though. Would just recommend not doing that, if you have devices on your network that you don't control, someone else does.
Re:The FBI now recommends using an ad blocker when searching... by JohnFen on Friday February 24, 2023 @11:03AM (#34925887)
That only affects things that use the browser's facilities to engage in DoH. A web page could decide not to do that, and manufacture their own lookups using JS, for instance.
Re:The FBI now recommends using an ad blocker when searching... by yubiox on Friday February 24, 2023 @09:55AM (#34925066)
Can you give any more detail on how you did this? Is squid the proxy? How does it know which traffic is doh? What do you do with those requests?
Re:The FBI now recommends using an ad blocker when searching... by JohnFen on Friday February 24, 2023 @11:02AM (#34925873)
Yes, I've installed my own cert to negotiate HTTPS connections, then proxy through software to check the contents being sent.

Basically the same process that some companies use for similar purposes.

Re:The FBI now recommends using an ad blocker when searching... by yubiox on Friday February 24, 2023 @11:37AM (#34926412)
This response is just handwaving and avoids the question. Why even bother?
Re:The FBI now recommends using an ad blocker when searching... by JohnFen on Friday February 24, 2023 @02:36PM (#34928948)
Oh? I thought I answered it. What are you really asking for here? A tutorial?

If that's what you want, you need to give me time to put it together. I set this up a number of years ago and don't remember the details off the top of my head.