Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #19118

Closed (moved)
(moved)
Open
Created May 19, 2016 by virgil@virgil

Add organization name to each relay

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking