summaryrefslogtreecommitdiff
path: root/toxcore/DHT.c
AgeCommit message (Expand)Author
2013-12-07Small fixes.irungentoo
2013-12-07Added/updated some basic docs and cleaned up some things.irungentoo
2013-12-07Try to replace not tested/possibly bad nodes before good nodes.irungentoo
2013-12-06Merge branch 'master' into hardenirungentoo
2013-12-05All nodes returned must be good.irungentoo
2013-12-05Merge branch 'sendnodes-with-assoc' of https://github.com/FullName/ProjectTox...irungentoo
2013-12-03get_close_nodes(): make use of assoc to find some really close nodesCoren[m]
2013-12-02Don't hole punch when we are connected.irungentoo
2013-12-02Fixed bug with hole punching.irungentoo
2013-12-01Tweaked hole punching a bit.irungentoo
2013-11-30The stuff in do_DHT only need to be run once per second.irungentoo
2013-11-18Merge pull request #650 from FullName/ID-IP-basicirungentoo
2013-11-17Nodes now only send good nodes (or the node that was specifically asked for).irungentoo
2013-11-17Tolerate instable connectivity: if *all* set close nodes are in terminal time...Coren[m]
2013-11-17Assoc's array is now allocated dynamically and per default much smaller (320 ...Coren[m]
2013-11-14Significantly trimmed down version of an ID<=>IP cache.Coren[m]
2013-11-14On replacing a client with another, clear the stale association.Coren[m]
2013-11-10Fixed small issues.irungentoo
2013-11-10Added more printing to DHT_test, fixed typo.irungentoo
2013-11-10Merge branch 'master' into hardenirungentoo
2013-11-07Merge branch 'add2lists_forward' of https://github.com/FullName/ProjectTox-Co...irungentoo
2013-11-06Unify most of handle_sendnodes[_ipv6]() into a common handle_sendnodes_core()...Coren[m]
2013-11-06addto_lists(): store the IP/Port that was used to *send*.Coren[m]
2013-11-02Get node testing response packets are now handled.irungentoo
2013-10-30Testing requests are now sent.irungentoo
2013-10-28Merge branch 'master' into hardenirungentoo
2013-10-28Removed some now useless code.irungentoo
2013-10-27Added some hardening functions to test get nodes.irungentoo
2013-10-26Base of hardening stuff.irungentoo
2013-10-24Removed now useless ping_id from send/get node packets.irungentoo
2013-10-24Adding encrypted data to send/getnode packets now done.irungentoo
2013-10-24Move unix_time(), id_cpy()/id_eq(), is_timeout() to util.*Coren[m]
2013-10-24Adding encrypted data to send/getnode packets part 1.irungentoo
2013-10-24Removed define that could become confusing.irungentoo
2013-10-20Main: Eliminate TOX_ENABLE_IPV6 (then always on), CLIENT_ONETOONE_IP (then al...Coren[m]
2013-10-12Improved hole punching.irungentoo
2013-09-30Speeded up/fixed NAT hole punching and peer finding.irungentoo
2013-09-28Fixed small issue.irungentoo
2013-09-28Behaviour with LAN ips is now better, also fixed possible bug.irungentoo
2013-09-28LAN ips can be sent to LAN ips.irungentoo
2013-09-28friend_iplist and route_tofriend behaviour fixes.irungentoo
2013-09-27Fixed possible problem.irungentoo
2013-09-27Astyled the code.irungentoo
2013-09-27don't lose globally valid addresses for locally valid onesCoren[m]
2013-09-27minimalistic increase in elegance ;)Coren[m]
2013-09-27expanded Client_data to hold two addresses (IPv4, IPv6) instead of oneCoren[m]
2013-09-25Fixed bug where hole punching was attempted even though theirungentoo
2013-09-24Merge pull request #596 from FullName/ping.moveandcleanirungentoo
2013-09-22Fix bug.stal
2013-09-21moved stuff that belongs into ping.[ch] thereCoren[m]