oweals/gnunet.git
13 years agoError message handling changed
David Brodski [Wed, 5 Oct 2011 08:51:44 +0000 (08:51 +0000)]
Error message handling changed

13 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

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

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

13 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

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

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

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

13 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

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

13 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

13 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

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

13 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

13 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

13 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

13 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

13 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).

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

13 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

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

13 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

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

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

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

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

13 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

13 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

13 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

13 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

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

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

13 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)

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

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

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

13 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

13 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

13 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.

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

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

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

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

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

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

13 years agoadded functionality: immediate server rescheduling
Matthias Wachs [Fri, 30 Sep 2011 15:11:34 +0000 (15:11 +0000)]
added functionality: immediate server rescheduling

+ debugging functionality to find server disconnect problem

13 years agojust to be sure curl is not causing the disconnects
Matthias Wachs [Fri, 30 Sep 2011 15:09:26 +0000 (15:09 +0000)]
just to be sure curl is not causing the disconnects

13 years agoCommented out DHT code, removed DHT-dependent test from run set.
Bart Polot [Fri, 30 Sep 2011 14:38:23 +0000 (14:38 +0000)]
Commented out DHT code, removed DHT-dependent test from run set.

13 years agoputting session handling in function
Matthias Wachs [Fri, 30 Sep 2011 13:34:45 +0000 (13:34 +0000)]
putting session handling in function

13 years agobeautification
Matthias Wachs [Fri, 30 Sep 2011 13:25:15 +0000 (13:25 +0000)]
beautification

13 years agoAdded send path create on new peer with direct connection, added resource liberation...
Bart Polot [Fri, 30 Sep 2011 12:51:57 +0000 (12:51 +0000)]
Added send path create on new peer with direct connection, added resource liberation on neighbor disconnection which queued messages

13 years agosome diagnoses
Matthias Wachs [Fri, 30 Sep 2011 11:20:44 +0000 (11:20 +0000)]
some diagnoses

13 years agofixing #1801
Matthias Wachs [Fri, 30 Sep 2011 11:00:24 +0000 (11:00 +0000)]
fixing #1801

13 years agocheck if transport client is still connected before sending SEND_OK
Matthias Wachs [Fri, 30 Sep 2011 09:02:12 +0000 (09:02 +0000)]
check if transport client is still connected before sending SEND_OK

13 years agoadded assertion to find https://www.gnunet.org/bugs/view.php?id=1808
Matthias Wachs [Fri, 30 Sep 2011 07:46:32 +0000 (07:46 +0000)]
added assertion to find https://gnunet.org/bugs/view.php?id=1808

13 years agofix
Christian Grothoff [Fri, 30 Sep 2011 01:07:02 +0000 (01:07 +0000)]
fix

13 years agore-add logging, move BF add operations to the latest possible time to avoid polluting...
Christian Grothoff [Fri, 30 Sep 2011 01:06:19 +0000 (01:06 +0000)]
re-add logging, move BF add operations to the latest possible time to avoid polluting tests needlessly

13 years agospeed up BF tests
Christian Grothoff [Fri, 30 Sep 2011 01:05:11 +0000 (01:05 +0000)]
speed up BF tests

13 years agonicer
Christian Grothoff [Fri, 30 Sep 2011 00:51:39 +0000 (00:51 +0000)]
nicer

13 years agoremove excessive logging
Christian Grothoff [Thu, 29 Sep 2011 23:28:42 +0000 (23:28 +0000)]
remove excessive logging

13 years agoremoving excessive logging, adding missing decrement (choice) to avoid assertion...
Christian Grothoff [Thu, 29 Sep 2011 23:27:30 +0000 (23:27 +0000)]
removing excessive logging, adding missing decrement (choice) to avoid assertion failure; fixing loop bounds in non-random peer selection

13 years agouse demultiplex everywhere
Christian Grothoff [Thu, 29 Sep 2011 23:25:14 +0000 (23:25 +0000)]
use demultiplex everywhere

13 years agonolog
Christian Grothoff [Thu, 29 Sep 2011 23:24:54 +0000 (23:24 +0000)]
nolog

13 years agoalso demultiplex everywhere on put
Christian Grothoff [Thu, 29 Sep 2011 23:24:07 +0000 (23:24 +0000)]
also demultiplex everywhere on put

13 years agoFixed multicast retransmission, fixed memory managemenet at path creation
Bart Polot [Thu, 29 Sep 2011 23:18:16 +0000 (23:18 +0000)]
Fixed multicast retransmission, fixed memory managemenet at path creation

13 years agofix code to perform GET retries
Christian Grothoff [Thu, 29 Sep 2011 23:08:08 +0000 (23:08 +0000)]
fix code to perform GET retries

13 years agouse unique keys for each peer pair
Christian Grothoff [Thu, 29 Sep 2011 23:07:27 +0000 (23:07 +0000)]
use unique keys for each peer pair

13 years agodo not add 1 twice -- callee also added 1, resulting in an increment by 2 per hop
Christian Grothoff [Thu, 29 Sep 2011 21:53:01 +0000 (21:53 +0000)]
do not add 1 twice -- callee also added 1, resulting in an increment by 2 per hop

13 years agoWiP
Bart Polot [Thu, 29 Sep 2011 21:42:52 +0000 (21:42 +0000)]
WiP

13 years agolog more details for debugging
Christian Grothoff [Thu, 29 Sep 2011 21:29:08 +0000 (21:29 +0000)]
log more details for debugging

13 years agobugfix
Christian Grothoff [Thu, 29 Sep 2011 21:28:53 +0000 (21:28 +0000)]
bugfix

13 years agocleaning up testcase, debugging
Christian Grothoff [Thu, 29 Sep 2011 20:41:03 +0000 (20:41 +0000)]
cleaning up testcase, debugging

13 years agofix disconnect message transmission, send keepalives
Christian Grothoff [Thu, 29 Sep 2011 20:31:38 +0000 (20:31 +0000)]
fix disconnect message transmission, send keepalives

13 years agoreport disconnect reasons in stats
Christian Grothoff [Thu, 29 Sep 2011 19:33:12 +0000 (19:33 +0000)]
report disconnect reasons in stats

13 years agoreport disconnect reasons in stats
Christian Grothoff [Thu, 29 Sep 2011 19:33:03 +0000 (19:33 +0000)]
report disconnect reasons in stats

13 years agodisable for now
Christian Grothoff [Thu, 29 Sep 2011 15:02:34 +0000 (15:02 +0000)]
disable for now

13 years agonicer
Christian Grothoff [Thu, 29 Sep 2011 15:01:51 +0000 (15:01 +0000)]
nicer

13 years agobetter reporting
Christian Grothoff [Thu, 29 Sep 2011 14:56:32 +0000 (14:56 +0000)]
better reporting

13 years agofixing 1804
Christian Grothoff [Thu, 29 Sep 2011 14:55:29 +0000 (14:55 +0000)]
fixing 1804

13 years agofixing list-connections to show correct peer id
Matthias Wachs [Thu, 29 Sep 2011 14:44:24 +0000 (14:44 +0000)]
fixing list-connections to show correct peer id
extending neighbour-iterate to return plugin, addr and addresslen

13 years agosimplify code
Christian Grothoff [Thu, 29 Sep 2011 14:21:05 +0000 (14:21 +0000)]
simplify code

13 years agouse ring 10, test all-to-all GET/PUT
Christian Grothoff [Thu, 29 Sep 2011 14:00:07 +0000 (14:00 +0000)]
use ring 10, test all-to-all GET/PUT

13 years agoconst
Christian Grothoff [Thu, 29 Sep 2011 13:57:09 +0000 (13:57 +0000)]
const

13 years agodbg
Christian Grothoff [Thu, 29 Sep 2011 13:57:02 +0000 (13:57 +0000)]
dbg

13 years agocleaning up testcase some
Christian Grothoff [Thu, 29 Sep 2011 13:37:19 +0000 (13:37 +0000)]
cleaning up testcase some

13 years agoremoving quota set to max_bps cfg setting
Matthias Wachs [Thu, 29 Sep 2011 11:51:25 +0000 (11:51 +0000)]
removing quota set to max_bps cfg setting

13 years agodisable verbose output
Matthias Wachs [Thu, 29 Sep 2011 10:01:22 +0000 (10:01 +0000)]
disable verbose output

13 years agochanging to constant
Matthias Wachs [Thu, 29 Sep 2011 09:28:19 +0000 (09:28 +0000)]
changing to constant

13 years agosetting default connection timeout depending on MHD version
Matthias Wachs [Thu, 29 Sep 2011 09:26:23 +0000 (09:26 +0000)]
setting default connection timeout depending on MHD version

13 years agofixing 1802
Christian Grothoff [Wed, 28 Sep 2011 23:06:28 +0000 (23:06 +0000)]
fixing 1802

13 years agostatic
Christian Grothoff [Wed, 28 Sep 2011 23:02:28 +0000 (23:02 +0000)]
static

13 years agofix #1796
Christian Grothoff [Wed, 28 Sep 2011 22:51:07 +0000 (22:51 +0000)]
fix #1796

13 years agostatic
Christian Grothoff [Wed, 28 Sep 2011 20:15:14 +0000 (20:15 +0000)]
static

13 years agofixing warning
Christian Grothoff [Wed, 28 Sep 2011 19:33:08 +0000 (19:33 +0000)]
fixing warning

13 years agodbg
Christian Grothoff [Wed, 28 Sep 2011 19:20:34 +0000 (19:20 +0000)]
dbg

13 years agodbg
Christian Grothoff [Wed, 28 Sep 2011 09:57:36 +0000 (09:57 +0000)]
dbg

13 years agofixes
Christian Grothoff [Wed, 28 Sep 2011 09:56:18 +0000 (09:56 +0000)]
fixes

13 years agoAdded multicast route keeplive
Bart Polot [Wed, 28 Sep 2011 09:22:26 +0000 (09:22 +0000)]
Added multicast route keeplive

13 years agostuff
Christian Grothoff [Wed, 28 Sep 2011 08:57:33 +0000 (08:57 +0000)]
stuff

13 years agoparen
Christian Grothoff [Wed, 28 Sep 2011 08:13:20 +0000 (08:13 +0000)]
paren