Re: [IPsec] Ben Campbell's Discuss on draft-ietf-ipsecme-tcp-encaps-09: (with DISCUSS and COMMENT)

Ben Campbell <ben@nostrum.com> Thu, 27 April 2017 22:36 UTC

Return-Path: <ben@nostrum.com>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD49C1298A1; Thu, 27 Apr 2017 15:36:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.88
X-Spam-Level:
X-Spam-Status: No, score=-1.88 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 SxIJUn901srE; Thu, 27 Apr 2017 15:36:31 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 84B69129506; Thu, 27 Apr 2017 15:33:03 -0700 (PDT)
Received: from [10.0.1.63] (cpe-66-25-7-22.tx.res.rr.com [66.25.7.22]) (authenticated bits=0) by nostrum.com (8.15.2/8.15.2) with ESMTPSA id v3RMX1Ze044958 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 27 Apr 2017 17:33:02 -0500 (CDT) (envelope-from ben@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host cpe-66-25-7-22.tx.res.rr.com [66.25.7.22] claimed to be [10.0.1.63]
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Ben Campbell <ben@nostrum.com>
In-Reply-To: <22785.57185.696102.246674@fireball.acr.fi>
Date: Thu, 27 Apr 2017 17:33:00 -0500
Cc: The IESG <iesg@ietf.org>, ipsec@ietf.org, ipsecme-chairs@ietf.org, draft-ietf-ipsecme-tcp-encaps@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <18514CF6-F952-4D14-B6A2-0F3A60510100@nostrum.com>
References: <149317097326.21499.1497412982831603211.idtracker@ietfa.amsl.com> <22784.32563.870450.167881@fireball.acr.fi> <2980CAE0-D03E-4C91-88E7-726A802F584E@nostrum.com> <22785.57185.696102.246674@fireball.acr.fi>
To: Tero Kivinen <kivinen@iki.fi>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/s62LvVVd3JgeDIeuBubfAIYPhNI>
Subject: Re: [IPsec] Ben Campbell's Discuss on draft-ietf-ipsecme-tcp-encaps-09: (with DISCUSS and COMMENT)
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Apr 2017 22:36:33 -0000

> On Apr 27, 2017, at 7:09 AM, Tero Kivinen <kivinen@iki.fi> wrote:
> 
>>>> Substantive Comments:
>>>> 
>>>> -3, first paragraph:
>>>> Are people confident there will never, ever be a need to demux protocols
>>>> other than IKE and ESP? If not, this approach may paint people in a
>>>> corner in the future. I ask because we made similar choices with
>>>> DTLS-SRTP [RFC5764] in demuxing DTLS and STUN, and it became an issue.
>>>> See RFC7983 for a discussion. (Note that this would have been a DISCUSS
>>>> point, but I think it's reasonably likely that there really won't be
>>>> other protocols here. But I want to make sure people have thought about
>>>> it.)
>>> 
>>> If we ever want to run other protocols there, we still have 255
>>> reserved values we can use as Non-ESP marker. The reason the
>>> 0x00000000 is selected as Non-ESP marker in the UDP encapsulation (and
>>> here) is because first four octets of the ESP packet are SPI, and SPI
>>> MUST NOT be zero. Also numbers from 1 to 255 are "are reserved by the
>>> Internet Assigned Numbers Authority (IANA) for future use" in the
>>> RFC4303.
>>> 
>>> So if we need to run something else than IKE and ESP over that tunnel
>>> we just reserve one of the other reserved IANA numbers for it and use
>>> it as protocol marker for this new protocol. 
>> 
>> Ah, I didn’t realize 1-255 were reserved. It might be worth a
>> mention that if future protocols are added, their prefixes must be
>> registered with IANA. (I note that 2 are registered already.)
> 
> I do not think it belongs to this document. This is not actually using
> reserved SPIs, but I think it should be enough to see that there is a
> way to extend this, but as we do not see the need for extension now,
> we do not need to think how we are going to do it. There are other
> ways of doing that extension also and everything depends what we
> really want to do.
> 
> Trying to guess things now is not really useful.

The reason I thought it might be worth mentioning it would be to help prevent people from heading down a wrong path in future extensions. I’m okay with leaving it out if people think the probability of it coming up is low.