Improve README
This commit is contained in:
parent
81e2b12273
commit
fa4eae4f04
2 changed files with 54 additions and 2 deletions
50
README.md
50
README.md
|
@ -30,7 +30,55 @@ sudo apt-get install -y \
|
||||||
|
|
||||||
## 2) Obtain binaries
|
## 2) Obtain binaries
|
||||||
|
|
||||||
|
Download the version you want here: https://cloud.deuxfleurs.fr/d/612993c04e9d40609242/
|
||||||
|
|
||||||
## 3) Run them
|
And extract the zip file:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
unzip donar*.zip
|
||||||
|
cd release
|
||||||
|
```
|
||||||
|
|
||||||
|
## 3) Callee
|
||||||
|
|
||||||
|
In a first terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./tor2 -f torrc_guard_12
|
||||||
|
```
|
||||||
|
|
||||||
|
In a second terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./donar -s -a lightning -l 12 -p 'fast_count=3!tick_tock=0!window=2000' -e 5000 -r 5000
|
||||||
|
```
|
||||||
|
|
||||||
|
In a third terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./dcall 127.13.3.7
|
||||||
|
```
|
||||||
|
|
||||||
|
Your "address" is contained inside the `onion_services.pub`, you must transmit it out of band to people that want to call you.
|
||||||
|
|
||||||
|
## 4) Caller
|
||||||
|
|
||||||
|
In a first terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./tor2 -f torrc_guard_12
|
||||||
|
```
|
||||||
|
|
||||||
|
In a second terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./donar -c -o onion_service.pub -a lightning -l 12 -p 'fast_count=3!tick_tock=0!window=2000' -e 5000 -r 5000
|
||||||
|
```
|
||||||
|
|
||||||
|
In a third terminal:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
./dcall 127.13.3.7
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,4 +6,8 @@ docker run \
|
||||||
-it \
|
-it \
|
||||||
-v `pwd`/release:/tmp/release \
|
-v `pwd`/release:/tmp/release \
|
||||||
registry.gitlab.inria.fr/qdufour/donar \
|
registry.gitlab.inria.fr/qdufour/donar \
|
||||||
cp /usr/local/bin/{tor2,tor3,dcall,donar,measlat} /tmp/release
|
cp \
|
||||||
|
/usr/local/bin/{tor2,tor3,dcall,donar,measlat} \
|
||||||
|
/etc/tor/{torrc_guard_12,torrc_guard_2,torrc_single_hop_12} \
|
||||||
|
/tmp/release
|
||||||
|
zip -r donar.zip release/
|
||||||
|
|
Loading…
Reference in a new issue