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
Christian Grothoff [Fri, 27 Jan 2017 21:27:31 +0000 (22:27 +0100)]
also count messages dropped due to slow clients as allowable losses in unreliable mode
Christian Grothoff [Fri, 27 Jan 2017 21:15:26 +0000 (22:15 +0100)]
if in-order unreliable, advance to next message even if we skip a mid
Christian Grothoff [Fri, 27 Jan 2017 21:09:05 +0000 (22:09 +0100)]
fix comments, fix test
Christian Grothoff [Fri, 27 Jan 2017 20:46:13 +0000 (21:46 +0100)]
indentation fixes
Christian Grothoff [Fri, 27 Jan 2017 20:44:04 +0000 (21:44 +0100)]
unset XDG environment variable during testcases, as they can screw things up badly
Christian Grothoff [Fri, 27 Jan 2017 16:36:46 +0000 (17:36 +0100)]
add #include to avoid warning
Christian Grothoff [Fri, 27 Jan 2017 16:36:01 +0000 (17:36 +0100)]
allow for message drops by CADET in unreliable mode
Christian Grothoff [Fri, 27 Jan 2017 16:29:15 +0000 (17:29 +0100)]
add statistics for packets dropped by cadet due to full buffer
Bart Polot [Fri, 27 Jan 2017 16:05:54 +0000 (17:05 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Fri, 27 Jan 2017 15:23:34 +0000 (16:23 +0100)]
introduce concept of unverified_kx, as a step towards having KX_AUTH implemented properly
Bart Polot [Fri, 27 Jan 2017 13:53:21 +0000 (14:53 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Christian Grothoff [Fri, 27 Jan 2017 13:44:49 +0000 (14:44 +0100)]
pass only CadetTunnelAxolotl if it suffices, preparation for having ambiguous KX context
Christian Grothoff [Fri, 27 Jan 2017 13:30:52 +0000 (14:30 +0100)]
trying to make KX logic slightly more readable
Christian Grothoff [Fri, 27 Jan 2017 13:07:49 +0000 (14:07 +0100)]
implement tie-breaking in case both peers establish a connection to each other via the same path at the same time, so that only one connection survives
Christian Grothoff [Fri, 27 Jan 2017 12:01:01 +0000 (13:01 +0100)]
update POTFILES.in
Christian Grothoff [Fri, 27 Jan 2017 12:00:19 +0000 (13:00 +0100)]
remove dead code
Bart Polot [Fri, 27 Jan 2017 03:50:20 +0000 (04:50 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet
Bart Polot [Fri, 27 Jan 2017 03:49:52 +0000 (04:49 +0100)]
- third (and hopefully final) draft for CADET API
Christian Grothoff [Thu, 26 Jan 2017 20:01:23 +0000 (21:01 +0100)]
use 'futures' bitfield in ACKs properly, revisit unbuffered/out-of-order transmission
Christian Grothoff [Thu, 26 Jan 2017 17:34:29 +0000 (18:34 +0100)]
implement random packet drop option, fix retransmission logic
Bart Polot [Thu, 26 Jan 2017 14:53:20 +0000 (15:53 +0100)]
- second iteration for new CADET API
Christian Grothoff [Thu, 26 Jan 2017 14:06:28 +0000 (15:06 +0100)]
document what test does
lurchi [Thu, 26 Jan 2017 00:13:46 +0000 (01:13 +0100)]
add hints on how to fix the multipeer tests
Christian Grothoff [Wed, 25 Jan 2017 22:02:31 +0000 (23:02 +0100)]
use correct way to resume download
Christian Grothoff [Wed, 25 Jan 2017 21:58:01 +0000 (22:58 +0100)]
do not start download twice
Christian Grothoff [Wed, 25 Jan 2017 21:49:40 +0000 (22:49 +0100)]
update ignore file
Christian Grothoff [Wed, 25 Jan 2017 21:40:58 +0000 (22:40 +0100)]
allow connect_cb to be NULL
Christian Grothoff [Wed, 25 Jan 2017 21:38:21 +0000 (22:38 +0100)]
fix log calls
Christian Grothoff [Wed, 25 Jan 2017 21:38:17 +0000 (22:38 +0100)]
fix log calls
xrs [Wed, 25 Jan 2017 20:17:13 +0000 (21:17 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 25 Jan 2017 19:26:58 +0000 (20:26 +0100)]
multicast: test simple join between two peers
Christian Grothoff [Wed, 25 Jan 2017 20:05:52 +0000 (21:05 +0100)]
make new cadet implementation the default: all tests pass (on my system); however, implementation is NOT complete
Christian Grothoff [Wed, 25 Jan 2017 20:02:11 +0000 (21:02 +0100)]
implement keepalives
Christian Grothoff [Wed, 25 Jan 2017 19:38:18 +0000 (20:38 +0100)]
preparations for keepalives
Christian Grothoff [Wed, 25 Jan 2017 19:37:30 +0000 (20:37 +0100)]
build new test
Christian Grothoff [Wed, 25 Jan 2017 19:06:39 +0000 (20:06 +0100)]
cleanups
Christian Grothoff [Wed, 25 Jan 2017 19:04:32 +0000 (20:04 +0100)]
handle ACKs past client down
Christian Grothoff [Wed, 25 Jan 2017 18:59:29 +0000 (19:59 +0100)]
fix insert_sorted macro
Christian Grothoff [Wed, 25 Jan 2017 18:42:06 +0000 (19:42 +0100)]
typo in comment
Christian Grothoff [Wed, 25 Jan 2017 18:36:35 +0000 (19:36 +0100)]
fix confusing indentation
Christian Grothoff [Wed, 25 Jan 2017 18:29:54 +0000 (19:29 +0100)]
towards proper DATA_ACK handling
Christian Grothoff [Wed, 25 Jan 2017 18:29:45 +0000 (19:29 +0100)]
towards proper DATA_ACK handling
Christian Grothoff [Wed, 25 Jan 2017 17:26:27 +0000 (18:26 +0100)]
handle ancient/future duplicate payload properly
Christian Grothoff [Wed, 25 Jan 2017 16:39:28 +0000 (17:39 +0100)]
fix comment, this was implemented
Christian Grothoff [Wed, 25 Jan 2017 16:38:22 +0000 (17:38 +0100)]
fix double-transmission scheduling, implement client-client loopback flow control
Christian Grothoff [Wed, 25 Jan 2017 15:11:27 +0000 (16:11 +0100)]
fix leak
Christian Grothoff [Wed, 25 Jan 2017 14:57:52 +0000 (15:57 +0100)]
remove legacy commented out code
Christian Grothoff [Wed, 25 Jan 2017 14:53:43 +0000 (15:53 +0100)]
fix leak
Christian Grothoff [Wed, 25 Jan 2017 14:50:27 +0000 (15:50 +0100)]
fix leak
Christian Grothoff [Wed, 25 Jan 2017 13:51:40 +0000 (14:51 +0100)]
handle duplicate DATA packets
Christian Grothoff [Wed, 25 Jan 2017 13:41:39 +0000 (14:41 +0100)]
use new generic insertion sort logic
Christian Grothoff [Wed, 25 Jan 2017 13:41:05 +0000 (14:41 +0100)]
add generic insertion sort logic
Christian Grothoff [Wed, 25 Jan 2017 13:41:00 +0000 (14:41 +0100)]
add generic insertion sort logic
Bart Polot [Wed, 25 Jan 2017 12:17:22 +0000 (13:17 +0100)]
New CADET MQ API draft
Christian Grothoff [Wed, 25 Jan 2017 09:16:35 +0000 (10:16 +0100)]
nicer logging
Christian Grothoff [Wed, 25 Jan 2017 08:51:54 +0000 (09:51 +0100)]
fix crash if this end closed connection and other still sends data
Christian Grothoff [Tue, 24 Jan 2017 21:06:34 +0000 (22:06 +0100)]
init mid_recv properly
Christian Grothoff [Tue, 24 Jan 2017 20:57:58 +0000 (21:57 +0100)]
use proper message type constants
Christian Grothoff [Tue, 24 Jan 2017 20:57:40 +0000 (21:57 +0100)]
fix bug from compiler inserting padding if we try to allocate data at the end of the struct instead of in a new area
Christian Grothoff [Tue, 24 Jan 2017 20:57:00 +0000 (21:57 +0100)]
nicer function names
Christian Grothoff [Tue, 24 Jan 2017 20:56:42 +0000 (21:56 +0100)]
bitch and continue if we do not have a handler for a message
Christian Grothoff [Mon, 23 Jan 2017 22:54:09 +0000 (23:54 +0100)]
simplify logic
Christian Grothoff [Tue, 24 Jan 2017 20:00:23 +0000 (21:00 +0100)]
fix client-client loopback flow control
Christian Grothoff [Mon, 23 Jan 2017 22:50:55 +0000 (23:50 +0100)]
better logging, prep for having LOCAL_ACKs
Christian Grothoff [Mon, 23 Jan 2017 22:35:40 +0000 (23:35 +0100)]
fix LOCAL_ACK transmission, do not duplicate it
Christian Grothoff [Mon, 23 Jan 2017 22:17:38 +0000 (23:17 +0100)]
avoid cmp pointers, cmp ccn instead, as client may literally be the same
Christian Grothoff [Mon, 23 Jan 2017 20:15:10 +0000 (21:15 +0100)]
fix log invocation
Christian Grothoff [Mon, 23 Jan 2017 20:03:51 +0000 (21:03 +0100)]
fix log invocation
Christian Grothoff [Mon, 23 Jan 2017 19:13:35 +0000 (20:13 +0100)]
fix testcase handling service disconnect
Christian Grothoff [Mon, 23 Jan 2017 19:09:37 +0000 (20:09 +0100)]
handle loopback in GCCH_2s
Christian Grothoff [Mon, 23 Jan 2017 14:24:20 +0000 (15:24 +0100)]
give more complete message types in log output
Christian Grothoff [Mon, 23 Jan 2017 14:04:23 +0000 (15:04 +0100)]
nicer log messages
Christian Grothoff [Mon, 23 Jan 2017 14:03:29 +0000 (15:03 +0100)]
do not send duplicate LOCAL_CHANNEL_CREATE message
Christian Grothoff [Mon, 23 Jan 2017 13:57:36 +0000 (14:57 +0100)]
handle case of MQM being already NULL
Christian Grothoff [Mon, 23 Jan 2017 13:42:23 +0000 (14:42 +0100)]
more work on loopback, this time payload transmission (for now without flow control)
Christian Grothoff [Mon, 23 Jan 2017 13:41:52 +0000 (14:41 +0100)]
avoid asserting in API on timeout destruction
Christian Grothoff [Mon, 23 Jan 2017 13:31:40 +0000 (14:31 +0100)]
add sender argument to GCCH_handle_local_data so we can implement loopback
Christian Grothoff [Mon, 23 Jan 2017 13:28:30 +0000 (14:28 +0100)]
use correct header size calculation in test
Christian Grothoff [Mon, 23 Jan 2017 13:19:24 +0000 (14:19 +0100)]
towards path desirability calculations
Christian Grothoff [Mon, 23 Jan 2017 13:19:06 +0000 (14:19 +0100)]
another special case for loopback
Christian Grothoff [Mon, 23 Jan 2017 13:18:48 +0000 (14:18 +0100)]
beautify disconnect logic a bit
Christian Grothoff [Mon, 23 Jan 2017 13:18:35 +0000 (14:18 +0100)]
handle disconnect properly in test
Christian Grothoff [Mon, 23 Jan 2017 13:06:52 +0000 (14:06 +0100)]
add generated file to ignore list
Christian Grothoff [Mon, 23 Jan 2017 13:05:16 +0000 (14:05 +0100)]
get rid of redundant, confusing state
Christian Grothoff [Mon, 23 Jan 2017 13:02:18 +0000 (14:02 +0100)]
more implementation of loopback handling
Christian Grothoff [Mon, 23 Jan 2017 13:01:34 +0000 (14:01 +0100)]
fix unaligned access
Christian Grothoff [Mon, 23 Jan 2017 10:14:37 +0000 (11:14 +0100)]
fix shutdown sequence, start to handle loopback
Christian Grothoff [Mon, 23 Jan 2017 10:13:55 +0000 (11:13 +0100)]
allow more than one ACK being given to us at a time
Christian Grothoff [Sun, 22 Jan 2017 22:55:00 +0000 (23:55 +0100)]
remove actually problematic client_allowed check