[tor-bugs] #5307 [Atlas]: Handle missing last_restarted field in Onionoo's details documents

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Mar 5 08:57:48 UTC 2012


#5307: Handle missing last_restarted field in Onionoo's details documents
---------------------+------------------------------------------------------
 Reporter:  karsten  |          Owner:  hellais
     Type:  defect   |         Status:  new    
 Priority:  major    |      Milestone:         
Component:  Atlas    |        Version:         
 Keywords:           |         Parent:         
   Points:           |   Actualpoints:         
---------------------+------------------------------------------------------
 Some of Onionoo's details documents don't contain the `"last_restarted"`
 field that is, in theory, a required field.  That's a specification error
 which is fixed as of 5 minutes ago.  The field cannot be contained if a
 router descriptor cannot be found.  Oops.

 Atlas needs to handle details documents without the `"last_restarted"`
 field correctly.  Searching for these relays will fail right now.  Details
 documents without that field have `"as_name"` in their last line and can
 be found like this:

 {{{
 $ curl http://onionoo.torproject.org/details/relays > relays
 $ grep -E "fingerprint|as_name" relays | grep -v "as_name.*,$" | grep -B1
 "as_name"
 }}}

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


More information about the tor-bugs mailing list