Re: [IPFIX] Bitfields vs. Unsigned RE: Re: WG LC: IPFIX documents

Thomas.Graf@swisscom.com Sat, 06 April 2024 07:29 UTC

Return-Path: <Thomas.Graf@swisscom.com>
X-Original-To: ipfix@ietfa.amsl.com
Delivered-To: ipfix@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D8044C1519AB; Sat, 6 Apr 2024 00:29:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=swisscom.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 J0DgPwoILfE2; Sat, 6 Apr 2024 00:29:10 -0700 (PDT)
Received: from mail.swisscom.com (mailout110.swisscom.com [138.188.166.110]) (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 10EBCC151993; Sat, 6 Apr 2024 00:29:07 -0700 (PDT)
Received: by mail.swisscom.com; Sat, 6 Apr 2024 09:29:01 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=swisscom.com; s=iscm; t=1712388542; bh=evisglo0FA7O+TjnumB0J0bSONMcDi56c9ywttG/Zrc=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=i+9TI9S1toCV3fhSx3WZ27jYA+CFh6OgEVW6xX6qrpmOjFohw/k9glV/LYQ6mhNrC TZylFo7nhSV9439eMXGrgU5M5+S277LFwJ96juFFRkscMZz76JU5PK/ehZCYcURjBC GrrLdwYuKySURGOcIQFt4ELdiVZ2rUpopclQUJihNgXbCJS1arMDyc9lQsaFqXG1BL B3CPCdzvbqG64ExHqgfqdjqcrpmMtej+OX1kDs+8M5VKFM8BSBA+K9Cgd/T26vA15t IxT6Fllw/Fe9Qzn1Z7KTLyxxvRVb+lFP6sdCw4EDPDtPpOmNIDFJDSysePojTWEkDG daWa318waCs/Q==
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="----=_Part_3110025_1127725258.1712388541600"
X-Mailer: Totemo_TrustMail_(Notification)
From: Thomas.Graf@swisscom.com
To: jclarke=40cisco.com@dmarc.ietf.org, mohamed.boucadair@orange.com, paitken@ciena.com, opsawg@ietf.org
CC: ipfix@ietf.org
Thread-Topic: Bitfields vs. Unsigned RE: Re: [IPFIX] WG LC: IPFIX documents
Thread-Index: AQHahQ8atEnFTPAj5kCWnK9mbzqsHrFU/K6AgAXgB1A=
Date: Sat, 06 Apr 2024 07:28:58 +0000
Message-ID: <c41ea3fe813748f5bdd3ef22dde0dde6@swisscom.com>
References: <BN9PR11MB53716555BC4D0F4FB8921408B890A@BN9PR11MB5371.namprd11.prod.outlook.com> <6d0f86f6-5029-47f0-a05b-19b4c8c79991@ciena.com> <DU2PR02MB10160CD921E93B368B6ED922E88752@DU2PR02MB10160.eurprd02.prod.outlook.com> <f58598d7-d783-489a-9d03-97d99e8bd8f3@ciena.com> <DU2PR02MB101607A36C6721886C4093D79883E2@DU2PR02MB10160.eurprd02.prod.outlook.com> <BN9PR11MB537163E4C8AB6A355C7D2692B83E2@BN9PR11MB5371.namprd11.prod.outlook.com>
In-Reply-To: <BN9PR11MB537163E4C8AB6A355C7D2692B83E2@BN9PR11MB5371.namprd11.prod.outlook.com>
Accept-Language: en-US, de-CH
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_ContentBits=0; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Enabled=true; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Method=Privileged; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_Name=unrestricted_parent.2; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SetDate=2024-01-23T13:10:01.0000000Z; MSIP_Label_07222825-62ea-40f3-96b5-5375c07996e2_SiteId=90c7a20a-f34b-40bf-bc48-b9253b6f5d20; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ActionId=9fc33948-f59f-4347-8e56-c6649419cd05; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_ContentBits=0; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Enabled=true; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Method=Standard; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_Name=C2 Internal; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SetDate=2024-04-06T07:24:08Z; MSIP_Label_2e1fccfb-80ca-4fe1-a574-1516544edb53_SiteId=364e5b87-c1c7-420d-9bee-c35d19b557a1;
x-originating-ip: [10.45.65.29]
X-CFilter-Loop: Reflected
X-Trustmail: processed
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/mZWJqCA2c7RwEFm2OauPaugh9q8>
Subject: Re: [IPFIX] Bitfields vs. Unsigned RE: Re: WG LC: IPFIX documents
X-BeenThere: ipfix@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IPFIX WG discussion list <ipfix.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipfix>, <mailto:ipfix-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipfix/>
List-Post: <mailto:ipfix@ietf.org>
List-Help: <mailto:ipfix-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipfix>, <mailto:ipfix-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Apr 2024 07:29:14 -0000

Dear Joe and Med,


I updated both shepherd writeup's accordingly and adjusted to: that consensus for introducing a new data type unsigned256 has been achieved.

https://datatracker.ietf.org/doc/draft-ietf-opsawg-ipfix-tcpo-v6eh/shepherdwriteup/
https://datatracker.ietf.org/doc/draft-ietf-opsawg-tsvwg-udp-ipfix/shepherdwriteup/

I confirm that there is no more blocking points for moving forward to IESG.

Best wishes
Thomas

From: OPSAWG <opsawg-bounces@ietf.org> On Behalf Of Joe Clarke (jclarke)
Sent: Tuesday, April 2, 2024 5:41 PM
To: mohamed.boucadair@orange.com; Aitken, Paul <paitken@ciena.com>; opsawg@ietf.org
Cc: ipfix@ietf.org
Subject: Re: [OPSAWG] Bitfields vs. Unsigned RE: Re: [IPFIX] WG LC: IPFIX documents


Be aware: This is an external email.


As a co-chair, I'm willing to call consensus on this as there hasn't been any other replies on this thread after Med asserted the reasoning for sticking with unsigned256.

I would ask Thomas as shepherd to note this in the write-up, and we can proceed to IESG as I believe all other comments from reviews have now been addressed.

Joe

From: mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com> <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>
Date: Tuesday, April 2, 2024 at 11:04
To: Aitken, Paul <paitken@ciena.com<mailto:paitken@ciena.com>>, Joe Clarke (jclarke) <jclarke@cisco.com<mailto:jclarke@cisco.com>>, opsawg@ietf.org<mailto:opsawg@ietf.org> <opsawg@ietf.org<mailto:opsawg@ietf.org>>
Cc: ipfix@ietf.org<mailto:ipfix@ietf.org> <ipfix@ietf.org<mailto:ipfix@ietf.org>>
Subject: RE: Bitfields vs. Unsigned RE: Re: [IPFIX] WG LC: IPFIX documents
Hi all,

As indicated in IETF#119, we suggest to tag this issue as closed and proceed with the publication of the current versions of the various I-Ds.

Cheers,
Med

De : BOUCADAIR Mohamed INNOV/NET
Envoyé : vendredi 23 février 2024 15:55
À : 'Aitken, Paul' <paitken@ciena.com<mailto:paitken@ciena.com>>; 'Joe Clarke (jclarke)' <jclarke=40cisco.com@dmarc.ietf.org<mailto:jclarke=40cisco.com@dmarc.ietf.org>>; 'opsawg@ietf.org' <opsawg@ietf.org<mailto:opsawg@ietf.org>>
Cc : 'ipfix@ietf.org' <ipfix@ietf.org<mailto:ipfix@ietf.org>>
Objet : RE: Bitfields vs. Unsigned RE: Re: [IPFIX] WG LC: IPFIX documents

Hi Paul,

Unless I'm mistaken, I didn't see any follow-up to this issue.

May I consider this point as closed? Thanks.

Cheers,
Med

De : BOUCADAIR Mohamed INNOV/NET
Envoyé : mardi 23 janvier 2024 14:23
À : 'Aitken, Paul' <paitken@ciena.com<mailto:paitken@ciena.com>>; Aitken, Paul <paitken=40ciena.com@dmarc.ietf.org<mailto:paitken=40ciena.com@dmarc.ietf.org>>; Joe Clarke (jclarke) <jclarke=40cisco.com@dmarc.ietf.org<mailto:jclarke=40cisco.com@dmarc.ietf.org>>; opsawg@ietf.org<mailto:opsawg@ietf.org>
Cc : tcpm@ietf.org<mailto:tcpm@ietf.org>; tsvwg@ietf.org<mailto:tsvwg@ietf.org>; 6man@ietf.org<mailto:6man@ietf.org>; ipfix@ietf.org<mailto:ipfix@ietf.org>
Objet : Bitfields vs. Unsigned RE: Re: [IPFIX] WG LC: IPFIX documents

Hi Paul,

> It is consistent but wrong, as the numeric value of these fields is meaningless. Bitfields with flags semantics don't have a meaningful "unsigned" value.

You raised this comment for both TCP/UDP specs.

As I mentioned in the previous message, all existing IEs of type flags are using an unsigned type. Also, please note that rfc7012#section-3.2.5 says the followings:

   "flags" is an integral value that represents a set of bit fields.
   Logical operations are appropriate on such values, but other
   mathematical operations are not.  Flags MUST always be of an unsigned
   data type.

And rfc7012#section-3:

   Abstract data types unsigned8, unsigned16, unsigned32, unsigned64,
   signed8, signed16, signed32, and signed64 are integral data types.
   As described in Section 3.2, their data type semantics can be further
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   specified, for example, by 'totalCounter', 'deltaCounter',
   'identifier', or 'flags'.
                 ^^^^^^^^^^

I quite don't understand why we need to define Bitfields rather than leveraging on the approach followed so far in IPFIX.

Cheers,
Med

De : Aitken, Paul <paitken@ciena.com<mailto:paitken@ciena.com>>
Envoyé : lundi 22 janvier 2024 11:49
À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com<mailto:mohamed.boucadair@orange.com>>; Aitken, Paul <paitken=40ciena.com@dmarc.ietf.org<mailto:paitken=40ciena.com@dmarc.ietf.org>>; Joe Clarke (jclarke) <jclarke=40cisco.com@dmarc.ietf.org<mailto:jclarke=40cisco.com@dmarc.ietf.org>>; opsawg@ietf.org<mailto:opsawg@ietf.org>
Cc : tcpm@ietf.org<mailto:tcpm@ietf.org>; tsvwg@ietf.org<mailto:tsvwg@ietf.org>; 6man@ietf.org<mailto:6man@ietf.org>; ipfix@ietf.org<mailto:ipfix@ietf.org>
Objet : Re: Re: [IPFIX] WG LC: IPFIX documents

Med,
   The IE specified in Section 4.1 uses the new abstract data type
   defined in [I-D.ietf-opsawg-ipfix-tcpo-v6eh].

The unsigned256 type? It makes more sense to introduce a bitfield type.
[Med] I think the use of unsigned256 is consistent with the current use in IP Flow Information Export (IPFIX) Entities (iana.org) [iana.org]<https://urldefense.com/v3/__https:/www.iana.org/assignments/ipfix/ipfix.xhtml__;!!OSsGDw!PbyTGwK6ng1xsDx7EDsqY-zP5SN-siBTe9ltLeN6whqtHew5I4J3MgqA7QOaYGnkTWnF4w1wMldDkBYIpjb9XwrB$> (where unsigned8, unsigned16, unsigned32, and unsigned64 are used for IEs having data semantic of flags.

It is consistent but wrong, as the numeric value of these fields is meaningless. Bitfields with flags semantics don't have a meaningful "unsigned" value.

____________________________________________________________________________________________________________

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.