News for hackers. Stuff that matters.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by phillipseamore on Saturday October 29, 2022 @05:39PM (#33388197)
Is there anything in this field that actually doesn't block DNS but hijacks it and serves up 1x1 GIF for any image requests, 1 frame videos, empty HTML, CSS, JS, fake VAST/VPAID files so that requests don't have to timeout and fail? I setup a pi-hole a couple of years ago and the kids begged me to shut it off because it screwed up with games on their phones (crashed if they couldn't load ads or got stuck because there was no reply).
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.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by robostac on Saturday October 29, 2022 @05:58PM (#33388349)
https://docs.pi-hole.net/ftldns/blockingmode/

Pihole has many options for different blocks, but all have downsides.

Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by phillipseamore on Saturday October 29, 2022 @06:16PM (#33388500)
Don't remember different modes being available the last time, I'll give it another spin.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by bakugo on Saturday October 29, 2022 @06:04PM (#33388398)
Why not teach your kids to play real games instead of ad-ridden mobile garbage?
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by phillipseamore on Saturday October 29, 2022 @06:16PM (#33388493)
We'll I decided to teach them they have to pay for stuff themselves, and at least it taught them to be rather frugal. The real problem is that they mostly play what the other kids are playing.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by 31337Logic on Saturday October 29, 2022 @10:23PM (#33390377)
"other kids" are idiots. ;-) Or, at least, their parents are, for not saying No to stupid shit. :-)
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by BLKNSLVR on Saturday October 29, 2022 @06:17PM (#33388506)
PiHole doesn't normally time things out, it returns 0.0.0.0 as the result.

The few apps I use, I haven't experienced time out or crashing issues as a result of PiHole. You might have other network or DNS issues.

Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by TutleCpt on Saturday October 29, 2022 @09:58PM (#33390186)
I think nextdns will do this.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by ThePowerOfFuet on Saturday October 29, 2022 @10:37PM (#33390475)
Why timeout? Point them to 0.0.0.0 and there will be an instant failure. This is precisely what NextDNS does when not using their blocking page.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by akerr on Saturday October 29, 2022 @11:53PM (#33390890)
Or you could buy your kids some decent games rather than training them to suffer through ads or pay-to-win in-app purchases? This is the best feature of Apple Arcade in my opinion.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by alexruf on Sunday October 30, 2022 @03:37AM (#33392098)
PiHole & AdGuard are DNS blockers. Those tools are only serving/blocking domain mame requests. So they are not aware of the actual request your client is sending to those servers (to for example download a file). So no, by the nature of the DNS protocol this is not possible with those tools. What you probably wanna do is to use some kind of proxy which does deep package inspection (be aware that this is very resource intensive since you have to break up encryption and stuff).

Properly not worth it for the task you described. Simply add a DNS whitelist to AdGuard or manually unblock those domains causing issues.

Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by pessimizer on Sunday October 30, 2022 @08:03AM (#33393686)
If people can figure out which names resolve to ads and block them, people can figure out which names resolve to tracking pixels and send it to a server that will hand back a pixel.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by bathtub365 on Sunday October 30, 2022 @08:08AM (#33393711)
Which proxies break encryption for you?
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by fomine3 on Monday October 31, 2022 @01:57AM (#33402500)
AdGuard develops many products, some of them supports TLS MiTM
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by mekster on Monday October 31, 2022 @04:09PM (#33412201)
You can override settings for specific clients.
Re:AdGuardHome: Network-wide ads and trackers blocking DNS s... by Frenchgeek on Sunday October 30, 2022 @05:13AM (#33392640)