[tor-bugs] #26223 [Core Tor/Tor]: Allow longer bandwidth lines in bandwidth files
    Tor Bug Tracker & Wiki 
    blackhole at torproject.org
       
    Mon May 28 17:52:42 UTC 2018
    
    
  
#26223: Allow longer bandwidth lines in bandwidth files
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  easy, intro
Actual Points:                |  Parent ID:  #25925
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Bandwidth files have a line limit of 510 characters (512 - newline and
 NUL).
 We should make sure this limit is high enough for future bandwidth files.
 We can do this by finding out the current length of sbws and torflow
 lines, multiplying it by 4x, then rounding up to the nearest power of two.
 We can use the examples in the spec if we need to:
 https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt
 Maybe we should wait until sbws has added all the new fields?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26223>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
    
    
More information about the tor-bugs
mailing list