bugzilla-daemon at netfilter.org
2019-Jul-11 08:41 UTC
[Bug 1352] New: After adding map type ipv4_addr : counter it behaves as a set
https://bugzilla.netfilter.org/show_bug.cgi?id=1352 Bug ID: 1352 Summary: After adding map type ipv4_addr : counter it behaves as a set Product: nftables Version: unspecified Hardware: x86_64 OS: Debian GNU/Linux Status: NEW Severity: normal Priority: P5 Component: nft Assignee: pablo at netfilter.org Reporter: arturo at debian.org Original bug report: https://bugs.debian.org/931820 (using nftables 0.9.1 and linux 4.19) after adding following map to nftables # nft add map inet filter countermap { type ipv4_addr : counter\; } the ruleset is, as expected # nft list ruleset table inet filter { map countermap { type ipv4_addr : counter } } but from now, you can't work with this as a map, but you have to use a set. For example, when you run # nft flush map inet filter countermap Error: No such file or directory flush map inet filter countermap ^^^^^^^^^^ you get an error, but it works with set keyword # nft flush set inet filter countermap It also doesn't appear in list of maps, but it's in list of sets... # nft list maps table inet filter { } # nft list sets table inet filter { map countermap { type ipv4_addr : counter } } Everything about this set/map work as expected, you can use it in rules and it works... -- 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/20190711/42136c6f/attachment.html>
bugzilla-daemon at netfilter.org
2020-Jan-28 22:47 UTC
[Bug 1352] After adding map type ipv4_addr : counter it behaves as a set
https://bugzilla.netfilter.org/show_bug.cgi?id=1352 kfm at plushkava.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kfm at plushkava.net -- 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/20200128/0c7bff41/attachment.html>
bugzilla-daemon at netfilter.org
2020-Jul-31 18:44 UTC
[Bug 1352] After adding map type ipv4_addr : counter it behaves as a set
https://bugzilla.netfilter.org/show_bug.cgi?id=1352 Pablo Neira Ayuso <pablo at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> --- Upstream fix available since 0.9.2 7d3c01182e88 ("evaluate: missing object maps handling in list and flush commands") Closing. Thanks for reporting. -- 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/20200731/09b8b89c/attachment.html>
Reasonably Related Threads
- [Bug 1180] New: Can't create a set with both timeout and interval flags at the same time
- [Bug 1438] New: nft generates wrong intervals for sets with auto-merge
- [Bug 1454] New: nft list set omits timeout values for intervals formatted as hyphenated ranges
- [Bug 1319] New: Exporting a map with many elements to JSON will fail
- [Bug 1449] New: nft ipv4 set with interval issue