Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 support #139

wants to merge 11 commits into
base: master
Choose a base branch

IPv6 support #139

wants to merge 11 commits into from


Copy link

@dsamarin dsamarin commented May 4, 2018

This incomplete pull request is created to fix #82 and fix #125


  • The Intervals fields are changed to support a 16-byte IP address
  • CIDR2Range is updated to support IPv6
  • AddRange accepts IPv6 string addresses as well as IPv4
  • The requirement of having an interval range that's too large has been removed. This will require discussion, as this may be useful for IPv4 addresses.
  • Download IPv4 and IPv6 listings for:
    • Amazon AWS
    • Azure (IPv4)
    • Cloudflare Inc
    • Google App Engine
    • Tor Project (IPv4)
  • More efficient implementation of DeleteByName and sort that performs no extra allocation.
  • RankBySize uses big.Int to calculate the size of the ranges, as the IPv6 address space is much larger.

In progress

  • Assure that generation scripts for C, PHP, and Python will work fine with IPv6 format.
  • Assure that lookup class for Ruby also works. (need assistance from a Ruby dev)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

1 participant