[tor-bugs] #25989 [Core Tor/Tor]: module: Improve dirauth module by extracting more code

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 1 16:17:43 UTC 2018


#25989: module: Improve dirauth module by extracting more code
-------------------------+-------------------------------------------------
     Reporter:  dgoulet  |      Owner:  (none)
         Type:           |     Status:  new
  enhancement            |
     Priority:  Medium   |  Milestone:  Tor: unspecified
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  modularization, tor-dirauth,
     Severity:  Normal   |  refactor
Actual Points:           |  Parent ID:
       Points:           |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 After #25610, we've identified items to pursue as a second milestone in
 the dirauth modularization effort.

 One of these is to start extracting dirauth specific code from
 `directory.c`, `dirserv.c` and `networkstatus.c` which have a lot of
 things that are dirauth only. Basically, everything that handles vote
 document should be extracted into the dirauth module, among other things.

 The trick is to start looking at `NS_TYPE_VOTE` and `authdir_mode_v3()` to
 find which part are dirauth only.

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


More information about the tor-bugs mailing list