We currently always apply ICMP rates to ICMP errors, linux allows configuration of those flags through net.ipv4.icmp_ratemask/net.ipv6.icmp.ratemask. We should have the same knobs and apply them uniformly for all outbound ICMP traffic.
Derived from the discovery of rate-limited ICMP Echo traffic in #6519.
Description
We currently always apply ICMP rates to ICMP errors, linux allows configuration of those flags through
net.ipv4.icmp_ratemask
/net.ipv6.icmp.ratemask
. We should have the same knobs and apply them uniformly for all outbound ICMP traffic.Derived from the discovery of rate-limited ICMP Echo traffic in #6519.