2022-08-21 14:41:01 -05:00
|
|
|
# googerteller
|
2022-08-22 11:38:34 -05:00
|
|
|
|
|
|
|
Audible feedback on just how much your browsing feeds into Google.
|
2022-08-21 15:48:40 -05:00
|
|
|
|
2022-08-21 17:07:55 -05:00
|
|
|
By bert@hubertnet.nl / https://berthub.eu/
|
|
|
|
|
2022-08-23 00:32:25 -05:00
|
|
|
Makes a little bit of noise any time your computer sends a packet to a
|
|
|
|
Google service, which excludes Google Cloud users.
|
|
|
|
|
2022-08-22 15:07:07 -05:00
|
|
|
Demo video [in this tweet](https://twitter.com/bert_hu_bert/status/1561466204602220544)
|
|
|
|
|
2022-08-21 15:48:40 -05:00
|
|
|
## How to compile
|
2022-08-22 11:38:34 -05:00
|
|
|
|
|
|
|
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:
|
2022-08-21 15:48:40 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
cmake .
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
2022-08-22 11:38:34 -05:00
|
|
|
## How to run
|
2022-08-21 15:48:40 -05:00
|
|
|
|
|
|
|
```
|
2022-08-21 16:36:55 -05:00
|
|
|
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
|
2022-08-21 15:48:40 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
And then cry.
|
2022-08-21 16:01:50 -05:00
|
|
|
|
2022-08-22 06:23:14 -05:00
|
|
|
## Problems
|
2022-08-22 11:38:34 -05:00
|
|
|
|
|
|
|
If `tcpdump` complains about `Warning: Kernel filter failed: Cannot allocate memory`, try
|
2022-08-22 06:23:14 -05:00
|
|
|
this first:
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo sysctl net.core.optmem_max=204800
|
|
|
|
```
|
|
|
|
|
2022-08-21 16:01:50 -05:00
|
|
|
## Data source
|
2022-08-22 11:38:34 -05:00
|
|
|
|
2022-08-21 16:01:50 -05:00
|
|
|
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.
|