tor_multipath_voip/README.md

94 lines
1.3 KiB
Markdown
Raw Normal View History

2020-01-29 15:53:05 +00:00
# DONAR
2019-02-08 10:59:21 +00:00
2020-01-29 15:53:05 +00:00
## 1) Runtime dependencies
2019-03-15 16:16:27 +00:00
2020-01-29 15:53:05 +00:00
On Fedora:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
sudo dnf install -y \
glib2 \
2020-01-29 16:01:50 +00:00
gstreamer1 \
2020-01-29 15:53:05 +00:00
libevent \
zlib \
openssl \
libzstd \
xz-libs \
wget \
unzip
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
On Ubuntu:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
sudo apt-get install -y \
libglib2.0-0 \
libgstreamer1.0 \
gstreamer1.0-alsa \
gstreamer1.0-plugins-bad \
gstreamer1.0-plugins-good \
gstreamer1.0-plugins-ugly \
gstreamer1.0-pulseaudio \
libevent-2.1 \
zlib1g \
libssl1.1 \
zstd \
liblzma5 \
wget \
unzip
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
## 2) Obtain binaries
2019-03-15 16:16:27 +00:00
2020-01-29 15:53:05 +00:00
Download the version you want here: https://cloud.deuxfleurs.fr/d/612993c04e9d40609242/
2019-03-15 16:16:27 +00:00
2020-01-29 15:53:05 +00:00
And extract the zip file:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
unzip donar*.zip
cd release
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
## 3) Callee
2019-03-15 16:16:27 +00:00
2020-01-29 15:53:05 +00:00
In a first terminal:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
./tor2 -f torrc_guard_12
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
In a second terminal:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
./donar -s -a lightning -l 12 -p 'fast_count=3!tick_tock=0!window=2000' -e 5000 -r 5000
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
In a third terminal:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
./dcall 127.13.3.7
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
Your "address" is contained inside the `onion_services.pub`, you must transmit it out of band to people that want to call you.
2019-03-15 16:16:27 +00:00
2020-01-29 15:53:05 +00:00
## 4) Caller
2019-03-15 16:16:27 +00:00
2020-01-29 15:53:05 +00:00
In a first terminal:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
./tor2 -f torrc_guard_12
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
In a second terminal:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 16:17:44 +00:00
./donar -c -o onion_services.pub -a lightning -l 12 -p 'fast_count=3!tick_tock=0!window=2000' -e 5000 -r 5000
2019-03-15 16:16:27 +00:00
```
2020-01-29 15:53:05 +00:00
In a third terminal:
2019-03-15 16:16:27 +00:00
```bash
2020-01-29 15:53:05 +00:00
./dcall 127.13.3.7
2019-04-03 09:43:01 +00:00
```
2019-04-04 09:41:06 +00:00
2019-05-29 08:24:11 +00:00