/install fail2ban-reporter
fail2ban Reporter
Monitor fail2ban bans and auto-report attackers to AbuseIPDB.
Setup
- Get a free AbuseIPDB API key at https://www.abuseipdb.com/account/api
- Store it:
pass insert abuseipdb/api-key - Install the monitor:
bash {baseDir}/scripts/install.sh
Manual Usage
Report all currently banned IPs
bash {baseDir}/scripts/report-banned.sh
Check a specific IP
bash {baseDir}/scripts/check-ip.sh \x3Cip>
Show ban stats
bash {baseDir}/scripts/stats.sh
Auto-Reporting
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
Heartbeat Integration
Add to HEARTBEAT.md to check for new bans periodically:
- [ ] Check fail2ban stats and report any unreported IPs to AbuseIPDB
Workflow
- fail2ban bans an IP → action triggers
report-single.sh - Script reports to AbuseIPDB with SSH brute-force category
- Sends Telegram notification (if configured)
- Logs report to
/var/log/abuseipdb-reports.log
API Reference
See references/abuseipdb-api.md for full API docs.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install fail2ban-reporter - After installation, invoke the skill by name or use
/fail2ban-reporter - Provide required inputs per the skill's parameter spec and get structured output
What is fail2ban Reporter?
Auto-report fail2ban banned IPs to AbuseIPDB and notify via Telegram. Use when monitoring server security, reporting attackers, or checking banned IPs. Watches fail2ban for new bans, reports them to AbuseIPDB, and sends alerts. It is an AI Agent Skill for Claude Code / OpenClaw, with 2543 downloads so far.
How do I install fail2ban Reporter?
Run "/install fail2ban-reporter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is fail2ban Reporter free?
Yes, fail2ban Reporter is completely free (open-source). You can download, install and use it at no cost.
Which platforms does fail2ban Reporter support?
fail2ban Reporter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created fail2ban Reporter?
It is built and maintained by jester (@jestersimpps); the current version is v1.0.0.