Re: IPv6 Anycast has been killed by LINUX patch in 2016 - who cares?

Toerless Eckert <tte@cs.fau.de> Sat, 07 August 2021 17:54 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 737223A09A7; Sat, 7 Aug 2021 10:54:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fIRq8xQgg0Ld; Sat, 7 Aug 2021 10:54:18 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB11B3A09A3; Sat, 7 Aug 2021 10:54:16 -0700 (PDT)
Received: from faui48f.informatik.uni-erlangen.de (faui48f.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:52]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id 45F15548053; Sat, 7 Aug 2021 19:54:10 +0200 (CEST)
Received: by faui48f.informatik.uni-erlangen.de (Postfix, from userid 10463) id 402174400EF; Sat, 7 Aug 2021 19:54:10 +0200 (CEST)
Date: Sat, 07 Aug 2021 19:54:10 +0200
From: Toerless Eckert <tte@cs.fau.de>
To: Töma Gavrichenkov <ximaera@gmail.com>
Cc: Mark Smith <markzzzsmith@gmail.com>, 6man WG <ipv6@ietf.org>, IETF discussion list <ietf@ietf.org>
Subject: Re: IPv6 Anycast has been killed by LINUX patch in 2016 - who cares?
Message-ID: <20210807175410.GA63079@faui48f.informatik.uni-erlangen.de>
References: <db8c1a5534e9412ebcfa37682d75f862@huawei.com> <C23D7023-B5B7-47C6-8AC5-65A98822A724@lurchi.franken.de> <CANMZLAZGawUjRhSSE_rA8AyqMx=mx1WFeJ_tZq0KVEXJd2XBfQ@mail.gmail.com> <20210807014730.GA28901@faui48f.informatik.uni-erlangen.de> <CAO42Z2yezZh5-B0PwCuNt2FUMAW-FjMK8QZ8uL4TsPhs26zziw@mail.gmail.com> <20210807151716.GA3098@faui48f.informatik.uni-erlangen.de> <CALZ3u+a_7XQ+R8mV+9KzwRwxa0riP-QD_2R69ycV0NL9jy_S3Q@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CALZ3u+a_7XQ+R8mV+9KzwRwxa0riP-QD_2R69ycV0NL9jy_S3Q@mail.gmail.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/DiKmJ0EcfuYYWRyhyhTeQpjtGfk>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Aug 2021 17:54:23 -0000

Sure, that is the basic recommendation,
but let me play devils advocate (linux developer):

rfc6437: "However, a flow is not necessarily 1:1 mapped to a transport connection"

Aka: what linux does is a perfect lightweight form of
MP_TCP just without the overhead of different IP addresses
or port numbers to identify different flows. Just different
IPv6 flow labels. And in MP-TCP it would of course be perfectly
legitimate to use two flows sequentially, e.g.: when one flow
has RTO issues, using the second flow. Thats just a transport
protocol policy choice.

In other words: linux does not violate this SHOULD because it really
uses two different flows.

Cheers
    Toerless

On Sat, Aug 07, 2021 at 06:37:52PM +0300, Töma Gavrichenkov wrote:
> Peace,
> 
> On Sat, Aug 7, 2021, 6:19 PM Toerless Eckert <tte@cs.fau.de> wrote:
> 
> > Do our RFCs say or imply anything about whether or not hosts can change
> > the IPv6 flow label field of a single flow during the lifetime
> > of a flow (MUST, SHOULD, MAY, ... MAY NOT, SHOULD NOT, MUST NOT)
> >
> 
> Well, it is, of course, sort of implied that the flow label is attached to
> the particular flow.
> 
> As per normative references, RFC 6437 goes (underscores are mine):
> 
> > It is therefore RECOMMENDED
> > that source hosts support the flow label by setting the flow label
> > field for _all_packets_of_a_given_flow_ to the _same_value_ chosen from
> > an approximation to a discrete uniform distribution.
> 
> --
> Töma
> 
> >

-- 
---
tte@cs.fau.de