[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit ab4b29625db720817f9af502199ebf1ee3ac5af7
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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);



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits