[Bug 1185] counter flag proposal for sets and maps

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Mar 3 12:47:50 CET 2020


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

--- Comment #9 from Frank Myhr <fmyhr at fhmtech.com> ---
It seems that per-element counters work since nftables 0.9.1:
https://marc.info/?l=netfilter-devel&m=156139496310278&w=2

Syntax shown at above link under bullet point "Improve support for dynamic set
updates" works for me in nftables 0.9.3:

table ip test_tab {
  set test_set {
    type ipv4_addr
    size 65535
    flags dynamic,timeout
    timeout 1h
  }
  chain INPUT {
    type filter hook input priority 0; policy accept;
    update @test_set { ip saddr counter }
  }
}

Can this bug be closed?

-- 
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/20200303/763077da/attachment.html>


More information about the netfilter-buglog mailing list