[or-cvs] start hunting down why servers keep getting so many duplica...

arma at seul.org arma at seul.org
Mon Oct 17 01:46:49 UTC 2005


Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	command.c 
Log Message:
start hunting down why servers keep getting so many duplicate create cells


Index: command.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/command.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -d -r1.93 -r1.94
--- command.c	17 Oct 2005 00:35:53 -0000	1.93
+++ command.c	17 Oct 2005 01:46:47 -0000	1.94
@@ -185,9 +185,14 @@
   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;
   }
 



More information about the tor-commits mailing list