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

"touch@strayalpha.com" <touch@strayalpha.com> Wed, 03 January 2024 04:57 UTC

Return-Path: <touch@strayalpha.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 6CAEBC18DBAD; Tue, 2 Jan 2024 20:57:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.328
X-Spam-Level:
X-Spam-Status: No, score=-1.328 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, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.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 DZ1wdoVs3Qug; Tue, 2 Jan 2024 20:57:29 -0800 (PST)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (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 5BFA6C1522C4; Tue, 2 Jan 2024 20:57:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=NhimHfiA2fYSYRcH4GhZAh5YtrYzZwFZaThiaDbsto4=; b=LOZnxjU5RNaEopzHHT/41mDwcu 3WQRcWoAbabVXesMZfqv5qdi1gfq5QSUYE862AgzT3KfzuRxjkE4X+DPhr14hzl5eYcUYAY5xgXGC WljWb/HnYspUe5sUhg1brtWYRLEfee1i5CxuXE6vA23OK0xAjAp25TVkRhYwWgiwosbN+6MuO+oS3 RyR+Sq8ik4l1V2ISxXW1ck3/3hgw5rOZDmo2+eYLwmyZFGQfvyRSHOws4D5SxFaJ1ggbWgNc3u9vy t+GySiF3IXyFpj8XAOexu/8kzdO2nt3kQC/+iNeC9FujkjgoSDsUTzUDA1P2hJl1Bl4OpOjtit8Ta iKZW6oWg==;
Received: from [172.58.208.226] (port=18314 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from <touch@strayalpha.com>) id 1rKtJe-006hmI-1p; Tue, 02 Jan 2024 23:57:23 -0500
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\))
From: "touch@strayalpha.com" <touch@strayalpha.com>
In-Reply-To: <170421525995.16166.10968274423251140899@ietfa.amsl.com>
Date: Tue, 02 Jan 2024 20:57:04 -0800
Cc: tsv-art@ietf.org, draft-ietf-opsawg-tsvwg-udp-ipfix.all@ietf.org, opsawg@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A6A3EF7D-7C3B-4132-9D22-DE7D9D94D2CE@strayalpha.com>
References: <170421525995.16166.10968274423251140899@ietfa.amsl.com>
To: Tommy Pauly <tpauly@apple.com>
X-Mailer: Apple Mail (2.3774.300.61.1.2)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/mieq0n6RPJiTkUKBk0kLxXmcB-4>
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: Wed, 03 Jan 2024 04:57:34 -0000

On Jan 2, 2024, at 9:07 AM, Tommy Pauly via Datatracker <noreply@ietf.org> wrote:
> 
> 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.

I understood this to be a bitfield of length 256, which MAY be shorter, and only in those shorter cases could it be UINT32 or UINT64, as per RFC7011. But that doesn’t seem consistent with RFC7011 either. AFAICT, this really should be octetArray, which COULD be shortened as needed.

> However, when I
> look at the registry at https://www.iana.org/assignments/ipfix/ipfix.xhtml, 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

I would think it should have been indicated as “octetArray”.

> . Is there a reason this shouldn’t
> just be registered as an unsigned64?

Yes, IMO - because UDP option Kind values higher than 63 are valid and could be used.

> My understanding from
> https://www.rfc-editor.org/rfc/rfc7011#section-6.2 is that an unsigned64 can be
> automatically encoded as an unsigned32 if the value is small enough, so the
> definition can just use unsigned64.

As per above, I don’t see how this helps given the field could be up to 265 bits long.

Joe