FS#66897 - [geoip-database] IPv4-mapped addresses in GeoIPv6.dat
Attached to Project:
Arch Linux
Opened by Miha Verlic (fluke571) - Thursday, 04 June 2020, 12:35 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 20 October 2022, 02:35 GMT
Opened by Miha Verlic (fluke571) - Thursday, 04 June 2020, 12:35 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 20 October 2022, 02:35 GMT
|
Details
Description:
geoip-database 20200519-1 does not contain IPv4-mapped addresses in GeoIPv6.dat anymore. This breaks compatibility with ngx_http_geoip_module and possibly others, where you could simply use GeoIPv6.dat to map addresses to countries since you can't specify database per protocol. Is there any chance to add IPv4 mapped addresses to GeoIPv6.dat? Additional info: geoip-database 20200519-1 Steps to reproduce: before (geoip-database 20180403-1): ~]# geoiplookup6 -f /usr/share/GeoIP/GeoIPv6.dat ::ffff:195.66.1.4 GeoIP Country V6 Edition: DE, Germany now: ~]# geoiplookup6 -f /usr/share/GeoIP/GeoIPv6.dat ::ffff:195.66.1.4 GeoIP Country V6 Edition: IP Address not found |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Thursday, 20 October 2022, 02:35 GMT
Reason for closing: Fixed
Additional comments about closing: neat! -- geoip-database 20221018
Thursday, 20 October 2022, 02:35 GMT
Reason for closing: Fixed
Additional comments about closing: neat! -- geoip-database 20221018
added IPv4 mappings to IPv6 databases.
GeoIPv6.dat, GeoIPCityv6.dat, GeoIPASNumv6.dat can now be queried with IPv4 mapped addresses (e.g. ::ffff:1.1.1.1), so they can be used with Nginx (some info here, here, here). Cheers to Adrian M for the hint.
https://mailfud.org/geoip-legacy/
Please update geoip-database package with latest databases, thanks!