Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,42 @@ By bert@hubertnet.nl / https://berthub.eu/

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).
You also need to install `libpcaudio` (`libpcaudio-dev` on Debian/Ubuntu, `pcaudiolib-devel` on Fedora/Red Hat, `pcaudiolib` in Arch Linux).

Then run:

```
```bash
cmake .
make
```

## How to run

```
```bash
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.

### Arch Linux

googerteller is available as a package in the Arch User Repository (AUR), you can install and run with the following commands:

```bash
git clone ssh://aur@aur.archlinux.org/googerteller-git.git
cd googerteller-git
makepkg -si
googerteller
```

## Problems

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

```
```bash
sudo sysctl net.core.optmem_max=204800
```

Expand Down