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.

  • Table of Contents: 143

    New vulnerabilities appear every day. To keep your network safe, you need to think like an attacker.

  • 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.

comments powered by Disqus

Direct Download

Read full article as PDF:

058-058_charly.pdf (196.24 kB)


njobs Europe
Njobs Netherlands Njobs Deutschland Njobs United Kingdom Njobs Italia Njobs France Njobs Espana Njobs Poland
Njobs Austria Njobs Denmark Njobs Belgium Njobs Czech Republic Njobs Mexico Njobs India Njobs Colombia