News for hackers. Stuff that matters.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by leesalminen on Saturday October 29, 2022 @05:43PM (#33388230)
I think you can configure PiHole to return whatever IP you want for blocklisted domains. I guess you could set up a box with nginx that inspects the request content type header and returns generic content. But, TLS will cause problems here. You’d need to MITM all the traffic and serve up your own root certs, install them on devices etc.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by phillipseamore on Saturday October 29, 2022 @06:13PM (#33388468)
Yeah TLS will be the headache. Just did a quick test with a self-signed, that works fine but I'll need to create one for each TLD (wildcard doesn't seem to be allowed as root, at least in browsers). That's easy to script, hard to install. So the only issue are devices that I can't install certs on like our Apple TV's and Rokus.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by 3np on Sunday October 30, 2022 @12:19AM (#33391032)
You should be able to install a single CA (installed on devices) and then use the key for that to sign individual domain (wildcard) certs?
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by kobalsky on Saturday October 29, 2022 @05:59PM (#33388364)
you could just -j REJECT the traffic, that makes the connection fail immediately because it sends an icmp port-unreachable packet back.