Opened 7 weeks 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: 0.4.0.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-bwauth, tor-bootstrap
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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 (0)

Note: See TracTickets for help on using tickets.