GeoIp location
-
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
Should add the geoip-location package to the release.sh file