On Wed, 2021-03-24 at 20:47 +0100, Eric Dumazet wrote:
On 3/24/21 7:18 PM, Andreas Roeseler wrote:
quoted
Modify the icmp_rcv function to check PROBE messages and call
icmp_echo
if a PROBE request is detected.
...
quoted
@@ -1340,6 +1440,7 @@ static int __net_init icmp_sk_init(struct net
*net)
/* Control parameters for ECHO replies. */
net->ipv4.sysctl_icmp_echo_ignore_all = 0;
+ net->ipv4.sysctl_icmp_echo_enable_probe = 0;
net->ipv4.sysctl_icmp_echo_ignore_broadcasts = 1;
/* Control parameter - ignore bogus broadcast responses? */
Where is sysctl_icmp_echo_enable_probe defined ?
It is defined in patch 3 of this patchset.
Please include a cover letter, also add proper documentation for any
new sysctl
in Documentation/networking/ip-sysctl.rst
Will do.