[tor-commits] [tor/master] Help us track bug 8093:

arma at torproject.org arma at torproject.org
Fri Feb 1 21:23:04 UTC 2013


commit fd492263859c7f7c5801df9d2cc99b767bd660ef
Author: Roger Dingledine <arma at torproject.org>
Date:   Fri Feb 1 16:22:34 2013 -0500

    Help us track bug 8093:
    
    Improve the log message when "Bug/attack: unexpected sendme cell
    from client" occurs.
---
 changes/bug8093 |    4 ++++
 src/or/relay.c  |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/changes/bug8093 b/changes/bug8093
new file mode 100644
index 0000000..cbddfd9
--- /dev/null
+++ b/changes/bug8093
@@ -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.
+
diff --git a/src/or/relay.c b/src/or/relay.c
index f711eae..1289f7d 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -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;



More information about the tor-commits mailing list