Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/test/java/com/maxmind/geoip2/DatabaseReaderTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,8 @@ private boolean shouldSkipDatabase(String filename) {
|| filename.contains("Invalid")
|| filename.contains("DensityIncome")
|| filename.contains("User-Count")
|| filename.contains("Static-IP-Score");
|| filename.contains("Static-IP-Score")
|| filename.contains("Residential-Proxy");
}

private void lookupByDatabaseType(DatabaseReader reader, String dbType, InetAddress ip)
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/maxmind-db
Submodule maxmind-db updated 99 files
+10 −4 .github/dependabot.yml
+20 −0 .github/workflows/check-untagged-deps.yml
+4 −4 .github/workflows/codeql-analysis.yml
+43 −0 .github/workflows/dependabot-failure-watcher.yml
+3 −3 .github/workflows/go.yml
+0 −22 .github/workflows/golangci-lint.yml
+32 −0 .github/workflows/links.yml
+54 −0 .github/workflows/pages.yml
+24 −0 .github/workflows/precious.yml
+2 −2 .github/workflows/zizmor.yml
+3 −2 .gitignore
+1 −1 .golangci.yml
+39 −0 .precious.toml
+0 −2 .tidyallrc
+193 −197 MaxMind-DB-spec.md
+25 −3 README.md
+11 −4 bad-data/README.md
+ bad-data/libmaxminddb/libmaxminddb-corrupt-search-tree.mmdb
+ bad-data/libmaxminddb/libmaxminddb-deep-array-nesting.mmdb
+ bad-data/libmaxminddb/libmaxminddb-deep-nesting.mmdb
+ bad-data/libmaxminddb/libmaxminddb-empty-array-last-in-metadata.mmdb
+ bad-data/libmaxminddb/libmaxminddb-empty-map-last-in-metadata.mmdb
+1 −0 bad-data/libmaxminddb/libmaxminddb-metadata-marker-only.mmdb
+ bad-data/libmaxminddb/libmaxminddb-oversized-array.mmdb
+ bad-data/libmaxminddb/libmaxminddb-oversized-map.mmdb
+ bad-data/libmaxminddb/libmaxminddb-separator-record-max-left.mmdb
+ bad-data/libmaxminddb/libmaxminddb-separator-record-min-left.mmdb
+ bad-data/libmaxminddb/libmaxminddb-separator-record-min-right.mmdb
+ bad-data/libmaxminddb/libmaxminddb-uint64-max-epoch.mmdb
+73 −2 cmd/write-test-data/main.go
+189 −0 docs/assets/css/main.css
+10 −0 docs/hugo.toml
+24 −0 docs/layouts/404.html
+4 −0 docs/layouts/_default/_markup/render-heading.html
+20 −0 docs/layouts/_default/default.html
+4 −4 go.mod
+6 −6 go.sum
+54 −0 lychee.toml
+214 −0 mise.lock
+34 −0 mise.toml
+165 −0 pkg/writer/baddata.go
+8 −0 pkg/writer/geoip2.go
+397 −0 pkg/writer/rawmmdb.go
+31 −1 source-data/GeoIP-Anonymous-Plus-Test.json
+204 −0 source-data/GeoIP-Residential-Proxy-Test.json
+77 −53 source-data/GeoIP2-Anonymous-IP-Test.json
+1 −1 source-data/GeoIP2-City-Test.json
+125 −125 source-data/GeoIP2-Connection-Type-Test.json
+15,976 −15,976 source-data/GeoIP2-Country-Test.json
+12 −12 source-data/GeoIP2-DensityIncome-Test.json
+455 −455 source-data/GeoIP2-Domain-Test.json
+1,863 −1,089 source-data/GeoIP2-Enterprise-Test.json
+109 −89 source-data/GeoIP2-IP-Risk-Test.json
+12,603 −12,603 source-data/GeoIP2-ISP-Test.json
+291 −291 source-data/GeoIP2-Precision-Enterprise-Sandbox-Test.json
+3,666 −3,288 source-data/GeoIP2-Precision-Enterprise-Test.json
+2,145 −2,145 source-data/GeoIP2-Static-IP-Score-Test.json
+2,853 −2,853 source-data/GeoIP2-User-Count-Test.json
+4,118 −4,118 source-data/GeoLite2-ASN-Test.json
+12,967 −12,967 source-data/GeoLite2-City-Test.json
+11,367 −11,367 source-data/GeoLite2-Country-Test.json
+ test-data/GeoIP-Anonymous-Plus-Test.mmdb
+ test-data/GeoIP-Anonymous-Plus.mmdb
+ test-data/GeoIP-Residential-Proxy-Test.mmdb
+ test-data/GeoIP2-Anonymous-IP-Test.mmdb
+ test-data/GeoIP2-City-Shield-Test.mmdb
+ test-data/GeoIP2-City-Test.mmdb
+ test-data/GeoIP2-Connection-Type-Test.mmdb
+ test-data/GeoIP2-Country-Shield-Test.mmdb
+ test-data/GeoIP2-Country-Test.mmdb
+ test-data/GeoIP2-DensityIncome-Test.mmdb
+ test-data/GeoIP2-Domain-Test.mmdb
+ test-data/GeoIP2-Enterprise-Shield-Test.mmdb
+ test-data/GeoIP2-Enterprise-Test.mmdb
+ test-data/GeoIP2-IP-Risk-Test.mmdb
+ test-data/GeoIP2-ISP-Test.mmdb
+ test-data/GeoIP2-Precision-Enterprise-Shield-Test.mmdb
+ test-data/GeoIP2-Precision-Enterprise-Test.mmdb
+ test-data/GeoIP2-Static-IP-Score-Test.mmdb
+ test-data/GeoIP2-User-Count-Test.mmdb
+ test-data/GeoLite2-ASN-Test.mmdb
+ test-data/GeoLite2-City-Test.mmdb
+ test-data/GeoLite2-Country-Test.mmdb
+ test-data/MaxMind-DB-no-ipv4-search-tree.mmdb
+ test-data/MaxMind-DB-string-value-entries.mmdb
+ test-data/MaxMind-DB-test-decoder.mmdb
+ test-data/MaxMind-DB-test-ipv4-24.mmdb
+ test-data/MaxMind-DB-test-ipv4-28.mmdb
+ test-data/MaxMind-DB-test-ipv4-32.mmdb
+ test-data/MaxMind-DB-test-ipv6-24.mmdb
+ test-data/MaxMind-DB-test-ipv6-28.mmdb
+ test-data/MaxMind-DB-test-ipv6-32.mmdb
+ test-data/MaxMind-DB-test-metadata-pointers.mmdb
+ test-data/MaxMind-DB-test-mixed-24.mmdb
+ test-data/MaxMind-DB-test-mixed-28.mmdb
+ test-data/MaxMind-DB-test-mixed-32.mmdb
+ test-data/MaxMind-DB-test-nested.mmdb
+10 −7 test-data/README.md
+0 −5 tidyall.ini
Loading