oweals/gnunet.git
7 years agodo not test against unset cpath values that we skipped
Christian Grothoff [Tue, 31 Jan 2017 10:28:33 +0000 (11:28 +0100)]
do not test against unset cpath values that we skipped

7 years agocancel tunnel destruction if we get another channel during the grace period
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

7 years agoImplement incoming traffic handling on MQ
Bart Polot [Tue, 31 Jan 2017 04:06:36 +0000 (05:06 +0100)]
Implement incoming traffic handling on MQ

7 years agoReconnect to service instead of aborting on a malformed data message
Bart Polot [Tue, 31 Jan 2017 03:58:05 +0000 (04:58 +0100)]
Reconnect to service instead of aborting on a malformed data message

7 years agoRefactor reconnect code
Bart Polot [Tue, 31 Jan 2017 03:57:50 +0000 (04:57 +0100)]
Refactor reconnect code

7 years agoImplement channel cleanup in MQ API, simplify destroy channel
Bart Polot [Tue, 31 Jan 2017 03:33:36 +0000 (04:33 +0100)]
Implement channel cleanup in MQ API, simplify destroy channel

7 years agoFix free of NULL pointer
Bart Polot [Tue, 31 Jan 2017 03:22:07 +0000 (04:22 +0100)]
Fix free of NULL pointer

7 years agoImplementation of port opening and handling in MQ
Bart Polot [Tue, 31 Jan 2017 03:17:58 +0000 (04:17 +0100)]
Implementation of port opening and handling in MQ

7 years agoAdd note for clarification
Bart Polot [Tue, 31 Jan 2017 03:17:27 +0000 (04:17 +0100)]
Add note for clarification

7 years agoImplement the connect and create_channel call for mq api
Bart Polot [Tue, 31 Jan 2017 01:58:54 +0000 (02:58 +0100)]
Implement the connect and create_channel call for mq api

7 years agoCADET MQ API documentation improvements
Bart Polot [Tue, 31 Jan 2017 01:57:46 +0000 (02:57 +0100)]
CADET MQ API documentation improvements

7 years agofair, global message buffer implemented
Christian Grothoff [Mon, 30 Jan 2017 20:14:30 +0000 (21:14 +0100)]
fair, global message buffer implemented

7 years agoputting into place the data structures for a global buffer pool shared across routes
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

7 years agoallow external code to use DLL pointers of envelopes, under very particular circumstances
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

7 years agoimprove connection evaluation, include more metrics
Christian Grothoff [Mon, 30 Jan 2017 16:19:22 +0000 (17:19 +0100)]
improve connection evaluation, include more metrics

7 years agomark as done
Christian Grothoff [Mon, 30 Jan 2017 15:03:09 +0000 (16:03 +0100)]
mark as done

7 years agotrack and return performance metrics per cadet connection
Christian Grothoff [Mon, 30 Jan 2017 15:01:30 +0000 (16:01 +0100)]
track and return performance metrics per cadet connection

7 years agohandle KX AUTH failure by retransmitting KX
Christian Grothoff [Mon, 30 Jan 2017 14:19:21 +0000 (15:19 +0100)]
handle KX AUTH failure by retransmitting KX

7 years agopass connection tunnel identifier to channel when receiving messages, so that perform...
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

7 years agohave tunnel tell channel which connection it used for transmission, so we can track...
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

7 years agoSave next pointer in case mqm gets freed
David Barksdale [Mon, 30 Jan 2017 02:07:02 +0000 (20:07 -0600)]
Save next pointer in case mqm gets freed

7 years agoDon't pass NULL to destroy_route
David Barksdale [Mon, 30 Jan 2017 01:10:43 +0000 (19:10 -0600)]
Don't pass NULL to destroy_route

7 years agoadded path desirability calculations
Christian Grothoff [Sun, 29 Jan 2017 22:41:49 +0000 (23:41 +0100)]
added path desirability calculations

7 years agoadd path desirability calculations
Christian Grothoff [Sun, 29 Jan 2017 22:41:23 +0000 (23:41 +0100)]
add path desirability calculations

7 years agoremove route also from routes
Christian Grothoff [Sun, 29 Jan 2017 19:33:43 +0000 (20:33 +0100)]
remove route also from routes

7 years agofix shutdown sequence
Christian Grothoff [Sun, 29 Jan 2017 19:20:48 +0000 (20:20 +0100)]
fix shutdown sequence

7 years agofix task cleanup on CTRL-D
Christian Grothoff [Sun, 29 Jan 2017 18:44:30 +0000 (19:44 +0100)]
fix task cleanup on CTRL-D

7 years agoof course we need 'i' here, not 'off'
Christian Grothoff [Sun, 29 Jan 2017 18:39:23 +0000 (19:39 +0100)]
of course we need 'i' here, not 'off'

7 years agosanitize paths to eliminate loops before using them; fix off-by-one causing a peer...
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

7 years agonote on des
Christian Grothoff [Sun, 29 Jan 2017 17:59:57 +0000 (18:59 +0100)]
note on des

7 years agocollect misc. TODO items into one big list
Christian Grothoff [Sun, 29 Jan 2017 17:52:36 +0000 (18:52 +0100)]
collect misc. TODO items into one big list

7 years agointroduce buffering options on the route level
Christian Grothoff [Sun, 29 Jan 2017 17:43:35 +0000 (18:43 +0100)]
introduce buffering options on the route level

7 years agooptimize mqm_head scans by avoiding constantly scanning over definitively non-ready...
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

7 years agofix ready_cb notifications to ensure they exactly happen only when needed
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

7 years agoimplement route timeouts at 3x keepalive frequency
Christian Grothoff [Sun, 29 Jan 2017 15:24:20 +0000 (16:24 +0100)]
implement route timeouts at 3x keepalive frequency

7 years agoimplement 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

7 years agofixed callback, still with segfault in configuration.c
xrs [Sun, 29 Jan 2017 13:48:48 +0000 (14:48 +0100)]
fixed callback, still with segfault in configuration.c

7 years agoimplement basics of connection management for tunnels (in particular destruction...
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

7 years agoseparate connection DLL into a list for ready connections and a list of busy connecti...
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

7 years agoprovide stricter assurances about when we call ready_cb, avoiding supurious calls...
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

7 years agowhen applicable, do connection selection outside of send_kx*
Christian Grothoff [Sun, 29 Jan 2017 11:40:40 +0000 (12:40 +0100)]
when applicable, do connection selection outside of send_kx*

7 years agocomplete new KX implementation, including KX_AUTH defense against KX-injection based...
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

7 years agoKEY_REKEY state was dead in old code, remove in new code; refactor KX logic in prepar...
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

7 years agoslightly better documentation for KX logic
Christian Grothoff [Sat, 28 Jan 2017 11:30:55 +0000 (12:30 +0100)]
slightly better documentation for KX logic

7 years agoalso count messages dropped due to slow clients as allowable losses in unreliable...
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

7 years agoif in-order unreliable, advance to next message even if we skip a mid
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

7 years agofix comments, fix test
Christian Grothoff [Fri, 27 Jan 2017 21:09:05 +0000 (22:09 +0100)]
fix comments, fix test

7 years agoindentation fixes
Christian Grothoff [Fri, 27 Jan 2017 20:46:13 +0000 (21:46 +0100)]
indentation fixes

7 years agounset XDG environment variable during testcases, as they can screw things up badly
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

7 years agoadd #include to avoid warning
Christian Grothoff [Fri, 27 Jan 2017 16:36:46 +0000 (17:36 +0100)]
add #include to avoid warning

7 years agoallow for message drops by CADET in unreliable mode
Christian Grothoff [Fri, 27 Jan 2017 16:36:01 +0000 (17:36 +0100)]
allow for message drops by CADET in unreliable mode

7 years agoadd statistics for packets dropped by cadet due to full buffer
Christian Grothoff [Fri, 27 Jan 2017 16:29:15 +0000 (17:29 +0100)]
add statistics for packets dropped by cadet due to full buffer

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Bart Polot [Fri, 27 Jan 2017 16:05:54 +0000 (17:05 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years agointroduce concept of unverified_kx, as a step towards having KX_AUTH implemented...
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

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Bart Polot [Fri, 27 Jan 2017 13:53:21 +0000 (14:53 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years agopass only CadetTunnelAxolotl if it suffices, preparation for having ambiguous KX...
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

7 years agotrying to make KX logic slightly more readable
Christian Grothoff [Fri, 27 Jan 2017 13:30:52 +0000 (14:30 +0100)]
trying to make KX logic slightly more readable

7 years agoimplement tie-breaking in case both peers establish a connection to each other via...
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

7 years agoupdate POTFILES.in
Christian Grothoff [Fri, 27 Jan 2017 12:01:01 +0000 (13:01 +0100)]
update POTFILES.in

7 years agoremove dead code
Christian Grothoff [Fri, 27 Jan 2017 12:00:19 +0000 (13:00 +0100)]
remove dead code

7 years agoMerge branch 'master' of git+ssh://gnunet.org/gnunet
Bart Polot [Fri, 27 Jan 2017 03:50:20 +0000 (04:50 +0100)]
Merge branch 'master' of git+ssh://gnunet.org/gnunet

7 years ago- third (and hopefully final) draft for CADET API
Bart Polot [Fri, 27 Jan 2017 03:49:52 +0000 (04:49 +0100)]
- third (and hopefully final) draft for CADET API

7 years agouse 'futures' bitfield in ACKs properly, revisit unbuffered/out-of-order transmission
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

7 years agoimplement random packet drop option, fix retransmission logic
Christian Grothoff [Thu, 26 Jan 2017 17:34:29 +0000 (18:34 +0100)]
implement random packet drop option, fix retransmission logic

7 years ago- second iteration for new CADET API
Bart Polot [Thu, 26 Jan 2017 14:53:20 +0000 (15:53 +0100)]
- second iteration for new CADET API

7 years agodocument what test does
Christian Grothoff [Thu, 26 Jan 2017 14:06:28 +0000 (15:06 +0100)]
document what test does

7 years agoadd hints on how to fix the multipeer tests
lurchi [Thu, 26 Jan 2017 00:13:46 +0000 (01:13 +0100)]
add hints on how to fix the multipeer tests

7 years agouse correct way to resume download
Christian Grothoff [Wed, 25 Jan 2017 22:02:31 +0000 (23:02 +0100)]
use correct way to resume download

7 years agodo not start download twice
Christian Grothoff [Wed, 25 Jan 2017 21:58:01 +0000 (22:58 +0100)]
do not start download twice

7 years agoupdate ignore file
Christian Grothoff [Wed, 25 Jan 2017 21:49:40 +0000 (22:49 +0100)]
update ignore file

7 years agoallow connect_cb to be NULL
Christian Grothoff [Wed, 25 Jan 2017 21:40:58 +0000 (22:40 +0100)]
allow connect_cb to be NULL

7 years agofix log calls
Christian Grothoff [Wed, 25 Jan 2017 21:38:21 +0000 (22:38 +0100)]
fix log calls

7 years agofix log calls
Christian Grothoff [Wed, 25 Jan 2017 21:38:17 +0000 (22:38 +0100)]
fix log calls

7 years agoMerge branch 'master' of ssh://gnunet.org/gnunet
xrs [Wed, 25 Jan 2017 20:17:13 +0000 (21:17 +0100)]
Merge branch 'master' of ssh://gnunet.org/gnunet

7 years agomulticast: test simple join between two peers
xrs [Wed, 25 Jan 2017 19:26:58 +0000 (20:26 +0100)]
multicast: test simple join between two peers

7 years agomake new cadet implementation the default: all tests pass (on my system); however...
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

7 years agoimplement keepalives
Christian Grothoff [Wed, 25 Jan 2017 20:02:11 +0000 (21:02 +0100)]
implement keepalives

7 years agopreparations for keepalives
Christian Grothoff [Wed, 25 Jan 2017 19:38:18 +0000 (20:38 +0100)]
preparations for keepalives

7 years agobuild new test
Christian Grothoff [Wed, 25 Jan 2017 19:37:30 +0000 (20:37 +0100)]
build new test

7 years agocleanups
Christian Grothoff [Wed, 25 Jan 2017 19:06:39 +0000 (20:06 +0100)]
cleanups

7 years agohandle ACKs past client down
Christian Grothoff [Wed, 25 Jan 2017 19:04:32 +0000 (20:04 +0100)]
handle ACKs past client down

7 years agofix insert_sorted macro
Christian Grothoff [Wed, 25 Jan 2017 18:59:29 +0000 (19:59 +0100)]
fix insert_sorted macro

7 years agotypo in comment
Christian Grothoff [Wed, 25 Jan 2017 18:42:06 +0000 (19:42 +0100)]
typo in comment

7 years agofix confusing indentation
Christian Grothoff [Wed, 25 Jan 2017 18:36:35 +0000 (19:36 +0100)]
fix confusing indentation

7 years agotowards proper DATA_ACK handling
Christian Grothoff [Wed, 25 Jan 2017 18:29:54 +0000 (19:29 +0100)]
towards proper DATA_ACK handling

7 years agotowards proper DATA_ACK handling
Christian Grothoff [Wed, 25 Jan 2017 18:29:45 +0000 (19:29 +0100)]
towards proper DATA_ACK handling

7 years agohandle ancient/future duplicate payload properly
Christian Grothoff [Wed, 25 Jan 2017 17:26:27 +0000 (18:26 +0100)]
handle ancient/future duplicate payload properly

7 years agofix comment, this was implemented
Christian Grothoff [Wed, 25 Jan 2017 16:39:28 +0000 (17:39 +0100)]
fix comment, this was implemented

7 years agofix double-transmission scheduling, implement client-client loopback flow control
Christian Grothoff [Wed, 25 Jan 2017 16:38:22 +0000 (17:38 +0100)]
fix double-transmission scheduling, implement client-client loopback flow control

7 years agofix leak
Christian Grothoff [Wed, 25 Jan 2017 15:11:27 +0000 (16:11 +0100)]
fix leak

7 years agoremove legacy commented out code
Christian Grothoff [Wed, 25 Jan 2017 14:57:52 +0000 (15:57 +0100)]
remove legacy commented out code

7 years agofix leak
Christian Grothoff [Wed, 25 Jan 2017 14:53:43 +0000 (15:53 +0100)]
fix leak

7 years agofix leak
Christian Grothoff [Wed, 25 Jan 2017 14:50:27 +0000 (15:50 +0100)]
fix leak

7 years agohandle duplicate DATA packets
Christian Grothoff [Wed, 25 Jan 2017 13:51:40 +0000 (14:51 +0100)]
handle duplicate DATA packets

7 years agouse new generic insertion sort logic
Christian Grothoff [Wed, 25 Jan 2017 13:41:39 +0000 (14:41 +0100)]
use new generic insertion sort logic

7 years agoadd generic insertion sort logic
Christian Grothoff [Wed, 25 Jan 2017 13:41:05 +0000 (14:41 +0100)]
add generic insertion sort logic

7 years agoadd generic insertion sort logic
Christian Grothoff [Wed, 25 Jan 2017 13:41:00 +0000 (14:41 +0100)]
add generic insertion sort logic

7 years agoNew CADET MQ API draft
Bart Polot [Wed, 25 Jan 2017 12:17:22 +0000 (13:17 +0100)]
New CADET MQ API draft

7 years agonicer logging
Christian Grothoff [Wed, 25 Jan 2017 09:16:35 +0000 (10:16 +0100)]
nicer logging

7 years agofix crash if this end closed connection and other still sends data
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