Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (15 sloc) 690 Bytes

maptail.js

Creates a server, monitors a tail -f output for IP addresses, GeoIPs them and sends them to a map. Run it and visit http://yourhost.com/map

Installation

Grab npm and:

npm install maptail

Tested and working with node.js v0.4.4.

Usage

maptail <file_to_tail> [host] [port]

Credits

This is based on mape's wargames.

Could not be possible without kuno's GeoIP module.

Resources

Latest GeoIP City Lite Edition