Re: WG Last Call for for draft-ietf-6man-rfc6874bis

Michael Sweet <msweet@msweet.org> Fri, 17 June 2022 21:17 UTC

Return-Path: <msweet@msweet.org>
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 749B2C157B44 for <ipv6@ietfa.amsl.com>; Fri, 17 Jun 2022 14:17:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, RCVD_IN_DNSWL_BLOCKED=0.001, 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 (1024-bit key) header.d=msweet.org
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 7UwMALiE1XhS for <ipv6@ietfa.amsl.com>; Fri, 17 Jun 2022 14:17:49 -0700 (PDT)
Received: from mail.msweet.org (mail.msweet.org [173.255.209.91]) by ietfa.amsl.com (Postfix) with ESMTP id 8909EC157B3E for <ipv6@ietf.org>; Fri, 17 Jun 2022 14:17:49 -0700 (PDT)
Received: from smtpclient.apple (unknown [72.138.35.178]) by mail.msweet.org (Postfix) with ESMTPSA id 0FB70803B6; Fri, 17 Jun 2022 21:17:47 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.msweet.org 0FB70803B6
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=msweet.org; s=default; t=1655500668; bh=S2nrmawQmhtMF8THayI1W7PRRuqUOmp893llYLXU7Yg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=ZGpKBqONIyfeiWcBurf7wz7uCQx8IpcVI5qCO0DRENuYx7ZySv82rr/FHoAFwssfA wKND5ZgpZTLWTAlmy9nSwKVcVZjJ1GKWnDskQmUxIQXSkcuWBYdBDGbRpejv+rnKIn MHEAIabUjA3BAc9Fx+U+lE6/M0vArXnzVsCZIxf8=
Content-Type: multipart/signed; boundary="Apple-Mail=_9835DFE1-E278-4724-A27E-C64CF11156E5"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\))
Subject: Re: WG Last Call for for draft-ietf-6man-rfc6874bis
From: Michael Sweet <msweet@msweet.org>
In-Reply-To: <CAPt1N1m+g8Yu9rPyvfvrxG_bST_9_z3siByOCsMmeTpWAfAiZA@mail.gmail.com>
Date: Fri, 17 Jun 2022 17:17:46 -0400
Cc: 6man <ipv6@ietf.org>
Message-Id: <8ADB2B23-536B-424A-ADF0-BB610812CF33@msweet.org>
References: <CAFU7BAQVr_UMK_v7O7DGTV363j7q25X9GwrgraTEypzq_Lz3gQ@mail.gmail.com> <CAPt1N1m+g8Yu9rPyvfvrxG_bST_9_z3siByOCsMmeTpWAfAiZA@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
X-Mailer: Apple Mail (2.3696.100.31)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/RicBN2sew3cWJT7q9SoT58wPl7U>
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: Fri, 17 Jun 2022 21:17:53 -0000

Ted,

> On Jun 16, 2022, at 9:36 AM, Ted Lemon <mellon@fugue.com> wrote:
> 
> The URI syntax specification [RFC3986] states that URIs have a global scope, but that in some cases their interpretation depends on the end-user's context. URIs including a zone identifier are to be interpreted only in the context of the host at which they originate, since the zone identifier is of local significance only.
> 
> Does this mean that when a browser loads a web page, and that web page contains IPv6 address literal URIs with zone identifiers, and the source of the web page was not the local host, the URIs are un-interpretable? That is, what does "at which they originate" mean?

The specific use case here are embedded web interfaces on IoT device like printers.  The printer validates and uses the client-supplied Host: header to dynamically generate any URIs/URLs that are embedded in the content it sends to the user's web browser.

The same also happens for IPP printers when you ask them for HTTP/HTTPS-based resources like icons, message catalogs, ICC profiles, etc.

> ...
> Would it be correct to say that the text within an IPv6 address literal never contains percent-encodings? If so, then it might be less complicated to just say that. I think a parser that follows this rule would be more regular than one that doesn't make this restriction and does allow percent encoding within the literal except in the case of the stated exception.

I agree - the words can be simple like this and the ABNF can be updated to reflect having an optional zone identifier delimited by "%".

________________________
Michael Sweet