netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ICMP rate limiting in IPv4 but not in IPv6
@ 2013-09-13  7:21 Andy Johnson
  2013-09-13 15:57 ` Andy Johnson
  0 siblings, 1 reply; 15+ messages in thread
From: Andy Johnson @ 2013-09-13  7:21 UTC (permalink / raw)
  To: netdev

Hello,

I am trying to understand the difference between ICMP rate limiting
in IPv4 and in IPv6.

In IPv4 we have the ability to rate limit ICMPv4 while in IPv6 we do not have
this ability.

To be more code-oriented:
The icmpv4_xrlim_allow() method does inspect the rate mask,
(net->ipv4.sysctl_icmp_ratemask)
whereas the icmpv6_xrlim_allow() method does not inspect the rate mask.

I do not understand why, for example, we can rate limit ICMPv4 messages of
Echo Reply and not rate limit ICMPv6 messages of Echo Reply.

See: icmp_ratemask and icmp_ratelimit in Documentation/networking/ip-sysctl.txt

I believe there is some reason behind it (adding checking of rate mask
seems to me trivial). I try to figure out the reason behind this but I did not
find anything reasonable,

Does anybody happen to know ?

Regards,
Andy

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

end of thread, other threads:[~2013-09-27  8:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-13  7:21 ICMP rate limiting in IPv4 but not in IPv6 Andy Johnson
2013-09-13 15:57 ` Andy Johnson
2013-09-13 16:44   ` Hannes Frederic Sowa
2013-09-13 17:26     ` Loganaden Velvindron
2013-09-13 18:17       ` Hannes Frederic Sowa
2013-09-13 18:26         ` Andy Johnson
2013-09-13 20:40           ` Hannes Frederic Sowa
2013-09-13 18:32     ` GRE support for IPv6 Templin, Fred L
2013-09-13 21:01       ` Hannes Frederic Sowa
2013-09-13 21:22         ` Templin, Fred L
2013-09-13 21:46         ` Stephen Hemminger
2013-09-13 22:06           ` Stephen Hemminger
2013-09-13 22:37             ` Templin, Fred L
2013-09-13 23:21               ` Templin, Fred L
2013-09-27  8:41               ` Hannes Frederic Sowa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).