[tor-bugs] #28027 [Core Tor/Tor]: Tor keeps opening circuits while waiting for bridge descriptors

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Nov 13 13:46:46 UTC 2018


#28027: Tor keeps opening circuits while waiting for bridge descriptors
-------------------------------------------+-------------------------------
 Reporter:  dgoulet                        |          Owner:  neel
     Type:  defect                         |         Status:  assigned
 Priority:  Medium                         |      Milestone:  Tor:
                                           |  0.3.5.x-final
Component:  Core Tor/Tor                   |        Version:  Tor: 0.3.4.8
 Severity:  Normal                         |     Resolution:
 Keywords:  tor-hs, regression, tor-guard  |  Actual Points:
Parent ID:                                 |         Points:
 Reviewer:                                 |        Sponsor:
-------------------------------------------+-------------------------------

Comment (by dgoulet):

 Hmmmm I think the problem lies in the fact that "tor" thinks it can
 complete a circuit but in fact it can't because it has no running bridges
 as in it just switched to using one and is waiting for it to be usable.

 That being said, I think the avenue to resolving this is rather to signal
 tor that we can NOT complete circuits when our Guard state just changed.

 To do that, simply call `note_that_we_maybe_cant_complete_circuits()`.
 Quick look at this, probably it should be done around this in `config.c`:

 {{{
     if (transition_affects_guards) {
       if (guards_update_all()) {
         abandon_circuits = 1;
       }
     }
 }}}

 The tricky part will be to confirm that tor does at some point realizes it
 can complete circuits once the bridge is usable and thus the HS subsystem
 can start building circuits.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28027#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list