Bart Polot [Sat, 12 Nov 2011 00:47:35 +0000 (00:47 +0000)]
Fixed mantis #1896: check whether incoming tunnel is new before notifying clients
Bart Polot [Sat, 12 Nov 2011 00:33:15 +0000 (00:33 +0000)]
Changed tree library: now assumes own short ID == 1, refactored code in library and mesh service, adapted and extended library testcase
Christian Grothoff [Sat, 12 Nov 2011 00:03:08 +0000 (00:03 +0000)]
nicer
Bruno Cabral [Fri, 11 Nov 2011 20:43:01 +0000 (20:43 +0000)]
Fix missing test_connected
Christian Grothoff [Fri, 11 Nov 2011 19:56:55 +0000 (19:56 +0000)]
fixing 1787
Matthias Wachs [Fri, 11 Nov 2011 17:15:42 +0000 (17:15 +0000)]
loaded the same plugin multiple times instead of multiple plugins
Matthias Wachs [Fri, 11 Nov 2011 16:41:00 +0000 (16:41 +0000)]
ATS address updatign and deletion
Matthias Wachs [Fri, 11 Nov 2011 16:40:29 +0000 (16:40 +0000)]
update address on receive
Matthias Wachs [Fri, 11 Nov 2011 16:30:41 +0000 (16:30 +0000)]
just return on invalid session
Matthias Wachs [Fri, 11 Nov 2011 16:03:28 +0000 (16:03 +0000)]
session pointers can rarely be identical due to timing issues
Bart Polot [Fri, 11 Nov 2011 15:35:05 +0000 (15:35 +0000)]
Fixed debug stuff
Matthias Wachs [Fri, 11 Nov 2011 12:06:05 +0000 (12:06 +0000)]
Matthias Wachs [Fri, 11 Nov 2011 10:53:44 +0000 (10:53 +0000)]
+ moved outbound quota setting to separate function
+ fixed validation error: race condition between address switching and disconnect
Bart Polot [Thu, 10 Nov 2011 22:41:52 +0000 (22:41 +0000)]
Set appropiate error_level
Bart Polot [Thu, 10 Nov 2011 17:45:42 +0000 (17:45 +0000)]
Added TTL and packet ID to multicast packets, to avoid eternal retransmission and packet duplication on trees with loops/mutliple paths respectively.
Matthias Wachs [Thu, 10 Nov 2011 17:28:06 +0000 (17:28 +0000)]
mem leak
Matthias Wachs [Thu, 10 Nov 2011 17:24:42 +0000 (17:24 +0000)]
improved fast_reconnect
improved continuation management (no peer references)
but
- ats address update and destroying sessions is not working correctly...
Matthias Wachs [Thu, 10 Nov 2011 16:42:47 +0000 (16:42 +0000)]
this break is not needed anymore, since we measure latency in neighbours
Christian Grothoff [Thu, 10 Nov 2011 15:09:58 +0000 (15:09 +0000)]
static
Matthias Wachs [Thu, 10 Nov 2011 13:38:01 +0000 (13:38 +0000)]
Matthias Wachs [Thu, 10 Nov 2011 12:58:35 +0000 (12:58 +0000)]
latency measurement with neighbour_keep_alive_task
Matthias Wachs [Thu, 10 Nov 2011 09:50:37 +0000 (09:50 +0000)]
handle PONG only if expected
Matthias Wachs [Thu, 10 Nov 2011 09:29:23 +0000 (09:29 +0000)]
removing quota test output
Christian Grothoff [Thu, 10 Nov 2011 08:52:19 +0000 (08:52 +0000)]
fix
Christian Grothoff [Thu, 10 Nov 2011 08:28:21 +0000 (08:28 +0000)]
fix
Bart Polot [Thu, 10 Nov 2011 01:39:43 +0000 (01:39 +0000)]
More sensible values for testcase timeouts
Matthias Wachs [Wed, 9 Nov 2011 20:45:46 +0000 (20:45 +0000)]
receive set_quota messages
Matthias Wachs [Wed, 9 Nov 2011 20:37:11 +0000 (20:37 +0000)]
checking quotas
Matthias Wachs [Wed, 9 Nov 2011 17:45:19 +0000 (17:45 +0000)]
bidirectional connects
Matthias Wachs [Wed, 9 Nov 2011 16:39:28 +0000 (16:39 +0000)]
implementing fast_reconnect state
Matthias Wachs [Wed, 9 Nov 2011 16:38:01 +0000 (16:38 +0000)]
cancel suggests
Matthias Wachs [Wed, 9 Nov 2011 16:37:44 +0000 (16:37 +0000)]
cancel address suggests
Bart Polot [Wed, 9 Nov 2011 15:51:56 +0000 (15:51 +0000)]
Revert changes from r18076
Bart Polot [Wed, 9 Nov 2011 15:50:34 +0000 (15:50 +0000)]
Improved debug logging
Bart Polot [Wed, 9 Nov 2011 15:17:59 +0000 (15:17 +0000)]
Improved testcase parameters
Bart Polot [Wed, 9 Nov 2011 15:14:32 +0000 (15:14 +0000)]
Added debug info, small fixes, doxygen.
Christian Grothoff [Wed, 9 Nov 2011 15:01:02 +0000 (15:01 +0000)]
fix
Christian Grothoff [Wed, 9 Nov 2011 14:28:05 +0000 (14:28 +0000)]
cleanup
Bart Polot [Wed, 9 Nov 2011 13:04:35 +0000 (13:04 +0000)]
Fixed compilation error with new GNUNET_HELLO_Address
Christian Grothoff [Wed, 9 Nov 2011 12:42:42 +0000 (12:42 +0000)]
clean up, asserts, FIXME
Christian Grothoff [Wed, 9 Nov 2011 11:56:08 +0000 (11:56 +0000)]
minor cleanup
Christian Grothoff [Wed, 9 Nov 2011 11:53:04 +0000 (11:53 +0000)]
assertions and minor cleanup
Christian Grothoff [Wed, 9 Nov 2011 11:06:30 +0000 (11:06 +0000)]
fix
Christian Grothoff [Wed, 9 Nov 2011 11:03:49 +0000 (11:03 +0000)]
fix nested use of strtok
Christian Grothoff [Wed, 9 Nov 2011 11:00:19 +0000 (11:00 +0000)]
cleanup
Philipp Tölke [Wed, 9 Nov 2011 09:48:40 +0000 (09:48 +0000)]
clarification
Philipp Tölke [Wed, 9 Nov 2011 09:29:30 +0000 (09:29 +0000)]
documentation for developers/performance-metrics
Christian Grothoff [Wed, 9 Nov 2011 08:53:06 +0000 (08:53 +0000)]
fix
Christian Grothoff [Wed, 9 Nov 2011 08:48:00 +0000 (08:48 +0000)]
fix
Christian Grothoff [Wed, 9 Nov 2011 08:42:16 +0000 (08:42 +0000)]
fix shutdown order
Bart Polot [Tue, 8 Nov 2011 23:28:42 +0000 (23:28 +0000)]
Added logging, fixed doxygen
Christian Grothoff [Tue, 8 Nov 2011 23:20:42 +0000 (23:20 +0000)]
refactoring how we handle peer addresses in peerinfo/ats/transport/hello subsystems -- use a struct instead of 3--4 arguments
Bart Polot [Tue, 8 Nov 2011 21:38:47 +0000 (21:38 +0000)]
Attempt to fix error on peergroup start on buildbots
Bart Polot [Tue, 8 Nov 2011 21:27:30 +0000 (21:27 +0000)]
Added comments, fixed debug code, added doxygen
Christian Grothoff [Tue, 8 Nov 2011 19:37:32 +0000 (19:37 +0000)]
adding address abstraction
Matthias Wachs [Tue, 8 Nov 2011 17:32:06 +0000 (17:32 +0000)]
ATS suggests sessions that we in between terminated from transport
This causes:
0001863 Assertion failed at ats_api_scheduling.c:289.
0001868 plugins given sometimes an emtpy address in combination with 'force address'
-> session was an inbound session
0001890 Crash during mesh small unicast test (i think)
Matthias Wachs [Tue, 8 Nov 2011 14:59:46 +0000 (14:59 +0000)]
remove output
Matthias Wachs [Tue, 8 Nov 2011 14:55:45 +0000 (14:55 +0000)]
trying to fix https://ng.gnunet.org/bugs/view.php?id=1888
Matthias Wachs [Tue, 8 Nov 2011 14:54:43 +0000 (14:54 +0000)]
dummy for address in use
first I have to find the bugs in scheduling api, then I can add the logic here
Matthias Wachs [Tue, 8 Nov 2011 09:27:25 +0000 (09:27 +0000)]
transport notifies about addresses in use
Christian Grothoff [Mon, 7 Nov 2011 22:06:02 +0000 (22:06 +0000)]
more code to get latency in ATSI working; not complete, also now generating a warning -- for a real problem that still needs to be fixed
Christian Grothoff [Mon, 7 Nov 2011 18:43:40 +0000 (18:43 +0000)]
fix #1885
Christian Grothoff [Mon, 7 Nov 2011 15:09:25 +0000 (15:09 +0000)]
PING regularly, track latency, towards fixing 1793, 1879
Matthias Wachs [Mon, 7 Nov 2011 15:02:24 +0000 (15:02 +0000)]
Bart Polot [Mon, 7 Nov 2011 13:29:41 +0000 (13:29 +0000)]
More time to connect peergroup
Matthias Wachs [Mon, 7 Nov 2011 12:54:33 +0000 (12:54 +0000)]
new test to test bi-directional connection attempts
Bart Polot [Mon, 7 Nov 2011 12:34:30 +0000 (12:34 +0000)]
Small fix, improved comment
Matthias Wachs [Mon, 7 Nov 2011 10:46:52 +0000 (10:46 +0000)]
workaround for:
https://gnunet.org/bugs/view.php?id=1882
https://gnunet.org/bugs/view.php?id=1884
David Brodski [Mon, 7 Nov 2011 10:24:41 +0000 (10:24 +0000)]
Made it impossible to start/stop the helper more then ones, should fix #1873
Matthias Wachs [Mon, 7 Nov 2011 09:31:01 +0000 (09:31 +0000)]
fixing mantis 1878
Christian Grothoff [Sat, 5 Nov 2011 19:23:48 +0000 (19:23 +0000)]
fix #1883
Christian Grothoff [Sat, 5 Nov 2011 18:47:50 +0000 (18:47 +0000)]
introducing GNUNET_abort
Christian Grothoff [Sat, 5 Nov 2011 18:42:45 +0000 (18:42 +0000)]
LRN: fix gnuent_fs_Start arguments
Christian Grothoff [Sat, 5 Nov 2011 18:36:38 +0000 (18:36 +0000)]
treat empty string as NULL
Christian Grothoff [Sat, 5 Nov 2011 14:46:54 +0000 (14:46 +0000)]
LRN: Call-transport-disconnect-to-clear-session-message-q.patch:
This was submitted to #1880, but i'm including this here as well.
Christian Grothoff [Sat, 5 Nov 2011 14:46:08 +0000 (14:46 +0000)]
LRN: This is likely a typo. I caught it, because GNUNET_assert() is now a
function that takes 'int', but the argument was a pointer.
Christian Grothoff [Sat, 5 Nov 2011 14:45:36 +0000 (14:45 +0000)]
LRN: cosmetics
Christian Grothoff [Sat, 5 Nov 2011 14:43:41 +0000 (14:43 +0000)]
LRN: Add -lole32 (why had it worked without this until
now?)
Christian Grothoff [Sat, 5 Nov 2011 14:43:08 +0000 (14:43 +0000)]
LRN: Add -lole32 (why had it worked without this until
now?)
Christian Grothoff [Sat, 5 Nov 2011 14:42:34 +0000 (14:42 +0000)]
LRN: Mysterious patch. I don't know why calling executable with a dot
forces it to create a new console window (which immediately pops up
and grabs the focus, then disappears) for itself, but that is the
empirical fact. Removing the dot fixes this VERY annoying W32 bug.
Christian Grothoff [Sat, 5 Nov 2011 14:40:13 +0000 (14:40 +0000)]
no in_addr_t on W32
Christian Grothoff [Sat, 5 Nov 2011 14:36:34 +0000 (14:36 +0000)]
LRN: Use regexps in logdefs
Now "*" is not valid anymore (it's not like anyone had a lot of opportunities
to use it though).
Empty string means ".*", so it's still compatible.
Matching is case-sensitive. ^ and $ match the beginning and the end of
the text, newine matches a newline character.
All regexps are considered non-extended.
Regex compilation errors are not reported in any way (the parsing process just
fails, and that's it).
Christian Grothoff [Sat, 5 Nov 2011 09:07:09 +0000 (09:07 +0000)]
LRN: Compile against libgnurx (W32)
Christian Grothoff [Sat, 5 Nov 2011 09:06:32 +0000 (09:06 +0000)]
LRN: Add '-Wl,' prefix to -no-undefined
-no-undefined is not a valid compiler option as of GCC 4.6.x
(it IS valid linker option).
Note that this REQUIRES an extra -no-undefined to be passed to
libtool (this is done by GN_LIB_LDLFAGS and GN_PLUGIN_LDFLAGS),
because libtool does not understand -Wl,-no-undefined.
Christian Grothoff [Sat, 5 Nov 2011 09:05:31 +0000 (09:05 +0000)]
LRN: Fix loglevel testcase (disable redirection)
Christian Grothoff [Sat, 5 Nov 2011 09:04:46 +0000 (09:04 +0000)]
use putenv instead of setenv for portability
Bart Polot [Sat, 5 Nov 2011 01:56:35 +0000 (01:56 +0000)]
Added testcase for 2dtorus scenario from dht and mesh
Bart Polot [Sat, 5 Nov 2011 01:52:19 +0000 (01:52 +0000)]
Added testcase, fixed naming
Bart Polot [Sat, 5 Nov 2011 01:47:30 +0000 (01:47 +0000)]
Added an empty 2d torus test (connect and to nothing)
Bart Polot [Fri, 4 Nov 2011 20:34:14 +0000 (20:34 +0000)]
Reduced duplication
Sree Harsha Totakura [Fri, 4 Nov 2011 20:06:04 +0000 (20:06 +0000)]
added my ssh key
Bart Polot [Fri, 4 Nov 2011 15:16:44 +0000 (15:16 +0000)]
Reenable multicast testcase
Bart Polot [Fri, 4 Nov 2011 14:18:28 +0000 (14:18 +0000)]
Fixed coverity #10249
Bart Polot [Fri, 4 Nov 2011 14:14:12 +0000 (14:14 +0000)]
Fixed coverity #10250
Bart Polot [Fri, 4 Nov 2011 14:09:36 +0000 (14:09 +0000)]
Additional fix for #1871
Christian Grothoff [Fri, 4 Nov 2011 14:00:32 +0000 (14:00 +0000)]
curly wars / auto-indentation
Matthias Wachs [Fri, 4 Nov 2011 13:59:35 +0000 (13:59 +0000)]
extending ats api to inform about addresses in use
Bart Polot [Fri, 4 Nov 2011 13:58:18 +0000 (13:58 +0000)]
Fix for #1871
Christian Grothoff [Fri, 4 Nov 2011 13:53:27 +0000 (13:53 +0000)]
ignore return values explicitly
Christian Grothoff [Fri, 4 Nov 2011 13:52:33 +0000 (13:52 +0000)]
close stdin before dup-ing, check return value of dup2