summaryrefslogtreecommitdiff
path: root/core/DHT.c
AgeCommit message (Collapse)Author
2013-08-20Refactor of core done.irungentoo
2013-08-20More refactoring done.irungentoo
2013-08-19Some refactoring done.irungentoo
2013-08-19Realloc apparently doesn't always behave like free() if size is zero.irungentoo
2013-08-16Metadata collection prevention part 2 of ???irungentoo
Improved friend request sending. As a side effect friend requests should now be routed less than before. See added comments for details.
2013-08-16Passed everything through astyle.irungentoo
2013-08-16Some DHT hardening done.irungentoo
See comments of added functions for details.
2013-08-15Small improvement to DHT. Useless file removed. Small fix to toxic.irungentoo
2013-08-15provide access to the close client listAaron Lipinski
2013-08-15move client data struct to header fileAaron Lipinski
2013-08-14Metadata collection prevention part 1 of ???.irungentoo
Crypto requests packets are packets that can be routed by nodes in the DHT. In this pull request I have merged both Natping requests and friend requests into one common packet (Crypto request packets). Both these packets should now only be distinguishable by the size of the data in them to an outside observer for an example on how to send and recieve data with these packets see: friend_requests.c Note that these packets are prefixed with id 32 (friend request packets) which means this change is compatible with the currently running DHT bootstrap servers. Also changed small thing in DHT_test.c
2013-08-14Add friend now fails if it already is in DHT.irungentoo
2013-08-10tabs -> spacesslvr
2013-08-10fixed typo: handle_ping_request -> handle_ping_responseslvr
2013-08-10network_registerhandlerslvr
2013-08-09Fix a recurring typo in code and comments.Christian Brueffer
2013-08-06Merge pull request #361 from plutooo/masterirungentoo
core: Moved handle ping packets to ping.c
2013-08-06core: Moved handle ping packets to ping.cplutooo
2013-08-06Merge branch 'master' of https://github.com/plutooo/ProjectTox-Core into ↵irungentoo
plutooo-master Conflicts: core/ping.c core/util.c
2013-08-06core: Move send ping packets functions to ping.cplutooo
2013-08-05Merge branch 'master' of https://github.com/plutooo/ProjectTox-Core into ↵irungentoo
plutooo-master
2013-08-05Fix bug where handle_NATping wouldn't perform bounds checkingNick ODell
2013-08-05core: Rewrote ping-module, better performance and cleaner code.plutooo
2013-08-05Use void for functions with no parametersFlorian Hahn
2013-08-04Make private functions in core/DHT.c staticFlorian Hahn
2013-08-03various fixes for first time userJae Kwon
* added linking to libsodium * fixed links to docs to point to wiki
2013-08-03DHT: added id_equal(), ipport_equal(), is_timeout()plutooo
2013-08-02Time is better as an unsigned variable.irungentoo
2013-08-02Fixed problems.irungentoo
2013-08-02Merge branch 'master' into Jeffail-masterirungentoo
Conflicts: core/DHT.c
2013-08-02DHT: Fix return value of time().Andreas Schneider
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Signed-off-by: irungentoo <irungentoo@gmail.com>
2013-08-02Refactored DHT.c from end of NAT punching to EOFJeffail
2013-08-02Refactored DHT.c, all of NAT punching functions (line 1217Jeffail
2013-08-02Refactored DHT.c down to line 1048 (beginning of NAT)Jeffail
2013-08-02Refactored DHT.c down to line 881Jeffail
2013-08-02Refactored DHT.c down to line 779Jeffail
2013-08-02Refactored DHT.c down to line 567Jeffail
2013-08-02Refactored DHT.c down to line 367Jeffail
2013-08-02Refactored client/friend helper functions (down to line 274)Jeffail
2013-08-01Back to old methods, reordered the structs, defines, and global variables to ↵Jeffail
the top, should be no changes to binary
2013-08-01Refactored most of DHT.c, added local vim configJeffail
2013-07-28Slightly improved hole punching in the DHT.irungentoo
2013-07-27Ran the code through: astyle --style=linuxirungentoo
2013-07-26Update DHT.cnfkd
2013-07-26Update DHT.cnfkd
2013-07-26Fix braces and a few whitespacesnfkd
2013-07-26Minor screwup fixedSilentSand
I sure wish it was easier to compile on Windows.
2013-07-26Formatting.SilentSand
Many stylistic changes, mostly formatting code more closely to the coding style.
2013-07-25LicensingSilentSand
Added the GPLv3 license to some files in addition to fixing some comments at the beginning of the files.
2013-07-24Experimental and unoptimized symmetric NAT hole punching added.irungentoo