You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Using the IPinfo IP to Country ASN or IP to Country database will address several problems with the current IP geolocation implementation:
It enables users to have an alternative (if not replacement) source of data than the current free. Support other GeoIP sources #6264
IPinfo's country-level database provides full accuracy and is updated daily. The current database intentionally provides a compromised accuracy database as they have a paid version of the country database.
It packages both IPv4 and IPv6 in a single database, eliminating the need to use multiple databases.
The ASN/ISP data provided is useful and can be sourced from this single database.
The project can also have its own project-specific download access token, eliminating the need for users to bring their own access token and reducing setup time.
A clear and concise description of any alternative solutions or features you considered.
I have not considered an alternative.
Additional context
The business version of OpnSense includes a paid version of the GeoIP country database. However, even though IPinfo's IP to Country database is free, it is the best country-level data available out there because the data source itself is based on latency and networking data-based methodology instead of self-reported locations of ASNs/ISPs.
Additionally, there is no range clustering or delayed updates with IPinfo. IPinfo does not have an accuracy-compromised free country or city database. This database can be considered for the business variant of the software as well and license is permissive to commercial usage.
Update: #7779 (comment)
We are offering the network/CIDR based IP dataset.
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Is your feature request related to a problem? Please describe.
Using the IPinfo IP to Country ASN or IP to Country database will address several problems with the current IP geolocation implementation:
core/src/opnsense/scripts/filter/download_geoip.py
Lines 38 to 39 in 5dd269f
Describe the solution you like
I am requesting to add support for IPinfo's IP to Country database to the project. The database has the following features:
Database schema
start_ipend_ipcountrycountry_namecontinentcontinent_nameasnas_nameas_domainDocumentation: https://ipinfo.io/developers/ip-to-country-asn-database
Samples are available here: https://github.com/ipinfo/sample-database/tree/main/IP%20to%20Country%20ASN
The database can be downloaded simply by accessing the storage URI with an access token.
Describe alternatives you considered
A clear and concise description of any alternative solutions or features you considered.
I have not considered an alternative.
Additional context
The business version of OpnSense includes a paid version of the GeoIP country database. However, even though IPinfo's IP to Country database is free, it is the best country-level data available out there because the data source itself is based on latency and networking data-based methodology instead of self-reported locations of ASNs/ISPs.
https://ipinfo.io/accuracy
Additionally, there is no range clustering or delayed updates with IPinfo. IPinfo does not have an accuracy-compromised free country or city database. This database can be considered for the business variant of the software as well and license is permissive to commercial usage.