irungentoo
1fde3ce6aa
DHT_bootstrap fixed.
2013-08-20 16:37:34 -04:00
irungentoo
747c290269
Fixed DHT_test.c and added some checks.
2013-08-20 15:53:15 -04:00
irungentoo
88ff81d9de
Passed everything through astyle.
2013-08-16 13:11:09 -04:00
irungentoo
4330bfbf87
Metadata collection prevention part 1 of ???.
...
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-14 18:26:00 -04:00
slvr
6052b1f119
network_registerhandler
2013-08-10 00:43:50 +01:00
Konstantin Kowalski
7bd9c8399c
Fixed a printf argument.
2013-08-09 01:49:13 +00:00
irungentoo
61f41474e3
Fixed warnings.
2013-08-02 16:29:21 -04:00
Dmitry Marakasov
5ac7f3d990
Fix "comparison is always true due to limited range of data type" warning
2013-07-30 22:41:09 +04:00
irungentoo
3f85bdca15
Fixed warning.
2013-07-30 08:48:36 -04:00
Konstantin Kowalski
b3fa1fc8f4
[fixed]created new files misc_tools.(c|h) and moved hex_string_to_bin() there.
2013-07-27 12:10:41 -04:00
Konstantin Kowalski
a1b93c397c
took out several strlen() calls out of the loop; replaced int's with size_t where needed
2013-07-26 16:16:58 -04:00
SilentSand
59b34e423b
Formatting.
...
Many stylistic changes, mostly formatting code more closely to the
coding style.
2013-07-26 04:02:17 -04:00
SilentSand
f377eb9ca2
Licensing
...
Added the GPLv3 license to some files in addition to fixing some
comments at the beginning of the files.
2013-07-25 21:45:56 -04:00
irungentoo
11d02de9a1
Fixed small thing in DHT.
2013-07-22 16:26:10 -04:00
irungentoo
55361eac6f
Modified the way friend requests worked.
...
Added routing of friend requests.
2013-07-22 14:52:42 -04:00
irungentoo
635e921c14
Fixed warnings.
2013-07-22 07:26:25 -04:00
Maxim Biro
2ab2ebe5a5
Fixed comments
2013-07-21 21:32:15 -04:00
irungentoo
7fecd73ae0
Added routing functions to DHT.
2013-07-21 13:14:36 -04:00
irungentoo
e80ac120e1
Build fixed?
2013-07-12 16:35:45 -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
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
3986206de8
Added a function.
2013-06-27 17:19:09 -04:00
irungentoo
24925a24ec
Cleaned up some stuff.
2013-06-27 10:01:31 -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
81e2043df9
Small update.
2013-06-26 10:05:30 -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
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
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
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
8bc40b7f13
Manually merged fix from nurupo.
2013-06-24 19:40:38 -04:00
irungentoo
cc1a3f52ee
Fixed? DHT_test compiling on windows.
2013-06-24 18:37:23 -04:00
irungentoo
b792e3d6ad
Updated DHT_test with WSA stuff.
2013-06-24 17:41:19 -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
7e341fb171
Now compiles. Functions starting to take form.
2013-06-24 08:28:19 -04:00