Re: [Int-area] [arch-d] Is IPv6 End-to-End? R.I.P. Architecture? (Fwd: Errata #5933 for RFC8200)

Tom Herbert <tom@herbertland.com> Fri, 28 February 2020 18:12 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 894363A1B8B for <int-area@ietfa.amsl.com>; Fri, 28 Feb 2020 10:12:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level:
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 X6w-QH9twxk7 for <int-area@ietfa.amsl.com>; Fri, 28 Feb 2020 10:12:18 -0800 (PST)
Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (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 030173A1B77 for <int-area@ietf.org>; Fri, 28 Feb 2020 10:12:17 -0800 (PST)
Received: by mail-ed1-x544.google.com with SMTP id p14so4358816edy.13 for <int-area@ietf.org>; Fri, 28 Feb 2020 10:12:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=nbqj66hSx047hP3c2jdr/Ia18PUNaaE5PFZIaHs2zJY=; b=g6LEVdWSz+ysvrk8DrNIrMeGvHTXcQ5vCKCC+n+CREQVOi3huXaE/mFpXnwLdso8Hn wbShg1qN/ngSmv8dnKA+RBPpgKyIpMkU1CvndDo+Frdi1GimAKETK1XJAkt7aDt1sBN9 G0RgBolT7DNR4i+iwvSuPtz2URs6jb+R4CiffObNnMpfqYZmO9ZA/cQ9PslUVUSRnbJ8 zoNTfov2FgDMpZw+rwCYp+kp7CRd6TVllP1ZWf6sL0vZsbe3MNfma3HZRYX0Z89KURX6 5dM9FZPn6iNJDBbL8Cv92zVw1KKG5XaFXLQF/brz9bF7W9V5GQrtRsWs9mXR5eb976Or AI2w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=nbqj66hSx047hP3c2jdr/Ia18PUNaaE5PFZIaHs2zJY=; b=BBxE2sFsF40BbIMx5+mhtEasuZTghJQ/r1QAO4aAQEuza65hIXWlycbyG28DQIANEX GllTKytj1hFRApBtwGiJ2TBZhL/XpKWIvkxyavzbyC/LDylEYav3AD0mK6vNljFjdN5U qxgm5ASS3Ebq1omRxmBZc0hMoOemqqfzLrTkzV7uPbhel5lnAhTI9/77AjgKe54/85GF JVDhPteflrsvqS/wyjaXkUAEYJNFwgJJwLshoi90VVAgXJgjBhb0py4Qe+/dXoR+4sof Sli3rbczHf+udBhYAeA2GixXSWXl2zJSU40zn5KTyH+JMJXkoflsB97cHGlW+gaQWlAS wOXg==
X-Gm-Message-State: ANhLgQ3j1NvsSZIBtd+SZFOkkA+yNK4il2um2cuT3hnGkcj26/Dqg+FN 6txlCfVk7gdWaMwM8DEQMs6ZI4Q3RSk0qCiyuY5qfg==
X-Google-Smtp-Source: ADFU+vt5Do6QBx27KTHAajMP6KBpqFz193bGVl7UOn0sAZU8voOzHiVaRFRw//Yn9ktymZ4FP25PbATNxOh5PyaGfSQ=
X-Received: by 2002:a17:906:729c:: with SMTP id b28mr528875ejl.295.1582913536346; Fri, 28 Feb 2020 10:12:16 -0800 (PST)
MIME-Version: 1.0
References: <876c9105-3da4-e614-2db0-bea025b54663@si6networks.com> <7749f91f-03f1-cc14-bae8-5fe68c88879f@si6networks.com> <CALx6S36wN7VEi_rxLC1ETcTvkGaPhs20KhQrGWAGGTrCL5OT+g@mail.gmail.com> <CAMm+Lwg+4xMv=EKLfvmZMCgrQz31+38Fv0bYKeJ0fTB5vbXiaw@mail.gmail.com> <8d3e7b714666db00e0c05a2e06959da6@strayalpha.com> <CAMm+LwjYeSTro_TJujtRPDfVKtVMg7JbDL6A5V3Tj447c2E7nA@mail.gmail.com> <74763844-FA56-43DC-981E-E366E2C24758@strayalpha.com> <CAMm+LwjeWXUmOEzvbUhrG1H8OMqG9EhcF3TzdZBA61LnySSPqw@mail.gmail.com> <CALx6S35ko4zfCWwtR+LTKR6NdH86pVx7E-JoF0Cf4RVZOSJtkA@mail.gmail.com> <CAMm+LwjxxTQmJMPxydMGC5GByHu2qkbd_+W1and=xOMhq2RV6g@mail.gmail.com>
In-Reply-To: <CAMm+LwjxxTQmJMPxydMGC5GByHu2qkbd_+W1and=xOMhq2RV6g@mail.gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Fri, 28 Feb 2020 10:12:05 -0800
Message-ID: <CALx6S34ikDKdKeEfCJQF+ZGdNorsXZHRL=8u8bXdZ1NRpaLmvA@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Cc: Joseph Touch <touch@strayalpha.com>, Internet Architecture Board <iab@iab.org>, architecture-discuss@iab.org, Internet Area <int-area@ietf.org>, IETF Discussion Mailing List <ietf@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/ZwW6X8IlMFb_9bQ9Plaj6otAQ0A>
Subject: Re: [Int-area] [arch-d] Is IPv6 End-to-End? R.I.P. Architecture? (Fwd: Errata #5933 for RFC8200)
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Feb 2020 18:12:23 -0000

On Fri, Feb 28, 2020 at 9:20 AM Phillip Hallam-Baker
<phill@hallambaker.com> wrote:
>
>
>
> On Fri, Feb 28, 2020 at 11:14 AM Tom Herbert <tom@herbertland.com> wrote:
>>
>> On Fri, Feb 28, 2020 at 5:32 AM Phillip Hallam-Baker
>> <phill@hallambaker.com> wrote:
>> >
>> >
>> >
>> > On Thu, Feb 27, 2020 at 11:36 PM Joseph Touch <touch@strayalpha.com> wrote:
>> >>
>> >>
>> >>
>> >> On Feb 27, 2020, at 4:21 PM, Phillip Hallam-Baker <phill@hallambaker.com> wrote:
>> >>
>> >>> IP end to end does not mean the IP address is constant end to end. It never has meant that and never will.
>> >>>
>> >>>
>> >>> Actually, that's the only thing it ever meant and always will. When addresses change, *by definition*, the*ends* change (and yes, that's what NATs do - they create end-to-end CONTENT transfer over separate end-to-end Internets).
>> >>
>> >>
>> >> By whose definition? Not by mine.
>> >>
>> >>
>> >> I’d start with RFCs 791 and 1122, but there’s also the pseudo header in RFC 793, to be very specific.
>> >>
>> >> TCP and TLS give me a reliable end-to-end stream. The fact that the IP address is exposed is merely an unfortunate defect in the legacy APIs.
>> >>
>> >> As the application layer designer, I am the customer here. I do not care about the IP address.
>> >>
>> >>
>> >> Hmmm. By what value do you call  TCP endpoint?
>> >>
>> >> You must have magic sockets that don’t actually refer to IP addresses.
>> >
>> >
>> > I have a library that implements RFC6763. So my application code doesn't actually consider IP addresses.
>> >
>> It's great that _you_ have a solution, but not everyone does. The
>> standard says that a TCP connection endpoint is defined by a 4-tuple
>> of source address, destination address, source port, destination port.
>> It is an invariant that we have forty years of operational experience
>> with. If you think that design decision is obsolete or should be
>> revisited, then by all means propose an alternative in tsvwg.
>>
>> Tom
>
>
> That is a TCP connection. Applications don't deal in TCP connections, they deal in sockets.
>
> Its called abstraction. All that complexity belongs in a box that the application programmer doesn't need to open.
>
Yes, but in BSD sockets, the most common networking API, "bind" takes
an address and port number argument, "connect" takes and address and
port number argument, getsockname and getpeername return the
respective pairs set on a socket. So the TCP 4-tuple is very visible
to applications and has been for many years. If there's a better way
to do this that hides this and makes it easier I say go for it, but
please don't call this a solved problem until you've achieved
ubiquitous deployment and we can obsolete the sockets API since no one
is using it anymore.

In any case, I don't see how any of this is relevant to protocol
discussion. We build APIs based on protocol requirements, not the
other way around.

Tom
> Now current practice is that people use the gethostbyname() call to do DNS resolution and so they end up being unable to make use of DNS properly. But that is a problem with the 40 year old legacy API which can be changed or circumvented entirely
>
> RFC6763 is what the application layer should use.