Thread (12 messages) flat view 12 messages, 3 authors, 2021-03-29

Re: [PATCH net-next V5 6/6] icmp: add response to RFC 8335 PROBE messages

From: Andreas Roeseler <hidden>
Date: 2021-03-24 20:25:30

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help