Adding organization name for each relay
Roster quantifies things like "organization diversity" as something more sophisticated than mere AS diversity.
Particularly, 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-orrganizationsdata
This python generates a JSON file. Here's the one for April 2016:
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 included inOnionooand refreshed every month. Particularly, everyOnionooentry for a relay should include the: 'aut_name' and 'org_name' as given in the as2orgs.json file. My python script takes
That's it. Just run this once a month. Read the JSON intoOnionoo, and include the relevant data.