Bart Polot [Thu, 6 Oct 2011 16:46:13 +0000 (16:46 +0000)]
Revert 17260
Bart Polot [Thu, 6 Oct 2011 16:43:13 +0000 (16:43 +0000)]
Renamed functions, make valgrind stop complaining about memory leaks by explicitly freeing stuff before exit
Matthias Wachs [Thu, 6 Oct 2011 15:48:55 +0000 (15:48 +0000)]
Matthias Wachs [Thu, 6 Oct 2011 15:11:22 +0000 (15:11 +0000)]
changed get addresses functionality and added IPv6 test
Matthias Wachs [Thu, 6 Oct 2011 13:53:19 +0000 (13:53 +0000)]
Matthias Wachs [Thu, 6 Oct 2011 13:41:00 +0000 (13:41 +0000)]
logging
Matthias Wachs [Thu, 6 Oct 2011 13:37:05 +0000 (13:37 +0000)]
logging
Matthias Wachs [Thu, 6 Oct 2011 13:35:57 +0000 (13:35 +0000)]
compile error
Christian Grothoff [Thu, 6 Oct 2011 13:34:39 +0000 (13:34 +0000)]
moved
Christian Grothoff [Thu, 6 Oct 2011 13:26:35 +0000 (13:26 +0000)]
stuff
Christian Grothoff [Thu, 6 Oct 2011 13:19:16 +0000 (13:19 +0000)]
stuff
Matthias Wachs [Thu, 6 Oct 2011 12:37:18 +0000 (12:37 +0000)]
log2 does not exist in math.h on freebsd
Christian Grothoff [Thu, 6 Oct 2011 11:51:43 +0000 (11:51 +0000)]
copy from API
Christian Grothoff [Thu, 6 Oct 2011 11:39:32 +0000 (11:39 +0000)]
ugh
Bart Polot [Thu, 6 Oct 2011 11:34:50 +0000 (11:34 +0000)]
Tweaked configuration files and testcase
Matthias Wachs [Thu, 6 Oct 2011 11:33:09 +0000 (11:33 +0000)]
error handling if server could not be started
Matthias Wachs [Thu, 6 Oct 2011 11:19:44 +0000 (11:19 +0000)]
scheduling issue
Christian Grothoff [Thu, 6 Oct 2011 11:07:54 +0000 (11:07 +0000)]
hdr
Matthias Wachs [Thu, 6 Oct 2011 11:06:42 +0000 (11:06 +0000)]
Christian Grothoff [Thu, 6 Oct 2011 11:01:23 +0000 (11:01 +0000)]
hxing
Christian Grothoff [Thu, 6 Oct 2011 09:02:48 +0000 (09:02 +0000)]
change test to not require . in PATH
Christian Grothoff [Thu, 6 Oct 2011 08:58:04 +0000 (08:58 +0000)]
vminko: new API to delete a TransmitContext (slightly modified patch from #1822)
Christian Grothoff [Thu, 6 Oct 2011 08:48:47 +0000 (08:48 +0000)]
LRN: Fix runtime logging test, since pipes work as intended
Christian Grothoff [Thu, 6 Oct 2011 08:47:42 +0000 (08:47 +0000)]
LRN: Fix select() on pipes to trigger read callback on EPIPE
Christian Grothoff [Thu, 6 Oct 2011 07:49:00 +0000 (07:49 +0000)]
fix
Christian Grothoff [Thu, 6 Oct 2011 07:45:59 +0000 (07:45 +0000)]
testcase for runtime loglevels form LRN
Christian Grothoff [Wed, 5 Oct 2011 21:13:06 +0000 (21:13 +0000)]
updating ignores
Bart Polot [Wed, 5 Oct 2011 20:25:41 +0000 (20:25 +0000)]
Simplfied base multipeer testcase, removed tests from experimental
Christian Grothoff [Wed, 5 Oct 2011 19:57:27 +0000 (19:57 +0000)]
dbg
Christian Grothoff [Wed, 5 Oct 2011 19:56:54 +0000 (19:56 +0000)]
prevent very low estimates from being used
Christian Grothoff [Wed, 5 Oct 2011 19:55:20 +0000 (19:55 +0000)]
fix correction according to paper, minimum NSE should be our neighour set
Christian Grothoff [Wed, 5 Oct 2011 19:54:57 +0000 (19:54 +0000)]
add packed
Bart Polot [Wed, 5 Oct 2011 17:31:51 +0000 (17:31 +0000)]
Added testcase to check proper working of insertion of own ID into a 2dtorus dht
Matthias Wachs [Wed, 5 Oct 2011 16:18:30 +0000 (16:18 +0000)]
Matthias Wachs [Wed, 5 Oct 2011 16:02:43 +0000 (16:02 +0000)]
Christian Grothoff [Wed, 5 Oct 2011 13:55:54 +0000 (13:55 +0000)]
moved
Christian Grothoff [Wed, 5 Oct 2011 13:54:31 +0000 (13:54 +0000)]
p should be p
Christian Grothoff [Wed, 5 Oct 2011 13:53:35 +0000 (13:53 +0000)]
p should be n
Christian Grothoff [Wed, 5 Oct 2011 13:51:50 +0000 (13:51 +0000)]
fix
Christian Grothoff [Wed, 5 Oct 2011 13:49:24 +0000 (13:49 +0000)]
fixes
Christian Grothoff [Wed, 5 Oct 2011 13:48:35 +0000 (13:48 +0000)]
bad over-optimization
Christian Grothoff [Wed, 5 Oct 2011 13:45:47 +0000 (13:45 +0000)]
cancel con_task
Christian Grothoff [Wed, 5 Oct 2011 13:38:31 +0000 (13:38 +0000)]
typo
Christian Grothoff [Wed, 5 Oct 2011 13:38:08 +0000 (13:38 +0000)]
eliminate last calls to GNUNET_CORE_peer_request_connect -- missed one
Christian Grothoff [Wed, 5 Oct 2011 13:36:14 +0000 (13:36 +0000)]
eliminate REQUEST_CONNECT handlers
Christian Grothoff [Wed, 5 Oct 2011 13:34:18 +0000 (13:34 +0000)]
build draft for 'new' core code
Christian Grothoff [Wed, 5 Oct 2011 13:33:59 +0000 (13:33 +0000)]
eliminate last calls to GNUNET_CORE_peer_request_connect
Christian Grothoff [Wed, 5 Oct 2011 13:26:24 +0000 (13:26 +0000)]
towards new core service implementation -- breaking core up into smaller modules
Christian Grothoff [Wed, 5 Oct 2011 13:23:00 +0000 (13:23 +0000)]
tell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:22:58 +0000 (13:22 +0000)]
tell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:22:54 +0000 (13:22 +0000)]
tell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:22:50 +0000 (13:22 +0000)]
tell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:22:35 +0000 (13:22 +0000)]
allow for all CBs to be NULL, then do not send START
Bart Polot [Wed, 5 Oct 2011 13:10:00 +0000 (13:10 +0000)]
Removed DHT_get restarting, set DEMULTIPLEX_EVERYWHERE on all DHT operations
Matthias Wachs [Wed, 5 Oct 2011 12:41:10 +0000 (12:41 +0000)]
remove logging
Matthias Wachs [Wed, 5 Oct 2011 12:39:50 +0000 (12:39 +0000)]
http/https nat tests
Bart Polot [Wed, 5 Oct 2011 12:38:43 +0000 (12:38 +0000)]
Added periodic restart to all DHT get queries
Christian Grothoff [Wed, 5 Oct 2011 12:37:48 +0000 (12:37 +0000)]
generated
Matthias Wachs [Wed, 5 Oct 2011 12:34:18 +0000 (12:34 +0000)]
Matthias Wachs [Wed, 5 Oct 2011 12:06:08 +0000 (12:06 +0000)]
Matthias Wachs [Wed, 5 Oct 2011 11:51:57 +0000 (11:51 +0000)]
more beautification
Matthias Wachs [Wed, 5 Oct 2011 11:46:14 +0000 (11:46 +0000)]
correct cfg file for tcp_nat test
Bart Polot [Wed, 5 Oct 2011 11:26:53 +0000 (11:26 +0000)]
Moved dht get handles for types into tunnel handlers, added tasks to restart dht gets periodically
Matthias Wachs [Wed, 5 Oct 2011 11:21:57 +0000 (11:21 +0000)]
removing experimental from http
David Brodski [Wed, 5 Oct 2011 10:26:47 +0000 (10:26 +0000)]
bugfix
Philipp Tölke [Wed, 5 Oct 2011 09:41:31 +0000 (09:41 +0000)]
core gives a buf of NULL to indicate errors
Philipp Tölke [Wed, 5 Oct 2011 08:58:50 +0000 (08:58 +0000)]
bug
Bart Polot [Wed, 5 Oct 2011 08:54:30 +0000 (08:54 +0000)]
Adapted path generation to new DHT_RECORD_ROUTE behavior
Bart Polot [Wed, 5 Oct 2011 08:53:05 +0000 (08:53 +0000)]
Enable DHT in testcase
David Brodski [Wed, 5 Oct 2011 08:51:44 +0000 (08:51 +0000)]
Error message handling changed
Christian Grothoff [Wed, 5 Oct 2011 08:42:12 +0000 (08:42 +0000)]
pack block, use big endian for time
Christian Grothoff [Wed, 5 Oct 2011 08:34:36 +0000 (08:34 +0000)]
add GNUNET_PACKED
Christian Grothoff [Wed, 5 Oct 2011 08:16:08 +0000 (08:16 +0000)]
fix
Christian Grothoff [Tue, 4 Oct 2011 21:20:27 +0000 (21:20 +0000)]
increase timeout to hopefully fix issues on slow buildbots
Christian Grothoff [Tue, 4 Oct 2011 21:15:13 +0000 (21:15 +0000)]
use load, not parse
Christian Grothoff [Tue, 4 Oct 2011 21:14:36 +0000 (21:14 +0000)]
use load, not parse
Matthias Wachs [Tue, 4 Oct 2011 15:57:04 +0000 (15:57 +0000)]
http https nat tests
Matthias Wachs [Tue, 4 Oct 2011 15:55:42 +0000 (15:55 +0000)]
config files for http nat test
Matthias Wachs [Tue, 4 Oct 2011 15:53:31 +0000 (15:53 +0000)]
implemented: client-only mode
Matthias Wachs [Tue, 4 Oct 2011 15:34:58 +0000 (15:34 +0000)]
correct configuration for the nat testcase
Bart Polot [Tue, 4 Oct 2011 15:04:16 +0000 (15:04 +0000)]
Enabled DHT testcase, added unicast testcase
Bart Polot [Tue, 4 Oct 2011 15:03:44 +0000 (15:03 +0000)]
Enabled DHT use again
Bart Polot [Tue, 4 Oct 2011 14:56:51 +0000 (14:56 +0000)]
Added local tunnel service numeration handling, added incoming tunnel client notification, fixed peer_id rc bug on core peer connect
Bart Polot [Tue, 4 Oct 2011 14:53:58 +0000 (14:53 +0000)]
Optimized timing, fixed formatting, fixed callback bug
Bart Polot [Tue, 4 Oct 2011 14:50:16 +0000 (14:50 +0000)]
Fixed a double DLL_insert of an incoming tunnel
Christian Grothoff [Tue, 4 Oct 2011 13:55:12 +0000 (13:55 +0000)]
adding assertions to help with 1815
Christian Grothoff [Tue, 4 Oct 2011 13:24:22 +0000 (13:24 +0000)]
LRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging calls
(#1805).
Christian Grothoff [Tue, 4 Oct 2011 13:21:01 +0000 (13:21 +0000)]
more stats
Christian Grothoff [Tue, 4 Oct 2011 13:18:47 +0000 (13:18 +0000)]
fix stat, count 2nd case as well
Christian Grothoff [Tue, 4 Oct 2011 13:17:56 +0000 (13:17 +0000)]
unnecessary
Bart Polot [Tue, 4 Oct 2011 13:13:53 +0000 (13:13 +0000)]
Fixed core quota, added logging of error messages at connection setup
Christian Grothoff [Tue, 4 Oct 2011 11:53:32 +0000 (11:53 +0000)]
print stat
Christian Grothoff [Tue, 4 Oct 2011 11:52:24 +0000 (11:52 +0000)]
add statistic
Christian Grothoff [Tue, 4 Oct 2011 11:51:34 +0000 (11:51 +0000)]
add a few assertions
Christian Grothoff [Tue, 4 Oct 2011 11:43:16 +0000 (11:43 +0000)]
fixing memory leak (#1809)
Christian Grothoff [Tue, 4 Oct 2011 11:40:36 +0000 (11:40 +0000)]
cleaning up test code to keep references to allocated handles and to clean them up where needed; this should fix #1803
Matthias Wachs [Tue, 4 Oct 2011 11:16:00 +0000 (11:16 +0000)]
fixing bug #1812
n->is_active was not set to mq
Christian Grothoff [Tue, 4 Oct 2011 11:09:39 +0000 (11:09 +0000)]
LRN's big logging rewrite (#1805):
* GNUNET_BOTTOM_LOGLEVEL and GNUNET_TOP_LOGLEVEL set global levels
Use bottom level to force logging to be more verbose than configured
Use top level to force logging to be less verbose than configured
Obviously, bottom <= top
* GNUNET_LOG sets per-component levels
GNUNET_LOG looks like this:
name[/bottom[/top]]/...
name starts with a non-digit character, must not include '/'
bottom and top must consist only of digits, or be empty
a description is only used if it matches the component exactly
as a special exception (for now) the name '*' matches any component
per-component loglevels override global loglevels
global levels override whatever is given via arguments or in config
Examples:
test_client/8/8/
run test_client with DEBUG level (usually leads to a timeout, by the way)
*/2/2/core/8/8/transport/4/4
run everything with WARNING, core - with DEBUG, transport - with INFO
*//1/peerinfo/4/
run everything with top loglevel ERROR, global/configured bottom loglevel,
and peerinfo - with bottom loglevel INFO and global/configured top loglevel
statistics/
does nothing
* Added GNUNET_ERROR_TYPE_UNSPECIFIED enum value, to hold -1.
Its corresponding string is NULL.
* Changed the logger calls as Grothoff suggested - to use static int to hold
the result of runtime evaluation of logability.
Logging can be unconditionally disabled in advance by defining
GNUNET_LOG_CALL_STATUS to 0, and enabled in advance by defining it to 1.
* Added GNUNET_CULL_LOGGING, which, if defined, completely culls out all
logging calls at compile time.
* Log definition parsing is only done once, results are cached.
* Changed definition format, now it looks like this:
[component|*|];[file|*|];[function|*|];[from_line[-to_line]];level/[component...]
All field separators are mandatory (but some fields could be empty or be '*').
Line definition must be either empty or "number" or "number-number"
Level definition must not be empty, and is a string representation
of the level (i.e. DEBUG, WARNING, INFO, etc).
Definition entry must end with a slash, whether or not there's another
entry after it.
File name is matched to the end of __FILE__, which allows file name
to match not only the base name, but also directories leading to it.
* Removed default WARNING loglevel from program and service utility code.
Now they default to NULL (UNSPECIFIED) level, which can be overriden by
GNUNET_LOG definition, if no level is specified via config or commandline.
Log levels from config or commandline are overriden by GNUNET_FORCE_LOG.
If GNUNET_*LOG are undefined, and no levels came from config or commandline,
logger internally defaults to WARNING level.
Add --enable-logging configure option
Matthias Wachs [Tue, 4 Oct 2011 09:57:35 +0000 (09:57 +0000)]
fix for 1819:
when HELLO message arrives, peer's public key is added to peerinfo even no addresses could be validated
Matthias Wachs [Tue, 4 Oct 2011 09:20:47 +0000 (09:20 +0000)]
bugfixes
timeout handling for other transmission direction