Re: [IPFIX] [Technical Errata Reported] RFC7011 (7875)

Warren Kumari <warren@kumari.net> Mon, 01 April 2024 16:05 UTC

Return-Path: <warren@kumari.net>
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 8F7FAC151980 for <ipfix@ietfa.amsl.com>; Mon, 1 Apr 2024 09:05:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.096
X-Spam-Level:
X-Spam-Status: No, score=-7.096 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_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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=kumari.net
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 beM5D2Bm2NQK for <ipfix@ietfa.amsl.com>; Mon, 1 Apr 2024 09:05:39 -0700 (PDT)
Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (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 D91EBC14F5EE for <ipfix@ietf.org>; Mon, 1 Apr 2024 09:05:39 -0700 (PDT)
Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-56dd16630d8so854674a12.0 for <ipfix@ietf.org>; Mon, 01 Apr 2024 09:05:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari.net; s=google; t=1711987538; x=1712592338; darn=ietf.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SYjJZ9CtzbZeZ8ye3sMVHztH5s5QbqdnJB8CwwLfoOc=; b=fZ+WTZeOk+ERwjSkri0gXBkok7I8dJ6JMg/WrYDn5/Uj/kQ3YfvCMY+92KTPMPxOgb QWR6pJpmgTWE2wtu6uUCZbNQXxBH08Othh2KOJWOylV0di55Gvc1mkHxqHchrZYHkqaj YFrD2N9uREb1Q/bFV4u2K2euJuNzGfSjaSQEEOCzDEt2DZHQOe9vgYV/kRpeDdWLZYnz YqaeeDVdfGFH8yZGOAFE/XyYTLLn67UCpn298/1WIlilWjBWWfEpbQwqQkGoOtOT1DnF BM+RPkLUBNeSnO87oKjLX0v7TC4PaZEtXunBTbF2Rf9eCrC9mM4xM/uByXh0ZNTGoe8A uPDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711987538; x=1712592338; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SYjJZ9CtzbZeZ8ye3sMVHztH5s5QbqdnJB8CwwLfoOc=; b=TB4Q2TfQg8KnTCW26LYjwzPkJNW9PpC2g9fupSgHQ0YKJcwqvjRdwfcz8CWTdP4vFf GUEpCDwZmgKGWz2D3Yqaaxsnas7fUYQkeagwOkme0ly1bV/pNmM9JvMOQEl5+WjynLUk 8kuLJKnI8dqRkEH4n634iIGThwm7XuoEIxZRhI9zXVFdNf4fBlu1DCZ0nInxC4+TjaP6 pg0NNPJ4LqXPtk0IsAOsV9fm2SxUQJjn4QV62ZiyiKkiI4EYB3qZM8xwNXHIfF7qOmaU QIhu0l0O5w3DkNeBpeMmOdGKyYNUXDwfWMW+SRhi0Hk9IbbGh4rXZMKoOmeVzLz5sixh 3zLQ==
X-Forwarded-Encrypted: i=1; AJvYcCVZOkgSeaUBY6VjZ+N/VseMp0uhfJTn9WtI4MFpzW0au56a/EKi97wSIKEEwDT7/IyUOyBvK3fise6YCj7hkw==
X-Gm-Message-State: AOJu0YwAnCaRWBLNW7d2dfpetvcPCzJOH2JikWo4dZAQTemv5bSN3q4E EG4atqZyEJVaxGH2EFAftbGgt8VxNb0j+T9nP1cVcc2O1Nc2f5Re74b7jvTHI/Lf6vv24QTkQkP L6whWcRt4XJAAqLKAtn9XtbjwAxfoGWbFFGNrred1rTsqF8wP
X-Google-Smtp-Source: AGHT+IF6bL7E/r8JcwzLjD7c21VpqCThmrVHTRa1ImiJhtjzHjo7up6zvSo/IBJdkRgMs/M23m8N6pLPZIt7k9t3ro4=
X-Received: by 2002:a50:8e1e:0:b0:56b:b278:d57b with SMTP id 30-20020a508e1e000000b0056bb278d57bmr5705858edw.16.1711987537776; Mon, 01 Apr 2024 09:05:37 -0700 (PDT)
Received: from 649336022844 named unknown by gmailapi.google.com with HTTPREST; Mon, 1 Apr 2024 09:05:36 -0700
Mime-Version: 1.0
X-Mailer: Superhuman Desktop (2024-03-29T19:06:23Z)
X-Superhuman-ID: luh55xnz.6c50c694-d8c5-4e76-8a56-631e06f30c13
In-Reply-To: <20240328191620.11E83191A4B4@rfcpa.amsl.com>
References: <20240328191620.11E83191A4B4@rfcpa.amsl.com>
X-Superhuman-Draft-ID: draft00d9883801afb163
From: Warren Kumari <warren@kumari.net>
Date: Mon, 01 Apr 2024 09:05:36 -0700
Message-ID: <CAHw9_iLC8dEqp6wqyhGg=2qyEhuC213W6QDmFa3zXi0ag5dY3g@mail.gmail.com>
To: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: paitken@cisco.com, mjethanandani@gmail.com, n.brownlee@auckland.ac.nz, quittek@neclab.eu, prevost1@cert.org, ipfix@ietf.org, Brian Trammell <ietf@trammell.ch>, Benoit Claise <benoit.claise@huawei.com>
Content-Type: multipart/alternative; boundary="0000000000000cac3e06150b29b6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipfix/FBevK60KbtAs1P8gdls2wNgG1vw>
Subject: Re: [IPFIX] [Technical Errata Reported] RFC7011 (7875)
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: Mon, 01 Apr 2024 16:05:44 -0000

[ - Trammel@tik, +ietf@trammell.ch ;  -Benoit@cisco, +
benoit.claise@huawei.com  (this time for real :-))]


Heyya.

I'm inclined to mark this as Verified, unless y'all think that that would
violate what the consensus was at the time?

Please let me know by the end of the week…

W


On Thu, Mar 28, 2024 at 3:16 PM, RFC Errata System <
rfc-editor@rfc-editor.org> wrote:

> The following errata report has been submitted for RFC7011,
> "Specification of the IP Flow Information Export (IPFIX) Protocol for the
> Exchange of Flow Information".
>
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid7875
>
> --------------------------------------
> Type: Technical
> Reported by: Katherine Prevost <prevost1@cert.org>
>
> Section: 6.2
>
> Original Text
> -------------
> Reduced-size encoding MAY be applied to the following integer types:
> unsigned64, signed64, unsigned32, signed32, unsigned16, and signed16. The
> signed versus unsigned property of the reported value MUST be preserved.
> The reduction in size can be to any number of octets smaller than the
> original type if the data value still fits, i.e., so that only leading
> zeroes are dropped. For example, an unsigned64 can be reduced in size to 7,
> 6, 5, 4, 3, 2, or 1 octet(s).
>
> Corrected Text
> --------------
> Reduced-size encoding MAY be applied to the following integer types:
> unsigned64, signed64, unsigned32, signed32, unsigned16, and signed16. The
> signed versus unsigned property of the reported value MUST be preserved.
> The reduction in size can be to any number of octets smaller than the
> original type if the data value still fits, i.e., so that only leading
> zeroes are dropped. (Or, in the case of negative signed values, so that
> only leading ones are dropped.) For example, an unsigned64 can be reduced
> in size to 7, 6, 5, 4, 3, 2, or 1 octet(s).
>
> Notes
> -----
> As written, the specification suggests that integer values may only be
> encoded using a reduced-size encoding if they have a run of zeroes at the
> beginning. However, the specification also describes being able to use
> reduced-size encoding for signed integer values—and only non-negative
> values of signed integers have a representation that begins with zeroes.
>
> Either the text should clarify that negative values may never be expressed
> using a reduced-size encoding (which is what the strictest reading of the
> current text would suggest), or it should specify that leading ones may
> also be dropped for signed values, which makes it clear that they should be
> interpreted via sign extension of the high bit.
>
> A quick survey of existing IPFIX implementations suggests that those which
> decode reduced-size encoding of integers at all produce the semantic
> equivalent of sign extension when they encounter a reduced-size encoding of
> a signed integer value.
>
> Instructions:
> -------------
> This erratum is currently posted as "Reported". (If it is spam, it will be
> removed shortly by the RFC Production Center.) Please use "Reply All" to
> discuss whether it should be verified or rejected. When a decision is
> reached, the verifying party will log in to change the status and edit the
> report, if necessary.
>
> --------------------------------------
> RFC7011 (draft-ietf-ipfix-protocol-rfc5101bis-10)
> --------------------------------------
> Title : Specification of the IP Flow Information Export (IPFIX) Protocol
> for the Exchange of Flow Information Publication Date : September 2013
> Author(s) : B. Claise, Ed., B. Trammell, Ed., P. Aitken Category :
> INTERNET STANDARD
> Source : IP Flow Information Export
> Stream : IETF
> Verifying Party : IESG
>