]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Help us track bug 8093:
authorRoger Dingledine <arma@torproject.org>
Fri, 1 Feb 2013 21:22:34 +0000 (16:22 -0500)
committerRoger Dingledine <arma@torproject.org>
Fri, 1 Feb 2013 21:22:34 +0000 (16:22 -0500)
Improve the log message when "Bug/attack: unexpected sendme cell
from client" occurs.

changes/bug8093 [new file with mode: 0644]
src/or/relay.c

diff --git a/changes/bug8093 b/changes/bug8093
new file mode 100644 (file)
index 0000000..cbddfd9
--- /dev/null
@@ -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.
+
index f711eae92ca1e8d46e3380e55d999f6f8a4079fb..1289f7ddbb8edbb235adefaae03fbf8d88c16f7c 100644 (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;