Go to file
Julien Pecqueur d4d6e70cb9 fix: unknown IP shouldn't crash 2017-09-05 10:29:03 +02:00
LICENSE Initial commit 2017-08-25 14:17:59 +02:00
README.md Update README.md 2017-08-25 15:39:30 +02:00
fail2ban-getlog fix indent in fail2ban-getlog 2017-09-04 10:00:35 +02:00
fail2ban-report fix: unknown IP shouldn't crash 2017-09-05 10:29:03 +02:00
log.csv basic stuff 2017-08-25 15:28:37 +02:00
report.pdf basic stuff 2017-08-25 15:28:37 +02:00

README.md

fail2ban-report

This tool generate a simple report of fail2ban activity.

Example PDF report

Extract fail2ban logs in a CSV file

$ ./fail2ban-getlog log.csv

You should create a cron task to regulary run fail2ban-getlog log.csv and populate CSV file.

Generate the PDF report using the CSV data and GeoLite2-Country database

./fail2ban-report log.csv GeoLite2-Country.mmdb report.pdf

Link to GeoLite2-Country database HERE.