Linux Netfilter discussions
 help / color / mirror / Atom feed
* [nftables] icmp type rate limiting - cumulative for the daddr or selectively per saddr?
@ 2020-09-29 13:39 ѽ҉ᶬḳ℠
  2020-09-29 14:46 ` Florian Westphal
  2020-09-29 14:52 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 4+ messages in thread
From: ѽ҉ᶬḳ℠ @ 2020-09-29 13:39 UTC (permalink / raw)
  To: netfilter@vger.kernel.org

https://wiki.nftables.org/wiki-nftables/index.php/Rate_limiting_matchings 
is not clear whether the 'limit rate' stanza applies as:

* cummulutive limit (from any/all saddr) for the daddr within the given 
period

or

* assumes/implies limit selectively for each saddr within the given period

If it is a cummulutive limit how to go about a limit per saddr? For example:

icmpv6 type 128 ip6 saddr limit rate over 15/second burst 3 packets drop

or

icmpv6 type 128 { ip6 saddr limit rate over 15/second burst 3 packets } drop

producing:

Error: syntax error, unexpected saddr, expecting comma or '}'






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-29 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-29 13:39 [nftables] icmp type rate limiting - cumulative for the daddr or selectively per saddr? ѽ҉ᶬḳ℠
2020-09-29 14:46 ` Florian Westphal
2020-09-29 16:13   ` ѽ҉ᶬḳ℠
2020-09-29 14:52 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox