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)
Add -V for version check 5ebfd8865f820bd50fa74947f41bd914354bbc2f GDR! 2022-06-12 11:48:07
Fix tabs/spaces in main.c 0ba3dc62293ece11400673965b89a99d91d7e8ed GDR! 2022-06-12 11:42:29
Print --help to stdout instead of stderr ed9ce9cf470560562346445e5bc937701b0ac0ec GDR! 2022-06-12 11:41:20
Fix bitbucket deb build that was missing gitversion 0b01538c9bc8b1620385346dbc04bc8d4f06497b GDR! 2022-06-12 11:35:19
Update debian to 0.0.10.1 c1070d542c259b6c8c791d46365d19256d8e94e1 GDR! 2022-06-12 11:24:58
add LIB_DIR variable with default that can be overrided 4eda1442c458506158257341ab6d3fd4543288cc Arte Ebrahimi 2022-06-10 23:38:53
Fix deps on macOS makefile 365d2e5cbc0e3655fb64c204db0515f5f4cdf5a4 Will Cohen 2022-02-18 01:26:37
Fix mach on macOS e5a4f6aa23be2f6f4a419b8d65b36ec6e636991e Will Cohen 2022-02-18 01:23:59
Support IPv6 bootstrap nodes a646402f42e120c7148d4de29dbdf5b09027a80a GDR! 2021-12-24 10:37:23
Clean up merged code for JSON bootstrap nodes 7d45afdf7d00a95a8c3687175e2b1669fa1f7745 GDR! 2021-12-24 10:08:50
Added option to bootstrap from json file. 8a409731543aa2cdcba5035091e4f219d8603a76 Pietro Bonfa 2021-12-24 09:20:19
Add a break statement to silence Coverity 1e5c86a2b997f43117adbc18f8b1c16fed4c6eab GDR! 2021-12-10 10:33:02
Clean up indentation 0dc0012b699584828648ad5597ee17b77e275983 GDR! 2021-12-10 10:32:12
0.0.10 5923903d6e48e7990172f0d54394fa2bbc69ca9e GDR! 2021-12-07 08:58:46
Change docker-compose image address 18b0864c66767ed1f300f1f0ec2a2569b749c628 GDR! 2021-04-27 10:42:59
New docker image address at dockerhub 2e9e79947ecb9b62add1ff957d6b71a448d1d87b GDR! 2020-08-15 18:00:18
Add missing dockerfile d91e8ea5765bacfe3072d709d8c552d7f59f18d1 GDR! 2020-08-15 17:42:53
Perform a complete build inside Docker 92312438844988e45da6b1804cdb19ca7beef7bd GDR! 2020-08-15 17:19:52
Fix gcc warnings about strncpy a0fb587f1be623423db9d1e9882341731fab8ec5 GDR! 2020-08-15 16:50:44
Fix travis 07fd5cd5506b65afbd15c7289a341cb27da71114 GDR! 2020-08-15 16:36:25
Commit 5ebfd8865f820bd50fa74947f41bd914354bbc2f - Add -V for version check
Author: GDR!
Author date (UTC): 2022-06-12 11:48
Committer name: GDR!
Committer date (UTC): 2022-06-12 11:48
Parent(s): 0ba3dc62293ece11400673965b89a99d91d7e8ed
Signer:
Signing key: 557FAEF4E8799852
Signing status: E
Tree: d87bd28066fafa1cea50ebf52d24f3c5f83809dd
File Lines added Lines deleted
gitversion.c 6 0
gitversion.h 1 1
main.c 5 1
File gitversion.c changed (mode: 100644) (index 8d1bb5f..b5da768)
1 #include <stdio.h>
1 2 #include "gitversion.h" #include "gitversion.h"
2 3 #include "log.h" #include "log.h"
3 4
 
... ... void print_version()
7 8 { {
8 9 log_printf(L_INFO, "Tuntox built from git commit %s, toxcore version %d.%d.%d", gitversion, tox_version_major(), tox_version_minor(), tox_version_patch()); log_printf(L_INFO, "Tuntox built from git commit %s, toxcore version %d.%d.%d", gitversion, tox_version_major(), tox_version_minor(), tox_version_patch());
9 10 } }
11
12 void print_version_stdout()
13 {
14 printf("Tuntox built from git commit %s, toxcore version %d.%d.%d\n", gitversion, tox_version_major(), tox_version_minor(), tox_version_patch());
15 }
File gitversion.h changed (mode: 100644) (index 60a7510..a3aa42d)
1 #define GITVERSION "7d45afdf7d00a95a8c3687175e2b1669fa1f7745"
1 #define GITVERSION "0ba3dc62293ece11400673965b89a99d91d7e8ed"
File main.c changed (mode: 100644) (index 659efa7..ddc482b)
... ... void help()
1255 1255 fprintf(stdout, " -U <username|userid> - drop privileges to <username> before forking. Use\n"); fprintf(stdout, " -U <username|userid> - drop privileges to <username> before forking. Use\n");
1256 1256 fprintf(stdout, " numeric <userid> in static builds.\n"); fprintf(stdout, " numeric <userid> in static builds.\n");
1257 1257 fprintf(stdout, " -b <path> - bootstrap from Tox nodes in a JSON file like nodes.tox.chat/json\n"); fprintf(stdout, " -b <path> - bootstrap from Tox nodes in a JSON file like nodes.tox.chat/json\n");
1258 fprintf(stdout, " -V - print version and exit\n");
1258 1259 fprintf(stdout, " -h - this help message\n"); fprintf(stdout, " -h - this help message\n");
1259 1260 } }
1260 1261
 
... ... int main(int argc, char *argv[])
1275 1276
1276 1277 log_init(); log_init();
1277 1278
1278 while ((oc = getopt(argc, argv, "L:pi:C:s:f:W:dqhSF:DU:t:u:b:")) != -1)
1279 while ((oc = getopt(argc, argv, "L:pi:C:s:f:W:dqhSF:DU:t:u:b:V")) != -1)
1279 1280 { {
1280 1281 switch(oc) switch(oc)
1281 1282 { {
 
... ... int main(int argc, char *argv[])
1429 1430 case 'b': case 'b':
1430 1431 strncpy(boot_json, optarg, sizeof(boot_json) - 1); strncpy(boot_json, optarg, sizeof(boot_json) - 1);
1431 1432 break; break;
1433 case 'V':
1434 print_version_stdout();
1435 exit(0);
1432 1436 case '?': case '?':
1433 1437 case 'h': case 'h':
1434 1438 default: default:
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