Re: [IPv6] Second Working Group Last Call for <draft-ietf-6man-rfc6724-update>

Ted Lemon <mellon@fugue.com> Thu, 11 April 2024 14:31 UTC

Return-Path: <mellon@fugue.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 B7F08C14F68E for <ipv6@ietfa.amsl.com>; Thu, 11 Apr 2024 07:31:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.898
X-Spam-Level:
X-Spam-Status: No, score=-6.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20230601.gappssmtp.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 1MMUuiUfsvVv for <ipv6@ietfa.amsl.com>; Thu, 11 Apr 2024 07:31:40 -0700 (PDT)
Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 F0999C14F708 for <ipv6@ietf.org>; Thu, 11 Apr 2024 07:31:40 -0700 (PDT)
Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-4349685c845so25398111cf.0 for <ipv6@ietf.org>; Thu, 11 Apr 2024 07:31:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20230601.gappssmtp.com; s=20230601; t=1712845899; x=1713450699; 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=9bwtjRMAY0s/86i8gxSVV56Oz2FuEmA7taNmDxY5Kus=; b=PVod+xfelkTL6hvdhH+ySgIdFWb+8smAVRZqlrFV4dwWMn3Gt5QIotH7uemEVXipuu EzEIuzSAy5vy6UdGBoB2JgwrUEIH8RotJhIhdaw2U84VQ2J9N4NfeBeHbOO1UfGN5nzK mKjr9ajWrPJ4QmAbyN4HvljAiYWdKgommMSZeAlBQWDMXYO3IY/Ansr7vBh+Q9kLG+FY DaMRA2heY3K2bbIh37soRDxW30uLCJTdm0XWZ/epkiiVW+LxGuJmmzzczp84M6YCvUln xN/s6Y1Mq+Y33byYx6oFT8SmLjiGlooziyWfs8sjf8CHYxw6CjjPATIdEJWRRdz83MsE lVEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712845899; x=1713450699; 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=9bwtjRMAY0s/86i8gxSVV56Oz2FuEmA7taNmDxY5Kus=; b=t+mwJYzAxpftDfjNWrAYnTNkWr3Am64VMNGykT7SStRjUblRsKHgLj9PFUrG68DZud kkAq2VbLn9J2butn5X13HqdD3aAdWvtS7pO3cpZM6ekSSBX+zlFytxOZwfJPrgm2Q/41 kRX1zKT7TBnSj2sKsu3cswQI3sbM+0cRzHDnN/Ss55XvGD1/Ln7RoG12kaFY9WHONXfB fgEDgF5U2G7TvT56zWyXfCk/UHsrBDnXXZ1YRd20xUX7iT+Dwr47RndpTqAazL0OOnSD bQsu5EtWGC7S+NCydekaKlH4Y4+ERWOinpccpVa/B2sJ6GCwAQzZ2PiJWnvxl76UIxRU 2k+Q==
X-Forwarded-Encrypted: i=1; AJvYcCXmlUFPzWSS1mTwiPtinZiI45RWhYOEqDb4uzOL2CctixGWCiW/y0zLbL9bRn0IIlP3pw5b54gVaKPTh8sn
X-Gm-Message-State: AOJu0YxeHF76Pg2TbWw6JAOI+6pRmXqZ0RLqrTad/0wdtcbzI1lGKCtB Ux1IHG6O8mpsjHYzRQjpV051vDEeF+Y2DDH8sjKuyqMlWTf/zqg5zlqgTUZO+QtogyeoHeWRGFV fpmHQBWhvq9+UcqAjs+pxZWPKeRbABnNlZh1g2A==
X-Google-Smtp-Source: AGHT+IHFOqIZBTCIq8vEEZNsvHI6V1wxrmhehjiiHXI+to+3GxNKDor1asVztrUAVTOVuMnOOKFZsDmmt1i3+JrJ454=
X-Received: by 2002:ad4:5e86:0:b0:69b:17b2:df34 with SMTP id jl6-20020ad45e86000000b0069b17b2df34mr5637220qvb.63.1712845899144; Thu, 11 Apr 2024 07:31:39 -0700 (PDT)
MIME-Version: 1.0
References: <6A5E5F35-B35F-4358-8EE1-3BD82329141E@jisc.ac.uk> <6FBC1B5A-BF28-4B05-B2B2-A60DA4707755@gmail.com> <CAPt1N1m-Ye8vfOVnsPesFshLMV5QuVoxWqM=HVZiJ37zaBg6AA@mail.gmail.com> <CAKD1Yr1NTvFj0zB0=+nnUKck7TBtwHFz2XoFkD1smx4yCuZohQ@mail.gmail.com> <CAJU8_nWyE5TqBTXB9wfSkn6refaqYNVN967YAtCp-0VMk-5qWQ@mail.gmail.com> <CAPt1N1mqszfafMMY=54ezpoRymoy=bBjeVnWzxj6A27smR1eig@mail.gmail.com> <CAJU8_nWDDfwWEoahU4dqTEh3_HCq2UfpkFjefnXohb+5DAbjew@mail.gmail.com> <CAPt1N1nTJ1sDEQrn1iNUbvreu5bt0BweWgX7iOw6fmPgNBvUqw@mail.gmail.com> <CAJU8_nWsg=eGxu59akfB0+pOTJ-TYud-a_wGhtgnpp1RizVhrw@mail.gmail.com> <CAPt1N1nbTuSH4GGrimFAxe3YqTLbhiTX5KVjYsw+JRjoadzzrw@mail.gmail.com> <CAJU8_nU-+PcARtdLZ4cTOP_TQX5FQXPfALfs5MsivP84tFihPQ@mail.gmail.com>
In-Reply-To: <CAJU8_nU-+PcARtdLZ4cTOP_TQX5FQXPfALfs5MsivP84tFihPQ@mail.gmail.com>
From: Ted Lemon <mellon@fugue.com>
Date: Thu, 11 Apr 2024 10:31:02 -0400
Message-ID: <CAPt1N1=+u4ggXy0FYP1QcdFtyUHFJxsYZ7EFxY19XULy1pNCMQ@mail.gmail.com>
To: Kyle Rose <krose@krose.org>
Cc: Lorenzo Colitti <lorenzo=40google.com@dmarc.ietf.org>, Bob Hinden <bob.hinden@gmail.com>, IPv6 List <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000005fbed60615d303a6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/0nV5ThJKa9CkniFkEHQY2BD7tc0>
Subject: Re: [IPv6] Second Working Group Last Call for <draft-ietf-6man-rfc6724-update>
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, 11 Apr 2024 14:31:41 -0000

On Thu, Apr 11, 2024 at 9:45 AM Kyle Rose <krose@krose.org> wrote:

> On Thu, Apr 11, 2024 at 9:29 AM Ted Lemon <mellon@fugue.com> wrote:
>
>> Kyle, I don't know if you can see this from where you're sitting, but you
>> are making a religious argument here. It is not a misconfiguration to put a
>> ULA in the DNS right now in the sense that it causes a problem.
>>
>
> This is not true. As I've noted several times over the past year, the
> current behavior of glibc's getaddrinfo in Debian stable and maybe other
> Linux distributions is to prefer ULA to IPv4, contra 6724. It does this by
> combining the 6724 labels (so ULA and GUA are not mixed) with the 3484
> precedences (so all IPv6 is preferred to all IPv4). I have no idea who made
> that change or when it was introduced, but that person was a visionary;
> BUT, in doing so, it would break (timeout/rejection, retry, etc.) with
> unreachable ULA.
>

I think arguing about getaddrinfo is sort of beside the point—an API like
that can't work because it doesn't have control over source address
selection, and has to just pick a destination address and hope the kernel
gets source address selection right. And then you wind up doing Happy
Eyeballs to compensate for the short comings of the API, which we both I
think would prefer to avoid.

As long as apps continue to use getaddrinfo, there's really nothing we can
do about this. Fantasizing about outlawing ULAs in the public DNS will not
solve the problem. It's true that glibc probably doesn't currently have a
way to figure out whether a particular ULA is known-local or not, but
there's no actual reason why it couldn't know. It just currently doesn't.

Adding known-local detection to the glibc getaddrinfo implementation would
in fact address the problem that you are describing. Publishing the
document without making this mandatory will not address your problem. glibc
is already doing what you want the document to mandate—prioritizing ULA
over IPv4. I still don't get why we are arguing about this—I know I must be
missing something about your position on this, but I can't figure out what.

It's a misconfiguration because it doesn't match your mental model of How
>> Things Should Be.
>>
>
> I am indeed arguing that putting unreachable addresses in global DNS is a
> misconfiguration. As a site administrator, I wouldn't put either RFC 1918
> addresses or ULA into global DNS if I wanted clients to be able to connect
> without timeouts and retries. There are certainly alternate histories of
> the internet in which such a model would have been okay, but that's not the
> internet we have in this timeline.
>

I don't disagree with you about this. It doesn't match my mental model
either. However, this just isn't relevant to this discussion—neither you
nor I have control of all DNS zones on the Internet, and that's probably a
good thing. So if we want to see better behavior when zone operators
violate our expectations, the only knob we have to turn is to improve host
implementations.