Christian Grothoff [Thu, 16 Feb 2017 13:42:35 +0000 (14:42 +0100)]
extra asserts
Christian Grothoff [Thu, 16 Feb 2017 13:05:55 +0000 (14:05 +0100)]
use force when required
Christian Grothoff [Wed, 15 Feb 2017 16:49:59 +0000 (17:49 +0100)]
fix #4895: set highbit always for the returned cn, not just on the second call
Christian Grothoff [Wed, 15 Feb 2017 16:37:17 +0000 (17:37 +0100)]
spell out message types more, use correct conversion direction
Christian Grothoff [Wed, 15 Feb 2017 16:24:43 +0000 (17:24 +0100)]
fix typos in log msgs
Christian Grothoff [Wed, 15 Feb 2017 15:56:14 +0000 (16:56 +0100)]
fixing #4878 -- by avoiding allocation in the first place
Christian Grothoff [Wed, 15 Feb 2017 15:55:47 +0000 (16:55 +0100)]
update ignore file
Christian Grothoff [Wed, 15 Feb 2017 15:55:25 +0000 (16:55 +0100)]
introducing GNUNET_CRYPTO_ecdhe_create2() to avoid malloc nonsense
Christian Grothoff [Wed, 15 Feb 2017 15:54:04 +0000 (16:54 +0100)]
fix format string bug
Christian Grothoff [Wed, 15 Feb 2017 14:37:07 +0000 (15:37 +0100)]
fix #4890
Christian Grothoff [Mon, 13 Feb 2017 09:29:11 +0000 (10:29 +0100)]
pass correct pointer to GNUNET_NAT_register
Christian Grothoff [Mon, 13 Feb 2017 09:24:57 +0000 (10:24 +0100)]
add assertion that we do not release path that is still used by a connection
xrs [Sun, 12 Feb 2017 00:44:00 +0000 (01:44 +0100)]
set up multicast group with origin and member
David Barksdale [Sat, 11 Feb 2017 16:58:12 +0000 (10:58 -0600)]
No need to mention HOLE_EXTERNAL twice
Florian Dold [Sat, 11 Feb 2017 15:41:58 +0000 (16:41 +0100)]
fix use-after-free in postgres error message
xrs [Thu, 9 Feb 2017 21:28:29 +0000 (22:28 +0100)]
fixed crash on test_multicast_multipeer
Bart Polot [Wed, 8 Feb 2017 18:43:33 +0000 (19:43 +0100)]
Add mq test
Bart Polot [Wed, 8 Feb 2017 18:41:41 +0000 (19:41 +0100)]
Fix open port, copy handlers for use on incoming channels
Bart Polot [Wed, 8 Feb 2017 18:41:06 +0000 (19:41 +0100)]
- adjust FWD/BCK to new channel numbering
Bart Polot [Wed, 8 Feb 2017 18:40:36 +0000 (19:40 +0100)]
- code/debug format
Bart Polot [Wed, 8 Feb 2017 16:28:19 +0000 (17:28 +0100)]
- debug, indentation, legibility
Bart Polot [Wed, 8 Feb 2017 16:27:23 +0000 (17:27 +0100)]
fix cadet mq api, use proper function arguments
Bart Polot [Wed, 8 Feb 2017 16:23:09 +0000 (17:23 +0100)]
- fix assertion condition
Bart Polot [Wed, 8 Feb 2017 16:22:36 +0000 (17:22 +0100)]
- doxygen, debug text
Bart Polot [Wed, 8 Feb 2017 01:28:25 +0000 (02:28 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
lurchi [Tue, 7 Feb 2017 22:44:20 +0000 (23:44 +0100)]
fix psyc service being unwilling to shutdown
Bart Polot [Thu, 2 Feb 2017 17:13:00 +0000 (18:13 +0100)]
Only call window_size on incrementing size, allow ACK+1 messages to be taken
Bart Polot [Thu, 2 Feb 2017 16:16:20 +0000 (17:16 +0100)]
Implement data ack in CADET MQ API
psyc://loupsycedyglgamf.onion/~lynX [Thu, 2 Feb 2017 09:21:58 +0000 (09:21 +0000)]
gnunet-social CLI: porcelain status and psyc messages
psyc://loupsycedyglgamf.onion/~lynX [Thu, 2 Feb 2017 09:21:56 +0000 (09:21 +0000)]
don't let further circuits disrupt 'gnunet-cadet -o'
psyc://loupsycedyglgamf.onion/~lynX [Thu, 2 Feb 2017 09:21:55 +0000 (09:21 +0000)]
find /bin/ip
Christian Grothoff [Thu, 2 Feb 2017 09:21:54 +0000 (10:21 +0100)]
fix sanity check in dht_api: we are passing 32-byte PIDs, not 64-byte hashes
Christian Grothoff [Thu, 2 Feb 2017 09:17:38 +0000 (10:17 +0100)]
have sanity checks for DHT path construction
Christian Grothoff [Thu, 2 Feb 2017 09:16:12 +0000 (10:16 +0100)]
set PATH during testcase
Christian Grothoff [Wed, 1 Feb 2017 20:07:52 +0000 (21:07 +0100)]
force attachment if connection is still there
Christian Grothoff [Wed, 1 Feb 2017 19:49:52 +0000 (20:49 +0100)]
preserve invariants while calling GCP_detatch_path while reorging paths
Christian Grothoff [Wed, 1 Feb 2017 15:57:36 +0000 (16:57 +0100)]
use NULL as flag for evaluation of query, ensure we pass non-NULL for reply_block to evaluate reply even if reply is zero bytes long
Christian Grothoff [Wed, 1 Feb 2017 15:49:06 +0000 (16:49 +0100)]
log if we get a redundant KX_AUTH, do not assert
Christian Grothoff [Wed, 1 Feb 2017 15:44:13 +0000 (16:44 +0100)]
path heap could be null here during shutdown
Christian Grothoff [Wed, 1 Feb 2017 15:34:30 +0000 (16:34 +0100)]
init worst, to avoid valgrind warning (otherwise harmless)
Christian Grothoff [Wed, 1 Feb 2017 12:35:48 +0000 (13:35 +0100)]
fix peer destruction triggers
Christian Grothoff [Wed, 1 Feb 2017 08:36:14 +0000 (09:36 +0100)]
another channel-add destroy-cancel fix
Christian Grothoff [Tue, 31 Jan 2017 18:09:57 +0000 (19:09 +0100)]
stop destroy task if connection goes up
Christian Grothoff [Tue, 31 Jan 2017 16:54:48 +0000 (17:54 +0100)]
use observed RTT as starting point for retransmissions
Christian Grothoff [Tue, 31 Jan 2017 16:45:25 +0000 (17:45 +0100)]
implement no-buffer option at route level
Christian Grothoff [Tue, 31 Jan 2017 16:41:09 +0000 (17:41 +0100)]
fix lower_rung() logic
Christian Grothoff [Tue, 31 Jan 2017 16:04:56 +0000 (17:04 +0100)]
fix rung prev injection
Christian Grothoff [Tue, 31 Jan 2017 16:02:24 +0000 (17:02 +0100)]
fix loop detection logic
Christian Grothoff [Tue, 31 Jan 2017 14:54:11 +0000 (15:54 +0100)]
initialize direction in rung DLL
Christian Grothoff [Tue, 31 Jan 2017 13:46:57 +0000 (14:46 +0100)]
use modern time specification for expiration
Christian Grothoff [Tue, 31 Jan 2017 13:44:41 +0000 (14:44 +0100)]
add method to record and print DHT routes to DHT command-line tools
Christian Grothoff [Tue, 31 Jan 2017 13:31:25 +0000 (14:31 +0100)]
updating gitignores and POTFILES
Christian Grothoff [Tue, 31 Jan 2017 13:16:20 +0000 (14:16 +0100)]
Fix off-by-one
Christian Grothoff [Tue, 31 Jan 2017 12:59:33 +0000 (13:59 +0100)]
more statistics
Christian Grothoff [Tue, 31 Jan 2017 12:56:21 +0000 (13:56 +0100)]
init rung field
Christian Grothoff [Tue, 31 Jan 2017 10:44:08 +0000 (11:44 +0100)]
do not recompute off if we can just pass it in
Christian Grothoff [Tue, 31 Jan 2017 10:28:33 +0000 (11:28 +0100)]
do not test against unset cpath values that we skipped
Christian Grothoff [Tue, 31 Jan 2017 10:24:17 +0000 (11:24 +0100)]
cancel tunnel destruction if we get another channel during the grace period
Bart Polot [Tue, 31 Jan 2017 04:06:36 +0000 (05:06 +0100)]
Implement incoming traffic handling on MQ
Bart Polot [Tue, 31 Jan 2017 03:58:05 +0000 (04:58 +0100)]
Reconnect to service instead of aborting on a malformed data message
Bart Polot [Tue, 31 Jan 2017 03:57:50 +0000 (04:57 +0100)]
Refactor reconnect code
Bart Polot [Tue, 31 Jan 2017 03:33:36 +0000 (04:33 +0100)]
Implement channel cleanup in MQ API, simplify destroy channel
Bart Polot [Tue, 31 Jan 2017 03:22:07 +0000 (04:22 +0100)]
Fix free of NULL pointer
Bart Polot [Tue, 31 Jan 2017 03:17:58 +0000 (04:17 +0100)]
Implementation of port opening and handling in MQ
Bart Polot [Tue, 31 Jan 2017 03:17:27 +0000 (04:17 +0100)]
Add note for clarification
Bart Polot [Tue, 31 Jan 2017 01:58:54 +0000 (02:58 +0100)]
Implement the connect and create_channel call for mq api
Bart Polot [Tue, 31 Jan 2017 01:57:46 +0000 (02:57 +0100)]
CADET MQ API documentation improvements
Christian Grothoff [Mon, 30 Jan 2017 20:14:30 +0000 (21:14 +0100)]
fair, global message buffer implemented
Christian Grothoff [Mon, 30 Jan 2017 16:43:00 +0000 (17:43 +0100)]
putting into place the data structures for a global buffer pool shared across routes
Christian Grothoff [Mon, 30 Jan 2017 16:42:00 +0000 (17:42 +0100)]
allow external code to use DLL pointers of envelopes, under very particular circumstances
Christian Grothoff [Mon, 30 Jan 2017 16:19:22 +0000 (17:19 +0100)]
improve connection evaluation, include more metrics
Christian Grothoff [Mon, 30 Jan 2017 15:03:09 +0000 (16:03 +0100)]
mark as done
Christian Grothoff [Mon, 30 Jan 2017 15:01:30 +0000 (16:01 +0100)]
track and return performance metrics per cadet connection
Christian Grothoff [Mon, 30 Jan 2017 14:19:21 +0000 (15:19 +0100)]
handle KX AUTH failure by retransmitting KX
Christian Grothoff [Mon, 30 Jan 2017 13:03:46 +0000 (14:03 +0100)]
pass connection tunnel identifier to channel when receiving messages, so that performance can be matched
Christian Grothoff [Mon, 30 Jan 2017 11:27:11 +0000 (12:27 +0100)]
have tunnel tell channel which connection it used for transmission, so we can track connection performance by observing ACKs on the channel-level
David Barksdale [Mon, 30 Jan 2017 02:07:02 +0000 (20:07 -0600)]
Save next pointer in case mqm gets freed
David Barksdale [Mon, 30 Jan 2017 01:10:43 +0000 (19:10 -0600)]
Don't pass NULL to destroy_route
Christian Grothoff [Sun, 29 Jan 2017 22:41:49 +0000 (23:41 +0100)]
added path desirability calculations
Christian Grothoff [Sun, 29 Jan 2017 22:41:23 +0000 (23:41 +0100)]
add path desirability calculations
Christian Grothoff [Sun, 29 Jan 2017 19:33:43 +0000 (20:33 +0100)]
remove route also from routes
Christian Grothoff [Sun, 29 Jan 2017 19:20:48 +0000 (20:20 +0100)]
fix shutdown sequence
Christian Grothoff [Sun, 29 Jan 2017 18:44:30 +0000 (19:44 +0100)]
fix task cleanup on CTRL-D
Christian Grothoff [Sun, 29 Jan 2017 18:39:23 +0000 (19:39 +0100)]
of course we need 'i' here, not 'off'
Christian Grothoff [Sun, 29 Jan 2017 18:31:12 +0000 (19:31 +0100)]
sanitize paths to eliminate loops before using them; fix off-by-one causing a peer to be listed twice
Christian Grothoff [Sun, 29 Jan 2017 17:59:57 +0000 (18:59 +0100)]
note on des
Christian Grothoff [Sun, 29 Jan 2017 17:52:36 +0000 (18:52 +0100)]
collect misc. TODO items into one big list
Christian Grothoff [Sun, 29 Jan 2017 17:43:35 +0000 (18:43 +0100)]
introduce buffering options on the route level
Christian Grothoff [Sun, 29 Jan 2017 16:57:58 +0000 (17:57 +0100)]
optimize mqm_head scans by avoiding constantly scanning over definitively non-ready entries
Christian Grothoff [Sun, 29 Jan 2017 15:58:21 +0000 (16:58 +0100)]
fix ready_cb notifications to ensure they exactly happen only when needed
Christian Grothoff [Sun, 29 Jan 2017 15:24:20 +0000 (16:24 +0100)]
implement route timeouts at 3x keepalive frequency
Christian Grothoff [Sun, 29 Jan 2017 15:24:14 +0000 (16:24 +0100)]
implement route timeouts at 3x keepalive frequency
xrs [Sun, 29 Jan 2017 13:48:48 +0000 (14:48 +0100)]
fixed callback, still with segfault in configuration.c
Christian Grothoff [Sun, 29 Jan 2017 13:10:03 +0000 (14:10 +0100)]
implement basics of connection management for tunnels (in particular destruction of bad connections, eventual selection of new ones
Christian Grothoff [Sun, 29 Jan 2017 12:18:39 +0000 (13:18 +0100)]
separate connection DLL into a list for ready connections and a list of busy connections, and count them separately; make iterator tolerate modifications to current element of DLL during iteration
Christian Grothoff [Sun, 29 Jan 2017 12:09:48 +0000 (13:09 +0100)]
provide stricter assurances about when we call ready_cb, avoiding supurious calls that merely reinforce what tunnel already knows about the connection state
Christian Grothoff [Sun, 29 Jan 2017 11:40:40 +0000 (12:40 +0100)]
when applicable, do connection selection outside of send_kx*
Christian Grothoff [Sat, 28 Jan 2017 21:51:58 +0000 (22:51 +0100)]
complete new KX implementation, including KX_AUTH defense against KX-injection based reset attacks
Christian Grothoff [Sat, 28 Jan 2017 18:12:02 +0000 (19:12 +0100)]
KEY_REKEY state was dead in old code, remove in new code; refactor KX logic in preparation for KX_AUTH
Christian Grothoff [Sat, 28 Jan 2017 11:30:55 +0000 (12:30 +0100)]
slightly better documentation for KX logic