[Bug 1304] New: issue with interval sets

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Nov 28 10:27:50 CET 2018


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

            Bug ID: 1304
           Summary: issue with interval sets
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: kernel
          Assignee: pablo at netfilter.org
          Reporter: arturo at debian.org

Original bug report: https://bugs.debian.org/914706

nft version: 0.9.0
kernel version: 4.18

Not sure if already fixed. If so, please add link to concrete commit.

root at xmachine1:/home/user/testcase# nft add element filter S1 { 10.6.0.0/28 }
root at xmachine1:/home/user/testcase# nft list set filter S1
table ip filter {
    set S1 {
        type ipv4_addr
        flags interval
        elements = { 10.5.0.20/31, 10.6.0.0/28 }
    }
}
root at xmachine1:/home/user/testcase# nft delete element filter S1 { 10.5.0.20/31
}
root at xmachine1:/home/user/testcase# nft list set filter S1
table ip filter {
    set S1 {
        type ipv4_addr
        flags interval
        elements = { 10.6.0.0/28 }
    }
}
root at xmachine1:/home/user/testcase# nft delete element filter S1 { 10.6.0.0/28
}
Error: Could not process rule: No such file or directory
delete element filter S1 { 10.6.0.0/28 }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
root at xmachine1:/home/user/testcase#
root at xmachine1:/home/user/testcase#
root at xmachine1:/home/user/testcase# nft add element filter S1 { 10.7.0.0/28 }
root at xmachine1:/home/user/testcase# nft delete element filter S1 { 10.6.0.0/28
}
root at xmachine1:/home/user/testcase# nft list set filter S1
table ip filter {
    set S1 {
        type ipv4_addr
        flags interval
        elements = { 10.7.0.0/28 }
    }
}

-- 
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/20181128/3331a7f4/attachment.html>


More information about the netfilter-buglog mailing list