geoip_redis icon indicating copy to clipboard operation
geoip_redis copied to clipboard

Support for IPv6

Open prodis opened this issue 8 years ago • 3 comments

@zabolotnov87 Do you plan to add support for IPv6? I could implement it.

prodis avatar Jan 24 '17 17:01 prodis

@prodis Hi! I think it's not possible: ipv6 address is 128 bit length, but redis sorted sets use a double 64-bit floating point number to represent the score.

zabolotnov87 avatar Jan 25 '17 02:01 zabolotnov87

😞 I will take a look again.

prodis avatar Jan 31 '17 11:01 prodis

Look at this...

https://redislabs.com/ebook/part-2-core-concepts/chapter-5-using-redis-for-application-support/5-3-ip-to-city-and-country-lookup/5-3-1-loading-the-location-tables/

knoxcard avatar Dec 22 '18 07:12 knoxcard