The sys admin’s daily grind – GeoIP lookup

Land Ahoy!

Article from Issue 143/2012

The global village is big enough to want to find out where your friend and enemies have set up camp. Charly offers a quick IP-based introduction to geography.

All popular distributions include one or more packages that identify the country of origin of an IP address. On my Ubuntu lab machine, I use the geoip‑bin and geoip‑database packages. Now, you can also use the geoiplookup command, and geoiplookup6 for IPv6 addresses, with an IP address or a name as a command-line parameter.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Nginx

    The fast and practical Nginx web server is easy to configure and extend.

  • Perl: Pinpointing Spammers

    To identify the geographic regions from which link spam originated, a database locates IP addresses and the Google Charts service puts them onto a world map.

  • Intrusion Detection

    The Prelude security information management system receives both host- and network-based IDS messages and displays them in an easy web interface. We show you how to set it up.

  • Wireshark's New 1.2

    Wireshark 1.2 introduces a few "new and exciting" features for its network protocol analyzer software.

  • Security Lessons

    Building a network flight recorder with Wireshark.

comments powered by Disqus