r/pihole • • 13d ago

Blocking outbound data collection

Is there a way to block outbound data collection traffic from apps? This episode of the Markeplace program on CBC shows how a University of Calgary professor is studying the amount of data being sent to companies all over the world from mobile apps.
The app trap: Exposing where your data goes

45 Upvotes

18 comments sorted by

21

u/laplongejr 13d ago

Ofc. Simply block the domain those apps use. Most of the time the app won't work but it'll block outbound data collection.  

0

u/acitta 13d ago edited 13d ago

The question is how to know what domains are being used. The program I linked to showed people using a single app and the program showing on a big screen a map showing everywhere in the world that the app was sending data to. This was done by a university researcher, so nothing was mentioned in the program about how to find this data oneself. They used only 6 common apps used by the volunteers in the program.

2

u/mythic_device 13d ago

They have likely built their own software to isolate and visualize their research.

1

u/acitta 13d ago

Yes, for sure. I wonder if anyone has produced any open-source software to do something similar.

6

u/laplongejr 13d ago

For starters, you can't know "amount of data transferred" with DNS. That's asking the phone book how long you stayed in a call.  

1

u/acitta 12d ago

The main thing I want to know is which apps are doing what. The researcher was able to show what individual phone apps are doing. If one knows this, one can decide whether to delete a particular app or find an alternative. I already deleted The Weather Network, one of the apps shown in the program because I had 4 weather apps on my phone and WeatherCan has improved a lot so I could lose one. I also deleted grocery loyalty apps which also featured in the program. It would be nice to be able to show what other apps are doing individually.

1

u/iMrBilliam 12d ago

You should read every privacy policy, they explicitly say what they collect and what they do with it. Do you have a smart tv? It probably tracks what you watch, how long you watched, how often, when, where and if it has a microphone it can probably tell them with who.

1

u/PhilxBefore 12d ago

My phone book knows

3

u/SA_Swiss 12d ago

Paper phonebook, not the one on your actual phone

2

u/justinf210 13d ago

I think this kind of thing has to be done by a firewall/router at IP level, not a DNS blocker like Pi-Hole

2

u/acitta 11d ago

Some breaking news: REVEALED: TIM HORTONS APP SENDING SENSITIVE USER DATA TO ISRAELI CYBER-TECH COMPANY https://www.cjpme.org/pr_2026_11_17_tim_hortons_forter

6

u/Chemical_Inflation97 13d ago edited 12d ago

It depends what they're using to collect that info. Most of apps use the same analytics providers as every other tracker online. In that case, yes, pihole will block those calls if they're doing DNS lookups.

On the other hand, if they're using some homegrown thing served from the same place as the app content is, then it would be difficult to do without breaking the app.

You really have to know where the traffic is going before anyone can answer whether or not you can block it.

6

u/aoeudhtns 12d ago edited 12d ago

How far down the rabbit hole do you want to go?

Often, using DNS blocking can be effective. You need to make sure your devices don't have hardcoded alternate DNS; I use my router to reroute all outbound traffic on 53 to my pihole.

They may try using DoH (DNS over HTTPS) or DoT (DNS over TLS). For the latter, you can block all outbound 853 except originating from your PiHole. For the former, it's more difficult. Usually the main DNS responders run DoH (port 443) on the very same DNS servers. So you can block outbound 443 to all the common DNS responders and that will work fairly well but it's impossible to be complete.

Now, for telemetry going over domains with mixed use which makes it non-blockable from a DNS level, you'll need to consider alternates. If the device doesn't need the legitimate services of that domain, you could use groups in PiHole to block for those devices. Otherwise it will be quite difficult to partition the traffic. But usually I see telemetry services getting some unique name so I don't think this is too much of a worry.

ETA: Oh, and many of the telemetry collectors will keep logging it locally and wait until there's an opportunity to send it. So if it's blocked on your home network, but your device is mobile, it's likely to simply upload it all at once when it's on a network that is not blocking the endpoints. So keep that in mind too.

4

u/owlpellet 13d ago

Try enrolling for a service from an IP address in Berlin. Once you get GDPR = true attached to your account, it usually never leaves.

-1

u/Baybutt99 13d ago

Can you elaborate? What is GDPR?

8

u/aguynamedbrand 13d ago

I typed GDPR into Google and was able to get an answer immediately without having to wait for some random person on Reddit to post what it is.

2

u/Mendonesia 13d ago edited 13d ago

Found the American! Gdpr is a set of regulations in the eu about how your data can be used and much more. Kinda like the ccpa in California.

ETA that I’m just kidding about the American part. I just find that many don’t know about data rights in the US.

4

u/Isarchs 13d ago

Yes, by not using the apps that do this. Pihole blocks domains. If you block the domain of the app, you won't be able to use the app.

If the app uses third party domains for this, then yes, but that is very unlikely.