Christian Grothoff [Tue, 16 Dec 2014 23:11:45 +0000 (23:11 +0000)]
-simplify tools test
Christian Grothoff [Tue, 16 Dec 2014 23:11:22 +0000 (23:11 +0000)]
-simplify tools test
Christian Grothoff [Tue, 16 Dec 2014 22:45:29 +0000 (22:45 +0000)]
-towards addressing #3581
Christian Grothoff [Tue, 16 Dec 2014 22:13:09 +0000 (22:13 +0000)]
-disable nse pow
Christian Grothoff [Tue, 16 Dec 2014 22:07:27 +0000 (22:07 +0000)]
-must notify client on timeout
Christian Grothoff [Tue, 16 Dec 2014 21:49:27 +0000 (21:49 +0000)]
-gns tests do require autostarts
Christian Grothoff [Tue, 16 Dec 2014 21:40:25 +0000 (21:40 +0000)]
-no nse
Christian Grothoff [Tue, 16 Dec 2014 21:39:20 +0000 (21:39 +0000)]
-no nse
Christian Grothoff [Tue, 16 Dec 2014 21:35:51 +0000 (21:35 +0000)]
-no NSE
Christian Grothoff [Tue, 16 Dec 2014 21:28:24 +0000 (21:28 +0000)]
-hostlist tests need topology
Christian Grothoff [Tue, 16 Dec 2014 21:14:39 +0000 (21:14 +0000)]
-adding single file for testing without autostarts above core level
Matthias Wachs [Tue, 16 Dec 2014 20:57:09 +0000 (20:57 +0000)]
removing experimentation: replaced by sensors
Christian Grothoff [Tue, 16 Dec 2014 20:56:42 +0000 (20:56 +0000)]
-ugh
Christian Grothoff [Tue, 16 Dec 2014 20:56:32 +0000 (20:56 +0000)]
-removing tons of options that should be dead
Christian Grothoff [Tue, 16 Dec 2014 20:48:08 +0000 (20:48 +0000)]
-disable forcestart
Christian Grothoff [Tue, 16 Dec 2014 20:31:20 +0000 (20:31 +0000)]
-remove TH from map upon completion of transmission
Christian Grothoff [Tue, 16 Dec 2014 20:30:52 +0000 (20:30 +0000)]
-pass peer identity pointer to clients that will remain allocated
Christian Grothoff [Tue, 16 Dec 2014 20:25:51 +0000 (20:25 +0000)]
-unnecessary
Christian Grothoff [Tue, 16 Dec 2014 20:15:15 +0000 (20:15 +0000)]
-slist remains
Christian Grothoff [Tue, 16 Dec 2014 20:13:31 +0000 (20:13 +0000)]
-fix bus error
Christian Grothoff [Tue, 16 Dec 2014 19:55:54 +0000 (19:55 +0000)]
-assign ports to sensor*
Christian Grothoff [Tue, 16 Dec 2014 19:51:16 +0000 (19:51 +0000)]
-fix warning
Christian Grothoff [Tue, 16 Dec 2014 19:39:17 +0000 (19:39 +0000)]
-adding debug logic for #3555
Christian Grothoff [Tue, 16 Dec 2014 19:32:07 +0000 (19:32 +0000)]
-make compilers happy
Christian Grothoff [Tue, 16 Dec 2014 19:29:57 +0000 (19:29 +0000)]
-check return value
Christian Grothoff [Tue, 16 Dec 2014 19:28:42 +0000 (19:28 +0000)]
-fix leak
Christian Grothoff [Tue, 16 Dec 2014 19:25:11 +0000 (19:25 +0000)]
-fix leak
Christian Grothoff [Tue, 16 Dec 2014 19:22:01 +0000 (19:22 +0000)]
-check return values
Christian Grothoff [Tue, 16 Dec 2014 19:20:34 +0000 (19:20 +0000)]
-fix use of possibly wrong or uninitialized session
Christian Grothoff [Tue, 16 Dec 2014 19:11:41 +0000 (19:11 +0000)]
-check return values
Christian Grothoff [Tue, 16 Dec 2014 19:10:52 +0000 (19:10 +0000)]
-check return values
Christian Grothoff [Tue, 16 Dec 2014 19:10:30 +0000 (19:10 +0000)]
-check return values
Christian Grothoff [Tue, 16 Dec 2014 19:07:39 +0000 (19:07 +0000)]
-fix leak on error handling path
Christian Grothoff [Tue, 16 Dec 2014 18:59:49 +0000 (18:59 +0000)]
-fix stray semicolon
Christian Grothoff [Tue, 16 Dec 2014 18:56:52 +0000 (18:56 +0000)]
-fix leak
Christian Grothoff [Tue, 16 Dec 2014 18:48:00 +0000 (18:48 +0000)]
properly report NSE estimate to statistics (#3563?)
Christian Grothoff [Tue, 16 Dec 2014 18:23:52 +0000 (18:23 +0000)]
-build scalarproduct by default
Christian Grothoff [Tue, 16 Dec 2014 18:22:14 +0000 (18:22 +0000)]
-fix test: needs correct port in correct section of config file
Christian Grothoff [Tue, 16 Dec 2014 18:13:48 +0000 (18:13 +0000)]
-simplify config
Christian Grothoff [Tue, 16 Dec 2014 17:38:49 +0000 (17:38 +0000)]
-fix bad CMP
Christian Grothoff [Tue, 16 Dec 2014 17:34:18 +0000 (17:34 +0000)]
do not poll empty database every 100ms for migration, doxygen fixes, code cleanup
Christian Grothoff [Mon, 15 Dec 2014 18:58:47 +0000 (18:58 +0000)]
-fix double free
Christian Grothoff [Mon, 15 Dec 2014 18:44:47 +0000 (18:44 +0000)]
-fix test logic
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