2 ms·
Neat! This runs fully offline (i.e. without calls to a GeoIP database), right?
by lxgr 1y ago
Neat! This runs fully offline (i.e. without calls to a GeoIP database), right?
- h2337 1y agoCorrect! GeoIP database is local.
- lxgr 1y agoNice! Where is it from, and do you know if it incorporates geofeed [1] data for networks that publish it? [1] https://ipregistry.co/blog/geofeeds https://ipregistry.co/blog/geofeeds
- serbuvlad 1y agoFrom what I was able to tell looking at the code, yes. The database is embedded in the program. Specifically, it is this file: https://github.com/h2337/connmap/blob/master/connmap/resources/ipv4.csv.zip https://github.com/h2337/connmap/blob/master/connmap/resourc... Presumably generated by the author with this Python script https://github.com/h2337/connmap/blob/master/tools/get-ip-database.py https://github.com/h2337/connmap/blob/master/tools/get-ip-da...
- lxgr 1y agoAh, cool, this should incorporate location data at least as good as what the networks self-report! (I suspect that these databases, on top of ingesting all geofeed data, do something similar to Wi-Fi positioning, i.e. correlate the IP address of various GPS-enabled devices with their physical location to try and deduce undocumented/non-public allocation patterns.)
- DonHopkins 1y agoOf course it works fully offline, since then you don't have any network peers to draw on the map.
- lxgr 1y agoLocalhost has to be somewhere too :)
- DonHopkins 1y ago[flagged]