Re: [Anima] Errata 6642: Re: Registrar to MASA connections: SNI required

Toerless Eckert <tte@cs.fau.de> Wed, 14 February 2024 18:29 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C25F2C14F6A5 for <anima@ietfa.amsl.com>; Wed, 14 Feb 2024 10:29:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.658
X-Spam-Level:
X-Spam-Status: No, score=-6.658 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rpUPS3K9GUqr for <anima@ietfa.amsl.com>; Wed, 14 Feb 2024 10:28:59 -0800 (PST)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [131.188.34.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74ACDC14F603 for <anima@ietf.org>; Wed, 14 Feb 2024 10:28:58 -0800 (PST)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTPS id 4TZmtH3cD9znkP9; Wed, 14 Feb 2024 19:28:55 +0100 (CET)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id 4TZmtH2clJzkmqc; Wed, 14 Feb 2024 19:28:55 +0100 (CET)
Date: Wed, 14 Feb 2024 19:28:55 +0100
From: Toerless Eckert <tte@cs.fau.de>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Cc: anima@ietf.org, Brian E Carpenter <brian.e.carpenter@gmail.com>, rwilton@cisco.com
Message-ID: <Zc0GZ39gU0RuxiY6@faui48e.informatik.uni-erlangen.de>
References: <659.1625591712@localhost> <7c9a712a-119c-33e1-9031-b464e122881e@gmail.com> <ZbnIkYrDC7-3SwkB@faui48e.informatik.uni-erlangen.de> <22766.1706710713@obiwan.sandelman.ca> <ZbxbDS8vRJpNvpxJ@faui48e.informatik.uni-erlangen.de> <5675.1706881746@obiwan.sandelman.ca> <ZcJqAbO4H7mqmlT5@faui48e.informatik.uni-erlangen.de> <15885.1707746510@obiwan.sandelman.ca> <ZcrORdk0_4sCY87J@faui48e.informatik.uni-erlangen.de> <8823.1707933716@obiwan.sandelman.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <8823.1707933716@obiwan.sandelman.ca>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/yOsIVqigL8skp0HaOlYWjMltiNc>
Subject: Re: [Anima] Errata 6642: Re: Registrar to MASA connections: SNI required
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Feb 2024 18:29:03 -0000

On Wed, Feb 14, 2024 at 01:01:56PM -0500, Michael Richardson wrote:
>     tte> Just to double check: in this thread we're only talking registrar to
>     tte> MASA (no pledges).
> 
> The text I quote from you above, says, "pledge"

Siure, i mean for this thread with subject "Errata 6642" lets only finalize
the text for section 5.4, which is only registrar to MASA.

>     > Then the biggest risk is when there are a lot of Registrar instances
>     > out in the field and the company wants to make the MASA service cheaper
>     > by putting it into some cloud service data center from a third party,
>     > and only then wake up and see that that cloud data center (opposed to
>     > the vendors original own data center) does require SNI. So now, the
>     > vendor needs to update all Registrars in the field.
> 
> I really think you are overthinking this.
> SNI is mandatory to send.

If you want to write that as the desired text for the Errata 6642, i will
accept it, even though i think we do not need to write anything about SNI
for the case where the Registrar does only know an IP-address of the
MASA, but not a domain name. I do not care whether or not the Registrar
puts an IP-addrerss into the TLS connection - because that IP-address
will not help. But yes, given how it does not hurt, its fine to just
say mandatory to send.
> 
>     > Aka: IMHO serious enough that it justifies the one sentence we can
>     > write upfront to avoid this.
> 
> So maybe it goes here:
> https://www.ietf.org/archive/id/draft-richardson-anima-registrar-considerations-08.html#name-masa-client-northbound-inte

If you do want to make that draft an update to RFC8995, then it is fine
to bring it up in this thread, because then the Errata 6642 text
should be aligned with that drafts text. But so far that draft is not
an update to rfc8995, so maybe we move the discussion about that draft
to another thread. I just want to finalize text that Rob can push into
the Errata.

>     > 1. the way you wrote it, you replace the whole two sentences, aka: you
>     > remove:
> 
>     >    Use of TLS 1.3 (or newer) is encouraged.  TLS 1.2 or newer is
>     > REQUIRED.  TLS 1.3 (or newer) SHOULD be available.
> 
>     >    I am sure you wanted your text to be ADDED after those two
>     > sentences.
> 
>     > 2. "TLS 1.2 [RFC5246] with SNI support [RFC6066] is REQUIRED if TLS 1.3
>     > is not available."
> 
> It seems to me ethat it says that same thing.

I am not a native english speaker, but to me the rfc2119 language of
"SHOULD be available" is stronger than "if TLS 1.3 is not available"
(aka: no rfc2119 langauge against TLS 1.3 at all).

I do agree though that "Use of TLS 1.3 (or newer) is encouraged" is redundant
and really superceeded by "TLS 1.3 (or newer) SHOULD be available.", but
i did not bother trying to propose shortening that text in an errata,
because mucking with those two sentences derails from the core purpose of
adding the SNI requirement.

> 
>     >    This does not say that Registrars must send SNI/"server-name". It
>     > just means the TLS stack on registrars/MASA needs to be able to support
>     > SNI. And i am a fourth degree burn victim of text like this.  Many
>     > customers who could not deploy multicast appropritely because they
>     > believed vendor text "device supports IGMPv3" was sufficient, when
>     > instead what was required was: "(IPTV) application MUST use SSM
>     > signalling via IGMPv3".  (see also the TLS 1.3 text related to this
>     > "server-name" support vs. application support).
> 
> I'm sorry that you were burnt, but that doesn't mean you have to wear a
> fireman's suit everywhere.

"Just because i am paranoid does not mean they are not after me".

> If you want it to say, "Clients must send SNI.", I'm okay with that.
> In general, it's rather hard to turn SNI off with most libraries.

See above. I am Ok, although i prefer to more precisely only demand
the case where we do know that sending SNI brings deployment benefits
(when domain-name of MASA is known), and leave the IP-address case
unmentioned, so developers can decide out what to do about it.
> 
>     >    Append to the section 5.4 text from above the following:
> 
>     >    When the MASA is known to the registrar by its domain name, the
>     > registrar MUST send the domain name of the MASA in the TLS "Server Name
>     > Indicator" (SNI) option (also called "server-name") [RFC6066] whether
>     > TLS 1.2 [RFC5246] or TLS 1.3 [RFC8446] is used.
> 
>     >    SNI is required when the Registrar communicates with the MASA in
>     > order for the MASA to be hosted in a modern multi-tenant TLS
>     > infrastructure where it shares its IP/IPv6 address with other HTTPS
>     > services.
> 
> I'm fine with this.  But, since it's hold for document update, we don't have
> to wordsmith it now, as long as we get across the right idea in the patch.

Well, my understanding is that Rob simply wants a replacement text for the
Errata that we both agree on so he can update the Errata with it.

Cheers
    Toerless
> 
> --
> ]               Never tell me the odds!                 | ipv6 mesh networks [
> ]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
> ]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [
> 
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>            Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> 
> 



-- 
---
tte@cs.fau.de