Re: [IPv6] I-D Action: draft-ietf-6man-rfc6724-update-00.txt

David Farmer <farmer@umn.edu> Sat, 21 October 2023 02:22 UTC

Return-Path: <farmer@umn.edu>
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 AB911C15108F for <ipv6@ietfa.amsl.com>; Fri, 20 Oct 2023 19:22:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.806
X-Spam-Level:
X-Spam-Status: No, score=-2.806 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=umn.edu
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 WklB7cFIr9pa for <ipv6@ietfa.amsl.com>; Fri, 20 Oct 2023 19:22:23 -0700 (PDT)
Received: from mta-p6.oit.umn.edu (mta-p6.oit.umn.edu [134.84.196.206]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BA9BDC151083 for <ipv6@ietf.org>; Fri, 20 Oct 2023 19:22:23 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mta-p6.oit.umn.edu (Postfix) with ESMTP id 4SC4wZ70ysz9vYTg for <ipv6@ietf.org>; Sat, 21 Oct 2023 02:22:22 +0000 (UTC)
X-Virus-Scanned: amavisd-new at umn.edu
Received: from mta-p6.oit.umn.edu ([127.0.0.1]) by localhost (mta-p6.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JTDSG-SNKWy2 for <ipv6@ietf.org>; Fri, 20 Oct 2023 21:22:22 -0500 (CDT)
Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p6.oit.umn.edu (Postfix) with ESMTPS id 4SC4wZ3qwlz9vYTl for <ipv6@ietf.org>; Fri, 20 Oct 2023 21:22:22 -0500 (CDT)
DMARC-Filter: OpenDMARC Filter v1.3.2 mta-p6.oit.umn.edu 4SC4wZ3qwlz9vYTl
DKIM-Filter: OpenDKIM Filter v2.11.0 mta-p6.oit.umn.edu 4SC4wZ3qwlz9vYTl
Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-9ae0bf9c0a9so88630666b.3 for <ipv6@ietf.org>; Fri, 20 Oct 2023 19:22:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; t=1697854940; x=1698459740; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=IArJeZUJ2qMOrwtid4c4Ralzb9QGZSTCKcuRZflbpM0=; b=Cjo7mFuKpSyQ9PIuveNqJyKhG/5zyztz+4xVmqyi1kIWxdIBjT/yeHn8icisE6cA0M vtzqzkrgzFp8fR8AGwW1FbWAXhMhn8d/wK/AYg33URqQaiXNSEX4EQ8spYHjy5FZfL73 JqKPOfX5oAUXK/kSiNqb2XA5dbEQcJSj/cb+wawaaTfq24iB3XzOJfD/z15KULF40gqx 5snE0IdrGGFdhEfEfb/L0JsJAuhD0Gs1+fsTzwh4O6IkRakX+4RyvlU68HtG6wPJYZin 3SAusQqnm4drAth9XQFE0/Tt2vW+cfvsrXCO8FgQCL8K8lrVGuyiFWP9jLXpqQkCxlcJ S0sw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697854940; x=1698459740; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IArJeZUJ2qMOrwtid4c4Ralzb9QGZSTCKcuRZflbpM0=; b=Pkv+iKBZQ8cpmjDoD/s23UTr/3+Wez9aKgVdZvy9H23zslELIsOcnszLRgLzYYLdIp 7NNfQoBDHpl4p+Nou9Oo3n38sYkMKLpK5SDX8xCM+GLDe2RnLdb5SwsqsTASfc7i1/2X Vk+/BlOpjNCLqz1G4II3tVheHaV2C3Z+OfIUb90mWdjhiTgApFNRaEyOJk+tHELuzTrI smkNsip7Gzrp80QWk/hZiS40fyfd76YHTWuDrVQCOXNhsocDCFyUC+kyYMVjFUyZTlm9 u183WLBKGaIdUMrjW3kdPyBrbjAngbTRvdIjfWNi8TMmuE50xNQz4uXepLUoQ4BljCjz GAhg==
X-Gm-Message-State: AOJu0YyIAsV+4OZmkvC74Oal4mIUwBd0wkSdQi5n5aF86TY/Rh7BMMvv APFodseNaF5mXdB4PH5bnYNB6xbKDsJikxrdIaJUMCueOjCAGlB83Mjttb0XYvijwbre55MIZnD PuICkBvT1iqKKmGxQRnDSCM+/mRFKEYTfUI8=
X-Received: by 2002:a17:907:608e:b0:9c4:b8c9:1bf3 with SMTP id ht14-20020a170907608e00b009c4b8c91bf3mr2717540ejc.27.1697854939873; Fri, 20 Oct 2023 19:22:19 -0700 (PDT)
X-Google-Smtp-Source: AGHT+IEQMjjoMX59PCdhRLMg5chGro84hhoLQJG8fL5T4WiJsCuHkuMkGrBeG1Fqew+LKiDl3JlBimmpWmZskHcNZIg=
X-Received: by 2002:a17:907:608e:b0:9c4:b8c9:1bf3 with SMTP id ht14-20020a170907608e00b009c4b8c91bf3mr2717533ejc.27.1697854939510; Fri, 20 Oct 2023 19:22:19 -0700 (PDT)
MIME-Version: 1.0
References: <169686229022.13380.1151518565582812589@ietfa.amsl.com> <b6e5c407-c50c-4834-b5df-d7362b764fe2@Spark> <PH0PR11MB4966868276813E0C8A1AACABA9D5A@PH0PR11MB4966.namprd11.prod.outlook.com> <CAN-Dau26C0dqXvr3i_VdZJtbkRes4APjXY1xHsbFw3zpWzj8Aw@mail.gmail.com> <92A814D5-FA86-4FAB-8843-7B3D7DDB23E8@employees.org> <CAN-Dau1=+hG-oK+cN49xJ2Ru+mm57Cfai3HNrLcO1fqEDaMarQ@mail.gmail.com> <c724c76c-0d01-43d9-a3df-6d1c8b21d3c6@gmail.com>
In-Reply-To: <c724c76c-0d01-43d9-a3df-6d1c8b21d3c6@gmail.com>
From: David Farmer <farmer@umn.edu>
Date: Fri, 20 Oct 2023 21:22:02 -0500
Message-ID: <CAN-Dau3_vxcOckLC56GMHkddq2NteN=7oV68LmZf_TssQvxZjg@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: Ole Troan <otroan@employees.org>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000008cd19b060830a867"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Dx5vXW-JwfVLRqlHmr8yxONzLKM>
Subject: Re: [IPv6] I-D Action: draft-ietf-6man-rfc6724-update-00.txt
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: Sat, 21 Oct 2023 02:22:28 -0000

On Fri, Oct 20, 2023 at 5:33 PM Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> On 21-Oct-23 10:09, David Farmer wrote:
> >
> > On Wed, Oct 18, 2023 at 2:03 PM Ole Troan <otroan=
> 40employees.org@dmarc.ietf.org <mailto:40employees.org@dmarc.ietf.org>>
> wrote:
> >
> >      > Therefore, the policy table, as proposed, discourages the use of
> ULA with NPTv6, NAT66, or NAPT66, which, if I'm understanding you
> correctly, is what you would like.
> >
> >     The behaviour _I_ would like is for RFC1918 and ULA sources to be
> treated equally for global DA.
> >     Expecting HE / host heuristics would deprioritize one or the other
> as the host learns the SAs actual reachability.
> >
> >     I don’t think the answer to that problem is a separate block of IPv6
> space for ULA with global reachability (how many address classes are we
> going to have) or to per-network modify the host SAS policy.
> >     Operators are then instead solving it by using an address space that
> does behave that way. E.g. 2001:db8::/32.
> >
> >
> > Using ULA for global communications and reachability conflicts with the
> very definition of ULA in RFC4193. From the Intro of RFC 4193, "This
> document defines an IPv6 unicast address format that is globally unique and
> is intended for local communications [IPV6]... They are not expected to be
> routable on the global Internet."
>
> That's true, but (Experimental) RFC 6296 explains how ULA<-->GUA can work.
> If a user chooses ULA<-->GUA and there is no NPTv6 or NAT66 present, the
> user loses. More rational address selection is possible if the host has
> access to a "NPTv6 (or NAT66) present" flag. (Actually, the same is true in
> IPv4 - if there was a "NAT44 present" flag, it could be tested before
> trying to use an RFC1918 source address. But it isn't needed in practice
> because NAT44 is so widespread.)


Actually, that only works with the Default Address Selection policy table
of RFC3484, which doesn't have a separate label for ULA. With the Default
Address Selection policy table of RFC6724, IPv4 will always be selected
over ULA. Even with this update, increasing the preference for ULA, as has
been discussed, IPv4 will be selected over a ULA Source with a GUA
Destination because of the separate ULA label. Further, as discussed in the
draft, changing the policy table can be almost impossible in many
situations.

I believe Ole is instead suggesting removing the ULA label from the policy
table restoring NPTv6, NAT66, or NAPT66 functionality with ULA by default.
Preferring IPv6 GUA and ULA equally and over IPv4 and only relying on Happy
Eyeballs (HE) to determine reachability between IPv6 and IPv4.

> As currently defined, if the host only has a ULA source address, the host
> can expect only to have local connectivity. If the host also has a GUA
> source address, the host can expect global connectivity. Just because we
> blurred this distinction in IPv4 doesn't mean we should also blur the
> distinction in IPv6. We have plenty of IPv6 addresses to have separate
> local and global address formats, and that is why ULA was defined as a
> separate address format.
> >
> > There is no good way to maintain the distinction between local names and
> global names in the DNS. If we can't maintain a clear distinction between
> local and global IPv6 addresses, then we are doomed to confuse the local
> and global domains forever. Let's not do that!
>
> I think we're pretty close to that abyss already, and we can't pull back
> from it without replacing getaddrinfo(). This fix to RFC6724 is the best we
> can for current running code, however.
>
> Also, it turns out that the IESG holdup on draft-ietf-6man-rfc6874bis-09
> is closely related to this very question. Over in Webland, they really
> don't know how to handle the issue of locally scoped IP addresses. See
> https://wicg.github.io/private-network-access/
>

In my opinion, removing the separate label for ULA pushes us into the
abyss, and we will forever confuse the local and global domains. If we
continue the local vs. global confusion we created in IPv4, in IPv6, there
will be no hope for them to ever figure out how to handle the issue of
locally scoped IP addresses.

Thanks.

-- 
===============================================
David Farmer               Email:farmer@umn.edu
Networking & Telecommunication Services
Office of Information Technology
University of Minnesota
2218 University Ave SE        Phone: 612-626-0815
Minneapolis, MN 55414-3029   Cell: 612-812-9952
===============================================