Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-10360

fail2ban setup error in log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Fail2Ban
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      11.19.0
    • Distro Version:
      ISO: 6.12.65 / 64 bit - FreePBX 12.0.76.2
    • Distro:
      FreePBX Distro

      Description

      In fail2ban.log, getting:

      2015-09-27 10:56:01,518 fail2ban.actions.action[5797]: ERROR iptables -N fail2ban-BadBots
      iptables -A fail2ban-BadBots -j RETURN
      iptables -I INPUT -p all -m multiport --dports http,https -j fail2ban-BadBots returned 200

      The fail2ban-BadBots chain is being created, but rule calling it in the INPUT chain is not being added, so the chain would never be used.

      It appears the installed iptables does not support "-p all" (all protocols) within the multiport module.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                xrobau Rob Thomas
                Reporter:
                CrownHills CrownHills
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.