Feature #3577
Get country and other info from OnionOO for notification
Status: | New | Start date: | 07/10/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | amoghbl1 | % Done: | 0% | |
Category: | - | Spent time: | - | |
Target version: | v15 - MayPhlowerz | |||
Component: |
Description
It is trivial to get metadata about your exit using the node fingerprint:
https://onionoo.torproject.org/details?lookup=D7DB8E82604F806766FC3F80213CF719A0481D0B
We should parse this and use it to display more notification info and other data in Orbot
{"relays_published":"2014-07-10 16:00:00",
"relays":[
{"nickname":"SECxFreeBSD64","fingerprint":"D7DB8E82604F806766FC3F80213CF719A0481D0B","or_addresses":["195.169.125.226:9001"],"dir_address":"195.169.125.226:9030","last_seen":"2014-07-10 16:00:00","last_changed_address_or_port":"2014-04-13 21:00:00","first_seen":"2014-04-13 21:00:00","running":true,"flags":["Fast","Guard","HSDir","Running","Stable","Unnamed","V2Dir","Valid"],"country":"nl","country_name":"Netherlands","region_name":"Provincie Utrecht","city_name":"Utrecht","latitude":52.0938,"longitude":5.1191,"as_number":"AS1103","as_name":"SURFnet, The Netherlands","consensus_weight":137000,"last_restarted":"2014-07-01 22:00:29","bandwidth_rate":1073741824,"bandwidth_burst":1073741824,"observed_bandwidth":28883095,"advertised_bandwidth":28883095,"exit_policy":["reject 0.0.0.0/8:*","reject 169.254.0.0/16:*","reject 127.0.0.0/8:*","reject 192.168.0.0/16:*","reject 10.0.0.0/8:*","reject 172.16.0.0/12:*","reject 195.169.125.226:*","accept :6660-6667","reject *:"],"exit_policy_summary":{"accept":["6660-6667"]},"contact":"1024D\\/BE2F8A87 Wim Biemolt <wimbie AT sec dot nl>","platform":"Tor 0.2.5.4-alpha on FreeBSD","advertised_bandwidth_fraction":0.0027766617,"consensus_weight_fraction":0.006154199,"guard_probability":0.011019564,"middle_probability":0.0074428674,"exit_probability":0.0,"recommended_version":true}
],
"bridges_published":"2014-07-10 15:37:05",
"bridges":[
]}