On 3/24/21 7:18 PM, Andreas Roeseler wrote:
Modify the icmp_rcv function to check PROBE messages and call icmp_echo
if a PROBE request is detected.
...
quoted hunk ↗ jump to hunk
@@ -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 ?
Please include a cover letter, also add proper documentation for any new sysctl
in Documentation/networking/ip-sysctl.rst