[Bug 1267] unable to use limit with counter in meters

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Mar 8 18:18:23 CET 2021


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

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Pablo Neira Ayuso <pablo at netfilter.org> ---
You can use native set syntax to use limit with counter, e.g.

nft add set ip filter blackhole "{ type ipv4_addr; flags dynamic; timeout 1m;
limit rate 1/second counter; size 65536; }"

this requires a Linux kernel >= 5.10

-- 
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/20210308/047a40b8/attachment-0001.html>


More information about the netfilter-buglog mailing list