[TLS] Re: Éric Vyncke's Discuss on draft-ietf-tls-dtls-rrc-18: (with DISCUSS and COMMENT)

Thomas Fossati <thomas.fossati@linaro.org> Thu, 03 July 2025 17:54 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 84A743DA4C60 for <tls@mail2.ietf.org>; Thu, 3 Jul 2025 10:54:23 -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 9WKUM1h_2hzl for <tls@mail2.ietf.org>; Thu, 3 Jul 2025 10:54:21 -0700 (PDT)
Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (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 A01B53DA4C14 for <tls@ietf.org>; Thu, 3 Jul 2025 10:54:21 -0700 (PDT)
Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-553b60de463so190135e87.3 for <tls@ietf.org>; Thu, 03 Jul 2025 10:54:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1751565260; x=1752170060; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ikWJ9Ck2R2dF3KB6UQTybvS5tS6PeukgEG3K6+3opU8=; b=AropbTgO8DZq6icg3uqYLvt+aC99tCgTNqra1RZKvXds5biT4amHUFAS8J/WmVJuAZ lezZ9Idr2w4RIW+lbVHZsxsCzX3W3aC7y7jchon+pnRj06NkCVNf/r5xVTMly+R/Mo86 KfA7tExj1Dz4q5nN/3xPbjsjlLdfl+OpJ/O736aZ3LvYrmgem9MnOImo5UxHhsrbJ1XB PuDbIWECE5q65HWAgxZ89e58WncMdPzr3roDXwurima/y6qRcoR3oLHC2kTfLT06z8c2 zzZOVH/Q0EWZLyDZrf7bJ6VXQfJDo8pi6KHUdYafMb0EhHOWXc5Z11yX/cKRUhBS9V7A NeQQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1751565260; x=1752170060; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ikWJ9Ck2R2dF3KB6UQTybvS5tS6PeukgEG3K6+3opU8=; b=VT7uPk45M6VsIRgvywCGr2Nqo+IBK74JHotDN1eub0y5jxoJmxxvZblV9OGKsnjplM OBi3wpF93xOhOkSPx3yu1tmpkHsd/kjO72N1ojc2/4cuhfByLviwDNyScAQvIpMjXTIx vBvI1eaMApX3pTEb/KrBA3P0KppY/Vjai0K/73IbGLnasKpqC7W8W8U5gqxwwjPTIyCS 7O/bKCvqKZKw04qeTXbJgG7RnBSGGsq4fG/cmN3ifcZKadaJONt8N7YF1csmavvrZg3T 4+3+BiZ3VK/LvjmrIBmkHRdkgBQ9elRfPKvaUPRREuKpVwgzJ5NKIvhPO4U4/lx3idSP DClA==
X-Forwarded-Encrypted: i=1; AJvYcCUZFrag0n6EviJy3A9HCYK/KazwbSp/z+yzQVi886BDnVKwFfHcQA0PDyysDB4KYrIFNo8=@ietf.org
X-Gm-Message-State: AOJu0Yz6eeXKuTXCG5l5cWNwfe4vOk43+Bw2EIxk8XvYPSpfYqmbUbeG 4+sLIGzRFRgOYsvQsd+RXGbvPfv9mDSZSc+Qq2sLnCENFaH4WrSkUjOQCKZoacfNrD+zWge8cwp gurEGDL5dV8/iWW/5DdyrWqGPL8v3iCwLPnmJCq+9Pw==
X-Gm-Gg: ASbGncsK5dsDrg0k2SK5gweXxBMdlt2/R9SIoBzFCmRCYpXNonWdFapPr4M7dviSWaI LvhSrZJAV6izQvdYohbr2KjQNtqwcig5W3ZK2GgqEBj2jyKN4eNjHdMajRK7dBuk0/582HnOYc6 a//oyTf7Vs10dBT/YypfscKtALNzdnB/YGrBuQ8VxifYZc
X-Google-Smtp-Source: AGHT+IGTalrxpwO921srzkAlLBV6lW8UxU+Ofdwixn3WDWUbbxD4EtoSuUVVeNfEvb2FpgrFibo8BNDq16viFSARsAQ=
X-Received: by 2002:a05:6512:3185:b0:553:aa2d:1af5 with SMTP id 2adb3069b0e04-5562ee1feeamr1608969e87.8.1751565260217; Thu, 03 Jul 2025 10:54:20 -0700 (PDT)
MIME-Version: 1.0
References: <175154470587.1120568.12931412045773088416@dt-datatracker-6fcb845cd4-p6tkq> <hfsxcip2yklknt25vpmkaliijct6ldpbo7ifj6sbvyuhqjh65i@jrorzcs7ajqh>
In-Reply-To: <hfsxcip2yklknt25vpmkaliijct6ldpbo7ifj6sbvyuhqjh65i@jrorzcs7ajqh>
From: Thomas Fossati <thomas.fossati@linaro.org>
Date: Thu, 03 Jul 2025 19:54:04 +0200
X-Gm-Features: Ac12FXzNVdqoVxPYh-0ubS6AttKbU832SIsAKEVrerALO75Hl86w-BAjoIJU3-M
Message-ID: <CA+1=6ycHzWoC=Yer39y0x_+6tyYp4eOS0H65PwbBu6BwmGwCng@mail.gmail.com>
To: Éric Vyncke <evyncke@cisco.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: BE6IVL663NPDLSV52OSBKMWKYISY26YQ
X-Message-ID-Hash: BE6IVL663NPDLSV52OSBKMWKYISY26YQ
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: Éric Vyncke's Discuss on draft-ietf-tls-dtls-rrc-18: (with DISCUSS and 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/kiyXdIaBvBDQ-r2_gR201hFvstM>
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 Éric, this PR [1] should address your COMMENTS, in line with my
replies below.

cheers, t

[1] https://github.com/tlswg/dtls-rrc/pull/98

On Thu, 3 Jul 2025 at 17:49, Thomas Fossati <thomas.fossati@linaro.org> wrote:
>
> Hi Éric, thanks a lot for your review and comments.
>
> Please see the replies below and let us know what you think.
>
> cheers!
>
> On Thu, Jul 03, 2025 at 05:11:45AM +0100, Éric Vyncke via Datatracker wrote:
> > ----------------------------------------------------------------------
> > DISCUSS:
> > ----------------------------------------------------------------------
> > ## DISCUSS (blocking)
> >
> > ### Section 6.2
> >
> > In the case of NAT rebinding, how can a responder behind a NAT detect
> > that its external address/port has changed as seen by the initiator:
> > it still receives the other peers packet sent to its unchanged
> > address/port ? What am I missing ?
> >
> > This could probably be addressed by some more text before `The action
> > to be taken depends on whether or not the path through which the
> > message was received is still the preferred one`.
>
> This looks very similar to Med's comment "Impossibility to adhere with a
> MUST".
>
> Can you please have a look at the discussion (sub)thread at [1] and the
> proposed fix [2]?
>
> If we are lucky we may have already solved this :-)
>
> [1] https://mailarchive.ietf.org/arch/msg/tls/JyslZqlHwQFdCo0mmBiQvo_6wmI/
> [2] https://github.com/tlswg/dtls-rrc/pull/97/commits/03935ba17
>
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> >
> > ## COMMENTS (non-blocking)
> >
> > ### FATT process ?
> >
> > Out of curiosity, I still wonder what `FATT process` and `FATT review` mean in
> > the shepherd write-up.
>
> FATT is TLS's formal analysis triage panel.  See [3].
>
> [3] https://github.com/tlswg/tls-fatt/tree/main
>
> > ### Use of "path"
> >
> > Probably too late to change, but the choice of "path" rather than "anchor" or
> > "socket" (or something else) is poor... the actual path (the set of network
> > links and devices) keeps changing in an IP network.
>
> Yes, in hindsight I can see that this wasn't an ideal choice.  It seems
> a bit too late now to go back and do a terminology revamp.  Hopefully,
> this won't create too much confusion.
>
> > ### Section 1
> >
> > A small graphical (packet exchange) would be useful even if the text is clear.
>
> Perhaps we could add a forward link to the "Example" section.
>
> > ### Section 3
> >
> > What is the expected server behavior when the client sends the rcc extension
> > without offering the connection_id extension ? Is the whole handshake stopped
> > or is the option ignored ? Please be specific.
>
> The server will not echo the rrc extension.
>
> > ### Section 4
> >
> > Probably due to my lack of familiarity with the used syntax, but it seems that
> > the enum part is not really part of the figure 1 legend of `Return Routability
> > Check Message`. It seems more like an addition to TLS Content Type registry.
> > Suggest to split this figure in two figures with 2 distinct legends.
>
> I like the fact that all the relevant TLS presentation language is
> packed together.  Rather than splitting the figures, I'd slightly extend
> the legend to read "Return Routability Check Message and Content Type".
>
> > ### Section 5
> >
> > s/has faster routing/has faster forwarding/ ?
>
> In the editor's copy we currently have "faster fowarding path".  Would
> that work for you?
>
> > ### Section 5.1.1
> >
> > Related to `the original packet still reaches the intended destination`, does
> > this mean that an attacker can prevent rebinding to a new address/port by
> > sending the packet from the 'old' address/port ?
>
> Not really.  We assume that an attacker does not posses the session key
> material necessary to forge a valid path_response that would convince
> the peer to rebind.
>
> > ### Section 5.2.1
> >
> > What is "AP" in figures 5 and 6?
>
> Access Point.
>
> > ### Section 10.2
> >
> > As this section ends with a recommendation, should it clearly be in
> > the protocol specification part rather than in operational
> > considerations ?
>
> Another approach might be to provide more context for the
> recommendation.  For example:
> "Therefore, when using RRC in DTLS 1.2 *and middlebox interference is a
>   concern*, it is recommended that CID is enabled in both directions."
>
> t