-d -d -d
switch (yes, three times) on both sides (client and server)backtrace full
in gdb console when it crashes-d -d -d
switch (yes, three times):tuntox -d -d -d -i ABDE4CF4541C27DBE36A812FF6752F71A9F44D1CF917CE489B30CC3D742500039B86C14F85F9
The actual p2p connection is made by the c-toxcore library. The way it works is: it tries to establish a direct connection between peers and falls back to TCP relays if that's impossible.
The direct connection code doesn't see much work and c-toxcore sometimes uses a TCP relay even when both peers have a public IP address and can reach each other directly.
Also please note that sometimes the connection improves after a few minutes as the peers discover each other.
You're going to get the best connection if you see the following message on the client:
2018-03-24 08:59:21: [INFO] Friend request accepted (An UDP connection has been established)!
The connection is likely to have worse latency when you see the following:
2018-03-24 08:57:21: [INFO] Friend request accepted (A TCP connection has been established (via TCP relay))!
There's, however, a chance that it will upgrade to UDP after a few minutes:
2018-03-24 10:17:06: [INFO] Friend connection status changed to: An UDP connection has been established
Wait until https://github.com/gjedeer/tuntox/issues/41 is implemented. This change should improve speed and latency in the 10 Mbit/s+ range.
I've made a Docker image by bundling a static build with Alpine Linux, but I don't think I'm going to remember to keep it up to date at all times. There's a Dockerfile and docker-compose.yaml.
The tox config is stored in /data
and that's where you want to attach your volumes.
docker run -e 'TUNTOX_SHARED_SECRET=myassfeelsweird' -v /tmp/tt:/data -it registry.gitlab.com/gjedeer/tuntox:latest
The binary is in /usr/bin/tuntox
(and /usr/bin/tokssh
):
docker run -e 'TUNTOX_SHARED_SECRET=myassfeelsweird' -it registry.gitlab.com/gjedeer/tuntox:latest /usr/bin/tuntox -i 1234abc -p
There's no native Windows version but, in the spirit of "just use Wine" answers, try the following:
You're a joke for not using NoScript.