Matthias Wachs [Mon, 23 Jun 2014 08:18:32 +0000 (08:18 +0000)]
printing peer ids
fixing first set of cfgs
Matthias Wachs [Mon, 23 Jun 2014 07:38:27 +0000 (07:38 +0000)]
fix type warning
Christian Grothoff [Mon, 23 Jun 2014 00:15:06 +0000 (00:15 +0000)]
-misc stuff
Christian Grothoff [Sun, 22 Jun 2014 23:27:05 +0000 (23:27 +0000)]
-simplify logging using macro
Christian Grothoff [Sun, 22 Jun 2014 23:14:54 +0000 (23:14 +0000)]
-fix regex
Christian Grothoff [Sun, 22 Jun 2014 22:53:52 +0000 (22:53 +0000)]
-updateing tempalte
Christian Grothoff [Sun, 22 Jun 2014 22:44:32 +0000 (22:44 +0000)]
-actually perform monitor calls where appropriate
Christian Grothoff [Sun, 22 Jun 2014 22:25:02 +0000 (22:25 +0000)]
implement monitoring API in UNIX, simplify code a bit
Christian Grothoff [Sun, 22 Jun 2014 22:19:02 +0000 (22:19 +0000)]
-fix doxygen
Christian Grothoff [Sun, 22 Jun 2014 21:23:23 +0000 (21:23 +0000)]
adding design for session monitoring API to transport plugins; skeleton implementation for UNIX plugin of that API; clean up of UNIX API code (removing of duplicated/dead code)
Christian Grothoff [Sun, 22 Jun 2014 20:24:36 +0000 (20:24 +0000)]
-reordering API in header to make structure more obvious
Christian Grothoff [Sun, 22 Jun 2014 20:15:18 +0000 (20:15 +0000)]
-doxygen, cleanup
Christian Grothoff [Sun, 22 Jun 2014 20:13:41 +0000 (20:13 +0000)]
-doxygen, cleanup
Christian Grothoff [Sun, 22 Jun 2014 20:10:39 +0000 (20:10 +0000)]
-doxygen, cleanup
Christian Grothoff [Sun, 22 Jun 2014 20:08:16 +0000 (20:08 +0000)]
-split up transport_api_monitoring into monitor_peers and monitor_validation
Christian Grothoff [Sun, 22 Jun 2014 20:02:10 +0000 (20:02 +0000)]
-doxygen, indentation
Christian Grothoff [Sun, 22 Jun 2014 19:57:22 +0000 (19:57 +0000)]
-simplify logic a bit, doxygen, indentation
Christian Grothoff [Sun, 22 Jun 2014 19:40:51 +0000 (19:40 +0000)]
-indentation, doxygen
Christian Grothoff [Sun, 22 Jun 2014 19:29:08 +0000 (19:29 +0000)]
fix #3451
Christian Grothoff [Sun, 22 Jun 2014 17:27:56 +0000 (17:27 +0000)]
add check for certtool
Christian Grothoff [Sun, 22 Jun 2014 14:05:29 +0000 (14:05 +0000)]
output public key of peer
Christian Grothoff [Sun, 22 Jun 2014 14:05:17 +0000 (14:05 +0000)]
rename hellos to use new base32 encoding
Sree Harsha Totakura [Fri, 20 Jun 2014 14:49:36 +0000 (14:49 +0000)]
Add DHT profiler.
Supriti Singh [Thu, 19 Jun 2014 22:31:03 +0000 (22:31 +0000)]
- Initializing head, tail in datacache struct get_context
- Static analysis bug fixes
- Other minor fixes
Omar Tarabai [Thu, 19 Jun 2014 19:56:51 +0000 (19:56 +0000)]
additional sensor files
Omar Tarabai [Thu, 19 Jun 2014 19:52:09 +0000 (19:52 +0000)]
new sensors + fixes
Omar Tarabai [Thu, 19 Jun 2014 12:08:54 +0000 (12:08 +0000)]
sensor: fix
Bart Polot [Wed, 18 Jun 2014 02:32:57 +0000 (02:32 +0000)]
- fix NULL connection on queue_send
Bart Polot [Wed, 18 Jun 2014 00:22:35 +0000 (00:22 +0000)]
Add a debug "dump to stderr" feature to cadet
Christian Grothoff [Tue, 17 Jun 2014 20:40:23 +0000 (20:40 +0000)]
-check return value
Christian Grothoff [Tue, 17 Jun 2014 20:39:10 +0000 (20:39 +0000)]
-check return value
Christian Grothoff [Tue, 17 Jun 2014 20:37:46 +0000 (20:37 +0000)]
-mark return value as intentionally ignored
Christian Grothoff [Tue, 17 Jun 2014 20:36:41 +0000 (20:36 +0000)]
-check return value
Christian Grothoff [Tue, 17 Jun 2014 20:35:52 +0000 (20:35 +0000)]
-check return value
Christian Grothoff [Tue, 17 Jun 2014 20:34:16 +0000 (20:34 +0000)]
-fix channel data range to make -1 legal value
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