Skip to content

Add test IPs to GeoIP2-Enterprise test data#245

Merged
horgh merged 1 commit into
mainfrom
greg/stf-549
Jun 3, 2026
Merged

Add test IPs to GeoIP2-Enterprise test data#245
horgh merged 1 commit into
mainfrom
greg/stf-549

Conversation

@oschwald
Copy link
Copy Markdown
Member

@oschwald oschwald commented May 29, 2026

Adds several IPv4 and IPv6 networks to the GeoIP2-Enterprise test data (most copied from the GeoIP2-Precision-Enterprise test data; 214.214.214.222/32 mirrors the existing 214.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.mmdb and GeoIP2-Enterprise-Shield-Test.mmdb are generated from source-data/GeoIP2-Enterprise-Test.json (see pkg/writer/geoip2.go) and were regenerated. The change is purely additive.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@oschwald oschwald changed the title Add test IPs to GeoIP2-Enterprise test data Make GeoIP2-Enterprise test data a superset of Precision Enterprise May 29, 2026
@oschwald oschwald changed the title Make GeoIP2-Enterprise test data a superset of Precision Enterprise Add test IPs to GeoIP2-Enterprise test data May 29, 2026
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 horgh merged commit 253733f into main Jun 3, 2026
12 checks passed
@horgh horgh deleted the greg/stf-549 branch June 3, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants