mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
bcc953307b
When we looked, this was the third most frequent message at PROTOCOL_WARN, and doesn't actually tell us what to do about it. Now: * we just log it at info * we log it only once per circuit * we report, in the heartbeat, how many times it happens, how many cells it happens with per circuit, and how long these circuits have been alive (on average). Fixes the final part of #40400.
8 lines
437 B
Plaintext
8 lines
437 B
Plaintext
o Minor features (logging, heartbeat):
|
|
- When a relay receives a cell that isn't encrypted properly for
|
|
it, but the relay is the last hop on the circuit, the relay
|
|
now counts how many cells of this kind it receives, on how
|
|
many circuits, and reports this information in the log.
|
|
Previously, we'd log each cell at PROTOCOL_WARN level, which
|
|
is far too verbose to be useful. Fixes part of ticket 40400.
|