<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - counter flag proposal for sets and maps"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1185#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - counter flag proposal for sets and maps"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1185">bug 1185</a>
from <span class="vcard"><a class="email" href="mailto:fmyhr@fhmtech.com" title="Frank Myhr <fmyhr@fhmtech.com>"> <span class="fn">Frank Myhr</span></a>
</span></b>
<pre>It seems that per-element counters work since nftables 0.9.1:
<a href="https://marc.info/?l=netfilter-devel&m=156139496310278&w=2">https://marc.info/?l=netfilter-devel&m=156139496310278&w=2</a>
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>