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

Firewall and Fail2ban issue after update to 13.0.28

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 13
    • Fix Version/s: None
    • Component/s: Fail2Ban, Firewall
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.7.2
    • Distro Version:
      10.13.66-11
    • Distro:
      FreePBX Distro

      Description

      Immediately proceeding the update of the firewall module to 13.0.28 I get the following exception when I attempt to view zones in the firewall page:

      Exception thrown with message "/tmp/iptables.out wasn't created"

      Stacktrace:
      #8 Exception in /var/www/html/admin/modules/firewall/drivers/Iptables.class.php:1073
      #7 FreePBX\modules\Firewall\Drivers\Iptables:getCurrentIptables in /var/www/html/admin/modules/firewall/drivers/Iptables.class.php:29
      #6 FreePBX\modules\Firewall\Drivers\Iptables:getZonesDetails in /var/www/html/admin/modules/firewall/Firewall.class.php:690
      #5 FreePBX\modules\Firewall:getSystemZones in /var/www/html/admin/modules/firewall/Firewall.class.php:650
      #4 FreePBX\modules\Firewall:getZone in /var/www/html/admin/modules/firewall/views/page.zones.php:83
      #3 include in /var/www/html/admin/libraries/view.functions.php:217
      #2 load_view in /var/www/html/admin/modules/firewall/Firewall.class.php:280
      #1 FreePBX\modules\Firewall:showPage in /var/www/html/admin/modules/firewall/page.firewall.php:26
      #0 include in /var/www/html/admin/config.php:563

      I also receive the following exception when I attempt System Admin/Intrusion Detection:

      Exception thrown with message "Could not get banned list"

      Stacktrace:
      #5 Exception in /var/www/html/admin/modules/sysadmin/Sysadmin.class.php:1476
      #4 FreePBX\modules\Sysadmin:getFail2BanList in /var/www/html/admin/modules/sysadmin/functions.inc/intrusion.php:58
      #3 sysadmin_get_banned in /var/www/html/admin/modules/sysadmin/page.sysadmin.php:398
      #2 include in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:157
      #1 FreePBX\GuiHooks:getOutput in /var/www/html/admin/libraries/BMO/GuiHooks.class.php:127
      #0 FreePBX\GuiHooks:doIntercept in /var/www/html/admin/config.php:559

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                xrobau Rob Thomas
                Reporter:
                tgross tgross@clackesd
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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