Commit Graph

21 Commits

Author SHA1 Message Date
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
021852d494 Implemented encrypt_data_fast, decrypt_data_fast and crypto tests 2013-08-10 17:41:32 +01:00
Florian Hahn
5617bf0bf1 Use void for functions with no parameters 2013-08-05 15:57:17 +02:00
irungentoo
4edf2207fe Fixed small astyle problems. 2013-07-27 08:48:50 -04:00
irungentoo
14b43651c1 Ran the code through: astyle --style=linux 2013-07-27 08:43:36 -04:00
Konstantin Kowalski
241aca98bd A *lot* of style changes. 2013-07-26 23:07:25 -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
Maxim Biro
52f3b1553f Added support of linkage with C++ code 2013-07-22 18:06:24 -04:00
irungentoo
55361eac6f Modified the way friend requests worked.
Added routing of friend requests.
2013-07-22 14:52:42 -04:00
Andrew
5101ef756a Fixed comments in other files as per request of jvrv 2013-07-20 10:39:05 -04:00
irungentoo
5572396c53 Saving and loading of keys added. 2013-07-16 13:44:46 -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
f471602d5d updated TODO 2013-07-10 12:54:39 -04:00
juryben-fedora
c600835ad3 cast parameters to unsigned char and terminal localhost regex without domain 2013-07-09 23:16:59 -04:00
irungentoo
c00cf85078 Spelling mistakes fixed. 2013-07-08 12:36:11 -04:00
irungentoo
2528ec148c Very basic start on the Tox messaging api.(Should give you a basic idea how it's gonna work) 2013-07-06 22:28:15 -04:00
irungentoo
7458473dca Forward secrecy implemented into crypto. 2013-07-06 10:57:49 -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