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

Randy Presuhn <randy_presuhn@alumni.stanford.edu> Fri, 14 February 2020 18:04 UTC

Return-Path: <randy_presuhn@alumni.stanford.edu>
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 C9D7E120A22 for <netmod@ietfa.amsl.com>; Fri, 14 Feb 2020 10:04:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.919
X-Spam-Level:
X-Spam-Status: No, score=-1.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 NKm2qXumqKVB for <netmod@ietfa.amsl.com>; Fri, 14 Feb 2020 10:04:48 -0800 (PST)
Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) (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 44EC3120A1D for <netmod@ietf.org>; Fri, 14 Feb 2020 10:04:48 -0800 (PST)
Received: by mail-pj1-f50.google.com with SMTP id dw13so4175159pjb.4 for <netmod@ietf.org>; Fri, 14 Feb 2020 10:04:48 -0800 (PST)
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-transfer-encoding :content-language; bh=J42tRkxPEmTolQxlLJ7qJWcvyeWOztq1AAWZ2pBHTq8=; b=UZR8qOnb11W5pFBMjrEktf3s/Dzuczjp+3VZBFcG0NFdvqULbNaCPuSWsy7/B+Qf6a zLAd26+B+dOlS2JKQWfjD3xWRkZ4dflWEM77hFUau5aCGrZ61gWjewD+/lKnn55SMzj4 8mYyNV/eRDyxFbexULVBF+Glwd72Oe7LtpMwFWkgjCLDb3a3rqr+LbLVDr3eLGI4yG5L VjFjcSerVRlNGOB2+Td+7zCnejUrWXK68LI5oJyKgMFo4YoIpgSO5jFLe0I4hAutLS16 Dm/JiH36SFhFDoGR3WouqQ8Lzd+FVTg5g2TLBCMqXQRWO6XL119vOIr+2BDB0uinF/2T buOg==
X-Gm-Message-State: APjAAAUr7F3d/EB5RmFJjtisf/BM6VOCoO1lcHWHfZYYu8MS1HBuNRe3 PHQbA0QBFnadG8NgjVNgLFMVRpfI4aNyzw==
X-Google-Smtp-Source: APXvYqzGv3GQOQehjCUEpy8yvHmDSh3ukvczqJrKWc/07DVahYlFRA9kRiFcWYRwtufBnAKPFWqGuQ==
X-Received: by 2002:a17:902:b788:: with SMTP id e8mr4660856pls.1.1581703487531; Fri, 14 Feb 2020 10:04:47 -0800 (PST)
Received: from [192.168.1.106] (c-73-231-235-186.hsd1.ca.comcast.net. [73.231.235.186]) by smtp.gmail.com with ESMTPSA id d4sm7088129pjz.12.2020.02.14.10.04.47 for <netmod@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Feb 2020 10:04:47 -0800 (PST)
To: netmod@ietf.org
References: <155499006434.22705.5858614581630974980.idtracker@ietfa.amsl.com> <7F3B9E7F-6AD8-4801-AE60-9F2D704DC69B@chopps.org> <2ee6b71c-bd2c-4676-9e14-cb240c6845c9@www.fastmail.com> <MN2PR11MB43668E4C0863B8A61857CE0CB5150@MN2PR11MB4366.namprd11.prod.outlook.com> <714842CF-A65A-40FD-A62D-6FA7E1A6801F@chopps.org> <C1446662-2320-4158-B34B-3E2D67369F48@chopps.org> <9FECF49A-65E5-436F-973A-7538CFC974E8@chopps.org>
From: Randy Presuhn <randy_presuhn@alumni.stanford.edu>
Message-ID: <14832a78-ff8c-b923-09ba-207c2cf01362@alumni.stanford.edu>
Date: Fri, 14 Feb 2020 10:05:09 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <9FECF49A-65E5-436F-973A-7538CFC974E8@chopps.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Antivirus: Avast (VPS 200213-2, 02/13/2020), Outbound message
X-Antivirus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/4ReRJe_MCDLS3LF8OkBLozMFKVI>
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: Fri, 14 Feb 2020 18:04:51 -0000

Hi -

On 2/14/2020 3:21 AM, Christian Hopps wrote:
> How about I add this to the description of "typedef tag" in the module:
>
>         description
>           "A tag is a type 'string' value that does not include carriage
>            return, newline or tab characters. It SHOULD begin with a
>            registered prefix; however, tags without a registered prefix
> -         SHOULD NOT be treated as invalid.";
> +         SHOULD NOT be treated as invalid. For the purposes of comparison
> +         non-ascii strings should use 'NFC' (RFC5198) normalization";
>       }
>

There are other considerations beyond normalization form.
For the tip of the iceberg, see the definition of SnmpAdminString
in RFC 3411, or the "SHOULD be avoided" stuff in RFC 5198.

For things like tags where one would like to minimize accidental
visual punning, I'd suggest NFKC should probably be given some
consideration.   Excellent presentation of the issues is
available at https://unicode.org/reports/tr15/

That said, these are issues that were raised in the earliest days of 
Netmod /
Netconf, and no one should be surprised that they haven't gone away by
themselves.  So I find my self in ironic agreement with Andy that it doesn't
make sense to wait for / impose a global solution, because there's plenty
of evidence that having all sorts of ill-defined cases of questionable
interoperability in theory hasn't been sufficient to prevent adoption of
the technology.

Randy