2022-08-21 21:41:01 +02:00
|
|
|
# googerteller
|
|
|
|
audible feedback on just how much your browsing feeds into google
|
2022-08-21 22:48:40 +02:00
|
|
|
|
2022-08-22 00:07:55 +02:00
|
|
|
By bert@hubertnet.nl / https://berthub.eu/
|
|
|
|
|
2022-08-21 22:48:40 +02:00
|
|
|
## How to compile
|
2022-08-22 11:19:18 +02:00
|
|
|
First install libpcaudio (libpcaudio-dev), then:
|
2022-08-21 22:48:40 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
cmake .
|
|
|
|
make
|
|
|
|
```
|
|
|
|
|
|
|
|
## How to run:
|
|
|
|
|
|
|
|
```
|
2022-08-21 23:36:55 +02: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 22:48:40 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
And then cry.
|
2022-08-21 23:01:50 +02:00
|
|
|
|
2022-08-22 13:23:14 +02:00
|
|
|
## Problems
|
|
|
|
If tcpdump complains about `Warning: Kernel filter failed: Cannot allocate memory`, try
|
|
|
|
this first:
|
|
|
|
|
|
|
|
```
|
|
|
|
sudo sysctl net.core.optmem_max=204800
|
|
|
|
```
|
|
|
|
|
2022-08-21 23:01:50 +02:00
|
|
|
## 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.
|
2022-08-22 16:42:43 +02:00
|
|
|
|
|
|
|
## 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.
|