oweals/gnunet.git
12 years agoTweaked configuration files and testcase
Bart Polot [Thu, 6 Oct 2011 11:34:50 +0000 (11:34 +0000)]
Tweaked configuration files and testcase

12 years agoerror handling if server could not be started
Matthias Wachs [Thu, 6 Oct 2011 11:33:09 +0000 (11:33 +0000)]
error handling if server could not be started

12 years agoscheduling issue
Matthias Wachs [Thu, 6 Oct 2011 11:19:44 +0000 (11:19 +0000)]
scheduling issue

12 years agohdr
Christian Grothoff [Thu, 6 Oct 2011 11:07:54 +0000 (11:07 +0000)]
hdr

12 years ago(no commit message)
Matthias Wachs [Thu, 6 Oct 2011 11:06:42 +0000 (11:06 +0000)]

12 years agohxing
Christian Grothoff [Thu, 6 Oct 2011 11:01:23 +0000 (11:01 +0000)]
hxing

12 years agochange test to not require . in PATH
Christian Grothoff [Thu, 6 Oct 2011 09:02:48 +0000 (09:02 +0000)]
change test to not require . in PATH

12 years agovminko: new API to delete a TransmitContext (slightly modified patch from #1822)
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)

12 years agoLRN: Fix runtime logging test, since pipes work as intended
Christian Grothoff [Thu, 6 Oct 2011 08:48:47 +0000 (08:48 +0000)]
LRN: Fix runtime logging test, since pipes work as intended

12 years agoLRN: Fix select() on pipes to trigger read callback on EPIPE
Christian Grothoff [Thu, 6 Oct 2011 08:47:42 +0000 (08:47 +0000)]
LRN: Fix select() on pipes to trigger read callback on EPIPE

12 years agofix
Christian Grothoff [Thu, 6 Oct 2011 07:49:00 +0000 (07:49 +0000)]
fix

12 years agotestcase for runtime loglevels form LRN
Christian Grothoff [Thu, 6 Oct 2011 07:45:59 +0000 (07:45 +0000)]
testcase for runtime loglevels form LRN

12 years agoupdating ignores
Christian Grothoff [Wed, 5 Oct 2011 21:13:06 +0000 (21:13 +0000)]
updating ignores

12 years agoSimplfied base multipeer testcase, removed tests from experimental
Bart Polot [Wed, 5 Oct 2011 20:25:41 +0000 (20:25 +0000)]
Simplfied base multipeer testcase, removed tests from experimental

12 years agodbg
Christian Grothoff [Wed, 5 Oct 2011 19:57:27 +0000 (19:57 +0000)]
dbg

12 years agoprevent very low estimates from being used
Christian Grothoff [Wed, 5 Oct 2011 19:56:54 +0000 (19:56 +0000)]
prevent very low estimates from being used

12 years agofix correction according to paper, minimum NSE should be our neighour set
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

12 years agoadd packed
Christian Grothoff [Wed, 5 Oct 2011 19:54:57 +0000 (19:54 +0000)]
add packed

12 years agoAdded testcase to check proper working of insertion of own ID into a 2dtorus dht
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

12 years ago(no commit message)
Matthias Wachs [Wed, 5 Oct 2011 16:18:30 +0000 (16:18 +0000)]

12 years ago(no commit message)
Matthias Wachs [Wed, 5 Oct 2011 16:02:43 +0000 (16:02 +0000)]

12 years agomoved
Christian Grothoff [Wed, 5 Oct 2011 13:55:54 +0000 (13:55 +0000)]
moved

12 years agop should be p
Christian Grothoff [Wed, 5 Oct 2011 13:54:31 +0000 (13:54 +0000)]
p should be p

12 years agop should be n
Christian Grothoff [Wed, 5 Oct 2011 13:53:35 +0000 (13:53 +0000)]
p should be n

12 years agofix
Christian Grothoff [Wed, 5 Oct 2011 13:51:50 +0000 (13:51 +0000)]
fix

12 years agofixes
Christian Grothoff [Wed, 5 Oct 2011 13:49:24 +0000 (13:49 +0000)]
fixes

12 years agobad over-optimization
Christian Grothoff [Wed, 5 Oct 2011 13:48:35 +0000 (13:48 +0000)]
bad over-optimization

12 years agocancel con_task
Christian Grothoff [Wed, 5 Oct 2011 13:45:47 +0000 (13:45 +0000)]
cancel con_task

12 years agotypo
Christian Grothoff [Wed, 5 Oct 2011 13:38:31 +0000 (13:38 +0000)]
typo

12 years agoeliminate last calls to GNUNET_CORE_peer_request_connect -- missed one
Christian Grothoff [Wed, 5 Oct 2011 13:38:08 +0000 (13:38 +0000)]
eliminate last calls to GNUNET_CORE_peer_request_connect -- missed one

12 years agoeliminate REQUEST_CONNECT handlers
Christian Grothoff [Wed, 5 Oct 2011 13:36:14 +0000 (13:36 +0000)]
eliminate REQUEST_CONNECT handlers

12 years agobuild draft for 'new' core code
Christian Grothoff [Wed, 5 Oct 2011 13:34:18 +0000 (13:34 +0000)]
build draft for 'new' core code

12 years agoeliminate last calls to GNUNET_CORE_peer_request_connect
Christian Grothoff [Wed, 5 Oct 2011 13:33:59 +0000 (13:33 +0000)]
eliminate last calls to GNUNET_CORE_peer_request_connect

12 years agotowards new core service implementation -- breaking core up into smaller modules
Christian Grothoff [Wed, 5 Oct 2011 13:26:24 +0000 (13:26 +0000)]
towards new core service implementation -- breaking core up into smaller modules

12 years agotell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:23:00 +0000 (13:23 +0000)]
tell transport to connect, not core

12 years agotell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:22:58 +0000 (13:22 +0000)]
tell transport to connect, not core

12 years agotell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:22:54 +0000 (13:22 +0000)]
tell transport to connect, not core

12 years agotell transport to connect, not core
Christian Grothoff [Wed, 5 Oct 2011 13:22:50 +0000 (13:22 +0000)]
tell transport to connect, not core

12 years agoallow for all CBs to be NULL, then do not send START
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

12 years agoRemoved DHT_get restarting, set DEMULTIPLEX_EVERYWHERE on all DHT operations
Bart Polot [Wed, 5 Oct 2011 13:10:00 +0000 (13:10 +0000)]
Removed DHT_get restarting, set DEMULTIPLEX_EVERYWHERE on all DHT operations

12 years agoremove logging
Matthias Wachs [Wed, 5 Oct 2011 12:41:10 +0000 (12:41 +0000)]
remove logging

12 years agohttp/https nat tests
Matthias Wachs [Wed, 5 Oct 2011 12:39:50 +0000 (12:39 +0000)]
http/https nat tests

12 years agoAdded periodic restart to all DHT get queries
Bart Polot [Wed, 5 Oct 2011 12:38:43 +0000 (12:38 +0000)]
Added periodic restart to all DHT get queries

12 years agogenerated
Christian Grothoff [Wed, 5 Oct 2011 12:37:48 +0000 (12:37 +0000)]
generated

12 years ago(no commit message)
Matthias Wachs [Wed, 5 Oct 2011 12:34:18 +0000 (12:34 +0000)]

12 years ago(no commit message)
Matthias Wachs [Wed, 5 Oct 2011 12:06:08 +0000 (12:06 +0000)]

12 years agomore beautification
Matthias Wachs [Wed, 5 Oct 2011 11:51:57 +0000 (11:51 +0000)]
more beautification

12 years agocorrect cfg file for tcp_nat test
Matthias Wachs [Wed, 5 Oct 2011 11:46:14 +0000 (11:46 +0000)]
correct cfg file for tcp_nat test

12 years agoMoved dht get handles for types into tunnel handlers, added tasks to restart dht...
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

12 years agoremoving experimental from http
Matthias Wachs [Wed, 5 Oct 2011 11:21:57 +0000 (11:21 +0000)]
removing experimental from http

12 years agobugfix
David Brodski [Wed, 5 Oct 2011 10:26:47 +0000 (10:26 +0000)]
bugfix

12 years agocore gives a buf of NULL to indicate errors
Philipp Tölke [Wed, 5 Oct 2011 09:41:31 +0000 (09:41 +0000)]
core gives a buf of NULL to indicate errors

12 years agobug
Philipp Tölke [Wed, 5 Oct 2011 08:58:50 +0000 (08:58 +0000)]
bug

12 years agoAdapted path generation to new DHT_RECORD_ROUTE behavior
Bart Polot [Wed, 5 Oct 2011 08:54:30 +0000 (08:54 +0000)]
Adapted path generation to new DHT_RECORD_ROUTE behavior

12 years agoEnable DHT in testcase
Bart Polot [Wed, 5 Oct 2011 08:53:05 +0000 (08:53 +0000)]
Enable DHT in testcase

12 years agoError message handling changed
David Brodski [Wed, 5 Oct 2011 08:51:44 +0000 (08:51 +0000)]
Error message handling changed

12 years agopack block, use big endian for time
Christian Grothoff [Wed, 5 Oct 2011 08:42:12 +0000 (08:42 +0000)]
pack block, use big endian for time

12 years agoadd GNUNET_PACKED
Christian Grothoff [Wed, 5 Oct 2011 08:34:36 +0000 (08:34 +0000)]
add GNUNET_PACKED

12 years agofix
Christian Grothoff [Wed, 5 Oct 2011 08:16:08 +0000 (08:16 +0000)]
fix

12 years agoincrease timeout to hopefully fix issues on slow buildbots
Christian Grothoff [Tue, 4 Oct 2011 21:20:27 +0000 (21:20 +0000)]
increase timeout to hopefully fix issues on slow buildbots

12 years agouse load, not parse
Christian Grothoff [Tue, 4 Oct 2011 21:15:13 +0000 (21:15 +0000)]
use load, not parse

12 years agouse load, not parse
Christian Grothoff [Tue, 4 Oct 2011 21:14:36 +0000 (21:14 +0000)]
use load, not parse

12 years agohttp https nat tests
Matthias Wachs [Tue, 4 Oct 2011 15:57:04 +0000 (15:57 +0000)]
http https nat tests

12 years agoconfig files for http nat test
Matthias Wachs [Tue, 4 Oct 2011 15:55:42 +0000 (15:55 +0000)]
config files for http nat test

12 years agoimplemented: client-only mode
Matthias Wachs [Tue, 4 Oct 2011 15:53:31 +0000 (15:53 +0000)]
implemented: client-only mode

12 years agocorrect configuration for the nat testcase
Matthias Wachs [Tue, 4 Oct 2011 15:34:58 +0000 (15:34 +0000)]
correct configuration for the nat testcase

12 years agoEnabled DHT testcase, added unicast testcase
Bart Polot [Tue, 4 Oct 2011 15:04:16 +0000 (15:04 +0000)]
Enabled DHT testcase, added unicast testcase

12 years agoEnabled DHT use again
Bart Polot [Tue, 4 Oct 2011 15:03:44 +0000 (15:03 +0000)]
Enabled DHT use again

12 years agoAdded local tunnel service numeration handling, added incoming tunnel client notifica...
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

12 years agoOptimized timing, fixed formatting, fixed callback bug
Bart Polot [Tue, 4 Oct 2011 14:53:58 +0000 (14:53 +0000)]
Optimized timing, fixed formatting, fixed callback bug

12 years agoFixed a double DLL_insert of an incoming tunnel
Bart Polot [Tue, 4 Oct 2011 14:50:16 +0000 (14:50 +0000)]
Fixed a double DLL_insert of an incoming tunnel

12 years agoadding assertions to help with 1815
Christian Grothoff [Tue, 4 Oct 2011 13:55:12 +0000 (13:55 +0000)]
adding assertions to help with 1815

12 years agoLRN: Use GNUNET_EXTRA_LOGGING to manage compile-time logging calls
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).

12 years agomore stats
Christian Grothoff [Tue, 4 Oct 2011 13:21:01 +0000 (13:21 +0000)]
more stats

12 years agofix stat, count 2nd case as well
Christian Grothoff [Tue, 4 Oct 2011 13:18:47 +0000 (13:18 +0000)]
fix stat, count 2nd case as well

12 years agounnecessary
Christian Grothoff [Tue, 4 Oct 2011 13:17:56 +0000 (13:17 +0000)]
unnecessary

12 years agoFixed core quota, added logging of error messages at connection setup
Bart Polot [Tue, 4 Oct 2011 13:13:53 +0000 (13:13 +0000)]
Fixed core quota, added logging of error messages at connection setup

12 years agoprint stat
Christian Grothoff [Tue, 4 Oct 2011 11:53:32 +0000 (11:53 +0000)]
print stat

12 years agoadd statistic
Christian Grothoff [Tue, 4 Oct 2011 11:52:24 +0000 (11:52 +0000)]
add statistic

12 years agoadd a few assertions
Christian Grothoff [Tue, 4 Oct 2011 11:51:34 +0000 (11:51 +0000)]
add a few assertions

12 years agofixing memory leak (#1809)
Christian Grothoff [Tue, 4 Oct 2011 11:43:16 +0000 (11:43 +0000)]
fixing memory leak (#1809)

12 years agocleaning up test code to keep references to allocated handles and to clean them up...
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

12 years agofixing bug #1812
Matthias Wachs [Tue, 4 Oct 2011 11:16:00 +0000 (11:16 +0000)]
fixing bug #1812

n->is_active was not set to mq

12 years agoLRN's big logging rewrite (#1805):
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

12 years agofix for 1819:
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

12 years agobugfixes
Matthias Wachs [Tue, 4 Oct 2011 09:20:47 +0000 (09:20 +0000)]
bugfixes
timeout handling for other transmission direction

12 years agoadding stats
Christian Grothoff [Tue, 4 Oct 2011 09:19:32 +0000 (09:19 +0000)]
adding stats

12 years agofactor out stop into new task (in preparation)
Christian Grothoff [Tue, 4 Oct 2011 09:12:12 +0000 (09:12 +0000)]
factor out stop into new task (in preparation)

12 years ago(no commit message)
Matthias Wachs [Tue, 4 Oct 2011 09:11:05 +0000 (09:11 +0000)]

12 years agofixing #17134
Matthias Wachs [Tue, 4 Oct 2011 09:10:26 +0000 (09:10 +0000)]
fixing #17134

12 years agore-enabling timeouts
Matthias Wachs [Tue, 4 Oct 2011 08:30:57 +0000 (08:30 +0000)]
re-enabling timeouts

12 years agoTweaked test configuration and log messages
Bart Polot [Mon, 3 Oct 2011 17:30:18 +0000 (17:30 +0000)]
Tweaked test configuration and log messages

12 years agoFixed size request from core on create path and path ack, reformatted call to make...
Bart Polot [Mon, 3 Oct 2011 17:01:14 +0000 (17:01 +0000)]
Fixed size request from core on create path and path ack, reformatted call to make more readable

12 years agoFixed a bug in create path handling, extended debug info.
Bart Polot [Mon, 3 Oct 2011 16:35:16 +0000 (16:35 +0000)]
Fixed a bug in create path handling, extended debug info.

12 years agofix 1814
Christian Grothoff [Sun, 2 Oct 2011 22:38:36 +0000 (22:38 +0000)]
fix 1814

12 years agofix #1713 (see discussion there)
Christian Grothoff [Sun, 2 Oct 2011 22:16:00 +0000 (22:16 +0000)]
fix #1713 (see discussion there)

12 years agono printf
Christian Grothoff [Fri, 30 Sep 2011 21:06:03 +0000 (21:06 +0000)]
no printf

12 years agofixing bloomfilter code, fixing testcase
Christian Grothoff [Fri, 30 Sep 2011 20:55:21 +0000 (20:55 +0000)]
fixing bloomfilter code, fixing testcase

12 years agoadding empty lines
Christian Grothoff [Fri, 30 Sep 2011 18:58:43 +0000 (18:58 +0000)]
adding empty lines

12 years agoDebug statements
Bart Polot [Fri, 30 Sep 2011 17:15:33 +0000 (17:15 +0000)]
Debug statements