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

Re: [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        |     Resolution:
 Keywords:  easy, intro   |  Actual Points:
Parent ID:  #25925        |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------

Comment (by juga):

 Replying to [ticket:26223 teor]:
 > 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.

 Why multiplying it by 4x?
 >
 > We can use the examples in the spec if we need to:
 > https://gitweb.torproject.org/torspec.git/tree/bandwidth-file-spec.txt

 Longest lines in the examples are 216 characters for sbws (including
 errors) and 237 characters for Torflow. Nearest power of 2 for 237*4 is
 1024.

 > Maybe we should wait until sbws has added all the new fields?

 216 is the number for sbws including all the current planned fields.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26223#comment:1>
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