[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
Wed May 6 08:14:49 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    |
-------------------------+-------------------------------------------------
Changes (by teor):

 * status:  needs_revision => needs_review


Comment:

 Sure. I had a branch, just forgot to submit it.
 I've rebased it onto the current git head and got the merge working
 properly.
 It's a little old, so let me know if there's anything missing.

 '''Branch:''' karsten_bug13192_026_03_teor
 '''Repository:''' https://github.com/teor2345/tor.git

 Just to be clear, what the patch does is:
 * replace `values.h` with `float.h` (do all our platforms have `float.h`,
 or will some need `limits.h`?)
 * change the two lines with `((int64_t) -1) << 53` to `((uint64_t) -1) <<
 53` to avoid undefined signed left shift behaviour

 There was no need to remove `UTIL_TEST(strclear, 0)` from
 `src/test/test_util.c` because the function is present in the file.

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


More information about the tor-bugs mailing list