[tor-bugs] #13408 [Onionoo]: Offline relays still listed as Running
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Oct 14 15:00:30 UTC 2014
#13408: Offline relays still listed as Running
-------------------------+-----------------
Reporter: lzkill | Owner: phw
Type: defect | Status: new
Priority: normal | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID:
Points: |
-------------------------+-----------------
Changes (by karsten):
* component: Atlas => Onionoo
Comment:
That's a bug in Onionoo. The details file that Atlas uses was not updated
when the relay went offline. Here's what Onionoo says (note the
`relays_published`, `last_seen` and `running` fields):
{{{
{
"version": "1.1",
"relays_published": "2014-10-14 14:00:00",
"relays": [
{
"nickname": "lzkill",
"fingerprint": "946D6DD1E55E80C6CBCFC2C6A9DA132E410346CF",
"or_addresses": [
"187.58.186.74:9001"
],
"dir_address": "187.58.186.74:9030",
"last_seen": "2014-10-12 20:00:00",
"last_changed_address_or_port": "2014-10-12 20:00:00",
"first_seen": "2014-10-12 20:00:00",
"running": true,
"flags": [
"Running",
"V2Dir",
"Valid"
],
"country": "br",
"country_name": "Brazil",
"latitude": -10,
"longitude": -55,
"as_number": "AS18881",
"as_name": "Global Village Telecom",
"consensus_weight": 20,
"last_restarted": "2014-10-12 19:17:59",
"bandwidth_rate": 65536,
"bandwidth_burst": 131072,
"observed_bandwidth": 62464,
"advertised_bandwidth": 62464,
"exit_policy": [
"reject *:*"
],
"exit_policy_summary": {
"reject": [
"1-65535"
]
},
"contact": "0x4565F8C3 Luiz Kill <me at lzkill.com>",
"platform": "Tor 0.2.5.8-rc on Linux",
"advertised_bandwidth_fraction": 0.000004901362,
"consensus_weight_fraction": 8.181678e-7,
"guard_probability": 0,
"middle_probability": 0.0000024542592,
"exit_probability": 0,
"recommended_version": true
}
],
"bridges_published": "2014-10-14 13:37:03",
"bridges": []
}
}}}
And here's the (correctly updated) summary for that relay:
{{{
{
"version": "1.1",
"relays_published": "2014-10-14 14:00:00",
"relays": [
{
"n": "lzkill",
"f": "946D6DD1E55E80C6CBCFC2C6A9DA132E410346CF",
"a": [
"187.58.186.74"
],
"r": false
}
],
"bridges_published": "2014-10-14 13:37:03",
"bridges": []
}
}}}
Thanks for reporting!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13408#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list