aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-10-17 01:46:47 +0000
committerRoger Dingledine <arma@torproject.org>2005-10-17 01:46:47 +0000
commit1be5f4a81b1c75eaf792def347197482b99082f3 (patch)
tree715a811131395e33bbe0ade18919b8bf6f9d2935 /src/or
parentae92a91d96f1942a3607292304f02a4947f5202b (diff)
downloadtor-1be5f4a81b1c75eaf792def347197482b99082f3.tar
tor-1be5f4a81b1c75eaf792def347197482b99082f3.tar.gz
start hunting down why servers keep getting so many duplicate create cells
svn:r5255
Diffstat (limited to 'src/or')
-rw-r--r--src/or/command.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/or/command.c b/src/or/command.c
index 8e4521469..b7c474d73 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;
}