[tor-bugs] #22453 [Core Tor/Tor]: Relays should regularly do a larger bandwidth self-test

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Apr 14 23:23:56 UTC 2019


#22453: Relays should regularly do a larger bandwidth self-test
-------------------------------------------------+-------------------------
 Reporter:  arma                                 |          Owner:  juga
     Type:  defect                               |         Status:
                                                 |  needs_information
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  unspecified
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  034-triage-20180328,                 |  Actual Points:
  034-removed-20180328, tor-bwauth,              |
  035-backport, 034-backport-maybe, 033          |
  -backport-maybe, 029-backport-maybe-not, 033   |
  -backport-unreached, needs-proposal            |
Parent ID:                                       |         Points:
 Reviewer:  teor                                 |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by teor):

 Here's how we might calculate a reasonable bandwidth for the self-test:
 1. Use 2 * NUM_SECONDS_ROLLING_MEASURE * min(RelayBandwidthRate,
 AuthDirGuardBWGuarantee) bytes
 2. Split those bytes into CIRCWINDOW_START cells per circuit
 3. But keep the number of circuits well below the DoS limits
 4. If there are extra cells left over, just split them evenly across the
 circuits

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


More information about the tor-bugs mailing list