this post was submitted on 03 Jul 2023
551 points (97.6% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54476 readers
514 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

period

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 52 points 1 year ago (4 children)

For additional content, you can accomplish ad blocking in a number of ways. The ones that immediately spring to mind:

  • browser extension: most modern browsers have some extension framework available. I've been using ublock origin for a number of years with reasonable results
  • VPN: some VPNs include ad blocking as a side benefit to their primary function. Nord doesn't seem to block ads on all mobile apps or is at least inconsistent in my experience
  • Network packet filter/PiHole: this has been on my to-do list for a while. Catches network traffic that looks like ads before it even reaches your device. Most involved and least portable
[–] [email protected] 21 points 1 year ago (1 children)

I've had some good results with NextDNS, as well

[–] [email protected] 15 points 1 year ago (1 children)

I’ve been using NextDNS for over a year now and it’s great. Been using that with hagezi pro block list with great results and minimal breakage.

[–] [email protected] 5 points 1 year ago (1 children)

Any idea if it runs DNS over TLS? I’d prefer my DNS requests be encrypted.

[–] [email protected] 10 points 1 year ago

Sure does. You can also do DNS-over-HTTPS. I have a 100% encrypted DNS request rate across all my devices and anything behind my router.

[–] [email protected] 13 points 1 year ago (1 children)

The only option (other than mitm-ing yourself and stripping ads from the html maybe) for blocking first party ads or spoofed first party ads is ublock origin on firefox

dns filtering can only block domains, ublock does full cosmetic filtering.

[–] [email protected] 1 points 1 year ago (1 children)

Ive been using DNS filtering for years and many sites actually collapse the advert space when it’s not used, and while a plug-in certainly can improve the UI, the DNS blocking also disables the resulting tracking, the network requests still happen with the plugins.

Additionally DNS filtering happens outside of a browser as well, so will block ads in literally every app as well, when setup correctly it’s also device independent.

When I still ran my own PiHole, there where days where as much as 60% of the traffic was adverts and trackers.

DNS filtering also extends to blocking things like malware and spam domains

[–] [email protected] 1 points 1 year ago

https://github.com/gorhill/uBlock/wiki/About-%22Why-uBlock-Origin-works-so-much-better-than-Pi%E2%80%91hole-does%3F%22 You are not correct. Ublock Origin is superior for tracking protection and also stops the network requests. DNS adblocking cannot stop first party tracking or ads.

[–] [email protected] 8 points 1 year ago (2 children)

A Pi-hole is easy to set up if you already have a Raspberry Pi and a router that supports changing the DNS (I had one that was rented from an ISP that didn't).

[–] [email protected] 5 points 1 year ago (1 children)

Love my pihole. Didn’t help with YouTube, which is the latest ad scandal.

[–] [email protected] 3 points 1 year ago (1 children)

Yeah, sites that hosts their own ads like yt can’t be blocked by dns-level blocking for the most part. You end up blocking yt itself.

On that front you need ublock in browser (for now) or a modded app like revanced on android, uyou on iOS, smarttubenext on firestick, etc.

[–] [email protected] 1 points 1 year ago

Firefox Focus works on iOS as well, as does Safari with Focus’ Adblock rules imported!

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

It is. And even if you wanted to localize it to specific devices, there's also a standalone version. I'm using it on my laptop with Arch and it's pretty good. Adblocking on the go, or if you don't want (or can't) mess with the router for some reason.

[–] [email protected] 6 points 1 year ago (2 children)

can you run pihole in VM? it would be practical for these weirdos that already use VM as a daily driver

[–] [email protected] 3 points 1 year ago

I believe so as long as your VM has an IP address reachable by the devices you want to use it for.

I'm not sure if you'd want to employ it as your DHCP server though. You may get a chicken and the egg problem there.

[–] [email protected] 2 points 1 year ago (2 children)

It was originally developed to run on a raspberry pi so most installers are Linux based. There is no installer for windows but you could run pinole on Docker Desktop in a VM.

[–] [email protected] 5 points 1 year ago (2 children)

If you’re running it using Docker, that’s a container not a VM. And that IS the way you would want to run it, in a container. They’re easy to set up, easy to use, and easy to maintain.

[–] [email protected] 4 points 1 year ago

I meant you could run pihole as a container in docker on a windows VM if you really wanted to. Personally I run it on a docker instance and also on a dedicated LinuxVM on a seperate host for redundancy, but that's probably overkill.

[–] [email protected] 0 points 1 year ago (1 children)

Yeah but Docker Desktop uses a VM, either in WSL2 or Hyper-V. Docker Engine on Linux doesn't use a VM and that's what's typically used for hosting services.

[–] [email protected] 3 points 1 year ago (1 children)

The way, what was stated, was stated, indicated that docker runs virtual machines. It doesn't. It runs containers, right?

[–] [email protected] 1 points 1 year ago (1 children)

Docker is a container platform. Docker Engine is the container host for Linux and Docker Desktop uses a virtual machine to run Docker Engine and containers in that VM.

For example, if you use Docker Desktop on Windows, Docker Desktop will run Docker Engine in a WSL2-based VM and then run containers inside that.

[–] [email protected] 3 points 1 year ago (1 children)

First, stop talking to me like I don’t know this already. Second, these facts don’t make me wrong or you right. The implication of what was said is that you run VM’s on docker. The fact is, you don’t. Stop arguing.

[–] [email protected] 2 points 1 year ago (1 children)

can you run pihole in VM? it would be practical for these weirdos that already use VM as a daily driver

Ok, so what I was trying to say was this...

Dude does most of their work out of a VM rather than the host, and asks if they can also run pihole in that VM. I was trying to say "yeah, but it's a Linux app so either run docker from within the VM itself and run it as a container or spin up another separate VM"

But I agree. Not argument-worthy. There's no grounds for ackchyually-ing here.

[–] [email protected] 1 points 1 year ago

Makes complete sense. Thank for clarifying.

[–] [email protected] 1 points 1 year ago

i'll just spin up another debian vm then