Monitor fail2ban bans and auto-report attackers to AbuseIPDB.
pass insert abuseipdb/api-keybash {baseDir}/scripts/install.shbash {baseDir}/scripts/report-banned.sh
bash {baseDir}/scripts/check-ip.sh <ip>
bash {baseDir}/scripts/stats.sh
The install script sets up a fail2ban action that auto-reports new bans.
bash {baseDir}/scripts/install.sh # install auto-reporting
bash {baseDir}/scripts/uninstall.sh # remove auto-reporting
Add to HEARTBEAT.md to check for new bans periodically:
- [ ] Check fail2ban stats and report any unreported IPs to AbuseIPDB
report-single.sh/var/log/abuseipdb-reports.logSee references/abuseipdb-api.md for full API docs.
共 1 个版本