You are not logged in.
Hello All-
Geoip seems to have stopped support of the old .dat files and moved to .mmdb >> https://support.maxmind.com/geolite-leg … on-notice/
When i do geoiplookup <ipaddress> I only get the country info back like this
geoiplookup 1.1.1.1
GeoIP Country Edition: AU, Australia I installed geoip2-database and have the .mmdb city file located in /usr/share/GeoIP. Also used the geoip-updater (https://dev.maxmind.com/geoip/geoipupdate/) to download the .mmdb files as well.
I found an old arch machine that has some of the old .dat files in /usr/share/GeoIP. If I copy those files over to my other machine then I get the normal output:
geoiplookup 1.1.1.1
GeoIP Country Edition: AU, Australia
GeoIP City Edition, Rev 1: AU, 07, Victoria, Research, 3095, -37.700001, 145.183304, 0, 0
GeoIP ASNum Edition: AS13335 Cloudflare IncI don't know anything about the geoip program and couldn't find any answers.
Does anyone know how to use geoiplookup with the new mmdb's?
Thanks for any ideas.
Last edited by fictitiousexistence (2019-01-20 22:58:51)
Offline
There is a mmdblookup package available. Once installed you can inspect the mmdb like this:
mmdblookup --file /usr/share/GeoIP/GeoLite2-City.mmdb --ip 1.1.1.1Offline
There is a mmdblookup package available. Once installed you can inspect the mmdb like this:
mmdblookup --file /usr/share/GeoIP/GeoLite2-City.mmdb --ip 1.1.1.1
Why thank you! ![]()
Offline