[TLS] Re: Deb Cooley's No Record on draft-ietf-tls-dtls-rrc-18: (with COMMENT)

Thomas Fossati <thomas.fossati@linaro.org> Thu, 03 July 2025 12:38 UTC

Return-Path: <thomas.fossati@linaro.org>
X-Original-To: tls@mail2.ietf.org
Delivered-To: tls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 062C33D6805C for <tls@mail2.ietf.org>; Thu, 3 Jul 2025 05:38:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=linaro.org
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9MbGAYfrZser for <tls@mail2.ietf.org>; Thu, 3 Jul 2025 05:38:53 -0700 (PDT)
Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id E3E903D6802E for <tls@ietf.org>; Thu, 3 Jul 2025 05:38:53 -0700 (PDT)
Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3a54690d369so5383836f8f.3 for <tls@ietf.org>; Thu, 03 Jul 2025 05:38:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751546333; x=1752151133; darn=ietf.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=jUteR7NW5/12L0JzK+Lt+0XWZZgKourZiUvdvKV8wvs=; b=fKt0KzhZJ4K+9CeqdhWmpZq3XFVl9tcHmVokVvJTfzBYQkHz3CgfIzlSZJzfimQOK1 6yjPhxCwqZbYvM8bE6ppvnvWXhKxsLxoPfJm+Xj3A9Oz3z+HoLxdRnkXVsbdvUNO/CTZ +PhtRykeQPqwxjgNINJSAjYHXrYrX1rI3xEJjLKa7jAbswGrNgV/i7lPHgyTCo0woWIQ 71tUQ0xW4xQcPqCHxfZjXBQ+qrIS7Y5kO65zmK9/FlR7vuTVXK2htf8Sp7cX0VVfhVkC 9Pm1eNbkCMEfG95lWtALXGh/TxDF/QogUDX0Syzr1+AQ6tUlWs3QyyomS3fvA7cD/dkl h3mQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751546333; x=1752151133; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jUteR7NW5/12L0JzK+Lt+0XWZZgKourZiUvdvKV8wvs=; b=uPqWXK1RgfF7mDMvE68TQ4kvrSuD/9gkT9QienplAwLSgW64FrTAb21aCUlqKhS2Gc J6+1GFNWcBlNIdnJmPNGlOGx5tJtl5H6fwWGUkZJQiFW1BNkSNLc+3KxhoeIkYBe3+6U 1M1eDdzwE+ip+2Aiz8fSWWnzrge40qSSSATHtn4YirY+PG46rerhY+qsSweT7Oq0G6/w 4rH0P0g+9zx7P1J/AMcMfrBaOaZluIufINZIdpdc3QN434xqByIGXHNXI2Kl6HHRMaNs 0yT+FpNufZRWU4noXjyFPOrerrMcdAYuu/zGO8JJ6iTmfuR9mvzjHQ9E+422acTIJe5Z WFHg==
X-Forwarded-Encrypted: i=1; AJvYcCWNflbTo6Q6VukxGb/fL9aR/R9fIYITptXSab8WUmi9u8u4xDKdtTOvwNWZkmd4k9B7QYM=@ietf.org
X-Gm-Message-State: AOJu0YxWFbi4GlVd6wyBz/JCs9gpXyTHzRgH4E0up4MrYvK14JS8C9Y9 ctuCC1Iwvmxso0b02OiOCibvjT/MbYZaHmSP+T/HHXfqq3iqWZxrIZkwa9NNBrKyHjh6SFWrg8d IiIli
X-Gm-Gg: ASbGncvsmysCTn1+pbDX+hD+VldAZ6gZT7BclUFg327mTBK4xWWn2b+izNKX4pngjz9 Wrl2RQGxg4ePVoIT+64CiPp5IiT+AdMGuhToYasLNxgcS4CzpBrkHfKtjtsYguBNaCVgonun61x c97Ia0ZRI9Y/9ZWWX8p4IiEiNEFl5n9o/66G97U8IBBsjfrY940dLRx4ZipHKmQgYP6YVT6DNuV PhgfCqjahuzEi+vUCoMgHRAb3modiYvMi4ZIvkp3Uq4vPGTK4iJ35JqSQ4xhai3syPKlYRjOW9D vXVQx2DHcZOMS+Qx2dTu80cWXWvsK+M0+06LtKpW+vzBkdkbmPOaw5SYMG6oDHMQZMcZmTY2XZu ofFBvww0sag7nOIdr5BZRtRF82XWSyel5j6x7ivDt/CI6gfYDM0s=
X-Google-Smtp-Source: AGHT+IE8VMGaEDSbtwBC9f4WKSbUuitsfolL3r7FeHkU3ZMa3gaEVHbvFx4w/B62PHz/Bei2s1EN7g==
X-Received: by 2002:a05:6000:70b:b0:3a5:24a9:a5d3 with SMTP id ffacd0b85a97d-3b1fe6b70e7mr4925768f8f.17.1751546332701; Thu, 03 Jul 2025 05:38:52 -0700 (PDT)
Received: from tho-mbp.home (24.227.194.178.dynamic.cust.swisscom.net. [178.194.227.24]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a88c7fa5easm18221131f8f.26.2025.07.03.05.38.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Jul 2025 05:38:52 -0700 (PDT)
Date: Thu, 03 Jul 2025 14:38:51 +0200
From: Thomas Fossati <thomas.fossati@linaro.org>
To: Deb Cooley <debcooley1@gmail.com>
Message-ID: <prwnbplpv77yncf4sm7kxpmpgr57obz7sb6dlgjetvsogyd5nb@s2yr7innnlsh>
References: <175145961570.873676.11677364893786375872@dt-datatracker-6fcb845cd4-p6tkq>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Disposition: inline
In-Reply-To: <175145961570.873676.11677364893786375872@dt-datatracker-6fcb845cd4-p6tkq>
Message-ID-Hash: 7T5PDVJOATVUGMEGV76FHBAXBYI3MOPK
X-Message-ID-Hash: 7T5PDVJOATVUGMEGV76FHBAXBYI3MOPK
X-MailFrom: thomas.fossati@linaro.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: The IESG <iesg@ietf.org>, draft-ietf-tls-dtls-rrc@ietf.org, tls-chairs@ietf.org, tls@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: Deb Cooley's No Record on draft-ietf-tls-dtls-rrc-18: (with COMMENT)
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/-SpibznPlk9WrL_D6PKYWg9-uYM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Owner: <mailto:tls-owner@ietf.org>
List-Post: <mailto:tls@ietf.org>
List-Subscribe: <mailto:tls-join@ietf.org>
List-Unsubscribe: <mailto:tls-leave@ietf.org>

Hi Deb, thank you for you review and comments.

See inline.

cheers, t

On Wed, Jul 02, 2025 at 05:33:35AM +0100, Deb Cooley via Datatracker wrote:
>Deb Cooley has entered the following ballot position for
>draft-ietf-tls-dtls-rrc-18: No Record
>
>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-tls-dtls-rrc/
>
>
>
>----------------------------------------------------------------------
>COMMENT:
>----------------------------------------------------------------------
> Section 2, para 3:  The definition of 'anti-amplification limit' is
> incomplete.  Three times the amount of data received compared to what?

There is nothing to compare it to.  It's an absolute value which counts
all the valid DTLS bytes your peer sent you with a source address that
is not yet validated, multiplied by three.  This is, I think, what we
alreday say.

> In RFC 9000, the definition is as follows:  "Therefore, after
> receiving packets from an address that is not yet validated, an
> endpoint MUST limit the amount of data it sends to the unvalidated
> address to three times the amount of data received from that address.
> This limit on the size of responses is known as the anti-amplification
> limit."  I think you need to add '...means limiting data sent to an
> unvalidated address to three times the amount of data received...'.
> [at this point the requirement in Section 6 makes more sense]

I must be missing something subtle, because I really can't see where the
confusion with the current definition comes from.

> Section 5, off-path attacker bullet:  '...copies of the observed
> packets...', does this mean replay packets? I'm not sure what is more
> widely understood.  Possibly add a 'copy' or 'replay' row to Figure 2?

The basic ingredients are already in Figure 2: it's a combination of
"Inspect" on the slow path and "Inject" on the fast path.

> Section 8, para 2:  Please reword the last two sentences.  Perhaps
> something like 'To prevent this,...using a reliable source of entropy.
> See Appendix C.1 of RFC 8446 for guidance.'  [Note RFC 4086 is pretty
> old, most O/S have reasonable RNGs (which is what Appendix C.1
> states)]

OK, thanks.
See https://github.com/tlswg/dtls-rrc/pull/97/commits/40d210f3

We added a reference to 4086 at Russ's suggestion.  It is referenced
from TLS 1.3 A.1, so it's probably redundant.  However, I don't think
it hurts keeping it in place.

Thank you!