Opened 6 years ago

Closed 6 years ago

#10456 closed defect (fixed)

Tor 0.2.4.x client makes like 14 circuits at startup

Reported by: arma Owned by:
Priority: High Milestone: Tor: 0.2.4.x-final
Component: Core Tor/Tor Version:
Severity: Keywords: tor-client
Cc: mikeperry Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Start a Tor 0.2.4.x client. Then connect to it with a control port and ask getinfo circuit-status. It will probably have 14 or so circuits open. What the heck?

If this is a network-wide trend, our roll-out of Tor 0.2.4.x, and TBB 3.5, is going to quickly grow to hurt the Tor network.

Child Tickets

Change History (6)

comment:1 Changed 6 years ago by nickm

Cc: mikeperry added

Jeez. I see this too. Mike, does this have something to do with path bias code?

comment:2 Changed 6 years ago by nickm

According to git bisect, 62fb209d837f3f5510075ef8bdb6e231ebdfa9bc might be the culprit.

This seems to be the case; at least, 62fb209d837f3f5510075ef8bdb6e231ebdfa9bc makes lots of circuits, and its parent does not seem to make so many.

comment:3 Changed 6 years ago by nickm

Possible logic error in circuit_stream_is_being_handled?

Apparent one-line fix in branch "bug10456" in my public repository. Please review?

comment:4 Changed 6 years ago by nickm

Status: newneeds_review

comment:5 Changed 6 years ago by arma

patch looks plausible. if it fixes it for you, sounds great.

comment:6 Changed 6 years ago by nickm

Resolution: fixed
Status: needs_reviewclosed

ok, merged. thx!

Note: See TracTickets for help on using tickets.