summaryrefslogtreecommitdiff
path: root/testing/DHT_test.c
AgeCommit message (Collapse)Author
2013-08-28Use defines instead of numbers in DHT_testirungentoo
2013-08-24Rename core directory because of autoconf name clashjin-eld
While doing the checks configure might generate "core" files and will then try to remove them. Having a "core" directory generates an error while runing the configure script. There's no workaround but to rename the core directory.
2013-08-22init_cryptopacket is now called by new_DHT.irungentoo
2013-08-20astyle --options=tools/astylerc -r ./*.{c,h}irungentoo
2013-08-20DHT_bootstrap fixed.irungentoo
2013-08-20Fixed DHT_test.c and added some checks.irungentoo
2013-08-16Passed everything through astyle.irungentoo
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-10network_registerhandlerslvr
2013-08-09Fixed a printf argument.Konstantin Kowalski
2013-08-02Fixed warnings.irungentoo
2013-07-30Fix "comparison is always true due to limited range of data type" warningDmitry Marakasov
2013-07-30Fixed warning.irungentoo
2013-07-27[fixed]created new files misc_tools.(c|h) and moved hex_string_to_bin() there.Konstantin Kowalski
2013-07-26took out several strlen() calls out of the loop; replaced int's with size_t ↵Konstantin Kowalski
where needed
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-22Fixed small thing in DHT.irungentoo
2013-07-22Modified the way friend requests worked.irungentoo
Added routing of friend requests.
2013-07-22Fixed warnings.irungentoo
2013-07-21Fixed commentsMaxim Biro
2013-07-21Added routing functions to DHT.irungentoo
2013-07-12Build fixed?irungentoo
2013-07-12First part of DHT hardening done.irungentoo
Added crypto to the DHT communications. This defeats completely the first attack mentioned in docs/DHT_hardening. Also updated the build system to build the latest test (it links it with libsodium)
2013-07-08Spelling mistakes fixed.irungentoo
2013-07-07Fixed to be confilcts with the DHT and the messenger part.irungentoo
2013-07-05Crypto done(still need to test it a bit more thought)irungentoo
Replaced chars with uint8_t Added a new test program. Added some functions to Lossless UDP. And some other stuff.
2013-06-27Added a function.irungentoo
2013-06-27Cleaned up some stuff.irungentoo
2013-06-27Fixed something in the DHT, added a milisecond time function.irungentoo
2013-06-26Changed function name.irungentoo
2013-06-26Small update.irungentoo
2013-06-26Moved the network functions from the DHT into network.irungentoo
Also made a nice function to init networking.
2013-06-26Couple fixes.irungentoo
2013-06-25Fixed a line in DHT.c and clarified something in DHT_test.c.irungentoo
2013-06-25Fixed stuff, things work better now.irungentoo
Client no longer responds to packets from itself. DHT_test can now find the ip of one peer based on its client id. Some stuff fixed.
2013-06-25DHT implementation finished. Currently testing it.irungentoo
2013-06-25DHT almost done, started testing. Fixed ADDR compiling problem. No more ↵irungentoo
warnings with GCC and clang.
2013-06-24Manually merged fix from nurupo.irungentoo
2013-06-24Fixed? DHT_test compiling on windows.irungentoo
2013-06-24Updated DHT_test with WSA stuff.irungentoo
2013-06-24Made small application to test the DHT. Core DHT: finished some more functions.irungentoo
2013-06-24Now compiles. Functions starting to take form.irungentoo