Re: [PATCH v2] Add icmp_echo_ignore_all support for ICMPv6

From: David Miller
Date: Mon Aug 13 2018 - 11:42:52 EST


From: Virgile Jarry <virgile@xxxxxxxxx>
Date: Fri, 10 Aug 2018 17:48:15 +0200

> Preventing the kernel from responding to ICMP Echo Requests messages
> can be useful in several ways. The sysctl parameter
> 'icmp_echo_ignore_all' can be used to prevent the kernel from
> responding to IPv4 ICMP echo requests. For IPv6 pings, such
> a sysctl kernel parameter did not exist.
>
> Add the ability to prevent the kernel from responding to IPv6
> ICMP echo requests through the use of the following sysctl
> parameter : /proc/sys/net/ipv6/icmp/echo_ignore_all.
> Update the documentation to reflect this change.
>
> Signed-off-by: Virgile Jarry <virgile@xxxxxxxxx>
> ---
> Changes in v2:
> - Added support for sysctl interface (and not just /proc filesystem)

Applied.