<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iptables match-set with multiple ipsets doesn't work"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1234">1234</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>iptables match-set with multiple ipsets doesn't work
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.4.x
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Debian GNU/Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kevin@zattoo.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I try to add multiple match-sets in one rule. I can add it, but afterwards the
rule doesn't work (counter stays at zero)

iptables -A INPUT -p tcp -m multiport --dports 22 -m comment --comment "012
accept incoming SSH" -m set --match-set trustednet src -m set --match-set NETS
src -j ACCEPT

If I split them into two rules, it works without any issue.

Tested it with iptables 1.4 and 1.6.
ipset v6.23

Maybe this behavior is expected, but I didn't find anything in the man pages or
documentation.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>