Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-9055

puppetlabs/firewall : Skipping unparsable iptables rule

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: firewall
    • Template:
      MODULES Bug Template
    • Epic Link:
    • Team:
      Modules
    • Method Found:
      Needs Assessment
    • Zendesk Ticket IDs:
      35194
    • Zendesk Ticket Count:
      1
    • QA Risk Assessment:
      Needs Assessment

      Description

      Basic Info
      Module Version: 1.15.3
      Puppet Version: 5.5.13
      OS Name/Version: Red Hat Enterprise Linux Server release 7.6 (Maipo)

      Hello everyone,

      I have a problem with the module Firewall.
      I have the following lines in the iptables file : 

      // 
      :POSTROUTING ACCEPT [8622154:520343992]
      -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 443 -j SNAT --to-source 192.168.171.6
      -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 443 -j SNAT --to-source 192.168.171.6
      -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 22 -j SNAT --to-source 192.168.171.6
      -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 80 -j SNAT --to-source 192.168.171.6
      -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.203 --vport 443 -j SNAT --to-source 192.168.171.6
      -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.203 --vport 80 -j SNAT --to-source 192.168.171.6
      

      And when Puppet apply configuration, I have this message :

       

      // 
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 22 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 80 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 22 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 80 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 22 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 80 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 443 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.17 --vport 22 -j SNAT --to-source 192.168.171.6
      Skipping unparsable iptables rule: keys (5) and values (11) count mismatch on line: -A POSTROUTING -d 192.168.177.0/24 -o eth1 -m ipvs --vaddr 192.168.171.200 --vport 80 -j SNAT --to-source 192.168.171.6
      

       

       

      Desired Behavior:

      I don't find anything in the module to configure ipvs with vaddr so I put this lines manualy.

      How can I skip this message with the module Firewall ?

      Thank you a lot for helping.

       

      Best regards,

      Serdar

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Serdar Serdar ARIKAN
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support