[tor-commits] [tor/master] Demote "Invalid length on ESTABLISH_RENDEZVOUS" to protocol_warn

nickm at torproject.org nickm at torproject.org
Tue Mar 25 15:56:15 UTC 2014


commit 07eb481492ddd24f403ef75db65a00b38f2b5d92
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Mar 25 11:55:27 2014 -0400

    Demote "Invalid length on ESTABLISH_RENDEZVOUS" to protocol_warn
    
    Fixes bug 11279
---
 changes/bug11279 |    3 +++
 src/or/rendmid.c |    3 ++-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/changes/bug11279 b/changes/bug11279
new file mode 100644
index 0000000..1e9da41
--- /dev/null
+++ b/changes/bug11279
@@ -0,0 +1,3 @@
+  o Minor features:
+    - Warn less verbosely when receiving a misformed ESTABLISH_RENDEZVOUS
+      cell. Fixes ticket 11279.
diff --git a/src/or/rendmid.c b/src/or/rendmid.c
index 1bd11f6..c68f6da 100644
--- a/src/or/rendmid.c
+++ b/src/or/rendmid.c
@@ -231,7 +231,8 @@ rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
   }
 
   if (request_len != REND_COOKIE_LEN) {
-    log_warn(LD_PROTOCOL, "Invalid length on ESTABLISH_RENDEZVOUS.");
+    log_fn(LOG_PROTOCOL_WARN,
+           LD_PROTOCOL, "Invalid length on ESTABLISH_RENDEZVOUS.");
     goto err;
   }
 



More information about the tor-commits mailing list