Did you know that it's possible to do your own geoip lookups from the linux command line?
You need to install the geoip-bin package in Ubuntu/Debian's APT system:
sudo apt-get install geoip-bin
Then after which, lookups can be done as simply as:
$ geoiplookup 8.8.8.8
GeoIP Country Edition: US, United States
Note that the lookups are based on the GeoLite Country database. For more detailed geoip lookups you will need to buy the better databases.
[Related Posts]
- July 7, 2010 -- Converting IDNs in Ubuntu (0)
- October 3, 2010 -- Getting the Samsung Galaxy S to work with Android SDK on Ubuntu (0)
- February 8, 2010 -- (Terminal) Easter Eggs (0)
- November 28, 2009 -- Updating APT’s trusted keys (0)
- September 30, 2009 -- Getting your server to send an email whenever anyone logs in (0)
- May 28, 2011 -- Dynamic conversion of epoch timestamps in logs (0)
- May 17, 2011 -- Interesting Links (0)
- January 18, 2011 -- (Many) Sick Linux Commands (0)
- April 20, 2010 -- Getting additional (IP/network/location) info along with your Splunk searches (0)
- February 5, 2010 -- Installing Ubuntu 7.04 server in VirtualBox (0)