[tor-bugs] #6509 [Onionoo]: Add fields and parameters to Onionoo to search for disappearing or newly joining relays

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 9 13:34:59 UTC 2013


#6509: Add fields and parameters to Onionoo to search for disappearing or newly
joining relays
-------------------------+--------------------------------------------------
 Reporter:  karsten      |          Owner:     
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:     
Component:  Onionoo      |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------

Comment(by karsten):

 I Implemented steps 2 and 3, but would appreciate some feedback before
 committing, because I don't want to change the interface more often than
 necessary.  I just deployed step 3, but step 2 is still chewing on a few
 gigs of data.

 Here are some example URLs to test searching for disappearing or newly
 joining relays.  Limits should be limited to 0-7 days for now, or results
 may be quite inaccurate (that's what step 2 is going to fix tomorrow or
 the day after).

  - https://onionoo.torproject.org/details?first_seen_days=0 are relays and
 bridges that joined within the past day (as in: in the 24 hours before
 now).

  - https://onionoo.torproject.org/details?first_seen_days=1 are relays and
 bridges that joined one day ago, so within the past 24 and 48 hours.

  - https://onionoo.torproject.org/details?first_seen_days=0-1 are relays
 and bridges that joined in the past two days.

  - https://onionoo.torproject.org/details?last_seen_days=4- are relays and
 bridges that disappeared four days or more in the past.

 I admit the syntax could be somewhat more intuitive, but I chose it
 because it's quite expressive and can be applied to similar parameters in
 the future.  Obviously, this interface is not made for humans, but for a
 human-friendly interface like Atlas or Compass.  Here's the spec:

  - first_seen_days: Return only relays or bridges which have first been
 seen during the given range of days ago.  A parameter value "x-y" with x
 >= y returns relays or bridges that have first been seen at least x and at
 most y days ago.  Accepted short forms are "x", "x-", and "-y" which are
 interpreted as "x-x", "x-infinity", and "0-y".

  - last_seen_days: Return only relays or bridges which have last been seen
 during the given range of days ago.  A parameter value "x-y" with x >= y
 returns relays or bridges that have last been seen at least x and at most
 y days ago.  Accepted short forms are "x", "x-", and "-y" which are
 interpreted as "x-x", "x-infinity", and "0-y".  Note that relays and
 bridges that haven't been running in the past week are never included in
 results, so that setting x to 8 or higher will always lead to an empty
 result set.

 Comments?  Suggestions?  I'm planning to merge this tomorrow.

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


More information about the tor-bugs mailing list