2010
07.08
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 that you might be interested in...
- July 7, 2010 -- Converting IDNs in 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)
- 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)
- November 17, 2009 -- OpenVPN client fails after running update-resolv-conf (0)
- July 14, 2010 -- More automation needed (0)
- July 7, 2010 -- OS Profiling (0)
- May 31, 2010 -- Visualizing sshd brute-force attempts (0)
No Comment.
Add Your Comment