Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marekq/denyhosts-map

Plots the GeoIP information of your hosts.deny into a nice map!
https://github.com/marekq/denyhosts-map

Last synced: about 6 hours ago
JSON representation

Plots the GeoIP information of your hosts.deny into a nice map!

Awesome Lists containing this project

README

        

INTRODUCTION

This script plots a map of the denied hosts from the denyhosts daemon. It first reads out the contents of the /etc/hosts.deny file, after which every IP address in this file is checked for geo location. Afterwards, a .KML file is created with the GPS coordinates of every entry. The KML file can be imported into Google Earth or http://maps.google.com.

EXAMPLES

An example output can be found here; http://g.co/maps/qt3tz

INSTALL

The script has been tested under Debian and Ubuntu. Clone the Git repository and run the denyhosts_map.sh script with a regular user account. The generated KML will appear in your current directory.

./denyhosts_map.sh