tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 761f1bf71e301f0b68718854379dd42e06fcd202
parent 41bb77822777b261991b74d2f7fb4dcad587c8c0
Author: Nick Mathewson <nickm@torproject.org>
Date:   Fri, 18 Jan 2019 12:25:08 -0500

Merge branch 'maint-0.3.3' into maint-0.3.4

Diffstat:
Achanges/bug29029 | 5+++++
Msrc/or/rendmid.c | 6+++---
2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/changes/bug29029 b/changes/bug29029 @@ -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. diff --git a/src/or/rendmid.c b/src/or/rendmid.c @@ -227,9 +227,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; }