Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Move FAQ link up | 826ef1b9deea8d3f5f34ef523205571f8d9f5975 | GDR! | 2018-03-24 08:33:00 |
FAQ added | 62d56bb6f4fc69bf5f4387fe8bdbe56c1590eefe | GDR! | 2018-03-24 08:25:22 |
c-toxcore 0.2.0 compatible pkg-config lib deps | ef49516b967e1b3a1af777725554e5081ee0c688 | GDR! | 2018-03-12 19:59:44 |
Attempt at fixing double-free in issue #50 | a6e3e443c5b788c7d1b43a1f9118d772a5a18f8d | GDR! | 2018-02-06 11:57:33 |
pre-push hook to check gitversion.h against tag | b8c2242cafe33bda19c9774e2584be7508cb35f0 | Jiachen Yang | 2017-11-01 11:05:55 |
Generate gitversion.h only in git checkouts | 44a23bb83ced58f9bf9e4368c507a5af0113ba48 | GDR! | 2017-11-01 11:04:42 |
Bump version to 0.0.8 | c5438fbc05c1f2355c5484a2e67bc52531eb28cd | GDR! | 2017-11-01 10:52:34 |
Merge | 71604ecf9c48a95c4a7fb7241b3e5fe2418c0e81 | GDR! | 2017-11-01 10:46:37 |
Bump version to 0.0.8 | 8abb89fdfcd2aaf3ff8c93e269588c007e10e66a | GDR! | 2017-11-01 10:42:49 |
Added gitversion.h to repo | cce7a7f9af093d6e0a99c5848aa5fa3b967b6ebc | GDR! | 2017-11-01 10:38:17 |
Added gitversion.h to repo | dafb9eb53d91dae825615c19258b8ca06c777d10 | GDR! | 2017-11-01 10:37:03 |
renamed -P into -W in call to getopt | 4f509dc9a8dcb7e2ea63ac6da50a80e4f09c1cf5 | Yokujin Yokosuka | 2017-10-29 13:46:19 |
Remove -O0 used for debugging | b9799033b2d62c30647eceb9d175d9fbafca0fdf | GDR! | 2017-10-28 12:40:54 |
Fix use-after-free in server code (SIGBUS) | 3b5f9f9a42c637c4e699c0278318b97d277722af | GDR! | 2017-10-28 12:39:35 |
Update BUILD.md | 5ee6f6f015d4b462df4bdd11a2f64d2fbf2369c1 | GDR! | 2017-10-28 11:18:01 |
Travis - fix apt-get for ubuntu 14.04 | 83706eb59257fa069353ef2a2f2c12ab45d7c3f2 | GDR! | 2017-10-20 20:54:23 |
Rename -P to -W for consistency with SSH client | a2ad73a5b544459a3d0ee8c7e408ac058c040dc0 | GDR! | 2017-10-20 20:53:03 |
Bump versions and new deps in Travis | 77177d357b5bcb2e7fedabcceab3df085b73e9f0 | GDR! | 2017-10-20 20:50:10 |
Make build instructions more clear about dependencies | 55271d0f76bcb15cb70c50ac58c4cc1d865be459 | your_name_here | 2017-10-20 20:38:43 |
Makefile compatible with c-toxcore 0.1.10 | 00e059f854254cc7bc9722e3cc4f8450398f3ccc | GDR! | 2017-10-20 20:31:46 |
File | Lines added | Lines deleted |
---|---|---|
README.md | 4 | 4 |
client.c | 8 | 0 |
File README.md changed (mode: 100644) (index 33338c7..b1c263d) | |||
... | ... | The Tuntox Server can optionally allow only whitelisted ToxIDs. Supply *-i youra | |
74 | 74 | ||
75 | 75 | Tuntox is piggybacking on the Tox protocol, which itself has not been audited by security researchers. Tox crypto has been implemented with libsodium (which is based on Bernstein's NaCl) and thus uses the ecliptic curve 25519 for key exchange and salsa20 for stream encryption. According to the author's best knowledge, libsodium makes it as hard as possible to get crypto wrong, but we don't know until Tox has been audited. | Tuntox is piggybacking on the Tox protocol, which itself has not been audited by security researchers. Tox crypto has been implemented with libsodium (which is based on Bernstein's NaCl) and thus uses the ecliptic curve 25519 for key exchange and salsa20 for stream encryption. According to the author's best knowledge, libsodium makes it as hard as possible to get crypto wrong, but we don't know until Tox has been audited. |
76 | 76 | ||
77 | ## FAQ | ||
78 | |||
79 | [yes, there is one](FAQ.md) | ||
80 | |||
77 | 81 | ## License | ## License |
78 | 82 | ||
79 | 83 | Sorry about GPLv3 - both toxcore and utox (from which I borrowed some code) are GPLv3. | Sorry about GPLv3 - both toxcore and utox (from which I borrowed some code) are GPLv3. |
... | ... | Sorry about GPLv3 - both toxcore and utox (from which I borrowed some code) are | |
81 | 85 | Thank you to the toxcore and utox developers without whom this program would never exist. | Thank you to the toxcore and utox developers without whom this program would never exist. |
82 | 86 | ||
83 | 87 | Thank you Mr_4551 for your help and motivation. | Thank you Mr_4551 for your help and motivation. |
84 | |||
85 | ## FAQ | ||
86 | |||
87 | [yes, there is one](FAQ.md) |
File client.c changed (mode: 100644) (index aaa3f67..4bf109b) | |||
... | ... | int do_client_loop(uint8_t *tox_id_str) | |
260 | 260 | unsigned char tox_packet_buf[PROTOCOL_MAX_PACKET_SIZE]; | unsigned char tox_packet_buf[PROTOCOL_MAX_PACKET_SIZE]; |
261 | 261 | unsigned char tox_id[TOX_ADDRESS_SIZE]; | unsigned char tox_id[TOX_ADDRESS_SIZE]; |
262 | 262 | uint32_t friendnumber = 0; | uint32_t friendnumber = 0; |
263 | TOX_CONNECTION last_friend_connection_status = TOX_CONNECTION_NONE; | ||
264 | time_t last_friend_connection_status_received = 0; | ||
263 | 265 | struct timeval tv; | struct timeval tv; |
264 | 266 | fd_set fds; | fd_set fds; |
265 | 267 | static time_t invitation_sent_time = 0; | static time_t invitation_sent_time = 0; |
... | ... | int do_client_loop(uint8_t *tox_id_str) | |
357 | 359 | } | } |
358 | 360 | else | else |
359 | 361 | { | { |
362 | last_friend_connection_status_received = time(NULL); | ||
363 | |||
360 | 364 | if(friend_connection_status != TOX_CONNECTION_NONE) | if(friend_connection_status != TOX_CONNECTION_NONE) |
361 | 365 | { | { |
362 | 366 | const char* status = readable_connection_status(friend_connection_status); | const char* status = readable_connection_status(friend_connection_status); |
... | ... | int do_client_loop(uint8_t *tox_id_str) | |
570 | 574 | } | } |
571 | 575 | ||
572 | 576 | fds = client_master_fdset; | fds = client_master_fdset; |
577 | |||
578 | if(time(NULL) - last_friend_connection_status_received > 60) | ||
579 | { | ||
580 | } | ||
573 | 581 | } | } |
574 | 582 | break; | break; |
575 | 583 | case CLIENT_STATE_SHUTDOWN: | case CLIENT_STATE_SHUTDOWN: |