Christian Grothoff [Mon, 15 Dec 2014 18:41:03 +0000 (18:41 +0000)]
-simplify configs, do use defaults where they work / are identical
Christian Grothoff [Mon, 15 Dec 2014 18:36:57 +0000 (18:36 +0000)]
-fix test: only run test logic, not full peer
Christian Grothoff [Mon, 15 Dec 2014 18:10:18 +0000 (18:10 +0000)]
-bump year
Christian Grothoff [Mon, 15 Dec 2014 18:09:16 +0000 (18:09 +0000)]
removing dead code, improving comments, simplifying iteration logic, making iteration over all addresses also faster
Bart Polot [Mon, 15 Dec 2014 15:16:17 +0000 (15:16 +0000)]
- update test config
Bart Polot [Mon, 15 Dec 2014 15:12:56 +0000 (15:12 +0000)]
Fix empty tunnel detection
Christian Grothoff [Mon, 15 Dec 2014 15:01:39 +0000 (15:01 +0000)]
-doxygen, indentation
Christian Grothoff [Mon, 15 Dec 2014 14:47:44 +0000 (14:47 +0000)]
-fix crash in testcase
Bart Polot [Mon, 15 Dec 2014 07:30:46 +0000 (07:30 +0000)]
- fix cadet's overhead
Bart Polot [Mon, 15 Dec 2014 07:18:32 +0000 (07:18 +0000)]
Only allow one EPHM/PONG in the queue.
Bart Polot [Mon, 15 Dec 2014 07:18:31 +0000 (07:18 +0000)]
- signal wrong tunnel encryption state
Bart Polot [Mon, 15 Dec 2014 07:18:30 +0000 (07:18 +0000)]
- fix tunnel encryption state on time triggered rekey
Bart Polot [Mon, 15 Dec 2014 07:18:29 +0000 (07:18 +0000)]
- refactor kx_ctx management
Bart Polot [Mon, 15 Dec 2014 07:18:27 +0000 (07:18 +0000)]
- always allow an ACK
Bart Polot [Mon, 15 Dec 2014 07:18:26 +0000 (07:18 +0000)]
- Always send traffic coming from channel, even overfilling connection buffer. Clients won't get an ACK anyway.
Bart Polot [Mon, 15 Dec 2014 07:18:25 +0000 (07:18 +0000)]
- ignore
Bart Polot [Mon, 15 Dec 2014 07:18:24 +0000 (07:18 +0000)]
Fix channel buffer retrieval, add debug
Bart Polot [Mon, 15 Dec 2014 07:18:22 +0000 (07:18 +0000)]
- destroy old connection in case of duplicate connections when ownID > peerID
Bart Polot [Mon, 15 Dec 2014 07:18:21 +0000 (07:18 +0000)]
- use path equivalency
Bart Polot [Mon, 15 Dec 2014 07:18:20 +0000 (07:18 +0000)]
- refactorize path checking code, look both ways
Bart Polot [Mon, 15 Dec 2014 07:18:18 +0000 (07:18 +0000)]
- more debug, eliminate bogus assertions
Bart Polot [Mon, 15 Dec 2014 07:18:17 +0000 (07:18 +0000)]
- avoid duplicate (same path) connections
Bart Polot [Mon, 15 Dec 2014 07:18:16 +0000 (07:18 +0000)]
- check KX context at PONG
Bart Polot [Mon, 15 Dec 2014 07:18:14 +0000 (07:18 +0000)]
- having allowance too spare is not an error
Bart Polot [Mon, 15 Dec 2014 07:18:13 +0000 (07:18 +0000)]
- fix PID management on send
Bart Polot [Mon, 15 Dec 2014 07:18:12 +0000 (07:18 +0000)]
- clear core handle to avoid shutdown crash
Bart Polot [Mon, 15 Dec 2014 07:18:10 +0000 (07:18 +0000)]
- don't try to ack on non-ready tunnels
Bart Polot [Mon, 15 Dec 2014 07:18:09 +0000 (07:18 +0000)]
- refactor buffer filling
Bart Polot [Mon, 15 Dec 2014 07:18:08 +0000 (07:18 +0000)]
- Added correct core request timing info
Bart Polot [Mon, 15 Dec 2014 07:18:07 +0000 (07:18 +0000)]
- use proper wait time for core timing
Bart Polot [Mon, 15 Dec 2014 07:18:06 +0000 (07:18 +0000)]
- calculate the correct amount of messages to allow per connection
Bart Polot [Mon, 15 Dec 2014 07:18:04 +0000 (07:18 +0000)]
- make connection always log with ---, reserve === for upper levels
Bart Polot [Mon, 15 Dec 2014 07:18:03 +0000 (07:18 +0000)]
- send queued data the first time
Bart Polot [Mon, 15 Dec 2014 07:18:02 +0000 (07:18 +0000)]
Fuse PING into KX_EPHEMERAL
Bart Polot [Mon, 15 Dec 2014 07:18:00 +0000 (07:18 +0000)]
- leave space for any number
Bart Polot [Mon, 15 Dec 2014 07:17:59 +0000 (07:17 +0000)]
Send all queued messages that fit into the core buffer
- Add timing info for debug
Bart Polot [Mon, 15 Dec 2014 07:17:57 +0000 (07:17 +0000)]
- more debug info
Bart Polot [Mon, 15 Dec 2014 07:17:56 +0000 (07:17 +0000)]
- raise loglevel of timeout events
Bart Polot [Mon, 15 Dec 2014 07:17:55 +0000 (07:17 +0000)]
Fix connection count to count only ESTABLISHED connections, use DEFINE instead of hardcoded number
Bart Polot [Mon, 15 Dec 2014 07:17:53 +0000 (07:17 +0000)]
- don't break if connection is empty (no messages to dequeue/call callback)
Bart Polot [Mon, 15 Dec 2014 07:17:52 +0000 (07:17 +0000)]
Make process_log more generic
Bart Polot [Mon, 15 Dec 2014 07:17:50 +0000 (07:17 +0000)]
- move script to proper dir
Bart Polot [Mon, 15 Dec 2014 07:17:49 +0000 (07:17 +0000)]
- fix segfault
Bart Polot [Mon, 15 Dec 2014 07:17:48 +0000 (07:17 +0000)]
Fix memory corruption: new connection always makes copy of path.
Bart Polot [Mon, 15 Dec 2014 07:17:46 +0000 (07:17 +0000)]
Never invalidate a direct path. (Like after getting a CONNECTION_BROKEN on a direct connection)
Bart Polot [Mon, 15 Dec 2014 07:17:45 +0000 (07:17 +0000)]
Fix resending of connection traffic
* avoid SEGFAULT on connections with no tunnel
* don't leak memory
Bart Polot [Mon, 15 Dec 2014 07:17:44 +0000 (07:17 +0000)]
- remove duplicate logging
Bart Polot [Mon, 15 Dec 2014 07:17:42 +0000 (07:17 +0000)]
- refactor resend_messages_and_destroy for popping and sending messages of a dead connection
Bart Polot [Mon, 15 Dec 2014 07:17:41 +0000 (07:17 +0000)]
- debug for KX
Bart Polot [Mon, 15 Dec 2014 07:17:40 +0000 (07:17 +0000)]
- debug for missing paths on incoming messages
Bart Polot [Mon, 15 Dec 2014 07:17:39 +0000 (07:17 +0000)]
Fix message resend on connection timeout: mark connection as destroyed to avoid re-queueing in self.
Bart Polot [Mon, 15 Dec 2014 07:17:37 +0000 (07:17 +0000)]
- more debug for received traffic
Bart Polot [Mon, 15 Dec 2014 07:17:36 +0000 (07:17 +0000)]
Fix conservation of old keys in case of simultaneous KX:
when creating a new kx_ctx, copy old keys based on tunnel estate, not finish_task
Bart Polot [Mon, 15 Dec 2014 07:17:35 +0000 (07:17 +0000)]
- log EPHM on receipt
Bart Polot [Mon, 15 Dec 2014 07:17:34 +0000 (07:17 +0000)]
- fix sending of queued tunnel data on KX end
Bart Polot [Mon, 15 Dec 2014 07:17:32 +0000 (07:17 +0000)]
- log
Bart Polot [Mon, 15 Dec 2014 07:17:31 +0000 (07:17 +0000)]
- fix minor t->estate issues for better debug traceability
Bart Polot [Mon, 15 Dec 2014 07:17:30 +0000 (07:17 +0000)]
Fixed key context manipulation in case of duplicate EPHM messages
Bart Polot [Mon, 15 Dec 2014 07:17:29 +0000 (07:17 +0000)]
- refactor enc_state changer
Bart Polot [Mon, 15 Dec 2014 07:17:27 +0000 (07:17 +0000)]
- doxygen
Bart Polot [Mon, 15 Dec 2014 07:17:26 +0000 (07:17 +0000)]
- doxygen
Bart Polot [Mon, 15 Dec 2014 07:17:25 +0000 (07:17 +0000)]
- fix resetting of key cleaner task
Bart Polot [Mon, 15 Dec 2014 07:17:23 +0000 (07:17 +0000)]
- log
Bart Polot [Mon, 15 Dec 2014 07:17:22 +0000 (07:17 +0000)]
- use proper STDIO
Bart Polot [Mon, 15 Dec 2014 07:17:21 +0000 (07:17 +0000)]
- avoid usage of direct stdio sprintf
David Barksdale [Mon, 15 Dec 2014 00:32:17 +0000 (00:32 +0000)]
Implement asynchronous peerstore plugin API
Resolves #3506
Christian Grothoff [Sun, 14 Dec 2014 22:15:55 +0000 (22:15 +0000)]
fix key management issue with LOC signing identified in #3559
Christian Grothoff [Sun, 14 Dec 2014 22:15:06 +0000 (22:15 +0000)]
fix #3570: finally remove SList API
Christian Grothoff [Sun, 14 Dec 2014 22:14:11 +0000 (22:14 +0000)]
-dead vars
Julius Bünger [Sun, 14 Dec 2014 21:48:15 +0000 (21:48 +0000)]
fixed errors
Signed-off-by: Julius Bünger <buenger@mytum.de>
Julius Bünger [Sun, 14 Dec 2014 21:48:12 +0000 (21:48 +0000)]
fixed error
Signed-off-by: Julius Bünger <buenger@mytum.de>
Julius Bünger [Sun, 14 Dec 2014 21:48:09 +0000 (21:48 +0000)]
Got rid of compile errors and warnings
Signed-off-by: Julius Bünger <buenger@mytum.de>
Julius Bünger [Sun, 14 Dec 2014 21:48:07 +0000 (21:48 +0000)]
Completely got rid of SList
Signed-off-by: Julius Bünger <buenger@mytum.de>
Julius Bünger [Sun, 14 Dec 2014 21:48:04 +0000 (21:48 +0000)]
Got rid of SList
Signed-off-by: Julius Bünger <buenger@mytum.de>
Julius Bünger [Sun, 14 Dec 2014 21:48:00 +0000 (21:48 +0000)]
before deleting PeerList
Signed-off-by: Julius Bünger <buenger@mytum.de>
Christian Grothoff [Sun, 14 Dec 2014 20:52:16 +0000 (20:52 +0000)]
-fixing peerinfo part of #3559
LRN [Sun, 14 Dec 2014 14:54:54 +0000 (14:54 +0000)]
Grothoff's W32 select slist elimination and prettification
LRN [Sun, 14 Dec 2014 14:54:50 +0000 (14:54 +0000)]
Grothoff's massive indentation and documentation fixes in util/network.c
Christian Grothoff [Sun, 14 Dec 2014 13:15:00 +0000 (13:15 +0000)]
-do forcestart for gns; doxygen fixes
Christian Grothoff [Sun, 14 Dec 2014 00:40:51 +0000 (00:40 +0000)]
trying to fix #3576
Christian Grothoff [Sat, 13 Dec 2014 23:44:47 +0000 (23:44 +0000)]
-more logging in try_transmission
Christian Grothoff [Sat, 13 Dec 2014 20:37:51 +0000 (20:37 +0000)]
-style fixes
Christian Grothoff [Sat, 13 Dec 2014 20:19:26 +0000 (20:19 +0000)]
properly clean up pending advertisement message requests with CORE on peer disconnect
Christian Grothoff [Sat, 13 Dec 2014 20:08:11 +0000 (20:08 +0000)]
-doxygen, one more statistic
Christian Grothoff [Sat, 13 Dec 2014 19:59:40 +0000 (19:59 +0000)]
-split off MQ API into separate C file to reduce visibility of symbols; reindentation, stylistic fixes
Christian Grothoff [Fri, 12 Dec 2014 15:01:03 +0000 (15:01 +0000)]
do check message sizes in union p2p protocol
Christian Grothoff [Fri, 12 Dec 2014 13:56:26 +0000 (13:56 +0000)]
-fix leak
Christian Grothoff [Fri, 12 Dec 2014 13:52:28 +0000 (13:52 +0000)]
-fix leak
Christian Grothoff [Fri, 12 Dec 2014 13:51:01 +0000 (13:51 +0000)]
-bad alloc, just leaks
Christian Grothoff [Fri, 12 Dec 2014 00:03:49 +0000 (00:03 +0000)]
start fewer FS probes concurrently, run them all in the same task to avoid undue pressure on the scheduler
Christian Grothoff [Thu, 11 Dec 2014 22:27:24 +0000 (22:27 +0000)]
-indentation, doxygen, style
Christian Grothoff [Thu, 11 Dec 2014 22:17:13 +0000 (22:17 +0000)]
-commit with dbg logic
Christian Grothoff [Thu, 11 Dec 2014 21:55:36 +0000 (21:55 +0000)]
-fix bugs
Bart Polot [Thu, 11 Dec 2014 19:01:29 +0000 (19:01 +0000)]
- proper CADET overhead
Christian Grothoff [Thu, 11 Dec 2014 14:57:46 +0000 (14:57 +0000)]
-could be other peer's fault
Christian Grothoff [Thu, 11 Dec 2014 14:57:18 +0000 (14:57 +0000)]
-warn on error
Christian Grothoff [Thu, 11 Dec 2014 14:09:06 +0000 (14:09 +0000)]
respect new CADET limit
Christian Grothoff [Thu, 11 Dec 2014 14:05:58 +0000 (14:05 +0000)]
-missed hostlist
Christian Grothoff [Thu, 11 Dec 2014 14:03:52 +0000 (14:03 +0000)]
adding single location for no_forcestart configuration list
Christian Grothoff [Thu, 11 Dec 2014 13:43:39 +0000 (13:43 +0000)]
-simplifying configs