<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 unit test suite fails extensions/libip6t_mh.txlate"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1738">1738</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>iptables unit test suite fails extensions/libip6t_mh.txlate
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Gentoo
          </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>ip6tables
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>matoro_bugzilla_netfilter@matoro.tk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=736" name="attach_736" title="sample system info, build log, test log">attachment 736</a> <a href="attachment.cgi?id=736&action=edit" title="sample system info, build log, test log">[details]</a></span>
sample system info, build log, test log

Hi, the iptables unit test suite has a failing test on all architectures.  I'm
observing this behavior on both Gentoo and Arch kernels as well.

extensions/libip6t_mh.txlate: Fail
src: ip6tables-translate -A INPUT -p mh --mh-type 1 -j ACCEPT
exp: nft 'add rule ip6 filter INPUT meta l4proto mobility-header mh type 1
counter accept'
res: nft 'add rule ip6 filter INPUT meta l4proto 135 mh type 1 counter accept'

extensions/libip6t_mh.txlate: Fail
src: ip6tables-translate -A INPUT -p mh --mh-type 1:3 -j ACCEPT
exp: nft 'add rule ip6 filter INPUT meta l4proto mobility-header mh type 1-3
counter accept'
res: nft 'add rule ip6 filter INPUT meta l4proto 135 mh type 1-3 counter
accept'


At first I thought this might be a bug in the test, however, in the following
commit, "mobility-header" and "135" were swapped in the expected output, in the
opposite direction of what would be expected: 
<a href="https://git.netfilter.org/iptables/commit/?id=5839d7fe62ff667af7132fc7d589b386951f27b3">https://git.netfilter.org/iptables/commit/?id=5839d7fe62ff667af7132fc7d589b386951f27b3</a>

Tested on 1.8.10.

Downstream bug:  <a href="https://bugs.gentoo.org/890628">https://bugs.gentoo.org/890628</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>