Re: [netconf] Roman Danyliw's Discuss on draft-ietf-netconf-notification-capabilities-18: (with DISCUSS and COMMENT)

Andy Bierman <andy@yumaworks.com> Wed, 06 October 2021 16:22 UTC

Return-Path: <andy@yumaworks.com>
X-Original-To: netconf@ietfa.amsl.com
Delivered-To: netconf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E85EA3A1F00 for <netconf@ietfa.amsl.com>; Wed, 6 Oct 2021 09:22:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.887
X-Spam-Level:
X-Spam-Status: No, score=-1.887 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=yumaworks-com.20210112.gappssmtp.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 LFMk_lUmZ8I7 for <netconf@ietfa.amsl.com>; Wed, 6 Oct 2021 09:22:29 -0700 (PDT)
Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 6E1143A1F02 for <netconf@ietf.org>; Wed, 6 Oct 2021 09:22:29 -0700 (PDT)
Received: by mail-lf1-x132.google.com with SMTP id x27so12788963lfu.5 for <netconf@ietf.org>; Wed, 06 Oct 2021 09:22:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yumaworks-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WCLTU9jmNa7jr2gwS9yuQ7jyFHKsohgY659rLiowMLk=; b=bIYBX5/9BjjWrad77wxrmX4M/3gfxtFXeA8/pJPr/51LDgM8K0KBYSsmVFPk85/fWa sWqFkQQxlYI08lKywUNi125z5ZLWstRS7fBd+Ugh+T4e83/g36jVem8rT9lQQyqjXlrI vhSLFD2rOC6J3tGeeOdBFZE18tdTgYNhjxsPG+Cbg7wxLbMHKCPc3eYLOMSOjElleD70 ewUhLO+KNOdkP4KDivpTK3Em2NAsyBZACAmIa2zyjNig/yTu1AYg3YqTKFBWAj2B+y7J oY9a85ijUC0a5rnJuFDGVqCO1w0Ng2NNCB/Dw1bGW0oN01N/R6watMNjednOWk3xyoSd J6IQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WCLTU9jmNa7jr2gwS9yuQ7jyFHKsohgY659rLiowMLk=; b=jgyiT3KFY7bg8jNUJX079cHb48FaYRxrvwGYXq+lFBYnCC9ZuhzX1/GEQ49WlurBfh HubfMgd33hy2vjQVLX124aL8vufx9jHbvoruY2w1ZrLPJsibT0r0kEQZeGqs6XY5+Yn8 ey2HSBgSIETz8pXSiG34/hBkn0wRhkeKq1Dl6l+xCxaa/tvCQCgzKHhuO/vpjPc7Y1PK wsmKJccQF50YVMnNqHqXysNhHip+KcwTs8TBCfkc+Tu1YcBk/NQSzVe8z/nLOzmfcgl3 VtIQip2o3Oa0dCtlXhURlFEVUJipnXFQJUx0n+/4rfWtTCtJ7aK8SLKkQpOHsHyt5AW0 sD4g==
X-Gm-Message-State: AOAM533dJzwrF0PxHHdCICn3ETbTbb2PxfXACWZ32HBurwAYmFD264Dt ooUk2JzFMsUDyFvARBP9armsSHQsUZrXd178lJJRyQ==
X-Google-Smtp-Source: ABdhPJyf/SPk+TYvskEA2XEWhEmZ6h5gzrm7kGDgM6yw14fSEKMtiSDOc1BvWOMGGray1UhpV2x2aGzUIcRsWeVVLTM=
X-Received: by 2002:a05:6512:963:: with SMTP id v3mr10391638lft.38.1633537346959; Wed, 06 Oct 2021 09:22:26 -0700 (PDT)
MIME-Version: 1.0
References: <163353160729.6935.6720178743008561525@ietfa.amsl.com>
In-Reply-To: <163353160729.6935.6720178743008561525@ietfa.amsl.com>
From: Andy Bierman <andy@yumaworks.com>
Date: Wed, 06 Oct 2021 09:22:16 -0700
Message-ID: <CABCOCHRYFn49rzPmmm4Hq-iGKCFhFzWzDF9fgsCuE3tqREYniw@mail.gmail.com>
To: Roman Danyliw <rdd@cert.org>
Cc: The IESG <iesg@ietf.org>, NETCONF Working Group <netconf-chairs@ietf.org>, draft-ietf-netconf-notification-capabilities@ietf.org, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004b12c705cdb18def"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/ocK34lg8LfY0MJus58Ku39BjCQY>
Subject: Re: [netconf] Roman Danyliw's Discuss on draft-ietf-netconf-notification-capabilities-18: (with DISCUSS and COMMENT)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: NETCONF WG list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netconf/>
List-Post: <mailto:netconf@ietf.org>
List-Help: <mailto:netconf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Oct 2021 16:22:34 -0000

On Wed, Oct 6, 2021 at 7:47 AM Roman Danyliw via Datatracker <
noreply@ietf.org> wrote:

> Roman Danyliw has entered the following ballot position for
> draft-ietf-netconf-notification-capabilities-18: Discuss
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
> Please refer to https://www.ietf.org/blog/handling-iesg-ballot-positions/
> for more information about how to handle DISCUSS and COMMENT positions.
>
>
> The document, along with other ballot positions, can be found here:
>
> https://datatracker.ietf.org/doc/draft-ietf-netconf-notification-capabilities/
>
>
>
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>
> The text contains contradictions on how to handle implementation-time use
> case
> that might use the YANG file format.
>
> (a) Section 2. “The file MUST be available already at implementation time,
> retrievable in a way that does not depend on a live network node.  E.g.,
> download from product website.”
>
>

I have never seen text like the above paragraph in an RFC for a YANG module
before.
IMO it sets a bad precedent and should be removed.  The info reported in
this YANG module
is not critical to the operation of YANG Push.  I am curious why this
requirement is here at all,
let alone a MUST requirement.

Every other YANG monitoring module is expected to be retrievable from a
server
that advertises conformance to that module, without any requirements placed
on the vendor's WEB site contents (as if that is interoperable anyways).
I do not see any reason this YANG module needs additional requirements.


Andy




> (b) Section 2. “The YANG modules specified in this document define a
> schema for
> data that is designed to be accessed via network management protocols such
> as
> NETCONF [RFC6241] or RESTCONF [RFC8040].  … The Network Configuration
> Access
> Control Model (NACM) [RFC8341] provides the means to restrict access for
> particular NETCONF or RESTCONF users”
>
> (c) Section 2.  “When that data is in file format, data should be protected
> against modification or unauthorized access using normal file handling
> mechanisms.”
>
> (a) – (c) cannot all be satisfied at the same time.  (b) seems to only
> apply to
> the run-time use cases.  (a) and (b) seem to apply to the implementation
> time
> use cases.  Please make this clearer.
>
> Per (c), it might be clearer to keep this text, but also noting that using
> the
> YANG file format inherits all of the security considerations of
> draft-ietf-netmod-yang-instance-file-format which has additional
> considerations
> about read protections; and distinguishes between data at rest and in
> motion.
>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> Thank you to Barry Lieba for the SECDIR review.
>
> ** Section 6.  I’m surprised by the statement that “The data in these
> modules
> is not security sensitive” given that the specific YANG module that might
> be
> annotated is unknown.  Would it be possible for an attacker to glean any
> topology information by reviewing the notification properties of module?
> Could
> they poll this interface to inform real-time targeting since Section 1
> notes
> that “capabilities might change during run-time”?
>
>
>
> _______________________________________________
> netconf mailing list
> netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>