Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Fixed default value for server whitelist mode | e682a05cf64ea85e30cb88a089fe220c2081e5da | GDR! | 2016-06-08 15:16:25 |
Documentation for #14 | e9393fb439f94461fdc665eb85af54f156e5be75 | GDR! | 2016-06-07 20:00:13 |
"Whitelist clients by pubkeys" mode, re-request friends | 1013b2aaeafa9112849df4e08bcced23cbd91fdf | GDR! | 2016-06-07 19:52:48 |
Remove FDs of closed tunnels from fdset | 816245f429145052b8908d500c64d372fc8c2972 | GDR! | 2016-06-07 18:42:45 |
Mention toxvpn | c2a78f48bd44613162a6e3c1d02cb53266611936 | GDR! | 2016-05-05 17:55:59 |
ProxyCommand explained | c17be222aa46a4cf1a9d19c0ae767697ad585fd3 | GDR! | 2016-05-05 17:50:05 |
Visible ToxID | 4f38371fd72ba889e39805b76a1a2402194b5398 | GDR! | 2016-05-05 17:46:06 |
Tuntox does fork! | 0d1230def56597b25bcd731346794058c66d3e7c | GDR! | 2016-05-05 17:45:25 |
Tox.chat 2 | 90990f49bda18d06c89fca0495b39726bd55a076 | GDR! | 2016-05-05 17:43:58 |
Tox.chat | 5b921bc92cf04773f8e5b08120e5850156fbb580 | GDR! | 2016-05-05 17:43:11 |
Possible fix for Issue #16 | cc633e9ad431850d298638dbcdcbf1e8a4dfdeb1 | GDR! | 2016-05-05 17:39:42 |
Fix build on non-mac platforms | 981501cf1e19d07a11e28cff99b9cd7c7b1d0b1d | GDR! | 2015-09-17 08:30:57 |
* fix: Possibility to compile on Mac OS platform | 199787953243d91449ac5f4a5ac16edc2497e438 | Dawid 'nCore' Opis | 2015-09-16 18:14:03 |
remove tox.im because it's evil | b57ae8b86109e6fe6f626d03ddeca79539d07822 | GrayHatter | 2015-08-08 00:45:31 |
Update README.md | 9226aa00b30e7af7a0122b0772cc3e20ae5b49d0 | GDR! | 2015-07-14 12:57:55 |
CID 122512 (#1 of 1): Resource leak (RESOURCE_LEAK)11. leaked_storage: | 5d9e9c5d9078d8d1987375e972282220d50b9328 | GDR! | 2015-07-08 10:04:52 |
off_by_one: Testing whether handle sockfd is strictly greater than zero | a6d788c45764afb4d172dd3c75dfe593b85b5dab | GDR! | 2015-07-08 10:02:12 |
Remaining coverity bugs | 5d387074214a9b9f7437bed4dcc02aab1f9abd7f | GDR! | 2015-07-07 17:39:47 |
CID 122498 (#1 of 1): Unchecked return value from library | 8ae485719161a1b1d33c5d777b2b2d4035c9ff06 | GDR! | 2015-07-07 17:35:36 |
CID 122499 (#1 of 1): Unchecked return value from library | 7262fd7141bdae8ae15c3f625988a7f26463cdb5 | GDR! | 2015-07-07 17:30:50 |
File | Lines added | Lines deleted |
---|---|---|
main.c | 3 | 3 |
File main.c changed (mode: 100644) (index 94f0396..c457397) | |||
... | ... | int use_shared_secret = 0; | |
48 | 48 | char shared_secret[TOX_MAX_FRIEND_REQUEST_LENGTH]; | char shared_secret[TOX_MAX_FRIEND_REQUEST_LENGTH]; |
49 | 49 | ||
50 | 50 | /* Only let in a whitelisted client */ | /* Only let in a whitelisted client */ |
51 | int server_whitelist_mode = 1; | ||
51 | int server_whitelist_mode = 0; | ||
52 | 52 | allowed_toxid *allowed_toxids = NULL; | allowed_toxid *allowed_toxids = NULL; |
53 | 53 | ||
54 | 54 | int load_saved_toxid_in_client_mode = 0; | int load_saved_toxid_in_client_mode = 0; |
... | ... | int main(int argc, char *argv[]) | |
1125 | 1125 | break; | break; |
1126 | 1126 | case 'i': | case 'i': |
1127 | 1127 | /* Tox ID */ | /* Tox ID */ |
1128 | server_whitelist_mode = 1; | ||
1128 | 1129 | allowed_toxid_obj = (allowed_toxid *)calloc(sizeof(allowed_toxid), 1); | allowed_toxid_obj = (allowed_toxid *)calloc(sizeof(allowed_toxid), 1); |
1129 | 1130 | if(!allowed_toxid_obj) | if(!allowed_toxid_obj) |
1130 | 1131 | { | { |
... | ... | int main(int argc, char *argv[]) | |
1190 | 1191 | min_log_level = L_INFO; | min_log_level = L_INFO; |
1191 | 1192 | } | } |
1192 | 1193 | ||
1193 | if(!client_mode && remote_tox_id) | ||
1194 | if(!client_mode && server_whitelist_mode) | ||
1194 | 1195 | { | { |
1195 | server_whitelist_mode = 1; | ||
1196 | 1196 | log_printf(L_INFO, "Server in ToxID whitelisting mode - only clients listed with -i can connect"); | log_printf(L_INFO, "Server in ToxID whitelisting mode - only clients listed with -i can connect"); |
1197 | 1197 | } | } |
1198 | 1198 |