[netmod] Re: AD - Re: AUTH48: RFC-to-be 9644 <draft-ietf-netconf-ssh-client-server-40> for your review

Mahesh Jethanandani <mjethanandani@gmail.com> Wed, 18 September 2024 16:10 UTC

Return-Path: <mjethanandani@gmail.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14689C14F5E9 for <netmod@ietfa.amsl.com>; Wed, 18 Sep 2024 09:10:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 iXRcMhb0QmMd for <netmod@ietfa.amsl.com>; Wed, 18 Sep 2024 09:10:49 -0700 (PDT)
Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 ietfa.amsl.com (Postfix) with ESMTPS id 1D0DDC14F604 for <netmod@ietf.org>; Wed, 18 Sep 2024 09:10:49 -0700 (PDT)
Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-7db1f13b14aso6071037a12.1 for <netmod@ietf.org>; Wed, 18 Sep 2024 09:10:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726675848; x=1727280648; darn=ietf.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=+zFiUviD9KJz0ektdGsjfSQpJHJFRkCbCw2YQU0Yvjs=; b=kjBRwC4Q5toyHvy92VqVWn7hMQrZq+ywXDm8ri4RBdza7fNBBuKajd0z0B8Iob/O63 Ta1LyObFectA+C2zPqsSkSW2ncpkvS2tLYUTTt8IoliQPu1qll47p/XS1NJ2P8uKHAmK rs1ngVUkNi9gbzWOrYCyFvEKyNojhLUKATbzvCjWr6bZQ140EHIobdz8SU95w3jxx54f rYlpSzHRhXbT3SbjPpBAtyV+wQW17ulTROVCop6Uq4ZrVTuDG25EbSdy4CzDBhQdhCRb dRpPAS0jal8CHT7zSiA4Ud04pYXxq0yYbo/BNRVe+sE5Dwp5vBxKos1R69TV8tsrvE/c l81A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726675848; x=1727280648; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+zFiUviD9KJz0ektdGsjfSQpJHJFRkCbCw2YQU0Yvjs=; b=n27VkNuNgiORbO/IcY/YKsdbVtIZqhjU/Slkyq2WD4aNw7z0B4+GE22nvGvZqjS48T mJh/OKmnBGQN9Ft3Ux/ryMuPdMvJcsdx1mjR2witgqIikEb7N1kCYrgpFgm3amuQpxTR Yp89Jdnzt2R2XRdqXy2D/iFXgLoInBQuPeKTB/3vbEJRh9P+JtdkAOl2T084kFYODRoY d+4neE901jpp9xOcGj0Q6jBWXBaoshJpwRYV/NP07SsnMfTm1z6ZUNAIqN7YFrAOFStd y8UNCgcP9IXBbgmK7gbK03TElAoIkKXKYs/XW74tcXfQVITEj1qIAZMVzk8uS/dIFMuW v/WQ==
X-Forwarded-Encrypted: i=1; AJvYcCUxeQR38GSRYkk7NL17v7Bfjp3mGmHs5j/3qCmOf2P7Ow6OGn9nqVepnmrc8QRqscHzy38cTLw=@ietf.org
X-Gm-Message-State: AOJu0YzXqvIFnYndM9d7iMjDOzWUyXUXBFZJ3z86XHtFtwXMOSAe/N4M kTn8XBKPtvdVumdiyEGFC810/7/iMIwB7C8bfwbTkepiefXQjOgzvMiqJvu2
X-Google-Smtp-Source: AGHT+IEhwvrmzzL8kmWbAtCha7EK0HeBoUMXWj+hP0taDc0JFb7TMFPAJdtFfiSKN2la+YQsQrwyrw==
X-Received: by 2002:a17:90a:1349:b0:2d8:a19e:735f with SMTP id 98e67ed59e1d1-2dba00655f7mr28207355a91.34.1726675848160; Wed, 18 Sep 2024 09:10:48 -0700 (PDT)
Received: from smtpclient.apple (c-69-181-169-15.hsd1.ca.comcast.net. [69.181.169.15]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2dd6089fcdasm1854014a91.16.2024.09.18.09.10.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Sep 2024 09:10:47 -0700 (PDT)
From: Mahesh Jethanandani <mjethanandani@gmail.com>
Message-Id: <433C4E14-A9F5-435C-93E7-42266D68553E@gmail.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_FB6A42DA-A375-4DC7-AECB-18EA136C15F0"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Date: Wed, 18 Sep 2024 09:10:45 -0700
In-Reply-To: <DU2PR02MB101601D568F5AA4CD8272FA5C88622@DU2PR02MB10160.eurprd02.prod.outlook.com>
To: mohamed.boucadair@orange.com
References: <DU2PR02MB10160B7C5E0C210F82B774BD788642@DU2PR02MB10160.eurprd02.prod.outlook.com> <01000191e5e7bd22-2999d337-8925-470f-abb4-890ca32884aa-000000@email.amazonses.com> <DU2PR02MB10160807B1741AC3C990199AF88642@DU2PR02MB10160.eurprd02.prod.outlook.com> <01000191e6f83d74-cc10b47d-554c-4882-8da0-37ba8861baeb-000000@email.amazonses.com> <DU2PR02MB101601D568F5AA4CD8272FA5C88622@DU2PR02MB10160.eurprd02.prod.outlook.com>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
Message-ID-Hash: TGSRVZCI4CLXTYMJ3KHSMZI3BR6EJRSS
X-Message-ID-Hash: TGSRVZCI4CLXTYMJ3KHSMZI3BR6EJRSS
X-MailFrom: mjethanandani@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-netmod.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Kent Watsen <kent+ietf@watsen.net>, "netmod@ietf.org" <netmod@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [netmod] Re: AD - Re: AUTH48: RFC-to-be 9644 <draft-ietf-netconf-ssh-client-server-40> for your review
List-Id: NETMOD WG list <netmod.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/niVhvXmQM8o7-NJ5qG1Oyko58Qs>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Owner: <mailto:netmod-owner@ietf.org>
List-Post: <mailto:netmod@ietf.org>
List-Subscribe: <mailto:netmod-join@ietf.org>
List-Unsubscribe: <mailto:netmod-leave@ietf.org>

Hi Med,

Thanks for making the updates. One edit I would make is the link to the wiki page where the security considerations reside. It is:

https://wiki.ietf.org/en/group/ops/yang-security-guidelines

Once it is finalized here, I will ask the secretariat to update the template at that link.

Thanks.

> On Sep 18, 2024, at 7:59 AM, mohamed.boucadair@orange.com wrote:
> 
> Hi Kent,
>  
> Thanks for the follow-up.
>  
> I went with many of your proposals. For “have to use/have mandatory/MUST use”, I went for “have to use” for now. The use of normative language may be questionable as this is more about use, less of an interop matter. 
>  
> A full diff to track changes can be seen here: https://author-tools.ietf.org/api/iddiff?url_1=https://netmod-wg.github.io/rfc8407bis/draft-ietf-netmod-rfc8407bis.txt&url_2=https://netmod-wg.github.io/rfc8407bis/sec-comment-from-Kent/draft-ietf-netmod-rfc8407bis.txt <https://author-tools.ietf.org/api/iddiff?url_1=https://netmod-wg.github.io/rfc8407bis/draft-ietf-netmod-rfc8407bis.txt&url_2=https://netmod-wg.github.io/rfc8407bis/sec-comment-from-Kent/draft-ietf-netmod-rfc8407bis.txt>.
>  
> Let me know if there are other occurrences that I missed where we need to follow “modeled after” approach. Thank you.
>  
> Cheers,
> Med
>  
> De : Kent Watsen <kent+ietf@watsen.net> 
> Envoyé : jeudi 12 septembre 2024 18:02
> À : BOUCADAIR Mohamed INNOV/NET <mohamed.boucadair@orange.com>
> Cc : Mahesh Jethanandani <mjethanandani@gmail.com>; netmod@ietf.org
> Objet : Re: [netmod] AD - Re: AUTH48: RFC-to-be 9644 <draft-ietf-netconf-ssh-client-server-40> for your review
>  
> 
> Hi Med,
>  
> Sorry this is taking so long, but we’re getting there!  ;)
>  
>  
> The reference of QUIC is to the protocol, RFC 9000, not NETCONF over QUIC, an I-D as you note; just as the reference is to SSH protocol, RFC 4252, not NETCONF over SSH, RFC 6242.
> [Med] I understand the intent is to cite the transport themselves, but the text refers to MTI of these “YANG-based management protocols”. I don’t think we can make any claim about QUIC here as we don’t have an authoritative spec for that. If we want to cite QUIC, some further tweaking to the text is needed, IMO.
>  
> RESTCONF already supports QUIC. 
> [Med] Yes, RESTCONF does not  require a specific version of HTTP but still TLS is what is indicated as MTI for RC per rfc8040#section-2.1.
>  
> I was thinking about this nuance too.  QUIC uses TLS, so I think rfc8040#section-2.1 is still satisfied.  That said, the NETCONF WG will be working on a RESTCONF-next version, for which it would be easy to add some clarifying text - agreed?   I just added this (https://github.com/netconf-wg/restconf-next/issues/19 <https://github.com/netconf-wg/restconf-next/issues/19>) - good for now?
>  
> No transport-binding document will be written to enable QUIC for RC. 
> [Med] Isn’t rfc9114 that is applicable for RC, rather than 9000?
>  
> RFC 9112: HTTP/1.1 (i.e., TCP-or-TLS over TCP)
> RFC 9113: HTTP/2 (i.e., TLS over TCP)
> RFC 9114: HTTP/3 (i.e., QUIC, i.e., TLS over UDP)
>  
> If we ref 9114, then we’d have to ref the others also, which isn’t what we want.  This is why 9000 is refed - makes sense?
>  
> 
> 
> [mj] Why do you say that? The statement says the protocols have mandatory-to-implement …
> [Med] Having an MTI does not mean that MTI is actually used/enabled.
>  
> Touché  :)
>  
> One could process “implement” to be at the runtime-level or code-level.  I meant the former, and see that you’re interpreting the later, which is fair. 
>  
> First, I wonder if there isn’t a formal definition for MTI that disambiguates the two cases.  Looking, I see MTI used in the context of algorithms, which lends itself to the “code level” interpretation.  Fine. 
>  
> [Med] Thanks
>  
> Then either s/implement/use/  or  s/-to-implement// ?
> [Med] « have to use » would be better, IMO.
>  
> Hmmm, so this?
>  
> These protocols have to use a secure transport layer (e.g., SSH [RFC4252], TLS [RFC8446], QUIC [RFC9000]) and have to use mutual authentication.
>  
> vs
>  
> These protocols have mandatory to use secure transport layers (e.g., SSH [RFC4252], TLS [RFC8446], QUIC [RFC9000]) and mandatory to use mutual authentication.
>  
> Vs
>  
> These protocols have mandatory secure transport layers (e.g., SSH [RFC4252], TLS [RFC8446], QUIC [RFC9000]) and mandatory mutual authentication.
> 
> 
> Of the three, I like the last one most, but like the first one (yours) next.   I like the last one since the statement seems stronger.  One idea might be this:
> 
> 
> These protocols MUST use a secure transport layer (e.g., SSH [RFC4252], TLS [RFC8446], QUIC [RFC9000]) and MUST use mutual authentication.
> 
> 
> But I don’t think RFC2119 language should be in the Security Considerations section.
>  
> Thoughts?
>  
> 
> 
> This section is modeled after the template described in Section 3.7 of [RFCAAAA].
>  
> This first line wasn’t picked up.  Note that the word “modeled” gives an authors a little flexibility, as is needed sometimes.  
>  
> To point, the RFC Editor takes the words literally and raise issues when things aren’t exactly same…until this word was changed. 
>  
> Honestly, the same should be done to all of the templates defined in the document.  
>  
> [Med] This is fair. Please see: https://github.com/netmod-wg/rfc8407bis/commit/972970ce16c050d8420f50f07637f4e00770cdd5 <https://github.com/netmod-wg/rfc8407bis/commit/972970ce16c050d8420f50f07637f4e00770cdd5>
>  
> Thanks, both for accommodating and the link.
>  
> Looking at the PR, it is only for this template.  Do you not agree that “modeled after” is good for all of the templates?
>  
>  
> 
> 
> The "<module-name>" YANG module defines a data model that is designed to be accessed via YANG-
>  
> IIRC, you use different words than “data model”.   I’m trying to use sufficiently ambiguous language that includes also modules that only define identities, or only enumerations, or only typedefs, etc.  
>  
> I was going to write “data model, or parts of data models,” but it seemed unnecessarily wordy and obscures the main point of the sentence. 
>  
> I don’t deny that my text could be improved, but your take didn’t seem right either. 
>  
> Can you reply to this?
>  
> So we have:
>  
> The "<module-name>" YANG module defines a data model that is designed to be accessed via YANG-based management protocols, 
>  
> vs.
>  
> The "<module-name>" YANG module defines a schema for data that is designed to be accessed via YANG-based management protocols,
>  
>  
> 
> 
> FWIW, I only know about your changes to my text because I received GitHub notifications.  Was a link for the PR sent?  In any case, it would’ve been nice if you’d stated that changes had been made, rather than me having to discover them on my own. 
>  
> [Med] I didn’t share the PR because that wasn’t ready yet and I was waiting for the discussion to converge to have something I’m more happy with it. Now that you are on it, feel free to propose your edits directly there :-) Thanks.
>  
> I’m unsure what you mean, but I don’t want to submit PRs and, honestly, I don’t want to look at PRs.  I want the full conversation to be on the list. 
>  
>  
> Kent // contributor
>  
>  
> ____________________________________________________________________________________________________________
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
> 
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.