network icon indicating copy to clipboard operation
network copied to clipboard

GeoIp location

Open ptesavol opened this issue 1 year ago • 1 comments

  • Add geoip-location package that can map an ip address to latitude and longitude using MaxMind's GeoLite City database

  • If "geoIpDatabaseFolder" config variable is given to DhtNode, use geoip-location package server-side in DhtNode's ConnectivityRequest handler to add latitude and longitude to each ConnectivityReply

  • Add function to cdn-location package for mapping coordinates to a local region number

  • In DHTNode client-side, calculate local region number based on the latitude and longitude contained in ConnectivityReply. If ConnectivityReply does not contain latitude and longitude, fallback to using cdn-location.

  • Take geoip-location server into use in Broker

ptesavol avatar Apr 02 '24 09:04 ptesavol

Should add the geoip-location package to the release.sh file

juslesan avatar Apr 19 '24 07:04 juslesan