Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22184360rwd; Fri, 30 Jun 2023 05:09:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4NBaFsRtELPN1FWfXfyP0xwh6O3v9OrCQkW9sSnEIrXqUWovdADS01Z8C9AZaxLR5qSC3j X-Received: by 2002:a05:6a20:244c:b0:105:66d3:8572 with SMTP id t12-20020a056a20244c00b0010566d38572mr3795821pzc.24.1688126943388; Fri, 30 Jun 2023 05:09:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688126943; cv=none; d=google.com; s=arc-20160816; b=Y+JxZaZvSmBswp3zY87d706cGBstR/CSC7no2SbV9+b6qURQLn75JtykfIi4h2E7Un MbNxuhrXXF5YOx3wR6u53v+gGDF/ppkIiRbBFEvp4cbOiD+wS+zYAXZE1eHhL6DmzgQp yCah3KqygFYpF6UFpbb7Stq6WJdEjoI+3fTPP8zJshyVE6CEKrxsVPSPeTopKiOtTqyt pr+qkaL/guERTys1BsOYybxdpAYWqBshcDiH5FDEtFAU5dVB7fKlM7dln1FQEkO/gmUO gj1toFoEpF008iQU3W567VlUipzH+fBY3ykUZBm686AV97DlSxZUh+qqdVieWlsxEtR6 1w1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version:dkim-signature; bh=7kAWbnLhfLrWH8lbXCU9besEQHlswAdYILd+P4iFqpA=; fh=qTJ1fRb4S5PGQDSEFQffn+Vg/KQCQFF8FuOzae9JXEc=; b=BWEo2a0b+PSuwlLjQFsZUPLfV4xO5GtngGVksj0g5i74aMsIvgod0HQgrDHGLxzm0M 65nPLZGsi/FiW/7sWBH4XMFmhr8lHH1VtbQJdXdNLkmzetRCeEx68CaLI8T+ONlaXQ3W WZN9foeEAy4Rl9F9HGEJuS7KRA8k79BwU3YKknlRt0HqYDMcDTJ98GtQHZl6ZHSZ0dgx zpPcUC9XlhNh4zK1oMfyLVuZyPgof7+G7vkUMACNFzj/0D0rImW8xCh/AMAaF5USx8jL CUbRsRb1LGhitNvaAlrBrvO2g2Ov8v/7J8vJckwM3w9RamezEM7d447yFCkROerMFIIc 7yhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=meH9qwt2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cg20-20020a056a00291400b00646672f2be3si10657163pfb.282.2023.06.30.05.08.42; Fri, 30 Jun 2023 05:09:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@agner.ch header.s=dkim header.b=meH9qwt2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231950AbjF3MAk (ORCPT + 99 others); Fri, 30 Jun 2023 08:00:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232728AbjF3MAi (ORCPT ); Fri, 30 Jun 2023 08:00:38 -0400 X-Greylist: delayed 548 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 30 Jun 2023 05:00:36 PDT Received: from mail.kmu-office.ch (mail.kmu-office.ch [IPv6:2a02:418:6a02::a2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C552FEE for ; Fri, 30 Jun 2023 05:00:36 -0700 (PDT) Received: from webmail.kmu-office.ch (unknown [IPv6:2a02:418:6a02::a3]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 8B3E85C07E5; Fri, 30 Jun 2023 13:51:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=agner.ch; s=dkim; t=1688125886; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7kAWbnLhfLrWH8lbXCU9besEQHlswAdYILd+P4iFqpA=; b=meH9qwt2jIvyxNVTC20Ih0TsySycDwnYVd+Xkgw166sLfVQkdKdntVBrNlr5mwDO9kWWXk 9ZX0IgZGYDp8t8/gBXfFumQXkrL4mUINEftUNZyBeLvrxNhvikmMWHoHpS0vPDx22bPM3m fWv8P4hJFHJAv1VpJkGn0GQT+Lr91U8= MIME-Version: 1.0 Date: Fri, 30 Jun 2023 13:51:25 +0200 From: Stefan Agner To: Eric Dumazet Cc: davem@davemloft.net, dsahern@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, john.carr@unrouted.co.uk, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] ipv6: add option to explicitly enable reachability test In-Reply-To: References: Message-ID: X-Sender: stefan@agner.ch Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Eric, On 2023-03-28 19:54, Eric Dumazet wrote: > On Tue, Mar 28, 2023 at 5:39 PM Stefan Agner wrote: >> >> Systems which act as host as well as router might prefer the host >> behavior. Currently the kernel does not allow to use IPv6 forwarding >> globally and at the same time use route reachability probing. >> >> Add a compile time flag to enable route reachability probe in any >> case. >> >> Signed-off-by: Stefan Agner >> --- >> My use case is a OpenThread device which at the same time can also act as a >> client communicating with Thread devices. Thread Border routers use the Route >> Information mechanism to publish routes with a lifetime of up to 1800s. If >> one of the Thread Border router goes offline, the lack of reachability probing >> currenlty leads to outages of up to 30 minutes. >> >> Not sure if the chosen method is acceptable. Maybe a runtime flag is preferred? > > I guess so. Because distros would have to choose a compile option. > > Not a new sysfs, only an IFLA_INET6_REACHABILITY_PROBE ? > Wouldn't that be a per interface config? From what I can tell currently the reachability probing is disabled when IPv6 forwarding is enabled on a global level only. So I'd need something which disables that behavior on a global only as well. -- Stefan