【问题标题】:Fail2ban random restarts when banning ip禁止ip时Fail2ban随机重启
【发布时间】:2012-05-23 05:41:41
【问题描述】:

我已经在我的服务器上运行 fail2ban 一段时间没有任何问题,但最近看到 fail2ban 随机重启。在查看了我的日志后,我注意到当有人被禁止时会重新启动。

所以每次有人被禁止时,fail2ban 服务器都会重新启动。

这里有几个日志。

2012-03-23 00:58:39,025 fail2ban.actions: WARNING [dovecot] Ban xx.xx.xx.xx (ip removed)

我能找到的是fail2ban禁止IP,然后它重新启动,我能找到的唯一错误是。

modprobe: FATAL: Module ip_tables not found.

Iptables 存在并正在运行 - 我可以发出任何命令,而 iptables 不会失败或 fail2ban 崩溃。

如果您有任何想法以及是否需要 fail2ban 配置文件,请告诉我

系统信息:

  • Centos 5.8
  • Fail2ban 0.8.2
  • Iptables 1.3.5

【问题讨论】:

标签: centos iptables


【解决方案1】:

您必须在内核中启用 iptable 模块。

运行modprobe ip_tables

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-03-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-17
    • 1970-01-01
    相关资源
    最近更新 更多