]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
rend: stop warning when clients send multiple rend establish cells
authorteor <teor@torproject.org>
Wed, 9 Jan 2019 08:00:34 +0000 (18:00 +1000)
committerteor <teor@torproject.org>
Wed, 9 Jan 2019 21:59:59 +0000 (07:59 +1000)
Stop logging "Tried to establish rendezvous on non-OR circuit..." as
a warning. Instead, log it as a protocol warning, because there is
nothing that relay operators can do to fix it.

Fixes bug 29029; bugfix on 0.2.5.7-rc.

changes/bug29029 [new file with mode: 0644]
src/or/rendmid.c

diff --git a/changes/bug29029 b/changes/bug29029
new file mode 100644 (file)
index 0000000..e100a8c
--- /dev/null
@@ -0,0 +1,5 @@
+  o Minor bugfixes (logging, onion services):
+    - Stop logging "Tried to establish rendezvous on non-OR circuit..." as
+      a warning. Instead, log it as a protocol warning, because there is
+      nothing that relay operators can do to fix it. Fixes bug 29029;
+      bugfix on 0.2.5.7-rc.
index 441d5043ce2b45cdf15fae93ec3595082f87ebde..08b2e8923af28b356d1eaadc83b07fc2d06bb1bf 100644 (file)
@@ -242,9 +242,9 @@ rend_mid_establish_rendezvous(or_circuit_t *circ, const uint8_t *request,
            (unsigned)circ->p_circ_id);
 
   if (circ->base_.purpose != CIRCUIT_PURPOSE_OR) {
-    log_warn(LD_PROTOCOL,
-             "Tried to establish rendezvous on non-OR circuit with purpose %s",
-             circuit_purpose_to_string(circ->base_.purpose));
+    log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
+           "Tried to establish rendezvous on non-OR circuit with purpose %s",
+           circuit_purpose_to_string(circ->base_.purpose));
     goto err;
   }