tor_multipath_voip/README.md

55 lines
1.1 KiB
Markdown
Raw Normal View History

2019-02-08 10:59:21 +00:00
# Donar
2019-02-19 22:19:46 +00:00
## Linphone configuration
2019-02-08 17:23:59 +00:00
2019-02-19 22:19:46 +00:00
Choose a SIP UDP, Audio RTP/UDP and Video RTP/UDP that is different between your clients.
2019-02-21 08:09:01 +00:00
Go to manage account.
Add a new SIP proxy.
```
Username: <username>@127.13.3.7:<SIP_PORT>
Proxy: 127.13.3.7:<SIP_PORT>
Leave the rest empty.
Uncheck all the checkboxes.
```
2019-02-22 14:22:06 +00:00
## Docker build
```
sudo docker build -t registry.gitlab.inria.fr/qdufour/donar .
sudo docker push registry.gitlab.inria.fr/qdufour/donar
```
2019-02-22 16:45:48 +00:00
```
2019-03-05 15:13:08 +00:00
mkdir -p ./{xp1-shared,xp1-res}
sudo chown -R 1000 ./{xp1-shared,xp1-res}
sudo docker run -t -i \
--privileged \
2019-03-05 15:13:08 +00:00
-v `pwd`/xp1-shared:/home/donar/shared \
registry.gitlab.inria.fr/qdufour/donar \
xp1-server
sudo docker run -t -i \
--privileged \
2019-03-05 15:13:08 +00:00
-v `pwd`/xp1-res:/home/donar/res \
-v `pwd`/xp1-shared:/home/donar/shared \
registry.gitlab.inria.fr/qdufour/donar \
xp1-client 1000 100 100
2019-02-22 16:45:48 +00:00
```
## Run an XP instance
```
sudo ./scripts/xp1 1000 100 100
```
2019-03-06 17:32:19 +00:00
## Run instances in parallel
```
parallel -j 30 bash -c "./scripts/xp1 1000 100 100" -- `seq 1 1000`
parallel -j 10 bash -c "./xp1 6000 100 100" -- `seq 1 100`
```