Merge pull request #9 from LenzGr/improve-readme
README.md: minor improvements
This commit is contained in:
commit
98cb1d31f9
18
README.md
18
README.md
@ -1,26 +1,35 @@
|
|||||||
# googerteller
|
# googerteller
|
||||||
audible feedback on just how much your browsing feeds into google
|
|
||||||
|
Audible feedback on just how much your browsing feeds into Google.
|
||||||
|
|
||||||
By bert@hubertnet.nl / https://berthub.eu/
|
By bert@hubertnet.nl / https://berthub.eu/
|
||||||
|
|
||||||
## How to compile
|
## How to compile
|
||||||
First install libpcaudio (libpcaudio-dev), then:
|
|
||||||
|
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 .
|
cmake .
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
## How to run:
|
## 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
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Replace `192.0.2.1` with the IP address of your default gateway (e.g. your Internet router).
|
||||||
|
|
||||||
And then cry.
|
And then cry.
|
||||||
|
|
||||||
## Problems
|
## Problems
|
||||||
If tcpdump complains about `Warning: Kernel filter failed: Cannot allocate memory`, try
|
|
||||||
|
If `tcpdump` complains about `Warning: Kernel filter failed: Cannot allocate memory`, try
|
||||||
this first:
|
this first:
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -28,6 +37,7 @@ sudo sysctl net.core.optmem_max=204800
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Data source
|
## Data source
|
||||||
|
|
||||||
The list of Google services IP addresses can be found on [this Google
|
The list of Google services IP addresses can be found on [this Google
|
||||||
support page](https://support.google.com/a/answer/10026322?hl=en).
|
support page](https://support.google.com/a/answer/10026322?hl=en).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user