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

[tor-commits] [tor/master] Temporarily make spurious sendmes warn louder at arma's suggestion.



commit ca90aea5ebde66565fbb6fb5d0e88a970d3563a5
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Thu Aug 9 10:55:33 2012 -0400

    Temporarily make spurious sendmes warn louder at arma's suggestion.
---
 src/or/relay.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/or/relay.c b/src/or/relay.c
index 3d261c2..33735de 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -1267,7 +1267,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
         if (layer_hint) {
           if (layer_hint->package_window + CIRCWINDOW_INCREMENT >
                 CIRCWINDOW_START_MAX) {
-            log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
+            /* XXXX024: Downgrade this back to LOG_PROTOCOL_WARN after a while*/
+            log_fn(LOG_WARN, LD_PROTOCOL,
                    "Bug/attack: unexpected sendme cell from exit relay. "
                    "Closing circ.");
             return -END_CIRC_REASON_TORPROTOCOL;
@@ -1279,7 +1280,8 @@ connection_edge_process_relay_cell(cell_t *cell, circuit_t *circ,
         } else {
           if (circ->package_window + CIRCWINDOW_INCREMENT >
                 CIRCWINDOW_START_MAX) {
-            log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
+            /* 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.");
             return -END_CIRC_REASON_TORPROTOCOL;

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