Support another Ip2info provider
Opened this issue · 6 comments
Support another in2info provider
Can I develop a feature
Support https://ipinfo.io/products/free-ip-database
This issue is currently awaiting triage.
If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
We are trying to deprecate even geoip2 #11669
It will be nice to have it. But we don't want to maintain & support new features. The problem is there are no resources to support/maintain new features. And also many of the features that are super useful are leading to security/stability issues, if they are not part of the core Ingress-API spec.
@tanoggy I saw just now that the free datatype for ipinfo.io has at least this much
Free
{
"ip": "211.197.11.0",
"city": "Kyosai",
"region": "Gyeongsangnam-do",
"country": "KR",
"loc": "34.8503,128.5886",
"org": "AS4766 Korea Telecom",
"postal": "53285",
"timezone": "Asia/Seoul",
"tags": []
}
You can join the community meetings and ask if there is interest in a PR for this https://github.com/kubernetes/community/tree/master/sig-network
Thanks @tanoggy I work for IPinfo, and I really appreciate the feature request!
For context, our free IP database comes in various formats, with the IP to Country ASN database being one of the most popular. It includes features such as:
- It includes country and ASN information in the same database.
- It is updated daily, with zero compromise to accuracy. There is no range clustering, and the database provides full accuracy.
- The data granularity reaches individual IP level.
- The database comes in MMDB database format.
- It is licensed under CC-BY-SA 4.0, permitting commercial usage.
- Available file formats include: CSV, MMDB, JSON
- The data is tabular and unnested, making it very easy to use. The dataset includes both IPv4 and IPv6 in a single file.
Database schema
Field Name | Example | Data Type | Description |
---|---|---|---|
start_ip |
1.0.16.0 | TEXT | Starting IP address of an IP address range |
end_ip |
1.0.31.255 | TEXT | Ending IP address of an IP address range |
country |
JP | TEXT | ISO 3166 country code of the location |
country_name |
Japan | TEXT | Name of the country |
continent |
AS | TEXT | Continent code of the country |
continent_name |
Asia | TEXT | Name of the continent |
asn |
AS2519 | TEXT | Autonomous System Number |
as_name |
ARTERIA Networks Corporation | TEXT | Name of the AS (Autonomous System) organization |
as_domain |
arteria-net.com | TEXT | Official domain or website of the AS organization |
Documentation: https://ipinfo.io/developers/ip-to-country-asn-database