Skip to content

mwpenny/authmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

authmap

An interactive map of failed server login attempts as seen here

Features

  • View geolocated IPs of failed server login attempts on a map
  • Find those meddling hackers?

Dependencies

  • node.js - evented I/O for the backend
  • express - web framework for node
  • jade - HTML template engine
  • logfailmap - failed login IP geolocator

Installation

npm install authmap

Configuration

  1. cd to authmap/config
  2. Create apikey.json containing a JSON object with a string property called apikey containing your ipstack API key. This service is used to geolocate IP addresses. Its free tier allows 10000 calls per month.
  3. Run update-attempts.js to create the attempts file. Set this script to run periodically to keep the attempts file updated.

Usage

Start the server and browse to http://SERVER:PORT/authmap