[Bug 1489] New: "map" doesn't work as expected

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Dec 28 19:55:54 CET 2020


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

            Bug ID: 1489
           Summary: "map" doesn't work as expected
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: bugz at dragon-home.dyndns-mail.com

add table ip mangle
add chain ip mangle manout { type route hook output priority mangle; }
add rule ip mangle manout ct direction reply mark set ct original daddr map {
$ext1_ip : 0x11, $ext2_ip : 0x12 }

nft list ruleset
nft: netlink_delinearize.c:125: netlink_parse_concat_expr: Assertion `consumed
> 0' failed.
Aborted

But
add rule ip mangle manout icmp type 8 mark set ip saddr map { $ext1_ip : 0x11,
$ext2_ip : 0x12 }
works fine

Debian10
linux-image-5.9.0-0.bpo.2-amd64 (5.9.6-1~bpo10+1)
nftables v0.9.6 (0.9.6-1~bpo10+1 amd64)

-- 
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/20201228/21bbdc68/attachment.html>


More information about the netfilter-buglog mailing list