Re: [Tsv-art] Tsvart early review of draft-ietf-opsawg-tsvwg-udp-ipfix-03

Tommy Pauly <tpauly@apple.com> Mon, 15 January 2024 14:06 UTC

Return-Path: <tpauly@apple.com>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BB98FC14F5E0 for <tsv-art@ietfa.amsl.com>; Mon, 15 Jan 2024 06:06:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.405
X-Spam-Level:
X-Spam-Status: No, score=-4.405 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i8k2YbibvMAM for <tsv-art@ietfa.amsl.com>; Mon, 15 Jan 2024 06:06:29 -0800 (PST)
Received: from ma-mailsvcp-mx-lapp03.apple.com (ma-mailsvcp-mx-lapp03.apple.com [17.32.222.24]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0251CC14F60A for <tsv-art@ietf.org>; Mon, 15 Jan 2024 06:06:28 -0800 (PST)
Received: from rn-mailsvcp-mta-lapp04.rno.apple.com (rn-mailsvcp-mta-lapp04.rno.apple.com [10.225.203.152]) by ma-mailsvcp-mx-lapp03.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S7B00U4E36HYS20@ma-mailsvcp-mx-lapp03.apple.com> for tsv-art@ietf.org; Mon, 15 Jan 2024 06:06:27 -0800 (PST)
X-Proofpoint-ORIG-GUID: rHH9kQVe__eam_K0uGJezIbdn2OHnGnQ
X-Proofpoint-GUID: rHH9kQVe__eam_K0uGJezIbdn2OHnGnQ
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.619, 18.0.997 definitions=2024-01-15_09:2024-01-15, 2024-01-15 signatures=0
X-Proofpoint-Spam-Details: rule=interactive_user_notspam policy=interactive_user score=0 suspectscore=0 adultscore=0 bulkscore=0 mlxscore=0 malwarescore=0 phishscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401150102
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=content-type : content-transfer-encoding : from : mime-version : subject : date : message-id : references : cc : in-reply-to : to; s=20180706; bh=vdU54XuWi1qVfUFPBi4si9EIKmkOHypbIjV1Ka+doXM=; b=TU5DH/cXMg3NldC4Qs2cUSskcDAdp3n8AK0V7r7EKfv0SMfSWOXzsjWzOEt+oS8IYlpp tUWGc1YOh186wlF+hV2x99NJbMHY1RNG9tybZtj0mEX5/WXztyzE/qn7kd7RDJeM64kv YptgQwzP3H/7PHTPo2U9aRgnYK66e36dEjIyyqNCQ9OR7dvGNvE2PczoIJ8wDCaYiMbw EHFQ5U90O8OI91i1SDEhZLMjDNisxpLoLj0XWhv5RWUO2sGIhCK2ojw0htkR0PsPEnP3 Kjt1/RIFEBCgArKbAdUyKHQKDrO7DunGVS27OunkpgSBvVzh8M8y6ybyVeDAZEM+aU8J 2Q==
Received: from rn-mailsvcp-mmp-lapp01.rno.apple.com (rn-mailsvcp-mmp-lapp01.rno.apple.com [17.179.253.14]) by rn-mailsvcp-mta-lapp04.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPS id <0S7B010N636P9N70@rn-mailsvcp-mta-lapp04.rno.apple.com>; Mon, 15 Jan 2024 06:06:25 -0800 (PST)
Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp01.rno.apple.com by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) id <0S7B00X002WVHX00@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Mon, 15 Jan 2024 06:06:25 -0800 (PST)
X-Va-A:
X-Va-T-CD: 130c26ea3cd7ada9e68c3bc4ebeec816
X-Va-E-CD: ae4ad950316f52635dae732639d18d8a
X-Va-R-CD: 6fbdb3dc680af6aeb2162b086ca4b8c1
X-Va-ID: 33dfb5c8-7f39-4abe-b501-b63a2ba0422b
X-Va-CD: 0
X-V-A:
X-V-T-CD: 130c26ea3cd7ada9e68c3bc4ebeec816
X-V-E-CD: ae4ad950316f52635dae732639d18d8a
X-V-R-CD: 6fbdb3dc680af6aeb2162b086ca4b8c1
X-V-ID: f2f954c8-896a-4e9b-aa8a-eaace4b3f294
X-V-CD: 0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.619, 18.0.997 definitions=2024-01-15_08:2024-01-15, 2024-01-15 signatures=0
Received: from smtpclient.apple (unknown [17.234.50.111]) by rn-mailsvcp-mmp-lapp01.rno.apple.com (Oracle Communications Messaging Server 8.1.0.23.20230328 64bit (built Mar 28 2023)) with ESMTPSA id <0S7B00JA636P6500@rn-mailsvcp-mmp-lapp01.rno.apple.com>; Mon, 15 Jan 2024 06:06:25 -0800 (PST)
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: quoted-printable
From: Tommy Pauly <tpauly@apple.com>
MIME-version: 1.0 (1.0)
Date: Mon, 15 Jan 2024 06:06:14 -0800
Message-id: <F1533C59-8562-4843-A2B1-46378C2CCA6F@apple.com>
References: <DU2PR02MB10160043F1DF2F151AD2072A9886C2@DU2PR02MB10160.eurprd02.prod.outlook.com>
Cc: tsv-art@ietf.org, draft-ietf-opsawg-tsvwg-udp-ipfix.all@ietf.org, opsawg@ietf.org
In-reply-to: <DU2PR02MB10160043F1DF2F151AD2072A9886C2@DU2PR02MB10160.eurprd02.prod.outlook.com>
To: mohamed.boucadair@orange.com
X-Mailer: iPhone Mail (21D37)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/8V4GH6cHaM4dqxfA2wsffHXo56s>
Subject: Re: [Tsv-art] Tsvart early review of draft-ietf-opsawg-tsvwg-udp-ipfix-03
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Jan 2024 14:06:32 -0000

Hi Med,

I understand that fewer bits are needed in practice, and RFC 7011 would allow a field defined as an unsigned64 to be sent as fewer bits on the wire. However, for the IANA registration, I still would expect this field to match the existing fields and not have a unique type just called “unsigned”. 

Tommy

> On Jan 15, 2024, at 12:32 AM, mohamed.boucadair@orange.com wrote:
> 
> Hi Tommy,
> 
> Thank you for the review.
> 
> The encoding should allow to export the full 256 range, but it is likely that fewer bits will be needed. unsigned32/unsigned64 are provided as examples to illustrate the use of reduced encoding (https://datatracker.ietf.org/doc/html/rfc7011#section-6.2).
> 
> Cheers,
> Med
> 
>> -----Message d'origine-----
>> De : Tommy Pauly via Datatracker <noreply@ietf.org>
>> Envoyé : mardi 2 janvier 2024 18:08
>> À : tsv-art@ietf.org
>> Cc : draft-ietf-opsawg-tsvwg-udp-ipfix.all@ietf.org;
>> opsawg@ietf.org
>> Objet : Tsvart early review of draft-ietf-opsawg-tsvwg-udp-ipfix-
>> 03
>> 
>> Reviewer: Tommy Pauly
>> Review result: Almost Ready
>> 
>> Thanks for writing a clear and succinct draft. I only found one
>> issue of note, around the registration of the new udpOptions
>> Information Element.
>> 
>> Section 4.1:
>> The data type used for the "udpOptions" entry is just listed as
>> "unsigned", and is described as being either an unsigned32 or an
>> unsigned64. However, when I look at the registry at
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2
>> Fwww.iana.org%2Fassignments%2Fipfix%2Fipfix.xhtml&data=05%7C02%7C
>> mohamed.boucadair%40orange.com%7C7a23dc00f97a4cadeee208dc0bb5555f
>> %7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C638398120645105476%
>> 7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT
>> iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=P9pWAnW5VI1SzmRx4
>> Q%2FB2wOa3rsve1uOdsRm%2BMNB4%2B0%3D&reserved=0, I don't see any
>> entries that use this abstract "unsigned" type, and it is not
>> listed as an option in the element data types. Is there a reason
>> this shouldn't just be registered as an unsigned64? My
>> understanding from
>> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2
>> Fwww.rfc-editor.org%2Frfc%2Frfc7011%23section-
>> 6.2&data=05%7C02%7Cmohamed.boucadair%40orange.com%7C7a23dc00f97a4
>> cadeee208dc0bb5555f%7C90c7a20af34b40bfbc48b9253b6f5d20%7C0%7C0%7C
>> 638398120645105476%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLC
>> JQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdat
>> a=1FvKZv60OgONy5w%2BygO9sSnBN121J9yveL7Gkv15apI%3D&reserved=0 is
>> that an unsigned64 can be automatically encoded as an unsigned32
>> if the value is small enough, so the definition can just use
>> unsigned64.
>> 
> 
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
>