Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #14859

Closed (moved)
Open
Opened Feb 11, 2015 by Karsten Loesing@karsten

Adapt Onionoo's parsing code for MaxMind's GeoLite2 City files to their new format

MaxMind has changed their file format for GeoLite2 City database files. They split up blocks into IPv4 and IPv6 addresses, and they now support different locales. We need to update our parsing code to read their new formats. At the same time we should drop support for the old format in order to remove otherwise dead code.

I'll post a branch in a minute. Please review. I'll hold back on merging that branch into master until all mirrors have upgraded to the new database. It's just a matter of fetching the latest database and putting GeoLite2-City-Blocks-IPv4.csv and GeoLite2-City-Locations-en.csv into the geoip/ directory. iwakeh, please let me know when that's the case. It's not that mirrors would break, but they would stop resolving IP addresses to locations and ASes.

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#14859