[Bug 1252] New: comment doesn't work with ranges in sets

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Apr 30 00:10:08 CEST 2018


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

            Bug ID: 1252
           Summary: comment doesn't work with ranges in sets
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Gentoo
            Status: NEW
          Severity: normal
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: sub at ryper.org

When creating a set and including a range of ports in it, the comment function
seems to disappear from the "nft list ruleset -nn" output.

Example configuration:

set test {
    type inet_service
    flags interval
    elements = { 1111 comment "test1",
                 2222-3333 comment "test2",
                 4444 comment "test3",
                 5555-6666 comment "test4" }
}

And here is the output from "nft list ruleset -nn"

set test {
    type inet_service
    flags interval
    elements = { 1111 comment "test1", 1234 comment "test3", 2222-3333,
5555-6666 }
}

Is this intentional or a bug? It would be nice to be able to add comments for
even the intervals if possible. If there is another way to accomplish this, I
would love to know how.

Kernel: 4.14.37
nftables: 0.8.3

Thank you.

-- 
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/20180429/25383a68/attachment.html>


More information about the netfilter-buglog mailing list