[tor-bugs] #31851 [Core Tor/Tor]: Allow Tor to be compiled without support for relay mode

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Sep 26 21:47:26 UTC 2019


#31851: Allow Tor to be compiled without support for relay mode
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:  teor
     Type:  task          |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.4.3.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tor-design    |  Actual Points:  0.2
Parent ID:                |         Points:  5
 Reviewer:  nickm         |        Sponsor:  Sponsor31-can
--------------------------+------------------------------------

Comment (by teor):

 > If we can go lower-level towards higher-level, we will be glad we did,
 but we won't always have the option.

 How can I discover the modules (or files) that are only used by a
 particular set of modules, and no other modules?

 For example, I want to answer questions like this:

 * which modules are only used by src/feature/dirauth?
   * are they disabled when src/feature/dirauth is disabled? Or do I need
 to add them to --disable-module-dirauth?

 * which header files are only used by dirauth, dircache, and relay?
   * are they disabled when relay is disabled?

 I think practracker/includes.py toposort almost does this task. But it
 doesn't have a concept of "exclusively used by this set of modules".

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


More information about the tor-bugs mailing list