You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.1 KiB
Markdown

2 years ago
# googerteller
Audible feedback on just how much your browsing feeds into Google.
2 years ago
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.
2 years ago
Demo video [in this tweet](https://twitter.com/bert_hu_bert/status/1561466204602220544)
2 years ago
## 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:
2 years ago
```
cmake .
make
```
## How to run
2 years ago
```
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
2 years ago
```
And then cry.
2 years ago
## Problems
If `tcpdump` complains about `Warning: Kernel filter failed: Cannot allocate memory`, try
2 years ago
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](https://support.google.com/a/answer/10026322?hl=en).
Note that this splits out Google services and Google cloud user IP
addresses.