View Single Post
  #2   (View Single Post)  
Old 10th May 2012
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

GeoIP is the standard tool. In FreeBSD, you can find it at net/GeoIP

I've only used the programming aPI, but it looks like it comes with a few commandline utilities
Code:
[~]% grep bin /ports/net/GeoIP/pkg-plist
bin/geoiplookup
bin/geoiplookup6
bin/geoipupdate
bin/geoipupdate.sh
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote