News for hackers. Stuff that matters.
Re:Amazon follows Google and Apple and bans system-wide ad b... by Lownin on Thursday May 31, 2018 @01:36PM (#17198326)
How do you deal with https traffic? Wouldn't you need to MITM proxy everything and install CA certs on the client? And wouldn't that reduce client side security since all certs would be signed by the same CA?
Re:Amazon follows Google and Apple and bans system-wide ad b... by Mister_Snuggles on Thursday May 31, 2018 @01:44PM (#17198403)
Pi-Hole is just a DNS-based adblocker. It returns 127.0.0.1 (I believe) for ad-serving domains, so it happens before https even starts to be negotiated.
Re:Amazon follows Google and Apple and bans system-wide ad b... by dredmorbius on Thursday May 31, 2018 @02:57PM (#17199028)
Actually, the local address of your Pi-Hole server, though that's configurable.

https://docs.pi-hole.net/ftldns/blockingmode/

For hosts files, 0.0.0.0 is generally preferred, which marks the host as unreachable, rather than localhost (127.0.0.1, etc.), which might well recieve and try to process the request.

https://serverfault.com/a/300410

Re:Amazon follows Google and Apple and bans system-wide ad b... by Mister_Snuggles on Friday June 01, 2018 @04:37PM (#17209968)
Neat! I'm going to have to play with that a bit.

I'm using the defaults, but from the sounds of the documentation having it return 0.0.0.0 might be beneficial. It certainly explains some weirdness that I've seen when using Pi-Hole.

Thanks!

Re:Amazon follows Google and Apple and bans system-wide ad b... by 0xfeba on Thursday May 31, 2018 @02:06PM (#17198576)
DNS isn't (yet) encrypted. It happens before HTTPS is negotiated.
Re:Amazon follows Google and Apple and bans system-wide ad b... by Max_aaa on Thursday May 31, 2018 @01:44PM (#17198410)
PiHole acts as a local DNS server. So it blocks ad network domains.