[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #26223 [Core Tor/Tor]: Allow longer bandwidth lines in bandwidth files



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs