Help us track bug 8093:

Improve the log message when "Bug/attack: unexpected sendme cell
from client" occurs.
This commit is contained in:
Roger Dingledine 2013-02-01 16:22:34 -05:00
parent abb5519d93
commit fd49226385
2 changed files with 6 additions and 1 deletions

4
changes/bug8093 Normal file
View File

@ -0,0 +1,4 @@
o Minor features:
- Improve the log message when "Bug/attack: unexpected sendme cell
from client" occurs, to help us track bug 8093.

View File

@ -1443,7 +1443,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
/*XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
log_fn(LOG_WARN, LD_PROTOCOL,
"Bug/attack: unexpected sendme cell from client. "
"Closing circ.");
"Closing circ (window %d).",
circ->package_window);
return -END_CIRC_REASON_TORPROTOCOL;
}
circ->package_window += CIRCWINDOW_INCREMENT;