[tor-bugs] #25610 [Core Tor/Tor]: module: Modularized directory authority subsystem

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


#25610: module: Modularized directory authority subsystem
-------------------------------------------------+-------------------------
 Reporter:  dgoulet                              |          Owner:  dgoulet
     Type:  enhancement                          |         Status:  closed
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.4.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:  fixed
 Keywords:  modularization, 034-roadmap-         |  Actual Points:
  subtask, tor-dirauth, 034-triage-20180328,     |
  034-included-20180328                          |
Parent ID:  #25494                               |         Points:
 Reviewer:  nickm                                |        Sponsor:
                                                 |  Sponsor8
-------------------------------------------------+-------------------------

Comment (by dgoulet):

 Replying to [comment:9 dgoulet]:

 For completion:

 > 1. We need to wrap the `authdir_mode()` and cie functions so they NEVER
 return true if the module is disabled as extra protection.

 #25990

 > 2. The `directory.c`, `dirserv.c` and `networkstatus.c` files have a lot
 of things that are dirauth only. Basically, everything that touches vote
 document should be extracted into the dirauth module. This is quite a bit
 of work so we decided to do that as a second step if time permits.

 #25989

 >
 > 3. Write a documentation in `doc/HACKING/` probably on how to proceed
 with a module. It is not that complicated but there are couple things to
 follow with the build system and code standards.

 #25991

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


More information about the tor-bugs mailing list