this post was submitted on 29 Dec 2023
633 points (97.2% liked)

linuxmemes

20717 readers
2756 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] Kase@lemmy.world 49 points 8 months ago* (last edited 8 months ago)
[–] possiblylinux127@lemmy.zip 27 points 8 months ago (1 children)
[–] ObsidianZed@lemmy.world 28 points 8 months ago (6 children)
load more comments (6 replies)
[–] lightnegative@lemmy.world 15 points 8 months ago (6 children)

I don't bother with PiHole because DNS-based ad blocking quite frankly sucks and is only getting worse.

I'm still waiting for someone like AdGuard to release a MITM proxy that does something similar to uBlock Origin and strips ads directly from the network traffic

But until then, browser extensions are good enough for most usecases (Firefox user so the adblocking ones work on mobile as well)

load more comments (6 replies)
[–] Cihta@lemmy.world 9 points 8 months ago (2 children)

I've used Pihole for so long.. I bought the original pi as a curiosity but Pihole was best use of it.

Here is the problem though, which i assume applies to all adblockers: everything is now "sponsored links". Google, Amazon, etc. They are of course blocked which is getting really frustrating.

So what do we do now? Is there a way to just send fake telemetry? Saw VLANs mentioned. Is that the way? I'm getting older and life gets busier and it's harder for me to keep up on this.

[–] rtxn@lemmy.world 6 points 8 months ago (2 children)

Privacy Badger, if you want to try to reduce your tracking data.

Privacy Possum, if you want to send bullshit tracking data to cost companies money.

[–] Lime66@lemmy.world 2 points 8 months ago

ad nauseam can do something similar

load more comments (1 replies)
[–] Fuzzypyro@lemmy.world 3 points 8 months ago

I get around it by using an alternative search engine such as searxng.

[–] Octopus1348@lemy.lol 8 points 8 months ago (1 children)

My block ads Magisk module:

[–] SaltyIceteaMaker@iusearchlinux.fyi 1 points 6 months ago (1 children)

Well you can't just say

My block ads Magisk module:

without providing the name/link

[–] Octopus1348@lemy.lol 1 points 6 months ago (1 children)

IDK I just found it in a Telegram group, but a simple search can find you what you want.

Well i don't exactly trust a website that i have never seen before with root access to my phone (well their application anyways)

[–] pewpew@feddit.it 7 points 8 months ago (3 children)

Does YouTube trigger his anti-adBlock with a piHole?

[–] LazaroFilm@lemmy.world 35 points 8 months ago

YouTube ads come from the same server as the content so you can’t isolate them with pihole

[–] Ashiette@lemmy.blahaj.zone 19 points 8 months ago

No because pi-hole does not block YT ads

[–] Breakyfix@lemmy.blahaj.zone 3 points 8 months ago

uBlock Origin on Firefox still works great if you keep the filters up to date every once in a while c:

[–] feecoomeeq@lemmy.world 7 points 8 months ago (1 children)

And there's also AdBlock plugin in OpenWRT

[–] akrot@lemmy.world 1 points 8 months ago

I never could figure out how well it works. It is enabled along side openvpn, but van't figure out hif it works.

[–] Rooki@lemmy.world 6 points 8 months ago (1 children)

Tell me, what is your most reliable ad list source?

[–] lemann@lemmy.dbzer0.com 12 points 8 months ago

Personally I use Stevenblack's default one, in combination with a personal one that i've curated since 2019. Previously I used to use MVPS, however that list's included in the SB default.

Stuff that tends to slip through the cracks with a lot of the common lists includes things like admiral 🤬, user session recorders, and app monitoring platforms like sentryio (useful for development, but I didn't consent my activity being recorded). There's also Bauer Media Group garbage that I've resorted to creating firewall packet inspection rules for, because they're using a subdomain technique that's even worse than Admiral's autogenerated domains - at least with those you can use DNS analysis tools like dnsdumpster to uncover the rest of autogenerated domains in that batch

[–] Faresh@lemmy.ml 4 points 8 months ago (5 children)

I don't quite understand the use-case for the pi-hole. Why use it, when one could simply use something like µBlock Origin?

[–] A_Random_Idiot@lemmy.world 9 points 8 months ago (1 children)

cant use adblocking on xbox/roku/etc.

pihole blocks ads on those.

[–] AspieEgg@lemmy.blahaj.zone 5 points 8 months ago

They are kind of two separate things.

Pi-Hole will work on literally every device on your network. It can block ads on smart TVs, cell phones, etc. It can prevent certain forms of tracking on video doorbells, voice assistants, cameras, etc. You can also set up custom DNS to restore online service to old game consoles or to host web services at home.

You also get all the metrics. For example, I can see that my computer reaches out to my printer several times a minute and that the Oculus app for my Quest 2 was reaching out to its servers even when the app was “closed”.

You could also use it as a sort of parental control. It can provide one set of block lists to the parent’s devices and a different one to the kids devices. Or you could do the same with IoT devices so they are only allowed to reach out to the services they need to be able to run.

uBlock is still important though. It’s possible to get around a DNS filter like Pi-Hole by serving ads from the same domain that the core service is served through. uBlock Origin can do things like block YouTube ads for instance.

[–] Case@lemmynsfw.com 1 points 8 months ago

With a pi hole, you're basically setting up a DNS server that has built in abilities to stop ads.

What that means is, you can point your router (or any device really) at that DNS server (pi hole) to block ads.

Ublock is good.

Due to remote work constraints, a pi hole doesn't play nicely with their stuff and I can't be bothered to figure out a work around. Mostly because it's my wife's remote work, and their IT is hesitant to talk with me about it - I get it, I wouldn't do that at work (I'm in IT).

So I use ublock on Firefox on both my desktop and phone, plus I run through a VPN that blocks ads and malware for everything else. The VPN is a separate use case, but that's just an added benefit.

[–] Pyroglyph@lemmy.world 1 points 8 months ago

Speed and efficiency. Why waste time downloading ad content just for it to be hidden by the browser when you can simply stop them from being downloaded in the first place?

[–] Kiddkao@lemmy.dbzer0.com 1 points 8 months ago (1 children)

It blocks ads in apps on your cell phone too, not just in browsers

[–] RGB3x3@lemmy.world 1 points 8 months ago

Can do that with Adguard's DNS too. It's what I use, which also works on mobile networks.

[–] ColeSloth@discuss.tchncs.de 4 points 8 months ago (2 children)

You run into issues where the website detects what you're doing and blocks your access? It happens if I use ad blocking through my vpn.

[–] vpklotar@lemmy.world 3 points 8 months ago

It's happens sometimes but I must say, not very often. I could probably count on one hand how many times that have happened through my many years of using pihole.

[–] Dehydrated@lemmy.world 1 points 8 months ago

Ublock Origin should prevent this, it's better than any other adblocker

[–] ugjka@lemmy.world 4 points 8 months ago (1 children)
[–] moon@lemmy.cafe 1 points 8 months ago

At that point just set your Android's private DNS to "base.dns.mullvad.com" or "dns.adguard.com". It'll save you a VPN slot and save battery.

[–] GlitchyDigiBun@lemmy.dbzer0.com 3 points 8 months ago (5 children)

I've wanted to do this for some time, but everyone tells me there's no way to make it work without constantly updating the blacklist. Is it really such a hassle?

[–] ratman150@sh.itjust.works 8 points 8 months ago

No lol It's so low maintenance that it took me about a month to figure out why it kept crashing. The answer was completely my fault as I forgot I gave the container running it only about 8gb of disk space and it filled up.

I only log into the console to check some metrics/verify no issues/run updates and I maybe do that once every 3 months. I don't have my pi-hole set up the same way as the basic tutorial but as far as lists go I just subscribed and forgot.

Worth noting my pihole is really only good for banner ads or ads that rely on DNS. YouTube ads require a clientside adblocker so far.

[–] ApathyTree@lemmy.dbzer0.com 7 points 8 months ago

I forget about mine until I need to log into it to allow/block something, then I run my updates if I remember to think about it.

So like once every few months at best. Usually 2x/yr. Still works fine.

[–] AspieEgg@lemmy.blahaj.zone 2 points 8 months ago

You can install community blacklists on it that it automatically downloads each day.

Here’s a popular set of lists that allows you to pick which lists you want. https://github.com/blocklistproject/Lists

[–] DeLift@feddit.nl 1 points 8 months ago

Well, if you use big "aggressive" lists, you'll find that it blocks a lot including stuff you actually do want to see, then you have to comb through the recently blocked list and whitelist that which you actually need.

OR, you only use the oisd.nl list, which is supposed to keep everything you do wish to use in a working state. I have used it for years now I have yet to whitelist something. Once a year I update the pihole, but otherwise don't touch it.

[–] scytale@lemm.ee 1 points 8 months ago

You can start with a DNS blocker in the meantime. It’s just configuring your router to use an ad-blocking DNS server like Mullvad, Control D, or Aha for example. No additional hardware, tools, or setup required. Then when you’re ready, you can try setting up a pihole.

[–] rattking@lemmy.ml 3 points 8 months ago

I'm a pfBlockerNG guy myself. I believe it does just about the same thing where it prevents DNS lookups of blacklisted domains. It also does ip blocking of known bad ips, it can do this because it runs directly on my firewall. Although pfsense is freebsd and not linux.

[–] crsu@lemmy.world 1 points 8 months ago

When I want an ad gone, I reach for brand name soda. Brand name soda, it means you're smart.

load more comments
view more: next ›