oweals/gnunet.git
13 years agoFixed mantis #1896: check whether incoming tunnel is new before notifying clients
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

13 years agoChanged tree library: now assumes own short ID == 1, refactored code in library and...
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

13 years agonicer
Christian Grothoff [Sat, 12 Nov 2011 00:03:08 +0000 (00:03 +0000)]
nicer

13 years agoFix missing test_connected
Bruno Cabral [Fri, 11 Nov 2011 20:43:01 +0000 (20:43 +0000)]
Fix missing test_connected

13 years agofixing 1787
Christian Grothoff [Fri, 11 Nov 2011 19:56:55 +0000 (19:56 +0000)]
fixing 1787

13 years agoloaded the same plugin multiple times instead of multiple plugins
Matthias Wachs [Fri, 11 Nov 2011 17:15:42 +0000 (17:15 +0000)]
loaded the same plugin multiple times instead of multiple plugins

13 years agoATS address updatign and deletion
Matthias Wachs [Fri, 11 Nov 2011 16:41:00 +0000 (16:41 +0000)]
ATS  address  updatign and deletion

13 years agoupdate address on receive
Matthias Wachs [Fri, 11 Nov 2011 16:40:29 +0000 (16:40 +0000)]
update address on receive

13 years agojust return on invalid session
Matthias Wachs [Fri, 11 Nov 2011 16:30:41 +0000 (16:30 +0000)]
just return on invalid session

13 years agosession pointers can rarely be identical due to timing issues
Matthias Wachs [Fri, 11 Nov 2011 16:03:28 +0000 (16:03 +0000)]
session pointers can rarely be identical due to timing issues

13 years agoFixed debug stuff
Bart Polot [Fri, 11 Nov 2011 15:35:05 +0000 (15:35 +0000)]
Fixed debug stuff

13 years ago(no commit message)
Matthias Wachs [Fri, 11 Nov 2011 12:06:05 +0000 (12:06 +0000)]

13 years ago+ moved outbound quota setting to separate function
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

13 years agoSet appropiate error_level
Bart Polot [Thu, 10 Nov 2011 22:41:52 +0000 (22:41 +0000)]
Set appropiate error_level

13 years agoAdded TTL and packet ID to multicast packets, to avoid eternal retransmission and...
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.

13 years agomem leak
Matthias Wachs [Thu, 10 Nov 2011 17:28:06 +0000 (17:28 +0000)]
mem leak

13 years agoimproved fast_reconnect
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...

13 years agothis break is not needed anymore, since we measure latency in neighbours
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

13 years agostatic
Christian Grothoff [Thu, 10 Nov 2011 15:09:58 +0000 (15:09 +0000)]
static

13 years ago(no commit message)
Matthias Wachs [Thu, 10 Nov 2011 13:38:01 +0000 (13:38 +0000)]

13 years agolatency measurement with neighbour_keep_alive_task
Matthias Wachs [Thu, 10 Nov 2011 12:58:35 +0000 (12:58 +0000)]
latency measurement with neighbour_keep_alive_task

13 years agohandle PONG only if expected
Matthias Wachs [Thu, 10 Nov 2011 09:50:37 +0000 (09:50 +0000)]
handle PONG only if expected

13 years agoremoving quota test output
Matthias Wachs [Thu, 10 Nov 2011 09:29:23 +0000 (09:29 +0000)]
removing quota test output

13 years agofix
Christian Grothoff [Thu, 10 Nov 2011 08:52:19 +0000 (08:52 +0000)]
fix

13 years agofix
Christian Grothoff [Thu, 10 Nov 2011 08:28:21 +0000 (08:28 +0000)]
fix

13 years agoMore sensible values for testcase timeouts
Bart Polot [Thu, 10 Nov 2011 01:39:43 +0000 (01:39 +0000)]
More sensible values for testcase timeouts

13 years agoreceive set_quota messages
Matthias Wachs [Wed, 9 Nov 2011 20:45:46 +0000 (20:45 +0000)]
receive set_quota messages

13 years agochecking quotas
Matthias Wachs [Wed, 9 Nov 2011 20:37:11 +0000 (20:37 +0000)]
checking quotas

13 years agobidirectional connects
Matthias Wachs [Wed, 9 Nov 2011 17:45:19 +0000 (17:45 +0000)]
bidirectional connects

13 years agoimplementing fast_reconnect state
Matthias Wachs [Wed, 9 Nov 2011 16:39:28 +0000 (16:39 +0000)]
implementing fast_reconnect state

13 years agocancel suggests
Matthias Wachs [Wed, 9 Nov 2011 16:38:01 +0000 (16:38 +0000)]
cancel suggests

13 years agocancel address suggests
Matthias Wachs [Wed, 9 Nov 2011 16:37:44 +0000 (16:37 +0000)]
cancel address suggests

13 years agoRevert changes from r18076
Bart Polot [Wed, 9 Nov 2011 15:51:56 +0000 (15:51 +0000)]
Revert changes from r18076

13 years agoImproved debug logging
Bart Polot [Wed, 9 Nov 2011 15:50:34 +0000 (15:50 +0000)]
Improved debug logging

13 years agoImproved testcase parameters
Bart Polot [Wed, 9 Nov 2011 15:17:59 +0000 (15:17 +0000)]
Improved testcase parameters

13 years agoAdded debug info, small fixes, doxygen.
Bart Polot [Wed, 9 Nov 2011 15:14:32 +0000 (15:14 +0000)]
Added debug info, small fixes, doxygen.

13 years agofix
Christian Grothoff [Wed, 9 Nov 2011 15:01:02 +0000 (15:01 +0000)]
fix

13 years agocleanup
Christian Grothoff [Wed, 9 Nov 2011 14:28:05 +0000 (14:28 +0000)]
cleanup

13 years agoFixed compilation error with new GNUNET_HELLO_Address
Bart Polot [Wed, 9 Nov 2011 13:04:35 +0000 (13:04 +0000)]
Fixed compilation error with new GNUNET_HELLO_Address

13 years agoclean up, asserts, FIXME
Christian Grothoff [Wed, 9 Nov 2011 12:42:42 +0000 (12:42 +0000)]
clean up, asserts, FIXME

13 years agominor cleanup
Christian Grothoff [Wed, 9 Nov 2011 11:56:08 +0000 (11:56 +0000)]
minor cleanup

13 years agoassertions and minor cleanup
Christian Grothoff [Wed, 9 Nov 2011 11:53:04 +0000 (11:53 +0000)]
assertions and minor cleanup

13 years agofix
Christian Grothoff [Wed, 9 Nov 2011 11:06:30 +0000 (11:06 +0000)]
fix

13 years agofix nested use of strtok
Christian Grothoff [Wed, 9 Nov 2011 11:03:49 +0000 (11:03 +0000)]
fix nested use of strtok

13 years agocleanup
Christian Grothoff [Wed, 9 Nov 2011 11:00:19 +0000 (11:00 +0000)]
cleanup

13 years agoclarification
Philipp Tölke [Wed, 9 Nov 2011 09:48:40 +0000 (09:48 +0000)]
clarification

13 years agodocumentation for developers/performance-metrics
Philipp Tölke [Wed, 9 Nov 2011 09:29:30 +0000 (09:29 +0000)]
documentation for developers/performance-metrics

13 years agofix
Christian Grothoff [Wed, 9 Nov 2011 08:53:06 +0000 (08:53 +0000)]
fix

13 years agofix
Christian Grothoff [Wed, 9 Nov 2011 08:48:00 +0000 (08:48 +0000)]
fix

13 years agofix shutdown order
Christian Grothoff [Wed, 9 Nov 2011 08:42:16 +0000 (08:42 +0000)]
fix shutdown order

13 years agoAdded logging, fixed doxygen
Bart Polot [Tue, 8 Nov 2011 23:28:42 +0000 (23:28 +0000)]
Added logging, fixed doxygen

13 years agorefactoring how we handle peer addresses in peerinfo/ats/transport/hello subsystems...
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

13 years agoAttempt to fix error on peergroup start on buildbots
Bart Polot [Tue, 8 Nov 2011 21:38:47 +0000 (21:38 +0000)]
Attempt to fix error on peergroup start on buildbots

13 years agoAdded comments, fixed debug code, added doxygen
Bart Polot [Tue, 8 Nov 2011 21:27:30 +0000 (21:27 +0000)]
Added comments, fixed debug code, added doxygen

13 years agoadding address abstraction
Christian Grothoff [Tue, 8 Nov 2011 19:37:32 +0000 (19:37 +0000)]
adding address abstraction

13 years agoATS suggests sessions that we in between terminated from transport
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)

13 years agoremove output
Matthias Wachs [Tue, 8 Nov 2011 14:59:46 +0000 (14:59 +0000)]
remove output

13 years agotrying to fix https://ng.gnunet.org/bugs/view.php?id=1888
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

13 years agodummy for address in use
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

13 years agotransport notifies about addresses in use
Matthias Wachs [Tue, 8 Nov 2011 09:27:25 +0000 (09:27 +0000)]
transport notifies about addresses in use

13 years agomore code to get latency in ATSI working; not complete, also now generating a warning...
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

13 years agofix #1885
Christian Grothoff [Mon, 7 Nov 2011 18:43:40 +0000 (18:43 +0000)]
fix #1885

13 years agoPING regularly, track latency, towards fixing 1793, 1879
Christian Grothoff [Mon, 7 Nov 2011 15:09:25 +0000 (15:09 +0000)]
PING regularly, track latency, towards fixing 1793, 1879

13 years ago(no commit message)
Matthias Wachs [Mon, 7 Nov 2011 15:02:24 +0000 (15:02 +0000)]

13 years agoMore time to connect peergroup
Bart Polot [Mon, 7 Nov 2011 13:29:41 +0000 (13:29 +0000)]
More time to connect peergroup

13 years agonew test to test bi-directional connection attempts
Matthias Wachs [Mon, 7 Nov 2011 12:54:33 +0000 (12:54 +0000)]
new test to test bi-directional connection attempts

13 years agoSmall fix, improved comment
Bart Polot [Mon, 7 Nov 2011 12:34:30 +0000 (12:34 +0000)]
Small fix, improved comment

13 years agoworkaround for:
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

13 years agoMade it impossible to start/stop the helper more then ones, should fix #1873
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

13 years agofixing mantis 1878
Matthias Wachs [Mon, 7 Nov 2011 09:31:01 +0000 (09:31 +0000)]
fixing mantis 1878

13 years agofix #1883
Christian Grothoff [Sat, 5 Nov 2011 19:23:48 +0000 (19:23 +0000)]
fix #1883

13 years agointroducing GNUNET_abort
Christian Grothoff [Sat, 5 Nov 2011 18:47:50 +0000 (18:47 +0000)]
introducing GNUNET_abort

13 years agoLRN: fix gnuent_fs_Start arguments
Christian Grothoff [Sat, 5 Nov 2011 18:42:45 +0000 (18:42 +0000)]
LRN: fix gnuent_fs_Start arguments

13 years agotreat empty string as NULL
Christian Grothoff [Sat, 5 Nov 2011 18:36:38 +0000 (18:36 +0000)]
treat empty string as NULL

13 years agoLRN: Call-transport-disconnect-to-clear-session-message-q.patch:
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.

13 years agoLRN: This is likely a typo. I caught it, because GNUNET_assert() is now a
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.

13 years agoLRN: cosmetics
Christian Grothoff [Sat, 5 Nov 2011 14:45:36 +0000 (14:45 +0000)]
LRN: cosmetics

13 years agoLRN: Add -lole32 (why had it worked without this until
Christian Grothoff [Sat, 5 Nov 2011 14:43:41 +0000 (14:43 +0000)]
LRN: Add -lole32 (why had it worked without this until
 now?)

13 years agoLRN: Add -lole32 (why had it worked without this until
Christian Grothoff [Sat, 5 Nov 2011 14:43:08 +0000 (14:43 +0000)]
LRN: Add -lole32 (why had it worked without this until
 now?)

13 years agoLRN: Mysterious patch. I don't know why calling executable with a dot
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.

13 years agono in_addr_t on W32
Christian Grothoff [Sat, 5 Nov 2011 14:40:13 +0000 (14:40 +0000)]
no in_addr_t on W32

13 years agoLRN: Use regexps in logdefs
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).

13 years agoLRN: Compile against libgnurx (W32)
Christian Grothoff [Sat, 5 Nov 2011 09:07:09 +0000 (09:07 +0000)]
LRN:  Compile against libgnurx (W32)

13 years agoLRN: Add '-Wl,' prefix to -no-undefined
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.

13 years agoLRN: Fix loglevel testcase (disable redirection)
Christian Grothoff [Sat, 5 Nov 2011 09:05:31 +0000 (09:05 +0000)]
LRN: Fix loglevel testcase (disable redirection)

13 years agouse putenv instead of setenv for portability
Christian Grothoff [Sat, 5 Nov 2011 09:04:46 +0000 (09:04 +0000)]
use putenv instead of setenv for portability

13 years agoAdded testcase for 2dtorus scenario from dht and mesh
Bart Polot [Sat, 5 Nov 2011 01:56:35 +0000 (01:56 +0000)]
Added testcase for 2dtorus scenario from dht and mesh

13 years agoAdded testcase, fixed naming
Bart Polot [Sat, 5 Nov 2011 01:52:19 +0000 (01:52 +0000)]
Added testcase, fixed naming

13 years agoAdded an empty 2d torus test (connect and to nothing)
Bart Polot [Sat, 5 Nov 2011 01:47:30 +0000 (01:47 +0000)]
Added an empty 2d torus test (connect and to nothing)

13 years agoReduced duplication
Bart Polot [Fri, 4 Nov 2011 20:34:14 +0000 (20:34 +0000)]
Reduced duplication

13 years agoadded my ssh key
Sree Harsha Totakura [Fri, 4 Nov 2011 20:06:04 +0000 (20:06 +0000)]
added my ssh key

13 years agoReenable multicast testcase
Bart Polot [Fri, 4 Nov 2011 15:16:44 +0000 (15:16 +0000)]
Reenable multicast testcase

13 years agoFixed coverity #10249
Bart Polot [Fri, 4 Nov 2011 14:18:28 +0000 (14:18 +0000)]
Fixed coverity #10249

13 years agoFixed coverity #10250
Bart Polot [Fri, 4 Nov 2011 14:14:12 +0000 (14:14 +0000)]
Fixed coverity #10250

13 years agoAdditional fix for #1871
Bart Polot [Fri, 4 Nov 2011 14:09:36 +0000 (14:09 +0000)]
Additional fix for #1871

13 years agocurly wars / auto-indentation
Christian Grothoff [Fri, 4 Nov 2011 14:00:32 +0000 (14:00 +0000)]
curly wars / auto-indentation

13 years agoextending ats api to inform about addresses in use
Matthias Wachs [Fri, 4 Nov 2011 13:59:35 +0000 (13:59 +0000)]
extending ats api to inform about addresses in use

13 years agoFix for #1871
Bart Polot [Fri, 4 Nov 2011 13:58:18 +0000 (13:58 +0000)]
Fix for #1871

13 years agoignore return values explicitly
Christian Grothoff [Fri, 4 Nov 2011 13:53:27 +0000 (13:53 +0000)]
ignore return values explicitly

13 years agoclose stdin before dup-ing, check return value of dup2
Christian Grothoff [Fri, 4 Nov 2011 13:52:33 +0000 (13:52 +0000)]
close stdin before dup-ing, check return value of dup2