[tor-bugs] #19118 [Metrics/Onionoo]: Add organization name to each relay

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 19 03:23:57 UTC 2016


#19118: Add organization name to each relay
---------------------------------+-----------------------
     Reporter:  virgil           |      Owner:  karsten
         Type:  enhancement      |     Status:  new
     Priority:  Medium           |  Milestone:
    Component:  Metrics/Onionoo  |    Version:
     Severity:  Normal           |   Keywords:  hardening
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+-----------------------
 Roster quantifies things like "organization diversity" as something more
 stringent than mere AS diversity, i.e., AS-diversity is necessary but not
 sufficient for organization diversity.

 To do this, we are leveraging data from CAIDA.org. Particularly this data
 set:

  * http://data.caida.org/datasets/as-organizations/

 Here's my python code for downloading the most recent AS-organizations
 data
 ​
  * http://dl.dropbox.com/u/3308162/download_latest_as2orgname_data.py

 This python generates a JSON file. Here's the one for April 2016:
 ​
 ​http://dl.dropbox.com/u/3308162/as2orgs.json.gz
 ​
 In this JSON file, it has the organization name for each AS number. For
 example, here's the entry for the AS number 44925 on which torproject.org
 is hosted:

 `"44925": {"aut_name": "THE-1984-AS","changed": "","org_name": "1984
 ehf","source": "RIPE"}`The next step is to have this data inserted
 inOnionoo. Particularly, everyOnionoorelay entry should include the:
 'aut_name' and 'org_name' as given in the as2orgs.jsonfile.

 Now whenOnionooclients request information on a relay, they will receive
 the "aut_name" and "org_name" its AS belongs to.

 That's it---just run `download_latest_as2orgname_data.py` once a month,
 weave the relevant JSON entries into the Onionoo data, and you're gold.

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


More information about the tor-bugs mailing list