[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #27049 [Core Tor/Tor]: "No circuits are opened" messages with onion services
#27049: "No circuits are opened" messages with onion services
--------------------------+------------------------------
Reporter: mikeperry | Owner: mikeperry
Type: defect | Status: needs_review
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: 033-backport | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------+------------------------------
Changes (by mikeperry):
* status: assigned => needs_review
Old description:
> If a Tor instance is only doing onion service activity, and circuits time
> out, then the Tor client thinks that circuits aren't opened and gives
> them a full minute to complete. It also complains about this in the logs
> at notice level.
>
> The fix is simple. circuit_any_opened_circuits() in circuitlist.c is only
> counting circuits as opened if they use the DEFAULT_ROUTE_LEN. We just
> need to count >= DEFAULT_ROUTE_LEN to count them.
New description:
If a Tor instance is only doing onion service activity, and circuits time
out, then the Tor client thinks that circuits aren't opened and gives them
a full minute to complete. It also complains about this in the logs at
notice level, like this:
{{{
Aug 06 02:55:30.000 [notice] No circuits are opened. Relaxed timeout for
circuit 21570 (a Hidden service: Pre-built vanguard circuit 4-hop circuit
in state doing handshakes with channel state open) to 60000ms. However, it
appears the circuit has timed out anyway.
}}}
The fix is simple. circuit_any_opened_circuits() in circuitlist.c is only
counting circuits as opened if they use the DEFAULT_ROUTE_LEN. We just
need to count >= DEFAULT_ROUTE_LEN to count them.
--
Comment:
https://github.com/torproject/tor/pull/263
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27049#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs