Live data from Hacker News

Pi-hole – A black hole for Internet advertisements

pi-hole.net

111–120 of 320 posts

Re: Pi-hole – A black hole for Internet advertisements

#111
post #21

The installation shortcut given is curl -sSL https://install.pi-hole.net | bash and one is expected to execute this as root. Yes, I know this is supposed to be a convenience thing, but I wish people wouldn't actively encourage this pattern.

from the article: > Our code is completely open, but piping to bash can be dangerous. For a safer install, review the code and then run the installer locally.

Instead of writing that, they should first use cURL, and then sh, without any piping. See http://unix.stackexchange.com/a/339276

That way, it is the same as running cURL without piping the output to bash, so people can easily check the code without worrying if the server is sending them different code when they pipe to bash

Re: Pi-hole – A black hole for Internet advertisements

#112
Cool project! Great idea and nice UI. I have tried recently and it works fine with HTTP.

The problem is with ads served via HTTPS and since today most of the pages are using HTTPS protocol pi-hole is kinda useless.

For reference on this topic https://discourse.pi-hole.net/t/websites-hanging-timing-out-...

Re: Pi-hole – A black hole for Internet advertisements

#114
Cool project! Great idea and nice UI. I have tried recently and it works fine with HTTP.

The problem is with ads served via HTTPS and since today most of the pages are using HTTPS protocol pi-hole is kinda useless.

For reference on this topic https://discourse.pi-hole.net/t/websites-hanging-timing-out-...

Re: Pi-hole – A black hole for Internet advertisements

#115
post #20

Earlier quoted context omitted.

Unless you've audited the source, a manual install isn't any better.

Hence why I merely opposed actively encouraging this pattern. I can't stop people from doing potentially dangerous things, but I don't have to promote those things, either.

I don't think the other way is inherently any safer, because people don't tend to actually audit their sources to begin with.

Re: Pi-hole – A black hole for Internet advertisements

#116
post #72

Earlier quoted context omitted.

yep, the name does explain itself, but "pi" and the logo are hinting at raspberry pi

It might just be it was initially made for Raspberry pi and then expanded over time

This is the correct answer.

Re: Pi-hole – A black hole for Internet advertisements

#117
post #113

Stupid question: how does it work when the majority of traffic is through SSL, making a request to an ad and a request to actual content indistinguishable? I don't think all websites serve ads from a different host. Do they?

No such thing as stupid questions, but ads are usually served through a specific domain, which can be blocked, even with SSL

Re: Pi-hole – A black hole for Internet advertisements

#118
post #113

Stupid question: how does it work when the majority of traffic is through SSL, making a request to an ad and a request to actual content indistinguishable? I don't think all websites serve ads from a different host. Do they?

As far as I can tell, it doesn't; they don't support blocking SSL traffic. Makes it kind of useless, I think.

Re: Pi-hole – A black hole for Internet advertisements

#119

For anyone interested in a cross-platform single-binary alternative to Pi-hole, I've been hacking on this: https://github.com/seedifferently/nogo (Disclaimer: I am the author of nogo)

1. Add subscriptions to popular lists like in AdBlock/uBlock with autoupdating and people will start using it.

2. Prevent sites from manipulating the list via CSRF.

3. Packages/Installers with installation as a service/daemon would be a plus.

Re: Pi-hole – A black hole for Internet advertisements

#120
post #61

Earlier quoted context omitted.

Ad blockers do a lot more than just block domains. They look for and remove divs/DOM elements that contain known ad naming schemes and remove them from the page. And if a site decides to start combating the ad blockers, the adblock list providers will update their rules specifically for the site in question. Adblock users get upset whenever they see ads, and report them pretty quickly. The business I work for tried b…

Start loading essential content via AJAX?

How about eschewing shitty ad networks and actually delivering relevant ads?
Post reply on HN