[Bug 1739] meta mark 0x80000000 display error

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Mar 1 11:51:18 CET 2024


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

Phil Sutter <phil at nwl.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |phil at nwl.cc

--- Comment #1 from Phil Sutter <phil at nwl.cc> ---
It is merely a display issue at least:

# nft --debug=netlink add rule t c 'meta mark and 0x80000000 != 0'              
ip t c
  [ meta load mark => reg 1 ]
  [ bitwise reg 1 = ( reg 1 & 0x80000000 ) ^ 0x00000000 ]
  [ cmp neq reg 1 0x00000000 ]

# nft --debug=netlink list chain t c
ip t c 2
  [ meta load mark => reg 1 ]
  [ bitwise reg 1 = ( reg 1 & 0x80000000 ) ^ 0x00000000 ]
  [ cmp neq reg 1 0x00000000 ]

table ip t {
    chain c {
        meta mark != 0x00000000/1
    }
}

-- 
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/20240301/6e1c8483/attachment.html>


More information about the netfilter-buglog mailing list