gdr / tuntox (public) (License: GPLv3) (since 2017-01-24) (hash sha1)
Tunnel TCP connections over the Tox protocol
List of commits:
Subject Hash Author Date (UTC)
Added tokssh wrapper script 967a260e4fb84659424e9b81cc7f6318380ae02d GDR! 2014-12-13 17:49:14
More robust connection algorithm 4f28d0b194fdd9607955f2e32de44f8fbf5d7d31 GDR! 2014-12-13 17:24:39
Added -lrt for old glibc versions like raspbian 9f66ecc193b1bca4eac19f178123215340c9cb14 GDR! 2014-12-13 17:24:10
Pipe mode working, yay! 99a66836911b804dce1455580cbf75dc99f23538 GDR! 2014-12-11 22:27:26
Added MSG_NOSIGNAL to send() in client c9f51df320380a537843145ebbf4ceff7ef1c561 GDR! 2014-12-11 21:33:27
Fixed a warning and printing garbage 925a7c2bdf93c3a0209552285b77e2e585a799c4 GDR! 2014-12-11 21:31:49
Fixed a warning and printing garbage f7f5170d00ee10affcacf569842207120a7ab16d GDR! 2014-12-11 21:30:51
Fixed server-side SIGPIPE 946e3fa1907217a0717978ac98b32ce1ee7c23ac GDR! 2014-12-11 21:24:16
Added handle_server_tcp_fin_frame 169a478762d6863782395acff8c9f53b733048f5 GDR! 2014-12-11 21:19:32
Added systemd and supervisord config files ea3d59d854108f28c2d2d10a5af60fe3d66e1f6f GDR! 2014-12-11 20:33:54
Removed the const qualifier from frame->data d81429c916e41958483256556dea861cb97487c4 GDR! 2014-12-11 19:57:32
Updated the IP of MVPS bootstrap node fbe7d5d1b54b0c67d644ad68ca37088f529d150f GDR! 2014-12-11 19:56:04
Got rid of some dead code a60a3712c46bcef7dbb9c56c84693d070230c91b GDR! 2014-12-11 19:47:19
Make localhost work even if regular name resolution fails eee06b7d149e00a79897c1d17b0264af99e5149e GDR! 2014-12-11 19:38:38
Readme tweaks 6bb15840b0bde8e5949e76873aec418f2b64951f GDR! 2014-12-11 18:41:19
License 0974ae043fe15596554512560f72a0a08863e282 GDR! 2014-12-11 18:37:29
mention build.md 13f31613c0a89007baef47d8e4d5d1e47c4d4ff9 GDR! 2014-12-11 18:32:25
Help on -C switch ab22ba6bcbc395527950fcb9743080c651ab5ef8 GDR! 2014-12-11 18:31:13
Bare bones documentation aada851bb2c5576ba9afb1a486ea4b01e0c05ac3 GDR! 2014-12-11 18:30:14
Initial commit 4c36e3b71adab6e9f3f08fda3b5c7bf5714ef201 GDR! 2014-12-11 13:27:41
Commit 967a260e4fb84659424e9b81cc7f6318380ae02d - Added tokssh wrapper script
Author: GDR!
Author date (UTC): 2014-12-13 17:49
Committer name: GDR!
Committer date (UTC): 2014-12-13 17:49
Parent(s): c1039702ef31852172062348b3bb24c6c4912228
Signer:
Signing key:
Signing status: N
Tree: 50735609572433d860610b26672ffb71925f8545
File Lines added Lines deleted
scripts/tokssh 31 0
File scripts/tokssh added (mode: 100755) (index 0000000..ef44e3c)
1 #!/bin/bash
2
3 #
4 # A simple wrapper to use like SSH
5 # Usage:
6 # tokssh user@5A40C3443ABD6E1DDEE682E83F84A4D556C24C22D2230DCC141A4723C123473C171A4D9C4054
7 # tokssh 5A40C3443ABD6E1DDEE682E83F84A4D556C24C22D2230DCC141A4723C123473C171A4D9C4054
8 # tokssh -p 2222 -o ForwardAgent=yes user@5A40C3443ABD6E1DDEE682E83F84A4D556C24C22D2230DCC141A4723C123473C171A4D9C4054
9
10 array=( $@ )
11 len=${#array[@]}
12 userhost=${array[$len-1]}
13 args=${array[@]:0:$len-1}
14
15 arruserhost=(${userhost//@/ })
16 arruserhostlen=${#arruserhost[@]}
17
18 if [ $arruserhostlen -gt 1 ]
19 then
20 # last argument is user@toxid
21 user=${arruserhost[0]}
22 toxid=${arruserhost[1]}
23 ssh -o ProxyCommand="tuntox -i $toxid -P 127.0.0.1:%p" $args $user@localhost
24 else
25 # last argument is just toxid
26 ssh -o ProxyCommand="tuntox -i $toxid -P 127.0.0.1:%p" $args localhost
27 fi
28
29
30
31 #ssh -o ProxyCommand='tuntox -i %h -P 127.0.0.1:22' $args %r@localhost
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/gdr/tuntox

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/gdr/tuntox

Clone this repository using git:
git clone git://git.rocketgit.com/user/gdr/tuntox

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main