
From nobody Sun Aug  1 04:30:17 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AA1173A3783; Sun,  1 Aug 2021 04:30:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VIWV6-0XNK2Z; Sun,  1 Aug 2021 04:30:10 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2063.outbound.protection.outlook.com [40.107.21.63]) (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 8F0743A3781; Sun,  1 Aug 2021 04:30:08 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Papg918JZk7isVS8nd5qEz41xom5VVFfYeaDDc8S4tOa+rgampipKrAh0VZXZtoTqNcgmEP71HTpkVy2VffrgOaTC5Cvyarm9qzZ0Yab2O+g9deTOWImUItZlxU8w838vmDItApym+JepUrvq3rotROYWkcmO+bnphzwGeUPaaN1XKtiPe3TFXd48ZElynXJUZLAdC1JCNj0fsJJaHzWUysJbiA+ZH+qooGQcqLjpKgW9bZk4OhMUruRL+RYDvsswPPVm6cjefkfTChVMT3JPpmoPFZ1ocF5tc9bO13g5p+9gbcGe+uAj5EMrhdt3YzdsAbPrRBuczSsPXawXbYEUQ==
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-SenderADCheck; bh=iYuQ1RXVU/GoaCG//22otiDwpz8mNtYCT3SWTP9blLw=; b=mlmcC/7sY9hIZ6uYrlQ6wdDTWgj45Xyax3RSqoomHrVz+29BEdaSBloftPMK4NkT6NUTi6gMabeyfc2rrpmgIh8z37Y1opLLbsWdbK5WAJKIYMdk+y6u9lfxfvllc9d53scICFiASJB9Qp5LIrjKr1UkO5QmoCgP2mCIrA2UnBH9YR6npdrKh6G2TtzJWl6LBT1+O26XGMNjpsLmaBVSRNrWtdVVkdv/zDbzspk3Fp0cAhcu0pEaHZkMQb1R7fVvrlazWgB/hTbTXFht+2VAAm400Tg5YsPhBuuDhg+eW6v1VyxOJxTXpEw8VKPgeAfQvyqBoAXootzkQFEHeKcgpg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; 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=iYuQ1RXVU/GoaCG//22otiDwpz8mNtYCT3SWTP9blLw=; b=CXKVvgDWhxE48OhBRvnWVuhAqS1Rnmu3bNY69Xdlu9b+cyxoqncSIO8qb7/ki1sBCQorbQ9+YTO2jwxEewCz+tW4dQrLJxczFXg31g5bYSgvDuqZKJA5X2DH2Me7nflBZtITJtWOCnzV6eKJYUB5Zc1VFGXuAy35YN3E1S0qlCI=
Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM9P190MB1425.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:3e7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Sun, 1 Aug 2021 11:30:03 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::58c1:599a:1d3d:cdeb]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::58c1:599a:1d3d:cdeb%9]) with mapi id 15.20.4373.026; Sun, 1 Aug 2021 11:30:03 +0000
Date: Sun, 1 Aug 2021 13:30:01 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
Message-ID: <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Brian E Carpenter <brian.e.carpenter@gmail.com>, tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com>
X-ClientProxiedBy: PR2PR09CA0023.eurprd09.prod.outlook.com (2603:10a6:101:16::35) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by PR2PR09CA0023.eurprd09.prod.outlook.com (2603:10a6:101:16::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.19 via Frontend Transport; Sun, 1 Aug 2021 11:30:02 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: e1a60ef5-9a56-4ce7-0179-08d954dfb44a
X-MS-TrafficTypeDiagnostic: AM9P190MB1425:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB14257D8E698A0532F53073CFDEEE9@AM9P190MB1425.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:8882;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: qGZc47wbz5MCER1x4Cm7xOobQOmCBENK63L8Ls423oj3HX31mVRlmwlNBUgxgUkn+gkIuwYXTJiqQq2KENWn5pEBmMbnEQeuTteDFxiUmCp3rpNJvRALNdFknaA9kpbXyKkUwVrnG5kX6g4i7deWF8Da21x+XE2W3enpaAgIlHcTBK9Q5JkpePyNPHFrPN1kKBS9nsxMDkD6kIqnPutX3bIICZqURpZfH4pDvFxwGDnGFHwy42bHNrCEHqNXuBBbOriNqQ9QKs8vXQb/5ktT9NC8YBpaRGGl0nmQBT5EN1ZHEB4e58dNLRnjkNyvFH+GTvpHOwcsDWMwaaAveKAOccMOGbIuaHDdUPBXjjfPGpozRsrlKyR2T2oevY5SEvjSGIlc6duA073jb7cYYB5he+dM9ZQzM+rAhgyzV1xNC5RqNkMlkL7n6sNlUaBoYgzVZ8+BZk5pFxuKsDG9Op+n3K3DULIOUuAUFlk1LYbgis6PZ673A9sKJSrwrhrP4qwvE6Qan1vGZejSXHeEXbToypW979GPXj9+jBaJ10PamxXXIs/9f8k8wKYySHe8yVSlzVqQXf1Ug3EOk9u9MErn1ocO5yAdfNWPFoL848w+5Nb1GGLX9kSaqlPTURO6Oo8RoxiLWEvcej5zR48vBzHzlkS7CB92Bk5q8InDH5dnit9y0SWL/ZE2fWZBA4U9i467JVOadXED/PnpbCZD/p01OdfbKFBA0QbS7v8WZ0jKPnAY9BnxLRsTx09MgAzq2zNQtuU/aka+IznUayUOjLxt8BQgHnFvSFmx9GVIfLmI2BPbqkLVozrEDVUA392nL8p2
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(396003)(366004)(376002)(346002)(39850400004)(136003)(26005)(52116002)(6496006)(478600001)(186003)(8936002)(6916009)(66946007)(66476007)(966005)(4326008)(6486002)(53546011)(66556008)(85202003)(38350700002)(2906002)(38100700002)(3450700001)(5660300002)(66574015)(86362001)(316002)(1076003)(786003)(83380400001)(85182001)(956004)(8676002)(54906003); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Z01FeFRmNnJWUTRtSXYyQ2ZLRFduVEVBTjZYc0xsOWh2amFjRXRkcjRReHEz?= =?utf-8?B?Z0ZDTXQ4QkFCdFR1ajQvNnpxbFhjL2o2dEhsb2tNUHA2ZnJ4d1FYdldsSGp3?= =?utf-8?B?RHFweGpYYlMrMkxmdDFjZzFBWkZjQVpEY0ZDYlFYYnBKNnVJRUJxbUtxQk5P?= =?utf-8?B?K3JtTkJyZTZaNklvcjEwSHVGQncrajdBUEhGbFlXclNyek5oWUJKRjBGaWgr?= =?utf-8?B?YUw1cXhLeVFtK2ZwTitkd3JGVUVJVFVQNzF1STJrOFJoT0pBVGp5eWg0NzdJ?= =?utf-8?B?TVdsSE5FeGduMlZKY1d3M0tDVmFVK3dDaExEUG50L2pmWk5rVXVvelZQQUNu?= =?utf-8?B?ZThXdlRrSHFQN2N4OG5vQzlVR09DRENJQ3ZCRG52WFJDa2sySnBIa25GRjZD?= =?utf-8?B?MUg3VEJDRWM5VDZvamVSUXY4L3lsL1JSUnpmU3JzQ3hPNy83cWFTRWZPWURR?= =?utf-8?B?T3lrWkJSanR4alJsdllEK2dXOXZUSzkzc29lalNwUFlNTTJmTjArd25CaElY?= =?utf-8?B?dDN5VE1CUTJNd2xINlAvQTlxYjJJOUJwN3Q1UmZ2aDVFcXRoVlgzVHRPMHp4?= =?utf-8?B?d0pRMzBiYjBjTnF4N1RqNUZaWWQrbEo4RXZ6UGtEaG5HTUtUUU5BY0RGQ21N?= =?utf-8?B?L1laMTgwRkpHTUd6bUZ2dTcrcCtNbFRRYXNEd0x5R2VjK1MvZWRlUTlJc05S?= =?utf-8?B?NGFubjMzQnhxQ2NvQU84Rng0RUpYQlZBOGtWSzZORDY2S3BsaUpYNk5yNkVU?= =?utf-8?B?SFFvSFhnbmtxZjM3cjhYS2UvZ0F3bkhnSjNNTDFQK0hkWmhodXZZOHFQeGI1?= =?utf-8?B?Wjc1c2hjTTdDQ21ackR6eFlSR2dXMWRkcDNmR3U2KzdiVTVNMWExQmNVOUIv?= =?utf-8?B?dHF4QkxkNXZDNG1vbmF5eVZLTlR1ZGZ6VTJxa2x5K09nZkpJU2Vndk4vZGlF?= =?utf-8?B?OU8wQnlZZ1laWHVEVHlYZWs2eGtBYTh3Nk1HWnVmbWd1NlU0QUl5dFBHa1cv?= =?utf-8?B?VGk3ZytQRVhGZ21KcGZBcDFYeGxuZDJhNk1OOW14WTN0UWYzWDNWYTI0UEJR?= =?utf-8?B?dmJCZGdlWnF4dmpTbkRvQmZGRUgyNnYrMUpWbWROOUxIRUhCVlZKdXRVRGVW?= =?utf-8?B?a1BiOG1DRTlLeVZmK0FSNzdNdzNCY2pYQzQ1Qmh2UnBHTSs4TldrUHo5di9a?= =?utf-8?B?MGJtbmVDaHJGZ05CQmptU0cxNEtpRzFWWXBxOTBEOWJYNm5Xd2VFU1B1QUkz?= =?utf-8?B?KzFYSjZ0VElCUCtrMzQzVkR3eUtGWWd4R2NvR3BJYWhVQVNOdndId2VmcXZL?= =?utf-8?B?c0FTaUVuSmRveldWVmNMbXZkV2RkVDB0eTVzWkg0UkJtWGM2b3dPL2d2M1pQ?= =?utf-8?B?VTdsWU9EQUQwbW5FQkx0UTNEQU55OUV6a3M4VlVGUjhvaG1NTVZ0MnNvck9J?= =?utf-8?B?ZkJNMnRNMnZ2bDJzM2JtY0xNNWtqbjVlQk5ZVFlvYlJhMGJsSGZKbHQ5NFA0?= =?utf-8?B?d3ZKbkp1N2k2dXF5YWl6bEROaHBhTEdTc2ZzTStpejJ1NXVBME5PY1lIV21j?= =?utf-8?B?YnZTaEplSnRuVkovWVFsMzFJTFZtR0ZuL3dzUnh5aldkR2xpa1FWTjFyWWZp?= =?utf-8?B?TkNMYndLdHY4QWd0SDl5RlI5UFRkeFV1STc2L1crdWhJc0U5anR4elJEcVF4?= =?utf-8?B?Tjlnem1XYVRIN2FYM2RCTVUwWmRkaSt2TDkzdExWK2dWeXdYeUlVbVNPeGhT?= =?utf-8?Q?JRvXrYn+JvNs/LxYTOHx/8paMrxZatT/DzYuUPD?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: e1a60ef5-9a56-4ce7-0179-08d954dfb44a
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2021 11:30:03.0447 (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: 9L+eMf46zwxfPHs7keVv1FeyIOALegKyDu3a2jUImEqifYlabqPcmCGxS+UznP3k+YZ96h5n0fMmk+d4KH+uBH228MSRMWh4eLj5KX4rXvk=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1425
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/0QqvCvfhMsq971thq8AFzpQUQUo>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 11:30:15 -0000

The description statements in RFC 6991 talk about a zone index, i.e.,
they assume the zone index is numeric (which kind of follows from my
reading of RFC 4007).

The pattern is flexible enough to accept a string as well (e.g., an
interface name). In other words, a server may accept 'fe80::1%lo0' as
valid input on an edit-config put it will return 'fe80::1%0' on a
get-config since the numeric zone index is the canonical format
(assuming the lo0 interface has the interface index 0).

/js

On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
> Jürgen,
> 
> We are not disagreeing. These are exactly the sort of use cases that also
> motivate RFC6874 and RFC6874bis. 
> 
> But I have a question. In the management plane, do you think that the
> zone index (an integer) is the item of interest, or a zone identifier
> (a string)? The description at
> https://datatracker.ietf.org/doc/html/rfc6991#page-20
> only says that the numerical format is "canonical".
> 
> Regards
>    Brian
> 
> On 28-Jul-21 09:07, Jürgen Schönwälder wrote:
> > On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote:
> >> On 26-Jul-21 23:49, tom petch wrote:
> >>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpenter <brian.e.carpenter@gmail.com>
> >>> Sent: 25 July 2021 00:44
> >>>
> >>> There's an "interesting" issue there, especially for IPv6, which is that the interface ID (or "zone index", per RFC4007) has no meaning outside the host. So it really shouldn't need to be sent on the wire in normal circumstances.
> >>>
> >>> (The conversation around RFC6874bis is slightly relevant.)
> >>>
> >>> <tp>
> >>> Brian
> >>>
> >>> As I may have said before, the YANG Types RFC6991 provides types for IPv4 and IPv6 addresses both with a zone index.  It also provides no-zone 
> types with a suffix 'no-zone' on the type name.  I see evidence that most 
> authors of YANG modules do not realise that a reference to 'ip-address' per se is a reference to the format that includes the zone and so have specified that format in many if not most cases.  Thus it seems likely that many of the addresses on the wire are in the zone format, even if the zone is rarely present.  With hindsight, it might have been better to have specified 'ip-address' and 'ip-address-zone' rather than ip-address' and io-address-no-zone'.
> >>
> >> Makes sense. The reply I just sent to Christian Amsüss probably applies to YANG too. Sending a zone index to another host is rarely meaningful or useful.
> >>
> > 
> > YANG was designed for network management purposes and there are quite
> > some use cases where communicating the zone index is somewhat essential:
> > 
> > - If you want to debug a problem, you likely need to know to which
> >   link a link-local address belongs.
> > - If you want to generate statistics for protocols using link-local
> >   addresses, you likely need to know to which links the link-local
> >   addresses belongs.
> > - If you want to configure a service to use a certain link-local
> >   address on a certain link, you may have to include the proper zone
> >   index.
> > - If an IP address is used to index lists, things can fall apart if
> >   you end up with duplicate link-local addresses on different links.
> > 
> > Whether we should have picked different names for the types may be
> > debatable but at the end it is the YANG module author's responsibility
> > to pick the appropriate types.
> > 
> > In other words, network management applications often need to be aware
> > of zone indexes in order to do the right thing. This is different from
> > end user applications (that usually have no topological awareness).
> > 
> > /js
> > 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Sun Aug  1 13:41:13 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E54F3A0E95; Sun,  1 Aug 2021 13:41:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 0nzWPen3phwd; Sun,  1 Aug 2021 13:41:07 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4EAA3A0E92; Sun,  1 Aug 2021 13:41:06 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 7821838A1E; Sun,  1 Aug 2021 16:45:10 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Wa3NKzjHtyT6; Sun,  1 Aug 2021 16:45:07 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 1F23938A1B; Sun,  1 Aug 2021 16:45:07 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id BB3AFB24; Sun,  1 Aug 2021 16:41:01 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, "cbor\@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
In-Reply-To: <fba60f20-69d8-0cd4-fc18-3b33bc5bbe09@gmail.com>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <AM7PR07MB624861D6476085FC7665A9ECA0EC9@AM7PR07MB6248.eurprd07.prod.outlook.com> <fba60f20-69d8-0cd4-fc18-3b33bc5bbe09@gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sun, 01 Aug 2021 16:41:01 -0400
Message-ID: <28835.1627850461@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/tcPl-hBHYDPesgDy-TlQRUi5BbY>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 20:41:11 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
    >> The few zones that I have seen have been alphanumeric and not numeric
    >> so making the numeric form canonical has always puzzled me.

    > You should widen your horizons and look at Windows. The index is more
    > fundamental than the identifier, exactly as RFC4007 says. Portable co=
de
    > needs to dig out the index (an integer).

Under the hood, they are pretty much all an integer.

I'm happy to add something to the Interface format for a zone, but I think
that to get this past reviews, it will need a clearly articulated use case.

I also think that we could add this easily to the Interface format if we ne=
eded to
in a revision.

(WGLC closed on Friday, I am just posting the revised version now)

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmEHBt0ACgkQgItw+93Q
3WUeyQgAhjTOy3ppke2hp0fyY99NBGhB0Jk2F+flLdvIjLSm7cw6tFe4OwiYVhbs
jZ7UKMR5L3H1gF6beA4cJcWiDo5m+vdvZ9utwdQ44uzipTl0lUrgE4YZZv43hII7
liSowOiZw3keAuLgOVkzeG6JLf7trTg0r1+vd6lbKD41EFSPHbtSlsFPssBn11fr
ulwAdw0iVdDuDN5oOu2Z8Rxsv8I3Wq4qRyAXnqcLxIGU+f0tinQB9DDDH8DGf4UO
M6lMYhA5muMsRQzu5vS+oe6OwyD8ANMzZHdRYmP0fwmpwoc3MTgT58566iJCWVDk
tRTOZDb496A0DEDHWZnQb2vp7s33oA==
=v+eL
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Aug  1 13:43:15 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 950073A0E9F; Sun,  1 Aug 2021 13:43:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 t0CCBFIWpStS; Sun,  1 Aug 2021 13:43:12 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E9C423A0E98; Sun,  1 Aug 2021 13:43:11 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 76A4C38A1C; Sun,  1 Aug 2021 16:47:16 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zp86ke-4e8VI; Sun,  1 Aug 2021 16:47:14 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 064C438A1B; Sun,  1 Aug 2021 16:47:14 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id A16E4B24; Sun,  1 Aug 2021 16:43:08 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: "cbor\@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
In-Reply-To: <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sun, 01 Aug 2021 16:43:08 -0400
Message-ID: <29415.1627850588@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/sRmLdQhc-1FHQFeqF2owHLXSthE>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 20:43:15 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
    > valid input on an edit-config put it will return 'fe80::1%0' on a
    > get-config since the numeric zone index is the canonical format
    > (assuming the lo0 interface has the interface index 0).

as a nit,
lo0/lo is almost always 1, because "0" means no scope :-)

[If we could go back to 1985 and change BSD, we could make them name it lo1=
 :-)]

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmEHB1wACgkQgItw+93Q
3WUAsgf9EdFuYKMi1Jbnilg/gw5eXSMWQGhniZRia6iwAOSL6Fk9rqODwBHUr3b/
khHP0N4H1hCmZ5488sovatmnXRsy8Fr0Ju1HlqEdSggptjgZXyuGUmS4E/kCG6hM
UcCC7zovrQ2FT/BzSrw02CTCgjcUFXuWObvHSetOBRuT9NsXtQpZprJxbdoklqzp
Yn6F8CBhuA8eWdxBMLe9U8kC8cUTvYHdtvq1M7U7/vuPtH5WK7yde6oFrjPBHZmC
ZDYMwhqWe3Xjx0sCOtNpdG6ylMd93PUl8dh04pbao9vuFFmY7XdserVSjtalEmto
eg+OxCHZ19Ni4RyDHNj8vDT+SI5fmw==
=Jom4
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Aug  1 14:15:56 2021
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1C7D3A115C; Sun,  1 Aug 2021 14:15:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, 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 jGipucbOmL2i; Sun,  1 Aug 2021 14:15:50 -0700 (PDT)
Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (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 377FC3A1159; Sun,  1 Aug 2021 14:15:50 -0700 (PDT)
Received: by mail-pj1-x1030.google.com with SMTP id k4-20020a17090a5144b02901731c776526so28604087pjm.4;  Sun, 01 Aug 2021 14:15:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=kAJlBPWqYP5m2ES0AI+5iBasDstS2k6iV9zNL1ehl+M=; b=D7nN/hxA6aft6+nSs3TKk2+b2z8bTRTlpzq7HMmEpXx+Z6A0PqXVIjNStUqNSsqgaU +PhlRIBP6QtTrQAFZ8OVAHmEiyaUKjEF/sMJNIyrr0k9Ujqx+Udhpd2vi+QaXWm0KBSw VV2mEk4nMp7MCCiCEn0nizjF620HBxcUqQgTlw0DYqjiOQE24Pp5Q5lkBZiyUINL5cLM UprhmnbBG/7s7teCCk/+gBNVOCWBB2ffLo7r3zMqfnQ34N5kTljaAexRy4KdRUccE97n WSZAI6Zz4gveTIZ+9p+8yyv7FY4J9aQSot8IYogkoQuIxFDFnNU2oZdn2jL6RwK9FUEK O/rg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=kAJlBPWqYP5m2ES0AI+5iBasDstS2k6iV9zNL1ehl+M=; b=gBU5Lfz56ztgxOAtYf8PZnWM4WuNAoBzOSmkJSH4KkyTdBfY99qirc8iTeTPn43i/t OeImKpCc2L+ewFfzRZcpzeKBO/J81ECxU6rAXDjb0jDuOsVi9DnoHoHAjZcEUd0LOfXB 5iOO+mk4UNuPgAF9zPFaakTIDXktkQ4HozdrqUuHFzU0Dd6Tm9asePVWZtEk8RXEfHLi 9x5mvzaXdzfPESnVgaUcVdcliP/rOSI2r4QRPxtD7dyHLv/8gDnBV62Biw6u+h6h1A8E gabN7WL5PO/ps5n5c5HZlX7wPs/fRvuTMa+5RVF97iMjTJgP2zi9CHyrKXugKc7Ulx86 6OIA==
X-Gm-Message-State: AOAM532nDivEpCPvaa7ElLxFCO8IK7AeIgu0MKYfJYrIs/4OxDPUhaHg uW9lgqmxdWuOdfgOtj7rKXjLM22z0vhKIA==
X-Google-Smtp-Source: ABdhPJxhNEICTcMfZGKtUVBAEjf4VtW+b9abi3DztddY+FtAyB3qGWOIeyJNy4UP734pXmqJm3LMYA==
X-Received: by 2002:a05:6a00:844:b029:3a9:ac0a:efe5 with SMTP id q4-20020a056a000844b02903a9ac0aefe5mr13499187pfk.48.1627852548710;  Sun, 01 Aug 2021 14:15:48 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:80b2:5c79:2266:e431? ([2406:e003:1188:5b01:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id y139sm8983027pfb.107.2021.08.01.14.15.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Aug 2021 14:15:48 -0700 (PDT)
To: tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com>
Date: Mon, 2 Aug 2021 09:15:43 +1200
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: <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/vfh37zlqYT2Z6r34d35goQnIulM>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 21:15:55 -0000

On 01-Aug-21 23:30, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
> The description statements in RFC 6991 talk about a zone index, i.e.,
> they assume the zone index is numeric (which kind of follows from my
> reading of RFC 4007).
>=20
> The pattern is flexible enough to accept a string as well (e.g., an
> interface name). In other words, a server may accept 'fe80::1%lo0' as
> valid input on an edit-config put it will return 'fe80::1%0' on a
> get-config since the numeric zone index is the canonical format
> (assuming the lo0 interface has the interface index 0).

This still makes me uncomfortable. The zone identifier syntax definition.=

in RFC4007 is pretty vague. If an implementer chooses to ignore the
SHOULD on page 16, it seems that a valid name for interface index 7
could be "6". That's why "canonical" is a bit weak. (Neither Windows
nor Linux allow anything that silly, of course.)

To be precise, consider these statements in RFC4007 page 16:

   An implementation SHOULD support at least numerical indices that are
   non-negative decimal integers as <zone_id>.
   ...
   An implementation MAY support other kinds of non-null strings as
   <zone_id>.
   ... the format MUST be used only within a
   node and MUST NOT be sent on the wire unless every node that
   interprets the format agrees on the semantics.

Remotely, there is no way to know that on my Linux machine,
%wlp2s0 and %3 are the same thing.

   Brian
=20
>=20
> /js
>=20
> On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
>> J=C3=BCrgen,
>>
>> We are not disagreeing. These are exactly the sort of use cases that a=
lso
>> motivate RFC6874 and RFC6874bis.=20
>>
>> But I have a question. In the management plane, do you think that the
>> zone index (an integer) is the item of interest, or a zone identifier
>> (a string)? The description at
>> https://datatracker.ietf.org/doc/html/rfc6991#page-20
>> only says that the numerical format is "canonical".
>>
>> Regards
>>    Brian
>>
>> On 28-Jul-21 09:07, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
>>> On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote:
>>>> On 26-Jul-21 23:49, tom petch wrote:
>>>>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpenter <=
brian.e.carpenter@gmail.com>
>>>>> Sent: 25 July 2021 00:44
>>>>>
>>>>> There's an "interesting" issue there, especially for IPv6, which is=20
that the interface ID (or "zone index", per RFC4007) has no meaning outsi=
de the host. So it really shouldn't need to be sent on the wire in normal=20
circumstances.
>>>>>
>>>>> (The conversation around RFC6874bis is slightly relevant.)
>>>>>
>>>>> <tp>
>>>>> Brian
>>>>>
>>>>> As I may have said before, the YANG Types RFC6991 provides types fo=
r IPv4 and IPv6 addresses both with a zone index.  It also provides no-zo=
ne=20
>> types with a suffix 'no-zone' on the type name.  I see evidence that m=
ost=20
>> authors of YANG modules do not realise that a reference to 'ip-address=
' per se is a reference to the format that includes the zone and so have =
specified that format in many if not most cases.  Thus it seems likely th=
at many of the addresses on the wire are in the zone format, even if the =
zone is rarely present.  With hindsight, it might have been better to hav=
e specified 'ip-address' and 'ip-address-zone' rather than ip-address' an=
d io-address-no-zone'.
>>>>
>>>> Makes sense. The reply I just sent to Christian Ams=C3=BCss probably=20
applies to YANG too. Sending a zone index to another host is rarely meani=
ngful or useful.
>>>>
>>>
>>> YANG was designed for network management purposes and there are quite=

>>> some use cases where communicating the zone index is somewhat essenti=
al:
>>>
>>> - If you want to debug a problem, you likely need to know to which
>>>   link a link-local address belongs.
>>> - If you want to generate statistics for protocols using link-local
>>>   addresses, you likely need to know to which links the link-local
>>>   addresses belongs.
>>> - If you want to configure a service to use a certain link-local
>>>   address on a certain link, you may have to include the proper zone
>>>   index.
>>> - If an IP address is used to index lists, things can fall apart if
>>>   you end up with duplicate link-local addresses on different links.
>>>
>>> Whether we should have picked different names for the types may be
>>> debatable but at the end it is the YANG module author's responsibilit=
y
>>> to pick the appropriate types.
>>>
>>> In other words, network management applications often need to be awar=
e
>>> of zone indexes in order to do the right thing. This is different fro=
m
>>> end user applications (that usually have no topological awareness).
>>>
>>> /js
>>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>=20


From nobody Sun Aug  1 14:26:19 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B5093A11D9; Sun,  1 Aug 2021 14:26:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Ujbvqcct_ulx; Sun,  1 Aug 2021 14:26:14 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3F7433A120A; Sun,  1 Aug 2021 14:26:14 -0700 (PDT)
Received: from smtpclient.apple (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GdDhf29QSz31Lv; Sun,  1 Aug 2021 23:26:10 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <29415.1627850588@localhost>
Date: Sun, 1 Aug 2021 23:26:09 +0200
Cc: "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <46B16E2E-8461-4727-A6D4-5B008E279BB7@tzi.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <29415.1627850588@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/DUr-WIXf-ASsOuPxreejuEqTDlk>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 21:26:19 -0000

On 1. Aug 2021, at 22:43, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
> 1985

More like 1981/1982...
=
https://elists.isoc.org/pipermail/internet-history/2021-January/006916.htm=
l

Back to the subject: I=E2=80=99m happy with the tags in this =
specification being the equivalent of the YANG no-zone types.
I=E2=80=99d rather wait for the dust on RFC6874bis to settle before =
putting in zones, and I still think CRIs (draft-ietf-core-href) are the =
place to do this.

If we do put them in here (draft-ietf-cbor-network-addresses), we need =
to put them into the address and the interface format; maybe not into =
the prefix format (but I=E2=80=99m not so sure about that).

Gr=C3=BC=C3=9Fe, Carsten


From nobody Sun Aug  1 15:07:27 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 739013A14B0; Sun,  1 Aug 2021 15:07:24 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.35.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <162785564443.9100.9915065042089534028@ietfa.amsl.com>
Date: Sun, 01 Aug 2021 15:07:24 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Oib5DPOaBGgRzMKy6MS3HiAIkKs>
Subject: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-07.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 22:07:25 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : CBOR tags for IPv4 and IPv6 addresses and prefixes
        Authors         : Michael Richardson
                          Carsten Bormann
	Filename        : draft-ietf-cbor-network-addresses-07.txt
	Pages           : 9
	Date            : 2021-08-01

Abstract:
   This specification defines two CBOR Tags to be used with IPv6 and
   IPv4 addresses and prefixes.


   // RFC-EDITOR-please-remove: This work is tracked at
   // https://github.com/cbor-wg/cbor-network-address


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-network-addresses-07.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-network-addresses-07


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Sun Aug  1 15:12:36 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BDEC23A14EC; Sun,  1 Aug 2021 15:12:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 C1Ua4y_DKeAp; Sun,  1 Aug 2021 15:12:26 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CACAD3A14EB; Sun,  1 Aug 2021 15:12:25 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 3A9AE389D8; Sun,  1 Aug 2021 18:16:30 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fmdiYpll-_rF; Sun,  1 Aug 2021 18:16:26 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id C7DD5389D7; Sun,  1 Aug 2021 18:16:26 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 361A1B24; Sun,  1 Aug 2021 18:12:21 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>, "cbor\@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
In-Reply-To: <46B16E2E-8461-4727-A6D4-5B008E279BB7@tzi.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <29415.1627850588@localhost> <46B16E2E-8461-4727-A6D4-5B008E279BB7@tzi.org>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Date: Sun, 01 Aug 2021 18:12:21 -0400
Message-ID: <24169.1627855941@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Ow1HBwK66iLZ5YRvXSgYW1xwS7Q>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 22:12:31 -0000

<#secure method=3Dpgpmime mode=3Dsign>

Carsten Bormann <cabo@tzi.org> wrote:
    > More like 1981/1982...
    > https://elists.isoc.org/pipermail/internet-history/2021-January/00691=
6.html

    > Back to the subject: I=E2=80=99m happy with the tags in this specific=
ation
    > being the equivalent of the YANG no-zone types.

okay, do you think this needs some text to explain this?

    > I=E2=80=99d rather wait for the dust on RFC6874bis to settle before p=
utting in
    > zones, and I still think CRIs (draft-ietf-core-href) are the place to
    > do this.

how long will it be for the dust on RFC6874bis to settle?
Should we ask for IESG review now?
It seems that we could do this in parallel.

    > If we do put them in here (draft-ietf-cbor-network-addresses), we need
    > to put them into the address and the interface format; maybe not into
    > the prefix format (but I=E2=80=99m not so sure about that).

Yes, you are right Address format too.
I think we can revise (extend) the document to add what we need, once we
understand the use cases better.

The only reason to stop is if we think we got something wrong.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide


From nobody Sun Aug  1 15:21:52 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D6FC3A157A; Sun,  1 Aug 2021 15:21:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 X2Sc2ctso9ww; Sun,  1 Aug 2021 15:21:44 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1AD593A1577; Sun,  1 Aug 2021 15:21:44 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 9F2A238A25; Sun,  1 Aug 2021 18:25:46 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QlqYG8skB-pX; Sun,  1 Aug 2021 18:25:42 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 7D6C638A24; Sun,  1 Aug 2021 18:25:42 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id D9BA0B24; Sun,  1 Aug 2021 18:21:36 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Erik Kline <ek.ietf@gmail.com>, "cbor\@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
In-Reply-To: <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sun, 01 Aug 2021 18:21:36 -0400
Message-ID: <27179.1627856496@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/gemGBe0S59CxFTeNbQ_V_ybKoHI>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 22:21:47 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
    > On 01-Aug-21 23:30, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
    >> The description statements in RFC 6991 talk about a zone index, i.e.,
    >> they assume the zone index is numeric (which kind of follows from my
    >> reading of RFC 4007).
    >>
    >> The pattern is flexible enough to accept a string as well (e.g., an
    >> interface name). In other words, a server may accept 'fe80::1%lo0' as
    >> valid input on an edit-config put it will return 'fe80::1%0' on a
    >> get-config since the numeric zone index is the canonical format
    >> (assuming the lo0 interface has the interface index 0).

    > This still makes me uncomfortable. The zone identifier syntax definit=
ion.
    > in RFC4007 is pretty vague. If an implementer chooses to ignore the
    > SHOULD on page 16, it seems that a valid name for interface index 7
    > could be "6". That's why "canonical" is a bit weak. (Neither Windows
    > nor Linux allow anything that silly, of course.)

Is this what you mean... picking on an interface I'm not using today:

%ip link ls dev virbr0
15: virbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DE=
FAULT group default qlen 1000
    link/ether 52:54:00:14:c7:73 brd ff:ff:ff:ff:ff:ff
%sudo ip link set name "15" dev virbr0
%ip link ls dev virbr0
Device "virbr0" does not exist.

%ip link ls dev 15
15: 15: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DEFAUL=
T group default qlen 1000
    link/ether 52:54:00:14:c7:73 brd ff:ff:ff:ff:ff:ff

    > An implementation SHOULD support at least numerical indices that are
    > non-negative decimal integers as <zone_id>.

Oh.

%sudo ip link set name "-15" dev "15"
%ip link ls dev -15
15: -15: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DEFAU=
LT group default qlen 1000
    link/ether 52:54:00:14:c7:73 brd ff:ff:ff:ff:ff:ff

    > An implementation MAY support other kinds of non-null strings as
    > <zone_id>.
    > ... the format MUST be used only within a
    > node and MUST NOT be sent on the wire unless every node that
    > interprets the format agrees on the semantics.

:-)

    > Remotely, there is no way to know that on my Linux machine,
    > %wlp2s0 and %3 are the same thing.

Agreed.
But, SNMP and YANG know.
So if you are doing CORECONF, then you might want to encode stuff.

And if you want to set an IPv6-LL address for a daemon to listen on, then y=
ou
need the scope.  That seems to be the place where we need this, and this
would seem to be the use case.

(Looking back at my code involving IPsec configuration over LLv6, I see that
actually, I am in trouble if v6LL addresses are ever duplicated, as I don't
send the scope)

For the Interface form, adding a third (optional) field for scope is easy.
I am open to suggestions for handling the Address format.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmEHHnAACgkQgItw+93Q
3WVyyAf/SAs57PmubXwCRzs7HrtAk8anlkUjJVEzK1CETmvO2c7OJGf7wx3d1lFu
RmWupqbGSOBax/6Y7E+B0Vcuw/lKlKNr1GFxEYeIj1FgjE6xRjupoJty29Zm2YkA
cNx7rnsemRPIBG5HKOqWqJzM0armUCUE4sIi3RyJwH8ZUkMC85IoIIqWzOyuUib6
Dj1HDDSaBCT2lO0aO62kX3D0dr/dXhI8UO0OSExOhowOgmtWSY8V+ozr5PYolmRU
+I5kRcG7lNaPoeBQ0oxBVXxXquOVg2cwp7VhTatyarbyLeFYmEvQfWGFEblhTALF
95Sy7SPhQSJnuPtuKcRjxA0w5L5D+g==
=5F0J
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Aug  1 15:33:18 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B9CE3A15E7 for <cbor@ietfa.amsl.com>; Sun,  1 Aug 2021 15:33:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 YAAd19aguN_v for <cbor@ietfa.amsl.com>; Sun,  1 Aug 2021 15:33:12 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E88023A15E6 for <cbor@ietf.org>; Sun,  1 Aug 2021 15:33:11 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id CF6DB38A25 for <cbor@ietf.org>; Sun,  1 Aug 2021 18:37:16 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DoamA5_LoM38 for <cbor@ietf.org>; Sun,  1 Aug 2021 18:37:13 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id BE7A938A22 for <cbor@ietf.org>; Sun,  1 Aug 2021 18:37:13 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 1FAFAB24 for <cbor@ietf.org>; Sun,  1 Aug 2021 18:33:08 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
In-Reply-To: <162785564443.9100.9915065042089534028@ietfa.amsl.com>
References: <162785564443.9100.9915065042089534028@ietfa.amsl.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sun, 01 Aug 2021 18:33:08 -0400
Message-ID: <30457.1627857188@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/D_x_g2mdbFKqkbAtP3Xm3teJ6Ow>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-network-addresses-07.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 22:33:17 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


internet-drafts@ietf.org wrote:
    > A diff from the previous version is available at:
    > https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-network-addresses=
-07

This version has changes to accomodate the WGLC and review comments.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmEHISMACgkQgItw+93Q
3WWLVwf/VdQHeh0j2pMTJf/XsMf747EErDgPe6tNzmbu9M0dd0Ytcv/io5u0Wvqb
voqdQPMp0q2B0FxpvVKYiA4t00MvxTj3sLR3+xpGO+5FZutPGifwHW/QzssW9WpY
cUAVhCy9L0MEeQbxv3P9qANghnKJHEW39ANBSiAReMTnwMFk/u1Jw75rPNLufwCT
lbdeVgsLB+Xjj1hM2Qtnm/Zq5LuIr0vebOrzi19q1IqKhIbPzIkdA0i20b1pjI+M
husmJd5+jjN2IMbvYEMUSzFkxpd0fmtxQ7OZM9/s1QuL5tep9F07NOJLwL2pjQTd
vHjz4jH92VGlSaiXUwiffFUS8Yr8NA==
=XH4Z
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sun Aug  1 15:33:22 2021
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 462FD3A15E6; Sun,  1 Aug 2021 15:33:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, 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 ihp7fohWyy6x; Sun,  1 Aug 2021 15:33:11 -0700 (PDT)
Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (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 997903A15E5; Sun,  1 Aug 2021 15:33:11 -0700 (PDT)
Received: by mail-pj1-x1034.google.com with SMTP id ds11-20020a17090b08cbb0290172f971883bso28822878pjb.1;  Sun, 01 Aug 2021 15:33:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=6Jnm5ATjC4KMzKfxDX5DHFZgrJ61PqwsqxvL6fqnbJ8=; b=iPcnLIiJYRUyTFkvaL2gYnqAwtXq0YGlUCXrZ8ifU3AM8OfSlz6GdURTlXXuEE8bdf HQQXQfZSbbA+uY+wuzrVHBxxDmiDA35YQWf2YW1SXaRWRp3QLUuvMfmOlJIULj6WXamz MwEEJxPE0EEXqxX7hevIBaLeuNPcyDP2iAW5sr86oocke+kdl33Ch/kq9OeOdt4SESVB IptpAIEC1vtnYGJjP+l36yTLNMkadzi5RJpMkVs5mfNv2JZ72mnKxZ2OIfSUKG1XEPqc DKxsuiK1ChVSfmDyy602BEobBAIVI1RP+qG/0Qhw5hK+V3PX4xgowVI3FJDHW7XqusXW JRvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=6Jnm5ATjC4KMzKfxDX5DHFZgrJ61PqwsqxvL6fqnbJ8=; b=nyoXkgb+e9uATWcy75hR3ysVS38yskspapWAnkDNKn/eIUdABZMTyJbU4uINiY4lqN PcvYtjlpQvgETeLdV1fkfgv7L5iXESMh+UXGqJiN690XjGGUPHDgyCMeqrfOb+vf9chE /e+wlSUw+VMY8yv69QbPV5E7GvTcYLRBj5UR9b8D5f5Ck6jgu72G5kYwMI3r/dncRmSc YkJ5eysJ8AOMDbQ22Nl6/dIAqHvi41K0zSpN697RXeR5B8ETfHRzDJ5XRPqYPmtRZS1y IFzxFSDIQ1JWjcw9zfLisPz0LKNhKb+ZRnxby5ZLzyIsKHB0YE74dwEPYOgIPJ8/Kz/a MMLg==
X-Gm-Message-State: AOAM5302Ra2K/PX88OImAePp/92SLMOMmOlQH52j3pmsSAC4aknHFots 5pQZfiLFhd5lzSeNLDwsVErvggFlE4npZQ==
X-Google-Smtp-Source: ABdhPJw+5YGsFhHPslsyEmx4soi0+6FERidVQyZhF87vx2nsD8lLb6HaRo/Nj8ToksXcULrlxu+vVw==
X-Received: by 2002:a63:5059:: with SMTP id q25mr11225788pgl.9.1627857190238;  Sun, 01 Aug 2021 15:33:10 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:80b2:5c79:2266:e431? ([2406:e003:1188:5b01:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id p3sm9682667pfw.171.2021.08.01.15.33.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Aug 2021 15:33:09 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, Carsten Bormann <cabo@tzi.org>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <29415.1627850588@localhost> <46B16E2E-8461-4727-A6D4-5B008E279BB7@tzi.org> <24169.1627855941@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <c4bf1541-2723-41de-a77a-3717cff6cb89@gmail.com>
Date: Mon, 2 Aug 2021 10:33:04 +1200
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: <24169.1627855941@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/elb1wJIufTUUeX4ADTtvbnjCzlg>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 22:33:17 -0000

One one point:
=20
> how long will it be for the dust on RFC6874bis to settle?

That's out of our hands because it includes consulting with the browser c=
ommunity.

There's also the question of whether the name or the number is "canonical=
". As you'll have noticed, I don't like ambiguity on this point.

Regards
   Brian

On 02-Aug-21 10:12, Michael Richardson wrote:
>=20
> <#secure method=3Dpgpmime mode=3Dsign>
>=20
> Carsten Bormann <cabo@tzi.org> wrote:
>     > More like 1981/1982...
>     > https://elists.isoc.org/pipermail/internet-history/2021-January/0=
06916.html
>=20
>     > Back to the subject: I=E2=80=99m happy with the tags in this spec=
ification
>     > being the equivalent of the YANG no-zone types.
>=20
> okay, do you think this needs some text to explain this?
>=20
>     > I=E2=80=99d rather wait for the dust on RFC6874bis to settle befo=
re putting in
>     > zones, and I still think CRIs (draft-ietf-core-href) are the plac=
e to
>     > do this.
>=20
> how long will it be for the dust on RFC6874bis to settle?
> Should we ask for IESG review now?
> It seems that we could do this in parallel.
>=20
>     > If we do put them in here (draft-ietf-cbor-network-addresses), we=20
need
>     > to put them into the address and the interface format; maybe not =
into
>     > the prefix format (but I=E2=80=99m not so sure about that).
>=20
> Yes, you are right Address format too.
> I think we can revise (extend) the document to add what we need, once w=
e
> understand the use cases better.
>=20
> The only reason to stop is if we think we got something wrong.
>=20
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T cons=
ulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>=20
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>=20


From nobody Sun Aug  1 15:56:16 2021
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 757BE3A16A6; Sun,  1 Aug 2021 15:56:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 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, 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 rn8f5WSjteos; Sun,  1 Aug 2021 15:56:10 -0700 (PDT)
Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) (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 C60FC3A16A5; Sun,  1 Aug 2021 15:56:09 -0700 (PDT)
Received: by mail-pl1-x629.google.com with SMTP id k1so17475470plt.12; Sun, 01 Aug 2021 15:56:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=ke8CZhBqbBR1krI38wIExWYjKsNl8zfqFR2Cea0/6Yo=; b=rZ2qq9sFBrx8M42dMV/1fVK+edO3XEL5AC9UXnQKu3Fp9AEwt3a+ePcL/a0NBml4G2 bEDbgc14xRKQhlRsR8p5f9+yXjpCogEJjfD8afPqD7AcrI4jFcUp/60aoii2+rsjaO1S mh1JoKTwF0vwa+LLcDbO78MbSgsjGFSrSoUyHqiI+PERkoc36nBcrz0QmwtbbNjuNxaC GWzv7aKDWxNh0C0nhRH4zpYT4Q8pLYqiDn1KPngP+F1XDuCS5UckQIPLFdJksVcWg7uZ uyaYkF2XbX6uHYY5fWLhSzm5y2cK90E5N86i2nkONaPl5KNSmrLPZZXqOsTOdMxIopjE lDag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=ke8CZhBqbBR1krI38wIExWYjKsNl8zfqFR2Cea0/6Yo=; b=iIDg93sm9+UD99cDVuTwDaq8Fb9cjoFiFLzCiRVn9WJ1EB5p3QnReXstFsGv/bGglU j4GovSz61rZbMfvY3c5de6RqbPy6h9sNupdcrfMub5TFGl045B+cjvO3AN1t68BUgT14 SSPMm/C+mUuxnFmnRDa8NucU+HBbLoH4tpPPVOBfx7hxHb89MAikSqRkKBW90TY9gEVa FZS2J2koAQsP7gQuheoRDsbX40WYQjOpjYFsKNemHoOCT5jruUYKsj22m1MTONvUxv39 9QmnGGAUMclmtIvighQX0yW859RpWgKjK0JFENC2FuI9znkZTiYb0VNUL8ixDwtkhGqK zXbw==
X-Gm-Message-State: AOAM531GkSeg5iyop3tEhb6KIxbHiXQyZ0vZidNkwO+i/BvRF5Nz5wK3 MGhfPtgRgjkATAEucVdge1EY6eHx8myXZA==
X-Google-Smtp-Source: ABdhPJxVo0q/+fk4mqr0uJtD6R85ROOs1gbm7otWR3Ac4XrJwjYhXpaYRNVgcnnxhSAvUqWtS6udNg==
X-Received: by 2002:a65:4244:: with SMTP id d4mr6356916pgq.83.1627858568510; Sun, 01 Aug 2021 15:56:08 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:80b2:5c79:2266:e431? ([2406:e003:1188:5b01:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id 65sm9548957pgi.12.2021.08.01.15.56.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Aug 2021 15:56:07 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <27179.1627856496@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <77455e4c-9c90-eed5-b37c-061bc46fc06a@gmail.com>
Date: Mon, 2 Aug 2021 10:56:02 +1200
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: <27179.1627856496@localhost>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/4vOxRAHk3bDaDh8QMeKS_p1pm8A>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 22:56:15 -0000

> For the Interface form, adding a third (optional) field for scope is ea=
sy.
> I am open to suggestions for handling the Address format.

It gets a bit messy. If you transmit the zone id as a string, you
could use [address, 'eth0'] which would be distinguishable from the
other cases.

By the way, I love the thought of interface -15. RFC4007 is looking
a bit sickly to me.

Regards
   Brian

On 02-Aug-21 10:21, Michael Richardson wrote:
>=20
> Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
>     > On 01-Aug-21 23:30, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
>     >> The description statements in RFC 6991 talk about a zone index, =
i.e.,
>     >> they assume the zone index is numeric (which kind of follows fro=
m my
>     >> reading of RFC 4007).
>     >>
>     >> The pattern is flexible enough to accept a string as well (e.g.,=20
an
>     >> interface name). In other words, a server may accept 'fe80::1%lo=
0' as
>     >> valid input on an edit-config put it will return 'fe80::1%0' on =
a
>     >> get-config since the numeric zone index is the canonical format
>     >> (assuming the lo0 interface has the interface index 0).
>=20
>     > This still makes me uncomfortable. The zone identifier syntax def=
inition.
>     > in RFC4007 is pretty vague. If an implementer chooses to ignore t=
he
>     > SHOULD on page 16, it seems that a valid name for interface index=20
7
>     > could be "6". That's why "canonical" is a bit weak. (Neither Wind=
ows
>     > nor Linux allow anything that silly, of course.)
>=20
> Is this what you mean... picking on an interface I'm not using today:
>=20
> %ip link ls dev virbr0
> 15: virbr0: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mod=
e DEFAULT group default qlen 1000
>     link/ether 52:54:00:14:c7:73 brd ff:ff:ff:ff:ff:ff
> %sudo ip link set name "15" dev virbr0
> %ip link ls dev virbr0
> Device "virbr0" does not exist.
>=20
> %ip link ls dev 15
> 15: 15: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode DE=
FAULT group default qlen 1000
>     link/ether 52:54:00:14:c7:73 brd ff:ff:ff:ff:ff:ff
>=20
>     > An implementation SHOULD support at least numerical indices that =
are
>     > non-negative decimal integers as <zone_id>.
>=20
> Oh.
>=20
> %sudo ip link set name "-15" dev "15"
> %ip link ls dev -15
> 15: -15: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN mode D=
EFAULT group default qlen 1000
>     link/ether 52:54:00:14:c7:73 brd ff:ff:ff:ff:ff:ff
>=20
>     > An implementation MAY support other kinds of non-null strings as
>     > <zone_id>.
>     > ... the format MUST be used only within a
>     > node and MUST NOT be sent on the wire unless every node that
>     > interprets the format agrees on the semantics.
>=20
> :-)
>=20
>     > Remotely, there is no way to know that on my Linux machine,
>     > %wlp2s0 and %3 are the same thing.
>=20
> Agreed.
> But, SNMP and YANG know.
> So if you are doing CORECONF, then you might want to encode stuff.
>=20
> And if you want to set an IPv6-LL address for a daemon to listen on, th=
en you
> need the scope.  That seems to be the place where we need this, and thi=
s
> would seem to be the use case.
>=20
> (Looking back at my code involving IPsec configuration over LLv6, I see=20
that
> actually, I am in trouble if v6LL addresses are ever duplicated, as I d=
on't
> send the scope)
>=20
> For the Interface form, adding a third (optional) field for scope is ea=
sy.
> I am open to suggestions for handling the Address format.
>=20
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T cons=
ulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
>=20
>=20
>=20
>=20


From nobody Sun Aug  1 18:24:40 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60D193A0929; Sun,  1 Aug 2021 18:24:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 B5rbrmf0ByVD; Sun,  1 Aug 2021 18:24:34 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D42A23A092E; Sun,  1 Aug 2021 18:24:32 -0700 (PDT)
Received: from smtpclient.apple (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GdKzd0V1Pz31M2; Mon,  2 Aug 2021 03:24:29 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <27179.1627856496@localhost>
Date: Mon, 2 Aug 2021 03:24:28 +0200
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <01642DB3-0E3D-4ADE-AC74-50C966553B20@tzi.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <27179.1627856496@localhost>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3654.120.0.1.13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/2hg204X0onAwVDyfTH4BKqJC_SI>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 01:24:39 -0000

On 2. Aug 2021, at 00:21, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
> So if you are doing CORECONF, then you might want to encode stuff.

Yes, and thanks to the YANG libraries, CORECONF can do that today.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Aug  2 00:08:53 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 041483A0E3B; Mon,  2 Aug 2021 00:08:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h-Q0wM_mDc8i; Mon,  2 Aug 2021 00:08:44 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40062.outbound.protection.outlook.com [40.107.4.62]) (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 6AD1C3A0E3A; Mon,  2 Aug 2021 00:08:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bijJh4QuL9d0x8684Bhc9LpZEBnvpMamSvlX5wE7PZp7/OXpQm2yptQMF7dJDeQeTNeD6+nMIfG1McTSmHJ1zFnLU5AewAuA6+vlcnUSbOVKktNirrCI82is+7Li9LfSfTuerQfA59lYg9Ia691NYpGrq7hPIejMDA7oiK7g/m7vTiM3paQuyZD43x+woUnHSQgKEe2ON0STu9wW/h5Op6YKRvV51zxmoJzz11TwMszzB2HCJkd+W9Dns2l4KXssmLPI4EC8enNXYVXa0nHIUdxK3+uELlzoCHC9nXQjXFPLqtFQlcSMJCk5xpV6VlSsgZYFEeIdq/f0EzstQjN+Bg==
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-SenderADCheck; bh=4DH66r4lv4n+NW9VKqIHI26DyyiEDwgYG/lVCWLy5xo=; b=d21uRCSaerldKliC/62YQSybfir+QePTc6a1w9Ttj6FMSx7wAqWiseL1j1hy2Naj3nypr9v451NL1wsg6D71FxFqhMi5lU+7PjmVvb/DeHZDEJUozyi40FZPd3IDzf1ztPH8WirPaGQbWahmqlyVijGsZtvANM4ZIXP+d29hfMknHinyEPHTW1Is14fvfc0LCJnKwVEoMVOfzh5pu9jjZW0VXHdZQO0NiyZoXQUBDgVredsZPtJelrTcE+51XRHgyRXWcWTqhAWa7DsEjT+2B9Z7FMuXq0CUjZvD6FTClD0C3sWwSG1154d/bFhA5I5Tzckrp+4YFvzcfnCj85BAfQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; 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=4DH66r4lv4n+NW9VKqIHI26DyyiEDwgYG/lVCWLy5xo=; b=MYMXhOIVqnePVXsVxpsBg+ZjzQ3u8cnStE/NqXAvWuPrcZQBmgxFeJARMGENl1K/umCii7/1pALQja71GrEYDJqcSkGiqhj2hNvBnyjRn3Lzr1z/6fOh9NWa0EJhlJ62VR/F03VwZfzBJ9bEuEDnikxxOsb7qRaSP5MS86vyvXo=
Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23) by AM4P190MB0050.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:61::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.26; Mon, 2 Aug 2021 07:08:41 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::58c1:599a:1d3d:cdeb]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::58c1:599a:1d3d:cdeb%9]) with mapi id 15.20.4373.026; Mon, 2 Aug 2021 07:08:41 +0000
Date: Mon, 2 Aug 2021 09:08:39 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
Message-ID: <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Brian E Carpenter <brian.e.carpenter@gmail.com>, tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com>
X-ClientProxiedBy: AM0PR10CA0111.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:e6::28) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by AM0PR10CA0111.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:e6::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.17 via Frontend Transport; Mon, 2 Aug 2021 07:08:40 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 2395be12-b225-4f4c-2bfd-08d955845b6b
X-MS-TrafficTypeDiagnostic: AM4P190MB0050:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM4P190MB0050E923FF62B406D58B9528DEEF9@AM4P190MB0050.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: jgF/2BbFK6YnA8sf9yOcf44tN8UUrQlCSiqTcYpheEeg9cHlO+vniAm926NMAb9a26pZiaV7/b2hFE23Glr2q5s3THfc6ZJqCHue5FQn8IVAmYyl75VK0/jokRYyRcEKTj5xP8qD3nvBFNiOUWVJbJb7NEsf4+j1OGA/4zRZpQNDkCxrcrnzoO6WqGocfJXZa4n/8k+oqNZtuNSJtGG5hCFt00mua3G88dcGTtX54SuAR1uggHCwI2h2cEbsUjAtaraNk/n4LQq45EnLdo24DO/vUBjStt6jonQ3/6VjBFgnLpL/VyryHd4SpBxZ/EvpnZ10XGyZcwtEQHPLDWRobzG04Ili5VLMY/5dOzHE2zRljvZAO+wr36Nk9aSkLwwV6NAqEb8RZ2KwaEsUCVhvmBHPYLAZ2PpZoLMRPULkls8F13i7KyGKzipvzt9Qq2e1A+g6TvCjhbdBKdYq6f1AzaVykYTChYtBz/GTzSHbatfZoiRUzPUgGP16DvQ6EZ/sNPWGOLVLST224ccZcDMMEVpTCOCM7ZYY9js/sKeBF5oxesXaPlwk3PI70IVUmqynRGrKjDv2ua0qKlp0I7IsHORncnSOksKS2IBVW1p7sNqWkwcGDhXSdfm2SYuxzggVs8KmvoXyXF/WRhJUefrfWkMVL8zwZZw+tC1aicBcxlao5bipwyFqPaeDkIOAbdb5Fu6jWqz4AsaWCwhYM16U0VN0lsln5VU6yUu+YlrCaD0PslUIpcb0VokWKMm/3rkEAErpUcluBIgiOa/IuVMEWnTxGp/klFyzms9uqjnWRCaesHSj/R6LOHjfnPrxW+oA
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(136003)(376002)(346002)(396003)(39830400003)(5660300002)(66574015)(6496006)(3450700001)(4326008)(53546011)(52116002)(6486002)(83380400001)(966005)(26005)(86362001)(8676002)(8936002)(478600001)(85202003)(66946007)(66476007)(66556008)(186003)(38100700002)(38350700002)(786003)(956004)(1076003)(6916009)(54906003)(2906002)(85182001)(316002); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bWZoMnBhaUF6RE1JZG4yaWp5TWRWSm15Nm5EZS9JWE11eStBZGRhTUxSTlNu?= =?utf-8?B?WkdUKy94Mk5qQjFzMHlJVE9IbW90eGd5bWNRYWIvNGdjVCtuVjgzaGtkbk1W?= =?utf-8?B?V0doTG5jQmFuYVViUEdrd0VadDlsRlV0cmh5VkJLc1FFYjlKYmRhWVl1S3Ji?= =?utf-8?B?WFdzUDU1dWFOYUtJR2VVT3VyRGpCTXFPYWtYQWRZYmMxaDg0TCs3OG5FRHI5?= =?utf-8?B?ek9UUjEwVjdUWE9MbjhZLy9DaEVPSE5LemZpVS9nZnZTbWlxQkFuU3NUWmJ1?= =?utf-8?B?RjV2dEsvVzBmajV5SzdZNmsyRU1xUWNKcFAwWjlhQXR1bHorWHNRVTJHclBv?= =?utf-8?B?b2VvTEU0cVFvRXNxTzJLZzJTMFR6ZEs2MVpCWnBPV1V0U2NjNk9oWjJJVU5w?= =?utf-8?B?bXJZa2RNYWpPQ0VJRW90Mm51NW14eERaTE9lWEMveDZJai9tNlVhOXNTL2RI?= =?utf-8?B?cm9WR1RkVVAxNVpoNk1uWWFlYVM0K2o5cUZMVFdLenM5R084L0F1ZHdEcXhU?= =?utf-8?B?SXZrMS9VaFFaMndYK1NBU01pNXkyMzRHMXlQano0R3dwUHVCVktOU3M5c01L?= =?utf-8?B?TFJNUUNEbWpNYVNmYk42dkxzMlpVcjJ2TGNmZndTZDAzZVBjN3JyRVBSZlRF?= =?utf-8?B?V3hTMVlScFBoUldJMG1LU3RMcWlXaEFnaHkzWVhHMDdJMCt0eXgyRXZ6dnJ0?= =?utf-8?B?VmgyWVlaTVgrTjJQWjkvdDVHeVBFazZYblhzc0Vtby9kWkhvZjltVE1PMElx?= =?utf-8?B?UWhRVFRCV0RVVng1bUN6cjBLbXdmU296ZzM1dmh3emZoVW5yeHZBeGFmb1R1?= =?utf-8?B?bnFFVlNkZ2xqdW16SFlaNTVvd1hjc0kzZmFwZ1ZPTjFDbWh2T3QreFZkb08z?= =?utf-8?B?TEhzdXdOVkVtd1VGSjBpR3RjOURGYng0dGpadnlLRjREeFVuT3hrenRmK01N?= =?utf-8?B?SEluVzZXSVR0WU4rQVFzam5HQ2pDWlVKU2tKc2ZmM1Y2Njl0WU1qbU5NTGdI?= =?utf-8?B?dGRqVjRWNEZydXJTaWRFUTBFUGZVTy9PVGFjZ25JVi9EMm02a0dUTHpCamJB?= =?utf-8?B?dnZPYktwREVDNjV6YktqK0dON2xza2JVSE9QZ2trc1BSVFdBM3U3am1pN3FY?= =?utf-8?B?MmFqdFNKQ1EvRXlZYlppVzVqNzB3SnV4RmxsQzVoM3FwUndTT01xKzNnWEpJ?= =?utf-8?B?TEp4MHFBNHpJdU9IVjM3c1hrNmhScFNvK0R3RlVlWXBoSFpIL3VpZlV2UEN0?= =?utf-8?B?K0I3bHNuMVZjcXExc1NHY3RmVzlxMUpyN0xldXZPYW5OZ2w3bEtSbUJ6Ri9W?= =?utf-8?B?TGtaa1JLNWdGaHEzQ2FoLzErcEUxeDhiNzYvbjh5TUlUM3FBaXRzLzE2NS9v?= =?utf-8?B?aDFkQXZNK2lTUlRITkNscHBEVVc4VjNUSUV5MDU5bVhOdXZQZlhhSEhsdTlF?= =?utf-8?B?ZDZOb1lRTkdhWWdpbk9UNnE1amZIZGdiL0t0WndmVEptbnFnYllLak5pcGR0?= =?utf-8?B?aWhReUVkY0dvaTBrY0p3M3M0ckgyeElmaG9FWnpEUXgxZHdqRG93OVJja0dl?= =?utf-8?B?YkhWS0hoQmFRNGJsNmhXWk1jb2NKbFVqcExsWE05YUd4bEtrcGtELzJNNlQ1?= =?utf-8?B?amJyczQ5V3FOcVZSMGwxditzMzNNam45eDJEdWhXZ3Y0Y0w3UHoxSkJvejdL?= =?utf-8?B?MXA2d1A2OVk0U3pQY3F6SjQxTTg1WUw5QmNLMUpnaWVZMktxeFFkdGtyOUlv?= =?utf-8?Q?//6t1mmcCCvmBzrLa2ZGnXWAPRAwSHkzShu7qBZ?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 2395be12-b225-4f4c-2bfd-08d955845b6b
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2021 07:08:40.9650 (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: //I3/V8g6dSYc0jIkZaSTe8dGSs3nitVTRG0ycvQuR294t6UUpuZTz72em4wj0AMMBcfUdy3W/ugmFVmzlKMtWJpZmitzeisWZUWuLco83c=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4P190MB0050
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/2qeMbqsslLFO-zPvLJ9F06CetNs>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 07:08:51 -0000

Brian,

let me see whether I understand your concern. You seem to be concerned
that assigning the name "5" to an interface with interface index 7
leads to an ambiguity. Well, thats likely true since we do not
syntactically distinguish between the number 5 and the name "5". I
would expect that implementations interpret fe80::1%5 as referring to
interface 5 and not 7 (but this perhaps deserves to be clarified, if
it is a number the number is interpreted as an interface index and not
as an interface name). I assume the same 'ambiguity' may exist on CLI
tools, I would have to go and try out what they actually do.

Regarding your statement "Remotely, there is no way to know that on my
Linux machine, %wlp2s0 and %3 are the same thing.", please note that
applications having access to the IF-MIB or the ietf-interfaces YANG
module or a proprietary API exposing interface information will
understand how interface names map to interface indexes.

/js

On Mon, Aug 02, 2021 at 09:15:43AM +1200, Brian E Carpenter wrote:
> On 01-Aug-21 23:30, Jürgen Schönwälder wrote:
> > The description statements in RFC 6991 talk about a zone index, i.e.,
> > they assume the zone index is numeric (which kind of follows from my
> > reading of RFC 4007).
> > 
> > The pattern is flexible enough to accept a string as well (e.g., an
> > interface name). In other words, a server may accept 'fe80::1%lo0' as
> > valid input on an edit-config put it will return 'fe80::1%0' on a
> > get-config since the numeric zone index is the canonical format
> > (assuming the lo0 interface has the interface index 0).
> 
> This still makes me uncomfortable. The zone identifier syntax definition.
> in RFC4007 is pretty vague. If an implementer chooses to ignore the
> SHOULD on page 16, it seems that a valid name for interface index 7
> could be "6". That's why "canonical" is a bit weak. (Neither Windows
> nor Linux allow anything that silly, of course.)
> 
> To be precise, consider these statements in RFC4007 page 16:
> 
>    An implementation SHOULD support at least numerical indices that are
>    non-negative decimal integers as <zone_id>.
>    ...
>    An implementation MAY support other kinds of non-null strings as
>    <zone_id>.
>    ... the format MUST be used only within a
>    node and MUST NOT be sent on the wire unless every node that
>    interprets the format agrees on the semantics.
> 
> Remotely, there is no way to know that on my Linux machine,
> %wlp2s0 and %3 are the same thing.
> 
>    Brian
>  
> > 
> > /js
> > 
> > On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
> >> Jürgen,
> >>
> >> We are not disagreeing. These are exactly the sort of use cases that also
> >> motivate RFC6874 and RFC6874bis. 
> >>
> >> But I have a question. In the management plane, do you think that the
> >> zone index (an integer) is the item of interest, or a zone identifier
> >> (a string)? The description at
> >> https://datatracker.ietf.org/doc/html/rfc6991#page-20
> >> only says that the numerical format is "canonical".
> >>
> >> Regards
> >>    Brian
> >>
> >> On 28-Jul-21 09:07, Jürgen Schönwälder wrote:
> >>> On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote:
> >>>> On 26-Jul-21 23:49, tom petch wrote:
> >>>>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpenter <brian.e.carpenter@gmail.com>
> >>>>> Sent: 25 July 2021 00:44
> >>>>>
> >>>>> There's an "interesting" issue there, especially for IPv6, which is 
> that the interface ID (or "zone index", per RFC4007) has no meaning outside the host. So it really shouldn't need to be sent on the wire in normal 
> circumstances.
> >>>>>
> >>>>> (The conversation around RFC6874bis is slightly relevant.)
> >>>>>
> >>>>> <tp>
> >>>>> Brian
> >>>>>
> >>>>> As I may have said before, the YANG Types RFC6991 provides types for IPv4 and IPv6 addresses both with a zone index.  It also provides no-zone 
> >> types with a suffix 'no-zone' on the type name.  I see evidence that most 
> >> authors of YANG modules do not realise that a reference to 'ip-address' per se is a reference to the format that includes the zone and so have specified that format in many if not most cases.  Thus it seems likely that many of the addresses on the wire are in the zone format, even if the zone is rarely present.  With hindsight, it might have been better to have specified 'ip-address' and 'ip-address-zone' rather than ip-address' and io-address-no-zone'.
> >>>>
> >>>> Makes sense. The reply I just sent to Christian Amsüss probably 
> applies to YANG too. Sending a zone index to another host is rarely meaningful or useful.
> >>>>
> >>>
> >>> YANG was designed for network management purposes and there are quite
> >>> some use cases where communicating the zone index is somewhat essential:
> >>>
> >>> - If you want to debug a problem, you likely need to know to which
> >>>   link a link-local address belongs.
> >>> - If you want to generate statistics for protocols using link-local
> >>>   addresses, you likely need to know to which links the link-local
> >>>   addresses belongs.
> >>> - If you want to configure a service to use a certain link-local
> >>>   address on a certain link, you may have to include the proper zone
> >>>   index.
> >>> - If an IP address is used to index lists, things can fall apart if
> >>>   you end up with duplicate link-local addresses on different links.
> >>>
> >>> Whether we should have picked different names for the types may be
> >>> debatable but at the end it is the YANG module author's responsibility
> >>> to pick the appropriate types.
> >>>
> >>> In other words, network management applications often need to be aware
> >>> of zone indexes in order to do the right thing. This is different from
> >>> end user applications (that usually have no topological awareness).
> >>>
> >>> /js
> >>>
> >>
> >> --------------------------------------------------------------------
> >> IETF IPv6 working group mailing list
> >> ipv6@ietf.org
> >> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> >> --------------------------------------------------------------------
> > 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Mon Aug  2 07:51:03 2021
Return-Path: <barryleiba@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0688D3A0407 for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 07:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 Hy4QoYB7hT9E for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 07:51:00 -0700 (PDT)
Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) (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 A01573A076F for <cbor@ietf.org>; Mon,  2 Aug 2021 07:51:00 -0700 (PDT)
Received: by mail-lf1-f53.google.com with SMTP id b6so11377750lff.10 for <cbor@ietf.org>; Mon, 02 Aug 2021 07:51:00 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PZSHlCGxgGuCK7KBcchryKHCngJi4sWU107gxbYMH3g=; b=QEsV6rQ1AK5HbjuRYy3VSsNW0wV9D4RpGu9ZW5+Cc51xflDj3OIBmfzINrPIGl3Y2P rpdxsbolw75yh0hYceKkHTG4RXtTWFiTBwPJcAbt+sVjshfgWbxpgq9eMgGbYrmm2ROx I49pT1cgpxLr4jLVjUUUEfPKCgeUom2HNZ3JulmJ6s3Z7VD8kD5Bi/s9KMx/ic9OKdfo wb6mfL4v/m284S1HSqg1FtAwKcFzuz4XVdCc32y2QsgQAhfBGClMPxpsVuATcrw2siuI +SYXvClsP3Yt8vqZ6r5Mgy9UTr5U32LxGwGbj1dB7kR/km7VHuB9abiCxUAuwU/83cym rEdw==
X-Gm-Message-State: AOAM530RoC+MuWC5aRA5bJeXZ/d7NIPdu+Fz/i0TfyUlUvkU4QhIg4r3 M28JNUyGAFrQ16cemyVs/NoY5oh8iKlwAaEW4Hoh909scIg=
X-Google-Smtp-Source: ABdhPJxobbljbDcbKUQJJTUzQo61y90xu+sCCsEyrcFoZv93Tle5Map8JktKY4Lo7ws6GqSlmtbnSUmZ+JYf0HiSndE=
X-Received: by 2002:a05:6512:3c8f:: with SMTP id h15mr13279526lfv.440.1627915858055;  Mon, 02 Aug 2021 07:50:58 -0700 (PDT)
MIME-Version: 1.0
From: Barry Leiba <barryleiba@computer.org>
Date: Mon, 2 Aug 2021 10:50:46 -0400
Message-ID: <CALaySJK1mbyyWeUj_iFNrLZbRCLzhUO6eSNORHDgW1nQuOK3og@mail.gmail.com>
To: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/wqlAU6NaczCggE3ghjvLmaZjT28>
Subject: [Cbor] Minutes posted for the CBOR session at IETF 111
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 14:51:02 -0000

Minutes are posted, taken from the etherpad notes (thanks, Marco, and
all others who helped!):

https://datatracker.ietf.org/meeting/111/materials/minutes-111-cbor-00

Please review and post any corrections here.

Thanks,
Barry


From nobody Mon Aug  2 08:14:12 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7608D3A08DC for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 08:14:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 dMnF2J1HWos9 for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 08:14:06 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A3C123A0906 for <cbor@ietf.org>; Mon,  2 Aug 2021 08:14:05 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GdhNn09WGz2xKR; Mon,  2 Aug 2021 17:14:00 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CALaySJK1mbyyWeUj_iFNrLZbRCLzhUO6eSNORHDgW1nQuOK3og@mail.gmail.com>
Date: Mon, 2 Aug 2021 17:13:52 +0200
Cc: cbor@ietf.org
X-Mao-Original-Outgoing-Id: 649610032.307598-facdc5119a325444c2fdbe909e9d43b6
Content-Transfer-Encoding: quoted-printable
Message-Id: <5C9BCBB9-A0B8-49E6-B30A-57C44639AEBF@tzi.org>
References: <CALaySJK1mbyyWeUj_iFNrLZbRCLzhUO6eSNORHDgW1nQuOK3og@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/g9kPWNkaAXeHK0zO2KA2lwgZjiQ>
Subject: Re: [Cbor] Minutes posted for the CBOR session at IETF 111
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 15:14:11 -0000

On 2021-08-02, at 16:50, Barry Leiba <barryleiba@computer.org> wrote:
>=20
> https://datatracker.ietf.org/meeting/111/materials/minutes-111-cbor-00

Did we really say we want to move file-magic and network-address in =
sync?
My brain tells me that we were ready to advance the latter (independent =
of the former, which thankfully now also has John=E2=80=99s review), but =
I haven=E2=80=99t watched the video.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Mon Aug  2 08:20:51 2021
Return-Path: <barryleiba@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DF4B3A0958 for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 08:20:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 ThicDnRlCkOw for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 08:20:45 -0700 (PDT)
Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 B92D33A0953 for <cbor@ietf.org>; Mon,  2 Aug 2021 08:20:44 -0700 (PDT)
Received: by mail-lf1-f52.google.com with SMTP id a26so34291578lfr.11 for <cbor@ietf.org>; Mon, 02 Aug 2021 08:20:44 -0700 (PDT)
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=5F8t6YQRtp0hGK4tV7KHBgDAwKUl0jDhb/AtuyjJlL8=; b=KZx9FhsfJK0/6IjwLnUb9FqhI9jmXtnvlj8iR3mKEY4ZpR9oTesNnHDivlW5ZLUAWw dyTEA440EGT2KS1f7IsFKJSWCXqS72quuF3dbhY5DkUdD6wjOfhG8dmXgprYGc6Mr+X8 3OmNRIEa8jzLws9KrwdplPjErdrTNzlaQ0viMZxMePvIfomrichyKyY6JEdAi+6Pqq6K 6KYSNovO8+luVYXRshPJnUwFebdFB0FToNkKbEVyLV7aJt3KpIXszVu9QWjrh0Iwab/y +EFAfRM1oA5gV6bUP9okiqqS1Z0AOA7GLnNLEk5wp79dvG62IT5rrbPYrLdlRkGUaotm 1QPA==
X-Gm-Message-State: AOAM5305KxQ1g+oyfMc+f6jTWzLpTG9JXJessB57gUlWFV2WNhGkRWmJ EzlOp5EI0JMbciHYWjIs/CFAWs2WeDA6j+r4U1A=
X-Google-Smtp-Source: ABdhPJzi672z5HduEdcAR0oKf8ziCgipLMJfWHF0ODFcNArdv2SGNzUFuUnZu7381w9AmU11zt9QwPZ+hYSiRt27ZQ4=
X-Received: by 2002:a05:6512:6d4:: with SMTP id u20mr5384573lff.643.1627917642627;  Mon, 02 Aug 2021 08:20:42 -0700 (PDT)
MIME-Version: 1.0
References: <CALaySJK1mbyyWeUj_iFNrLZbRCLzhUO6eSNORHDgW1nQuOK3og@mail.gmail.com> <5C9BCBB9-A0B8-49E6-B30A-57C44639AEBF@tzi.org>
In-Reply-To: <5C9BCBB9-A0B8-49E6-B30A-57C44639AEBF@tzi.org>
From: Barry Leiba <barryleiba@computer.org>
Date: Mon, 2 Aug 2021 11:20:30 -0400
Message-ID: <CALaySJLUruup+-PZ7nTSo9dwWD8q+Mm2LJf9c3UR8Lgj8doRFQ@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/YHce4WOaBH-j2gGcEqXXYpDaSAM>
Subject: Re: [Cbor] Minutes posted for the CBOR session at IETF 111
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 15:20:50 -0000

I don't think the note "together with" was intended to mean "in sync".
I think it was just meant to say that they're both moving forward, and
I intend to request publication of network-address today or tomorrow.

Barry

On Mon, Aug 2, 2021 at 11:14 AM Carsten Bormann <cabo@tzi.org> wrote:
>
> On 2021-08-02, at 16:50, Barry Leiba <barryleiba@computer.org> wrote:
> >
> > https://datatracker.ietf.org/meeting/111/materials/minutes-111-cbor-00
>
> Did we really say we want to move file-magic and network-address in sync?
> My brain tells me that we were ready to advance the latter (independent o=
f the former, which thankfully now also has John=E2=80=99s review), but I h=
aven=E2=80=99t watched the video.
>
> Gr=C3=BC=C3=9Fe, Carsten
>
> _______________________________________________
> CBOR mailing list
> CBOR@ietf.org
> https://www.ietf.org/mailman/listinfo/cbor


From nobody Mon Aug  2 08:53:25 2021
Return-Path: <barryleiba@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E8773A07E0 for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 08:53:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.648
X-Spam-Level: 
X-Spam-Status: No, score=-1.648 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 ZFr_LGIYSc_R for <cbor@ietfa.amsl.com>; Mon,  2 Aug 2021 08:53:16 -0700 (PDT)
Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (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 66FE13A07DF for <cbor@ietf.org>; Mon,  2 Aug 2021 08:53:16 -0700 (PDT)
Received: by mail-lf1-f46.google.com with SMTP id g13so34487114lfj.12 for <cbor@ietf.org>; Mon, 02 Aug 2021 08:53:16 -0700 (PDT)
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=LpgOmIITuHAq5YpZ5Z7TiPXyHrAx25MbS6E1IbXsBc8=; b=hAvKFRnQGJlQX52+J0okjH/xg9pfNnBvm9q5jr1cIorNGBjBTPs5EQFgOeghzyks+q F60/76IG3M/lPzokGx0b45fJaUvfCtsa5ihY0sMW/sWmB2fIIUE9TBQUTcL8WBv3I7I0 lPXMdx0RXQYmV2qyGgfHI1CpDmmPqrhuImuYO6kooeApzNts1NPV2ZxgOraYsixPaiR3 L2RDtKpdWoeMN1TWAMcpiTtrkPL15f338FzDOnmuE8PnVGGl4ej/QsJLEiOui6ofXXgu lyrZQdTGXQ09/VghIAgvjB2JnOuZLp1YAqqj2nIzDixOBABTV0vS8n+x6FsRYogpXVXg +5Dg==
X-Gm-Message-State: AOAM531GWci7b8KAK4AA9FWDgWu33pp8HClGcTuMAFd04IDUZ+ZkPZ+C FimyI++HLklx/QLUKJora+6r9viyKcvs90HT2FU=
X-Google-Smtp-Source: ABdhPJwntgzabCSHsTna4gBIc9hGB2xUaOFDeHYGCWhZgzbSaRdzozTEbJGCyMJnVEgb+3etPemJiBeehbnSb5eI7hY=
X-Received: by 2002:ac2:532d:: with SMTP id f13mr13146515lfh.123.1627919593723;  Mon, 02 Aug 2021 08:53:13 -0700 (PDT)
MIME-Version: 1.0
References: <CALaySJK1mbyyWeUj_iFNrLZbRCLzhUO6eSNORHDgW1nQuOK3og@mail.gmail.com> <5C9BCBB9-A0B8-49E6-B30A-57C44639AEBF@tzi.org> <CALaySJLUruup+-PZ7nTSo9dwWD8q+Mm2LJf9c3UR8Lgj8doRFQ@mail.gmail.com>
In-Reply-To: <CALaySJLUruup+-PZ7nTSo9dwWD8q+Mm2LJf9c3UR8Lgj8doRFQ@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
Date: Mon, 2 Aug 2021 11:53:02 -0400
Message-ID: <CALaySJ+d-iD4DHQSO5xwYjoeJu0Jatrhn2DTMgqqYarYD0=XyA@mail.gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/uauxnHMLsfvvvmWQy7mggLz8oVs>
Subject: Re: [Cbor] Minutes posted for the CBOR session at IETF 111
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 15:53:21 -0000

I've fixed this (and the run-together text) and re-posted.  Use this
link to always get the latest version:

https://datatracker.ietf.org/meeting/111/materials/minutes-111-cbor

On Mon, Aug 2, 2021 at 11:20 AM Barry Leiba <barryleiba@computer.org> wrote=
:
>
> I don't think the note "together with" was intended to mean "in sync".
> I think it was just meant to say that they're both moving forward, and
> I intend to request publication of network-address today or tomorrow.
>
> Barry
>
> On Mon, Aug 2, 2021 at 11:14 AM Carsten Bormann <cabo@tzi.org> wrote:
> >
> > On 2021-08-02, at 16:50, Barry Leiba <barryleiba@computer.org> wrote:
> > >
> > > https://datatracker.ietf.org/meeting/111/materials/minutes-111-cbor-0=
0
> >
> > Did we really say we want to move file-magic and network-address in syn=
c?
> > My brain tells me that we were ready to advance the latter (independent=
 of the former, which thankfully now also has John=E2=80=99s review), but I=
 haven=E2=80=99t watched the video.
> >
> > Gr=C3=BC=C3=9Fe, Carsten
> >
> > _______________________________________________
> > CBOR mailing list
> > CBOR@ietf.org
> > https://www.ietf.org/mailman/listinfo/cbor


From nobody Mon Aug  2 13:00:42 2021
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF9643A1A0A; Mon,  2 Aug 2021 13:00:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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_BLOCKED=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 cIqW1f3f9Iwa; Mon,  2 Aug 2021 13:00:31 -0700 (PDT)
Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) (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 7809A3A1A0B; Mon,  2 Aug 2021 13:00:31 -0700 (PDT)
Received: by mail-pl1-x633.google.com with SMTP id u16so12414599ple.2; Mon, 02 Aug 2021 13:00:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=/LRKNY+7UN39/JfOe7fvGDFoGJjcJwLkqRasLbEzN0Y=; b=nE6qXyr3N4+6eKbrQ088i1bf0rVU0gzzKT1BtiwYymiHkB5FWUKjAMDR7t8vowbhXv xbSwVBJAFjyst75G6C6qfaoJ0rOVX17hSwqNZipampmd9Re5Qum3zwy6Fw3IG/jxVfhm RFip9cohEh1ZCaFh56MZp9+ZPqZzsSTlCcrcsBSjSney+4uzlLbiebL7AG/K5qPQr6Fk mIrLK9S9+X9IrevARXDdXNRkHDnD5yq+ZN5fCJ6ihZ9ojQR+n9yX5v94mS5/TWUiBps8 2Y0GFy6VFV0oiR0lpueJpbkzy8HepIv/jrGGfA1/QhNGxV28mW7PF03r6/6nQr3+pS2p hviA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=/LRKNY+7UN39/JfOe7fvGDFoGJjcJwLkqRasLbEzN0Y=; b=uP9BHszP1e9wqN7KJg+m8G6hSQsyS3iMIM7CVM0BCda6Q0MaFjrtODQssJInSaqaZU bFvdF6FaNtg3Xk5t12/6WyxreS8e6UUKkxLxC9UKP2yYIpYjdMMVYnAXQrfZdeXfMLb0 b9u6TSnHSQM5fN2jPUD1nsQ44G+ZV9pRa+77RojfYOfhULLols++3k4lrxXzhw9vGYon kor7m0/xsqAdFejEFPRnRVv6aWSi6SSkSSOe8GeNf8kPPiulrINR51VT8nJtkthH6vA4 AKW/UvQ9XXvC3x80j/lWicvTPgOSQDbh/mn7MuqAoELlbvQjeuRbfplHmN4t4nZ9xCtZ ewNg==
X-Gm-Message-State: AOAM533ZfGch0xWtc1GWUSsFPvuY41pWdO6PubrUADKnT8vC8ju7XY1k hy1FjobONXBiQQlQntBnRh4s6aLbyEDYZg==
X-Google-Smtp-Source: ABdhPJxu9lJOzwZb3W34gFv2WCSRGHGyUKqRiiGPMQO0S7HVH+ZQiqfWulgsx0qKbthMqxKbEvte6Q==
X-Received: by 2002:a17:902:ecc6:b029:12c:791d:261 with SMTP id a6-20020a170902ecc6b029012c791d0261mr15308733plh.55.1627934430274;  Mon, 02 Aug 2021 13:00:30 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:80b2:5c79:2266:e431? ([2406:e003:1188:5b01:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id o20sm14373371pgv.80.2021.08.02.13.00.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Aug 2021 13:00:29 -0700 (PDT)
To: tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <541ec837-d5ad-2c3f-aa98-6d9af4e11c53@gmail.com>
Date: Tue, 3 Aug 2021 08:00:26 +1200
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: <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/HmznGBQlgezxMBmu5cE42lo0_hY>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 20:00:35 -0000

On 02-Aug-21 19:08, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
> Brian,
>=20
> let me see whether I understand your concern. You seem to be concerned
> that assigning the name "5" to an interface with interface index 7
> leads to an ambiguity. Well, thats likely true since we do not
> syntactically distinguish between the number 5 and the name "5". I
> would expect that implementations interpret fe80::1%5 as referring to
> interface 5 and not 7 (but this perhaps deserves to be clarified, if
> it is a number the number is interpreted as an interface index and not
> as an interface name). I assume the same 'ambiguity' may exist on CLI
> tools, I would have to go and try out what they actually do.

Michael Richardson already gave some examples for Linux.=20
=20
> Regarding your statement "Remotely, there is no way to know that on my
> Linux machine, %wlp2s0 and %3 are the same thing.", please note that
> applications having access to the IF-MIB or the ietf-interfaces YANG
> module or a proprietary API exposing interface information will
> understand how interface names map to interface indexes.

But not if the user has chosen to change some interface names, surely?
The mapping is not algorithmic in that case, and any names held
remotely in the management plane could be out of date. IMHO it remains
very inadvisable to export the names. I'd advocate making the use of
interface numbers mandatory rather than "canonical".

   Brian
>=20
> /js
>=20
> On Mon, Aug 02, 2021 at 09:15:43AM +1200, Brian E Carpenter wrote:
>> On 01-Aug-21 23:30, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
>>> The description statements in RFC 6991 talk about a zone index, i.e.,=

>>> they assume the zone index is numeric (which kind of follows from my
>>> reading of RFC 4007).
>>>
>>> The pattern is flexible enough to accept a string as well (e.g., an
>>> interface name). In other words, a server may accept 'fe80::1%lo0' as=

>>> valid input on an edit-config put it will return 'fe80::1%0' on a
>>> get-config since the numeric zone index is the canonical format
>>> (assuming the lo0 interface has the interface index 0).
>>
>> This still makes me uncomfortable. The zone identifier syntax definiti=
on.
>> in RFC4007 is pretty vague. If an implementer chooses to ignore the
>> SHOULD on page 16, it seems that a valid name for interface index 7
>> could be "6". That's why "canonical" is a bit weak. (Neither Windows
>> nor Linux allow anything that silly, of course.)
>>
>> To be precise, consider these statements in RFC4007 page 16:
>>
>>    An implementation SHOULD support at least numerical indices that ar=
e
>>    non-negative decimal integers as <zone_id>.
>>    ...
>>    An implementation MAY support other kinds of non-null strings as
>>    <zone_id>.
>>    ... the format MUST be used only within a
>>    node and MUST NOT be sent on the wire unless every node that
>>    interprets the format agrees on the semantics.
>>
>> Remotely, there is no way to know that on my Linux machine,
>> %wlp2s0 and %3 are the same thing.
>>
>>    Brian
>> =20
>>>
>>> /js
>>>
>>> On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
>>>> J=C3=BCrgen,
>>>>
>>>> We are not disagreeing. These are exactly the sort of use cases that=20
also
>>>> motivate RFC6874 and RFC6874bis.=20
>>>>
>>>> But I have a question. In the management plane, do you think that th=
e
>>>> zone index (an integer) is the item of interest, or a zone identifie=
r
>>>> (a string)? The description at
>>>> https://datatracker.ietf.org/doc/html/rfc6991#page-20
>>>> only says that the numerical format is "canonical".
>>>>
>>>> Regards
>>>>    Brian
>>>>
>>>> On 28-Jul-21 09:07, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
>>>>> On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote:
>>>>>> On 26-Jul-21 23:49, tom petch wrote:
>>>>>>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpenter=20
<brian.e.carpenter@gmail.com>
>>>>>>> Sent: 25 July 2021 00:44
>>>>>>>
>>>>>>> There's an "interesting" issue there, especially for IPv6, which =
is=20
>> that the interface ID (or "zone index", per RFC4007) has no meaning ou=
tside the host. So it really shouldn't need to be sent on the wire in nor=
mal=20
>> circumstances.
>>>>>>>
>>>>>>> (The conversation around RFC6874bis is slightly relevant.)
>>>>>>>
>>>>>>> <tp>
>>>>>>> Brian
>>>>>>>
>>>>>>> As I may have said before, the YANG Types RFC6991 provides types =
for IPv4 and IPv6 addresses both with a zone index.  It also provides no-=
zone=20
>>>> types with a suffix 'no-zone' on the type name.  I see evidence that=20
most=20
>>>> authors of YANG modules do not realise that a reference to 'ip-addre=
ss' per se is a reference to the format that includes the zone and so hav=
e specified that format in many if not most cases.  Thus it seems likely =
that many of the addresses on the wire are in the zone format, even if th=
e zone is rarely present.  With hindsight, it might have been better to h=
ave specified 'ip-address' and 'ip-address-zone' rather than ip-address' =
and io-address-no-zone'.
>>>>>>
>>>>>> Makes sense. The reply I just sent to Christian Ams=C3=BCss probab=
ly=20
>> applies to YANG too. Sending a zone index to another host is rarely me=
aningful or useful.
>>>>>>
>>>>>
>>>>> YANG was designed for network management purposes and there are qui=
te
>>>>> some use cases where communicating the zone index is somewhat essen=
tial:
>>>>>
>>>>> - If you want to debug a problem, you likely need to know to which
>>>>>   link a link-local address belongs.
>>>>> - If you want to generate statistics for protocols using link-local=

>>>>>   addresses, you likely need to know to which links the link-local
>>>>>   addresses belongs.
>>>>> - If you want to configure a service to use a certain link-local
>>>>>   address on a certain link, you may have to include the proper zon=
e
>>>>>   index.
>>>>> - If an IP address is used to index lists, things can fall apart if=

>>>>>   you end up with duplicate link-local addresses on different links=
=2E
>>>>>
>>>>> Whether we should have picked different names for the types may be
>>>>> debatable but at the end it is the YANG module author's responsibil=
ity
>>>>> to pick the appropriate types.
>>>>>
>>>>> In other words, network management applications often need to be aw=
are
>>>>> of zone indexes in order to do the right thing. This is different f=
rom
>>>>> end user applications (that usually have no topological awareness).=

>>>>>
>>>>> /js
>>>>>
>>>>
>>>> --------------------------------------------------------------------=

>>>> IETF IPv6 working group mailing list
>>>> ipv6@ietf.org
>>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>>>> --------------------------------------------------------------------=

>>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>=20


From nobody Mon Aug  2 14:47:49 2021
Return-Path: <dthaler@microsoft.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 688F23A1DF2; Mon,  2 Aug 2021 14:47:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.553
X-Spam-Level: 
X-Spam-Status: No, score=-2.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.452, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.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 j5TwDEC1J-nw; Mon,  2 Aug 2021 14:47:42 -0700 (PDT)
Received: from NAM04-BN8-obe.outbound.protection.outlook.com (mail-bn8nam08on2123.outbound.protection.outlook.com [40.107.100.123]) (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 A2DAD3A1E25; Mon,  2 Aug 2021 14:47:40 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GRsXN8Aq4pLyjgLesiOjVJHA0tp5o4lWS1thPTWY5oKmkZ1635/X4IMsXOy+OaM0xdYnWlG2UMyfJRcr3pr6xth1ofN4yNnmOs7xiT1c20ur1SKZh79dwQSfcHbq5A7NUhRNzfu1phmEpvXdThcs1c86EWRsguBVHSRjlgA3G/SXriQ+J4qPV9tuawUnwRxcDWZgZguIFHkM8Kv77F3lXRoBtLWJK32ZlL8y/uahg/g7VOszAHaAGDbv0XwanABaeR8/cpz5tMt6syfZnf9x9W50L1PanFbNtdyxm3pYWKvJ2RrUUerjZn6Pvx/LLjvzG7M8sY0hjF5moFa7HHVDoA==
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-SenderADCheck; bh=SBB0VpiKUgWFzZ2J8y+PmOIXsVyJwSNgZfWzfnvzD4E=; b=UVBfX5jEAvXuyCn5VbU5D6/TKlXwb0N2ZM3v/ta0FKkS79PSEOpJ+IxK05Js2tfjvaeYRm+vBjZKSC3vQlhP0PX0bOFm65J/JFPSLHSjwokHac64mvnxfBbiZxlI65p5K5fC+kywmunCjJdVaoiyH3x/MPV7DrNFU3RlKOCX0fvbo07FBcXZKsK5CMUxbAk2z+SRaVf0efhYIop6Pgo0L8aVwZcUaEMBXoIOpsYG1nsDybzF4X2PzR89ZRY6CoSmnCBChVOTge+z/Lz/bfvgDg263Cd//DI9v+IUHQ07Tg1ya4oZF8h8Ct8lS+ztGiRtaBt6YzFUY2/i70loD8EUlA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SBB0VpiKUgWFzZ2J8y+PmOIXsVyJwSNgZfWzfnvzD4E=; b=CDLshy4Iu9EhjYixvV61NtxhnULcQ6Pf1mwRPwSyBLomE4EoF9co6MSSRuTMd8sFnpN54eyFbCQTNqhO4PZ3LTvZAibS16/o7j5EFzXbPqY/wRWw2wu4nyvgriyb/9NZGR4uddKP0peZoMCl/tdJUkxT+GsB5zYjfd8PVopjf6U=
Received: from CH2PR21MB1464.namprd21.prod.outlook.com (2603:10b6:610:89::16) by CH2PR21MB1445.namprd21.prod.outlook.com (2603:10b6:610:8d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.2; Mon, 2 Aug 2021 21:47:38 +0000
Received: from CH2PR21MB1464.namprd21.prod.outlook.com ([fe80::cd73:748d:5b7:e2c5]) by CH2PR21MB1464.namprd21.prod.outlook.com ([fe80::cd73:748d:5b7:e2c5%9]) with mapi id 15.20.4415.002; Mon, 2 Aug 2021 21:47:38 +0000
From: Dave Thaler <dthaler@microsoft.com>
To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>, Brian E Carpenter <brian.e.carpenter@gmail.com>
CC: "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>, tom petch <ietfc@btconnect.com>
Thread-Topic: changes in draft-ietf-cbor-network-addresses-05.txt
Thread-Index: AQHXdxLtKaDb/EZnnkuM9WPXwRrMdatSzBcAgAARfICAAlzOAIACHKAAgAARjgCAAA7jgIAHK4mAgACjpYCAAKWpgIAA9FuQ
Date: Mon, 2 Aug 2021 21:47:38 +0000
Message-ID: <CH2PR21MB146488629EE616B6AB1BB906A3EF9@CH2PR21MB1464.namprd21.prod.outlook.com>
References: <162608928922.11086.12172415971165753394@ietfa.amsl.com> <29067.1626090045@localhost> <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de>
In-Reply-To: <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=2e17ad40-bba8-4ce3-86a0-6b2ade87423d; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-08-02T21:43:13Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b818070f-2938-4b48-58ae-08d955ff2571
x-ms-traffictypediagnostic: CH2PR21MB1445:
x-microsoft-antispam-prvs: <CH2PR21MB14459210FC373C4262F99741A3EF9@CH2PR21MB1445.namprd21.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: rdhGdwO8pncM5yu8nspdl9MBCd96Ws1tF6SqqzdMVJoVpRqTNZweq5xaPIFgukVzopChjT4TEP53QvtWJ3hDXkMgYiShqsQ7Ds9AY+RBlRnWOyGc8nk/UXpBXjOiK0Q4KD56qDp1zGvmge+V76/+/FEppLOY3vlPahvEf1XQNHyXJ6M9YJqPivLscc06LFeJNhx830src3bcbHsE08tdz4SMo3mLhXMOv8kF2XtQL9JfYxmkjuX6qnRuTtymVfJmWMj2oFtG00HU+DV5dsj92Vg4hyJOimnE5QeBPU4L/EGSKzYo5TF1un1SdsOQSObRAZGKtAY0RWcDBy0WXYidY55oYAgkPPxtJoawUfoBQOjE4qZntaqrWvUk6lbkyxK4OmyTkixGp+w4M8Mqo9DIC/CxCuLlT275WxvY94fL0H11FehnUEE73lBvW3pyWUZpkVTLxOmg6vASfcPk3rfF5aU3ximkllc9EAu0lssVkxr9i4yBwW6aZWtXx8Go/+b+NSvZP0CbXoxy6dWC7N5SZd5lTm1+3qKnUjcLAVbgcUSqCLBUWhJgmsr9bAOj9+mbF1tWNfYZz6L7loOR8NpSOq2NPyV3gsjMow8ZafvZwt4GxjH1Ut0hF/PSmofHGSbVGJa0USJk/jZKiMnGQWvgWJ4qBUVUoNh38MTGLLxxIuPEJJNCeBrfnb+v88S/cqE0vRv3EuEq8Ndlj7WOSRk5D/I+u/viEJeUXPh7ud7caLRxTGqareoypJT7A14ZhRdBDRlCD8ddq1pTPMKSnK2jifNV29ti0YgcC4vb21ZtNhWBqrgw/AiG9p2nkLL/L5/AMEhG4Fa7QLVCiVzqSJzrbA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:CH2PR21MB1464.namprd21.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(26005)(55016002)(186003)(2906002)(9686003)(83380400001)(66574015)(508600001)(10290500003)(8990500004)(66446008)(64756008)(38100700002)(6506007)(8676002)(53546011)(71200400001)(54906003)(52536014)(966005)(4326008)(82960400001)(82950400001)(86362001)(33656002)(316002)(7696005)(110136005)(66476007)(122000001)(66556008)(66946007)(5660300002)(38070700005)(8936002)(76116006); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?JnTIBZsQi5EMPELLFj+lJdmqJ5KhZfMitYlM3j0JGD2yTVfj/pfzDt9yMH?= =?iso-8859-1?Q?pcZmyA5mh20vyYdbYNfbtWfCJ/dD4SDDPD6a8Cy9sWnESO3ciNyEE/KcBE?= =?iso-8859-1?Q?+1E2l7PPaw7qaUM2H9kxelYDQegCiMd8e4fJVRNlyTzPdMeDrNVGWfZLO4?= =?iso-8859-1?Q?8Yfmc+6EN3beOmwiyT3LMKnGw0KZYmWxj21xsU+cznDjerFnbFU/pAlBAH?= =?iso-8859-1?Q?lHgXx4QwDMAUFT3f++57uZQ14cyvnRDIr5rRqSiNLLZ3+qfm/ZBhZKV5X5?= =?iso-8859-1?Q?oIs+yisnTighsmgfkU3jPDmwdO+jHTKvBLQo6AyR4UwY/47/rO74nTx3hI?= =?iso-8859-1?Q?YEVpiy+rO3BotiD1Fzpn6X/aDVgapYox3mKMUzOxu48ld2HxJDlZ/2muIu?= =?iso-8859-1?Q?nQAYIQp4rMB4WRT3KlZiCV8JcC/IweQtC9DkI081lQ3Dr5iUkkm9cXXge8?= =?iso-8859-1?Q?ZEAsJVSGQchUY+/HZ1PxVCoGs9zjnJB5B+oVEPxPZT7KKAVid0BiD6S039?= =?iso-8859-1?Q?onRHiwsvk4Arjs1CYgT23DLUxQcXBpaJF6znBxhHmeysW6+gHcCYojci3X?= =?iso-8859-1?Q?Yh0ubOf6kjSsHQGcptSCrfF5vgB/wy4SENnk5ttgq6Rm4HwsH7Uz8xEZdj?= =?iso-8859-1?Q?GdkstE5E3exnO7CtOC7teasSIiEBq/vBLj5WJKt+/wplqld+G/zo31tT9H?= =?iso-8859-1?Q?7MrxgU1dkxcMyEDlm97F8mF6wFcfrQ8xUTTEZFYYQ9g/02LWeTY947ppAA?= =?iso-8859-1?Q?9huHeJGmMmVrlhVOv6R4H/JYyOxsS8xhdG2A5dTD/z7I4QObMN7E7DtIRH?= =?iso-8859-1?Q?IGDod5U9zC7x6+hTGUdkhE332DCaOnul56AqFR5IwEO+drCKaXXvFcW9yy?= =?iso-8859-1?Q?ZJtoSwSbbqPCUs4xEYjg4y/1dDNNZh1uRc+wL0Yqm6MxVi2fBdt0RBu+X+?= =?iso-8859-1?Q?CLDV/W9Neus2ulPbpFIkKbyAp4z7IZgLiJ1zVZ9lgazV5ucFwCtvjArhPv?= =?iso-8859-1?Q?nrzt0x/ZQRu1wQ9g/w724wMf812D9F8pxVXLER4/foLFtWiGdct9sf2B27?= =?iso-8859-1?Q?1TPqK46EvmJkH+ZASSjQYYb6IrKzNOBhoJZAnEAYGrF7Z04J2hMgRg0P6n?= =?iso-8859-1?Q?aOZjg1nG+RXbguR0gE0Pzgw9zGNChlKM46WvDfy9KFL+8GFajjuXFZi62Y?= =?iso-8859-1?Q?sLS0vmDh/BukJdawgpNEvLCRuP5tKCTWHI+vodSL/teX1w/oLzyr+NE7p9?= =?iso-8859-1?Q?o9kdH+lUfTAP9t9fS2A0jCZ+2MH4123LoLEEQPlq40xVSYm36hR4LgVkxo?= =?iso-8859-1?Q?8pWCIH7etySD1WP23dEMNW9zxv95GU8LPDLlbApx4teXJzlg8gD85FTKaH?= =?iso-8859-1?Q?Jr5G6x2ngo?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: CH2PR21MB1464.namprd21.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b818070f-2938-4b48-58ae-08d955ff2571
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2021 21:47:38.2364 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: c27pEZFs177CMtwlXi6SFdAUAPaqAON6pe9vUjBssJ5WqNkHAiIoyJTT8AO5UPgJtJrgzBGFIlkN4DkF9+RBmRIDI3svD6LzXbqag5a44ME=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR21MB1445
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/NmUmJT_QxAzusDFPGkXAh7defYE>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2021 21:47:48 -0000

I can say that Windows uses integers only, it does not use (non-integer) st=
rings for zone-ids, and so does not have ambiguity.
Note that the zone id on a link local like fe80::1 is NOT an interface inde=
x per se, it's a link index as explained
in RFC 4007.  On Windows (and most other platforms, I suspect), the link in=
dex defaults to be identical to the interface index,
as recommended in that RFC.

Dave

-----Original Message-----
From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of J=FCrgen Sch=F6nw=E4lder
Sent: Monday, August 2, 2021 12:09 AM
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: cbor@ietf.org; 6MAN <6man@ietf.org>; tom petch <ietfc@btconnect.com>
Subject: Re: changes in draft-ietf-cbor-network-addresses-05.txt

Brian,

let me see whether I understand your concern. You seem to be concerned that=
 assigning the name "5" to an interface with interface index 7 leads to an =
ambiguity. Well, thats likely true since we do not syntactically distinguis=
h between the number 5 and the name "5". I would expect that implementation=
s interpret fe80::1%5 as referring to interface 5 and not 7 (but this perha=
ps deserves to be clarified, if it is a number the number is interpreted as=
 an interface index and not as an interface name). I assume the same 'ambig=
uity' may exist on CLI tools, I would have to go and try out what they actu=
ally do.

Regarding your statement "Remotely, there is no way to know that on my Linu=
x machine, %wlp2s0 and %3 are the same thing.", please note that applicatio=
ns having access to the IF-MIB or the ietf-interfaces YANG module or a prop=
rietary API exposing interface information will understand how interface na=
mes map to interface indexes.

/js

On Mon, Aug 02, 2021 at 09:15:43AM +1200, Brian E Carpenter wrote:
> On 01-Aug-21 23:30, J=FCrgen Sch=F6nw=E4lder wrote:
> > The description statements in RFC 6991 talk about a zone index,=20
> > i.e., they assume the zone index is numeric (which kind of follows=20
> > from my reading of RFC 4007).
> >=20
> > The pattern is flexible enough to accept a string as well (e.g., an=20
> > interface name). In other words, a server may accept 'fe80::1%lo0'=20
> > as valid input on an edit-config put it will return 'fe80::1%0' on a=20
> > get-config since the numeric zone index is the canonical format=20
> > (assuming the lo0 interface has the interface index 0).
>=20
> This still makes me uncomfortable. The zone identifier syntax definition.
> in RFC4007 is pretty vague. If an implementer chooses to ignore the=20
> SHOULD on page 16, it seems that a valid name for interface index 7=20
> could be "6". That's why "canonical" is a bit weak. (Neither Windows=20
> nor Linux allow anything that silly, of course.)
>=20
> To be precise, consider these statements in RFC4007 page 16:
>=20
>    An implementation SHOULD support at least numerical indices that are
>    non-negative decimal integers as <zone_id>.
>    ...
>    An implementation MAY support other kinds of non-null strings as
>    <zone_id>.
>    ... the format MUST be used only within a
>    node and MUST NOT be sent on the wire unless every node that
>    interprets the format agrees on the semantics.
>=20
> Remotely, there is no way to know that on my Linux machine,
> %wlp2s0 and %3 are the same thing.
>=20
>    Brian
> =20
> >=20
> > /js
> >=20
> > On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
> >> J=FCrgen,
> >>
> >> We are not disagreeing. These are exactly the sort of use cases=20
> >> that also motivate RFC6874 and RFC6874bis.
> >>
> >> But I have a question. In the management plane, do you think that=20
> >> the zone index (an integer) is the item of interest, or a zone=20
> >> identifier (a string)? The description at
> >> https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fd
> >> atatracker.ietf.org%2Fdoc%2Fhtml%2Frfc6991%23page-20&amp;data=3D04%7C
> >> 01%7Cdthaler%40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C7
> >> 2f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637634849687636890%7CUnkn
> >> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha
> >> WwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=3DchsLlIl1jF0ur69C40qQmykxHdMOFVVm
> >> n%2F76Dz5Tels%3D&amp;reserved=3D0 only says that the numerical format=
=20
> >> is "canonical".
> >>
> >> Regards
> >>    Brian
> >>
> >> On 28-Jul-21 09:07, J=FCrgen Sch=F6nw=E4lder wrote:
> >>> On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote:
> >>>> On 26-Jul-21 23:49, tom petch wrote:
> >>>>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E=20
> >>>>> Carpenter <brian.e.carpenter@gmail.com>
> >>>>> Sent: 25 July 2021 00:44
> >>>>>
> >>>>> There's an "interesting" issue there, especially for IPv6, which=20
> >>>>> is
> that the interface ID (or "zone index", per RFC4007) has no meaning=20
> outside the host. So it really shouldn't need to be sent on the wire in n=
ormal circumstances.
> >>>>>
> >>>>> (The conversation around RFC6874bis is slightly relevant.)
> >>>>>
> >>>>> <tp>
> >>>>> Brian
> >>>>>
> >>>>> As I may have said before, the YANG Types RFC6991 provides types=20
> >>>>> for IPv4 and IPv6 addresses both with a zone index.  It also=20
> >>>>> provides no-zone
> >> types with a suffix 'no-zone' on the type name.  I see evidence=20
> >> that most authors of YANG modules do not realise that a reference to '=
ip-address' per se is a reference to the format that includes the zone and =
so have specified that format in many if not most cases.  Thus it seems lik=
ely that many of the addresses on the wire are in the zone format, even if =
the zone is rarely present.  With hindsight, it might have been better to h=
ave specified 'ip-address' and 'ip-address-zone' rather than ip-address' an=
d io-address-no-zone'.
> >>>>
> >>>> Makes sense. The reply I just sent to Christian Ams=FCss probably
> applies to YANG too. Sending a zone index to another host is rarely meani=
ngful or useful.
> >>>>
> >>>
> >>> YANG was designed for network management purposes and there are=20
> >>> quite some use cases where communicating the zone index is somewhat e=
ssential:
> >>>
> >>> - If you want to debug a problem, you likely need to know to which
> >>>   link a link-local address belongs.
> >>> - If you want to generate statistics for protocols using link-local
> >>>   addresses, you likely need to know to which links the link-local
> >>>   addresses belongs.
> >>> - If you want to configure a service to use a certain link-local
> >>>   address on a certain link, you may have to include the proper zone
> >>>   index.
> >>> - If an IP address is used to index lists, things can fall apart if
> >>>   you end up with duplicate link-local addresses on different links.
> >>>
> >>> Whether we should have picked different names for the types may be=20
> >>> debatable but at the end it is the YANG module author's=20
> >>> responsibility to pick the appropriate types.
> >>>
> >>> In other words, network management applications often need to be=20
> >>> aware of zone indexes in order to do the right thing. This is=20
> >>> different from end user applications (that usually have no topologica=
l awareness).
> >>>
> >>> /js
> >>>
> >>
> >> -------------------------------------------------------------------
> >> - IETF IPv6 working group mailing list ipv6@ietf.org Administrative=20
> >> Requests:=20
> >> https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fw
> >> ww.ietf.org%2Fmailman%2Flistinfo%2Fipv6&amp;data=3D04%7C01%7Cdthaler%
> >> 40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf86f141
> >> af91ab2d7cd011db47%7C1%7C0%7C637634849687636890%7CUnknown%7CTWFpbGZ
> >> sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn
> >> 0%3D%7C1000&amp;sdata=3DFt619aB5dy1pEjf%2BKLuLROiYuvDZzdzsLtnF8tZ43sQ
> >> %3D&amp;reserved=3D0
> >> -------------------------------------------------------------------
> >> -
> >=20
>=20
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests:=20
> https://nam06.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fwww.
> ietf.org%2Fmailman%2Flistinfo%2Fipv6&amp;data=3D04%7C01%7Cdthaler%40micr
> osoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf86f141af91ab2d7
> cd011db47%7C1%7C0%7C637634849687636890%7CUnknown%7CTWFpbGZsb3d8eyJWIjo
> iMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp
> ;sdata=3DFt619aB5dy1pEjf%2BKLuLROiYuvDZzdzsLtnF8tZ43sQ%3D&amp;reserved=3D=
0
> --------------------------------------------------------------------

--=20
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://nam06.safelinks.protection.outlook=
.com/?url=3Dhttps%3A%2F%2Fwww.jacobs-university.de%2F&amp;data=3D04%7C01%7C=
dthaler%40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf86f141=
af91ab2d7cd011db47%7C1%7C0%7C637634849687646845%7CUnknown%7CTWFpbGZsb3d8eyJ=
WIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;=
sdata=3D9lZP9EDMFdnwqoZK5R07PNAfgk5SjhTjKVWEscnBBWI%3D&amp;reserved=3D0>

--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://nam06.safelinks.protection.outlook.com/?ur=
l=3Dhttps%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fipv6&amp;data=3D04%7C=
01%7Cdthaler%40microsoft.com%7C97af2d86016a459f696e08d9558475ae%7C72f988bf8=
6f141af91ab2d7cd011db47%7C1%7C0%7C637634849687646845%7CUnknown%7CTWFpbGZsb3=
d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=
&amp;sdata=3DWiI313YbpnNllsVBQ4u0jNCA5yf7owmWWyU74lr49IU%3D&amp;reserved=3D=
0
--------------------------------------------------------------------


From nobody Mon Aug  2 22:53:41 2021
Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D66123A142F; Mon,  2 Aug 2021 22:53:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p-585817PJWg; Mon,  2 Aug 2021 22:53:32 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80084.outbound.protection.outlook.com [40.107.8.84]) (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 4A8243A142B; Mon,  2 Aug 2021 22:53:31 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Fi2XEJxzNe3R/3Bx+2+pElQEgYQ54gmh9w/DKsLL+PEct581iI0802UsA0d8xHaFKWhfqvWwtIU3JZR90zgXRU/tC3Tl51wYMmX6/Wjgkv8nxsSziq6EvgrOm0/EWouQGR+27VKf2N1hYSCeXncjilvneAWpI1+zREwUGTF6aKI/4RmEFN4glMnKiBJhXy3zqjdHoDW348GSl0bbpr6GwijVYB8TiqtjZgXeNAJnANnYzGvt7ET5ksjRF40IN/kAvkvEfH95RYUGY1YMnWGXV6KSEyW/8EEw+g3AjtnNWVcFURE/AKxYh+7eRXd3DTaqXzjFhdXmcwVBXFogm714DA==
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-SenderADCheck; bh=EG4rVJD9svSOKE0KhxhTLqOt6mIoTiGWdv7eVQlyqZU=; b=SszQlrqvPN5wHg7HkNEC5uf5tuAcTbPzbT99eSEXTEKLT1LclBhzqg/NRIS3YG4yg78xTB/7RUDE72GIFgamRZEwyvJrOJoIVabeuF++yl4i90ifaucwpzQY/SZoQLcwwWWT73HiIe6fEym0CY9mvNdgDWUQupToF5+CC42jyTwHwhfeBLLEntlJ47bLen3hf1nuJ8p5VgE72l/EXQGNyE4SJtLJFEXAdgI+bprwUgi3g2uCYgQ+zrLu8DFIUTy/cAH8+JDj+Yrzgt3l1zWk3VG9Pc4ma8v6Yagu8krRUuhbZtuQZcWe2BHIlTdMfRQxyK3/L9S5uDWJkupVJ4ec+A==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jacobs-university.de; dmarc=pass action=none header.from=jacobs-university.de; dkim=pass header.d=jacobs-university.de; 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=EG4rVJD9svSOKE0KhxhTLqOt6mIoTiGWdv7eVQlyqZU=; b=FUk8FH3N+P0MLISuU1yXL1NDVc34WTPsc0wPeS2lREnKSrnr+NELzr/Q3JsOQMrgeFTu8i2Z87sDg6t3Iypb6As6mEuEpivnONeQZ8AZOzdiU3gFznqmfUHmXzgvExhQzTRgXWtOoKrvmacXE/m4eV4jujLETrE3LU5JJBbqVL4=
Authentication-Results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=jacobs-university.de;
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (10.186.128.215) by AM9P190MB1218.EURP190.PROD.OUTLOOK.COM (20.182.233.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15; Tue, 3 Aug 2021 05:53:28 +0000
Received: from AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::58c1:599a:1d3d:cdeb]) by AM0P190MB0641.EURP190.PROD.OUTLOOK.COM ([fe80::58c1:599a:1d3d:cdeb%9]) with mapi id 15.20.4373.026; Tue, 3 Aug 2021 05:53:28 +0000
Date: Tue, 3 Aug 2021 07:53:27 +0200
From: =?utf-8?B?SsO8cmdlbiBTY2jDtm53w6RsZGVy?= <j.schoenwaelder@jacobs-university.de>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
Message-ID: <20210803055327.ma3pvyr7flrcd3b5@anna.jacobs.jacobs-university.de>
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
Mail-Followup-To: Brian E Carpenter <brian.e.carpenter@gmail.com>, tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de> <541ec837-d5ad-2c3f-aa98-6d9af4e11c53@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <541ec837-d5ad-2c3f-aa98-6d9af4e11c53@gmail.com>
X-ClientProxiedBy: AM9P250CA0010.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:21c::15) To AM0P190MB0641.EURP190.PROD.OUTLOOK.COM (2603:10a6:208:194::23)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from localhost (212.201.44.244) by AM9P250CA0010.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:21c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Tue, 3 Aug 2021 05:53:27 +0000
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 5294033f-7399-4e75-17b6-08d9564303fd
X-MS-TrafficTypeDiagnostic: AM9P190MB1218:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <AM9P190MB121853AAF18DDCD44D74175EDEF09@AM9P190MB1218.EURP190.PROD.OUTLOOK.COM>
X-MS-Oob-TLC-OOBClassifiers: OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: n+UKBbGh4jNpinBcAgFbp5LUAC7IofhrmZTAhuYgBBdWLz/Zwj7c7eFTX1dpLrYO0MgB9B9yjQCYAqfXhdmdL1szSP9OUI77QYwZ7mZs0tLwR3yun0CucQqyc17GkxpgveU6JiU7AeSSBCtP4aI9Ct8q/0/GHeOW+JIYhVxye4Xfjt6uV7gG8agVHBcoMbMD/fuudL1JhktmdH3U3I6DxX6m0nBUXwzjgDoy+OYeiqSwfx/GppmAbJrKSN2Jrb10IiVL8lUpgKeV55Rou+TxWL5AbNy+TRyDjo6lAVBUGtReEiHJFMoA/nksk2IgTwGxHFR6Lcwi2+Vrnm0QtxSp6jotQWeoOo/a3LoIf28qcHlAXF+kjwH7VUVmfXOurkcmeklrBQrvXdT+OlfFoIWxNMqfPsxxc0dYi4MVGyjryZ3pYXq0wjlxjUHkr/3YEXSNeowfJvJP5yuDHyxiLat88kuGTsT6doS8EP4cukwFXDHJYkBG/K7DLqDfS1RChdESJtmianvjtHM7Ey6A7gZ+F0oULMBL4195LDVnqol3XNiD5UyTKfMU2xWwsUULhOJXqWJLaAJbpUd0HWgHukP+zfMPmrXQQXihRhKKzdqmPJO1/DsAukjLsy2IaDWA6Pj9HOQJoSUGOFeqSfPk4JS8WFltz62rDw6kURFBCrXQF+4KWwk1deE2+Im8zOdwFvvL43oOCViqM+CPGnFtmmAYf42JNCDPFNZsUEPlgYjazc3QBO0h2YEnsgq8p4VMjSHiYTuTeksAsX+C2/38SXpGGoYSVdSlwFH0DS7z0m0lqp1DAxi9zTUt+yF25m7+89PA
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:AM0P190MB0641.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(366004)(376002)(346002)(39840400004)(136003)(396003)(86362001)(6486002)(8676002)(85202003)(66574015)(4326008)(8936002)(478600001)(83380400001)(966005)(956004)(5660300002)(54906003)(85182001)(3450700001)(38350700002)(38100700002)(316002)(786003)(2906002)(1076003)(53546011)(6916009)(26005)(186003)(6496006)(66476007)(66556008)(66946007)(52116002); DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Nm83Sm1URFBDcG90eTFncHNkeW5tamJWWHo2ZndnTW9QS1hCbzczcmJyRmR0?= =?utf-8?B?ZEhscjE0RDhSTS9jMU0xSHVBK3FMbXZZL24yVUdvb1l3SjhBdHNFMFcyR0Js?= =?utf-8?B?NFpWL2NhcHJSNHhmaS9UUXNUV0RTSVhPeUs3OVNIM3dLMnZHbkpXLzdGVEI4?= =?utf-8?B?b1ZScmRqWkxHd1Y4TnpXZTNVbG80bFMzLzBGWEVlSzZINDkwSGI5UnptYlFQ?= =?utf-8?B?MTlNeEkxb053elRMNElUTGZoRGRuVWZLcThqdzEwb1AwVWczbjVKdDNzY3kv?= =?utf-8?B?c2l0QThuZmJzNDNwVWtKd2NFSGRGRzFNaTdocnQxbWtDVWY3V0dlRUlWVlpD?= =?utf-8?B?Q2xDa2JvTkdpOHFFL2t3SkJpUTAwaHI0Q3RNNzV6MkluZFIyTms2M0RIVEtW?= =?utf-8?B?QW5GYVJORGhlTE1xVzlmT3BkS1gyV1B4d2lMNm5kNEdubnRDRDU0VGxWNTdq?= =?utf-8?B?QWE3V2g1cGZIYVEyWjQ5aFJPeXZsTHREQlhRUGZQeXdHdkJoYU1yZll3dTQ4?= =?utf-8?B?OE94MHdhS014eXEvL1VPRjl0M3cvOGZRM0FueStRMjRycE8xRHFyNWtsUW5O?= =?utf-8?B?NERJT0J4cnBLYzFvQXNqRytUYklpcGpFeGNXSlcveFhDT1hlUkFMSlN0VG9r?= =?utf-8?B?dGJxRHNlSHpGN1hQaEFrbGJTT1pxbmZ6UFJka1Q1Z0VVNXZRbkxRSmVib09B?= =?utf-8?B?bFhvZUVSWUlpUTgzdEJGZThSYldCVElxN2pQUFJSMFJ4ekZSbi9QczByL1hz?= =?utf-8?B?VDNPYUV5TkF2RzAwM0FyZGVIZlJESW9XUW54WE1xYnNYdnlNM0o5R0Y2V0Nw?= =?utf-8?B?cVN1SmFEektJYytUYy9BZG5UOHM3NlZsSnJWVmRMM2JIbkk0STVPLytwdm92?= =?utf-8?B?OFJRQmtMT0ErWE5sR3h6RTlOYlZrVVFHbG5sZkVaZzZ3TzAzYWZJL1lCc2dW?= =?utf-8?B?RkdLOEp5dmljOXBRclFmaGNTYkdHZjBWOCtNK0JQRE1ZenU3SjFrWHUvdEVK?= =?utf-8?B?ZUJKdEV0dHg1VzJTQkdzUmRQVkVGNVlHMWRaSERoLzFUVTI1ZStYVXlVcWdp?= =?utf-8?B?ZXdLci9TeFRKbzJ6azJWQSs1bzdhL0sxZFN5OHpScExrRUZQVUtDOUZSNUMr?= =?utf-8?B?QmZOUDJrZ3lNNXFtbVNPN1VHd2h2S0pyWnR0elNPQjdkNDMxYWNsN1FNVzVz?= =?utf-8?B?bG5yRkRaUnpSaTh4T2YzemY3ZFBjZWVNMnY2NS96Qkw2ankrdlBXNmZ2QzVI?= =?utf-8?B?cmkrcVlWbUdJOTZzYSsxMXpiSVlLb3BPYTBoWVRDZVZCcGtqTXNKaThWU0RF?= =?utf-8?B?d3F6WE9iZHdSMEFBZlhjR01aZTErd0ZEM1pCYi9wZEtBN1ZISG15dnlIbzQ2?= =?utf-8?B?Sko0RnZZR0pObHc0cXZOSGY4eUlZODlFYzZjSCtXQmgyckkvZWZIcVFnQ3g4?= =?utf-8?B?S003N05yVmR5TmNxTnBsaDB4a2l3Uk1MMUJzcmpIZHlGK1dYU1B2WnltaTY1?= =?utf-8?B?QyttZUp6WUpWVzhZOHpUQks1bkdCbmg2QkFMM2hpRFovUTI5djR2MzdSQ1Vu?= =?utf-8?B?UytqUzlHOTZiS1owdENuVXoxRW9sS0NSVkRXVFIyVjNzQ3lGajhjQ0JUUDJ1?= =?utf-8?B?YytwM010SEY5UTVUb3Z0VWJaYmd2TmlsQlppM242WVVISWZIRm5vVzhEMDRE?= =?utf-8?B?UDBCR2dqWm5taFJLZU5JU1R6a2U0YmlEQkE2L0RFbGo4OHpOMVdkdGJYNURm?= =?utf-8?Q?apk3I0XePVahXdi/Gwnw+LW2mqT0U1G2cLWSC80?=
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 5294033f-7399-4e75-17b6-08d9564303fd
X-MS-Exchange-CrossTenant-AuthSource: AM0P190MB0641.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2021 05:53:28.0984 (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: Z2xXHtFAD/Mn4FD2qE4NeTJNhxlofFzM0VPewwB+ku9SUa7MyJXV/oEVRq/ocj88mXWEuhf6RaMSIVe6m9ldQClfaptLRdlTRHtdz0wKJqg=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1218
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/fdBm9Bg6_0jF-Qe-5YFnFL8H078>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2021 05:53:39 -0000

On Tue, Aug 03, 2021 at 08:00:26AM +1200, Brian E Carpenter wrote:

> > Regarding your statement "Remotely, there is no way to know that on my
> > Linux machine, %wlp2s0 and %3 are the same thing.", please note that
> > applications having access to the IF-MIB or the ietf-interfaces YANG
> > module or a proprietary API exposing interface information will
> > understand how interface names map to interface indexes.
> 
> But not if the user has chosen to change some interface names, surely?

In the IF-MIB, ifName is read-only (so you can't change it via SNMP,
but this says nothing about other APIs) and ifIndex is used as the key
of the table. In ietf-interfaces, the config true interface/name is
used as the key of the list and the interface/if-index is a config
false property of the list. This change to refer to interfaces by name
instead of a number was the result of a long discussion and it
reflects that most routers and bridges use names to refer to
interfaces (and so does the *nix world).

> The mapping is not algorithmic in that case, and any names held
> remotely in the management plane could be out of date. IMHO it remains
> very inadvisable to export the names. I'd advocate making the use of
> interface numbers mandatory rather than "canonical".

The mapping is on many systems never purly algorithmic as software can
choose how newly created interfaces are named. And some people want
interface named by the customer networks they connect, others want to
have semantically meaningful vlan names. And lets not forget that
there was an interesting time where Linux could end up with different
interface names for the same physical interfaces on every reboot that
caused some serious surprises.

Synchronization of config changes is a general problem in the network
management world and not specific to changes of interface names. There
are boxes that disable or discourage access to the CLI so that all
changes go through a management daemon and then good management
protocols can take care. Some people moved to streaming approaches to
reduce the synchonization pains, where boxes are configured to push
all changes to management systems.

Given that ietf-interfaces does key interfaces by name (which reflects
the common practice of network operators to refer to router interfaces
by name), it seems the ship has sailed.

/js

> 
>    Brian
> > 
> > /js
> > 
> > On Mon, Aug 02, 2021 at 09:15:43AM +1200, Brian E Carpenter wrote:
> >> On 01-Aug-21 23:30, Jürgen Schönwälder wrote:
> >>> The description statements in RFC 6991 talk about a zone index, i.e.,
> >>> they assume the zone index is numeric (which kind of follows from my
> >>> reading of RFC 4007).
> >>>
> >>> The pattern is flexible enough to accept a string as well (e.g., an
> >>> interface name). In other words, a server may accept 'fe80::1%lo0' as
> >>> valid input on an edit-config put it will return 'fe80::1%0' on a
> >>> get-config since the numeric zone index is the canonical format
> >>> (assuming the lo0 interface has the interface index 0).
> >>
> >> This still makes me uncomfortable. The zone identifier syntax definition.
> >> in RFC4007 is pretty vague. If an implementer chooses to ignore the
> >> SHOULD on page 16, it seems that a valid name for interface index 7
> >> could be "6". That's why "canonical" is a bit weak. (Neither Windows
> >> nor Linux allow anything that silly, of course.)
> >>
> >> To be precise, consider these statements in RFC4007 page 16:
> >>
> >>    An implementation SHOULD support at least numerical indices that are
> >>    non-negative decimal integers as <zone_id>.
> >>    ...
> >>    An implementation MAY support other kinds of non-null strings as
> >>    <zone_id>.
> >>    ... the format MUST be used only within a
> >>    node and MUST NOT be sent on the wire unless every node that
> >>    interprets the format agrees on the semantics.
> >>
> >> Remotely, there is no way to know that on my Linux machine,
> >> %wlp2s0 and %3 are the same thing.
> >>
> >>    Brian
> >>  
> >>>
> >>> /js
> >>>
> >>> On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
> >>>> Jürgen,
> >>>>
> >>>> We are not disagreeing. These are exactly the sort of use cases that 
> also
> >>>> motivate RFC6874 and RFC6874bis. 
> >>>>
> >>>> But I have a question. In the management plane, do you think that the
> >>>> zone index (an integer) is the item of interest, or a zone identifier
> >>>> (a string)? The description at
> >>>> https://datatracker.ietf.org/doc/html/rfc6991#page-20
> >>>> only says that the numerical format is "canonical".
> >>>>
> >>>> Regards
> >>>>    Brian
> >>>>
> >>>> On 28-Jul-21 09:07, Jürgen Schönwälder wrote:
> >>>>> On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote:
> >>>>>> On 26-Jul-21 23:49, tom petch wrote:
> >>>>>>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpenter 
> <brian.e.carpenter@gmail.com>
> >>>>>>> Sent: 25 July 2021 00:44
> >>>>>>>
> >>>>>>> There's an "interesting" issue there, especially for IPv6, which is 
> >> that the interface ID (or "zone index", per RFC4007) has no meaning outside the host. So it really shouldn't need to be sent on the wire in normal 
> >> circumstances.
> >>>>>>>
> >>>>>>> (The conversation around RFC6874bis is slightly relevant.)
> >>>>>>>
> >>>>>>> <tp>
> >>>>>>> Brian
> >>>>>>>
> >>>>>>> As I may have said before, the YANG Types RFC6991 provides types for IPv4 and IPv6 addresses both with a zone index.  It also provides no-zone 
> >>>> types with a suffix 'no-zone' on the type name.  I see evidence that 
> most 
> >>>> authors of YANG modules do not realise that a reference to 'ip-address' per se is a reference to the format that includes the zone and so have specified that format in many if not most cases.  Thus it seems likely that many of the addresses on the wire are in the zone format, even if the zone is rarely present.  With hindsight, it might have been better to have specified 'ip-address' and 'ip-address-zone' rather than ip-address' and io-address-no-zone'.
> >>>>>>
> >>>>>> Makes sense. The reply I just sent to Christian Amsüss probably 
> >> applies to YANG too. Sending a zone index to another host is rarely meaningful or useful.
> >>>>>>
> >>>>>
> >>>>> YANG was designed for network management purposes and there are quite
> >>>>> some use cases where communicating the zone index is somewhat essential:
> >>>>>
> >>>>> - If you want to debug a problem, you likely need to know to which
> >>>>>   link a link-local address belongs.
> >>>>> - If you want to generate statistics for protocols using link-local
> >>>>>   addresses, you likely need to know to which links the link-local
> >>>>>   addresses belongs.
> >>>>> - If you want to configure a service to use a certain link-local
> >>>>>   address on a certain link, you may have to include the proper zone
> >>>>>   index.
> >>>>> - If an IP address is used to index lists, things can fall apart if
> >>>>>   you end up with duplicate link-local addresses on different links.
> >>>>>
> >>>>> Whether we should have picked different names for the types may be
> >>>>> debatable but at the end it is the YANG module author's responsibility
> >>>>> to pick the appropriate types.
> >>>>>
> >>>>> In other words, network management applications often need to be aware
> >>>>> of zone indexes in order to do the right thing. This is different from
> >>>>> end user applications (that usually have no topological awareness).
> >>>>>
> >>>>> /js
> >>>>>
> >>>>
> >>>> --------------------------------------------------------------------
> >>>> IETF IPv6 working group mailing list
> >>>> ipv6@ietf.org
> >>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> >>>> --------------------------------------------------------------------
> >>>
> >>
> >> --------------------------------------------------------------------
> >> IETF IPv6 working group mailing list
> >> ipv6@ietf.org
> >> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> >> --------------------------------------------------------------------
> > 
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1 | 28759 Bremen | Germany
Fax:   +49 421 200 3103         <https://www.jacobs-university.de/>


From nobody Tue Aug  3 10:08:05 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C43323A2A38; Tue,  3 Aug 2021 10:08:02 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Barry Leiba via Datatracker <noreply@ietf.org>
To: <francesca.palombini@ericsson.com>
X-Test-IDTracker: no
X-IETF-IDTracker: 7.35.0
Auto-Submitted: auto-generated
Precedence: bulk
Cc: barryleiba@computer.org, cbor-chairs@ietf.org, cbor@ietf.org, iesg-secretary@ietf.org
Message-ID: <162801048276.7762.10461439597822533570@ietfa.amsl.com>
Date: Tue, 03 Aug 2021 10:08:02 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/DDj1qQzrm0lLVkKYv8PvlXwpwWM>
Subject: [Cbor] Publication has been requested for draft-ietf-cbor-network-addresses-07
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2021 17:08:03 -0000

Barry Leiba has requested publication of draft-ietf-cbor-network-addresses-07 as Proposed Standard on behalf of the CBOR working group.

Please verify the document's state at https://datatracker.ietf.org/doc/draft-ietf-cbor-network-addresses/



From nobody Tue Aug  3 12:26:37 2021
Return-Path: <noreply@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id E92A23A2E83; Tue,  3 Aug 2021 12:26:30 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: Bernard Aboba via Datatracker <noreply@ietf.org>
To: <art@ietf.org>
Cc: cbor@ietf.org, draft-ietf-cbor-file-magic.all@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.35.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162801879089.20863.15297297905691186349@ietfa.amsl.com>
Reply-To: Bernard Aboba <bernard.aboba@gmail.com>
Date: Tue, 03 Aug 2021 12:26:30 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/5ZgOxVcITa6ACe8hAeMEH3gH2KY>
Subject: [Cbor] Artart early review of draft-ietf-cbor-file-magic-02
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2021 19:26:31 -0000

Reviewer: Bernard Aboba
Review result: Ready with Issues

Review of draft-ietf-cbor-file-magic-02
Reviewer: Bernard Aboba
Result: Ready with Issues

An overall comment. This document seems to propose more than one option in
several cases.  I wonder whether the multiple options will turn out to be
used in practice.  This makes me wonder if a document status of Experimental
might be a better choice (so we could try it out and see what turns out to be
needed), rather than BCP.

Section 2.

   A magic number is ideally a unique fingerprint, present in the first
   4 or 8 bytes of the file, which does not change when the contents
   change, and does not depend upon the length of the file.

[BA] Why have two supported lengths? I realize that they can be distinguished,
but having two potential lengths is likely to lead to one of them being less
widely supported or tested.

Section 3.2

[BA] Why support both CBOR Tag Wrapped and CBOR Tag Sequence?
The logic is explained in Section 4, but I'm not sure I buy it:

   "The use of CBOR Tag Wrapped format is easier to retrofit to an
   existing format with existing and unchangeable on-disk format."

[BA] Overall, it seems more likely to me that CBOR will be used for new file
formats than being retrofitted to new ones (which would be complicated by
backward compatibility issues). Or are there specific cases where a retrofit
is being seriously considered?

NITs:

Section 3.3:

"
   3.  The three byte CBOR byte string containing 0x42_4F_52.  When
       encoded it shows up as "CBOR"

...

   The third part is a constant value 0x43_42_4f_52, "CBOR".  That is,
   the CBOR encoded data item for the three byte sequence 0x42_4f_52
   ("BOR").  This is the data item that is tagged.
"

[BA] The latter text is more clear than the former, since 0x42_4F_52
is indeed "BOR". I'd suggest deleting the second sentence in 3, "When
encoded..."



From nobody Tue Aug  3 14:04:29 2021
Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7BC263A32C9; Tue,  3 Aug 2021 14:04:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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_BLOCKED=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 H4CmfShs80t8; Tue,  3 Aug 2021 14:04:18 -0700 (PDT)
Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) (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 7B6DC3A32C5; Tue,  3 Aug 2021 14:04:18 -0700 (PDT)
Received: by mail-pl1-x62c.google.com with SMTP id j3so600967plx.4; Tue, 03 Aug 2021 14:04:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=i02H1WCl/Px5U88vfVqbUlC7R0+REtC5QxnuZG6NIgo=; b=DeKmeDJ6E1fwFSvhnTIboLEBueR3ankoo996yhlMi9gkU6WRK0i8rydBM45fEKp20h /1jutcLyE1xh2rLwqA96wZYWMavpuwao3/+6RlXqWYmYDGe57sc/mm4IPWBxRVtwDex3 pvIl9MxKvBNKhY09OftCkrmpHv4cNu7pqcof/2luf6x/QSrCIXs0jT+wsT5iwjdnad7m 87ai8BewxTWtVMjx3jeY3I9L4Ww1fmikuFBmtFm58fnQ2ny4fImJHA2m3Cgi9bcobqE+ lV9CCBPJG/R8B0MX2GeCmlGAMpVW8zpr3Ftoea3OusP1sgFhgTrpQMzA5foSZx/u7hlK oXcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=i02H1WCl/Px5U88vfVqbUlC7R0+REtC5QxnuZG6NIgo=; b=n7B37oC63wQ4kYQMhx6/eFQAryFFcAYWkUaBEi6m9wbRVXQMotaJ/T/deY76RD2w9R rgpVnIm5/53hD7pYSZh+3a7KVYvs3ALdtWwuSmCJzJG//Rn2aECpD4/wPccXuby4Wivu DQQgyznBKX9Z7TvNSBxZacRW1j9LWpI+Lms41JxoyUB6ZQ5dBat+xCddyMLFlOVwV3AO 9du/nOmWln2BRgHDvzCLLoygBB+LRBZ3A4Drq3IokDWfn9h9hAgS2EOMBvCJzkhp7hh/ djC+LPre5PIA6zVeGgq2ShH5gnQ6RDMHhRp7cxOP0toE2GJAd8H5iiDddF0stVT4+GzG CLcw==
X-Gm-Message-State: AOAM533GYktXwfjqX2REwersXOjG999f7Due+262I5EVbJGs9sjOaz9r x3U2gETQsmCmhLEYzC3PwejVmh8c0GTmfA==
X-Google-Smtp-Source: ABdhPJwih18VW6AUV2KtpcNEy59A/EK8u+U/zoqjUGQ+a8RVjF7xkaW5NtKpZ89ihmrW20kVAIdfOw==
X-Received: by 2002:a62:4e0f:0:b029:329:20be:287a with SMTP id c15-20020a624e0f0000b029032920be287amr24006684pfb.55.1628024657182;  Tue, 03 Aug 2021 14:04:17 -0700 (PDT)
Received: from ?IPv6:2406:e003:1188:5b01:db7:d041:a2d:ce65? ([2406:e003:1188:5b01:db7:d041:a2d:ce65]) by smtp.gmail.com with ESMTPSA id t2sm110024pfb.76.2021.08.03.14.04.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 Aug 2021 14:04:16 -0700 (PDT)
To: tom petch <ietfc@btconnect.com>, Erik Kline <ek.ietf@gmail.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
References: <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de> <541ec837-d5ad-2c3f-aa98-6d9af4e11c53@gmail.com> <20210803055327.ma3pvyr7flrcd3b5@anna.jacobs.jacobs-university.de>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <863babe9-6d3e-fb25-7c7d-826171f48d57@gmail.com>
Date: Wed, 4 Aug 2021 09:04:11 +1200
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: <20210803055327.ma3pvyr7flrcd3b5@anna.jacobs.jacobs-university.de>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/-5RyWqzYci0CWAhCN8Hv936g8hI>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 03 Aug 2021 21:04:24 -0000

On 03-Aug-21 17:53, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
> On Tue, Aug 03, 2021 at 08:00:26AM +1200, Brian E Carpenter wrote:
>=20
>>> Regarding your statement "Remotely, there is no way to know that on m=
y
>>> Linux machine, %wlp2s0 and %3 are the same thing.", please note that
>>> applications having access to the IF-MIB or the ietf-interfaces YANG
>>> module or a proprietary API exposing interface information will
>>> understand how interface names map to interface indexes.
>>
>> But not if the user has chosen to change some interface names, surely?=

>=20
> In the IF-MIB, ifName is read-only (so you can't change it via SNMP,
> but this says nothing about other APIs) and ifIndex is used as the key
> of the table. In ietf-interfaces, the config true interface/name is
> used as the key of the list and the interface/if-index is a config
> false property of the list. This change to refer to interfaces by name
> instead of a number was the result of a long discussion and it
> reflects that most routers and bridges use names to refer to
> interfaces (and so does the *nix world).
>=20
>> The mapping is not algorithmic in that case, and any names held
>> remotely in the management plane could be out of date. IMHO it remains=

>> very inadvisable to export the names. I'd advocate making the use of
>> interface numbers mandatory rather than "canonical".
>=20
> The mapping is on many systems never purly algorithmic as software can
> choose how newly created interfaces are named. And some people want
> interface named by the customer networks they connect, others want to
> have semantically meaningful vlan names. And lets not forget that
> there was an interesting time where Linux could end up with different
> interface names for the same physical interfaces on every reboot that
> caused some serious surprises.
>=20
> Synchronization of config changes is a general problem in the network
> management world and not specific to changes of interface names. There
> are boxes that disable or discourage access to the CLI so that all
> changes go through a management daemon and then good management
> protocols can take care. Some people moved to streaming approaches to
> reduce the synchonization pains, where boxes are configured to push
> all changes to management systems.
>=20
> Given that ietf-interfaces does key interfaces by name (which reflects
> the common practice of network operators to refer to router interfaces
> by name), it seems the ship has sailed.

In some contexts, but not all. In the cbor-network-addresses context,
if we do anything, it would seem wise to support an integer and a string
format, to cover the bases. But I'd be inclined to leave it as a future
extension.

    Brian

>=20
> /js
>=20
>>
>>    Brian
>>>
>>> /js
>>>
>>> On Mon, Aug 02, 2021 at 09:15:43AM +1200, Brian E Carpenter wrote:
>>>> On 01-Aug-21 23:30, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
>>>>> The description statements in RFC 6991 talk about a zone index, i.e=
=2E,
>>>>> they assume the zone index is numeric (which kind of follows from m=
y
>>>>> reading of RFC 4007).
>>>>>
>>>>> The pattern is flexible enough to accept a string as well (e.g., an=

>>>>> interface name). In other words, a server may accept 'fe80::1%lo0' =
as
>>>>> valid input on an edit-config put it will return 'fe80::1%0' on a
>>>>> get-config since the numeric zone index is the canonical format
>>>>> (assuming the lo0 interface has the interface index 0).
>>>>
>>>> This still makes me uncomfortable. The zone identifier syntax defini=
tion.
>>>> in RFC4007 is pretty vague. If an implementer chooses to ignore the
>>>> SHOULD on page 16, it seems that a valid name for interface index 7
>>>> could be "6". That's why "canonical" is a bit weak. (Neither Windows=

>>>> nor Linux allow anything that silly, of course.)
>>>>
>>>> To be precise, consider these statements in RFC4007 page 16:
>>>>
>>>>    An implementation SHOULD support at least numerical indices that =
are
>>>>    non-negative decimal integers as <zone_id>.
>>>>    ...
>>>>    An implementation MAY support other kinds of non-null strings as
>>>>    <zone_id>.
>>>>    ... the format MUST be used only within a
>>>>    node and MUST NOT be sent on the wire unless every node that
>>>>    interprets the format agrees on the semantics.
>>>>
>>>> Remotely, there is no way to know that on my Linux machine,
>>>> %wlp2s0 and %3 are the same thing.
>>>>
>>>>    Brian
>>>> =20
>>>>>
>>>>> /js
>>>>>
>>>>> On Wed, Jul 28, 2021 at 10:00:23AM +1200, Brian E Carpenter wrote:
>>>>>> J=C3=BCrgen,
>>>>>>
>>>>>> We are not disagreeing. These are exactly the sort of use cases th=
at=20
>> also
>>>>>> motivate RFC6874 and RFC6874bis.=20
>>>>>>
>>>>>> But I have a question. In the management plane, do you think that =
the
>>>>>> zone index (an integer) is the item of interest, or a zone identif=
ier
>>>>>> (a string)? The description at
>>>>>> https://datatracker.ietf.org/doc/html/rfc6991#page-20
>>>>>> only says that the numerical format is "canonical".
>>>>>>
>>>>>> Regards
>>>>>>    Brian
>>>>>>
>>>>>> On 28-Jul-21 09:07, J=C3=BCrgen Sch=C3=B6nw=C3=A4lder wrote:
>>>>>>> On Wed, Jul 28, 2021 at 08:04:16AM +1200, Brian E Carpenter wrote=
:
>>>>>>>> On 26-Jul-21 23:49, tom petch wrote:
>>>>>>>>> From: ipv6 <ipv6-bounces@ietf.org> on behalf of Brian E Carpent=
er=20
>> <brian.e.carpenter@gmail.com>
>>>>>>>>> Sent: 25 July 2021 00:44
>>>>>>>>>
>>>>>>>>> There's an "interesting" issue there, especially for IPv6, whic=
h is=20
>>>> that the interface ID (or "zone index", per RFC4007) has no meaning =
outside the host. So it really shouldn't need to be sent on the wire in n=
ormal=20
>>>> circumstances.
>>>>>>>>>
>>>>>>>>> (The conversation around RFC6874bis is slightly relevant.)
>>>>>>>>>
>>>>>>>>> <tp>
>>>>>>>>> Brian
>>>>>>>>>
>>>>>>>>> As I may have said before, the YANG Types RFC6991 provides type=
s for IPv4 and IPv6 addresses both with a zone index.  It also provides n=
o-zone=20
>>>>>> types with a suffix 'no-zone' on the type name.  I see evidence th=
at=20
>> most=20
>>>>>> authors of YANG modules do not realise that a reference to 'ip-add=
ress' per se is a reference to the format that includes the zone and so h=
ave specified that format in many if not most cases.  Thus it seems likel=
y that many of the addresses on the wire are in the zone format, even if =
the zone is rarely present.  With hindsight, it might have been better to=20
have specified 'ip-address' and 'ip-address-zone' rather than ip-address'=20
and io-address-no-zone'.
>>>>>>>>
>>>>>>>> Makes sense. The reply I just sent to Christian Ams=C3=BCss prob=
ably=20
>>>> applies to YANG too. Sending a zone index to another host is rarely =
meaningful or useful.
>>>>>>>>
>>>>>>>
>>>>>>> YANG was designed for network management purposes and there are q=
uite
>>>>>>> some use cases where communicating the zone index is somewhat ess=
ential:
>>>>>>>
>>>>>>> - If you want to debug a problem, you likely need to know to whic=
h
>>>>>>>   link a link-local address belongs.
>>>>>>> - If you want to generate statistics for protocols using link-loc=
al
>>>>>>>   addresses, you likely need to know to which links the link-loca=
l
>>>>>>>   addresses belongs.
>>>>>>> - If you want to configure a service to use a certain link-local
>>>>>>>   address on a certain link, you may have to include the proper z=
one
>>>>>>>   index.
>>>>>>> - If an IP address is used to index lists, things can fall apart =
if
>>>>>>>   you end up with duplicate link-local addresses on different lin=
ks.
>>>>>>>
>>>>>>> Whether we should have picked different names for the types may b=
e
>>>>>>> debatable but at the end it is the YANG module author's responsib=
ility
>>>>>>> to pick the appropriate types.
>>>>>>>
>>>>>>> In other words, network management applications often need to be =
aware
>>>>>>> of zone indexes in order to do the right thing. This is different=20
from
>>>>>>> end user applications (that usually have no topological awareness=
).
>>>>>>>
>>>>>>> /js
>>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------=
--
>>>>>> IETF IPv6 working group mailing list
>>>>>> ipv6@ietf.org
>>>>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv=
6
>>>>>> ------------------------------------------------------------------=
--
>>>>>
>>>>
>>>> --------------------------------------------------------------------=

>>>> IETF IPv6 working group mailing list
>>>> ipv6@ietf.org
>>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>>>> --------------------------------------------------------------------=

>>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>=20


From nobody Wed Aug  4 12:59:04 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2E063A0764; Wed,  4 Aug 2021 12:58:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 cKVnd5zDmbVl; Wed,  4 Aug 2021 12:58:50 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 749CE3A0755; Wed,  4 Aug 2021 12:58:47 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4Gg2cM2zysz31Ls; Wed,  4 Aug 2021 21:58:43 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <162801879089.20863.15297297905691186349@ietfa.amsl.com>
Date: Wed, 4 Aug 2021 21:58:43 +0200
Cc: art@ietf.org, cbor@ietf.org, draft-ietf-cbor-file-magic.all@ietf.org
X-Mao-Original-Outgoing-Id: 649799922.914301-8982c6240db173d907880a7cda88f1c5
Content-Transfer-Encoding: quoted-printable
Message-Id: <67F388BD-ED6B-42A5-8BEA-8C49ED9774D3@tzi.org>
References: <162801879089.20863.15297297905691186349@ietfa.amsl.com>
To: Bernard Aboba <bernard.aboba@gmail.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/NBSIylNU1-p7lYvpvuko63o6pDc>
Subject: Re: [Cbor] Artart early review of draft-ietf-cbor-file-magic-02
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Aug 2021 19:58:54 -0000

Hi Bernard,

thank you for this thoughtful review.

> On 2021-08-03, at 21:26, Bernard Aboba via Datatracker =
<noreply@ietf.org> wrote:
>=20
> Reviewer: Bernard Aboba
> Review result: Ready with Issues
>=20
> Review of draft-ietf-cbor-file-magic-02
> Reviewer: Bernard Aboba
> Result: Ready with Issues
>=20
> An overall comment. This document seems to propose more than one =
option in
> several cases.  I wonder whether the multiple options will turn out to =
be
> used in practice.  This makes me wonder if a document status of =
Experimental
> might be a better choice (so we could try it out and see what turns =
out to be
> needed), rather than BCP.

We started out with the intention of having just one way.
It turned out that the flexibility of the CBOR-sequence-based approach =
is needed, but also the compatibility of supporting implementations that =
do not support CBOR sequences.
Both will be used in practice, as only the CBOR-sequence-based approach =
is applicable to file formats encoding a CBOR-sequence, and only the =
CBOR-data-item-based approach has the compatibility with data-item-only =
implementations.

> Section 2.
>=20
>   A magic number is ideally a unique fingerprint, present in the first
>   4 or 8 bytes of the file, which does not change when the contents
>   change, and does not depend upon the length of the file.
>=20
> [BA] Why have two supported lengths? I realize that they can be =
distinguished,
> but having two potential lengths is likely to lead to one of them =
being less
> widely supported or tested.

This section provides a quick look at the requirements, or maybe at =
potential goals that we could set ourselves.
Applications such as file(1) that interpret magic numbers actually have =
significantly more flexibility than just 4 or 8 bytes.

> Section 3.2
>=20
> [BA] Why support both CBOR Tag Wrapped and CBOR Tag Sequence?
> The logic is explained in Section 4, but I'm not sure I buy it:
>=20
>   "The use of CBOR Tag Wrapped format is easier to retrofit to an
>   existing format with existing and unchangeable on-disk format."
>=20
> [BA] Overall, it seems more likely to me that CBOR will be used for =
new file
> formats than being retrofitted to new ones (which would be complicated =
by
> backward compatibility issues). Or are there specific cases where a =
retrofit
> is being seriously considered?

Many CBOR-based structures are already defined, usually mainly =
considering the needs for interchange over protocols such as CoAP and =
HTTP.
The formats differ in their characteristics (e.g., we have RFC 8949 data =
items and RFC 8742 CBOR sequences).
But, for all of them, there is a need to store them at some point, if =
only for diagnostics.
To support both data items and sequences, we best have magic number =
formats that are appropriate for each.

Most likely, a single application (that is not like file(1)) will simply =
need to recognize its own file format or a few related ones.

I added "even if the program only
supports a single data item.=E2=80=9D, as this was the main argument why =
the CBOR-sequence-based magic number could not cover all applications.

> NITs:
>=20
> Section 3.3:
>=20
> "
>   3.  The three byte CBOR byte string containing 0x42_4F_52.  When
>       encoded it shows up as "CBOR"
>=20
> ...
>=20
>   The third part is a constant value 0x43_42_4f_52, "CBOR".  That is,
>   the CBOR encoded data item for the three byte sequence 0x42_4f_52
>   ("BOR").  This is the data item that is tagged.
> "
>=20
> [BA] The latter text is more clear than the former, since 0x42_4F_52
> is indeed "BOR". I'd suggest deleting the second sentence in 3, "When
> encoded..."

Thanks.  I deleted the sentence as suggested and clarified some more of =
the text.

All the changes I am proposing are in
https://github.com/cbor-wg/cbor-magic-number/pull/8

Gr=C3=BC=C3=9Fe, Carsten


From nobody Wed Aug  4 17:59:05 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BF753A0CF0; Wed,  4 Aug 2021 17:58:53 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.35.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <162812513347.13824.7507005815815934228@ietfa.amsl.com>
Date: Wed, 04 Aug 2021 17:58:53 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/DtB589qLHNDq7fkGAYoqN4N4EgE>
Subject: [Cbor] I-D Action: draft-ietf-cbor-file-magic-03.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2021 00:58:54 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : On storing CBOR encoded items on stable storage
        Author          : Michael Richardson
	Filename        : draft-ietf-cbor-file-magic-03.txt
	Pages           : 12
	Date            : 2021-08-04

Abstract:
   This document proposes an on-disk format for CBOR objects that is
   friendly to common on-disk recognition systems like the Unix file(1)
   command.

   This document is being discussed at: https://github.com/cbor-wg/cbor-
   magic-number


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-file-magic/

There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-ietf-cbor-file-magic-03.html

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-file-magic-03


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Wed Aug  4 19:53:25 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2DBA43A1393 for <cbor@ietfa.amsl.com>; Wed,  4 Aug 2021 19:53:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 yuK6d6zm8YFZ for <cbor@ietfa.amsl.com>; Wed,  4 Aug 2021 19:53:18 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 811B33A1390 for <cbor@ietf.org>; Wed,  4 Aug 2021 19:53:18 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id A012C3899C for <cbor@ietf.org>; Wed,  4 Aug 2021 22:57:33 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id IDwSTkh5IILf for <cbor@ietf.org>; Wed,  4 Aug 2021 22:57:29 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id A9AC938984 for <cbor@ietf.org>; Wed,  4 Aug 2021 22:57:29 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 2E5FB2F6 for <cbor@ietf.org>; Wed,  4 Aug 2021 22:53:12 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: cbor@ietf.org
In-Reply-To: <162812513347.13824.7507005815815934228@ietfa.amsl.com>
References: <162812513347.13824.7507005815815934228@ietfa.amsl.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Wed, 04 Aug 2021 22:53:12 -0400
Message-ID: <13871.1628131992@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/9VQ_CS-iG1VCQxbiQ0uMYloatQ4>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-file-magic-03.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Aug 2021 02:53:23 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


internet-drafts@ietf.org wrote:
    > This draft is a work item of the Concise Binary Object Representation=
 Maintenance and Extensions WG of the IETF.

    > Title           : On storing CBOR encoded items on stable storage
    > Author          : Michael Richardson
    > Filename        : draft-ietf-cbor-file-magic-03.txt
    > Pages           : 12
    > Date            : 2021-08-04

    > Abstract:
    > This document proposes an on-disk format for CBOR objects that is
    > friendly to common on-disk recognition systems like the Unix file(1)
    > command.

    > This document is being discussed at: https://github.com/cbor-wg/cbor-
    > magic-number


    > The IETF datatracker status page for this draft is:
    > https://datatracker.ietf.org/doc/draft-ietf-cbor-file-magic/

    > There is also an HTML version available at:
    > https://www.ietf.org/archive/id/draft-ietf-cbor-file-magic-03.html

    > A diff from the previous version is available at:
    > https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-file-magic-03

This includes edits based Barry's comments.


=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide





--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmELUpcACgkQgItw+93Q
3WX3Swf/Z9SBqYUs6ENXQL3hkVyo+JBfimlyHD97xe4FZIYdIDZoa/rliqvDqPGR
RFAQ0N/BrLKDMy+Vnm0rLl3tbiJS8L3kQ2a4bVwEwqtK5159/vZcPEefyUFQkhYB
QjdjK4vdnptGqrYtM6mi2nTWdLDU+bbD20Gp7K57RllqNPlJW5Fp/A4CdOPPufkN
uHdZeZVEtYIup67me2cqji8p2I4HHoqj3w2Q4KOOUepWDUDRp7dq3YVhg3ItMqNX
H7pBTfub/IOdmOTUbTBo/4iR1f92eL5jKZIrLy8jre7gvjhLPMfG5oJMG6l8k41f
OUZ5CrUmKufhO6v6rfdZURA46RbuPQ==
=cgVd
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Fri Aug  6 17:37:57 2021
Return-Path: <ek.ietf@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73E9D3A2116; Fri,  6 Aug 2021 17:37:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 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] 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 7Fhrgnb6tI3G; Fri,  6 Aug 2021 17:37:52 -0700 (PDT)
Received: from mail-oi1-x22f.google.com (mail-oi1-x22f.google.com [IPv6:2607:f8b0:4864:20::22f]) (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 DF0B13A2115; Fri,  6 Aug 2021 17:37:51 -0700 (PDT)
Received: by mail-oi1-x22f.google.com with SMTP id s13so5259853oie.10; Fri, 06 Aug 2021 17:37:51 -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=T8L9iT0TUfBhW+4a4LlCh9yfG7O/HYeqHT3c1jYLhzQ=; b=QT2i/7BriSQKyb6nrlBM4nKeuopDwHMbHQWIx2fDQ3CbWS+QB48tj8xCPmMyOqiUkZ M1946mniCxc7I8tiu/igvu4hcB9UGlFnZd4B8wwAYpW61tYa1KLjcg7KWN4mlBK7jwoi xOKuzEeH+/1LgP/z5qxHJAWCqAXdvwy8o5BHPusUJuABimPZ/dqTrlNxtM56+upgcxWd eRUCXjDrChkPtm09RqNFbPp4n5FrQONtdeve4Rbd5p9fF4KR2b+tQw9vmYwCPANiBRNQ 8PhzO0V2yp8J/PmZ+NuHILEri9vo5obNTAW+N7NkkZqnv1uOPp0n1U86rtNZrQUrPFJz 3JrQ==
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=T8L9iT0TUfBhW+4a4LlCh9yfG7O/HYeqHT3c1jYLhzQ=; b=UGBIZNy9AfRzSHeC4GkvceCP8nZXIkQMeITijt9ZowIIZjVYgo1dk7Z8DNEy1Js167 3LA/H514xmRTXCrKQS92HlyjZ2JGTSrMPVSuHN1wJwMbi/KUgmCNfZg2Cql087mexXKp XoHwidkxSuUuznDAT2o0Jbx/r9iDYKp6vpstKMi17eTxCM2mO+nC8JjgV3I6wMEDJcxw lg71tYDPmLBGKruu1sv3JLgP9pEoMik6Monmr/ZySaiwppkVzCKgQ2+WjfNL6MF24zP4 htBkWvjGHiLLPspa+ondenDX/DenGUuL6v3bQP5RVAGCH45IJX8GXQAwRXe/VDSk6NnE EGcA==
X-Gm-Message-State: AOAM530gpnUWVuYkzlpe6QdWet8rwus2JHdy0NSJA8qVEHt/cn4jCPkT eYGO+qvfk0B2CxHV7953YNs0TQq7zAESZvVWmOE=
X-Google-Smtp-Source: ABdhPJxmwSLv2TCuNtbbyu94kOydy9zd1gS+PBo2GZupIXvtxp90oxYnVPxjp38BV2isI2c8J9F9V4YNspxg8v7zQec=
X-Received: by 2002:a05:6808:349:: with SMTP id j9mr9320483oie.77.1628296669672;  Fri, 06 Aug 2021 17:37:49 -0700 (PDT)
MIME-Version: 1.0
References: <CAMGpriUnfMjhk7teAN-A0j5SCK=BpyJEDC+NOCJtHzmF1BFeow@mail.gmail.com> <aa9884b5-fd58-60cb-fa1d-b2d76f5a09a1@gmail.com> <VI1PR07MB6256E2C9CC9565FF2F080B5DA0E89@VI1PR07MB6256.eurprd07.prod.outlook.com> <c2c7a576-e138-1364-5ed0-a2987c1c1974@gmail.com> <20210727210706.buavt5nwairrjblf@anna.jacobs.jacobs-university.de> <e889a219-26b2-2a2e-6d05-bb6c7db1f89d@gmail.com> <20210801113001.yksklfouoz6v4hvz@anna.jacobs.jacobs-university.de> <b5f1c62e-4aa4-a397-8777-b3ec0eeafccc@gmail.com> <20210802070839.g2tjn3pqu5lpbd54@anna.jacobs.jacobs-university.de> <541ec837-d5ad-2c3f-aa98-6d9af4e11c53@gmail.com> <20210803055327.ma3pvyr7flrcd3b5@anna.jacobs.jacobs-university.de> <863babe9-6d3e-fb25-7c7d-826171f48d57@gmail.com>
In-Reply-To: <863babe9-6d3e-fb25-7c7d-826171f48d57@gmail.com>
From: Erik Kline <ek.ietf@gmail.com>
Date: Fri, 6 Aug 2021 17:37:38 -0700
Message-ID: <CAMGpriVqWKSZ32hx3Y1mghe3se4qd3-=7FTJNVuB1L5kVWQrQQ@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: tom petch <ietfc@btconnect.com>, "cbor@ietf.org" <cbor@ietf.org>, 6MAN <6man@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000095b92705c8ed5ce1"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/9VyHUXtS4eBuoTJMtZj-z0thN3Q>
Subject: Re: [Cbor] changes in draft-ietf-cbor-network-addresses-05.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Aug 2021 00:37:56 -0000

--00000000000095b92705c8ed5ce1
Content-Type: text/plain; charset="UTF-8"

>
>
> > Given that ietf-interfaces does key interfaces by name (which reflects
> > the common practice of network operators to refer to router interfaces
> > by name), it seems the ship has sailed.
>
> In some contexts, but not all. In the cbor-network-addresses context,
> if we do anything, it would seem wise to support an integer and a string
> format, to cover the bases. But I'd be inclined to leave it as a future
> extension.


Deferring for another document (and, presumably, some more clearly
articulated motivation) makes sense to me.  I'm sorry I triggered
the digression, though the conversation has been interesting.

--

WRT to names vs indices vs <other>, I think 4007 S6 defining "zone index"
as a core concept is fairly straightforward, though I think it's things
like RFCs 3493 and 3542 that make these unsigned integer indices the de
facto standard.  (if_nametoindex() is just a nicety, as every other
zone-aware API call uses unsigned ints)

--00000000000095b92705c8ed5ce1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)=
;padding-left:1ex"><br>&gt; Given that ietf-interfaces does key interfaces =
by name (which reflects<br>
&gt; the common practice of network operators to refer to router interfaces=
<br>
&gt; by name), it seems the ship has sailed.<br>
<br>
In some contexts, but not all. In the cbor-network-addresses context,<br>
if we do anything, it would seem wise to support an integer and a string<br=
>
format, to cover the bases. But I&#39;d be inclined to leave it as a future=
<br>
extension.</blockquote><div><br></div><div>Deferring for another document (=
and, presumably, some more clearly articulated motivation) makes sense to m=
e.=C2=A0 I&#39;m sorry I triggered the=C2=A0digression,=C2=A0though the con=
versation has been interesting.</div><div><br></div><div>--</div><div><br><=
/div><div>WRT to names vs indices vs &lt;other&gt;, I think 4007 S6 definin=
g &quot;zone index&quot; as a core concept is fairly straightforward, thoug=
h I think it&#39;s things like RFCs 3493 and 3542 that make these unsigned =
integer indices the de facto standard.=C2=A0 (if_nametoindex() is just a ni=
cety, as every other zone-aware API call uses unsigned ints)</div></div></d=
iv>

--00000000000095b92705c8ed5ce1--


From nobody Mon Aug  9 14:07:32 2021
Return-Path: <barryleiba@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D4BA3A1782 for <cbor@ietfa.amsl.com>; Mon,  9 Aug 2021 14:07:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
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 5QfScJIugntn for <cbor@ietfa.amsl.com>; Mon,  9 Aug 2021 14:07:25 -0700 (PDT)
Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 8AACC3A1787 for <cbor@ietf.org>; Mon,  9 Aug 2021 14:07:25 -0700 (PDT)
Received: by mail-lj1-f182.google.com with SMTP id m18so14352185ljo.1 for <cbor@ietf.org>; Mon, 09 Aug 2021 14:07:25 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=A6OdN5vcbXFqaZaPdO8WmAJcTZqi22OmHXgqMDq610k=; b=hSdlusi39MzyY/JF0iinA8zpyAn5A5QAHICEiA4gQ6DgBKZrr4Qu9uKkd5qD3Sd6r9 OUNHJBQ78QI0vKvaonONXcAWU/IKNClhmLZ8I9JyZ2xVh3CfvG5mDxGsLkh/IXRWzYr4 bE/C02Tp5lvFTGQAn+OW1c6EFdWiLHG+aO/zLvc8PTC6bKEkDWBbLSIa7MmNXD/aODIF OyZqYTf1O7j+P7MNKLo7WjerqwF5zU80iElOcf/BiVZ0lYtDMmQqNYSZa0WSeguii2HP dE6QyoW3lAyqkdDyk9RezLLF2fqfR5KFIhkzP99YhXeZB0EJBpiZhVLsJ2p4Ks9EeD2z 48Xg==
X-Gm-Message-State: AOAM533Vs2+NE1J+OTsFuyF7jq7/BBpBALeLwWg8P9+XWRckhdR9GAcV iK6fxRFXc0fyj6eGIK6SUm/I2P3LmoRozZjv28EyocB0
X-Google-Smtp-Source: ABdhPJwWOhHpGAnFxJ7+U+jcnDWFn4H87c6LU4gGy4erwzsFgWBUufb5L7zKH0pA84QIzOeoOBL4QI/GX7x1z1+Idws=
X-Received: by 2002:a2e:bd85:: with SMTP id o5mr16675094ljq.313.1628543242744;  Mon, 09 Aug 2021 14:07:22 -0700 (PDT)
MIME-Version: 1.0
From: Barry Leiba <barryleiba@computer.org>
Date: Mon, 9 Aug 2021 17:07:12 -0400
Message-ID: <CALaySJJpXDnphA9f58HowwhhyGPZ5w1kF9Eqr0U0NodeoBF4Fg@mail.gmail.com>
To: "cbor@ietf.org" <cbor@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000007c379605c926c55e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/IlJdgnWZ56uN7_DCFyfI_FCHEs4>
Subject: [Cbor] Reminder: We will NOT have interim meetings on 11 and 25 Aug
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Aug 2021 21:07:31 -0000

--0000000000007c379605c926c55e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

As we discussed during IETF 111, we will NOT have any CBOR meetings in
August, though they are still on the schedule in the datatracker (I=E2=80=
=99ve
asked the Secretariat to cancel them).

We will have to decide whether to resume with the 8 September meeting, or
to resume later.  Comments on that topic are welcome.

Barry

--0000000000007c379605c926c55e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

As we=C2=A0discussed during IETF 111, we will NOT have any CBOR meetings in=
 August, though they are still on the schedule in the datatracker (I=E2=80=
=99ve asked the Secretariat to cancel them).<div dir=3D"auto"><br></div><di=
v dir=3D"auto">We will have to decide whether to resume with the 8 Septembe=
r meeting, or to resume later.=C2=A0 Comments on that topic are welcome.</d=
iv><div dir=3D"auto"><br></div><div dir=3D"auto">Barry</div><div dir=3D"aut=
o"><br></div>

--0000000000007c379605c926c55e--


From nobody Wed Aug 11 08:56:32 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 92C0D3A1B06; Wed, 11 Aug 2021 08:56:30 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IESG Secretary <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: cbor-chairs@ietf.org, cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162869739052.6612.15554797120007964453@ietfa.amsl.com>
Date: Wed, 11 Aug 2021 08:56:30 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/KrNQHAxlJ5ly2wsM0Vg7_9H53wg>
Subject: [Cbor] Concise Binary Object Representation Maintenance and Extensions (cbor) WG Interim Meeting Cancelled (was 2021-08-11)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Aug 2021 15:56:31 -0000

The Concise Binary Object Representation Maintenance and Extensions (cbor) virtual 
interim meeting for 2021-08-11 from 16:00 to 17:00 Europe/Stockholm
has been cancelled.






From nobody Wed Aug 11 08:56:57 2021
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 063873A1B28; Wed, 11 Aug 2021 08:56:47 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IESG Secretary <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
Cc: cbor-chairs@ietf.org, cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162869740699.32384.10364309386216605670@ietfa.amsl.com>
Date: Wed, 11 Aug 2021 08:56:47 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/u4s9or3JOU5TOSShh-0WlTHZDTk>
Subject: [Cbor] Concise Binary Object Representation Maintenance and Extensions (cbor) WG Interim Meeting Cancelled (was 2021-08-25)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Aug 2021 15:56:56 -0000

The Concise Binary Object Representation Maintenance and Extensions (cbor) virtual 
interim meeting for 2021-08-25 from 16:00 to 17:00 Europe/Stockholm
has been cancelled.






From nobody Fri Aug 13 06:18:55 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F4A93A1860; Fri, 13 Aug 2021 06:18:49 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cbor@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cbor@ietf.org
Message-ID: <162886072892.842.1028533935992555518@ietfa.amsl.com>
Date: Fri, 13 Aug 2021 06:18:48 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/Hq5tYayelvKMuuxMhClj-TVoV7A>
Subject: [Cbor] I-D Action: draft-ietf-cbor-packed-03.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Aug 2021 13:18:49 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Concise Binary Object Representation Maintenance and Extensions WG of the IETF.

        Title           : Packed CBOR
        Author          : Carsten Bormann
	Filename        : draft-ietf-cbor-packed-03.txt
	Pages           : 18
	Date            : 2021-08-13

Abstract:
   The Concise Binary Object Representation (CBOR, RFC 8949) is a data
   format whose design goals include the possibility of extremely small
   code size, fairly small message size, and extensibility without the
   need for version negotiation.

   CBOR does not provide any forms of data compression.  CBOR data
   items, in particular when generated from legacy data models often
   allow considerable gains in compactness when applying data
   compression.  While traditional data compression techniques such as
   DEFLATE (RFC 1951) can work well for CBOR encoded data items, their
   disadvantage is that the receiver needs to unpack the compressed form
   to make use of data.

   This specification describes Packed CBOR, a simple transformation of
   a CBOR data item into another CBOR data item that is almost as easy
   to consume as the original CBOR data item.  A separate decompression
   step is therefore often not required at the receiver.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-cbor-packed/

There is also an htmlized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-cbor-packed-03

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cbor-packed-03


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From nobody Fri Aug 13 06:22:22 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D4803A1885 for <cbor@ietfa.amsl.com>; Fri, 13 Aug 2021 06:22:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 KWjQjZ6lkogw for <cbor@ietfa.amsl.com>; Fri, 13 Aug 2021 06:22:14 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9888F3A1882 for <cbor@ietf.org>; Fri, 13 Aug 2021 06:22:13 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GmPNg2zN2z2xHx; Fri, 13 Aug 2021 15:22:11 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <162886072892.842.1028533935992555518@ietfa.amsl.com>
Date: Fri, 13 Aug 2021 15:22:11 +0200
X-Mao-Original-Outgoing-Id: 650553730.859328-2880f05e5db28a5318fbe01d008354c2
Content-Transfer-Encoding: quoted-printable
Message-Id: <64D5FDDC-4974-4FED-93E3-5BC4CA8225E2@tzi.org>
References: <162886072892.842.1028533935992555518@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/WGHV-2hsSzaOBRChY75Z7tNwvHk>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-packed-03.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Aug 2021 13:22:20 -0000

cbor-packed expired today, so I made a -03 with the various small edits =
that have accrued since -02.  As we said at IETF111, we are collecting =
implementation experience at this point, going forward once enough such =
experience is available.

Gr=C3=BC=C3=9Fe, Carsten


>        Title           : Packed CBOR
>        Author          : Carsten Bormann
> 	Filename        : draft-ietf-cbor-packed-03.txt
> 	Pages           : 18
> 	Date            : 2021-08-13
>=20
> Abstract:
>   The Concise Binary Object Representation (CBOR, RFC 8949) is a data
>   format whose design goals include the possibility of extremely small
>   code size, fairly small message size, and extensibility without the
>   need for version negotiation.
>=20
>   CBOR does not provide any forms of data compression.  CBOR data
>   items, in particular when generated from legacy data models often
>   allow considerable gains in compactness when applying data
>   compression.  While traditional data compression techniques such as
>   DEFLATE (RFC 1951) can work well for CBOR encoded data items, their
>   disadvantage is that the receiver needs to unpack the compressed =
form
>   to make use of data.
>=20
>   This specification describes Packed CBOR, a simple transformation of
>   a CBOR data item into another CBOR data item that is almost as easy
>   to consume as the original CBOR data item.  A separate decompression
>   step is therefore often not required at the receiver.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-packed/
>=20
> There is also an htmlized version available at:
> https://datatracker.ietf.org/doc/html/draft-ietf-cbor-packed-03
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cbor-packed-03


From nobody Sun Aug 15 12:44:19 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B9883A21A7 for <cbor@ietfa.amsl.com>; Sun, 15 Aug 2021 12:44:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 cvWvjdPK49I0 for <cbor@ietfa.amsl.com>; Sun, 15 Aug 2021 12:44:13 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E68F13A21A9 for <cbor@ietf.org>; Sun, 15 Aug 2021 12:44:12 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GnnmS64pKz2xJm; Sun, 15 Aug 2021 21:44:08 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <162905624171.27660.137292813847150167@ietfa.amsl.com>
Date: Sun, 15 Aug 2021 21:44:08 +0200
X-Mao-Original-Outgoing-Id: 650749448.297731-3ae800969991a3ccbed640049c37d86e
Content-Transfer-Encoding: quoted-printable
Message-Id: <72D87F89-A426-4513-B60C-F1761CEC255E@tzi.org>
References: <162905624171.27660.137292813847150167@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/4x56swmIiWeRbMtvYOqdDoPGvZg>
Subject: Re: [Cbor] I-D Action: draft-bormann-cbor-notable-tags-04.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 15 Aug 2021 19:44:18 -0000

Notable-tags-04 is a snapshot which is mostly notable [duuh] for the =
text that fills in Section 6.1:

=
https://www.ietf.org/archive/id/draft-bormann-cbor-notable-tags-04.html#na=
me-advanced-arithmetic

There are still quite a few pieces of skeleton text; I hope we can fill =
these in before the next CBOR interim, so we can discuss whether this =
draft should be a WG document.

The rfcdiff is a bit damaged by the overly long lines in -03, if you =
want to peruse it, just scroll to the right and look at what has been =
added.

Gr=C3=BC=C3=9Fe, Carsten


> On 2021-08-15, at 21:37, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
>=20
>=20
>        Title           : Notable CBOR Tags
>        Author          : Carsten Bormann
> 	Filename        : draft-bormann-cbor-notable-tags-04.txt
> 	Pages           : 23
> 	Date            : 2021-08-15
>=20
> Abstract:
>   The Concise Binary Object Representation (CBOR, RFC 8949) is a data
>   format whose design goals include the possibility of extremely small
>   code size, fairly small message size, and extensibility without the
>   need for version negotiation.
>=20
>   In CBOR, one point of extensibility is the definition of CBOR tags.
>   RFC 8949's original edition, RFC 7049, defined a basic set of tags =
as
>   well as a registry that can be used to contribute additional tag
>   definitions [IANA.cbor-tags].  Since RFC 7049 was published, some 80
>   tag definitions have been added to that registry.
>=20
>   The present document provides a roadmap to a large subset of these
>   tag definitions.  Where applicable, it points to a IETF standards or
>   standard development document that specifies the tag.  Where no such
>   document exists, the intention is to collect specification
>   information from the sources of the registrations.  After some more
>   development, the present document is intended to be useful as a
>   reference document for the IANA registrations of the CBOR tags the
>   definitions of which have been collected.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-bormann-cbor-notable-tags/
>=20
> There is also an HTML version available at:
> =
https://www.ietf.org/archive/id/draft-bormann-cbor-notable-tags-04.html
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-bormann-cbor-notable-tags-04
>=20
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
>=20
> _______________________________________________
> 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


From nobody Wed Aug 25 20:11:54 2021
Return-Path: <worley@ariadne.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 699333A10F5 for <cbor@ietfa.amsl.com>; Wed, 25 Aug 2021 20:11:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=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=comcastmailservice.net
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 OoAbjIklQNdg for <cbor@ietfa.amsl.com>; Wed, 25 Aug 2021 20:11:45 -0700 (PDT)
Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:37]) (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 36CF63A10EE for <cbor@ietf.org>; Wed, 25 Aug 2021 20:11:44 -0700 (PDT)
Received: from resomta-ch2-11v.sys.comcast.net ([69.252.207.107]) by resqmta-ch2-05v.sys.comcast.net with ESMTP id J5ilmiik7K3eXJ5nqmBoEX; Thu, 26 Aug 2021 03:11:42 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20180828_2048; t=1629947502; bh=gj1gjgKeN5pSyLPavarGCwSNqkCCd6EKSKXGVgw1erk=; h=Received:Received:Received:Received:From:To:Subject:Date: Message-ID; b=YRcGoGO8LvxuKcyCz97+kzIO3M7ep4fM6DdI8O6Vnfa2PW0UbVGge9X2bn1xIkPLn e+rNDvwenAC8/ol4vb132OZXf3MeV6Q5Co/zjdrioXF4iG/ZJFVuBXauMNLdCVQnrV CeAu9SYqEUDvlCnZKqtE1IdGhGmalxsvhu+RMANtkWVF5DQH5w4reZLGHEDAQS2vPK QoXELcuPaFFvmf765zo+nkeUHrimLkxt37KlrEDeaCNkiuR5I9O2TvcvtHVM6+STHG A70p/2RUJgGoeGJbjafszTtjVjCnPHhYQEjKuMpSJr52DzNsZzn4/JlS3Vg7apz+4z lTT74xyXB6d1g==
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4a00:430::327]) by resomta-ch2-11v.sys.comcast.net with ESMTPA id J5nom00LlkJw7J5npmH8F7; Thu, 26 Aug 2021 03:11:42 +0000
X-Xfinity-VMeta: sc=-100.00;st=legit
Received: from hobgoblin.ariadne.com (localhost [127.0.0.1]) by hobgoblin.ariadne.com (8.16.1/8.16.1) with ESMTPS id 17Q3BemW009401 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 25 Aug 2021 23:11:40 -0400
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.16.1/8.16.1/Submit) id 17Q3BdSw009398; Wed, 25 Aug 2021 23:11:39 -0400
From: worley@ariadne.com (Dale R. Worley)
To: Bernard Aboba <bernard.aboba@gmail.com>
Cc: art@ietf.org, cbor@ietf.org, draft-ietf-cbor-file-magic.all@ietf.org
In-Reply-To: <162801879089.20863.15297297905691186349@ietfa.amsl.com> (noreply@ietf.org)
Sender: worley@ariadne.com (Dale R. Worley)
Date: Wed, 25 Aug 2021 23:11:39 -0400
Message-ID: <874kbcaoic.fsf@hobgoblin.ariadne.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/TcnUrs5ZoQ7tAnPTAlGC6Vhipr0>
Subject: Re: [Cbor] [art] Artart early review of draft-ietf-cbor-file-magic-02
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2021 03:11:51 -0000

There's an odd characteristic about this document, not in its content,
but in its style.  It's written as a proposal (a word which is used
several times), and yet it's intended to be a BCP, which tells people
what do to.  And various passages are written as if the reader is a
co-designer.  For instance,

   A magic number is ideally a unique fingerprint, present in the first
   4 or 8 bytes of the file, which does not change when the contents
   change, and does not depend upon the length of the file.

(Though it would be more accurate to say, "... present at a defined
location in the first few bytes of the file ...".)  If this was a
specification, it would say essentially the same fact as "This scheme
has the desired property of magic numbers of having a unique fingerprint
at a fixed location near the beginning of the data."

I get the sense that the authors are ambivalent whether they are saying
what implementers should do, or just floating an idea.  Though I don't
know if that is accurate.

As far as content goes, I favor the "tag wrapped" version over the "tag
sequence", as it has assured upward-compatibility (if the implementation
follows the requirement to ignore unknown tags).  In particular, if the
data consists of a sequence of CBOR items, each one could be tagged (if
they might differ) or only the first one be tagged (if they don't).  But
that's a different matter.

Dale


From nobody Thu Aug 26 06:02:08 2021
Return-Path: <session-request@ietf.org>
X-Original-To: cbor@ietf.org
Delivered-To: cbor@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 61FAF3A10F9; Thu, 26 Aug 2021 06:02:06 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: IETF Meeting Session Request Tool <session-request@ietf.org>
To: <session-request@ietf.org>
Cc: barryleiba@gmail.com, cbor-chairs@ietf.org, cbor@ietf.org, francesca.palombini@ericsson.com
X-Test-IDTracker: no
X-IETF-IDTracker: 7.36.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <162998292563.11312.13742176946050340745@ietfa.amsl.com>
Date: Thu, 26 Aug 2021 06:02:06 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/PcCe4NLbOQftUORm_F0fiRLetrA>
Subject: [Cbor] cbor - New Meeting Session Request for IETF 112
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2021 13:02:07 -0000

A new meeting session request has just been submitted by Barry Leiba, a Chair of the cbor working group.


---------------------------------------------------------
Working Group Name: Concise Binary Object Representation Maintenance and Extensions
Area Name: Applications and Real-Time Area
Session Requester: Barry Leiba


Number of Sessions: 1
Length of Session(s):  1 Hour
Number of Attendees: 50
Conflicts to Avoid: 








People who must be present:
  Carsten Bormann
  Barry Leiba
  Michael Richardson
  Francesca Palombini
  Christian Amsuess

Resources Requested:

Special Requests:
  Please avoid collision with ART, Sec, and IoT-related BoFs.
---------------------------------------------------------



From nobody Thu Aug 26 06:07:17 2021
Return-Path: <barryleiba@gmail.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D032A3A1176 for <cbor@ietfa.amsl.com>; Thu, 26 Aug 2021 06:07:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
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 pj_rZewHAcHM for <cbor@ietfa.amsl.com>; Thu, 26 Aug 2021 06:07:08 -0700 (PDT)
Received: from mail-lj1-f180.google.com (mail-lj1-f180.google.com [209.85.208.180]) (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 A47053A1180 for <cbor@ietf.org>; Thu, 26 Aug 2021 06:07:07 -0700 (PDT)
Received: by mail-lj1-f180.google.com with SMTP id j12so4958320ljg.10 for <cbor@ietf.org>; Thu, 26 Aug 2021 06:07:07 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zsGkEJ82mua2kk9uWmd8hfWYZed0Ta3eCrrwEP9/+As=; b=SilCT1vSuGC9464BhoWESc8gJ3b0iwVM0tWoksm6pJTNH0roXSlBga1FA8ddZglSZA mTPak+gcmVYjsRNkBmteCdXbwgsnQMLtOZW4L6BPCIY5IbU4xAXu9OzM+7k8jEFItFcb +kaI+N5nG42SMe8x/Yx5YLQibfMDq7K8h+edCCpIOEsFANNJ/PNyqnbKTsAd4hwjXSaM FIlrnz8ehmaP7dYGLYrMkWpYQNFbOcpDeGS7ltxbaM2sGPUIIB6Uojh9ng9kQ3F/IVS4 dAbIhaOdJxpXMZafylT6jOZn/tiasEFHaFbZaC+5vjDmUC9FODBvlXUoGHQzyeeI6k3M UOfQ==
X-Gm-Message-State: AOAM530JH+LuNKAiiDj9z4QgUPAtBnXv2fXK2IuCXxJij1NwQblQ3nbo 5J+JPmzOLCr+BVttd7K7CISvciB2GCHQ60CsDz2VMBJPe58=
X-Google-Smtp-Source: ABdhPJyYqoGfw5YyYXTy9283GH/lKcP8frAplr3BgDBGxUFFEpG9l8CBOsXuJu64SxZU43/a3v1FGY2NrILvZY0GB6Q=
X-Received: by 2002:a2e:814e:: with SMTP id t14mr2919832ljg.473.1629983225219;  Thu, 26 Aug 2021 06:07:05 -0700 (PDT)
MIME-Version: 1.0
From: Barry Leiba <barryleiba@computer.org>
Date: Thu, 26 Aug 2021 09:06:52 -0400
Message-ID: <CALaySJK1X6H4WCjPWeQFpeiPAD1-Sw+uQ_vR0q1yregnp0c3=w@mail.gmail.com>
To: cbor@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/1Py4Tlw731A8NFB0W1S6vK5W_jY>
Subject: [Cbor] CBOR interim sessions will resume on 8 September
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2021 13:07:14 -0000

CBOR interim sessions will resume on Wednesday, 8 September, at the
customary time of 14:00 UTC.  The sessions will continue to be on
Meetecho, and we will soon get the session information
<https://datatracker.ietf.org/meeting/interim-2021-cbor-16/session/cbor>
updated to include the Meetecho link, rather than the old WebEx link
that's there now.

If anyone thinks we should NOT resume on 8 September, please let us know now.

Thanks,
Barry


From nobody Thu Aug 26 11:00:37 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FB1E3A1949; Thu, 26 Aug 2021 11:00:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 mTv2wQb1ZxVH; Thu, 26 Aug 2021 11:00:24 -0700 (PDT)
Received: from gabriel-smtp.zfn.uni-bremen.de (gabriel-smtp.zfn.uni-bremen.de [134.102.50.15]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 583503A1943; Thu, 26 Aug 2021 11:00:23 -0700 (PDT)
Received: from [192.168.217.118] (p548dcf6e.dip0.t-ipconnect.de [84.141.207.110]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GwVxc2ttQz2xM5; Thu, 26 Aug 2021 20:00:20 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <874kbcaoic.fsf@hobgoblin.ariadne.com>
Date: Thu, 26 Aug 2021 20:00:20 +0200
Cc: Bernard Aboba <bernard.aboba@gmail.com>, art@ietf.org, draft-ietf-cbor-file-magic.all@ietf.org, cbor@ietf.org
X-Mao-Original-Outgoing-Id: 651693619.840584-fe364df5b66a61ad9e7c464ceb779871
Content-Transfer-Encoding: quoted-printable
Message-Id: <16A0ECBB-AB9D-455D-B5B6-83F21E37E731@tzi.org>
References: <874kbcaoic.fsf@hobgoblin.ariadne.com>
To: "Dale R. Worley" <worley@ariadne.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/9RpIOap1po-kqWiWKSt_x72lPyM>
Subject: Re: [Cbor] [art] Artart early review of draft-ietf-cbor-file-magic-02
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2021 18:00:31 -0000

On 2021-08-26, at 05:11, Dale R. Worley <worley@ariadne.com> wrote:
>=20
> There's an odd characteristic about this document, not in its content,
> but in its style.  It's written as a proposal (a word which is used
> several times), and yet it's intended to be a BCP, which tells people
> what do to.  And various passages are written as if the reader is a
> co-designer. =20

I can see what you mean.

Typically, specs like this start as a trial balloon, keeping the design =
space wide open, and encouraging discussion.
Once this discussion happens, it focuses on the normative parts of the =
text, which then get all the attention.
Once those are consensus, nobody wants to disturb that by changing the =
introductory parts and the discussion parts.

> For instance,
>=20
>   A magic number is ideally a unique fingerprint, present in the first
>   4 or 8 bytes of the file, which does not change when the contents
>   change, and does not depend upon the length of the file.
>=20
> (Though it would be more accurate to say, "... present at a defined
> location in the first few bytes of the file ...".)  If this was a
> specification, it would say essentially the same fact as "This scheme
> has the desired property of magic numbers of having a unique =
fingerprint
> at a fixed location near the beginning of the data."

It seems a major editorial round is in order.

> I get the sense that the authors are ambivalent whether they are =
saying
> what implementers should do, or just floating an idea.  Though I don't
> know if that is accurate.

No, we are quite interested in giving actionable guidelines; the =
=E2=80=9Cfloating an idea=E2=80=9D phase is over.  But the text may =
indeed not reflect that.

> As far as content goes, I favor the "tag wrapped" version over the =
"tag
> sequence", as it has assured upward-compatibility (if the =
implementation
> follows the requirement to ignore unknown tags).  In particular, if =
the
> data consists of a sequence of CBOR items, each one could be tagged =
(if
> they might differ) or only the first one be tagged (if they don't).  =
But
> that's a different matter.

If the data is a CBOR sequence, tagging any one of the items doesn=E2=80=99=
t tell you much about the others.  So for CBOR sequences, the 55800 =
approach is the one I=E2=80=99d recommend.  For single-item files, both =
approaches are open (tag-wrapping and turning the single item into a =
sequence by prepending a 55800 data item), and it depends on details of =
the circumstances which one one would select.

Gr=C3=BC=C3=9Fe, Carsten


From nobody Thu Aug 26 11:28:08 2021
Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 60E573A0303; Thu, 26 Aug 2021 11:27:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 KKfEqUxbxXOw; Thu, 26 Aug 2021 11:27:49 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D32CC3A02F7; Thu, 26 Aug 2021 11:27:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 205F43898C; Thu, 26 Aug 2021 14:33:21 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id U7fEcPR3ZZoV; Thu, 26 Aug 2021 14:33:15 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 3EDD938980; Thu, 26 Aug 2021 14:33:15 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 5952D5E5; Thu, 26 Aug 2021 14:27:38 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: worley@ariadne.com (Dale R. Worley), Bernard Aboba <bernard.aboba@gmail.com>, art@ietf.org, cbor@ietf.org, draft-ietf-cbor-file-magic.all@ietf.org
In-Reply-To: <874kbcaoic.fsf@hobgoblin.ariadne.com>
References: <874kbcaoic.fsf@hobgoblin.ariadne.com>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Thu, 26 Aug 2021 14:27:38 -0400
Message-ID: <26202.1630002458@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/3ey4egI-jbQWDrMa25tfkUv3rz0>
Subject: Re: [Cbor] [art] Artart early review of draft-ietf-cbor-file-magic-02
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Aug 2021 18:27:56 -0000

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Dale R. Worley <worley@ariadne.com> wrote:
    > There's an odd characteristic about this document, not in its content,
    > but in its style.  It's written as a proposal (a word which is used
    > several times), and yet it's intended to be a BCP, which tells people
    > what do to.

Yes, fair point.
1) It was written as an invididual draft originally, and sought feedback.
   (Request for Comments...)

2) It's a protocol for writing a protocol really.
   Each author that has something they want to mark up are told to think
   about the different parts, and then register something and document it in
   their document.
   So it's more of a framework for CBOR authors to follow.
   That's perhaps why it's not as authoritative as normal.

    > A magic number is ideally a unique fingerprint, present in the first
    > 4 or 8 bytes of the file, which does not change when the contents
    > change, and does not depend upon the length of the file.

    > (Though it would be more accurate to say, "... present at a defined
    > location in the first few bytes of the file ...".)  If this was a
    > specification, it would say essentially the same fact as "This scheme
    > has the desired property of magic numbers of having a unique fingerpr=
int
    > at a fixed location near the beginning of the data."

Good comments.
I can re-edit to be more authoritative if you like.

    > I get the sense that the authors are ambivalent whether they are sayi=
ng
    > what implementers should do, or just floating an idea.  Though I don't
    > know if that is accurate.

    > As far as content goes, I favor the "tag wrapped" version over the "t=
ag
    > sequence", as it has assured upward-compatibility (if the implementat=
ion
    > follows the requirement to ignore unknown tags).

I also prefer it, although I implemented the tag sequence in the protocol
that made me write this document.

    > In particular, if the data consists of a sequence of CBOR items, each=
 one could be tagged (if
    > they might differ) or only the first one be tagged (if they don't).  =
But
    > that's a different matter.

=2D-
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 I=C3=B8T consulti=
ng )
           Sandelman Software Works Inc, Ottawa and Worldwide

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEbsyLEzg/qUTA43uogItw+93Q3WUFAmEn3RoACgkQgItw+93Q
3WX28AgAiHyuLReXQBndlgJkxjbS5Qe6/JCYbip7GRodKO5awzD3pjapmtWGSnOl
5LwokyEwVAjw5fUhh3ffmqye9fdQx8zcC16nEDkKLOie1p1IJGEqtDNjvi28lEoL
3T9Ipm0RdrhUiAuLO9GCwtyMQVXlDZWiHaD9hhVvpiHEVJ03jePSkZsX+VyOcYYi
Q7zFnAX4PWEMSGtuPtWtEVqbTCjySUTbT8upb/w14+aWjloZrtwknYhVHN9jqXzD
ytBXd9Zl7SKT9tNX7lQ4onizDwHET0LJRtGloaBWn1kpL53sCcXAMnKbcLtyEXc4
Bdd6dx0l+CiKMC0kF9haEsMcOL3b1A==
=X+ut
-----END PGP SIGNATURE-----
--=-=-=--

