From 1be5f4a81b1c75eaf792def347197482b99082f3 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 17 Oct 2005 01:46:47 +0000 Subject: [PATCH] start hunting down why servers keep getting so many duplicate create cells svn:r5255 --- src/or/command.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/or/command.c b/src/or/command.c index 8e4521469b..b7c474d730 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -185,9 +185,14 @@ command_process_create_cell(cell_t *cell, connection_t *conn) circ = circuit_get_by_circid_orconn(cell->circ_id, conn); if (circ) { + routerinfo_t *router = router_get_by_digest(conn->identity_digest); log_fn(LOG_PROTOCOL_WARN, - "received CREATE cell (circID %d) for known circ. Dropping.", - cell->circ_id); + "received CREATE cell (circID %d) for known circ. Dropping (age %d).", + cell->circ_id, (int)(time(NULL) - conn->timestamp_created)); + if (router) + log_fn(LOG_PROTOCOL_WARN, + "Details: nickname '%s', platform '%s'.", + router->nickname, router->platform); return; }