Christian Grothoff [Tue, 17 Jun 2014 20:31:24 +0000 (20:31 +0000)]
-bail out properly on error, fix leak
Christian Grothoff [Tue, 17 Jun 2014 20:28:28 +0000 (20:28 +0000)]
-assert zone is non-null, simplify branching logic a bit
Christian Grothoff [Tue, 17 Jun 2014 20:26:21 +0000 (20:26 +0000)]
-add missing break
Christian Grothoff [Tue, 17 Jun 2014 20:25:35 +0000 (20:25 +0000)]
-handle case where sendsocket is still -1
Christian Grothoff [Tue, 17 Jun 2014 20:23:42 +0000 (20:23 +0000)]
-check 'socket' call return value, handle failure
Christian Grothoff [Tue, 17 Jun 2014 20:20:21 +0000 (20:20 +0000)]
-fix socket leak in error handling branches
Christian Grothoff [Tue, 17 Jun 2014 20:13:13 +0000 (20:13 +0000)]
-fix use of uninitialized memory
Christian Grothoff [Tue, 17 Jun 2014 20:11:21 +0000 (20:11 +0000)]
-fix use after free
Christian Grothoff [Tue, 17 Jun 2014 20:08:32 +0000 (20:08 +0000)]
-fix memory leak for 0==p->length
Sree Harsha Totakura [Tue, 17 Jun 2014 18:47:00 +0000 (18:47 +0000)]
Use Crockford Base32 encoding instead of RFC 4648.
Omar Tarabai [Tue, 17 Jun 2014 17:06:31 +0000 (17:06 +0000)]
peerstore: fix
Omar Tarabai [Tue, 17 Jun 2014 16:48:34 +0000 (16:48 +0000)]
peerstore: fix
Supriti Singh [Tue, 17 Jun 2014 16:24:35 +0000 (16:24 +0000)]
xvine - minor fixes
Sree Harsha Totakura [Tue, 17 Jun 2014 15:52:40 +0000 (15:52 +0000)]
Fix libgcrypt linker flags.
Bart Polot [Tue, 17 Jun 2014 14:25:41 +0000 (14:25 +0000)]
- ignore
Bart Polot [Tue, 17 Jun 2014 14:15:03 +0000 (14:15 +0000)]
- ignore
Bart Polot [Tue, 17 Jun 2014 14:15:01 +0000 (14:15 +0000)]
- make sure the keepalive test generates more than 2 keepalives
Bart Polot [Tue, 17 Jun 2014 14:04:23 +0000 (14:04 +0000)]
- fix crash on unexpected malformed PING
Omar Tarabai [Tue, 17 Jun 2014 12:37:15 +0000 (12:37 +0000)]
minor fix
Bart Polot [Tue, 17 Jun 2014 12:15:25 +0000 (12:15 +0000)]
- rename
Bart Polot [Tue, 17 Jun 2014 12:13:46 +0000 (12:13 +0000)]
- fix KX for very short rekey periods (seconds)
Bart Polot [Tue, 17 Jun 2014 12:13:45 +0000 (12:13 +0000)]
- refactor kx ctx creation, add debug
Bart Polot [Tue, 17 Jun 2014 12:13:43 +0000 (12:13 +0000)]
- fixes, renaming
Bart Polot [Tue, 17 Jun 2014 12:13:42 +0000 (12:13 +0000)]
- refactor key selection, hmac calculation
Bart Polot [Tue, 17 Jun 2014 12:13:41 +0000 (12:13 +0000)]
- add 2s for new state, reduce buffer
Bart Polot [Tue, 17 Jun 2014 12:13:40 +0000 (12:13 +0000)]
- rename
Bart Polot [Tue, 17 Jun 2014 12:13:38 +0000 (12:13 +0000)]
- send 1000 messages to force re-key testing
Bart Polot [Tue, 17 Jun 2014 12:13:37 +0000 (12:13 +0000)]
- check message size to avoid infinite loop
Bart Polot [Tue, 17 Jun 2014 12:13:36 +0000 (12:13 +0000)]
IMPORTANT FIX: use return value for integrity check
Bart Polot [Tue, 17 Jun 2014 12:13:34 +0000 (12:13 +0000)]
Allow to send traffic with the new key when the rekey period is over. In case of a late PONG, very high latency or partial traffic censorship, this will allow the receiver to still receive the traffic if the ephemeral key did in fact get through.
Additionally it doesn't stop the payload traffic after an interrupted Key eXchange, giving a mitm less information about the status of the session.
Bart Polot [Tue, 17 Jun 2014 12:13:33 +0000 (12:13 +0000)]
- add rekey state
Bart Polot [Tue, 17 Jun 2014 12:13:32 +0000 (12:13 +0000)]
- only create keys on new ephemeral info
Bart Polot [Tue, 17 Jun 2014 12:13:31 +0000 (12:13 +0000)]
- limit queued messages on tunnel level when tunnel is not ready
Bart Polot [Tue, 17 Jun 2014 12:13:30 +0000 (12:13 +0000)]
- Allow two GC_2s calls in one line (limited reentrant code)
Bart Polot [Tue, 17 Jun 2014 12:13:29 +0000 (12:13 +0000)]
- test and log for bug #
0003423
Bart Polot [Tue, 17 Jun 2014 12:13:27 +0000 (12:13 +0000)]
- verbose tunnel debug in error cases
Bart Polot [Tue, 17 Jun 2014 12:13:26 +0000 (12:13 +0000)]
- reduce rekey period for tests, ensure even shorter keepalive
Bart Polot [Tue, 17 Jun 2014 12:13:25 +0000 (12:13 +0000)]
- kx debug
Bart Polot [Tue, 17 Jun 2014 12:13:23 +0000 (12:13 +0000)]
- expire old keys adaptively
Bart Polot [Tue, 17 Jun 2014 12:13:22 +0000 (12:13 +0000)]
- debug info, refactor
Bart Polot [Tue, 17 Jun 2014 12:13:20 +0000 (12:13 +0000)]
- intialize a new kx_ctx on receipt of a new ephemeral key if none exists
Bart Polot [Tue, 17 Jun 2014 12:13:19 +0000 (12:13 +0000)]
- update default values, eliminate obsolete ones
Christian Fuchs [Tue, 17 Jun 2014 10:35:26 +0000 (10:35 +0000)]
- renamed NAT's failure code to status code across gnunet (not GTK yet)
- added proper error reporting to NAT-test-start/stop
- timed-out nat tests not automatically stop the test itself
- fixed a design flaw in nat-test
- fixed a potential crash in the tests of the nat functionality (NOT NAT_TEST_xy...)
Christian Fuchs [Tue, 17 Jun 2014 10:28:40 +0000 (10:28 +0000)]
- renamed NAT's failure code to status code
- updated status code descriptions
- added NAT library function to convert status codes to strings
Supriti Singh [Mon, 16 Jun 2014 14:46:24 +0000 (14:46 +0000)]
xvine dht: few fixes
Christian Grothoff [Mon, 16 Jun 2014 10:10:59 +0000 (10:10 +0000)]
notify performance monitors about destroyed addresses (for #3406)
Christian Grothoff [Mon, 16 Jun 2014 09:34:22 +0000 (09:34 +0000)]
do not use session_id in GAS_performance_notify_all_clients, needs to be 'active'; also indentation/doxygen
Christian Grothoff [Mon, 16 Jun 2014 08:38:55 +0000 (08:38 +0000)]
-doxygen, indentation, nicer stats
Christian Grothoff [Mon, 16 Jun 2014 08:31:34 +0000 (08:31 +0000)]
-doxygen, indentation
Christian Grothoff [Mon, 16 Jun 2014 08:27:09 +0000 (08:27 +0000)]
-remove dead include
Christian Grothoff [Mon, 16 Jun 2014 08:26:44 +0000 (08:26 +0000)]
doxygen, make local symbol static
Christian Grothoff [Mon, 16 Jun 2014 08:23:46 +0000 (08:23 +0000)]
print active/inactive information
Christian Grothoff [Mon, 16 Jun 2014 08:20:16 +0000 (08:20 +0000)]
minor code cleanups, doxygen
Christian Grothoff [Mon, 16 Jun 2014 08:03:26 +0000 (08:03 +0000)]
bugfix: only create another address entry if we did not have one already
Christian Grothoff [Mon, 16 Jun 2014 08:02:52 +0000 (08:02 +0000)]
optimization: only iterate over mamultipeermap entries that match peer id
Christian Grothoff [Mon, 16 Jun 2014 08:00:19 +0000 (08:00 +0000)]
-doxygen, indentation
Christian Grothoff [Mon, 16 Jun 2014 07:58:28 +0000 (07:58 +0000)]
-doxygen, indentation
Christian Grothoff [Mon, 16 Jun 2014 06:16:10 +0000 (06:16 +0000)]
-indentation
Christian Grothoff [Thu, 12 Jun 2014 17:36:20 +0000 (17:36 +0000)]
-fix #3443
Supriti Singh [Thu, 12 Jun 2014 15:57:53 +0000 (15:57 +0000)]
Xvine_DHT: Minor fixes
Christian Grothoff [Thu, 12 Jun 2014 15:21:12 +0000 (15:21 +0000)]
-fix warnings
Christian Grothoff [Thu, 12 Jun 2014 15:18:35 +0000 (15:18 +0000)]
-revert 33649, see #3426
Christian Grothoff [Thu, 12 Jun 2014 09:59:00 +0000 (09:59 +0000)]
code cleanup
Supriti Singh [Wed, 11 Jun 2014 15:07:57 +0000 (15:07 +0000)]
Minor fixes
Omar Tarabai [Wed, 11 Jun 2014 11:54:30 +0000 (11:54 +0000)]
peerstore: minor fixes
Christian Grothoff [Wed, 11 Jun 2014 11:31:32 +0000 (11:31 +0000)]
-simplify plugin, remove unnecessary header, make internal plugin functions static, doxygen, indentation, code simplification
Christian Grothoff [Wed, 11 Jun 2014 10:53:46 +0000 (10:53 +0000)]
-trying to fix #3426
Christian Grothoff [Wed, 11 Jun 2014 10:47:40 +0000 (10:47 +0000)]
-doxygen
Christian Fuchs [Wed, 11 Jun 2014 10:47:25 +0000 (10:47 +0000)]
- added missing comma in nat-test
Christian Grothoff [Wed, 11 Jun 2014 10:07:44 +0000 (10:07 +0000)]
-make retry nicer
Christian Grothoff [Wed, 11 Jun 2014 10:00:22 +0000 (10:00 +0000)]
-indentation, doxygen
Matthias Wachs [Wed, 11 Jun 2014 09:44:46 +0000 (09:44 +0000)]
fixing issues found by coverity
Christian Grothoff [Wed, 11 Jun 2014 09:42:14 +0000 (09:42 +0000)]
-cleanup
Christian Grothoff [Wed, 11 Jun 2014 09:41:50 +0000 (09:41 +0000)]
-fix
Christian Grothoff [Wed, 11 Jun 2014 09:37:30 +0000 (09:37 +0000)]
-misc fixes
Matthias Wachs [Wed, 11 Jun 2014 09:37:00 +0000 (09:37 +0000)]
fixing unused code
Christian Grothoff [Wed, 11 Jun 2014 09:36:05 +0000 (09:36 +0000)]
-misc fixes
Christian Grothoff [Wed, 11 Jun 2014 09:27:07 +0000 (09:27 +0000)]
-fix handling
Christian Grothoff [Wed, 11 Jun 2014 09:16:42 +0000 (09:16 +0000)]
-fix counting
Matthias Wachs [Wed, 11 Jun 2014 09:15:37 +0000 (09:15 +0000)]
renaming to perf test
Matthias Wachs [Wed, 11 Jun 2014 08:53:09 +0000 (08:53 +0000)]
added fixme
Matthias Wachs [Wed, 11 Jun 2014 08:47:33 +0000 (08:47 +0000)]
minor fixes including string internationalization
Christian Grothoff [Wed, 11 Jun 2014 08:42:40 +0000 (08:42 +0000)]
-send proper termination on error
Christian Grothoff [Wed, 11 Jun 2014 06:02:48 +0000 (06:02 +0000)]
-fix status code
Christian Grothoff [Wed, 11 Jun 2014 05:57:20 +0000 (05:57 +0000)]
-fix log level, logging, indentation
Supriti Singh [Tue, 10 Jun 2014 14:20:55 +0000 (14:20 +0000)]
adding my key
Supriti Singh [Tue, 10 Jun 2014 12:48:23 +0000 (12:48 +0000)]
Removing warnings
Using array to store finger table
Storing routing entries at endpoints routing table
Refactoring the code.
Matthias Wachs [Tue, 10 Jun 2014 09:44:07 +0000 (09:44 +0000)]
fixing compile error
Sree Harsha Totakura [Tue, 10 Jun 2014 09:42:00 +0000 (09:42 +0000)]
Initialize `arg_str1'.
Christian Grothoff [Mon, 9 Jun 2014 22:08:13 +0000 (22:08 +0000)]
-fix compiler warning, fix test logic
Christian Grothoff [Mon, 9 Jun 2014 22:05:01 +0000 (22:05 +0000)]
-ignore
Christian Grothoff [Mon, 9 Jun 2014 22:04:27 +0000 (22:04 +0000)]
-code beautification
Christian Grothoff [Mon, 9 Jun 2014 22:04:11 +0000 (22:04 +0000)]
clarify prettyprinter API and protocols, make sure implementations are consistent in their implemenation, doxygen fixes, indentation fixes, subtle semantic fixes
Christian Grothoff [Mon, 9 Jun 2014 22:01:41 +0000 (22:01 +0000)]
-fix timeout handling for resolver
Christian Grothoff [Mon, 9 Jun 2014 21:51:21 +0000 (21:51 +0000)]
-making test nicer (indentation)
Christian Grothoff [Mon, 9 Jun 2014 20:56:32 +0000 (20:56 +0000)]
-die dead stuff
Christian Grothoff [Mon, 9 Jun 2014 09:28:54 +0000 (09:28 +0000)]
-fixing doxygen, indentation
Christian Grothoff [Mon, 9 Jun 2014 09:03:18 +0000 (09:03 +0000)]
-fixing doxygen, indentation
Christian Grothoff [Mon, 9 Jun 2014 08:54:49 +0000 (08:54 +0000)]
-fixing doxygen, indentation
Christian Fuchs [Sun, 8 Jun 2014 21:05:40 +0000 (21:05 +0000)]
- more scalarproduct bugfixing
- added some more useful debug output to scalarproduct