Re: [netmod] Alexey Melnikov's Discuss on draft-ietf-netmod-module-tags-07: (with DISCUSS)

Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de> Mon, 17 February 2020 17:10 UTC

Return-Path: <J.Schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43E5F120089; Mon, 17 Feb 2020 09:10:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.436
X-Spam-Level: *
X-Spam-Status: No, score=1.436 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_NONE=0.001] autolearn=no 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 LZDSao8powMw; Mon, 17 Feb 2020 09:09:56 -0800 (PST)
Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30065.outbound.protection.outlook.com [40.107.3.65]) (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 23618120088; Mon, 17 Feb 2020 09:09:56 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DS1ro8KM504zcYp3Zv/C34z5+jqFWcKGscOz9/XkFO5KjXs6lj1aNFQLMppPdhhNXhlneWPEzEPTnVCcm4btLY6geoRZnC/s9OsrChA+yn5MBh9VBc6kGhugDXovA1vpAg5JL/ye3y04ctAeBQHaz1aNo7ijpzXmkUS99bFVjS4qlF3avQCxC+/NjWxg5G3eIqrYRzJUaRxIDq8aVkqLTB71M8aYyBTS7C2Da/Qy6XYC9hT6XBTqRC3u1bbXeXZ5PhKetSTL26ygMOj8aIAbWjQ0HUV6IGIf5ZXgTEoOgZxlNGyni/LYlR4CDVKIPbh7QonMiwt2V3R3XUUhEOi7DQ==
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=IW3Bv3CCnokYfZd4QAGCRZCh8yqoetUBDZHDY8Iylec=; b=nJVWO2OD1Ke9ZKXPRvjPJywC9RzE/nG2ZqBhygMK9RP48NLfeG9NiGT/Talz7t0GZLYbxq3Vz5YfdGneCm7v9tDg2FR6tWjG4PDtjg87kNN8GwalF9kkQx4rfquT6tvOxzOzwieWzSApT3gAEMVT84uHDFJQdm7qZDCssRB/eDSbog24Hkcr8sKKiCCFtb1X9sHxjzqdBRTrQSBoPHUEsbn5v9Yyz6SGEcfVVeI/k9ve3fh8IzYjgBd9RfHdbUfK3rbcV7xnzkSz2kupxIMUL1t9d1es4diAy2tqYTLHSQz2Cj5cxZ9Qrr3I2wmxloUzqOfVuaFXXrjE4mVU1HLEiA==
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=IW3Bv3CCnokYfZd4QAGCRZCh8yqoetUBDZHDY8Iylec=; b=UAR+Ea7GSarVMuUETBUvjl/Eq25vnZ7LYBJp2L8bSqk2Ql2OZzRb11zPF64cBUfc4PSOQHicw+JMP7LIwp4JzpWZwynpzjJ7B/tVDI/Y272GpV3OtDjOxHsOKlX2f7B3+ZRL1Hr3aAo+uC+nPlwMrtgWKkv9WVIDih1kriN24Nk=
Received: from DB6P190MB0312.EURP190.PROD.OUTLOOK.COM (10.165.140.31) by DB6P190MB0117.EURP190.PROD.OUTLOOK.COM (10.172.228.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Mon, 17 Feb 2020 17:09:53 +0000
Received: from DB6P190MB0312.EURP190.PROD.OUTLOOK.COM ([fe80::2cda:e754:4835:c579]) by DB6P190MB0312.EURP190.PROD.OUTLOOK.COM ([fe80::2cda:e754:4835:c579%3]) with mapi id 15.20.2729.032; Mon, 17 Feb 2020 17:09:53 +0000
Received: from localhost (212.201.44.247) by AM4PR0202CA0015.eurprd02.prod.outlook.com (2603:10a6:200:89::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.23 via Frontend Transport; Mon, 17 Feb 2020 17:09:53 +0000
From: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
To: Christian Hopps <chopps@chopps.org>
CC: "Rob Wilton (rwilton)" <rwilton@cisco.com>, Alexey Melnikov <aamelnikov@fastmail.fm>, "netmod@ietf.org" <netmod@ietf.org>, Joel Jaeggli <joelja@gmail.com>, The IESG <iesg@ietf.org>
Thread-Topic: [netmod] Alexey Melnikov's Discuss on draft-ietf-netmod-module-tags-07: (with DISCUSS)
Thread-Index: AQHV4pzaaJjh2ww68Uallfbdbai0wKgafm0AgABC9gCABMxAD4AAF0UA
Date: Mon, 17 Feb 2020 17:09:53 +0000
Message-ID: <20200217170952.rkgyjdtvepfh2lzf@anna.jacobs.jacobs-university.de>
References: <155499006434.22705.5858614581630974980.idtracker@ietfa.amsl.com> <7F3B9E7F-6AD8-4801-AE60-9F2D704DC69B@chopps.org> <2ee6b71c-bd2c-4676-9e14-cb240c6845c9@www.fastmail.com> <20200213183857.zhn2eiiztqipwsq3@anna.jacobs.jacobs-university.de> <MN2PR11MB43662F57700DFF1B0C29BE5AB5150@MN2PR11MB4366.namprd11.prod.outlook.com> <20200214143030.qfzhqdlk2gpd4tc3@anna.jacobs.jacobs-university.de> <MN2PR11MB43665A773E4CF5C3F87B62BBB5160@MN2PR11MB4366.namprd11.prod.outlook.com> <72E551FB-DA3E-4120-BC78-F3555B7496C3@chopps.org>
In-Reply-To: <72E551FB-DA3E-4120-BC78-F3555B7496C3@chopps.org>
Reply-To: "Schönwälder, Jürgen" <J.Schoenwaelder@jacobs-university.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: AM4PR0202CA0015.eurprd02.prod.outlook.com (2603:10a6:200:89::25) To DB6P190MB0312.EURP190.PROD.OUTLOOK.COM (2603:10a6:6:34::31)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=J.Schoenwaelder@jacobs-university.de;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [212.201.44.247]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9bc8e05f-a923-41fe-ee04-08d7b3cc34c3
x-ms-traffictypediagnostic: DB6P190MB0117:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <DB6P190MB011770832EF2D92951329A1ADE160@DB6P190MB0117.EURP190.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0316567485
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39850400004)(396003)(376002)(346002)(366004)(136003)(199004)(189003)(5660300002)(8936002)(1076003)(4326008)(786003)(316002)(2906002)(956004)(3450700001)(81156014)(66574012)(8676002)(81166006)(71200400001)(6496006)(52116002)(6486002)(478600001)(6916009)(54906003)(66946007)(66446008)(64756008)(66556008)(53546011)(66476007)(16526019)(186003)(26005)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6P190MB0117; H:DB6P190MB0312.EURP190.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: jacobs-university.de does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: iBHKmNLHEinKshhvLWmlVDpMB7T07WDpEe4QSiPtl0qjvtsnMRBck757VrEf9afod0OzK7UhWHyY+KSZOSO0VA6AAoAEWsnbHbSoIGi1SdiHld/nLBeR6UXu7jY4iyVJCI01rOdBeX9qzwPfPYBkmVYrnVaMQoIXz0Y8q6xUFyiN04FvrpS7RDl20uXKhCpVuXcju0AY2Gn37batkzVZjIpVtVeSAcpGbLE00CdE9XFMzF+AH/gEffUiEDOfwB91piFSzs80RM3luj2bD44klwnNbJMhRKaNxDcVuX+4EWtyJ21qJuwsoDl9QGUEpGOqAi9tB8Ukv6xeL8M+nvDpvcncdTlfph1dMztRFGqJauQkn6ufypHcEt3UDt1CoOf4skrhha+f83FSVUNNdQn4EsGNBphsqnr0059zH4HUYLUUSyukrwa42fyGZRRF4fcL5XWe/4TX1nARah2bm8XgKplNQPRQm4cdYhJ0axbI2/iXXlacvDrC9g7vdqog1DdsGsC++UVW3VVpG43yKQluRg==
x-ms-exchange-antispam-messagedata: //aXO9dXCETUkIYCeBON3BgOXQCZQrko2+JVNtEw9RhZ30Kyfki+PIuhbGyv6/tHW3O94UnoqFmUucLaiogIhYyGhJ0Mt9LNtEVcbMP6I/C15+UDjAwkHm1Ex9R7FE603phS6t9+mttaaJdOLIyaEg==
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <92E62A5522641942AF73BFA56082EF89@EURP190.PROD.OUTLOOK.COM>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: jacobs-university.de
X-MS-Exchange-CrossTenant-Network-Message-Id: 9bc8e05f-a923-41fe-ee04-08d7b3cc34c3
X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2020 17:09:53.7339 (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: 6hlfLxXHok2tinmHFele3bjb1Ld2oPt+2rHFMZCYsxuSNdNlFaHdBUMwici2YJmDr4UdYctUzXfedqiCjW6KIJK08Qq6+UhJCSJBhVHyciI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6P190MB0117
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/A3uLioFLFP5InJqGUCDxUiQvLVM>
Subject: Re: [netmod] Alexey Melnikov's Discuss on draft-ietf-netmod-module-tags-07: (with DISCUSS)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Feb 2020 17:10:01 -0000

On Mon, Feb 17, 2020 at 10:40:30AM -0500, Christian Hopps wrote:
> 
> 
> > On Feb 17, 2020, at 9:07 AM, Rob Wilton (rwilton) <rwilton@cisco.com> wrote:
> > 
> > Hi Juergen,
> > 
> > Please see inline ...
> > 
> >> -----Original Message-----
> >> From: Schönwälder, Jürgen <J.Schoenwaelder@jacobs-university.de>
> >> Sent: 14 February 2020 14:31
> >> To: Rob Wilton (rwilton) <rwilton@cisco.com>
> >> Cc: Alexey Melnikov <aamelnikov@fastmail.fm>; netmod@ietf.org; Joel
> >> Jaeggli <joelja@gmail.com>; Christian Hopps <chopps@chopps.org>; The IESG
> >> <iesg@ietf.org>
> >> Subject: Re: [netmod] Alexey Melnikov's Discuss on draft-ietf-netmod-
> >> module-tags-07: (with DISCUSS)
> >> 
> >> Rob,
> >> 
> >> I think there are two related issues here:
> >> 
> >> a) If we need normalized strings (to avoid comparison suprises), we
> >>   should have a common type for them; rfc6991-bis would be a proper
> >>   home. I am _not_ saying we should delay the tags document for this,
> >>   but we should think about providing a solution that can be easily
> >>   reused. Right now, we often use strings as part of keys, which can
> >>   lead to comparison issues.
> > [RW] 
> > 
> > I agree.  Note, I am also not proposing that we delay module-tags for rfc6991-bis.
> > 
> > RFC 7950 states that strings are not normalized by default (section 9.4.2).  Thinking about this some more, I think that it is reasonable to make it the client's responsibility to normalize strings, if required.
> > 
> > Chris, this would mean that no change to the typedef description is required.
> > 
> >> 
> >> b) It seems that normalized strings only solve part of the problem. If
> >>   an organization creates names for 'things', the organization likely
> >>   wants to further restrict the format of these names to something
> >>   sensible to avoid fun with different kinds of hyphens or emojis or
> >>   ... So while creative unicode characters may technically work,
> >>   there will likely be good reasons to avoid some of them. (There are
> >>   reasons why we have coding styles for most programming languages.)
> >>   These rules may, however, differ between organizations.
> >> 
> >> We should not confuse a) and b). If IANA needs additional guidelines for
> >> tags (their coding style for tags), then we should provide these
> >> guidelines, i.e., this is a type b) action. The type a) action is needed
> >> to technically ensure that comparisons do not lead to surprises. But a)
> >> won't be an answer for all type b) issues. Of course, we could give IANA a
> >> 'coding style' that avoids any normalization issues. This would make IANA
> >> assigned tags safe but would not avoid comparison surprises for other
> >> sources of tags.
> > [RW] 
> > 
> > So, solving B seems reasonable for the IANA defined module tags, following Alexey's suggestion of referencing RFC 5198 for normalization.
> 
> I will not put the additional text in the typedef and instead put it in the guidance for the IANA registry then:
> 
>  This registry allocates tags that have the registered prefix
>  "ietf:". New values should be well considered and not achievable
> -through a combination of already existing IETF tags.
> +through a combination of already existing IETF tags. For comparing
> +non-ascii strings, 'NFC' [[RFC5198]] normalization SHOULD be used.
> 
> Unless there are further objections, I believe this, and a small change to the security section suggested by Benjamin K, will clear the remaining DISCUSS so I will republish soon.

Perhaps this wording is clearer about who is responsible for normalization:

-through a combination of already existing IETF tags.
+through a combination of already existing IETF tags. IANA assigned
+tags must conform to Net-Unicode as defined in RFC 5198 and they shall
+not need normalization.

And then lets hope that others assigning tags follow this advice. ;-)

/js

-- 
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/>