Re: [v6ops] AWS ipv6-only features

Owen DeLong <owen@delong.com> Tue, 30 November 2021 20:49 UTC

Return-Path: <owen@delong.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 876943A1564 for <v6ops@ietfa.amsl.com>; Tue, 30 Nov 2021 12:49:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=delong.com
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 atdzwRW3-Xdl for <v6ops@ietfa.amsl.com>; Tue, 30 Nov 2021 12:49:26 -0800 (PST)
Received: from owen.delong.com (owen.delong.com [IPv6:2620:0:930::200:2]) by ietfa.amsl.com (Postfix) with ESMTP id 6C4CC3A1569 for <v6ops@ietf.org>; Tue, 30 Nov 2021 12:49:26 -0800 (PST)
Received: from smtpclient.apple ([IPv6:2620:0:930:0:55bf:e147:f678:fe9e]) (authenticated bits=0) by owen.delong.com (8.16.1/8.15.2) with ESMTPSA id 1AUKnKur1748939 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 30 Nov 2021 12:49:20 -0800
DKIM-Filter: OpenDKIM Filter v2.11.0 owen.delong.com 1AUKnKur1748939
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=delong.com; s=mail; t=1638305362; bh=53TY2jVZMBvJMkotFlEtSdXubqLudIG+RGx0UneawMk=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=cZmiJcu2BWOg2psCs2x0nQtikjUSjSVtLHxVGONvjs9BqtOyKv9JnsG0r4aT2gtFC n8/D7hjEc3r2Coei39AhAZFeRicSyYXEu1n4NvhGDkUKUeaKptDjkFCOodaZ6BVPOc enWrjx0ffnLd/W3CHRdFyAxUmchmfZ+9YlHkyl14=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Owen DeLong <owen@delong.com>
In-Reply-To: <682f0171-0f89-c1b1-4d2b-d21dbd53a771@gmail.com>
Date: Tue, 30 Nov 2021 12:49:20 -0800
Cc: Owen DeLong <owen=40delong.com@dmarc.ietf.org>, Philip Homburg <pch-v6ops-11@u-1.phicoh.com>, v6ops@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <AEA4A533-E4AC-45F4-AE34-5193413DA572@delong.com>
References: <CAD6AjGRAkpMDaAh31mVL=+Gcz5PHejUxxLazr4Xb=vVRHfaSpw@mail.gmail.com> <CAO42Z2z8u_DQMd9eNSQp_RhBinXk2KyH4pdbVLMEqOta-hoG1w@mail.gmail.com> <CADzU5g5odQ82FJ0TsdNxFB42OkgLZ+PWanLLrK1roLojAUS54A@mail.gmail.com> <CAO42Z2z+ZJ_pLwZmBjZ_HFsNXQ6jok-PMRTP23ZD2UMch61wtw@mail.gmail.com> <CAM5+tA9JhRWfZ2VLLQnT8Mg+Xng-+Rc-oQnX8Ma5DguL2uDO8w@mail.gmail.com> <C7A86994-311E-4D94-80AE-74A15D6D62B1@delong.com> <m1mrzjf-0000GqC@stereo.hq.phicoh.net> <C75C1488-6B27-4BE4-8B68-BFBF35748369@delong.com> <682f0171-0f89-c1b1-4d2b-d21dbd53a771@gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (owen.delong.com [IPv6:2620:0:930:0:0:0:200:2]); Tue, 30 Nov 2021 12:49:22 -0800 (PST)
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/jEH6inikRLqSMAFF07hypS7vB18>
Subject: Re: [v6ops] AWS ipv6-only features
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Nov 2021 20:49:31 -0000


> On Nov 30, 2021, at 11:57 , Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> 
> On 01-Dec-21 06:14, Owen DeLong wrote:
>>> On Nov 30, 2021, at 01:47 , Philip Homburg <pch-v6ops-11@u-1.phicoh.com> wrote:
>>> 
>>>>   On Nov 29, 2021, at 10:33 , Nick Buraglio <[1]buraglio@es.net>
>>>>   wrote:
>>>> 
>>>>   "ULAs are preferred over GUAs, so when a host is presented with
>>>>   both a ULA and GUA as possible ways to reach a destination, the
>>>>   host will select the ULA. Once the ULA destination address is
>>>>   chosen, the host will then choose its ULA as a source address
>>>>   to reach the ULA destination. This preference of ULA addressing
>>>>   over GUA addressing is the mechanism that provides internal
>>>>   network connectivity independence from concurrent external
>>>>   Internet connectivity."
>>>> 
>>>>   Yep... The moral of the story is that GUA works as intended and
>>>>   ULA is a bit of a mess.
>>> 
>>> I'm a bit confused about this scenario.
>>> 
>>> Typically a hosts gets addresses from DNS. So this suggests that people
>>> create DNS RR sets that contains both GUAs and ULAs.
>>> 
>>> Is this common practice somewhere? Do people expect that something sensible
>>> will happen if you try that? Is it documented what should happen?
>> Probably more common in mDNS than DNS, but yes, something sensible SHOULD
>> happen as documented in the RFCs:
>> AAAA record sorting in getaddrinfo() or getnameinfo() should return the ULA records
>> before the GUA records in the linked list.
> 
> That should be an application programmer's choice, I think, because whether
> ULAs should be preferred is an application-specific choice. In some cases,
> a "happy eyeballs" heuristic might even be best. In any case, I don't see
> how the IETF can design a one-size-fits-all solution.

Well… The application programmer is free to go to extraordinary measures to traverse
the results from getaddrinfo() in whatever manner they wish, but the intended modus
operandi and the path of least surprise is to read the list in order and the order (absent
administrator interference in the source address selection choice via configuration)
will be ULA then GUA for all of the most obvious reasons.

> Also, of course, there are choices like: does a printer need a GUA? Why
> wouldn't a ULA be sufficient? The same goes for any internal-use-only
> server.

Right, but if the printer has ULA only and no GUA AAAA record, then this entire
discussion is a non-issue as address selection is moot if there’s only one choice.

> Also a site could decide not only to use split-horizon DNS, but also
> to use different DNS names for different addresses, e.g.
> internal-server@example.org for the ULA and server@example.org
> for the GUA.

Again, only one name is getting queried at a time in getaddrinfo(), so
something like that is moot as each name would return only one address.

We’re talking about what happens when a single query returns multiple
AAAA records, some of which are each of {ULA,GUA}.

> We abandoned draft-ietf-v6ops-ula-usage-recommendations and draft-ietf-v6ops-ula-usage-considerations. Maybe it's time to restart such an effort.

Personally, I’d favor abandoning ULA altogether, but I know that’s not a popular view.

Owen

> 
>   Brian
> 
>> As a result, an application that sensibly iterates through the list in order (as is expected
>> behavior) should connect via GUA if possible (if not, it should rapidly receive an error
>> and move on to the next item in the list, so no extraordinary processing or coding
>> is required in the application).
> 
> 
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops