Live data from Hacker News

The Brotherhood of the Ad Blockers

bloomberg.com

41–50 of 299 posts

Re: The Brotherhood of the Ad Blockers

#41
"Alternative To /etc/hosts

You don't have to use the hosts file (or addn-hosts ), but performance starts to suffer once the list of domains gets past 120,000.

jacobsalmela says: June 24, 2015 at 06:53

It's partially due to the amount of domains on the lists controlled by the other sites. ~120,000 seemed to be the sweet spot. Once it got higher than that, the hosts format performed better. But a faster SD card can make a difference..."

https://jacobsalmela.com/2015/06/16/block-millions-ads-netwo...

The "list of domains" here is a list of domains to which the user does not want her computer to connect.

The author is suggesting list sizes over 120,000 begin to trigger performance issues, using this dnsmasq-based approach.

What about another "list of domains" that comprises all the ones to which the user does want to connect.

Would it be more or less than 120,000?

For over 15 years I have been running authoritative nameservers on the local network, using tinydns and later nsd, including a custom root.

cdb, the key-value store used in tinydns, on its own is useful for storing domain->ipaddr mappings. I can store lists up to 4GB.

If I understand correctly, the rough equivalent in Pi-Hole is perhaps serving /etc/hosts or some other list of hosts via dnsmasq. (I believe pdns_recursor can also serve /etc/hosts if I recall correctly.)

IME, controlling both /etc/hosts and authoritative DNS has made it very easy to block ads since they almost always rely on DNS.

However I use authoritative DNS as a substitute for recursive DNS.

/etc/resolv.conf lists authoritative nameservers, not resolvers.

As such, DNS is primarily used not to block but to selectively permit. (To build the zonefiles, I use a separate method for "prefetching" needed IP address in bulk that does not use recursive DNS. It has worked beautifully for over 15 years. On the local network I have encrypted DNS lookups via authoritative queries to CurveDNS-proxied authoritative nameservers; no recursive resolvers are needed.)

Foregoing recursive DNS, the approach is similar to a firewall ruleset where the default is to block everything. The user then adds specific rules to allow desired traffic (or in this case domain resolutions).

In other words, the approach I chose was to determine what domains I wanted to access instead of trying to identify every possible domain that needed to be blocked. Every domain is blocked by default until I allow it.

Although I have no need for Pi-Hole personally I would like to see it succeed. I am glad to see that other users taking an interest in DNS.

The reason I ask the question about the size of the "allow" domain list is that over 15 years I am not even close to reaching 120,000 domains. I wonder how many domains other users visit.

To rephrase the question again: If there are two lists of domains: 1. all the domains to which the user wants to allow and 2. all the domains she wants to block, then which is the larger list?

The answer will vary from one user to another.

Re: The Brotherhood of the Ad Blockers

#42
post #3

Is it me, or is pi hole way more popular than it should be? Compared to the alternatives, it's worse in almost every way. It only works on your local network, so good luck blocking ads while you're at work, using mobile data, or at a cafe. Browser based adblockers (which is available on most desktop browsers, mobile safari, and firefox for android) can block elements and url patterns, pi hole can't. Even if you're on…

>Even if you're on a browser that can't use adblock (mostly android)

The fuck?

Re: The Brotherhood of the Ad Blockers

#43

I run grimd (alternative) in the cloud. Then I can point my router and dns app at it when I'm out and about. The setup needs upgrading for DNS over https and maybe run it in Kubernetes?

Found it: https://github.com/looterz/grimd

Questions:

1) is this black hole concept sustainable? Or, does it require significant management, and is likely to be circumvented by serving content through a proxy anyway?

2) Why do you run this on the cloud? Don’t you then incur significant bandwidth costs? Or, if DNS only are there speed issues with your EC2 instance lagging?

Re: The Brotherhood of the Ad Blockers

#44
post #39

> Only a few years ago, even people who hated ads saw ad-blocking software as akin to stealing. I've been using ad blockers and NoScript plugins for longer than I can remember. Before that I was using /etc/hosts file based blocking. I've never felt like I was stealing nor do I know anyone that feels that way. On the contrary, I've always felt that content to display, and in particular code to execute, on my device is…

Do you not believe that content creators have the right to set the terms upon which their content may be consumed? In other words, if you write an article, you don't believe that you have the right to say "you may read this article, provided that you also display this ad"? If you don't want to see the ad, simply don't read the article. What makes you think you have the right to the content, without abiding its terms?

I say this as someone who uses an AdBlocker daily. Of course it's stealing. You're violating the contract you implicitly agree to when you visit the site. This may or may not have legal force, but it's clearly stealing. If you don't want to see ads, don't visit sites that have them. THAT is how you retain the sanctity of your experience and avoid stealing.

Re: The Brotherhood of the Ad Blockers

#45
post #39

> Only a few years ago, even people who hated ads saw ad-blocking software as akin to stealing. I've been using ad blockers and NoScript plugins for longer than I can remember. Before that I was using /etc/hosts file based blocking. I've never felt like I was stealing nor do I know anyone that feels that way. On the contrary, I've always felt that content to display, and in particular code to execute, on my device is…

Yeah, I found his statement very strange, too. The right not to read/watch what some corporation is pushing down my throat is quite fundamental and I'm not gonna give it up. Why on Earth should I feel guilty about it? It must be some projection by Bloomberg.

Re: The Brotherhood of the Ad Blockers

#47
post #44
post #39

> Only a few years ago, even people who hated ads saw ad-blocking software as akin to stealing. I've been using ad blockers and NoScript plugins for longer than I can remember. Before that I was using /etc/hosts file based blocking. I've never felt like I was stealing nor do I know anyone that feels that way. On the contrary, I've always felt that content to display, and in particular code to execute, on my device is…

Do you not believe that content creators have the right to set the terms upon which their content may be consumed? In other words, if you write an article, you don't believe that you have the right to say "you may read this article, provided that you also display this ad"? If you don't want to see the ad, simply don't read the article. What makes you think you have the right to the content, without abiding its terms?…

I'm going to need a Poe's Law check on this one. Sincere or satire?

Re: The Brotherhood of the Ad Blockers

#48
post #44
post #39

> Only a few years ago, even people who hated ads saw ad-blocking software as akin to stealing. I've been using ad blockers and NoScript plugins for longer than I can remember. Before that I was using /etc/hosts file based blocking. I've never felt like I was stealing nor do I know anyone that feels that way. On the contrary, I've always felt that content to display, and in particular code to execute, on my device is…

Do you not believe that content creators have the right to set the terms upon which their content may be consumed? In other words, if you write an article, you don't believe that you have the right to say "you may read this article, provided that you also display this ad"? If you don't want to see the ad, simply don't read the article. What makes you think you have the right to the content, without abiding its terms?…

This attitude is ridiculous. It's akin to saying I'm obliged to read a whole book.

Re: The Brotherhood of the Ad Blockers

#49
post #44
post #39

> Only a few years ago, even people who hated ads saw ad-blocking software as akin to stealing. I've been using ad blockers and NoScript plugins for longer than I can remember. Before that I was using /etc/hosts file based blocking. I've never felt like I was stealing nor do I know anyone that feels that way. On the contrary, I've always felt that content to display, and in particular code to execute, on my device is…

Do you not believe that content creators have the right to set the terms upon which their content may be consumed? In other words, if you write an article, you don't believe that you have the right to say "you may read this article, provided that you also display this ad"? If you don't want to see the ad, simply don't read the article. What makes you think you have the right to the content, without abiding its terms?…

"Of course it's stealing. You're violating the contract you implicitly agree to when you visit the site."

No it's not and no you aren't. Entering a public area isn't trespassing and there's no such thing as a contract you implicitly agree too.

Re: The Brotherhood of the Ad Blockers

#50
post #39

> Only a few years ago, even people who hated ads saw ad-blocking software as akin to stealing. I've been using ad blockers and NoScript plugins for longer than I can remember. Before that I was using /etc/hosts file based blocking. I've never felt like I was stealing nor do I know anyone that feels that way. On the contrary, I've always felt that content to display, and in particular code to execute, on my device is…

> On the contrary, I've always felt that content to display, and in particular code to execute, on my device is my decision and mine alone.

Absolutely. I reserve the right to decide what gets displayed on my computer, and what code runs. Websites can try to serve me stuff I don't want to see, but if they do, I am well within my rights to remove it.

That doesn't stop at ads, either. I often use my ad blocker's element hider to remove all the superfluous cruft that adorns so many websites. I don't want to see your social media sharing buttons, your half-page auto-playing videos, your cluttered sidebars, or enormous footers. And I definitely don't want to see your "Open in App" buttons that occlude the lower portion of your content.

If you want to ruin your site with user-hostile design, then fine, but that won't stop me from making it usable again on my device.

Post reply on HN