Re: draft-ietf-6man-rfc6874bis-00.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 21 March 2022 19:56 UTC

Return-Path: <brian.e.carpenter@gmail.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 C53C93A153A for <ipv6@ietfa.amsl.com>; Mon, 21 Mar 2022 12:56:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.109
X-Spam-Level:
X-Spam-Status: No, score=-7.109 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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lo1S5kgIVcri for <ipv6@ietfa.amsl.com>; Mon, 21 Mar 2022 12:56:16 -0700 (PDT)
Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) (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 6B8E13A1529 for <ipv6@ietf.org>; Mon, 21 Mar 2022 12:56:16 -0700 (PDT)
Received: by mail-pl1-x62a.google.com with SMTP id e5so1894691pls.4 for <ipv6@ietf.org>; Mon, 21 Mar 2022 12:56:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=SENsfw97oIH6K/Hv/D7WSaDXfZvZmllxGErVS40ruo0=; b=QHAmLLTiqW8/zXnf3Bg2zKRUNYrNvM5eb7bzm+L1WLv2xFQJIrfPTQVev28xHsNIuH 4xIJzPJq3Gt3610ku25xmhyRpvjJwF8PAkfzAA8KtYcsXFGGlUjuKRFkOlrYQpFTQKGD Tdw+dLFe1X0FE2z0fSmNMi3cC4vnSOmIlxN27I1n5tF1uB8HWnnZLquctR6J0AfdVu1n vtpdYJN73TZKU87u2bEDnmiMLRyWpHVsDMJlFSti3gSNS79qkrmvJjvEAKmAq6PE2TTa 5e37qhaReBh0844Moek1eklb6SaOYRvVVX6s+iUNtPGCFZyBq+sUfbsTqNZvtDOoaM7c Z/uw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=SENsfw97oIH6K/Hv/D7WSaDXfZvZmllxGErVS40ruo0=; b=GpE/cXM8G51NktB3rjOnZIcsa8C4eWf7OJBkSXWJo49YSeMsv5z+rokY0sxXYg23pw UKNOqlU+eaQXrbvPGYOV4I+sZoR8GkPaeGeV8pXWfpEL3fWD4oQ3JHgZ+xg6UnwPQxXS WgJoss6ig2Hf98idgCMmaDelMXSuAajbYQ8+MB1mzgGzHlCc0iOpEpNsC4RIv5S+vWNq gsfPoFB5eRKxp440EREQZQ2Tg0M0YyxcRFIZrY8OX4Nsw23vkkzCWs4PvhQPp0fJFiwv ol07XAweT+QNexeePz05zncOhUl51ZS2B4BNfWfbcPxF3a/yuskTXnrLXz+yGJthwozU KceQ==
X-Gm-Message-State: AOAM530Na8+0FgYfFUdvgGS4Uxh41XMRQTRKTYDfM/lWi1RCwSuLOsFY nVWO7fdDp1dB4ZXn5yg6JkmpbuSr+88L3Q==
X-Google-Smtp-Source: ABdhPJwOCecTGq6F7mF8WsmjTFaFuaAthcvQ5SjImJAg+AHahlVRmgxJ5zbW1jUVO8Q9HM87ouCaKg==
X-Received: by 2002:a17:902:bf07:b0:150:9b8a:a14f with SMTP id bi7-20020a170902bf0700b001509b8aa14fmr14460869plb.127.1647892575093; Mon, 21 Mar 2022 12:56:15 -0700 (PDT)
Received: from ?IPv6:2406:e003:1005:b501:80b2:5c79:2266:e431? ([2406:e003:1005:b501:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id z23-20020a056a001d9700b004fa8f24702csm6591414pfw.85.2022.03.21.12.56.13 for <ipv6@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Mar 2022 12:56:14 -0700 (PDT)
Subject: Re: draft-ietf-6man-rfc6874bis-00.txt
To: ipv6@ietf.org
References: <A3047267-85F4-4515-9220-FFF40790838A@msweet.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <adbd9909-298b-2d14-50ff-56e21fa66409@gmail.com>
Date: Tue, 22 Mar 2022 08:56:10 +1300
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <A3047267-85F4-4515-9220-FFF40790838A@msweet.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/kQ3rO2bkRk43c2ugsHuxDcQxGt8>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Mon, 21 Mar 2022 19:56:21 -0000

On 22-Mar-22 05:56, Michael Sweet wrote:
> Hi,
> 
> Saw this get posted and I have feedback... :)
> 
> - Section 1: For the CUPS reference, I'd add OpenPrinting CUPS since that is where all future development is happening (<https://openprinting.github.io/cups>). Also, IPP in general defines this behavior as part of the IPP (RFC 3510) and IPPS (RFC 7472) URI schemes which map from IPP(S) to HTTP(S).

Thanks for that.

> 
> - Section 2: I very must appreciate dropping the language in 6874 concerning stripping of zone identifiers, as that was one of my strongest objections to the prior RFC.
> 
> - Section 3: Extending the URI syntax in this way *will* break existing URI parsers in unfortunate ways, particularly if the zone identifier has two initial characters that are valid hex, e.g. if the zone ID is "20" on a Windows system, the newly encoded URI would look like "https://[fe80::abcd%20]/..." and existing URI parsers (which otherwise don't need to special-case percent encoding of any kind of URI) will treat that as a space in the address... For non-hex characters you'll likely trigger an error/exception when the URI is parsed.

It *may* break some parsers in some circumstances, but I am not convinced, and I am reasonably convinced that they can be fixed, from my own investigations and from feedback we've received. These parsers are not syntax-driven parsers that blindly follow the ABNF. They are hand coded and the IPv6 literal syntax is a separate branch in the code, in the cases I have examined. If a URL happens to arrive percent-encoded, it would get decoded before parsing. So %25eth0] would become %eth0] before parsing starts. But %25] needs to stay as %25].
That's codable even if it's horrible. (I didn't do this in my patch to wget, but maybe I should...)

I agree there may prove to be cases of unfortunately named interfaces where it may be necessary to use percent-encoding in the UI anyway. But personally I'm a bit reluctant to discuss that in an RFC.

>    In the interests of interoperability, backwards compatibility, etc., it might be better for the actual URI wire encoding to stick with "%25" (still "breaks" strict RFC 3986 parsers but with fewer side-effects) and then provide some guidance to browser developers to tweak their processing of URIs in the location field (which is already done, for example for web searches). Remember that there are billions of IPP printers out there that would be affected by this, and while CUPS can certainly rewrite URIs for existing implementations, that won't help people trying to access the printer's web page to configure things...
> 
> - Section 4: It isn't specifically the request URI that is used as-is, but the address in the URI. In the case of CUPS, an IPP URI ("ipp://[fe80::abcd%zoneid]/printers/example") is re-written as a HTTP URI ("http://[fe80::abcd%zoneid]:631/printers/example"), and for some resources the path may also be changed (icons, strings files, etc.)

Ack

> - Section 7.2: Please add OpenPrinting CUPS ("[OP-CUPS]", <https://openprinting.github.io/cups>), 

Ack

> LITERAL-ZONE reference might be more useful if it pointed to the last draft that was submitted (<https://www.ietf.org/archive/id/draft-fenner-literal-zone-02.txt>).

XML2RFC does what it does...

Thanks
    Brian