[tor-bugs] #13192 [Tor]: Collect aggregate stats of total hidden service usage vs total exit usage in Tor network

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jul 9 21:00:38 UTC 2015


#13192: Collect aggregate stats of total hidden service usage vs total exit usage
in Tor network
-------------------------+-------------------------------------------------
     Reporter:  arma     |      Owner:
         Type:           |     Status:  needs_review
  enhancement            |  Milestone:  Tor: 0.2.7.x-final
     Priority:  major    |    Version:  Tor: 0.2.7
    Component:  Tor      |   Keywords:  SponsorR, tor-relay, tor-hs,
   Resolution:           |  027-triaged-1-in
Actual Points:           |  Parent ID:
       Points:  small    |
-------------------------+-------------------------------------------------

Comment (by nickm):

 I'm concerned about the handling of edge cases in
 `round_to_next_multiple_of` and the name of `cast_double_to_int64`.

 (I think that we should provide the invariant that
 round_to_next_multiple_of(a,b), if it returns, returns x st x >= a and x %
 b == 0. Otherwise we might someday risk Buffer Problems if somebody relies
 on that invariant.  Does that make sense?)

 (I think "cast_..." should be called "clamp_....".)

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


More information about the tor-bugs mailing list