Opened 23 months ago

Last modified 20 months ago

#28714 new defect

"No circuits are opened" on controllers that DisablePredictedCircuits and build 2-hop circuits

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-bwauth, tor-bootstrap, 040-deferred-20190220
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


sbws sets DisablePredictedCircuits 0 after bootstrap, then builds 2-hop circuits using a controller. After a few days, once all the 3-hop circuits time out, sbws stalls (#28639).

We can fix this issue by considering all controller circuits to be opened circuits, regardless of length. The relevant code is in circuit_any_opened_circuits().

On most clients, Tor's predicted circuits code keeps opening enough circuits to avoid a stall.

Child Tickets

Change History (1)

comment:1 Changed 20 months ago by nickm

Keywords: 040-deferred-20190220 added
Milestone: Tor: 0.4.0.x-finalTor: unspecified

Deferring 51 tickets from 0.4.0.x-final. Tagging them with 040-deferred-20190220 for visibility. These are the tickets that did not get 040-must, 040-can, or tor-ci.

Note: See TracTickets for help on using tickets.