Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-20 | Adjusted some timeouts and fixed possible memory leak. | irungentoo | |
2014-01-19 | Some small improvements added. | irungentoo | |
2014-01-19 | Commented out now useless code. | irungentoo | |
2014-01-18 | Some optimizations and fixes. | irungentoo | |
2014-01-17 | Small performance increases. | irungentoo | |
2014-01-17 | Incorporated onion into Tox. | irungentoo | |
Fixed a couple of issues related to that. | |||
2014-01-16 | Wrote random_path function. | irungentoo | |
Added onion_client to the build system. | |||
2014-01-15 | onion_client almost done. | irungentoo | |
2014-01-14 | Some packet handling code added to onion_client. | irungentoo | |
2014-01-10 | Removed useless line. | irungentoo | |
2014-01-02 | Some work done on the onion announce part. | irungentoo | |
2013-12-27 | Another packet type added to onion.c | irungentoo | |
2013-12-16 | Astyled the code. | irungentoo | |
2013-12-15 | Code cleanups. | irungentoo | |
No functionality changed. | |||
2013-12-13 | Merge pull request #678 from FullName/retipp-fix | irungentoo | |
Fix a code cleanup. | |||
2013-12-12 | Merge branch 'assoc-refresh-distant-data' of ↵ | irungentoo | |
https://github.com/FullName/ProjectTox-Core into FullName-assoc-refresh-distant-data | |||
2013-12-11 | Fix a code cleanup. | Coren[m] | |
DHT.c: - get_close_nodes(): - allow two 'indirect' nodes ('indirect' as in distant from us and therefore not tested regularly, "bad") - be consequent when testing for NULLed results, pack nodes_list dense - (logging) dump number of found entries from assoc - returnedip_ports(): - fix code cleanup, the entry to be added is about the node we were told, not about the node who told us assoc.c: - Assoc_get_close_entries(): break from loops as soon as a marking-invalid-node is hit | |||
2013-12-11 | Increased some intervals/timeouts to lower network usage. | irungentoo | |
2013-12-08 | Cleaned up and fixed various things. | irungentoo | |
2013-12-08 | Send groupchat ips like DHT ones. | irungentoo | |
2013-12-08 | Compatibility fixes. | irungentoo | |
AF_INET/AF_INET6 can vary across devices, we introduce TOX_AF_INET and TOX_AF_INET6 to fix this. | |||
2013-12-08 | do_Assoc(): keep the data of the buckets somewhat current | Coren[m] | |
2013-12-07 | Small fixes. | irungentoo | |
2013-12-07 | Added/updated some basic docs and cleaned up some things. | irungentoo | |
2013-12-07 | Try to replace not tested/possibly bad nodes before good nodes. | irungentoo | |
2013-12-06 | Merge branch 'master' into harden | irungentoo | |
2013-12-05 | All nodes returned must be good. | irungentoo | |
2013-12-05 | Merge branch 'sendnodes-with-assoc' of ↵ | irungentoo | |
https://github.com/FullName/ProjectTox-Core into FullName-sendnodes-with-assoc | |||
2013-12-03 | get_close_nodes(): make use of assoc to find some really close nodes | Coren[m] | |
DHT.c: - get_close_nodes(): use assoc to find nodes for the requested reference id - handle_sendnodes*(): set a proper timestamp for "heard" nodes assoc.*: - expand Assoc_close_entries by flags for additional restrictions for search - Assoc_get_close_entries(): honor the new flags - new_Assoc() prime handling: min. prime is now 5 instead of 3, and up to 25 is handled directly - Assoc_status(): added address family for seen/heard, print of hash is now fixed width | |||
2013-12-02 | Don't hole punch when we are connected. | irungentoo | |
2013-12-02 | Fixed bug with hole punching. | irungentoo | |
2013-12-01 | Tweaked hole punching a bit. | irungentoo | |
2013-11-30 | The stuff in do_DHT only need to be run once per second. | irungentoo | |
Should lower CPU usage by a bit. | |||
2013-11-18 | Merge pull request #650 from FullName/ID-IP-basic | irungentoo | |
Significantly trimmed down version of an ID<=>IP cache. | |||
2013-11-17 | Nodes now only send good nodes (or the node that was specifically asked for). | irungentoo | |
2013-11-17 | Tolerate instable connectivity: if *all* set close nodes are in terminal ↵ | Coren[m] | |
timeout (KILL_NODE_TIMEOUT), reset them all to BAD_NODE_TIMEOUT. That keeps the client trying to at least ping the nodes in the hopes of the connection coming back up. | |||
2013-11-17 | Assoc's array is now allocated dynamically and per default much smaller (320 ↵ | Coren[m] | |
entries). id_hash() was not at all working as expected for very small bucket size (when (size / 4) was zero). Simplified to be trivially correct. Also added a used flag on adding an entry, which is set by callers if they have that association in active use. Those get priority over unused entries on collision. Fleshed out test to be at least elementary useful. Each group chat now uses an own, small assoc (80 entries). | |||
2013-11-14 | Significantly trimmed down version of an ID<=>IP cache. | Coren[m] | |
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving. | |||
2013-11-14 | On replacing a client with another, clear the stale association. | Coren[m] | |
Also check both associations for timeout, not just the incoming one. Also removed client_in_list(): static & unused. | |||
2013-11-10 | Fixed small issues. | irungentoo | |
DHT_test now only prints non zero entries. | |||
2013-11-10 | Added more printing to DHT_test, fixed typo. | irungentoo | |
2013-11-10 | Merge branch 'master' into harden | irungentoo | |
Conflicts: toxcore/DHT.c | |||
2013-11-07 | Merge branch 'add2lists_forward' of ↵ | irungentoo | |
https://github.com/FullName/ProjectTox-Core into FullName-add2lists_forward | |||
2013-11-06 | Unify most of handle_sendnodes[_ipv6]() into a common ↵ | Coren[m] | |
handle_sendnodes_core(), leave only a minimal trail. | |||
2013-11-06 | addto_lists(): store the IP/Port that was used to *send*. | Coren[m] | |
Avoids a DOS of sending a copy of a valid response with an invalid IP. | |||
2013-11-02 | Get node testing response packets are now handled. | irungentoo | |
2013-10-30 | Testing requests are now sent. | irungentoo | |
2013-10-28 | Merge branch 'master' into harden | irungentoo | |
Also removed some old, useless loading code. | |||
2013-10-28 | Removed some now useless code. | irungentoo | |
2013-10-27 | Added some hardening functions to test get nodes. | irungentoo | |