Re: [IPv6] Suggestion for multi homed clients without NAT/NPT

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 06 January 2023 04:17 UTC

Return-Path: <brian.e.carpenter@gmail.com>
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 B0ECCC15154F for <ipv6@ietfa.amsl.com>; Thu, 5 Jan 2023 20:17:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hvBAM6Wfkxhk for <ipv6@ietfa.amsl.com>; Thu, 5 Jan 2023 20:17:44 -0800 (PST)
Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA89FC151534 for <ipv6@ietf.org>; Thu, 5 Jan 2023 20:17:44 -0800 (PST)
Received: by mail-pl1-x635.google.com with SMTP id d15so527052pls.6 for <ipv6@ietf.org>; Thu, 05 Jan 2023 20:17:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=TIfuisJ8UNnOuGX5P3EYaXg/KgtUFObbZASBi0LPpvc=; b=XruQUC+lb+gT39TjtfudF/qkFAFWxA00WdwNn/9SuKKTJqtgSydQ3Dx/lAg2zWz0ug bxiPmOtgD5Gv2tu2oEwIhylvEdYvV2vunR2mB2lxO6kZaA+E/PoRg4AeBRyYq3RxBO1o odC/ZaQoYAcdjJ6ieM27Z5h8hNy8BNKnc5CnAMhL/Fic3rGdewCMsdY43BzQ3s+aVjWK 2zThwYYI+HDD/K7FsZQ7cBGqP5H0X8+Q5vpIg1IoED9tiBMLYZwwDTiDuTjWnmTwJ22e MocgIYgB2qjYtAYC4cvBrPaB2Ub3TLBroOPWAA7epC1kiBoaekBT4wr/MjXy52w2d37z ZZnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TIfuisJ8UNnOuGX5P3EYaXg/KgtUFObbZASBi0LPpvc=; b=VaR/Nc2cGCqKsdTLOOKHEu8TyVHtBo00p/6KUPwIfI1VzEOQnuw0+0M7TKm/9/Joi5 pZLmBg8DBCDiZxUUwEpRGhGmi/tm7jYYAPYP6RDOrhfiunU8XIBM87rGEIXE9PxtZ+cm 4AcGilTH4p/gH5pOqGJSi8Co+lMPQw31hMY5/elBLRQUIMWk97tE57HXg1DsAVD4+8mm wICMfkO1QDMRDPjqLZDWNzXVrWBVRNMZZDdqAElbusAc7pbnrDQlrbDEuFlehsKE2CMR benypoIM9YT26CrcDROoSWGBO7oKeDdVDCB1RwUZxgBN97T47Oj7Gy2FeNFwcQAnREjj UUIg==
X-Gm-Message-State: AFqh2koM/yLS2Q0S/Ohq/gEVrxBB3WLTx0h0+gkvYPgvklto6JrUx67d OoQB6SwCWz/duDHE55ZzrcM=
X-Google-Smtp-Source: AMrXdXuHtJGOitEhHxpk7Ak4BBORmFOIKp4TWiendy8U4m7DKjpeoOXD0JieDbF68FjOa0KdOx7rwQ==
X-Received: by 2002:a17:902:e2ca:b0:18e:c6b0:b2f6 with SMTP id l10-20020a170902e2ca00b0018ec6b0b2f6mr48367861plc.14.1672978663882; Thu, 05 Jan 2023 20:17:43 -0800 (PST)
Received: from ?IPV6:2406:e003:10c2:2501:6969:5efe:7979:3937? ([2406:e003:10c2:2501:6969:5efe:7979:3937]) by smtp.gmail.com with ESMTPSA id b18-20020a170902d51200b00174f61a7d09sm26668576plg.247.2023.01.05.20.17.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Jan 2023 20:17:42 -0800 (PST)
Message-ID: <6fa6cd37-d64f-b05f-89b9-668b048d06d6@gmail.com>
Date: Fri, 06 Jan 2023 17:17:38 +1300
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
Content-Language: en-US
To: Michael Richardson <mcr+ietf@sandelman.ca>, "Philipp S. Tiesel" <philipp@tiesel.net>, 6man <ipv6@ietf.org>
References: <b3742e2b-6472-9eb4-bee2-507fa8cdf4c6@posteo.de> <05ed3426-7731-baef-44a1-6fc50ce69a5b@gmail.com> <9586.1672523456@localhost> <14437462-8E95-4554-A4A4-A83E08382439@tiesel.net> <9192.1672934804@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <9192.1672934804@localhost>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/8zg4FRbTzHBg5x6j-6xIDBVgIsg>
Subject: Re: [IPv6] Suggestion for multi homed clients without NAT/NPT
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 06 Jan 2023 04:17:49 -0000

On 06-Jan-23 05:06, Michael Richardson wrote:
> 
> Philipp S. Tiesel <philipp@tiesel.net> wrote:
>      > I did my Ph.D. on that topic and called it Happy Eyeballs on Steroids.
> 
>      > Most results went into the TAPS WG… maybe have a look at
>      > - https://datatracker.ietf.org/doc/draft-ietf-taps-arch/
>      > - https://datatracker.ietf.org/doc/draft-ietf-taps-interface/
>      > - https://datatracker.ietf.org/doc/draft-ietf-taps-impl/
> 
> Very cool.  I will read them. I didn't know TAPS was doing this, and I
> suspect that few in 6man know either.  Maybe a 5 minute presentation is in order.

 From a very superficial dive into those drafts, it seems that there is no
explicit discussion of *why* a transport entity might have several addresses
and how their usage interacts with routing (starting with choice of default
router). I guess TAPS would say that's out of scope, but I also guess that
6MAN and V6OPS would need convincing that the TAPS approach will solve
our problems. Just saying we'll aggressively use happy eyeballs reminds
me of the practical issues of using SHIM6, which amounts to a different
kind of happy eyeballs. Neither will work unless the site supports source
routing, to put it simply.

See https://datatracker.ietf.org/doc/html/draft-naderi-ipv6-probing-01

> 
> Philipp S. Tiesel <philipp@tiesel.net> wrote:
>      > I am convinced RFC 8028 would also be a great start for clients with
>      > multiple default routes, e.g., enabling stuff like multi-path TCP to
>      > work correctly, but it will not be sufficient for meaningful
>      > multi-homing / source address selection.
> 
> Do your IDs explain why?
> 
>      > In addition, to avoiding problems with CDNs, it is also  required to
>      > separately keep track of DNS on a per-router/PvD basis and only use the
>      > matching source addresses for new connections, so RDNSS should also be
>      > treated analog to the source address in RFC 8028.
> 
> I'm surprised to hear this.  I'm not convinced that PvD are a good idea, I
> think that they represent IPv4 thinking, and I think that there are better
> ways to do this in IPv6.  So I'm curious to understand how they are connected.
> 
>      > Having tried to manage traffic from within getaddrinfo() I can only
>      > recommend to abandon that idea.
>      > A lengthly write-up why can be found here in Section 6 of this expired
>      > draft:
>      > https://datatracker.ietf.org/doc/html/draft-tiesel-taps-socketintents-bsdsockets-02
> 
> Thank you. I agree that it can't be done properly in getaddrinfo().

We all agree on that, I think (and also see the discussion on ULA
usability). But the Internet runs on getaddrinfo() and we can't
expect that to change for many years, even if TAPS is a brilliant
success.

So Eduard's question remains for the time being: how do we achieve
appropriate source and destination address selection with only the
socket API to help us?

    Brian

> 
>      > The only way forward I see is something like TAPS and Appel’s
>      > implementation is already pretty close what it would needs to make use
>      > of multi-homing here. They just need a litte more
>      > aggressive/opportunistic happy eyeball candidate selection.
> 
> Is there a FAQ on how to play with this code?
> 
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>             Sandelman Software Works Inc, Ottawa and Worldwide