返回顶部
f

fail2ban-reporterfail2ban举报器

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
2,508
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

fail2ban-reporter

fail2ban 报告工具

监控 fail2ban 的封禁情况,并自动向 AbuseIPDB 报告攻击者。

设置

  1. 1. 在 https://www.abuseipdb.com/account/api 获取免费的 AbuseIPDB API 密钥
  2. 存储密钥:pass insert abuseipdb/api-key
  3. 安装监控工具:bash {baseDir}/scripts/install.sh

手动使用

报告所有当前被封禁的 IP

bash
bash {baseDir}/scripts/report-banned.sh

检查特定 IP

bash
bash {baseDir}/scripts/check-ip.sh

显示封禁统计

bash
bash {baseDir}/scripts/stats.sh

自动报告

安装脚本会设置一个 fail2ban 动作,自动报告新的封禁。

bash
bash {baseDir}/scripts/install.sh # 安装自动报告
bash {baseDir}/scripts/uninstall.sh # 移除自动报告

心跳集成

添加到 HEARTBEAT.md 以定期检查新的封禁:

markdown

  • - [ ] 检查 fail2ban 统计信息,并向 AbuseIPDB 报告任何未报告的 IP

工作流程

  1. 1. fail2ban 封禁 IP → 动作触发 report-single.sh
  2. 脚本以 SSH 暴力破解类别向 AbuseIPDB 报告
  3. 发送 Telegram 通知(如果已配置)
  4. 将报告记录到 /var/log/abuseipdb-reports.log

API 参考

完整 API 文档请参阅 references/abuseipdb-api.md

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 fail2ban-reporter-1776382406 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 fail2ban-reporter-1776382406 技能

通过命令行安装

skillhub install fail2ban-reporter-1776382406

下载

⬇ 下载 fail2ban-reporter v1.0.0(免费)

文件大小: 7.55 KB | 发布时间: 2026-4-17 13:53

v1.0.0 最新 2026-4-17 13:53
Initial release

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部