[tor-bugs] #25990 [Core Tor/Tor]: module: Better safeguard authdir_mode_v3() if dirauth module is disabled

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed May 2 17:47:34 UTC 2018


#25990: module: Better safeguard authdir_mode_v3() if dirauth module is disabled
-------------------------------------------------+-------------------------
 Reporter:  dgoulet                              |          Owner:  dgoulet
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.3.4.x-final
Component:  Core Tor/Tor                         |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  034-roadmap-subtask,                 |  Actual Points:
  modularization, tor-dirauth, refactor          |
Parent ID:  #25494                               |         Points:
 Reviewer:  ahf                                  |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by dgoulet):

 * status:  assigned => needs_review
 * reviewer:   => ahf


Comment:

 Even though `mode.h` in the branch is very small, I still think it is a
 good way to separate things. Ultimately, we'll have _no_ code outside the
 dirauth module that will include that mode.h.

 Notice also that it is only for *Directory Authority*, bridge authority
 use the `AuthoritativeDir` option so `authdir_mode()` can't be isolated.

 Branch: `ticket25990_034_01`

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


More information about the tor-bugs mailing list