[tor-bugs] #18036 [Onionoo]: OnionOO ignores history age limit

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Jan 12 08:05:07 UTC 2016


#18036: OnionOO ignores history age limit
---------------------+---------------------
 Reporter:  teor     |          Owner:
     Type:  defect   |         Status:  new
 Priority:  Medium   |      Milestone:
Component:  Onionoo  |        Version:
 Severity:  Normal   |     Resolution:
 Keywords:           |  Actual Points:
Parent ID:           |         Points:
  Sponsor:           |
---------------------+---------------------

Comment (by karsten):

 Can you be more specific which request you're making and how it returns a
 different response than you would expect?

 I don't know if the following is the issue raised here, but if you're
 expecting Onionoo to return different content for relays or bridges based
 on the parameters you're giving it, then that's not how Onionoo works.
 The parameters only determine which relays and bridges are included in the
 response, they don't change the information provided for each of them.
 For example, if you ask for an uptime document, that document will contain
 the entire uptime history of a relay or bridge, regardless of the given
 `first_seen` or `last_seen` parameters.  (The `fields` parameter is
 perhaps the only exception there, because that one does affect what the
 returned documents contain.)  If this turns out to be the issue you're
 seeing, I'm afraid we can't fix that, because we're returning pre-
 generated JSON files for performance reasons (well, except for `fields`).
 But what we could do is document this better to avoid confusing the next
 person writing such a script.

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


More information about the tor-bugs mailing list