Commit Graph

31 Commits

Author SHA1 Message Date
irungentoo
e63ba9c61b Loading and saving added to DHT. 2013-07-16 13:20:45 -04:00
Jeffail
859f31c160 Just cleaning up as I read, no behaviour changes 2013-07-15 15:42:50 +01:00
irungentoo
6e1390554c Some dynamic memory allocation added to the DHT. 2013-07-14 11:50:34 -04:00
irungentoo
79aa715514 First part of DHT hardening done.
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-12 16:27:19 -04:00
irungentoo
db37eca44b Some work done on the messenger part. 2013-07-08 20:50:25 -04:00
irungentoo
c00cf85078 Spelling mistakes fixed. 2013-07-08 12:36:11 -04:00
irungentoo
a632d960f8 Fixed to be confilcts with the DHT and the messenger part. 2013-07-07 11:54:25 -04:00
irungentoo
a480c0195a Crypto done(still need to test it a bit more thought)
Replaced chars with uint8_t

Added a new test program.

Added some functions to Lossless UDP.

And some other stuff.
2013-07-05 17:00:39 -04:00
irungentoo
457feeed0b Added current work on Lossless_UDP (Not done do not test it yet)
Lossless_UDP code is probably filled with problems right now.
this is normal.
2013-06-27 20:59:16 -04:00
irungentoo
d0ed163914 Fixed something in the DHT, added a milisecond time function. 2013-06-27 07:37:06 -04:00
irungentoo
488df25e05 Changed function name. 2013-06-26 15:33:32 -04:00
irungentoo
dcc3921682 Licenced the code under the GPL for now. 2013-06-26 15:02:42 -04:00
irungentoo
c7f7e30c75 Moved the network functions from the DHT into network.
Also made a nice function to init networking.
2013-06-26 09:56:15 -04:00
irungentoo
f7574c61fc Updated docs. 2013-06-26 08:32:42 -04:00
irungentoo
d1837342e0 Couple fixes. 2013-06-26 07:40:07 -04:00
irungentoo
5d70f9c119 Fixed a line in DHT.c and clarified something in DHT_test.c. 2013-06-25 17:50:30 -04:00
irungentoo
1837745d96 Fixed one possible bug in the DHT and added a basic TODO list.
Fixed a possible segfault which could have been cause by handling an
empty packet.
2013-06-25 17:16:45 -04:00
irungentoo
adc9c64fe6 Fixed stuff, things work better now.
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-25 15:24:31 -04:00
irungentoo
3396d8e495 DHT implementation finished. Currently testing it. 2013-06-25 12:11:11 -04:00
irungentoo
bd37e3ad68 Fixed sendnodes and updated readme. 2013-06-25 09:59:54 -04:00
irungentoo
c93858110b DHT almost done, started testing. Fixed ADDR compiling problem. No more warnings with GCC and clang. 2013-06-25 09:19:01 -04:00
irungentoo
8f4a011464 Last commit of the day. Client will soon be able to send send nodes packets. 2013-06-24 20:51:07 -04:00
irungentoo
af1b3b7f9b Made small application to test the DHT. Core DHT: finished some more functions. 2013-06-24 16:50:43 -04:00
irungentoo
61e9103076 Fixed some mistakes. 2013-06-24 14:31:50 -04:00
irungentoo
bdf3d9f6ab Added the ping list functions. 2013-06-24 14:26:29 -04:00
irungentoo
3bc95be051 More functions added, some fixes. 2013-06-24 12:23:46 -04:00
irungentoo
73a742a2ba Added distance function and changed some stuff.
Also fixed typo in Readme.
2013-06-24 10:42:55 -04:00
irungentoo
388c0f38f7 More Functions. 2013-06-24 08:59:42 -04:00
irungentoo
7e341fb171 Now compiles. Functions starting to take form. 2013-06-24 08:28:19 -04:00
irungentoo
baf14f8121 Merged "wxWidgets VS template for windows" from juryben
That big 40MB file is useless so I merged the repos in a way that it
dissapears forever from the main repo.
2013-06-24 07:26:30 -04:00
irungentoo
25f5af009f Added base DHT.c 2013-06-24 01:05:28 -04:00