Go to file
bert hubert 2744d576a7 hook up workflow for tests 2022-08-29 16:12:57 +02:00
.github/workflows hook up workflow for tests 2022-08-29 16:12:57 +02:00
ext add the smallest test 2022-08-29 16:06:39 +02:00
.gitignore and docs for better setup 2022-08-23 10:25:40 +02:00
CMakeLists.txt add the smallest test 2022-08-29 16:06:39 +02:00
LICENSE Initial commit 2022-08-21 21:41:01 +02:00
README.md new version without iptables, plus config 2022-08-29 15:59:59 +02:00
cidr.py Add scripts for tracking single process 2022-08-23 12:59:10 +02:00
cloud.json add the google cloud list 2022-08-23 10:23:42 +02:00
goog-cloud-prefixes.txt add more google prefixes 2022-08-23 10:24:08 +02:00
goog-cloud-prefixes6.txt add more google prefixes 2022-08-23 10:24:08 +02:00
goog-prefixes.txt add preprocessed file 2022-08-21 23:36:55 +02:00
goog-prefixes6.txt add more google prefixes 2022-08-23 10:24:08 +02:00
goog.json initial 2022-08-21 22:48:40 +02:00
ipset-setup.sh and docs for better setup 2022-08-23 10:25:40 +02:00
netsendmsg.bt Add scripts for tracking single process 2022-08-23 12:59:10 +02:00
teller.cc new version without iptables, plus config 2022-08-29 15:59:59 +02:00
testrunner.cc add the smallest test 2022-08-29 16:06:39 +02:00
trackers.conf new version without iptables, plus config 2022-08-29 15:59:59 +02:00

README.md

googerteller

Audible feedback on just how much your browsing feeds into Google.

By bert@hubertnet.nl / https://berthub.eu/

Makes a little bit of noise any time your computer sends a packet to a tracker or a Google service, which excludes Google Cloud users.

Demo video in this tweet

How to compile

You need a C++ compiler like gcc-c++ and CMake for compiling the binary.

You also need to install libpcaudio (libpcaudio-dev on Debian/Ubuntu, pcaudiolib-devel on Fedora/Red Hat).

Then run:

cmake .
make

How to run

Start as:

sudo tcpdump -nql | ./teller

And cry.

Data source

The list of Google services IP addresses can be found on this Google support page.

Note that this splits out Google services and Google cloud user IP addresses. However, it appears the Google services set includes the cloud IP addresses, so you must check both sets before determining something is in fact a Google service and not a Google customer.

To run on a single process on Linux

Or, to track a single process, fe firefox, start it and run:

sudo bpftrace netsendmsg.bt |
    grep --line-buffered ^$(pgrep firefox) |
    stdbuf -oL cut -f2 | ./cidr.py | ./teller

And cry.