Re: [v6ops] AWS ipv6-only features

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 30 November 2021 19:57 UTC

Return-Path: <brian.e.carpenter@gmail.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 1AD8F3A1510 for <v6ops@ietfa.amsl.com>; Tue, 30 Nov 2021 11:57:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.95
X-Spam-Level:
X-Spam-Status: No, score=-3.95 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=-1.852, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V-SeiXaRabI7 for <v6ops@ietfa.amsl.com>; Tue, 30 Nov 2021 11:57:43 -0800 (PST)
Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 469DD3A07D3 for <v6ops@ietf.org>; Tue, 30 Nov 2021 11:57:43 -0800 (PST)
Received: by mail-pj1-x102b.google.com with SMTP id gf14-20020a17090ac7ce00b001a7a2a0b5c3so19109780pjb.5 for <v6ops@ietf.org>; Tue, 30 Nov 2021 11:57:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=hmw05YotCsaY5CnoMAh4qcXpmELckNWGF6+mJjVYdnc=; b=DwZdjJvjVQVslVk1kH2pocYxR8aDribCStvGs4XXjNWDIn5p6cqi2DPzkfZ/YPXXVV 354UoiDFDx59PC1DHlLwxF2qjDXUM+IQO23Scf8IXCPqtRoswd1s4Oru80HxyZMpRHWk yPqkNnJAkeKv2+5XbfnI9X5sU3UITqzeuL004iyBSw5GezyOcUJ2oNm0iHUOwZsDqo4u +uGOFhVsu48uP+AJnBsDfb+etMwXJnH+osI2hIE0tbx5fsFTP5/Rd+KKf6WD74I3XWHs YwlLBX/17aAsgfwqi75LV/voh2LhRZdbahWeMfsa3VF2Huw321ZADDxKBmFb36U1g6pR wD1A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hmw05YotCsaY5CnoMAh4qcXpmELckNWGF6+mJjVYdnc=; b=4UvVRbbkAVetrtQIzAtsRqKxeke02Ee0iNucgqG2GcZ8MSDjj1jYrvU7ZBEREz3XzM 010C8RSAf2uVYu/0sbcsvZKfHDIPTv9woz7Hthj3ci0HZlD3tnRz3Dm/skQbhxmrec/t 70rRccUmh0C1XKOjUEo/vtTWli2t9aIbtX1h3ulMEylepyhZUQvWOxXJxBg31V5sJXOH Fcqh2RYFZ/S4Dos+B+fBG47jkRa0IXOUI685kbFvAtmHYto5lLNz873JoVA2Zt4V4y94 XgG49kX71nwohm/VLkIKgLR8rLamwIvkFmjFRixXH51lPvavBZVzRJzOV/2yqDYp/hB5 q87Q==
X-Gm-Message-State: AOAM531ayHfxZxzseBW8DHag/wxyQxnq0bIAC1HrUPpm+Ksep2ULs4vR jhvbLXQiNTfUQt9InNQ2ot9PJ7J/HxdlKQ==
X-Google-Smtp-Source: ABdhPJyW6tm388mGKePyXwJUIfNqIbRPt5zxgizU/NqAr32nLaE8MoGiVmzronS2lja9P1Ybmn0qUA==
X-Received: by 2002:a17:90b:17ca:: with SMTP id me10mr1381052pjb.134.1638302261544; Tue, 30 Nov 2021 11:57:41 -0800 (PST)
Received: from ?IPv6:2406:e003:102d:e801:80b2:5c79:2266:e431? ([2406:e003:102d:e801:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id c15sm3348154pjg.53.2021.11.30.11.57.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Nov 2021 11:57:40 -0800 (PST)
To: Owen DeLong <owen=40delong.com@dmarc.ietf.org>, Philip Homburg <pch-v6ops-11@u-1.phicoh.com>
Cc: v6ops@ietf.org
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>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <682f0171-0f89-c1b1-4d2b-d21dbd53a771@gmail.com>
Date: Wed, 01 Dec 2021 08:57:38 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <C75C1488-6B27-4BE4-8B68-BFBF35748369@delong.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/-OuE_2cYbKdoCBPB_0bGWvW1Fgo>
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 19:57:48 -0000

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.

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.

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.

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

    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).