From: Christian Grothoff Date: Mon, 3 Aug 2015 11:13:42 +0000 (+0000) Subject: -report id of peer that is missbehaving X-Git-Tag: initial-import-from-subversion-38251~1532 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2e340e08850492020c4494e78293def9b6943706;p=oweals%2Fgnunet.git -report id of peer that is missbehaving --- diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c index 928065e3c..8a2275bf3 100644 --- a/src/nse/gnunet-service-nse.c +++ b/src/nse/gnunet-service-nse.c @@ -954,7 +954,8 @@ find_proof (void *cls, } if (my_proof / (100 * ROUND_SIZE) < counter / (100 * ROUND_SIZE)) { - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Testing proofs currently at %llu\n", + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, + "Testing proofs currently at %llu\n", (unsigned long long) counter); /* remember progress every 100 rounds */ my_proof = counter; @@ -1132,6 +1133,9 @@ handle_p2p_size_estimate (void *cls, return GNUNET_OK; /* ignore, simply too early/late */ if (GNUNET_YES != verify_message_crypto (incoming_flood)) { + GNUNET_log (GNUNET_ERROR_TYPE_ERROR, + "Peer %s is likely ill-configured!\n", + GNUNET_i2s (peer)); GNUNET_break_op (0); return GNUNET_OK; }