mirror of
https://github.com/jpec/fail2ban-report.git
synced 2024-12-21 21:12:13 +01:00
fail2ban-getlog | ||
fail2ban-report | ||
LICENSE | ||
log.csv | ||
README.md | ||
report.pdf |
fail2ban-report
This tool generate a simple report of fail2ban activity.
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.