[tor-bugs] #28510 [Core Tor/Tor]: When relays reset bandwidth tests, the test waits until the next directory document is received

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 19 03:16:42 UTC 2018


#28510: When relays reset bandwidth tests, the test waits until the next directory
document is received
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  (none)
         Type:  defect   |     Status:  new
     Priority:  Medium   |  Milestone:  Tor: 0.4.0.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  tor-bwauth, 035-backport, 034
     Severity:  Normal   |  -backport-maybe, 033-backport-maybe, 029
                         |  -backport-maybe-not
Actual Points:           |  Parent ID:  #22453
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 When Tor is doing its first ORPort reachability test, it initiates one
 testing circuit after the first successful circuit, then one testing
 circuit per second until the ORPort is found reachable. Then it gives up
 after 20 minutes. (1200 circuits is too many.)

 When tor receives any descriptor or consensus, it does another ORPort
 reachability test, and initiates a testing circuit.

 When a testing circuit opens, and there aren't enough testing circuits to
 test bandwidth, then tor initiates another testing circuit.

 But no testing circuits are opened after the bandwidth tests are reset.

 So tor waits for the next directory document before doing a bandwidth
 test. We should just lunacy the tests straight away.

 This is a bug on the original feature in commit
 769f9201a68387c2cdf03e1efd28399c93bb2bdf in 0.1.2.2-alpha.

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


More information about the tor-bugs mailing list