Skip to content

Commit

Permalink
Add IP-Risk sample db
Browse files Browse the repository at this point in the history
  • Loading branch information
marselester committed Nov 18, 2024
1 parent 679e37e commit 7694f10
Show file tree
Hide file tree
Showing 31 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/writer/geoip2.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func (w *Writer) WriteGeoIP2TestDB() error {
"GeoIP2-DensityIncome",
"GeoIP2-Domain",
"GeoIP2-Enterprise",
"GeoIP2-IP-Risk",
"GeoIP2-ISP",
"GeoIP2-Precision-Enterprise",
"GeoIP2-Static-IP-Score",
Expand Down
33 changes: 33 additions & 0 deletions source-data/GeoIP2-IP-Risk-Test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[
{
"::214.2.3.0/126": {
"ip_risk": 25,
"is_anonymous": true,
"is_anonymous_vpn": true
}
},
{
"::214.2.3.4/128": {
"ip_risk": 50,
"is_anonymous": true,
"is_anonymous_vpn": true,
"is_tor_exit_node": true
}
},
{
"::214.2.3.5/128": {
"ip_risk": 90,
"is_anonymous": true,
"is_anonymous_vpn": true,
"is_hosting_provider": true,
"is_public_proxy": true,
"is_residential_proxy": true,
"is_tor_exit_node": true
}
},
{
"::214.2.3.6/128": {
"ip_risk": 85
}
}
]
Binary file modified test-data/GeoIP2-Anonymous-IP-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-City-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-Connection-Type-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-Country-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-DensityIncome-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-Domain-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-Enterprise-Test.mmdb
Binary file not shown.
Binary file added test-data/GeoIP2-IP-Risk-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-ISP-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-Precision-Enterprise-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-Static-IP-Score-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoIP2-User-Count-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoLite2-ASN-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoLite2-City-Test.mmdb
Binary file not shown.
Binary file modified test-data/GeoLite2-Country-Test.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-no-ipv4-search-tree.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-string-value-entries.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-decoder.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-ipv4-24.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-ipv4-28.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-ipv4-32.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-ipv6-24.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-ipv6-28.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-ipv6-32.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-metadata-pointers.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-mixed-24.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-mixed-28.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-mixed-32.mmdb
Binary file not shown.
Binary file modified test-data/MaxMind-DB-test-nested.mmdb
Binary file not shown.

0 comments on commit 7694f10

Please sign in to comment.