[tor-bugs] #6283 [Onionoo]: Add more parameters to search by version and other fields

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Jul 10 09:31:20 UTC 2012


#6283: Add more parameters to search by version and other fields
-------------------------+--------------------------------------------------
 Reporter:  Aymeric      |          Owner:     
     Type:  enhancement  |         Status:  new
 Priority:  minor        |      Milestone:     
Component:  Onionoo      |        Version:     
 Keywords:               |         Parent:     
   Points:               |   Actualpoints:     
-------------------------+--------------------------------------------------

Comment(by karsten):

 The following discussion is mostly unrelated to the ticket.  Lacking a
 better communication channel, I'll keep it here.  Please email tor-
 assistants at torproject.org for further discussion.

 Replying to [comment:5 Aymeric]:
 > --> Right now I am not very clear about how the cached-descriptor is
 updated by the relays and downloaded,

 All tor processes keep a list of descriptors they learn and dump them to
 their cached-descriptors and cached-descriptors.new files.

 > and how you catch the updated info into Onionoo and at what frequency.

 Onionoo rsync's descriptors from the metrics data processor once per hour.

 > I would like to use what I think is a faster method for my purpose (ie
 no grep of cached-descriptor), storing minimal information about relays
 (fingerprint-ports-bandwidth) and retrieving keys dynamically (so I can
 check at the same time that the relay is alive), that's why I thought to
 the above method but this does not work, I think it would be good to have
 this kind of way to retrieve information real time without the need of a
 cached-descriptor

 I don't quite understand why grepping cached-descriptors[.new] is not fast
 enough or why storing these files is problematic.  Also, there's no need
 to check whether a relay is alive, because that information is contained
 in cached-consensus or in the running field in Onionoo's output.

 In short, I think I don't quite understand the specifics of the
 application here.  If there's something that we can add to Onionoo to make
 that application easier to build, I'm happy to consider it.  I want to
 understand the application first, though.

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


More information about the tor-bugs mailing list