oweals/gnunet.git
13 years agoCompleted incoming tunnel handling, refactored destroy tunnel
Bart Polot [Mon, 5 Sep 2011 14:23:29 +0000 (14:23 +0000)]
Completed incoming tunnel handling, refactored destroy tunnel

13 years agoseparate transport api debug messages from transport debugging
Matthias Wachs [Mon, 5 Sep 2011 12:31:19 +0000 (12:31 +0000)]
separate transport api debug messages from transport debugging
re-enabling ats in validation

13 years agofix shutdown order to prevent segfault
Matthias Wachs [Mon, 5 Sep 2011 12:29:08 +0000 (12:29 +0000)]
fix shutdown order to prevent segfault

13 years agoensure neighbour map is existing
Matthias Wachs [Mon, 5 Sep 2011 12:24:07 +0000 (12:24 +0000)]
ensure neighbour map is existing

13 years agofixing floating point execption
Matthias Wachs [Mon, 5 Sep 2011 11:25:09 +0000 (11:25 +0000)]
fixing floating point execption

13 years agono longer true
Christian Grothoff [Sun, 4 Sep 2011 09:24:50 +0000 (09:24 +0000)]
no longer true

13 years agoLRN:
Christian Grothoff [Sat, 3 Sep 2011 09:28:25 +0000 (09:28 +0000)]
LRN:
A bit less dirty transport crash fix

Basically, it now also frees mq before returning. The logic is kinda
complex for such a small thing, but it's either that, or having two
GNUNET_free (mq) statements.
Although maybe you can postpone freeing mq until the end of the
function (see v2 patch).

[this is the v2 patch]

13 years agoFixed bad merge
Bart Polot [Fri, 2 Sep 2011 20:03:13 +0000 (20:03 +0000)]
Fixed bad merge

13 years agoChanges in API, adapted code and testfiles, improved client reconnect, new documentat...
Bart Polot [Fri, 2 Sep 2011 19:59:58 +0000 (19:59 +0000)]
Changes in API, adapted code and testfiles, improved client reconnect, new documentation, small fixes

13 years agodoxygen
Christian Grothoff [Fri, 2 Sep 2011 14:44:42 +0000 (14:44 +0000)]
doxygen

13 years agobreaking stuff
Christian Grothoff [Fri, 2 Sep 2011 14:44:08 +0000 (14:44 +0000)]
breaking stuff

13 years agomaking mwachs happier
Christian Grothoff [Fri, 2 Sep 2011 13:10:08 +0000 (13:10 +0000)]
making mwachs happier

13 years agomaking mwachs happy
Christian Grothoff [Fri, 2 Sep 2011 13:08:37 +0000 (13:08 +0000)]
making mwachs happy

13 years agofix doc
Christian Grothoff [Fri, 2 Sep 2011 13:01:15 +0000 (13:01 +0000)]
fix doc

13 years agoAdded tunnel destroy, changed message types in client <-> service protocol
Bart Polot [Fri, 2 Sep 2011 12:38:18 +0000 (12:38 +0000)]
Added tunnel destroy, changed message types in client <-> service protocol

13 years agofix
Christian Grothoff [Fri, 2 Sep 2011 11:31:38 +0000 (11:31 +0000)]
fix

13 years agocleanup API for get_hello and get_hello_cancel
Christian Grothoff [Fri, 2 Sep 2011 11:21:00 +0000 (11:21 +0000)]
cleanup API for get_hello and get_hello_cancel

13 years agofix
Christian Grothoff [Fri, 2 Sep 2011 10:49:51 +0000 (10:49 +0000)]
fix

13 years agotypos
Christian Grothoff [Fri, 2 Sep 2011 10:48:55 +0000 (10:48 +0000)]
typos

13 years agodead
Christian Grothoff [Fri, 2 Sep 2011 09:31:49 +0000 (09:31 +0000)]
dead

13 years agodon't add addrs like crazy
Christian Grothoff [Fri, 2 Sep 2011 09:06:01 +0000 (09:06 +0000)]
don't add addrs like crazy

13 years agoLRN: fix dht tests --- not sure this is the best fix
Christian Grothoff [Fri, 2 Sep 2011 07:58:43 +0000 (07:58 +0000)]
LRN: fix dht tests --- not sure this is the best fix

13 years agoLRN fixes to DV config to make tests pass:
Christian Grothoff [Fri, 2 Sep 2011 07:57:24 +0000 (07:57 +0000)]
LRN fixes to DV config to make tests pass:

13 years agoLRN: fast and dirty transport crash fix
Christian Grothoff [Fri, 2 Sep 2011 07:57:14 +0000 (07:57 +0000)]
LRN: fast and dirty transport crash fix

13 years agoImplemented reconnect, creation of incoming tunnels, refactoring
Bart Polot [Fri, 2 Sep 2011 01:41:05 +0000 (01:41 +0000)]
Implemented reconnect, creation of incoming tunnels, refactoring

13 years agoWiP
Bart Polot [Thu, 1 Sep 2011 22:35:34 +0000 (22:35 +0000)]
WiP

13 years agoChanged variables and functions to meaningul names, changed debug logging, fixed...
Bart Polot [Thu, 1 Sep 2011 16:18:31 +0000 (16:18 +0000)]
Changed  variables and functions to meaningul names, changed debug logging, fixed bug in priority queueing.

13 years agofixing double-adding of the 'die-task'
Christian Grothoff [Thu, 1 Sep 2011 15:06:23 +0000 (15:06 +0000)]
fixing double-adding of the 'die-task'

13 years agoworking on DV -- trying to fix bug found by LRN
Christian Grothoff [Thu, 1 Sep 2011 15:04:29 +0000 (15:04 +0000)]
working on DV -- trying to fix bug found by LRN

13 years agoUpdated header for change in service (drop timeout from add_peer), updated doc
Bart Polot [Thu, 1 Sep 2011 14:29:00 +0000 (14:29 +0000)]
Updated header for change in service (drop timeout from add_peer), updated doc

13 years agoChanged add_peer to drop timeout, updated documentation, minor fixes
Bart Polot [Thu, 1 Sep 2011 14:28:19 +0000 (14:28 +0000)]
Changed add_peer to drop timeout, updated documentation, minor fixes

13 years agoAdded timeout & notification code
Bart Polot [Thu, 1 Sep 2011 13:46:46 +0000 (13:46 +0000)]
Added timeout & notification code

13 years agominor fixes
Matthias Wachs [Thu, 1 Sep 2011 10:03:21 +0000 (10:03 +0000)]
minor fixes

13 years agoporting all tests using testing lib
Matthias Wachs [Thu, 1 Sep 2011 09:49:17 +0000 (09:49 +0000)]
porting all tests using testing lib

13 years agousing new function + additional safety checks
Matthias Wachs [Thu, 1 Sep 2011 09:24:44 +0000 (09:24 +0000)]
using new function + additional safety checks

13 years agolatest changes
Matthias Wachs [Thu, 1 Sep 2011 09:23:52 +0000 (09:23 +0000)]
latest changes

13 years agoAdded peer add timeout handling, tunnel connect/disconnect notifications
Bart Polot [Thu, 1 Sep 2011 03:29:46 +0000 (03:29 +0000)]
Added peer add timeout handling, tunnel connect/disconnect notifications

13 years agoWiP
Bart Polot [Wed, 31 Aug 2011 22:21:25 +0000 (22:21 +0000)]
WiP

13 years agoAdded dns section to try make it work on Windows
Bart Polot [Wed, 31 Aug 2011 21:11:36 +0000 (21:11 +0000)]
Added dns section to try make it work on Windows

13 years agooops, one more unix path removed
Bart Polot [Wed, 31 Aug 2011 20:49:05 +0000 (20:49 +0000)]
oops, one more unix path removed

13 years agoDIsabled the use of UNIX sockets, to allow running on Win platform
Bart Polot [Wed, 31 Aug 2011 20:42:51 +0000 (20:42 +0000)]
DIsabled the use of UNIX sockets, to allow running on Win platform

13 years agoutility functions
Matthias Wachs [Wed, 31 Aug 2011 15:45:07 +0000 (15:45 +0000)]
utility functions

13 years agoHeader for new connect call
Bart Polot [Wed, 31 Aug 2011 15:22:59 +0000 (15:22 +0000)]
Header for new connect call

13 years agofixes, documentation, refactoring
Bart Polot [Wed, 31 Aug 2011 14:37:07 +0000 (14:37 +0000)]
fixes, documentation, refactoring

13 years agomoving code to generate cfg name used in every test to testing lib
Matthias Wachs [Wed, 31 Aug 2011 13:48:59 +0000 (13:48 +0000)]
moving code to generate cfg name used in every test to testing lib

13 years agomigrated multiaddress to testing framework
Matthias Wachs [Wed, 31 Aug 2011 12:52:37 +0000 (12:52 +0000)]
migrated multiaddress to testing framework
+ progress entertainment

13 years agofixed bug https://www.gnunet.org/bugs/view.php?id=1762
Matthias Wachs [Wed, 31 Aug 2011 11:19:26 +0000 (11:19 +0000)]
fixed bug https://gnunet.org/bugs/view.php?id=1762

13 years agosend a hello-packet for the mesh regularily
Philipp Tölke [Wed, 31 Aug 2011 10:14:17 +0000 (10:14 +0000)]
send a hello-packet for the mesh regularily

13 years agodouble free
Philipp Tölke [Wed, 31 Aug 2011 10:14:14 +0000 (10:14 +0000)]
double free

13 years agodouble-free
Philipp Tölke [Wed, 31 Aug 2011 10:14:09 +0000 (10:14 +0000)]
double-free

13 years ago(no commit message)
Matthias Wachs [Wed, 31 Aug 2011 08:56:03 +0000 (08:56 +0000)]

13 years agoindent
Bart Polot [Tue, 30 Aug 2011 16:04:38 +0000 (16:04 +0000)]
indent

13 years agogeneral intendation
Matthias Wachs [Tue, 30 Aug 2011 15:44:59 +0000 (15:44 +0000)]
general intendation
some progress entertainment in transport/test_transport_api_disconnect.c

13 years agoported unreliability to transport testing
Matthias Wachs [Tue, 30 Aug 2011 15:28:30 +0000 (15:28 +0000)]
ported unreliability to transport testing

13 years agoIndent
Bart Polot [Tue, 30 Aug 2011 14:48:16 +0000 (14:48 +0000)]
Indent

13 years agoAdd struct to indent
Bart Polot [Tue, 30 Aug 2011 14:40:05 +0000 (14:40 +0000)]
Add struct to indent

13 years agoreenabling gauger support with automatic testname detection
Matthias Wachs [Tue, 30 Aug 2011 14:23:35 +0000 (14:23 +0000)]
reenabling gauger support with automatic testname detection

13 years agocheck if gnunet-nat-server is correctly installed
Matthias Wachs [Tue, 30 Aug 2011 13:23:04 +0000 (13:23 +0000)]
check if gnunet-nat-server is correctly installed

13 years agotodo list
Christian Grothoff [Tue, 30 Aug 2011 13:16:07 +0000 (13:16 +0000)]
todo list

13 years agouse define
Christian Grothoff [Tue, 30 Aug 2011 13:05:30 +0000 (13:05 +0000)]
use define

13 years agocommunicate operation timeouts
Christian Grothoff [Tue, 30 Aug 2011 13:03:41 +0000 (13:03 +0000)]
communicate operation timeouts

13 years agognunet-nat-server was not correctly installed
Matthias Wachs [Tue, 30 Aug 2011 13:00:56 +0000 (13:00 +0000)]
gnunet-nat-server was not correctly installed

13 years agoinclude message overheads in size request, handle change in message size at queue...
Christian Grothoff [Tue, 30 Aug 2011 12:57:50 +0000 (12:57 +0000)]
include message overheads in size request, handle change in message size at queue head

13 years agotimeout support, handle empty queue due to cancel/timeout
Christian Grothoff [Tue, 30 Aug 2011 12:47:41 +0000 (12:47 +0000)]
timeout support, handle empty queue due to cancel/timeout

13 years agoencapsulate payload, keep target/priority/etc.
Christian Grothoff [Tue, 30 Aug 2011 12:34:27 +0000 (12:34 +0000)]
encapsulate payload, keep target/priority/etc.

13 years agotests now use GNUNET_OS_check_helper_binary to find helper executables
Matthias Wachs [Tue, 30 Aug 2011 12:23:34 +0000 (12:23 +0000)]
tests now use GNUNET_OS_check_helper_binary to find helper executables

13 years agomalloc NULLs already
Christian Grothoff [Tue, 30 Aug 2011 11:53:22 +0000 (11:53 +0000)]
malloc NULLs already

13 years agodelay calling notify from notify_transmit_ready
Christian Grothoff [Tue, 30 Aug 2011 11:52:57 +0000 (11:52 +0000)]
delay calling notify from notify_transmit_ready

13 years agominor cleanup
Christian Grothoff [Tue, 30 Aug 2011 11:25:55 +0000 (11:25 +0000)]
minor cleanup

13 years agouse unsigned int
Christian Grothoff [Tue, 30 Aug 2011 11:12:50 +0000 (11:12 +0000)]
use unsigned int

13 years agonicer alignment, unsigned sizes
Christian Grothoff [Tue, 30 Aug 2011 11:09:37 +0000 (11:09 +0000)]
nicer alignment, unsigned sizes

13 years agodon't try to receive before successfully connecting and sending the local connect...
Christian Grothoff [Tue, 30 Aug 2011 11:06:54 +0000 (11:06 +0000)]
don't try to receive before successfully connecting and sending the local connect message

13 years agofix
Christian Grothoff [Tue, 30 Aug 2011 10:47:58 +0000 (10:47 +0000)]
fix

13 years agofoundit
Christian Grothoff [Tue, 30 Aug 2011 09:59:05 +0000 (09:59 +0000)]
foundit

13 years agoIndent
Bart Polot [Tue, 30 Aug 2011 09:41:21 +0000 (09:41 +0000)]
Indent

13 years agoremoving unique id code
Matthias Wachs [Tue, 30 Aug 2011 09:24:45 +0000 (09:24 +0000)]
removing unique id code

13 years agoFix tests, peer commands api <-> service
Bart Polot [Tue, 30 Aug 2011 09:10:02 +0000 (09:10 +0000)]
Fix tests, peer commands api <-> service

13 years agofundamentals for an ats test
Matthias Wachs [Mon, 29 Aug 2011 16:17:28 +0000 (16:17 +0000)]
fundamentals for an ats test

13 years ago- handle_pong used wrong address size
Matthias Wachs [Mon, 29 Aug 2011 14:20:36 +0000 (14:20 +0000)]
- handle_pong used wrong address size
- TODO: GNUNET_ATS_address_update crashes transport service

13 years agodocu
Christian Grothoff [Mon, 29 Aug 2011 10:25:18 +0000 (10:25 +0000)]
docu

13 years agoimproved script
Christian Grothoff [Mon, 29 Aug 2011 10:24:13 +0000 (10:24 +0000)]
improved script

13 years agorun indent twice, it alternates between two 'canonical' forms, also run whitespace...
Christian Grothoff [Mon, 29 Aug 2011 10:19:43 +0000 (10:19 +0000)]
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover

13 years agoscript to remove whitespace at the end of a line
Christian Grothoff [Mon, 29 Aug 2011 10:15:57 +0000 (10:15 +0000)]
script to remove whitespace at the end of a line

13 years agoFixed API test case
Bart Polot [Fri, 26 Aug 2011 20:09:54 +0000 (20:09 +0000)]
Fixed API test case

13 years agonot needed anymore
Matthias Wachs [Fri, 26 Aug 2011 15:23:53 +0000 (15:23 +0000)]
not needed anymore

13 years agofixed assertion in clients_handle_start():390
Matthias Wachs [Fri, 26 Aug 2011 11:52:11 +0000 (11:52 +0000)]
fixed assertion in clients_handle_start():390

it is not possible to compare GNUNET_SERVER_Clients in lookup_client by comparing memory addresses since memory blocks are reused by server_lib
-> added unique id for each GNUNET_SERVER_Client

13 years agochanges to server lib
Matthias Wachs [Fri, 26 Aug 2011 11:42:39 +0000 (11:42 +0000)]
changes to server lib

Added a unique ID to struct GNUNET_SERVER_Client to be able to distinguish between different clients

13 years agofixing thrown break during shutdown
Matthias Wachs [Thu, 25 Aug 2011 15:10:42 +0000 (15:10 +0000)]
fixing thrown break during shutdown

13 years agodisabled indent in define section
Matthias Wachs [Thu, 25 Aug 2011 15:04:58 +0000 (15:04 +0000)]
disabled indent in define section

13 years agotransport service sends wrong message type to transport_api
Matthias Wachs [Thu, 25 Aug 2011 14:17:53 +0000 (14:17 +0000)]
transport service sends wrong message type to transport_api
transport api requests GNUNET_MESSAGE_TYPE_TRANSPORT_RECV for payload messages

13 years agoExtended ATS and transport service to store session IDs to support inbound sessions
Matthias Wachs [Thu, 25 Aug 2011 13:25:57 +0000 (13:25 +0000)]
Extended ATS and transport service to store session IDs to support inbound sessions

13 years agoone char to break it all...
Matthias Wachs [Thu, 25 Aug 2011 12:20:54 +0000 (12:20 +0000)]
one char to break it all...

13 years agofix:
Matthias Wachs [Thu, 25 Aug 2011 11:13:37 +0000 (11:13 +0000)]
fix:
- correct message size
- correct strlen

13 years agominor changes
Matthias Wachs [Thu, 25 Aug 2011 09:10:11 +0000 (09:10 +0000)]
minor changes

13 years ago(no commit message)
Matthias Wachs [Wed, 24 Aug 2011 14:03:05 +0000 (14:03 +0000)]

13 years agothe test
Matthias Wachs [Wed, 24 Aug 2011 13:43:34 +0000 (13:43 +0000)]
the test

13 years agonew test to check transport start and shutdown
Matthias Wachs [Wed, 24 Aug 2011 13:42:47 +0000 (13:42 +0000)]
new test to check transport start and shutdown

13 years agofixing segfault caused by missing hashmap init
Matthias Wachs [Wed, 24 Aug 2011 12:50:49 +0000 (12:50 +0000)]
fixing segfault caused by missing hashmap init

13 years agoFix compilation of custom indent with texi2html v5.0
Bart Polot [Tue, 23 Aug 2011 14:47:33 +0000 (14:47 +0000)]
Fix compilation of custom indent with texi2html v5.0

13 years ago(no commit message)
Matthias Wachs [Tue, 23 Aug 2011 12:07:35 +0000 (12:07 +0000)]