plutooo
e5d2c219af
DHT: added id_equal(), ipport_equal(), is_timeout()
2013-08-03 08:32:09 -07:00
irungentoo
7b46b04ce7
Time is better as an unsigned variable.
2013-08-02 15:57:53 -04:00
irungentoo
346e4b28ca
Fixed problems.
2013-08-02 15:28:48 -04:00
irungentoo
b9176974a8
Merge branch 'master' into Jeffail-master
...
Conflicts:
core/DHT.c
2013-08-02 10:41:03 -04:00
Andreas Schneider
20951dda7d
DHT: Fix return value of time().
...
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Signed-off-by: irungentoo <irungentoo@gmail.com>
2013-08-02 09:41:22 -04:00
Jeffail
67efb67f96
Refactored DHT.c from end of NAT punching to EOF
2013-08-02 10:59:09 +01:00
Jeffail
bcf36e8115
Refactored DHT.c, all of NAT punching functions (line 1217
2013-08-02 10:56:10 +01:00
Jeffail
1708dc1a88
Refactored DHT.c down to line 1048 (beginning of NAT)
2013-08-02 10:53:28 +01:00
Jeffail
f9816b43f3
Refactored DHT.c down to line 881
2013-08-02 10:49:54 +01:00
Jeffail
cef8a3e4e5
Refactored DHT.c down to line 779
2013-08-02 10:47:32 +01:00
Jeffail
a5a1f917ab
Refactored DHT.c down to line 567
2013-08-02 10:43:00 +01:00
Jeffail
e7f74555ea
Refactored DHT.c down to line 367
2013-08-02 10:39:04 +01:00
Jeffail
fda296e41d
Refactored client/friend helper functions (down to line 274)
2013-08-02 10:32:25 +01:00
Jeffail
4f2146c085
Back to old methods, reordered the structs, defines, and global variables to the top, should be no changes to binary
2013-08-01 22:53:50 +01:00
Jeffail
ab8f549c65
Refactored most of DHT.c, added local vim config
2013-08-01 20:45:21 +01:00
irungentoo
0eb429e458
Slightly improved hole punching in the DHT.
2013-07-28 17:10:55 -04:00
irungentoo
14b43651c1
Ran the code through: astyle --style=linux
2013-07-27 08:43:36 -04:00
nfkd
11e18d71c9
Update DHT.c
2013-07-26 22:42:33 -03:00
nfkd
c9063cf24a
Update DHT.c
2013-07-26 21:54:02 -03:00
nfkd
d62aec7db5
Fix braces and a few whitespaces
2013-07-26 20:18:45 -03:00
SilentSand
1577a1eb61
Minor screwup fixed
...
I sure wish it was easier to compile on Windows.
2013-07-26 04:08:39 -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
ee331fd73b
Experimental and unoptimized symmetric NAT hole punching added.
2013-07-24 19:39:34 -04:00
irungentoo
8379941584
Added small thing to DHT.
2013-07-22 17:21:58 -04:00
irungentoo
11d02de9a1
Fixed small thing in DHT.
2013-07-22 16:26:10 -04:00
irungentoo
7fecd73ae0
Added routing functions to DHT.
2013-07-21 13:14:36 -04:00
irungentoo
b9b50481be
Fixed segfault.
2013-07-20 19:59:01 -04:00
jvrv
a72777ed70
fix comments of some files
2013-07-20 00:00:10 -03:00
irungentoo
00320267ae
Merge pull request #56 from Martijnvdc/patch-1
...
Patch 1
2013-07-19 10:02:52 -07:00
irungentoo
c657778f0c
The last fix was wrong, this time it's properly fixed.
2013-07-19 12:35:52 -04:00
irungentoo
2d88476d44
Fixed big bug in DHT.
2013-07-19 12:09:40 -04:00
Martijnvdc
c66787929f
Update DHT.c
...
changed all "i++" into "++i", as proposed by nfkd
2013-07-19 17:55:34 +02:00
irungentoo
817ad50d96
Fixed small mistake (Thank you stal).
2013-07-17 15:10:52 -04:00
irungentoo
f27b5c9296
Fixed bug with deleting friends.
2013-07-17 13:54:19 -04:00
irungentoo
ffa809b379
ncurses test now tells you when you connect to the DHT.
2013-07-16 19:45:20 -04:00
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