[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
Wed Jan 18 14:44:05 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:
--------------------------+------------------------------------

Comment (by arma):

 Replying to [comment:8 arma]:
 > So we're violating the #4244 rule of "thou shalt not modify the options
 to make it look like the user picked A when actually it said B" on all of
 these config options -- it just happens that the other ones already
 default to 0 so they aren't being noticed yet.

 Thinking a bit more on it, I think those other config options, where they
 default to 0 but we set them to 0 explicitly if we're not a relay, are
 also bugs: imagine the user set them to 1 in their torrc, but then spent a
 bit of time not being a relay. saveconf would quietly set them to 0 in
 their torrc. That can't be what the user expects.

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


More information about the tor-bugs mailing list