aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-03-25 11:55:27 -0400
committerNick Mathewson <nickm@torproject.org>2014-03-25 11:55:27 -0400
commit07eb481492ddd24f403ef75db65a00b38f2b5d92 (patch)
treeedab589366856f871521d1b2b90322aa6ea49579
parentd5e11f21cc98f4e42b05bdddb9e3316072ec0bef (diff)
downloadtor-07eb481492ddd24f403ef75db65a00b38f2b5d92.tar
tor-07eb481492ddd24f403ef75db65a00b38f2b5d92.tar.gz
Demote "Invalid length on ESTABLISH_RENDEZVOUS" to protocol_warn
Fixes bug 11279
-rw-r--r--changes/bug112793
-rw-r--r--src/or/rendmid.c3
2 files changed, 5 insertions, 1 deletions
diff --git a/changes/bug11279 b/changes/bug11279
new file mode 100644
index 000000000..1e9da4118
--- /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 1bd11f6dc..c68f6da59 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;
}