[Bug 1185] New: counter flag proposal for sets and maps

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Sep 22 08:52:57 CEST 2017


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

            Bug ID: 1185
           Summary: counter flag proposal for sets and maps
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: karel at unitednetworks.cz

Now when we have stateful objects, one can use map to emulate counting of hits
in set elements, but counters have to be created first.

It would be nice to have "counter" flag for sets and maps with similar function
as counters in rules, just to count packets and bytes hitting elements of set
or map. No need to list them as stateful object, just show them in set or map
listing.

I am aware that this behaviour can be emulated by combining set with flow table
with same keys in one rule, but having "counter" flags is more straightforward
and cleaner solution. Not to mention that counting hits in verdict maps cant be
easily emulated like that.

-- 
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/20170922/ce2ced2c/attachment.html>


More information about the netfilter-buglog mailing list