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

Vasilenko Eduard <vasilenko.eduard@huawei.com> Thu, 01 December 2022 19:37 UTC

Return-Path: <vasilenko.eduard@huawei.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 4DCFBC14F73E for <ipv6@ietfa.amsl.com>; Thu, 1 Dec 2022 11:37:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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=ham autolearn_force=no
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 X-0tP0NUlSxe for <ipv6@ietfa.amsl.com>; Thu, 1 Dec 2022 11:37:07 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFAEDC14F6E7 for <ipv6@ietf.org>; Thu, 1 Dec 2022 11:37:06 -0800 (PST)
Received: from frapeml100003.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4NNR8p05cGz687Rd; Fri, 2 Dec 2022 03:34:18 +0800 (CST)
Received: from mscpeml100001.china.huawei.com (7.188.26.227) by frapeml100003.china.huawei.com (7.182.85.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 1 Dec 2022 20:37:04 +0100
Received: from mscpeml500001.china.huawei.com (7.188.26.142) by mscpeml100001.china.huawei.com (7.188.26.227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Thu, 1 Dec 2022 22:37:03 +0300
Received: from mscpeml500001.china.huawei.com ([7.188.26.142]) by mscpeml500001.china.huawei.com ([7.188.26.142]) with mapi id 15.01.2375.031; Thu, 1 Dec 2022 22:37:03 +0300
From: Vasilenko Eduard <vasilenko.eduard@huawei.com>
To: Michael Richardson <mcr@sandelman.ca>, "ipv6@ietf.org" <ipv6@ietf.org>
Thread-Topic: [IPv6] PvD (RFC 8801) is not relevant to MHMP
Thread-Index: AdkFqg3UDW4ltMTnSF2gmDjoRTrU/P//7aiA///LmpA=
Date: Thu, 01 Dec 2022 19:37:03 +0000
Message-ID: <d89d647e330042d8bc281ffb4beaed5c@huawei.com>
References: <8e49314ba8304b54be88fc365987a97c@huawei.com> <15402.1669922453@localhost>
In-Reply-To: <15402.1669922453@localhost>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.126.170.114]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/jBppxYV8bXWHnAc4INWgtDnTkDY>
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:37:12 -0000

> I think that the bug is getaddrinfo().

If you said "A" then you should say "B".
This behavior of getaddrinfo() is fully compliant with RFC6724.
If getaddrinfo() is wrong, then RFC 6724 is wrong too.

I do not believe that it is possible to fix RFC6724 without reverting the order of choices: the packet should be constructed first (source address chosen) before the routing decision would be made (next hop choice).
But it is a different story.
In this thread, I am just claiming that multiplying the number of routers on the link (PvD) is not a solution when the host has a problem choosing properly.

Ed/
-----Original Message-----
From: Michael Richardson [mailto:mcr@sandelman.ca] 
Sent: Thursday, December 1, 2022 10:21 PM
To: ipv6@ietf.org
Cc: Vasilenko Eduard <vasilenko.eduard@huawei.com>
Subject: Re: [IPv6] PvD (RFC 8801) is not relevant to MHMP


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.

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    [