From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A2C5EB64DA for ; Fri, 30 Jun 2023 12:00:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232916AbjF3MAl (ORCPT ); Fri, 30 Jun 2023 08:00:41 -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 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