[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
Fri Jan 27 14:45:43 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_review
 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:  assigned => needs_review


Comment:

 I took a stab at this with `bug21150_030_01`.

 One issue that we might not care about or might be expected is the
 `GETCONF HiddenServiceStatistics` issue. With this patch, if you are not a
 relay, we set `HiddenServiceStatistics` to 0 in our internal
 representation but the GETCONF command returns the torrc option which is
 default to `1`. So actually, GETCONF is half lying. (Btw, same issue with
 `DirReqStatistics` that was fixed with this in
 905443f074088cbc6322341e5c1cd6b35cd363a8).

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


More information about the tor-bugs mailing list