[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #15744 [Tor]: Is 16384 introductions a sane limit for IP rotation?



#15744: Is 16384 introductions a sane limit for IP rotation?
-------------------------+--------------------------------
     Reporter:  dgoulet  |      Owner:
         Type:  defect   |     Status:  new
     Priority:  normal   |  Milestone:  Tor: 0.2.7.x-final
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  SponsorR, tor-hs
Actual Points:           |  Parent ID:  #15714
       Points:           |
-------------------------+--------------------------------

Comment (by asn):

 Please see my branch `bug15744` for a branch that implements the above.

 It ''requires'' `HiddenServiceStatistics` to work, and the ''information
 is printed as part of the heartbeat message''. So I'd set
 `HeartbeatPeriod` to an hour or something to make sure it works.

 What it does, is output lines like this as part of the heartbeat:
 {{{
 Apr 22 17:47:35.000 [warn] Intro HS stats: 1 introduction circuits were
 established in this relay.
 Apr 22 17:47:35.000 [warn] Intro HS stats: Histogram: (1, 0, 0, 0, 0, 0,
 0, 0)
 }}}

 Basically, the tuple there is a histogram of introductions per circuit.
 The first element of the tuple is the number of intro circuits we hosted
 that saw 1-50 introductions, the second element is number of circs with
 50-200 introductions, and so on. The full legend can be found on the next
 log message:
 {{{
 Apr 22 17:47:35.000 [warn] Histogram cells explanation: (1-50, 50-200,
 200-500, 500-1000, 1000-10000, 10000-16384, 16384-34000, 34000+)
 }}}

 FWIW, the histogram data from each circuit are only registered after the
 circuit is closed.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15744#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs