[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #5307 [Atlas]: Handle missing last_restarted field in Onionoo's details documents
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs