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.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
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.
How to use
Utwórz bezpłatne konto na AbuseIPDB (https://www.abuseipdb.com/account/api) i pobierz klucz API.
Zapisz klucz API w menedżerze haseł poleceniem
pass insert abuseipdb/api-key, a następnie wklej swój klucz.Uruchom skrypt instalacji:
bash {baseDir}/scripts/install.sh. Skrypt skonfiguruje automatyczne raportowanie — od tego momentu każde nowe blokowanie IP przez fail2ban będzie natychmiast zgłaszane do AbuseIPDB i wysyłane na Telegram.Aby ręcznie raportować wszystkie aktualnie zablokowane adresy IP, uruchom
bash {baseDir}/scripts/report-banned.sh.Aby sprawdzić statystyki banów, użyj
bash {baseDir}/scripts/stats.sh. Aby weryfikować konkretny adres IP, uruchombash {baseDir}/scripts/check-ip.sh <ip>.Jeśli chcesz wyłączyć automatyczne raportowanie, wykonaj
bash {baseDir}/scripts/uninstall.sh.