Add organization name to each relay
- Truncate descriptions
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:
Here's my python code for downloading the most recent AS-organizations data
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.
- Show labels
- Show closed items