oweals/gnunet.git
9 years ago-check return values
Christian Grothoff [Tue, 16 Dec 2014 19:10:52 +0000 (19:10 +0000)]
-check return values

9 years ago-check return values
Christian Grothoff [Tue, 16 Dec 2014 19:10:30 +0000 (19:10 +0000)]
-check return values

9 years ago-fix leak on error handling path
Christian Grothoff [Tue, 16 Dec 2014 19:07:39 +0000 (19:07 +0000)]
-fix leak on error handling path

9 years ago-fix stray semicolon
Christian Grothoff [Tue, 16 Dec 2014 18:59:49 +0000 (18:59 +0000)]
-fix stray semicolon

9 years ago-fix leak
Christian Grothoff [Tue, 16 Dec 2014 18:56:52 +0000 (18:56 +0000)]
-fix leak

9 years agoproperly report NSE estimate to statistics (#3563?)
Christian Grothoff [Tue, 16 Dec 2014 18:48:00 +0000 (18:48 +0000)]
properly report NSE estimate to statistics (#3563?)

9 years ago-build scalarproduct by default
Christian Grothoff [Tue, 16 Dec 2014 18:23:52 +0000 (18:23 +0000)]
-build scalarproduct by default

9 years ago-fix test: needs correct port in correct section of config file
Christian Grothoff [Tue, 16 Dec 2014 18:22:14 +0000 (18:22 +0000)]
-fix test: needs correct port in correct section of config file

9 years ago-simplify config
Christian Grothoff [Tue, 16 Dec 2014 18:13:48 +0000 (18:13 +0000)]
-simplify config

9 years ago-fix bad CMP
Christian Grothoff [Tue, 16 Dec 2014 17:38:49 +0000 (17:38 +0000)]
-fix bad CMP

9 years agodo not poll empty database every 100ms for migration, doxygen fixes, code cleanup
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

9 years ago-fix double free
Christian Grothoff [Mon, 15 Dec 2014 18:58:47 +0000 (18:58 +0000)]
-fix double free

9 years ago-fix test logic
Christian Grothoff [Mon, 15 Dec 2014 18:44:47 +0000 (18:44 +0000)]
-fix test logic

9 years ago-simplify configs, do use defaults where they work / are identical
Christian Grothoff [Mon, 15 Dec 2014 18:41:03 +0000 (18:41 +0000)]
-simplify configs, do use defaults where they work / are identical

9 years ago-fix test: only run test logic, not full peer
Christian Grothoff [Mon, 15 Dec 2014 18:36:57 +0000 (18:36 +0000)]
-fix test: only run test logic, not full peer

9 years ago-bump year
Christian Grothoff [Mon, 15 Dec 2014 18:10:18 +0000 (18:10 +0000)]
-bump year

9 years agoremoving dead code, improving comments, simplifying iteration logic, making iteration...
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

9 years ago- update test config
Bart Polot [Mon, 15 Dec 2014 15:16:17 +0000 (15:16 +0000)]
- update test config

9 years agoFix empty tunnel detection
Bart Polot [Mon, 15 Dec 2014 15:12:56 +0000 (15:12 +0000)]
Fix empty tunnel detection

9 years ago-doxygen, indentation
Christian Grothoff [Mon, 15 Dec 2014 15:01:39 +0000 (15:01 +0000)]
-doxygen, indentation

9 years ago-fix crash in testcase
Christian Grothoff [Mon, 15 Dec 2014 14:47:44 +0000 (14:47 +0000)]
-fix crash in testcase

9 years ago- fix cadet's overhead
Bart Polot [Mon, 15 Dec 2014 07:30:46 +0000 (07:30 +0000)]
- fix cadet's overhead

9 years agoOnly allow one EPHM/PONG in the queue.
Bart Polot [Mon, 15 Dec 2014 07:18:32 +0000 (07:18 +0000)]
Only allow one EPHM/PONG in the queue.

9 years ago- signal wrong tunnel encryption state
Bart Polot [Mon, 15 Dec 2014 07:18:31 +0000 (07:18 +0000)]
- signal wrong tunnel encryption state

9 years ago- fix tunnel encryption state on time triggered rekey
Bart Polot [Mon, 15 Dec 2014 07:18:30 +0000 (07:18 +0000)]
- fix tunnel encryption state on time triggered rekey

9 years ago- refactor kx_ctx management
Bart Polot [Mon, 15 Dec 2014 07:18:29 +0000 (07:18 +0000)]
- refactor kx_ctx management

9 years ago- always allow an ACK
Bart Polot [Mon, 15 Dec 2014 07:18:27 +0000 (07:18 +0000)]
- always allow an ACK

9 years ago- Always send traffic coming from channel, even overfilling connection buffer. Client...
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.

9 years ago- ignore
Bart Polot [Mon, 15 Dec 2014 07:18:25 +0000 (07:18 +0000)]
- ignore

9 years agoFix channel buffer retrieval, add debug
Bart Polot [Mon, 15 Dec 2014 07:18:24 +0000 (07:18 +0000)]
Fix channel buffer retrieval, add debug

9 years ago- destroy old connection in case of duplicate connections when ownID > peerID
Bart Polot [Mon, 15 Dec 2014 07:18:22 +0000 (07:18 +0000)]
- destroy old connection in case of duplicate connections when ownID > peerID

9 years ago- use path equivalency
Bart Polot [Mon, 15 Dec 2014 07:18:21 +0000 (07:18 +0000)]
- use path equivalency

9 years ago- refactorize path checking code, look both ways
Bart Polot [Mon, 15 Dec 2014 07:18:20 +0000 (07:18 +0000)]
- refactorize path checking code, look both ways

9 years ago- more debug, eliminate bogus assertions
Bart Polot [Mon, 15 Dec 2014 07:18:18 +0000 (07:18 +0000)]
- more debug, eliminate bogus assertions

9 years ago- avoid duplicate (same path) connections
Bart Polot [Mon, 15 Dec 2014 07:18:17 +0000 (07:18 +0000)]
- avoid duplicate (same path) connections

9 years ago- check KX context at PONG
Bart Polot [Mon, 15 Dec 2014 07:18:16 +0000 (07:18 +0000)]
- check KX context at PONG

9 years ago- having allowance too spare is not an error
Bart Polot [Mon, 15 Dec 2014 07:18:14 +0000 (07:18 +0000)]
- having allowance too spare is not an error

9 years ago- fix PID management on send
Bart Polot [Mon, 15 Dec 2014 07:18:13 +0000 (07:18 +0000)]
- fix PID management on send

9 years ago- clear core handle to avoid shutdown crash
Bart Polot [Mon, 15 Dec 2014 07:18:12 +0000 (07:18 +0000)]
- clear core handle to avoid shutdown crash

9 years ago- don't try to ack on non-ready tunnels
Bart Polot [Mon, 15 Dec 2014 07:18:10 +0000 (07:18 +0000)]
- don't try to ack on non-ready tunnels

9 years ago- refactor buffer filling
Bart Polot [Mon, 15 Dec 2014 07:18:09 +0000 (07:18 +0000)]
- refactor buffer filling

9 years ago- Added correct core request timing info
Bart Polot [Mon, 15 Dec 2014 07:18:08 +0000 (07:18 +0000)]
- Added correct core request timing info

9 years ago- use proper wait time for core timing
Bart Polot [Mon, 15 Dec 2014 07:18:07 +0000 (07:18 +0000)]
- use proper wait time for core timing

9 years ago- calculate the correct amount of messages to allow per connection
Bart Polot [Mon, 15 Dec 2014 07:18:06 +0000 (07:18 +0000)]
- calculate the correct amount of messages to allow per connection

9 years ago- make connection always log with ---, reserve === for upper levels
Bart Polot [Mon, 15 Dec 2014 07:18:04 +0000 (07:18 +0000)]
- make connection always log with ---, reserve === for upper levels

9 years ago- send queued data the first time
Bart Polot [Mon, 15 Dec 2014 07:18:03 +0000 (07:18 +0000)]
- send queued data the first time

9 years agoFuse PING into KX_EPHEMERAL
Bart Polot [Mon, 15 Dec 2014 07:18:02 +0000 (07:18 +0000)]
Fuse PING into KX_EPHEMERAL

9 years ago- leave space for any number
Bart Polot [Mon, 15 Dec 2014 07:18:00 +0000 (07:18 +0000)]
- leave space for any number

9 years agoSend all queued messages that fit into the core buffer
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

9 years ago- more debug info
Bart Polot [Mon, 15 Dec 2014 07:17:57 +0000 (07:17 +0000)]
- more debug info

9 years ago- raise loglevel of timeout events
Bart Polot [Mon, 15 Dec 2014 07:17:56 +0000 (07:17 +0000)]
- raise loglevel of timeout events

9 years agoFix connection count to count only ESTABLISHED connections, use DEFINE instead of...
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

9 years ago- don't break if connection is empty (no messages to dequeue/call callback)
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)

9 years agoMake process_log more generic
Bart Polot [Mon, 15 Dec 2014 07:17:52 +0000 (07:17 +0000)]
Make process_log more generic

9 years ago- move script to proper dir
Bart Polot [Mon, 15 Dec 2014 07:17:50 +0000 (07:17 +0000)]
- move script to proper dir

9 years ago- fix segfault
Bart Polot [Mon, 15 Dec 2014 07:17:49 +0000 (07:17 +0000)]
- fix segfault

9 years agoFix memory corruption: new connection always makes copy of path.
Bart Polot [Mon, 15 Dec 2014 07:17:48 +0000 (07:17 +0000)]
Fix memory corruption: new connection always makes copy of path.

9 years agoNever invalidate a direct path. (Like after getting a CONNECTION_BROKEN on a direct...
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)

9 years agoFix resending of connection traffic
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

9 years ago- remove duplicate logging
Bart Polot [Mon, 15 Dec 2014 07:17:44 +0000 (07:17 +0000)]
- remove duplicate logging

9 years ago- refactor resend_messages_and_destroy for popping and sending messages of a dead...
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

9 years ago- debug for KX
Bart Polot [Mon, 15 Dec 2014 07:17:41 +0000 (07:17 +0000)]
- debug for KX

9 years ago- debug for missing paths on incoming messages
Bart Polot [Mon, 15 Dec 2014 07:17:40 +0000 (07:17 +0000)]
- debug for missing paths on incoming messages

9 years agoFix message resend on connection timeout: mark connection as destroyed to avoid re...
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.

9 years ago- more debug for received traffic
Bart Polot [Mon, 15 Dec 2014 07:17:37 +0000 (07:17 +0000)]
- more debug for received traffic

9 years agoFix conservation of old keys in case of simultaneous KX:
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

9 years ago- log EPHM on receipt
Bart Polot [Mon, 15 Dec 2014 07:17:35 +0000 (07:17 +0000)]
- log EPHM on receipt

9 years ago- fix sending of queued tunnel data on KX end
Bart Polot [Mon, 15 Dec 2014 07:17:34 +0000 (07:17 +0000)]
- fix sending of queued tunnel data on KX end

9 years ago- log
Bart Polot [Mon, 15 Dec 2014 07:17:32 +0000 (07:17 +0000)]
- log

9 years ago- fix minor t->estate issues for better debug traceability
Bart Polot [Mon, 15 Dec 2014 07:17:31 +0000 (07:17 +0000)]
- fix minor t->estate issues for better debug traceability

9 years agoFixed key context manipulation in case of duplicate EPHM messages
Bart Polot [Mon, 15 Dec 2014 07:17:30 +0000 (07:17 +0000)]
Fixed key context manipulation in case of duplicate EPHM messages

9 years ago- refactor enc_state changer
Bart Polot [Mon, 15 Dec 2014 07:17:29 +0000 (07:17 +0000)]
- refactor enc_state changer

9 years ago- doxygen
Bart Polot [Mon, 15 Dec 2014 07:17:27 +0000 (07:17 +0000)]
- doxygen

9 years ago- doxygen
Bart Polot [Mon, 15 Dec 2014 07:17:26 +0000 (07:17 +0000)]
- doxygen

9 years ago- fix resetting of key cleaner task
Bart Polot [Mon, 15 Dec 2014 07:17:25 +0000 (07:17 +0000)]
- fix resetting of key cleaner task

9 years ago- log
Bart Polot [Mon, 15 Dec 2014 07:17:23 +0000 (07:17 +0000)]
- log

9 years ago- use proper STDIO
Bart Polot [Mon, 15 Dec 2014 07:17:22 +0000 (07:17 +0000)]
- use proper STDIO

9 years ago- avoid usage of direct stdio sprintf
Bart Polot [Mon, 15 Dec 2014 07:17:21 +0000 (07:17 +0000)]
- avoid usage of direct stdio sprintf

9 years agoImplement asynchronous peerstore plugin API
David Barksdale [Mon, 15 Dec 2014 00:32:17 +0000 (00:32 +0000)]
Implement asynchronous peerstore plugin API

Resolves #3506

9 years agofix key management issue with LOC signing identified in #3559
Christian Grothoff [Sun, 14 Dec 2014 22:15:55 +0000 (22:15 +0000)]
fix key management issue with LOC signing identified in #3559

9 years agofix #3570: finally remove SList API
Christian Grothoff [Sun, 14 Dec 2014 22:15:06 +0000 (22:15 +0000)]
fix #3570: finally remove SList API

9 years ago-dead vars
Christian Grothoff [Sun, 14 Dec 2014 22:14:11 +0000 (22:14 +0000)]
-dead vars

9 years agofixed errors
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>
9 years agofixed error
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>
9 years agoGot rid of compile errors and warnings
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>
9 years agoCompletely got rid of SList
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>
9 years agoGot rid of SList
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>
9 years agobefore deleting PeerList
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>
9 years ago-fixing peerinfo part of #3559
Christian Grothoff [Sun, 14 Dec 2014 20:52:16 +0000 (20:52 +0000)]
-fixing peerinfo part of #3559

9 years agoGrothoff's W32 select slist elimination and prettification
LRN [Sun, 14 Dec 2014 14:54:54 +0000 (14:54 +0000)]
Grothoff's W32 select slist elimination and prettification

9 years agoGrothoff's massive indentation and documentation fixes in util/network.c
LRN [Sun, 14 Dec 2014 14:54:50 +0000 (14:54 +0000)]
Grothoff's massive indentation and documentation fixes in util/network.c

9 years ago-do forcestart for gns; doxygen fixes
Christian Grothoff [Sun, 14 Dec 2014 13:15:00 +0000 (13:15 +0000)]
-do forcestart for gns; doxygen fixes

9 years agotrying to fix #3576
Christian Grothoff [Sun, 14 Dec 2014 00:40:51 +0000 (00:40 +0000)]
trying to fix #3576

9 years ago-more logging in try_transmission
Christian Grothoff [Sat, 13 Dec 2014 23:44:47 +0000 (23:44 +0000)]
-more logging in try_transmission

9 years ago-style fixes
Christian Grothoff [Sat, 13 Dec 2014 20:37:51 +0000 (20:37 +0000)]
-style fixes

9 years agoproperly clean up pending advertisement message requests with CORE on peer disconnect
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

9 years ago-doxygen, one more statistic
Christian Grothoff [Sat, 13 Dec 2014 20:08:11 +0000 (20:08 +0000)]
-doxygen, one more statistic

9 years ago-split off MQ API into separate C file to reduce visibility of symbols; reindentation...
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

9 years agodo check message sizes in union p2p protocol
Christian Grothoff [Fri, 12 Dec 2014 15:01:03 +0000 (15:01 +0000)]
do check message sizes in union p2p protocol

9 years ago-fix leak
Christian Grothoff [Fri, 12 Dec 2014 13:56:26 +0000 (13:56 +0000)]
-fix leak