Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt

Ted Hardie <ted.ietf@gmail.com> Mon, 05 July 2021 08:06 UTC

Return-Path: <ted.ietf@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 51E7A3A0475 for <ipv6@ietfa.amsl.com>; Mon, 5 Jul 2021 01:06:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 XbHArP1sKQEC for <ipv6@ietfa.amsl.com>; Mon, 5 Jul 2021 01:06:38 -0700 (PDT)
Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (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 817B13A0524 for <ipv6@ietf.org>; Mon, 5 Jul 2021 01:06:38 -0700 (PDT)
Received: by mail-ot1-x32c.google.com with SMTP id x22-20020a9d6d960000b0290474a76f8bd4so15914321otp.5 for <ipv6@ietf.org>; Mon, 05 Jul 2021 01:06:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xhkIW4Z9rZl7SweqJzkt/ut8auhXNFLtu7PbmsTjjk0=; b=nFZ7RS5AggbNBHO2RwHI4SWB4ZEX6EyBizaVrsqysLl7sD9JW1yLvC+IQlGp5Q95B5 RbiU/5hV8BU7jSHAb9JCrrX8ZTV2LZO0J9JrCeDg9fEZTWlSBGn/p/jpmpIcBqC6c3bX gJ/MJHOHPZPP3xuIH+SDJ3YkjPd1Xl9gThb1MHtDae4BHsQEBNeqREjNeFs1u3KQyR2Q PyAxfJxibC/eZd03uew8WrQUgFYskNjUMZViMBOu+ZexA6yUFoiizJfDv3x7lAV5W8AA +xicqHDBZpMMHfYMIrvllRhZgX45CJqqmf6GRzdCAb3RVEk7xYfUNYkQVuYJC8n6b4x2 MjUg==
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; bh=xhkIW4Z9rZl7SweqJzkt/ut8auhXNFLtu7PbmsTjjk0=; b=NsMeIGJ3cpIEQCTMS3bfM6X7eGkR97uatKH6zW7GuoLHFwSUdg5LUtoKhnXGvyIjCQ LshFD7GPzt4ATL4uy8/OtbsIrFwCm8zVAk8t+cfnKDMjGT1omTcsZN9yjh1Obwy2EzGy BfgMX/0qB6XPWbymZu/FBHrcNuluwrUgCLISZXh+doXbTwOo3kINTP/bYmmIbVJiXSX3 ZKEdLwdApRU8dscdZI8eBCdS+msyW3RJBWLWnhBBzNoWUHSoNTSutil4VssjHSoB3Hs7 ynWw8frcAoTrZYQuul7ptRkT1ttHxTqk3pJAxhnL5iNti/4F7hmVNfeZA8yJujh5j0L0 m41A==
X-Gm-Message-State: AOAM532YkfxdbVOksfen48+Pl7vC35KR+cF777T35rKLvXvZlcDzOVC3 mDo6fIlPiU3y8q1Abje2IyIuOMguYhUtifaA6Ic=
X-Google-Smtp-Source: ABdhPJyWSmXLX5p0V0jeqIq8I7rtbSJUIQLjI2LeMGGXBlOV4FDo7VWqbIn2n5/irSc/FrnNgv3bk/Hc48uJ+3Qv0ZE=
X-Received: by 2002:a05:6830:1e83:: with SMTP id n3mr9736900otr.49.1625472397137; Mon, 05 Jul 2021 01:06:37 -0700 (PDT)
MIME-Version: 1.0
References: <162545101341.19246.8566193740265797873@ietfa.amsl.com> <95a7dbe5-e0a3-4676-9dcc-005ff53725e0@gmail.com>
In-Reply-To: <95a7dbe5-e0a3-4676-9dcc-005ff53725e0@gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Mon, 05 Jul 2021 09:06:11 +0100
Message-ID: <CA+9kkMD3iSgo-KMM5Ed8bVnVCu_G3f2kB6zHKoOx2ta=x8QucA@mail.gmail.com>
Subject: Re: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: 6man <ipv6@ietf.org>, Bob Hinden <bob.hinden@gmail.com>
Content-Type: multipart/alternative; boundary="000000000000d2d9e505c65bc8e8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/dMr7--zl4utvK2sd25sczfuablg>
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, 05 Jul 2021 08:06:43 -0000

Hi Brian, Bob,

Your draft says:

   In the spirit of "be liberal with what you
   accept", we also suggest that URI parsers accept bare "%" signs when
   possible (i.e., a "%" not followed by two valid and meaningful
   hexadecimal characters).  This would make it possible for a user to
   copy and paste a string such as "fe80::a%en1" from the output of a
   "ping" command and have it work.  On the other hand, "%ee1" would
   need to be manually rewritten to "fe80::a%25ee1" to avoid any risk of
   misinterpretation.

I would prefer the document without this suggestion, as I think the
resulting logic for a uri parser is a good bit harder than the " %s are
handled differently within IPv6 literals" approach.  This requires the
parser to treat %s  differently within IPv6 literals except when the result
would be a "valid and meaningful" pair of hexadecimal characters.  If I
follow your logic correctly, that would mean not simply checking to be sure
that these are hex but also checking to be sure that the resulting
characters are within the syntax for the ZoneID production.

I think the proposal is much cleaner without this, and I encourage you to
reconsider including it.

regards,

Ted Hardie


On Mon, Jul 5, 2021 at 3:41 AM Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> Hi,
>
> In case people aren't aware, no web browser that we know of supports
> RFC6874, i.e. the extension to URI/URL syntax for a link-local
> zone index in literal IPv6 addresses. This is annoying in several
> use cases.
>
> This new draft tackles what seems to be the main objection from
> the browser community, namely that RFC6874 requires browsers to
> remove the zone index before sending the URL out in a standard
> HTTP message. That's a coding annoyance and it also breaks HTTP/1.1
> rules for the "Host" header according to RFC7230.
>
> There's background to this issue at:
> https://bugzilla.mozilla.org/show_bug.cgi?id=700999 (still live but
> officially closed WONTFIX) and
> https://github.com/whatwg/url/issues/392
>
> The new draft proposes to update the RFC accordingly. The changes
> are relatively small but significant. There's a diff between the
> RFC and this draft at:
>
> https://www.cs.auckland.ac.nz/~brian/Diff-rfc6874-draft-carpenter-6man-rfc6874bis-00.html
>
> Comments welcome. If we want to go ahead with this fix, we will need to
> reach out to the URI specialists and the browser community, to be sure
> it isn't a waste of time.
>
> Regards
>      Brian & Bob
>
>
> -------- Forwarded Message --------
> Subject: I-D Action: draft-carpenter-6man-rfc6874bis-00.txt
> Date: Sun, 04 Jul 2021 19:10:13 -0700
> From: internet-drafts@ietf.org
> Reply-To: internet-drafts@ietf.org
> To: i-d-announce@ietf.org
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>
>
>         Title           : Representing IPv6 Zone Identifiers in Address
> Literals and Uniform Resource Identifiers
>         Authors         : Brian Carpenter
>                           Robert M. Hinden
>         Filename        : draft-carpenter-6man-rfc6874bis-00.txt
>         Pages           : 10
>         Date            : 2021-07-04
>
> Abstract:
>    This document describes how the zone identifier of an IPv6 scoped
>    address, defined as <zone_id> in the IPv6 Scoped Address Architecture
>    (RFC 4007), can be represented in a literal IPv6 address and in a
>    Uniform Resource Identifier that includes such a literal address.  It
>    updates the URI Generic Syntax specification (RFC 3986) accordingly,
>    and obsoletes RFC 6874.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-carpenter-6man-rfc6874bis/
>
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-carpenter-6man-rfc6874bis-00.html
>
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
>
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>