[tor-bugs] #24680 [Core Tor/Fallback Scripts]: Make tor binary smaller by reducing the size of the fallback list strings

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 20 00:43:06 UTC 2017


#24680: Make tor binary smaller by reducing the size of the fallback list strings
-------------------------------------------+-------------------------------
     Reporter:  teor                       |      Owner:  (none)
         Type:  enhancement                |     Status:  new
     Priority:  Medium                     |  Milestone:
    Component:  Core Tor/Fallback Scripts  |    Version:
     Severity:  Normal                     |   Keywords:  ideas binary-size
Actual Points:                             |  Parent ID:
       Points:  1                          |   Reviewer:
      Sponsor:  Sponsor8-can               |
-------------------------------------------+-------------------------------
 We could make the following strings shorter:
 * orport
 * id
 * ipv6
 * weight
 This has a minor readability impact. This also makes it harder to unify
 this code with the directory authority code.

 We could encode the id as base64, but I think we'd need atlas support for
 that first. And it interferes with readability/searchability for
 operators.

 We could teach Tor that the default fallback weight is N (N=9,10?), and
 then remove the weights.

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


More information about the tor-bugs mailing list