aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/core.h2
-rw-r--r--src/core/gnunet-service-core.c12
-rw-r--r--src/fs/fs_test_lib_data.conf6
-rw-r--r--src/fs/gnunet-service-fs.c2
4 files changed, 11 insertions, 11 deletions
diff --git a/src/core/core.h b/src/core/core.h
index ea2925797..45d138140 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -29,7 +29,7 @@
29/** 29/**
30 * General core debugging. 30 * General core debugging.
31 */ 31 */
32#define DEBUG_CORE GNUNET_NO 32#define DEBUG_CORE GNUNET_YES
33 33
34/** 34/**
35 * Debugging interaction core-clients. 35 * Debugging interaction core-clients.
diff --git a/src/core/gnunet-service-core.c b/src/core/gnunet-service-core.c
index 65b6d7397..53006a6d6 100644
--- a/src/core/gnunet-service-core.c
+++ b/src/core/gnunet-service-core.c
@@ -42,9 +42,9 @@
42#include "core.h" 42#include "core.h"
43 43
44 44
45#define DEBUG_HANDSHAKE GNUNET_YES 45#define DEBUG_HANDSHAKE GNUNET_NO
46 46
47#define DEBUG_CORE_QUOTA GNUNET_NO 47#define DEBUG_CORE_QUOTA GNUNET_YES
48 48
49/** 49/**
50 * Receive and send buffer windows grow over time. For 50 * Receive and send buffer windows grow over time. For
@@ -1747,9 +1747,9 @@ batch_message (struct Neighbour *n,
1747 GNUNET_YES, 1747 GNUNET_YES,
1748 GNUNET_CORE_OPTION_SEND_FULL_OUTBOUND); 1748 GNUNET_CORE_OPTION_SEND_FULL_OUTBOUND);
1749#if DEBUG_HANDSHAKE 1749#if DEBUG_HANDSHAKE
1750 fprintf (stderr, 1750 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1751 "Encrypting message of type %u\n", 1751 "Encrypting message of type %u\n",
1752 ntohs(((struct GNUNET_MessageHeader*)&pos[1])->type)); 1752 ntohs(((struct GNUNET_MessageHeader*)&pos[1])->type));
1753#endif 1753#endif
1754 /* copy for encrypted transmission */ 1754 /* copy for encrypted transmission */
1755 memcpy (&buf[ret], &pos[1], pos->size); 1755 memcpy (&buf[ret], &pos[1], pos->size);
@@ -3231,7 +3231,7 @@ handle_encrypted_message (struct Neighbour *n,
3231 /* validate hash */ 3231 /* validate hash */
3232 GNUNET_CRYPTO_hash (&pt->sequence_number, 3232 GNUNET_CRYPTO_hash (&pt->sequence_number,
3233 size - ENCRYPTED_HEADER_SIZE - sizeof (GNUNET_HashCode), &ph); 3233 size - ENCRYPTED_HEADER_SIZE - sizeof (GNUNET_HashCode), &ph);
3234#if DEBUG_CORE 3234#if DEBUG_HANDSHAKE
3235 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 3235 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
3236 "V-Hashed %u bytes of plaintext (`%s') using IV `%d'\n", 3236 "V-Hashed %u bytes of plaintext (`%s') using IV `%d'\n",
3237 size - ENCRYPTED_HEADER_SIZE - sizeof (GNUNET_HashCode), 3237 size - ENCRYPTED_HEADER_SIZE - sizeof (GNUNET_HashCode),
diff --git a/src/fs/fs_test_lib_data.conf b/src/fs/fs_test_lib_data.conf
index fb1bdc533..5d2f60527 100644
--- a/src/fs/fs_test_lib_data.conf
+++ b/src/fs/fs_test_lib_data.conf
@@ -1,6 +1,6 @@
1[PATHS] 1[PATHS]
2SERVICEHOME = /tmp/gnunet-test-fs-lib/ 2SERVICEHOME = /tmp/gnunet-test-fs-lib/
3DEFAULTCONFIG = test_fs_lib_data.conf 3DEFAULTCONFIG = fs_test_lib_data.conf
4 4
5[gnunetd] 5[gnunetd]
6HOSTKEY = $SERVICEHOME/.hostkey 6HOSTKEY = $SERVICEHOME/.hostkey
@@ -42,14 +42,14 @@ PORT = 43470
42HOSTNAME = localhost 42HOSTNAME = localhost
43#TOTAL_QUOTA_IN = 3932160 43#TOTAL_QUOTA_IN = 3932160
44#TOTAL_QUOTA_OUT = 3932160 44#TOTAL_QUOTA_OUT = 3932160
45#DEBUG = YES 45DEBUG = YES
46#PREFIX = valgrind --tool=memcheck --leak-check=yes 46#PREFIX = valgrind --tool=memcheck --leak-check=yes
47#BINARY = /home/grothoff/bin/gnunet-service-core 47#BINARY = /home/grothoff/bin/gnunet-service-core
48 48
49[fs] 49[fs]
50PORT = 43471 50PORT = 43471
51HOSTNAME = localhost 51HOSTNAME = localhost
52#DEBUG = YES 52DEBUG = YES
53#PREFIX = valgrind --tool=memcheck --leak-check=yes 53#PREFIX = valgrind --tool=memcheck --leak-check=yes
54#BINARY = /home/grothoff/bin/gnunet-service-fs 54#BINARY = /home/grothoff/bin/gnunet-service-fs
55#PREFIX = xterm -e gdb -x cmd --args 55#PREFIX = xterm -e gdb -x cmd --args
diff --git a/src/fs/gnunet-service-fs.c b/src/fs/gnunet-service-fs.c
index 59fd3022b..00683ba36 100644
--- a/src/fs/gnunet-service-fs.c
+++ b/src/fs/gnunet-service-fs.c
@@ -45,7 +45,7 @@
45#include "gnunet-service-fs_indexing.h" 45#include "gnunet-service-fs_indexing.h"
46#include "fs.h" 46#include "fs.h"
47 47
48#define DEBUG_FS GNUNET_NO 48#define DEBUG_FS 2
49 49
50/** 50/**
51 * Maximum number of outgoing messages we queue per peer. 51 * Maximum number of outgoing messages we queue per peer.