[tor-bugs] #21150 [Core Tor/Tor]: HiddenServiceStatistics gets set to 0 in your torrc, and stays 0 when you become a relay

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 17 20:38:23 UTC 2017


#21150: HiddenServiceStatistics gets set to 0 in your torrc, and stays 0 when you
become a relay
--------------------------+------------------------------------
 Reporter:  arma          |          Owner:  dgoulet
     Type:  defect        |         Status:  needs_information
 Priority:  Medium        |      Milestone:  Tor: 0.3.0.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+------------------------------------
Changes (by dgoulet):

 * status:  accepted => needs_information


Comment:

 Hrm the solution to this is actually a bit involving... We would need some
 sort of global `or_options_t` that is *exactly* what's in your torrc (or
 modified by control port) which saveconf would use instead of the current
 global one that "tor" uses. Else we have a version of the option with let
 say an underscore at the end which represents what tor should use and the
 one with out is from the configuration file.

 Both solutions requires lots of work.

 Maybe a better solution is to set the default to `auto` and then 1 if
 relay 0 if not?

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


More information about the tor-bugs mailing list