Re: [IPv6] I-D Action: draft-ietf-6man-rfc6874bis-06.txt

Jürgen Schönwälder <jschoenwaelder@constructor.university> Fri, 07 April 2023 07:26 UTC

Return-Path: <jschoenwaelder@constructor.university>
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 9152DC151B34 for <ipv6@ietfa.amsl.com>; Fri, 7 Apr 2023 00:26:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, 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=jacobsuniversity.onmicrosoft.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 ZypcQj74b7pN for <ipv6@ietfa.amsl.com>; Fri, 7 Apr 2023 00:26:23 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20631.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1b::631]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6088AC14CEFA for <ipv6@ietf.org>; Fri, 7 Apr 2023 00:26:21 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JykzcWohypoDQrJTlETe8vFteKn8MlzBYo5f5cnbTV+LP9W6tJ6uwEWaMn1wstxBlEkxmlEJqVyP7O/zinV/lP71wpjlNHq9jgQEh9f/qSoKVjdmo72vCPAMQ/4cMAd07dU83oUotEhYAUiKi7SoYxzTlrZ7YG2fCxD1GvlR/Lmvi5/vLn3fp/lv0RsdM5pcpOWLU7n74+2LkAQlbJRl/fbdL/Wz0GGqMxziWfDDb8pfDcGuELXQnXcaKd3+u97HhoWYe1JILJwd+yqqSSDSKJMjnqLhvhASatFuUy5M3U11Ziw24wT7v9Pm8j5CHJdDc2wr6mqOpb32gZd+e3m6Sw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IDdPRqBTeTKhX3ODtmBUY7dpWAIxZmTeH4315zCkmLM=; b=G2wp2sXS2o7J8j5aQ+YgDK/4YbgAqvSSYv6rDIF7jTecekxuce4HxXWTT20rPsizbtQTeBA0v26CX3LkGwH7UQ6BtwiwUAW3raIvRmy1SyH/xBEDGkEzvZoK2h6kOZN6c+U0l2QSRZiBK9uW6xuq+iZ9yTbxzosMsz9La3DTOcDTsjVjKq7AXxwnTqz0Da7TwBm7aZJ77kYF3ldQHfNE5cAWlQr4MMc7Ll8QACsJP/B4GDeQpBKLeqE214397olIwK/OivgDwSz0kFNK8OAjVX1rEQRQbtizqI12Rb+NKviYq3yFK6cpfd0GwGTQ1zRaf4SNHMSLQKbczsuzwEweXQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=constructor.university; dmarc=pass action=none header.from=constructor.university; dkim=pass header.d=constructor.university; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jacobsuniversity.onmicrosoft.com; s=selector2-jacobsuniversity-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IDdPRqBTeTKhX3ODtmBUY7dpWAIxZmTeH4315zCkmLM=; b=E719JhM9RL8vVftRiYGffxB/w976nNb3OD5upEn9qmTZ6nwbE9xixNxkCkIF7j75Qu4DMrurWpIJ8YEcKef1/DpfTQUYrStg94Izs10aqDAQmMqLfvGegqMCM+A8zEpCgo2lZO1Rwp8incbOqoOjv2D1WJe6roAvvcWWN/6BoU0=
Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=constructor.university;
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6) by GV1P190MB1873.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:60::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.29; Fri, 7 Apr 2023 07:26:14 +0000
Received: from GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::581b:1ec3:e89b:df50]) by GVXP190MB1991.EURP190.PROD.OUTLOOK.COM ([fe80::581b:1ec3:e89b:df50%7]) with mapi id 15.20.6254.033; Fri, 7 Apr 2023 07:26:14 +0000
Date: Fri, 07 Apr 2023 09:26:11 +0200
From: Jürgen Schönwälder <jschoenwaelder@constructor.university>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: ipv6@ietf.org
Message-ID: <20230407072611.hva2mdwhyqhmyv3z@anna>
Reply-To: Jürgen Schönwälder <jschoenwaelder@constructor.university>
Mail-Followup-To: Brian E Carpenter <brian.e.carpenter@gmail.com>, ipv6@ietf.org
References: <168084071877.13626.3983641153813140583@ietfa.amsl.com> <6b5a79e7-b00e-ced3-43f3-5e975112e79c@gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <6b5a79e7-b00e-ced3-43f3-5e975112e79c@gmail.com>
X-ClientProxiedBy: AM0PR02CA0125.eurprd02.prod.outlook.com (2603:10a6:20b:28c::22) To GVXP190MB1991.EURP190.PROD.OUTLOOK.COM (2603:10a6:150:3::6)
MIME-Version: 1.0
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: GVXP190MB1991:EE_|GV1P190MB1873:EE_
X-MS-Office365-Filtering-Correlation-Id: 1b9b7dc1-1449-42dc-c829-08db37395e74
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: bOb/L4QQiG4RrJX/hgs1QhVrlZYkPguP6cYoI/QaPXYqGrW9hERkvTLoC0DCBgAW5BG/8hkjdCZfmW1sFWN2Gx+GlccXq9Z1QBnCex98j7MUfqMl4er2ORohaf7eXOeXnVLSYmWszU84+OMjLnhx0+UoZ0dhG7+/GQbYLHC3TBmKv+ND6dFrEPAroKSy93vPWhpGAsNuuhDCRfA6Mh/dGK9MtEk1HOawyfUzoPebkR+EXnevNOPksiZ/wnmoMV+FIXr+nLr4h/M5xYdW0IHCD1dDFK1WPjGSAHFDRMKZIk6MaB4dGmTh+s/iTLBgX7d4zv2nHYO3ghftBnSEif9XnPbhL3AdF2bHpywEzlZ5NGfWUS76dCEwANaIWQvmiRM/iEIMR/LdkrDU39H/U6xwBPnEfdyhkNlxfIPO1z0XZyKN2eewhAz0/wjDGc+U6m5SzZPooWm55yCfVGZpNh13DfTyq7P/jG62K1EOnHLaMeVF6d8C7aSE2Xe+3mlJG5X4oXWIrU1sEwMwU/NFKrSSAAsOKmlpo6ozESfz+F/sPPHsdbNGPt560C2LNCC8AqasL3LdEnpBja/9B/ivpeClZDb2KALeTt2G5R5pBLMqX79AyL+Vn4iDrRa9q5DuOANo
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVXP190MB1991.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230028)(7916004)(136003)(366004)(39850400004)(376002)(346002)(396003)(451199021)(478600001)(2906002)(52116002)(66574015)(6486002)(3450700001)(38350700002)(186003)(6506007)(1076003)(26005)(786003)(316002)(83380400001)(9686003)(6512007)(6666004)(66946007)(66899021)(8676002)(66476007)(5660300002)(41300700001)(66556008)(6916009)(38100700002)(4326008)(8936002)(85202003)(40140700001)(85182001)(86362001)(41320700001)(33716001)(46492015); DIR:OUT; SFP:1101;
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: hiTiV3CpDuGpromTxmSs0BjtMQtTbQxvNvHKQyOUzKinGJ+lbRs5bDudAp3LWmhnB3AYIbK6UxrCf/KgDFZqulTfWr9s3VbJL0jNyXamhZ1lVgkckpsPlrHPHcuouUUk1d4+L1S/MMMd6Tf6cNw4nG8QZ90dlzGfqTgdp6gXv+F8V4SKvo9iFDkIfJT+dLS3Z6E2wcdgMnMGEcYeTDHkdUl+wYLoMjUM9y2uyM0C1uvnFzC+uNkvsakaNOb/dJTxOV23XiKLuR6ueDY49JM8Ar4tXybwnbfFgdxTbEaJweq6igCOt5doWeMV9uBAEdpyBr47XZ+urLOWyLZELyhaWBjwG/ltb1bV/1n7d2FihFYl19xo4H2lnvIiJI1NvO1gVU46zZKKffFqQTOSO8kmzTpMid6lpzl1fdQVO22cPhjha/i2KEL0q6/7WppCHl2JZ4fWH5yxz0Bw0wr5D5a43L7tm2/hHi0QU6KwZcGMCX6nzHf2nrB5gtgd52uZuskkB99KrLZHPHuyUWp/wOvyq3LAZcX7F/nK+96xJ3trOp62vfzaehP1JCKMM4GQ/9Qs/vp5GnHZRXnYwh9Xdm1VMIj9qk444iKpPnQ407q7m2Tn99GYSnbaPwoiy+CgEqvrXWU67Ko/sOF5AyH72OxlBHV9CDNuzhdChYdD8rItijd/W9GtE/eqf1vCfXiXdWaBZkNZGz2XoKQ/r5w5vnjF1hr97SdSeOGfzJgoKnufZa/kNIvSnQVZzgzqtJBX0gnrH+hIsf+jeKY9DRZNhQMyQX9lg25WKc7SkzkMxXUZiV1Ulp4tPRLJa5KrOMI/crU+TtKJelFXkGs7pZ0qVZy+afBpfIP/O1qEWTFzM5WdwpbzgN/JiDjU0nftO7o2ArO7hNAiLser/RNEtVim06+zHIR8opf/GgbZ9JLZSPV7hLtsjmyr3jp2eLTP7N4PwZvodZ7oEDEfw7QKIZYd4B2NkJUPRVXBTtGeXyJs9QcqTsmQhYiFShEbCcNdMQSsnslQXy96nAyUeJkAWyDIPFE9nFiyWYj5cKNFuMaySg0jVDQKrPp6Z4w+iTdTC213zV7sTdv59p7wc+h1gKgvPqT+58bERRp1FRe7EXSq1OhgXV+exIV3oRH1nUdKpjRtbnp0fqqT5+nLXLSh2mVxy7z3aNsVoU5vbqeDkVpOGOth953Cn238J9b5dSMCIn4oPKlo4t2i97yZLJPcI709p7t09bnz8+WZolnahym4k7kzwgR6p4wTefF6/KjPQ/llopL4yaP2ONlGmETxd/yEdgMRjT7BJIs804vAdq2813yiaE/2kg3HiERcnct6liVIpmb8vcaHdUXd7RmGUuUhFAtodUKO2HZcKOXAaKLJEuY5+6Gc/iNCWeiHe2Zb88KbAbNZZOkkvmzs20VSlLP26Lv6hA+EKWYl+A3cj0krQLpkOt//gUn2Ko6EtKGmy4U9FwW/F96INgRlkkv0lOfBAcsIPec48Xv+JPMwFTG9heYsQL0bjvmevDcfVTLwmqNwSx0cp4skdZhdyaoJj58rK1dkntmlPp34b/aZMRWpxkQsEthA1ycaAaiqhbaSA6AGyQ0/fZ8A4fy8SF3nFHEM7TwRlJ3i8GdkvcY7SFToTflEp2w=
X-OriginatorOrg: constructor.university
X-MS-Exchange-CrossTenant-Network-Message-Id: 1b9b7dc1-1449-42dc-c829-08db37395e74
X-MS-Exchange-CrossTenant-AuthSource: GVXP190MB1991.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Apr 2023 07:26:14.2457 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: f78e973e-5c0b-4ab8-bbd7-9887c95a8ebd
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: 4tRw2PWGfCfBEChw+2kZwdbC8mj93kaypA8h/k7cCZEJyd+QfaTvFfUEYasfJLkSUVyanu/U2WDDY02Tyozsuea1oPVUyw4cXTtt06f7fnA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1P190MB1873
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/3EwvT_-563R5R_DkhzZGkjqSRQQ>
Subject: Re: [IPv6] I-D Action: draft-ietf-6man-rfc6874bis-06.txt
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, 07 Apr 2023 07:26:27 -0000

On Fri, Apr 07, 2023 at 04:19:45PM +1200, Brian E Carpenter wrote:
> 
> Four points to note in particular:
> 
> 1. We have addressed Rob Wilton's DISCUSS by two changes: a new
> paragraph [1] that explains that infrastructure devices are out of
> scope, and a work-around described at [2].

I find this text not entirely convincing. Why not instead simply state
very clearly that the textual format does not apply to systems that
use characters that are not allowed? This text kind of says if you
have a device that names interfaces as "Foo/Bar", then you got an
infrastructure device for which this specification does not apply.
But see below for a possible way how we can avoid this...

> 2. We have addressed one part of Murray Kucherawy's DISCUSS by describing the parsing difficulties caused by the % sign [3]. Of course that will need discussion in the WG and in the URI/W3C community.
> 
> 3. We have addressed the other major part of Murray Kucherawy's DISCUSS, the cross-origin security issue, by citing the existing W3C community work on this topic [4]. Adding the zone ID to a link-local address doesn't change their analysis. It's unclear whether their model adequately covers link-local addresses [5] but that doesn't affect the current draft.
> 
> 4. During IETF 116 we became aware of a significant new and immediate use case - search for "NMEA" in the new draft.
> 

Quoting from the Introduction:

   The mapping between the human-readable zone identifier string and the
   numeric value is a host-specific function that varies between
   operating systems.  The present document is concerned only with the
   human-readable string.  However, in some operating systems it is
   possible to use the underlying interface number, represented as a
   decimal integer, as an alternative to the human-readable string.  For
   example, on Linux, a user can determine interface numbers simply by
   issuing the command "ip link show" and then, for example, use
   "fe80::1%5" instead of "fe80::1%Ethernet1/0/1", if the interface
   number happens to be 5.

RFC 3493 defines

       unsigned int if_nametoindex(const char *ifname);

and the Linux man pages claim that this function is also covered by
POSIX standards. Hence, for interface names used as zone names, we
should be reasonably covered. In other words, why not simply use the
following approach:

  extract ZoneID characters
  try to parse them as a numeric zone identifier
  if succcess, done
  otherwise try to parse them using if_nametoindex()
  if success, use the index
  otherwise report failure (or try any future zone name to index mapping function)

What is the rationale for limiting the focus on human readable
strings?  Why not generally support numeric zone indexes as they
should always work and accepting zone names (oops interface names used
as zone names) where this is feasible (i.e., the names use lowercase
unreserved characters)? If we generally support numeric zone indexes,
we would not have to exclude so called "infrastructure devices" since
they should be able to deal with numeric zone indexes as well.

/js

-- 
Jürgen Schönwälder              Constructor University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://constructor.university/>