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

Iptables error after module update

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 15.0.19
    • Fix Version/s: None
    • Component/s: Firewall
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      16.20
    • Distro Version:
      SNG7
    • Distro:
      FreePBX Distro

      Description

      SNG7 12.7.8-2107-3.sng7

      FreePBX 15 15.0.17.55

      All modules up-to-date

       

      After one of the last updates, unfortunatelly I’m not sure which one, my firewall.log logfile is being constantly filled with the following lines:

      1633108567: /sbin/ip6tables -w5 -W10000 -F fpbxsvc-api_ssl
      1633108567: /sbin/ip6tables -w5 -W10000 -A fpbxsvc-api_ssl -p tcp -m tcp --dport -j ACCEPT
      1633108567: /sbin/iptables -w5 -W10000 -F fpbxsvc-api_ssl
      1633108567: /sbin/iptables -w5 -W10000 -A fpbxsvc-api_ssl -p tcp -m tcp --dport -j ACCEPT

      Clearly, the command is missing the port definition, so the firewall.err logfile is consecuently filled with the following lines:

      ip6tables v1.4.21: invalid port/service `-j' specified
      Try `ip6tables -h' or 'ip6tables --help' for more information.
      iptables v1.4.21: invalid port/service `-j' specified
      Try `iptables -h' or 'iptables --help' for more information.

      I’m not sure which update might have caused this, but this same situation is happening in 3 different servers, all of them running the same distro and freepbx version, all modules up-to-date

      I guess these might be the relevant modules that might be related to the FreePBX Firewall

      core | 15.0.12.84
      firewall | 15.0.19
      framework | 15.0.17.55
      sysadmin | 15.0.21.81

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  arielgrin arielgrin
                • 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.