Re: [netmod] security considerations boilerplate updates to cover RESTCONF

Benoit Claise <bclaise@cisco.com> Wed, 15 March 2017 16:45 UTC

Return-Path: <bclaise@cisco.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 11F6B1316AA; Wed, 15 Mar 2017 09:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.521
X-Spam-Level:
X-Spam-Status: No, score=-14.521 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 4Ff-2LPeW9ZY; Wed, 15 Mar 2017 09:45:27 -0700 (PDT)
Received: from aer-iport-2.cisco.com (aer-iport-2.cisco.com [173.38.203.52]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AF52F1316A1; Wed, 15 Mar 2017 09:45:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=9517; q=dns/txt; s=iport; t=1489596327; x=1490805927; h=subject:to:references:from:cc:message-id:date: mime-version:in-reply-to; bh=Uf3scEEE8n+0kHZGZZZw4Kem5e9QgN1sKejj8jlmn9I=; b=NZk7KZ1xCMom37NW+D16EdgnzK/VZTAjKkIy0axm8tmbm2u5Hbw2zDFC mLr7LkAQBgNeq/BCMQUmeBni6GfldaNCUwwNhihaRbzYq0b27p+nP/auA XzUF60HoIFM5uz9s2cb42TmmnLiPalWwLngb79IAq7AWIB4feeCJQeZrc 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0DkAQAqb8lY/xbLJq1dGgEBAQECAQEBAQgBAQEBhDIqYI1tc5BjkA+DHoIPgg4qhXgCgy4YAQIBAQEBAQEBayiFFgEEAXkFCwtGVxMIAQGJdAgOsHArijQBAQEBAQEEAQEBAQEBAQEBH4ZOggWCaoo5BZxDhnaLRYF7VIgDI4YwiziIDw8QOIEEIxYIFxVBhlg/NQEBiTABAQE
X-IronPort-AV: E=Sophos;i="5.36,169,1486425600"; d="scan'208,217";a="650450186"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Mar 2017 16:45:24 +0000
Received: from [10.60.67.87] (ams-bclaise-8916.cisco.com [10.60.67.87]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id v2FGjNvY007517; Wed, 15 Mar 2017 16:45:23 GMT
To: netmod@ietf.org
References: <20170313212537.GB53972@elstar.local>
From: Benoit Claise <bclaise@cisco.com>
Cc: "sec-ads@ietf.org" <sec-ads@ietf.org>
Message-ID: <7de29e11-f045-b0a1-808f-38044f6f7352@cisco.com>
Date: Wed, 15 Mar 2017 17:45:24 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1
MIME-Version: 1.0
In-Reply-To: <20170313212537.GB53972@elstar.local>
Content-Type: multipart/alternative; boundary="------------897996A7A7C648C0E15B99A6"
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/dMcTPmoLO-4lhEH-cVj-ryuzt1U>
Subject: Re: [netmod] security considerations boilerplate updates to cover RESTCONF
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Mar 2017 16:45:29 -0000

Dear all,

[copying the security ADs to make sure the new security section is fine]
Let's separate the two issues

1. the multiple URLs in draft-ietf-netmod-rfc6087bis-12.txt
Basically, I agree with Jürgen
I see section 4.7:

        This section MUST be patterned after the latest approved template
        (available athttp://trac.tools.ietf.org/area/ops/trac/wiki/
    <http://trac.tools.ietf.org/area/ops/trac/wiki/yang-security-guidelines>
        yang-security-guidelines
    <http://trac.tools.ietf.org/area/ops/trac/wiki/yang-security-guidelines>).Section 7.1
    <https://tools.ietf.org/html/draft-ietf-netmod-rfc6087bis-12#section-7.1>  contains the security
        considerations template dated 2013-05-08.  Authors MUST check the WEB
        page at the URL listed above in case there is a more recent version
        available.

Then, I see section 7:

       The following section contains the security considerations template
        dated 2010-06-16.

Not sure why it contains this cut/paste? It should just say: the latest 
version is at this URL.
Then, I see in the same section:

    This section MUST be patterned after the latest approved
        template (available at

         http://www.ops.ietf.org/netconf/yang-security-considerations.txt

This page is not found.
This should be corrected in rfc6087bis.


2. the new security guidelines must include RESTCONF.
At this point, this is a blocking factor for the publication of YANG 
module. As an example,
draft-ietf-lmap-yang-11 
<https://datatracker.ietf.org/doc/draft-ietf-lmap-yang/>, A YANG Data 
Model for LMAP Measurement Agents, on the telechat tomorrow.
As mentioned the most up to date version is 
https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines

Here is the proposal, discussed on the YANG doctors list:


             OLD

        The YANG module defined in this memo is designed to be accessed
        via the NETCONF protocol [RFC6241]. The lowest NETCONF layer is
        the secure transport layer, and the mandatory-to-implement
        secure transport is Secure Shell (SSH) [RFC6242]. The NETCONF
        access control model [RFC6536] provides the means to restrict
        access for particular NETCONF users to a pre-configured subset
        of all available NETCONF protocol operations and content.

        NEW

        The YANG module defined in this memo is designed to be accessed
        via the NETCONF [RFC6241] or RESTCONF [RFC8040] protocol. The
        lowest NETCONF layer is the secure transport layer, and
        mandatory-to-implement is Secure Shell (SSH) [RFC6242], while
        the lowest RESTCONF layer is HTTP, and the
        mandatory-to-implement secure transport is Transport Layer
        Security (TLS) [RFC5246].
        The NETCONF access control model [RFC6536] provides the means to
        restrict access for particular NETCONF or RESTCONF users to a
        pre-configured subset of all available NETCONF or RESTCONF
        protocol operations and content.

Any objections?
Have covered all that we need for the new RESTCONF protocol?

Regards, Benoit


> Hi,
>
> this came up during IESG processing of a YANG module - is there a new
> security guideline boilerplate text covering RESTCONF? This was
> briefly discussed on the yang-doctors but somehow the discussion
> stopped because RESTCONF was not published yet at that time. I think
> this affects draft-ietf-netmod-rfc6087bis-12.txt.
>
> draft-ietf-netmod-rfc6087bis-12.txt has several pointers to read
> online documents - why do we need several points? I think some are
> also not working. Ideally, there should be a single stable URL.
>
> /js
>