bugzilla-daemon at netfilter.org
2015-Jan-08 19:14 UTC
[Bug 994] New: Named sets with type "ipv4_addr" do not allow adding CIDR elements
https://bugzilla.netfilter.org/show_bug.cgi?id=994 Bug ID: 994 Summary: Named sets with type "ipv4_addr" do not allow adding CIDR elements Product: nftables Version: unspecified Hardware: x86_64 OS: other Status: NEW Severity: enhancement Priority: P5 Component: nft Assignee: pablo at netfilter.org Reporter: admin at rollinix.net Overview: Attempting to add an element in CIDR notation to a named set with type "ipv4_addr" fails with "nft: netlink.c:216: alloc_nft_setelem: Assertion `expr->ops->type == EXPR_MAPPING' failed." Steps to reproduce: nft add set inet filter test { type ipv4_addr\; } nft add element inet filter test { 10.0.0.1 } nft add element inet filter test { 192.168.0.0/16 } Actual result: (Error) nft: netlink.c:216: alloc_nft_setelem: Assertion `expr->ops->type =EXPR_MAPPING' failed. Aborted (core dumped) Expected result: Should be able to create a named set identical to the anonymous set in the following command that works: nft add rule inet filter test ip saddr { 10.0.0.1, 192.168.0.0/16 } counter -- 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/20150108/c8855cf4/attachment.html>
bugzilla-daemon at netfilter.org
2016-May-13 19:21 UTC
[Bug 994] Named sets with type "ipv4_addr" do not allow adding CIDR elements
https://bugzilla.netfilter.org/show_bug.cgi?id=994 Pablo Neira Ayuso <pablo at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Pablo Neira Ayuso <pablo at netfilter.org> --- *** This bug has been marked as a duplicate of bug 1009 *** -- 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/20160513/b3596394/attachment.html>
Possibly Parallel Threads
- [Bug 1352] New: After adding map type ipv4_addr : counter it behaves as a set
- [Bug 888] New: Assertion errors attempting a statement which (I believe) is grammatically correct.
- [Bug 1307] New: Implement interface for 'ipv4_addr' in arptables
- [Bug 1009] Ability to use CIDR notation in IPV4/IPV6 named sets
- [Bug 1454] New: nft list set omits timeout values for intervals formatted as hyphenated ranges