[Bug 1738] New: iptables unit test suite fails extensions/libip6t_mh.txlate

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Feb 28 22:06:38 CET 2024


https://bugzilla.netfilter.org/show_bug.cgi?id=1738

            Bug ID: 1738
           Summary: iptables unit test suite fails
                    extensions/libip6t_mh.txlate
           Product: iptables
           Version: 1.8.x
          Hardware: All
                OS: Gentoo
            Status: NEW
          Severity: normal
          Priority: P5
         Component: ip6tables
          Assignee: netfilter-buglog at lists.netfilter.org
          Reporter: matoro_bugzilla_netfilter at matoro.tk

Created attachment 736
  --> https://bugzilla.netfilter.org/attachment.cgi?id=736&action=edit
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: 
https://git.netfilter.org/iptables/commit/?id=5839d7fe62ff667af7132fc7d589b386951f27b3

Tested on 1.8.10.

Downstream bug:  https://bugs.gentoo.org/890628

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20240228/f361ddd5/attachment.html>


More information about the netfilter-buglog mailing list