[tor-bugs] #29053 [Core Tor/Tor]: Use descriptor structs to deterministically create descriptor dumps

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jan 11 04:16:15 UTC 2019


#29053: Use descriptor structs to deterministically create descriptor dumps
------------------------------+------------------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  041-proposed, technical-debt
Actual Points:                |  Parent ID:  #29017
       Points:  2             |   Reviewer:
      Sponsor:  SponsorV-can  |
------------------------------+------------------------------------------
 We should make router_dump_router_to_string() and
 extrainfo_dump_to_string() deterministic transforms of routerinfo_t and
 extrainfo_t.

 At the moment, these functions access options, internal state, and
 statistics files. If all those accesses occurred in
 router_build_fresh_unsigned_{router,extra}info() then the dump functions
 would be a lot easier to test.

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


More information about the tor-bugs mailing list