[tor-bugs] #5824 [Tor]: Stop reporting relay-only statistics as a bridge

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Feb 28 08:59:33 UTC 2014


#5824: Stop reporting relay-only statistics as a bridge
-------------------------+--------------------------------
     Reporter:  karsten  |      Owner:  karsten
         Type:  defect   |     Status:  needs_review
     Priority:  minor    |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor      |    Version:
   Resolution:           |   Keywords:  tor-bridge
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+--------------------------------
Changes (by karsten):

 * status:  assigned => needs_review


Comment:

 Here's what my bridge would have reported to Tonga (which I disabled):

 {{{
 dirreq-stats-end 2014-02-27 14:40:11 (86400 s)
 dirreq-v3-ips de=8
 dirreq-v3-reqs de=16
 dirreq-v3-resp ok=16,not-enough-sigs=0,unavailable=0,not-found=0,not-
 modified=0,busy=0
 dirreq-v3-direct-dl complete=0,timeout=0,running=0
 dirreq-v3-tunneled-dl
 complete=16,timeout=0,running=0,min=290969,d1=290969,d2=322941,q1=353079,d3=498461,d4=520702,md=539223,d6=559760,d7=560552,q3=569060,d8=570058,d9=574681,max=578271
 bridge-stats-end 2014-02-27 14:40:15 (86400 s)
 bridge-ips de=8
 bridge-ip-versions v4=8,v6=0
 bridge-ip-transports <OR>=8
 }}}

 For comparison, here's what some other bridge reported to Tonga:

 {{{
 dirreq-stats-end 2014-02-26 19:53:09 (86400 s)
 dirreq-v3-ips
 dirreq-v3-reqs
 dirreq-v3-resp ok=104,not-enough-sigs=0,unavailable=0,not-found=0,not-
 modified=16,busy=0
 dirreq-v3-direct-dl complete=0,timeout=0,running=0
 dirreq-v3-tunneled-dl
 complete=84,timeout=12,running=4,min=1964,d1=6476,d2=29574,q1=42945,d3=55188,d4=63573,md=86563,d6=105689,d7=150325,q3=183340,d8=202945,d9=239672,max=353788
 bridge-stats-end 2014-02-26 19:53:26 (86400 s)
 bridge-ips
 ir=40,??=8,ae=8,ca=8,eg=8,gb=8,gr=8,id=8,in=8,lb=8,lu=8,mo=8,mx=8,nl=8,ph=8,pk=8,ru=8,sa=8,th=8,us=8
 bridge-ip-versions v4=72,v6=0
 }}}

 The only difference is that `dirreq-v3-ips` and `dirreq-v3-reqs` are not
 empty lines anymore with this patch.

 I think this should be safe to merge into master.  Putting into
 needs_review again.  (Thanks!)

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


More information about the tor-bugs mailing list