README.md: mention Arch Linux AUR package

This commit is contained in:
Axel Navarro 2022-08-22 16:37:48 -03:00 committed by GitHub
parent 98cb1d31f9
commit 4361960fdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,18 +8,18 @@ By bert@hubertnet.nl / https://berthub.eu/
You need a C++ compiler like `gcc-c++` and CMake for compiling the binary. 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: Then run:
``` ```bash
cmake . cmake .
make make
``` ```
## How to run ## 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 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
``` ```
@ -27,12 +27,23 @@ Replace `192.0.2.1` with the IP address of your default gateway (e.g. your Inter
And then cry. 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 ## 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:
``` ```bash
sudo sysctl net.core.optmem_max=204800 sudo sysctl net.core.optmem_max=204800
``` ```