Re: [I2nsf] [IPsec] [Last-Call] New Version Notification for draft-ietf-i2nsf-sdn-ipsec-flow-protection-11.txt

Valery Smyslov <smyslov.ietf@gmail.com> Thu, 05 November 2020 15:33 UTC

Return-Path: <smyslov.ietf@gmail.com>
X-Original-To: i2nsf@ietfa.amsl.com
Delivered-To: i2nsf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F0C93A131A; Thu, 5 Nov 2020 07:33:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, SPF_HELO_NONE=0.001, SPF_PASS=-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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EqnIPx0aElNO; Thu, 5 Nov 2020 07:33:43 -0800 (PST)
Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 B1E203A13EF; Thu, 5 Nov 2020 07:33:30 -0800 (PST)
Received: by mail-wr1-x436.google.com with SMTP id y12so2256700wrp.6; Thu, 05 Nov 2020 07:33:30 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:content-language :thread-index; bh=T1yO4i6PtXUsoWe+qfhS9zXAIN4qRyFMx0tlUc+qWLE=; b=h47u278Mvay6oHljts3iBe0hsvgR4irAOM4TTTSeChssjlDzX+87QW01rBhanqks2n cHH3O9I9qhhfsNAGTtWfKIxIaPK2QZ5B3/Fgm5x4jg7rrFNy7xJGmC//7Xtf0poU08gP lvcerAU4H3Gn1E1ufLIJ26AyQjicXJTemkaiDpi3gJ7wKXulYORrDDqCzK43EO7Et26r 0oO1tYyRf7tQjzPIyB5ueDzf0GuYP4Hc1UxZ/0FWNcz7l0twCtQcCaoX7ZZ4ze0wJ8ma 8t3MSgFt+1t1KZExt9NRhwIAbftSQZxy/HOZ86E/+GrbBMqdgJP4OLIXZjTe9vpwQTz8 CSoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:content-language :thread-index; bh=T1yO4i6PtXUsoWe+qfhS9zXAIN4qRyFMx0tlUc+qWLE=; b=E3f9e477OBV/WIip0Un3CRnNzbBwZe6dSwOtd1zmTxkiRYCwoVtVqRo/y0XsXeWpnL 3eYEqtNAy2yFgIJNmDNjS0dX5Hz66dYbn53lKtBWf6zLyJh2yekJit+xoxAJlA60/4/m XidIOvz789fBEcXW357a2m8akxx6WzJDuQGaNaMHc26/a0ofvuxhHL39Kql3mt6C929r uHP6n59KBkX0mpevqmYxPdvLlgcMN177yl5NeTqJnEpErZNCnNGmQVUrL4fBvMTcuuCa k729Ax5nDMfxLjisZurLZmBDSGbDnwW+2G+VDalE3JtaEGxG2YXZ9DkOkNzOs90/4RWu OO7w==
X-Gm-Message-State: AOAM532c/Z8uA+cM1XbsVAKGK0iDF8kxKLvB5Q+yoZUqmCTuEkH7bwFi eXGIYh3HzZAKvgU8SZHODBA=
X-Google-Smtp-Source: ABdhPJyIj3P6fpF/0qmAUfawf0o0XsfWLzD5JKOpdAuOCrzjMgk8YxK3MYQEhlUfVlIguSIAJNAP7w==
X-Received: by 2002:adf:ce0b:: with SMTP id p11mr3615781wrn.318.1604590409101; Thu, 05 Nov 2020 07:33:29 -0800 (PST)
Received: from buildpc ([93.188.44.203]) by smtp.gmail.com with ESMTPSA id g14sm3128880wrx.22.2020.11.05.07.33.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Nov 2020 07:33:27 -0800 (PST)
From: Valery Smyslov <smyslov.ietf@gmail.com>
To: 'tom petch' <daedulus@btconnect.com>, 'Tero Kivinen' <kivinen@iki.fi>, 'Roman Danyliw' <rdd@cert.org>
Cc: 'Fernando Pereniguez-Garcia' <fernando.pereniguez@cud.upct.es>, i2nsf@ietf.org, 'Gabriel Lopez' <gabilm@um.es>, ynir.ietf@gmail.com, ipsec@ietf.org, last-call@ietf.org, 'Rafa Marin-Lopez' <rafa@um.es>
References: <160337357077.29083.9236626834026808055@ietfa.amsl.com> <EE5AB669-73BB-4517-A6F4-23B7807FB36E@um.es> <5F9815D1.9010303@btconnect.com> <DDE550B1-9A9E-4954-B6F9-C0A33ECE1275@um.es> <5F99B221.3040504@btconnect.com> <56155C91-BFE8-4BA9-A55C-46B12E59CD94@um.es> <5F9AEFD3.90903@btconnect.com> <059aaae84a354411ad1023afa2a837ba@cert.org> <5F9BF578.6000101@btconnect.com> <834a668ac559460a9f356bbb6c16b8fd@cert.org> <24476.38596.868667.906930@fireball.acr.fi> <5F9D62C0.5030908@btconnect.com> <000001d6af8e$43baa2d0$cb2fe870$@gmail.com> <5FA14709.6080903@btconnect.com>
In-Reply-To: <5FA14709.6080903@btconnect.com>
Date: Thu, 05 Nov 2020 18:33:19 +0300
Message-ID: <009901d6b388$fdb303a0$f9190ae0$@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: ru
Thread-Index: AQIoWC6Ry6044q/zCrCUKcB+KBw60wJiaB/IAqnvI9sBjCP/TgJL0fDJAoEYK+kB00mNbgLfgwdiAuAT4rcCA2fXuQGCTHRUAkPcMRwB9tjBpQID2bNrqC/q+fA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/i2nsf/17Ax40b0XH9k92ngun2V1yb5s9Y>
Subject: Re: [I2nsf] [IPsec] [Last-Call] New Version Notification for draft-ietf-i2nsf-sdn-ipsec-flow-protection-11.txt
X-BeenThere: i2nsf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "*I2NSF: Interface to Network Security Functions mailing list*" <i2nsf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i2nsf/>
List-Post: <mailto:i2nsf@ietf.org>
List-Help: <mailto:i2nsf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2nsf>, <mailto:i2nsf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Nov 2020 15:33:48 -0000

Hi Tom,

> > we discussed with the chairs the usefulness of adding "Recommended/Not
> > recommended" column
> > (as TLS WG did) into the IKEv2 algorithm registries back in 2018 in Bangkok
> > and I was one who
> > of those who initially suggested this. However, Tero made a very good point
> > that
> > IANA doesn't have any public history. So, in the ipsecme WG another approach
> > was taken - we have RFCs that say which algorithms are recommended/not
> > recommended
> > for ESP and for IKEv2 and these RFCs are updated periodically.
> >
> >> Thanks for getting back to me.  What is missing from the IANA registry
> >> is the guidance as to the status of the algorithm, how highly it is
> >> recommended or not.  This I-D tells people to go to RFC8247 and the IANA
> >> Registry for advice; RFC8247 gives that advice; the IANA web page does
> > not.
> >
> > As Tero said, the IANA web page references current RFCs (8221 & 8247 at the
> > moment)
> > that list recommended algorithms. Just one more level of indirection. All
> > algorithms that are not listed
> > in these RFC are treated as "not recommended" by default, including newly
> > added algorithms.
> >
> >> And RFC8247 specifies which algorithm are AEAD, the web page does not.
> >> The YANG module behaves differently depending on whether or not the
> >> algorithm is AEAD; YANG implementors need to know, having this
> >> information on the web page would make it easier for YANG implementors.
> >
> > Is is a problem to open corresponding RFC or I-D? Or do you want to say that
> >
> > YANG implementers don't need any other information about algorithms
> > except whether it's AEAD and whether it's recommended?
> 
> Valery
> 
> The problem I see is where to direct readers of the i2nsf-sdn to for
> more information, about which algorithms are recommended, or not, and, a
> secondary consideration, whether they are AEAD or not, since the latter
> affects the YANG module.  The I-D has lots of references to RFC7296 and
> that RFC is very clear - for up-to-date information go to IANA.  The RFC
> that update RFC7296 do not appear to update that advice.  And the i2nsf
> I-D also contains references to IANA often alongside a reference to an
> RFC.  You seem to be saying that IANA is only a good reference if it
> points to an RFC that says so which may not match the expectations of
> users (particularly those who are familiar with the approach of the TLS
> WG).  If they are pointed to IANA they may well expect IANA to be the
> best source of information but you seem to be saying that the WG decided
> not to support that, rather expecting people to read the RFC.  If IANA
> said 'use this to find the RFC but do not otherwise trust this
> information' that would be fine, well in a manner of speaking:-)
> 
> So, question.  What references should draft i2nsf-sdn point readers to
> for up-to-date information on algorithms (assuming that they do not
> track the IETF WG that updates information on IKEv2 ie like me)?
> Currently that is both a reference to the IANA registry and to an RFC;
> is that your best advice?

I believe a reference to IANA suffices. Note, that IANA algorithms registries have 
notes referencing RFCs with up-to-date information about algorithms status.
E.g. for encryption algorithms the following note appears in the registry:

    Note
	To find out requirement levels for encryption algorithms for
	ESP, see [RFC8221]. For IKEv2, see [RFC8247].

> Were I an author of this I-D, as opposed to a reader thereof, then based
> on what you say I would remove references to the IANA website or at
> least qualify them with some statement that they need to check the RFC
> for current information!

IANA website has already contained this statement and references the most recent 
RFCs for IKEv2 and for ESP containing algorithms requirement levels.

> What would you advise?

As I've already said, I believe sole reference to IANA webpage is enough 
for careful reader, because IANA has notes mentioned above with 
references to up-to-date RFCs describing current algorithms status.
However, I think that referencing both RFCs and IANA in the I-D won't hurt anyway.

Whether algorithms are AEAD or not is different thing. Currently this information
is missing on the IANA webpage, so one must look into the each algorithm
specification to learn it...

Regards,
Valery.

> Tom Petch
> 
> >
> > Regards,
> > Valery Smyslov.
> >
> >> And RFC8247 specifies IoT, which I do not think is yet a consideration
> > here.
> >>
> >> As I said, we are currently ok but as new algorithms get added, by
> >> Expert Review, then that information is needed and may not be available
> >> as there is no requirement for the Expert Reviewer to make it available.
> >>
> >> As I said to Roman, the TLS WG found that they needed to add extra
> >> columns to their web pages of algorithms.  Different columns (e.g. DTLS
> >> not AEAD) but I think that the situation is otherwise identical so I am
> >> anticipating that in a year or two you will see what I mean:-).  In
> >> passing, the TLS WG determine by consensus what the status is for a new
> >> algorithm but the Expert Reviewer makes it available via the web site
> >> whether or not it is in an RFC.
> >>
> >> I take your point about duplicating data - no relational databases here!
> >> - but the answer is to specify which is authoritative and for me that
> >> should be the IANA pages as it is for many assignments in the context of
> >> YANG and before that SMI going back decades.
> >>
> >> Tom Petch
> >>