[IPsec] Re: WG Last Call: draft-ietf-ipsecme-ikev2-downgrade-prevention-01 (Ends 2026-03-02)

Valery Smyslov <smyslov.ietf@gmail.com> Mon, 02 March 2026 12:32 UTC

Return-Path: <smyslov.ietf@gmail.com>
X-Original-To: ipsec@mail2.ietf.org
Delivered-To: ipsec@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 4A352C1DBC7D for <ipsec@mail2.ietf.org>; Mon, 2 Mar 2026 04:32:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.098
X-Spam-Level:
X-Spam-Status: No, score=-1.098 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, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 o3s-aBbVHNpG for <ipsec@mail2.ietf.org>; Mon, 2 Mar 2026 04:32:17 -0800 (PST)
Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) (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 8D791C1DBBD1 for <ipsec@ietf.org>; Mon, 2 Mar 2026 04:32:08 -0800 (PST)
Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-389fa0d1040so58956421fa.2 for <ipsec@ietf.org>; Mon, 02 Mar 2026 04:32:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772454727; x=1773059527; darn=ietf.org; h=content-language:thread-index:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=69ER1ey2cKSUg10hQqWXsw3NCDlrNY8N4/17dvYFINU=; b=kgh+STqsYMuEC4W8WD3cYUxaqsr2PjFbalWEb7tg0+B9jDGIRLsfjWa+gNPqIPecTb eldR+Wor7FW1BSZ+2WOXclP3LJS7+Zh3C5btS0vv1otW/FTZ1db3ioSbOaxX11w8nYfB evGWRYzFfIQTZg00vmFEwabfjodVmacMhWupJ8Ew3hIsYz7ps26ZzyBhAv3+tf8IRmsC CjZXzleYUHHrMjLFoVUcec0HXkx5cKpxXyYjPbf3S8l1V5CvGp4xgII0amOf76SD2GhL 5WYEW+RGQWzS1UtB9yBYZfH2kWINMmepUZRhpDFQj+SiOk20UmK6qX76r9CVKcI9O5wg zxhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772454727; x=1773059527; h=content-language:thread-index:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=69ER1ey2cKSUg10hQqWXsw3NCDlrNY8N4/17dvYFINU=; b=ixft5fLytUNkPeYETJlo+SaV8XDV+DX+8LFUI23OYo7A29NscPPcqpCe9wBWe8M79g K3KPPH4NY9nsZMZ7Fgoo1mkltXilUQij8ctiVd5CHFYYqitmzqagadPytTZH7gbLsoz2 5zvOBUfIp/TBfpSeWXX1GA/ZDc8+bFoIUM4/7fBq4Y0elshGVPECfpfoOx6XjeAOrimS 9WakesXX21lhtuGeCoVYEeTWRMH6vKSRTdxlE1M4kas4/4QcPUZGzOExZkK9ILRIcFex UL/FMn7nWvU2N5GkbsJd/c8IxzZbtivtiko9NfE8PebAHJFYjTIpSB1txftmSmFY5P+E mgnQ==
X-Forwarded-Encrypted: i=1; AJvYcCUIeAH4v9EamiUWp3GKzRL7POvmJ9IDcE6igE79eYO+HBWXlZZMlQhHMShar1elLgO5n2D5RA==@ietf.org
X-Gm-Message-State: AOJu0Yxqlsj79Y6RXNWi7Yyu1sLcpZqhS4knqbDslMG1/DpvBXuDInFN 7DMw4YpND7ettuSyzRla2CJ+Fbp4t/7wQLG4yTRwUcmfXWtd7UP+FNqg
X-Gm-Gg: ATEYQzzzSz9GNYY+UF504RW1A8Pqnqq7m6i0VanGUcKUGLoaigG0bc600qrvD3MvZGw jsgGBrhjxqUBKpOaPAOYcpgv+g9uny4+pok4CPfGbaOxS/XQWuEmaBKUSEbSZnwtICMTtCTWmWH uxWTTSDRPWreW+igxOSyaUJOBVOMMRA9QCbYK+wWlIW5mIPQRUIaqhvhyL5I98vAqopt/Sowgyc QALXjmqjJz73FPKaJl5r2Mzkrz20Z+jBS2LoXH6ocooJfxuJfAGfxz90BSZY+hCXfR+XrHQmvtE W2cFl4sCzjGVxaw+Ul1MBX3WFcW3/ppZGZKrcjJcRRLpQOjNK8Teucd+EQWUQPAD/CesaczR91b VbIYeksL7hOClIqtSy8bkuWzXWDjckFo2T7GmEhI4UYbedAKi7SBe/yW8VGc8VbL187l/Rs3jvo bWprpQ+0zv6QS20+l34/XdaN7q2M4zSZ2nDKrZIoAJ
X-Received: by 2002:a2e:8692:0:b0:381:800:910d with SMTP id 38308e7fff4ca-389ff35783cmr58791921fa.38.1772454726773; Mon, 02 Mar 2026 04:32:06 -0800 (PST)
Received: from BuildPC ([93.188.44.204]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a115bc9fa8sm1624860e87.36.2026.03.02.04.32.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2026 04:32:04 -0800 (PST)
From: Valery Smyslov <smyslov.ietf@gmail.com>
To: 'Bas Westerbaan' <bas=40cloudflare.com@dmarc.ietf.org>, 'Christopher Patton' <cpatton=40cloudflare.com@dmarc.ietf.org>
References: <177126418184.835018.15088804259568141586@dt-datatracker-6ff7c68975-7k42g> <CAG2Zi226T_BKwnv6d+sgfoVPMPyrDvAr-+FjXS9bmOGM72DpWg@mail.gmail.com> <CAMjbhoWZAjUce06rW9=nD=r0qP10G1rbbChm31bHC9kd+BS24A@mail.gmail.com>
In-Reply-To: <CAMjbhoWZAjUce06rW9=nD=r0qP10G1rbbChm31bHC9kd+BS24A@mail.gmail.com>
Date: Mon, 02 Mar 2026 15:32:02 +0300
Message-ID: <21e101dcaa40$93c71940$bb554bc0$@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_21E2_01DCAA59.B91CDCC0"
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQFoaNfelt2/aY5cQl9K4BxRz6kOPgIRZTBnArKET9G2XY480A==
Content-Language: ru
Message-ID-Hash: J3V5ZNHUB2NLFBV2GQXFMXVTMSQUSRGE
X-Message-ID-Hash: J3V5ZNHUB2NLFBV2GQXFMXVTMSQUSRGE
X-MailFrom: smyslov.ietf@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ipsec.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: 'Tero Kivinen' <kivinen@iki.fi>, draft-ietf-ipsecme-ikev2-downgrade-prevention@ietf.org, ipsec@ietf.org, ipsecme-chairs@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [IPsec] Re: WG Last Call: draft-ietf-ipsecme-ikev2-downgrade-prevention-01 (Ends 2026-03-02)
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/6Qw5vWyPcafN33ZMAgtnNjdkSRM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Owner: <mailto:ipsec-owner@ietf.org>
List-Post: <mailto:ipsec@ietf.org>
List-Subscribe: <mailto:ipsec-join@ietf.org>
List-Unsubscribe: <mailto:ipsec-leave@ietf.org>

Hi Bas,
 
thank you for your comments.
 
I created a PR that reflects most of your suggestions:
https://github.com/smyslov/ikev2-downgrade-prevention/pull/19
 
Please also see inline/
 
Looks good to me.
 
Nits.
 
Abstract: "some kind" -> "particular" sound a bit better to my ear.
 
Introduction: Perhaps use "SIGn-and-MAc (SIGMA)" as SIGMA protocol can be confused nowadays with the class to which Schnorr belongs.
 
The introduction feels like it's missing a final sentence. Something like "In this document we'll first describe how authentication works now (§3); to which attack it's vulnerable (§4), ..."
 
         This is more in a tradition of academic papers J I personally don’t think this is needed, however I agree tat perhaps the Introduction is too short.
         Lacking the concrete text I leave it as is for now.
 
§3. "Peers sign (or MAC) some blobs". Is blobs the standard terminology?
 
         RFC 7296 uses “block of data”, thus I changed to this term.
 
For clarity I'd add "the initiator, but not the responder, authenticates the IKE_SA_INIT [...]"
 
§4. What do you mean to say with 'for some definition of "strong" and "weak"'? Isn't the next sentence "the attacker must be able to break "weak" key exchang methods in real time" enough?
 
§5. "aims to detect". Why "aims"? It does detect it.
 
Why would you support the extension and not use it?
 
I'd write something like "This document defines an extension that when supported by both peers prevents the downgrade attacks described in [...]. The peers achieve this by hashing in both sent and received messages when the extension is supported by both. This ensures that if both peers support the extension and at least [...]"
 
         I left the text as is for now, waiting for more comments.
 
§6 Is there any potential confusion on how to split the concatenation RealMessage1 | RealMessage2 | Nonce*Data | MACedIDFor*?
 
         This comment I did not understand, can you clarify?
 
§8. Refer to the section where you describe the downgrade attack.
 
         Regards,
         Valery.
 
 
 
 
 
 
 
 
 
 
 
On Thu, Feb 26, 2026 at 7:55 PM Christopher Patton <cpatton=40cloudflare.com@dmarc.ietf.org <mailto:40cloudflare.com@dmarc.ietf.org> > wrote:
Hi all, I just wanted to add that we implemented this feature in our internal implementation of IKEv2 and have confirmed interop with strongswan's experimental branch:
 
git clone --depth 1 --branch downgrade-prevention https://github.com/strongswan/strongswan.git
 
One thing we noticed is that the draft doesn't explicitly specify how to handle a malformed IKE_SA_INIT_FULL_TRANSCRIPT_AUTH notification (i.e., one that has a non-empty payload, a non-zero Protocol ID, or a non-zero SPI Size [1]). Our responder handles this case by sending an INVALID_SYNTAX error. (We don't implement an initiator.) My understanding is that this behavior is allowed by IKEv2, but other behaviors are allowed as well. If my understanding is correct, then I don't see a need to make the behavior explicit.
 
Apart from that, I have no more changes for the WG to consider and I think this is ready to go. We look forward to getting a codepoint!
 
Best,
Chris P.
 
[1] https://www.ietf.org/archive/id/draft-ietf-ipsecme-ikev2-downgrade-prevention-01.html#section-6-1
 
 
On Mon, Feb 16, 2026 at 9:49 AM Tero Kivinen via Datatracker <noreply@ietf.org <mailto:noreply@ietf.org> > wrote:
This message starts a WG Last Call for:
draft-ietf-ipsecme-ikev2-downgrade-prevention-01

This Working Group Last Call ends on 2026-03-02

Abstract:
   This document describes an extension to the Internet Key Exchange
   protocol version 2 (IKEv2) that aims to prevent some kinds of
   downgrade attacks on this protocol by having the peers confirm they
   have participated in the same conversation.

File can be retrieved from:

Please review and indicate your support or objection to proceed with the
publication of this document by replying to this email keeping ipsec@ietf.org <mailto:ipsec@ietf.org> 
in copy. Objections should be explained and suggestions to resolve them are
highly appreciated.

Authors, and WG participants in general, are reminded of the Intellectual
Property Rights (IPR) disclosure obligations described in BCP 79 [1].
Appropriate IPR disclosures required for full conformance with the provisions
of BCP 78 [1] and BCP 79 [2] must be filed, if you are aware of any.
Sanctions available for application to violators of IETF IPR Policy can be
found at [3].

Thank you.

[1] https://datatracker.ietf.org/doc/bcp78/
[2] https://datatracker.ietf.org/doc/bcp79/
[3] https://datatracker.ietf.org/doc/rfc6701/

The IETF datatracker status page for this Internet-Draft is:
https://datatracker.ietf.org/doc/draft-ietf-ipsecme-ikev2-downgrade-prevention/

There is also an HTMLized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-ipsecme-ikev2-downgrade-prevention-01

A diff from the previous version is available at:
https://author-tools.ietf.org/iddiff?url2=draft-ietf-ipsecme-ikev2-downgrade-prevention-01

_______________________________________________
IPsec mailing list -- ipsec@ietf.org <mailto:ipsec@ietf.org> 
To unsubscribe send an email to ipsec-leave@ietf.org <mailto:ipsec-leave@ietf.org> 
_______________________________________________
IPsec mailing list -- ipsec@ietf.org <mailto:ipsec@ietf.org> 
To unsubscribe send an email to ipsec-leave@ietf.org <mailto:ipsec-leave@ietf.org>