From: Nick Mathewson Date: Thu, 9 Aug 2012 14:55:33 +0000 (-0400) Subject: Temporarily make spurious sendmes warn louder at arma's suggestion. X-Git-Tag: tor-0.2.4.1-alpha~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca90aea5ebde66565fbb6fb5d0e88a970d3563a5;p=thirdparty%2Ftor.git Temporarily make spurious sendmes warn louder at arma's suggestion. --- diff --git a/src/or/relay.c b/src/or/relay.c index 3d261c2650..33735dea2a 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;