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

fail2ban is running, but no jails exist and log file is empty.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: Fail2Ban
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.17.0
    • Distro Version:
      12.7.3-1707-2.sng7
    • Distro:
      FreePBX Distro

      Description

      On a fresh installation of FreePBX Distro SNG7, fail2ban does appear to be running, however there are no jails, chains, etc. and nothing is being blocked. FreePBX firewall is configured and enabled, all modules/packages are updated. This has been duplicated on installs from .ISO and from KVM templates. The log file /var/log/fail2ban.log is empty.

       

      fail2ban status:

      
      [root@fpbx14demov1 etc]# fail2ban-client status
      Status
      |- Number of jail: 0
      `- Jail list:

       

      FreePBX Distro version:

      
      [root@fpbx14demov1 etc]# cat /etc/schmooze/pbx-version 
      12.7.3-1707-2.sng7

       
      fail2ban package version:

      
      [root@fpbx14demov1 etc]# yum info fail2ban-fpbx
      Loaded plugins: fastestmirror
      Loading mirror speeds from cached hostfile
      Installed Packages
      Name : fail2ban-fpbx
      Arch : noarch
      Version : 0.8.14
      Release : 11.sng7
      Size : 847 k
      Repo : installed
      From repo : sng-pkgs

       

      I have a couple test machines up and running, let me know if I can provide more info.

       

      I've tried reinstalling, removing the .local config files and restarting fail2ban just to see if it would log something to /var/log/fail2ban.log, etc. Nothing has worked so far.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  xrobau Rob Thomas
                  Reporter:
                  ngingras Nathan Gingras
                • Votes:
                  3 Vote for this issue
                  Watchers:
                  14 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Feedback Requested:

                    NextupJiraPlusStatus

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