[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r34003 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r34003 - gnunet/src/cadet |
Date: |
Mon, 21 Jul 2014 11:52:18 +0200 |
Author: bartpolot
Date: 2014-07-21 11:52:18 +0200 (Mon, 21 Jul 2014)
New Revision: 34003
Modified:
gnunet/src/cadet/gnunet-service-cadet_channel.c
gnunet/src/cadet/gnunet-service-cadet_connection.c
gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- more debug info on buildbots
Modified: gnunet/src/cadet/gnunet-service-cadet_channel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_channel.c 2014-07-21 00:15:32 UTC
(rev 34002)
+++ gnunet/src/cadet/gnunet-service-cadet_channel.c 2014-07-21 09:52:18 UTC
(rev 34003)
@@ -2384,6 +2384,7 @@
if (NULL == chq->tq)
{
GNUNET_break (0);
+ GCT_debug (ch->t, GNUNET_ERROR_TYPE_ERROR);
GNUNET_free (chq);
chq = NULL;
return;
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-07-21 00:15:32 UTC
(rev 34002)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2014-07-21 09:52:18 UTC
(rev 34003)
@@ -956,6 +956,7 @@
if (NULL == c->t)
{
GNUNET_break (0);
+ GCC_debug (c, GNUNET_ERROR_TYPE_ERROR);
return;
}
@@ -1832,6 +1833,7 @@
{
/* A terminal connection should not have 't' set to NULL. */
GNUNET_break (0);
+ GCC_debug (c, GNUNET_ERROR_TYPE_ERROR);
return GNUNET_OK;
}
neighbor = get_hop (c, !fwd);
Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2014-07-21 00:15:32 UTC
(rev 34002)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c 2014-07-21 09:52:18 UTC
(rev 34003)
@@ -1269,12 +1269,12 @@
/* Must have a connection. */
if (NULL == t->connection_head && CADET_TUNNEL_SEARCHING != t->cstate)
{
- LOG (GNUNET_ERROR_TYPE_WARNING, "\n\n\n");
+ LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n");
GNUNET_break (0);
- LOG (GNUNET_ERROR_TYPE_WARNING, "sending %s\n", GC_m2s (type));
- GCT_debug (t, GNUNET_ERROR_TYPE_WARNING);
- GCP_debug (t->peer, GNUNET_ERROR_TYPE_WARNING);
- LOG (GNUNET_ERROR_TYPE_WARNING, "\n\n\n");
+ LOG (GNUNET_ERROR_TYPE_ERROR, "no connection, sending %s\n", GC_m2s
(type));
+ GCT_debug (t, GNUNET_ERROR_TYPE_ERROR);
+ GCP_debug (t->peer, GNUNET_ERROR_TYPE_ERROR);
+ LOG (GNUNET_ERROR_TYPE_ERROR, "\n\n\n");
return;
}
@@ -1286,7 +1286,7 @@
{
GNUNET_break (GNUNET_SCHEDULER_NO_TASK != t->destroy_task
|| CADET_TUNNEL_READY != t->cstate);
- GCT_debug (t, GNUNET_ERROR_TYPE_WARNING);
+ GCT_debug (t, GNUNET_ERROR_TYPE_ERROR);
return;
}
switch (type)
@@ -1878,8 +1878,9 @@
t_decrypt (t, &res.target, &msg->target, ping_encryption_size (), msg->iv);
if (0 != memcmp (&my_full_id, &res.target, sizeof (my_full_id)))
{
+ /* probably peer hasn't got our new EPHM yet and derived the wrong keys */
GNUNET_STATISTICS_update (stats, "# malformed PINGs", 1, GNUNET_NO);
- LOG (GNUNET_ERROR_TYPE_WARNING, " malformed PING on %s\n", GCT_2s (t));
+ LOG (GNUNET_ERROR_TYPE_INFO, " malformed PING on %s\n", GCT_2s (t));
LOG (GNUNET_ERROR_TYPE_DEBUG, " e got %u\n", msg->nonce);
LOG (GNUNET_ERROR_TYPE_DEBUG, " e towards %s\n", GNUNET_i2s
(&msg->target));
LOG (GNUNET_ERROR_TYPE_DEBUG, " got %u\n", res.nonce);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r34003 - gnunet/src/cadet,
gnunet <=