mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
start hunting down why servers keep getting so many duplicate create cells
svn:r5255
This commit is contained in:
parent
ae92a91d96
commit
1be5f4a81b
@ -185,9 +185,14 @@ command_process_create_cell(cell_t *cell, connection_t *conn)
|
|||||||
circ = circuit_get_by_circid_orconn(cell->circ_id, conn);
|
circ = circuit_get_by_circid_orconn(cell->circ_id, conn);
|
||||||
|
|
||||||
if (circ) {
|
if (circ) {
|
||||||
|
routerinfo_t *router = router_get_by_digest(conn->identity_digest);
|
||||||
log_fn(LOG_PROTOCOL_WARN,
|
log_fn(LOG_PROTOCOL_WARN,
|
||||||
"received CREATE cell (circID %d) for known circ. Dropping.",
|
"received CREATE cell (circID %d) for known circ. Dropping (age %d).",
|
||||||
cell->circ_id);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user