[tor-commits] [tor/master] Downgrade 'unexpected sendme cell from client' to PROTOCOL_WARN

nickm at torproject.org nickm at torproject.org
Thu Oct 16 17:29:16 UTC 2014


commit ab4b29625db720817f9af502199ebf1ee3ac5af7
Author: Nick Mathewson <nickm at torproject.org>
Date:   Thu Oct 16 13:04:11 2014 -0400

    Downgrade 'unexpected sendme cell from client' to PROTOCOL_WARN
    
    Closes 8093.
---
 changes/bug8093 |    3 +++
 src/or/relay.c  |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/changes/bug8093 b/changes/bug8093
new file mode 100644
index 0000000..f0fbc61
--- /dev/null
+++ b/changes/bug8093
@@ -0,0 +1,3 @@
+  o Downgraded warnings:
+    - Downgrade the severity of the 'unexpected sendme cell from client' from
+      'warn' to 'protocol warning'. Closes ticket 8093.
diff --git a/src/or/relay.c b/src/or/relay.c
index 4d71157..9407df0 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1718,7 +1718,7 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
           if (circ->package_window + CIRCWINDOW_INCREMENT >
                 CIRCWINDOW_START_MAX) {
             static struct ratelim_t client_warn_ratelim = RATELIM_INIT(600);
-            log_fn_ratelim(&client_warn_ratelim, LOG_WARN, LD_PROTOCOL,
+            log_fn_ratelim(&client_warn_ratelim,LOG_PROTOCOL_WARN, LD_PROTOCOL,
                    "Unexpected sendme cell from client. "
                    "Closing circ (window %d).",
                    circ->package_window);





More information about the tor-commits mailing list