Open abdullahdevrel opened 4 months ago
For @abdullahdevrel and others who need this functionality: a good implementation of Caddy geo-module based on free IPInfo databases has recently appeared:
@ZeroAnarchy Thank you very much! I did not even know about the project.
This is a fantastic project as it natively supports database refresh with built-in cronjobs, which is a major feature as the free IP database is updated daily. It also supports the country ASN database, as I have consistently found ASN/ISP to be an equally important IP metadata factor in securing web servers.
Thank you ZeroAnarchy for pointing out the project. A big shoutout goes to @oltdaniel for building the project from scratch!
Hi,
We would like to bring IPinfo MMDB datasets to Caddy and hoping that the geolocation module can support that request.
We have the free IP to Country ASN dataset and the IP to geolocation dataset that we hope would be supported via this module. Even though we offer an MMDB database like MaxMind does there is a difference in schema between us. Our IP datasets are tabular or unnested, while their’s are nested.
Database schema for the IP to Country ASN dataset: https://ipinfo.io/developers/ip-to-country-asn-database
start_ip
end_ip
country
country_name
continent
continent_name
asn
as_name
as_domain
All our IP datasets come in MMDB format, however, to limit the scope of the request if you can support the IPinfo IP to Country ASN dataset in the module that will be incredible. The dataset providers full accuracy, daily updates, provides IPv4+IPv6 and has many more features.