Go to file
joaolsd 7b370622c4
Merge 206c17f212 into 6f64db6529
2022-08-23 08:55:19 +03:00
.gitignore Updated .gitignore to ignore CMake generated files 2022-08-22 18:52:05 +02:00
CMakeLists.txt Changes to make it compile on Macos (with additonal libraru installed) 2022-08-22 16:42:43 +02:00
LICENSE Initial commit 2022-08-21 21:41:01 +02:00
README.md Merge 206c17f212 into 6f64db6529 2022-08-23 08:55:19 +03:00
goog-prefixes.txt add preprocessed file 2022-08-21 23:36:55 +02:00
goog.json initial 2022-08-21 22:48:40 +02:00
teller.cc Fix issue #4 2022-08-22 13:23:14 +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 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

sudo tcpdump -n -l dst net 192.0.2.1/32 $(for a in $(cat goog-prefixes.txt); do echo or dst net $a; done)  |  ./teller 

And then cry.

Problems

If tcpdump complains about Warning: Kernel filter failed: Cannot allocate memory, try this first:

sudo sysctl net.core.optmem_max=204800

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.

Macos

You will need to install the pcaudio library: https://github.com/espeak-ng/pcaudiolib#mac-os In turn this needs automake installed (from xcode or brew). With that it is standard install WIth libpcaudio in place, follow instructions above.