Add test IPs to GeoIP2-Enterprise test data#245
Merged
Merged
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds several new test cases to the GeoIP2-Enterprise-Test.json file, including entries for various IPv6 and IPv4-mapped IPv6 subnets with detailed continent, country, location, and traits data. There are no review comments, so I have no feedback to provide.
Add several IPv4 and IPv6 networks to the GeoIP2-Enterprise test data (most copied from the Precision Enterprise test data). Both GeoIP2-Enterprise-Test.mmdb and GeoIP2-Enterprise-Shield-Test.mmdb are generated from this source and were regenerated.
horgh
approved these changes
Jun 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds several IPv4 and IPv6 networks to the
GeoIP2-Enterprisetest data (most copied from theGeoIP2-Precision-Enterprisetest data;214.214.214.222/32mirrors the existing214.214.214.218/32):1.9.127.107/32,1.124.213.0/24,1.231.232.0/24,2.20.32.110/127,5.83.124.0/22,65.116.3.80/126,75.209.24.0/32,128.101.101.101/128,214.214.214.217/32,214.214.214.218/32,214.214.214.219/32,214.214.214.222/32,2001:219::/32,2001:220::/128.Both
GeoIP2-Enterprise-Test.mmdbandGeoIP2-Enterprise-Shield-Test.mmdbare generated fromsource-data/GeoIP2-Enterprise-Test.json(seepkg/writer/geoip2.go) and were regenerated. The change is purely additive.