Re: [IPv6] PvD (RFC 8801) is not relevant to MHMP

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 01 December 2022 19:44 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 45801C14CE27 for <ipv6@ietfa.amsl.com>; Thu, 1 Dec 2022 11:44:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.097
X-Spam-Level:
X-Spam-Status: No, score=-7.097 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable 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 Mlvt2m1FDELM for <ipv6@ietfa.amsl.com>; Thu, 1 Dec 2022 11:44:05 -0800 (PST)
Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) (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 44634C14CE2D for <ipv6@ietf.org>; Thu, 1 Dec 2022 11:44:05 -0800 (PST)
Received: by mail-pf1-x435.google.com with SMTP id 21so2870412pfw.4 for <ipv6@ietf.org>; Thu, 01 Dec 2022 11:44:05 -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:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=l+LJYE/6qNHBCRgiZjFO0qH/OnIAPBhtCZYIwGrMgjo=; b=opP2oqOSOeW5tTGoNbPNnfSbIBAaGSGrTX1H0mA6Ea269ZJk/KaK/7mqG0towx8UJK 4+RlM4xTitrvmVT4Pqq8kz84LPnvW9MUB00uCM5GYeA+p8iWW71b0Hn+H4+eD4pbleEN xxiWowvut0txoK5PmDO6wbTYsTF4iLBKjTGKmLk4P6+9DX8SyiO/dNfc7NGfYW272fF/ s9XAC/oMyY9bGBtjy77RZI2bwEwPbqliuebEXzeDeVYOZt/8qqDAUe4zKqEUPWOZofKD nPXkKHr4q9KhwQwkKT/OeB9KWMFFcHAki0mFJKQ+UsppdK1wZdJwSmyA08VwPXAFddfG 5s2g==
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:cc: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=l+LJYE/6qNHBCRgiZjFO0qH/OnIAPBhtCZYIwGrMgjo=; b=PwLtkQrNg2iuW9jNBrXkbnVUpOZNEr1LgBwRRIDQkXeXHLv/PSC+7mYcKLbR7vLt+R suthAq3KtAVG0h94Qbx/euZRQy4S0JHEm48e4uyW1RKxS2vI4IvUaMfwfHwgDQzWm+3U g0kU4kuUs+L0+FNyTI4vu8g1org7bKwtHCYOXCWMKvi+KustHKS5RXXZ3dRZTJToiHzn +43mMWQOKoZw4yNdznjb2FhvZwh236mvoEt/6ZSKcW3mmEPcmNK9xt095ZhcOx5wryr0 WQVvowhwSxJoY2261djR5xQOgdYK68huoXeZfdNU1tV9PQNbd+idzfZzABbVJjZOWaHX pXSg==
X-Gm-Message-State: ANoB5pnZXcHjWGPbVxAIigBuVG8xQUpLfGTFR//9I3OY6JiF0jbQkA2g q5Nzc8kgtJIB5bFxhL3JQkQ=
X-Google-Smtp-Source: AA0mqf6oHId99oe6UVL2Cd/7xL/iRyDa2cPByrFqRDJ4tQ/JFQQUtZ2rZrUAdA6I3PaGX5k7bLKLkw==
X-Received: by 2002:a63:fe16:0:b0:46b:8e9:7d5f with SMTP id p22-20020a63fe16000000b0046b08e97d5fmr43431375pgh.597.1669923844340; Thu, 01 Dec 2022 11:44:04 -0800 (PST)
Received: from [10.5.3.177] ([114.23.167.17]) by smtp.gmail.com with ESMTPSA id y10-20020aa793ca000000b0056afd55722asm3596829pff.153.2022.12.01.11.44.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Dec 2022 11:44:03 -0800 (PST)
Message-ID: <d51350ad-0d1d-c046-707f-5fa3ecd2813e@gmail.com>
Date: Fri, 02 Dec 2022 08:43:57 +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@sandelman.ca>, "ipv6@ietf.org" <ipv6@ietf.org>
Cc: Vasilenko Eduard <vasilenko.eduard=40huawei.com@dmarc.ietf.org>
References: <8e49314ba8304b54be88fc365987a97c@huawei.com> <15402.1669922453@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
In-Reply-To: <15402.1669922453@localhost>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Pcni-wAyxZGVFpwwAOOx7yE2uOs>
Subject: Re: [IPv6] PvD (RFC 8801) is not relevant to MHMP
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: Thu, 01 Dec 2022 19:44:09 -0000

On 02-Dec-22 08:20, Michael Richardson wrote:
> 
> Vasilenko Eduard <vasilenko.eduard=40huawei.com@dmarc.ietf.org> wrote:
>      > If the application would use getaddrinfo(), Then the host would still
>      > try to choose the next-hop initially (RFC6724) in a random manner (ND
>      > section 6.3.6).  If the wrong physical or virtual router is chosen then
>      > rule 5.5 RFC 6724 would restrict PIOs applicably (the wrong PIO would
>      > be chosen too).  As a result, the packet would try to access the
>      > "walled garden" from the wrong address pace, it would be dropped.
> 
> I think that the bug is getaddrinfo().
> I think that we need a higher-level API that asks for a socket to a name.

True, getaddrinfo() is a weak solution, but I think the weakness is not
really in the "level". There's no reason that gai itself couldn't
interrogate a daemon instead of a table.

But Eduard also said

> Source address should be chosen by application internal logic.

I do not expect application programmers to be able to solve this
problem, and it isn't *internal* logic anyway - the knowledge to make
the best choice is likely cached elsewhere... by the daemon.

    Brian
> 
> That should result in some IPC to a daemon that knows stuff (like the current
> happy-eyeballs state), and stuff like PvD, and which user is allowed to
> run up bills for which ISP. (For "user" you can now understand "container",
> or "app"...).  The daemon would return one (or maybe more.. for QUIC) sockets.
> 
> The problem is finding someone to do this new work, and to manage to get it
> into major operating systems.  Google has done 80% of this work for Android,
> as I understand it.
> 
>      > I do not see how PvD is helping MHMP at all.  Because multiplying
>      > routers number on the link is not a solution when the host is not
>      > capable to choose which one to use.  The host would still have chances
> 
> I agree.
> 
> I've long thought that PvD is an IPv4 answer to a problem created by
> incompetent marketing people.   There are smarter IPv6 answers, which can
> result in even better marketing options for differentiated levels of service.
> 
> --
> ]               Never tell me the odds!                 | ipv6 mesh networks [
> ]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
> ]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [
> 
> 
> 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------