Re: [v6ops] I-D Action: draft-buraglio-v6ops-ula-01.txt

Fred Baker <fredbaker.ietf@gmail.com> Mon, 16 May 2022 20:33 UTC

Return-Path: <fredbaker.ietf@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 85A86C2B3821 for <v6ops@ietfa.amsl.com>; Mon, 16 May 2022 13:33:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.843
X-Spam-Level:
X-Spam-Status: No, score=-0.843 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, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, 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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gfxzzwl5DpyN for <v6ops@ietfa.amsl.com>; Mon, 16 May 2022 13:32:58 -0700 (PDT)
Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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 41230C2B71C3 for <v6ops@ietf.org>; Mon, 16 May 2022 13:32:49 -0700 (PDT)
Received: by mail-pj1-x1033.google.com with SMTP id gg20so5482118pjb.1 for <v6ops@ietf.org>; Mon, 16 May 2022 13:32:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:in-reply-to :date:cc:message-id:references:to; bh=JxqGEtl6mfGpsyxrZ2w6mflgZwiQ1w/bWjnhJdQOsCY=; b=cOtg/+E9NE8LpJdvAaTO3xWojHr7F+ZRgCefXlUU3qFrru1OadKLfPboLbc2rGyN16 VQcWYAjfID0H4gbeaj4XPvgS0G4GLgnM+I7JUmvVvJn2XagB4zenzRYl55sfJd5OpVki g6ICqdohxi13K9ZFRYq9PpkON/ksgQZmG8D7DcKuRxLmLy5Z06GCepHEMO2j/HMllX7n Rm4RL/ROyf+f4XHBkG3JCa4DRw2pZZqQilLt/ZH/+bReKAJ4tGbT8mwDutpqveYrUBeN PB5ZwlxRdar3Yq6F6OJMzA6rQ/ZM+4xloCxHeD1t/jtR/w88ZJTmD4MKGmiQ6aMfCOC1 EoTg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:in-reply-to:date:cc:message-id:references:to; bh=JxqGEtl6mfGpsyxrZ2w6mflgZwiQ1w/bWjnhJdQOsCY=; b=bPDGrcerftgXu9RLJmGa0hpVFxMeuHjcCAjIAsaE/F6KA0X79qoMEb4gBAUXpxakGq zYrq9aAWYbsxcT0ljpdGF1HunqyepTIciiFNRZZWiE/JKm8qnZYOFlGZg9UblRIWoy8K yzkAcZZ2V5ySDFC5XdBRxaQUsiMXMRvH9Cr9KZMN7NAj10Vv4gUJYOKK83PE6j+VPe64 Swo+fqMmMImar03XWc588MESIJcEeMKZ9pe3ZyzWscrM451T+z5Ibz5ErtgfTwDl7gbq 1Bp+ZUGNujpf1kSh2HCG3RqAaAFHNUb7acGYie0xgPvJcFL2NgOxHybu1iYC1IIV5wJo BVvw==
X-Gm-Message-State: AOAM532YnFbgROtf2/ZlVkhDinrq54rYnlJRAxS3i/NbH3tSjl58GQ8F 9Tf0n6nFzjPsWHubjvpkNuA=
X-Google-Smtp-Source: ABdhPJwrX45mqfHpG5K5RhpBNnq7zDswtm7y7Hox+8RZ3NQLGW0NyP70ZAFhz6zorj52w8gW3aJH3A==
X-Received: by 2002:a17:902:864b:b0:15e:f9e0:20ca with SMTP id y11-20020a170902864b00b0015ef9e020camr19054063plt.122.1652733168545; Mon, 16 May 2022 13:32:48 -0700 (PDT)
Received: from smtpclient.apple ([2607:fb90:669b:f9ab:4d30:b18d:6e1f:5df4]) by smtp.gmail.com with ESMTPSA id iy1-20020a170903130100b0016160b33319sm3979045plb.246.2022.05.16.13.32.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 13:32:47 -0700 (PDT)
From: Fred Baker <fredbaker.ietf@gmail.com>
X-Google-Original-From: Fred Baker <FredBaker.IETF@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail-F6D260D6-318C-4405-B4EC-D099D074DD06"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
In-Reply-To: <CAE=N4xecVTZL5dGwn4pQNtkubE_Y4a6dFdD4Wx5MCYX7yWUA8A@mail.gmail.com>
Date: Mon, 16 May 2022 13:32:45 -0700
Cc: Nicholas Buraglio <buraglio@es.net>, IPv6 Operations <v6ops@ietf.org>
Message-Id: <0601CF13-E019-4B78-9B5D-DE39C50E26F5@gmail.com>
References: <CAE=N4xecVTZL5dGwn4pQNtkubE_Y4a6dFdD4Wx5MCYX7yWUA8A@mail.gmail.com>
To: Ed Horley <ed@hexabuild.io>
X-Mailer: iPhone Mail (19E258)
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/pFFfNDNxLtAqKcFhuAE9ovRY3WE>
Subject: Re: [v6ops] I-D Action: draft-buraglio-v6ops-ula-01.txt
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.34
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: Mon, 16 May 2022 20:33:02 -0000

Well, look at the presentation Ron made on almost that topic at IETF 113, or read RFC 2418. The chairs are tasked with gauging working group consensus behind a document. We’re in turn looking for supportive discussion on the mailing list. Hep us make that happen.

Sent using a machine that autocorrects in interesting ways...

> On May 16, 2022, at 12:02 PM, Ed Horley <ed@hexabuild.io> wrote:
> 
> 
> I was curious what the process is for moving this to v6ops WG draft? I know several folks have requested this, sorry for my ignorance on the matter. I feel it wouldn't it make sense to get that done given that Brian and others are working on issues for RFC 6724 and there seems to be more discussion around the ULA topic in general. Thoughts?
> - Ed
> 
>> On Tue, May 10, 2022 at 9:01 AM Nick Buraglio <buraglio@es.net> wrote:
>> I added some additional verbiage based on your suggestions and addressed the NIT. 
>> 
>> nb
>> 
>>> On Sun, May 8, 2022 at 6:23 PM Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>>> Hi,
>>> 
>>> Thanks for this draft. I have a few comments (and a tiny nit at the end).
>>> 
>>> >  The core issue is the stated interpretation from gai.conf that has the following default:
>>> > 
>>> > #scopev4  <mask> <value>
>>> > #    Add another rule to the RFC 6724 scope table for IPv4 addresses.
>>> 
>>> I'm not sure why this matters. RFC6724 is quite correct to indicate that
>>> most IPv4 unicast addresses formally have global scope, but auto-config
>>> and loopback addresses have link-local scope. IPv6 is pretty much the
>>> same, and in particular ULAs have *global scope* even though they are
>>> not globally reachable. RFC1918 addresses are identical to ULAs in
>>> that respect.
>>> 
>>> Citing RFC4291 and https://www.rfc-editor.org/rfc/rfc8190.html#section-2.1
>>> would clarify the difference between global scope (architectural) and
>>> globally reachable (practical). What we care about here is whether an
>>> address is globally reachable ("no" for both RFC1918 and ULA, although
>>> they are both architecturally global). Unfortunately this distinction is
>>> lacking in the description of gai.conf and, I suspect, in the code of
>>> Linux getaddrinfo().
>>> 
>>> What I think is lacking in the draft is an explanation of how
>>> getaddrinfo() works and why it matters. Here's a walkthrough that
>>> I hope will help clarify what I mean:
>>> 
>>> Consider an end-user network with the following properties:
>>> 
>>> It is dual stacked.
>>> It uses 10.1.0.0/16 (NATted to the Internet).
>>> It uses (or wants to use)  fdee:face:fade::/48 for internal IPv6.
>>> It uses 2001:db8:fade::/48 for external IPv6
>>> 
>>> We'll neglect for now whether it has a subnet structure. It shouldn't
>>> matter.
>>> 
>>> Consider a host user.mynet.example.com, a local server printer.mynet.example.com,
>>> and a remote server www.theirnet.example.com. Assume they have these various
>>> addresses:
>>> 
>>> user.mynet.example.com has:
>>> 
>>> 10.1.0.1
>>> fdee:face:fade::1
>>> 2001:db8:fade::1
>>> 
>>> printer.mynet.example.com has:
>>> 
>>> 10.1.0.10  (A record in local DNS)
>>> fdee:face:fade::a  (AAAA record in local DNS)
>>> 
>>> www.theirnet.example.com has:
>>> 
>>> 192.0.2.15  (A record in global DNS)
>>> 2001:db8:cafe::f  (AAAA record in global DNS)
>>> 
>>> What do we *want* to happen?
>>> 
>>> If user opens a connection to printer, we want it to choose
>>> SA = fdee:face:fade::1
>>> DA = fdee:face:fade::a
>>> 
>>> If user opens a connection to www, we want it to choose
>>> SA = 2001:db8:fade::1
>>> DA = 2001:db8:cafe::f
>>> 
>>> Now, if user does a DNS lookup, via getaddrinfo(), the results
>>> will look like this (in the Python universe):
>>> 
>>> For printer:
>>> 
>>> (<AddressFamily.AF_INET: 2>, 0, 0, '', ('10.1.0.10', 0))
>>> (<AddressFamily.AF_INET6: 23>, 0, 0, '', ('fdee:face:fade::a', 0, 0, 0))
>>> 
>>> For www:
>>> 
>>> (<AddressFamily.AF_INET6: 23>, 0, 0, '', ('2001:db8:cafe::f', 0, 0, 0))
>>> (<AddressFamily.AF_INET: 2>, 0, 0, '', ('192.0.2.15', 0))
>>> 
>>> At this point, consider what RFC6724 says:
>>> 
>>>     As a consequence, we intend that implementations of APIs such as
>>>     getaddrinfo() will use the destination address selection algorithm
>>>     specified here to sort the list of IPv6 and IPv4 addresses that they
>>>     return.  Separately, the IPv6 network layer will use the source
>>>     address selection algorithm when an application or upper layer has
>>>     not specified a source address.
>>> 
>>> Thus, to get the desired behaviour, what matters is destination
>>> address selection: if we select DA = fdee:face:fade::a, then the
>>> ULA source address will follow.
>>> 
>>> Of course this is a small matter of programming, and most programmers
>>> just pick the first address. That's why we need the Section 10.6
>>> mechanism of RFC6724, to insert an appropriate precedence like
>>> 
>>>     fdee:face:fade::/48 45 14
>>> 
>>> which will prioritize local use of ULAs but will change nothing
>>> for off-site access.
>>> 
>>> At that point in my thinking, I started coding the program that
>>> I posted yesterday.
>>> 
>>> Nit:
>>> 
>>> s/gai.cnf/gai.conf/
>>> 
>>> Regards
>>>     Brian
>>> 
>>> _______________________________________________
>>> v6ops mailing list
>>> v6ops@ietf.org
>>> https://www.ietf.org/mailman/listinfo/v6ops
>> 
>> ᐧ
>> _______________________________________________
>> v6ops mailing list
>> v6ops@ietf.org
>> https://www.ietf.org/mailman/listinfo/v6ops
> 
> 
> -- 
> Ed Horley
> ed@hexabuild.io | (925) 876-6604
> Advancing Cloud, IoT, and Security with IPv6
> https://hexabuild.io
> And check out the IPv6 Buzz Podcast at https://packetpushers.net/series/ipv6-buzz/
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops