Re: [Lwip] Lars Eggert's No Objection on draft-ietf-lwig-minimal-esp-08: (with COMMENT)
Daniel Migault <mglt.ietf@gmail.com> Wed, 06 April 2022 02:05 UTC
Return-Path: <mglt.ietf@gmail.com>
X-Original-To: lwip@ietfa.amsl.com
Delivered-To: lwip@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C3703A17E1; Tue, 5 Apr 2022 19:05:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 RrWI-i_Ta2ik; Tue, 5 Apr 2022 19:05:52 -0700 (PDT)
Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 2440F3A17E0; Tue, 5 Apr 2022 19:05:49 -0700 (PDT)
Received: by mail-lf1-x12c.google.com with SMTP id bu29so1706461lfb.0; Tue, 05 Apr 2022 19:05:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5xIp7pEckoywBOOLtth2zYQeq9SheM8oAhbQ06erMjE=; b=UgoyVNyqakGFxbOUU+s8ge9gxbMc7Ek8tqTCeT5Bq95gcnf0dDDQWbTKODNyT88+0h VTJgtM2bLGyWkhNnFzbKyDtFKJvS4kBTk1qpdO/gwC1T4/yFsXm+t96URKAZfkbTYY1U 0xDYmsNbQj79Sc70S14o1THJiah7ci3Ti6liRgPnhrTI4GU3sLYDVHgcKIwblFb9mi/S pl2iQftH3gECcrL8BfWDawqNwe8Ex/OB68931o6dzJZ6/v6L/bx3SO0FR/PYAy/6swyK x52CLvLwJRByAGW4YtfH1menFbPRmfPQ3o6yaeBgyiCatWVMMoXAje5HQANct2jhMYQ2 LldQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5xIp7pEckoywBOOLtth2zYQeq9SheM8oAhbQ06erMjE=; b=tyhsSRXE6PU1Z1EJqSyC3LaPebTY2X6nLj4ODHEc0BfjT280mK4f8a5UizT19Ioyaq DHGleWrlMQ51whcTdl/2WAhOJK6Un0s5JAXLLwdvQr15eRfczmuLfTVMhA3ciNzNcbsU zOxYO8eaFAjhd7toV3cdocep/RlQtrW6/hefdDH1dzUEogqUQZ7ay5GmdFjGENjXJQvS g5AAo2OHd5lNdO86/C7vGSRpzniTjED6bedVrQbZyb9eO4/1IMlmmiNFJIvVETnukDNk 2dEmE5cZa2o0SBzNY6uDv6AcY1A4yz78tXbhRCB2kTdUXfE56BDqXhhF3EzV3NvGWoJz 4OuA==
X-Gm-Message-State: AOAM531YGh6icDu7MiFmSInoBqMUfEo7LxBPt5FcjNGSjlYY8cq0yjkQ Xm9PGNj7wlSFe8CFXLws/QVhvSWqupYh1MrVTbw=
X-Google-Smtp-Source: ABdhPJyHJLyaf5826XIbUkvY2V22D5OPhozRuTdAZR40OcFlVTzJXgkzLLLbO0PO3SBzv5Ae9v4qmHnFHyq/uQWZHNU=
X-Received: by 2002:a19:d619:0:b0:442:b8cb:3363 with SMTP id n25-20020a19d619000000b00442b8cb3363mr4446952lfg.14.1649210746003; Tue, 05 Apr 2022 19:05:46 -0700 (PDT)
MIME-Version: 1.0
References: <164916870616.25270.13857913632005865508@ietfa.amsl.com>
In-Reply-To: <164916870616.25270.13857913632005865508@ietfa.amsl.com>
From: Daniel Migault <mglt.ietf@gmail.com>
Date: Tue, 05 Apr 2022 22:05:33 -0400
Message-ID: <CADZyTkmL35Cs6nhz0ZtEBRa9xYq8SHA9fHXQEJ+kTXVS5wxCdw@mail.gmail.com>
To: Lars Eggert <lars@eggert.org>
Cc: The IESG <iesg@ietf.org>, lwip@ietf.org, Mohit Sethi <mohit.m.sethi@ericsson.com>, draft-ietf-lwig-minimal-esp@ietf.org, lwig-chairs@ietf.org
Content-Type: multipart/alternative; boundary="000000000000ace34c05dbf2ccc8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/lwip/e05NWPw2lbt5e0f374xt3qQxHqE>
Subject: Re: [Lwip] Lars Eggert's No Objection on draft-ietf-lwig-minimal-esp-08: (with COMMENT)
X-BeenThere: lwip@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Lightweight IP stack. Official mailing list for IETF LWIG Working Group." <lwip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lwip>, <mailto:lwip-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lwip/>
List-Post: <mailto:lwip@ietf.org>
List-Help: <mailto:lwip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lwip>, <mailto:lwip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Apr 2022 02:05:58 -0000
Hi Lars, Thanks for the review, please find my comments below. Yours, Daniel On Tue, Apr 5, 2022 at 10:25 AM Lars Eggert via Datatracker < noreply@ietf.org> wrote: > Lars Eggert has entered the following ballot position for > draft-ietf-lwig-minimal-esp-08: No Objection > > When responding, please keep the subject line intact and reply to all > email addresses included in the To and CC lines. (Feel free to cut this > introductory paragraph, however.) > > > Please refer to > https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ > for more information about how to handle DISCUSS and COMMENT positions. > > > The document, along with other ballot positions, can be found here: > https://datatracker.ietf.org/doc/draft-ietf-lwig-minimal-esp/ > > > > ---------------------------------------------------------------------- > COMMENT: > ---------------------------------------------------------------------- > > Section 2. , paragraph 6, comment: > > [RFC4303] does not require the SPI to be randomly generated over 32 > > bits. However, this is the recommended way to generate SPIs as it > > provides some privacy benefits and avoids, for example, correlation > > between ESP communications. To randomly generate a 32 bit SPI, the > > node generates a random 32 bit valueand checks it does not fall in > > the 0-255 range. If the SPI has an acceptable value, it is used to > > index the inbound session, otherwise the SPI is re-generated until an > > acceptable value is found. > > Wouldn't it be simpler to compute a 24-bit random value and left-shift it > by > eight? Or left-shift the 32-bit value; both remove the need to check. > I think the situation we want to avoid is to have the 24 right most bits to be set to zero. With a random 32 bit value, the probability to have are rejected value is 2**8 / 2**32. If you take a 24 bit value that you left-shift by eight that probability becomes 2**8/2**24. If you take a 32 bit value you left shift by eight that probability becomes 2**16/2**32. Unless I am missing something, we cannot avoid the check. > > Found terminology that should be reviewed for inclusivity; see > https://www.rfc-editor.org/part2/#inclusive_language for background and > more > guidance: > > * Term "dummy"; alternatives might be "placeholder", "sample", "stand-in", > "substitute". > I perceive dummy packets as almost a terminology of RFC4303 (see section 2.6). If we were to change it, I would propose a "random packet". I am waiting for more guidance to change it. > Thanks to Roni Even for their General Area Review Team (Gen-ART) review > (https://mailarchive.ietf.org/arch/msg/gen-art/W3R6WdPRLgAuvMIJYWnld5uaCmU > ). > > > ------------------------------------------------------------------------------- > NIT > > ------------------------------------------------------------------------------- > All comments below are about very minor potential issues that you may > choose to > address in some way - or ignore - as you see fit. Some were flagged by > automated tools (via https://github.com/larseggert/ietf-reviewtool), so > there > will likely be some false positives. There is no need to let me know what > you > did with these suggestions. > Section 2. , paragraph 6, nit: > - node generates a random 32 bit valueand checks it does not fall in > + node generates a random 32 bit value and checks it does not fall in > + + > > changed > Section 3. , paragraph 6, nit: > - are no requirements to implement an anti-replay protection mechanism > - implemented by IPsec. Similarly to the SN the implementation of anti > - ----------------------- > + are no requirements to implement an anti-replay protection mechanism. > + + > I am missing the change. > Section 4. , paragraph 4, nit: > - would typically be the case when the Data Payload is of fix size. > + would typically be the case when the Data Payload is of fixed size. > + ++ > > changed > Document still refers to the "Simplified BSD License", which was corrected > in > the TLP on September 21, 2021. It should instead refer to the "Revised BSD > License". > > Uncited references: [RFC2119] and [RFC8174]. > > Section 1. , paragraph 1, nit: > > igure 1 describes an ESP Packet. Currently ESP is implemented in the > kernel o > > ^^^^^^^^^ > A comma may be missing after the conjunctive/linking adverb "Currently". > > changed > Section 1. , paragraph 2, nit: > > y to fit multiple purpose usage of these OS. However, completeness of > the IPs > > ^^^^^^^^ > The plural demonstrative "these" does not agree with the singular noun > "OS". > > changed to these OSes. > Section 1. , paragraph 2, nit: > > as well as multipurpose scope of these OS is often performed at the > expense > > ^^^^^^^^ > The plural demonstrative "these" does not agree with the singular noun > "OS". > > changed > Section 1. , paragraph 3, nit: > > or constrained devices remains inter-operable with the standard ESP > implemen > > ^^^^^^^^^^^^^^ > This word is normally spelled as one. > > changed > Section 2. , paragraph 2, nit: > > ommunications, this document recommends to index SA with the SPI only. > The i > > ^^^^^^^^^^^^^^^^^^^ > The verb "recommends" is used with the gerund form. > > changed to recommends indexing > Section 2.1. , paragraph 3, nit: > > g the key is being used. For example, a SPI might be encoded with the > Securit > > ^ > Use "an" instead of "a" if the following word starts with a vowel sound, > e.g. > "an article", "an hour". > > keeping "a SPI" as "a security policy index". > Section 2.1. , paragraph 4, nit: > > h privacy and security concerns. Typically some specific values or > subset of > > ^^^^^^^^^ > A comma may be missing after the conjunctive/linking adverb "Typically". > > added > Section 2.1. , paragraph 5, nit: > > ed information by ESP itself, these information may also be leaked > otherwise > > ^^^^^^^^^^^^^^^^^ > The plural demonstrative "these" does not agree with the singular noun > "information". > > changed to pieces of information > Section 2.1. , paragraph 5, nit: > > affic pattern before determining non random SPI can be used. Typically, > temp > > ^^^^^^^^^^ > This expression is normally spelled as one or with a hyphen. > > changed to a non random > Section 2.1. , paragraph 5, nit: > > s, used outdoors may not leak privacy sensitive information and most of > its t > > ^^^^^^^^^^^^^^^^^ > This word is normally spelled with a hyphen. > > I do not see what needs to be changed > Section 2.1. , paragraph 5, nit: > > opened) may leak truly little privacy sensitive information outside the > local > > ^^^^^^^^^^^^^^^^^ > This word is normally spelled with a hyphen. > > idem > Section 2.1. , paragraph 6, nit: > > packet. The SN is set by the sender so the receiver can implement > anti-repl > > ^^^ > Use a comma before "so" if it connects two independent clauses (unless > they are > closely connected and short). > > I did not add the coma. I do see them related and not independent. > Section 3. , paragraph 6, nit: > > ability to spoof and replay an acknowledgement is of limited interest > and mig > > ^^^^^^^^^^^^^^^ > Do not mix variants of the same word ("acknowledgement" and > "acknowledgment") > within a single text. > > I do not understand the comment. > Section 3. , paragraph 6, nit: > > y discarding any packets that present a SN whose value is too much in > the pa > > ^ > Use "an" instead of "a" if the following word starts with a vowel sound, > e.g. > "an article", "an hour". > > keeping a SN as a sequence number > Section 3. , paragraph 6, nit: > > s based on the largest possible value a SN can take over a session. When > SN > > ^ > Use "an" instead of "a" if the following word starts with a vowel sound, > e.g. > "an article", "an hour". > > keepin a SN > Section 3. , paragraph 7, nit: > > ned devices, this document recommends to implement some rekey mechanisms > (see > > ^^^^^^^^^^^^^^^^^^^^^^^ > The verb "recommends" is used with the gerund form. > > change to recommends implementing > Section 4. , paragraph 5, nit: > > ns - may also reveal important privacy oriented information. Some > constrained > > ^^^^^^^^^^^^^^^^ > This word is normally spelled with a hyphen. > > I do not understand the suggested change > Section 4. , paragraph 5, nit: > > a sufficient tradeoff between the require energy to send additional > payload > > ^^^^^^^ > The word "require" is not a noun. Did you mean "requirement"? > > change to the required energy > Section 5. , paragraph 4, nit: > > on the cryptographic suite used. Currently [RFC8221] only recommends > cryptog > > ^^^^^^^^^ > A comma may be missing after the conjunctive/linking adverb "Currently". > > coma added > Section 5. , paragraph 4, nit: > > ent with a size different from zero. It length is defined by the > security rec > > ^^ > It seems that the possessive pronoun "its" fits better in this context. > Please > verify. > > changed to its length > Section 7. , paragraph 2, nit: > > oss reboots, this document recommends to consider algorithms that are > nonce > > ^^^^^^^^^^^^^^^^^^^^^^ > The verb "recommends" is used with the gerund form. > > changed to recommends considering > Section 7. , paragraph 5, nit: > > of the encryption algorithm transform or the energy associated with it > are es > > ^^^ > Use a comma before "or" if it connects two independent clauses (unless > they are > closely connected and short). > > no changes. > Section 7. , paragraph 10, nit: > > eration must follow [RFC4086]. In addition [SP-800-90A-Rev-1] provides > approp > > ^^^^^^^^ > A comma may be missing after the conjunctive/linking adverb "addition". > > coma added > Section 9. , paragraph 2, nit: > > In particular Scott Fluhrer suggested to include the rekey index in the > SPI. > > ^^^^^^^^^^^^^^^^^^^^ > The verb "suggested" is used with the gerund form. > > > changed > > _______________________________________________ > Lwip mailing list > Lwip@ietf.org > https://www.ietf.org/mailman/listinfo/lwip > -- Daniel Migault Ericsson
- [Lwip] Lars Eggert's No Objection on draft-ietf-l… Lars Eggert via Datatracker
- Re: [Lwip] Lars Eggert's No Objection on draft-ie… Daniel Migault
- Re: [Lwip] Lars Eggert's No Objection on draft-ie… Lars Eggert
- Re: [Lwip] Lars Eggert's No Objection on draft-ie… Daniel Migault