Re: [Lsr] Roman Danyliw’s DISCUSS on draft-ietf-ospf-yang-26

"Acee Lindem (acee)" <acee@cisco.com> Mon, 26 August 2019 15:43 UTC

Return-Path: <acee@cisco.com>
X-Original-To: lsr@ietfa.amsl.com
Delivered-To: lsr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E7E012083F; Mon, 26 Aug 2019 08:43:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, SPF_PASS=-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 header.b=cJpIYwD6; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=zE6gR6bV
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 zWQrpZV_ojTG; Mon, 26 Aug 2019 08:43:32 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2D28F120836; Mon, 26 Aug 2019 08:43:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=32855; q=dns/txt; s=iport; t=1566834212; x=1568043812; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=ww7ywieaxiv2TR/czwBw5p+cFpCaIAVnft6MriksVjQ=; b=cJpIYwD6FmmBta63drK7Cadp7Fjq0nrYPoTMvglVzL0N4Wm112elZMY7 Jiul+njpIceoivjspsgJo5ebolbSzC6f8QYMrZqH4FxhaBArhuHmzRuSq +ZjGKmwLGzwVTvwZ1JNJ9EGVwDQQ/NaeXMV/EH9V4ZCGElwJAPPSjTItw 4=;
IronPort-PHdr: 9a23:OtV8VRFgb705O8Yte8/KcZ1GYnJ96bzpIg4Y7IYmgLtSc6Oluo7vJ1Hb+e4w0Q3SRYuO7fVChqKWqK3mVWEaqbe5+HEZON0ETBoZkYMTlg0kDtSCDBjyJ/PnRyc7B89FElRi+iLzPA==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B7AADB/WNd/4MNJK1kGQEBAQEBAQEBAQEBAQcBAQEBAQGBZ4EWL1ADbVYgBAsqhCGDRwOKboJciWCOCIJSA1QJAQEBDAEBIwoCAQGEPwIXglAjOBMCCgEBBAEBAQIBBgRthS0MhUoBAQEBAxIRHQEBNwEPAgEIDgMDAQEBIQcDAgICHxEUBgMIAgQBDQUigwABgR1NAx0BAgydVwKBOIhhc4EygnsBAQWEfw0LghYDBoE0ih+BUxiBf4ERJx+CTD6CGkcCgUEBAT4NCYJVMoImjx2FEySIZI12QAkCgh6GaoUBhF6DehuCMocwhBuKUoM0ijSHa4F/jjwCBAIEBQIOAQEFgWchRIEUcBU7KgGCQYJCg3KFFIU/cgyBHYtkgkMBAQ
X-IronPort-AV: E=Sophos;i="5.64,433,1559520000"; d="scan'208,217";a="318834696"
Received: from alln-core-1.cisco.com ([173.36.13.131]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 26 Aug 2019 15:43:31 +0000
Received: from XCH-RCD-008.cisco.com (xch-rcd-008.cisco.com [173.37.102.18]) by alln-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id x7QFhVOu013174 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 26 Aug 2019 15:43:31 GMT
Received: from xhs-rcd-003.cisco.com (173.37.227.248) by XCH-RCD-008.cisco.com (173.37.102.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 26 Aug 2019 10:43:30 -0500
Received: from xhs-rcd-002.cisco.com (173.37.227.247) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 26 Aug 2019 10:43:30 -0500
Received: from NAM04-SN1-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 26 Aug 2019 10:43:30 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oQvPY8oT2vV9zQ4G6d6DPNoCRTZ2nAiRGCNU2kOuRe6xzY9VypFldK2YBS5MYI35LHqB7zonr8nphcziHbqG9AdhdnEpOwOWeZC7H9O6TmvJyng6T+u2/CoyXlpX7kCqoSt9fO7dNrJiv3yhp9YpUFQghTJ2iRiSA6OcedE+8md6gdu1waYmPSiDia/PDcehDnQNjYaSTF3sqof2dqcJqa+aUcUMli75AHTwHeLgctsfBEq8/69LwvHCuBFk7GP2xn/CBSYhndohvbWmk8v6Rn+dqtGXWWw2hChJFUb+wmcik1zZJ6Dn3COM8MMO3W5byV2Z+IKt/UwvgB2TvaLlow==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ww7ywieaxiv2TR/czwBw5p+cFpCaIAVnft6MriksVjQ=; b=UKtWUdFjQIyooGdGpdSFxrlT6fruYc8H6qs9nBw6xPWrqEsZ5Y/jzKU9LbPfuZzhUu1me/6uL34w9z2WHtC8A6P7c3e7t1d0Z0V797ZjM6lfTts4eLcAb5b5R+uIIvfLJJHxlzaC5jN05ccr/hYwp/VlW0WKkKyWBjImlv4Sezi77gOKFjbadY0IUNMBWv9QBrZkMF2hrLtbVP+EtkFb0GEee3jeSEQE1F1UY9pZSHZv+yAg2M+5sVsNTW7Zhqbd577QoarQ4HfHm4u49Kf9hfTPQMwfuqYxAwai1t0aQWEEAlCVB/1YjKnWfGxHPFJOnFqHCN5tkPtGS5TOeJ8e2w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ww7ywieaxiv2TR/czwBw5p+cFpCaIAVnft6MriksVjQ=; b=zE6gR6bVKrOYKxjBkJBTui8dERXoaIld/Af5aulQEZOI4LZ8e6c32B8or+wY/Gp4GH3FLpdwOxSoe7oLq5xfOigi4woOqHSVtaMbRlf8W0qUVrwX+alDeGA3m/4LrAb9OiAICD1w6zqcprgEGB2V/JzDhveWayx0NCNafFjuZJM=
Received: from MN2PR11MB4221.namprd11.prod.outlook.com (52.135.38.14) by MN2PR11MB4048.namprd11.prod.outlook.com (20.179.149.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.20; Mon, 26 Aug 2019 15:43:28 +0000
Received: from MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::cdc1:a2cf:eb3:a420]) by MN2PR11MB4221.namprd11.prod.outlook.com ([fe80::cdc1:a2cf:eb3:a420%6]) with mapi id 15.20.2199.021; Mon, 26 Aug 2019 15:43:28 +0000
From: "Acee Lindem (acee)" <acee@cisco.com>
To: Roman Danyliw <rdd@cert.org>, Alvaro Retana <aretana.ietf@gmail.com>, "draft-ietf-ospf-yang@ietf.org" <draft-ietf-ospf-yang@ietf.org>
CC: Stephane Litkowski <stephane.litkowski@orange.com>, "lsr-chairs@ietf.org" <lsr-chairs@ietf.org>, "lsr@ietf.org" <lsr@ietf.org>, The IESG <iesg@ietf.org>
Thread-Topic: Roman Danyliw’s DISCUSS on draft-ietf-ospf-yang-26
Thread-Index: AQHVWDLCA0dMG1KrR0yv+3jHy3LViKcFnmWAgADs0YCABstYAA==
Date: Mon, 26 Aug 2019 15:43:28 +0000
Message-ID: <8AA02DAD-243E-417F-A0D0-7706BFE03EF3@cisco.com>
References: <CAMMESswWu7E+DHW+8t9y5BXTGn3tqYo=vTR+j536MXcdsNEpog@mail.gmail.com> <44866583-78BC-489A-91F8-EF0419F2DBA0@cisco.com> <359EC4B99E040048A7131E0F4E113AFC01B3439CF1@marathon>
In-Reply-To: <359EC4B99E040048A7131E0F4E113AFC01B3439CF1@marathon>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=acee@cisco.com;
x-originating-ip: [2001:420:c0c4:1003::119]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 3824d7e8-43b1-4bb4-2bf8-08d72a3c2420
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:MN2PR11MB4048;
x-ms-traffictypediagnostic: MN2PR11MB4048:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <MN2PR11MB40488769898E433F0EDBB50EC2A10@MN2PR11MB4048.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:5516;
x-forefront-prvs: 01415BB535
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(39860400002)(136003)(396003)(366004)(346002)(199004)(51914003)(189003)(186003)(606006)(486006)(2616005)(476003)(46003)(6486002)(14454004)(99286004)(36756003)(11346002)(446003)(86362001)(14444005)(256004)(76176011)(66574012)(25786009)(6116002)(2501003)(229853002)(33656002)(8936002)(4326008)(54896002)(6246003)(6306002)(66476007)(76116006)(66556008)(66446008)(66946007)(64756008)(54906003)(478600001)(71200400001)(71190400001)(966005)(236005)(6436002)(6506007)(53546011)(102836004)(6512007)(81156014)(2906002)(53936002)(5660300002)(9326002)(316002)(110136005)(81166006)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR11MB4048; H:MN2PR11MB4221.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: AgNuQum3jBtgaZen+Kg8fv3U9OEyQC11BlpeNHorBM2gqXKSx85CuY5F9rKn1+Rs7Y3OoAcSyEEnUbeFp6H9Sgf7070+w3k7Q98KCZrXi7qhCLm+/WGb/l5RtjBQ3//pRw+GJQ9htOmqzAaAN5pDCN7dRgebkanJ/ZwFVvq+e22sazu0FQyItPYPz2/86ugf8HkSeRYNdYCAgpezQiLo9FIgUSy8CifCdDeMhIIuwkg+V60fyPzyX9tES4eLf+cPidbbW599j3gBHLCt56XPba19vMm+4fS+5jz+zkjfoI3jSsX5qVPwbNAWCrNEEj5VYddt72fYc+sgi5kSIIoeTBIOLej0cHoUihx/TdoB3DrdWlPXJ3B7rcge85UMSihz74RifzEZ0RWKxEPmg76lrUC2SZdzV+sR8VoUIZxvw3s=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_8AA02DAD243E417FA0D07706BFE03EF3ciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 3824d7e8-43b1-4bb4-2bf8-08d72a3c2420
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2019 15:43:28.6598 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: f+Gy4VgkgvI3C5MraZ6wL3ZYySYrwD8XdTny2k8vHmxhpBGPPOj9hiAYwgd9v1hM
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4048
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.37.102.18, xch-rcd-008.cisco.com
X-Outbound-Node: alln-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lsr/6u8Lu9XdRqbEqQZbhWUDE-co2R0>
Subject: Re: [Lsr] Roman Danyliw’s DISCUSS on draft-ietf-ospf-yang-26
X-BeenThere: lsr@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Link State Routing Working Group <lsr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lsr>, <mailto:lsr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lsr/>
List-Post: <mailto:lsr@ietf.org>
List-Help: <mailto:lsr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lsr>, <mailto:lsr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Aug 2019 15:43:36 -0000

Hi Roman,
Please take a look at “Security Considerations” in the -28 version and comment.
Thanks,
Acee

From: Roman Danyliw <rdd@cert.org>
Date: Wednesday, August 21, 2019 at 11:58 PM
To: Acee Lindem <acee@cisco.com>, Alvaro Retana <aretana.ietf@gmail.com>, "draft-ietf-ospf-yang@ietf.org" <draft-ietf-ospf-yang@ietf.org>
Cc: Stephane Litkowski <stephane.litkowski@orange.com>, "lsr-chairs@ietf.org" <lsr-chairs@ietf.org>, "lsr@ietf.org" <lsr@ietf.org>, The IESG <iesg@ietf.org>
Subject: RE: Roman Danyliw’s DISCUSS on draft-ietf-ospf-yang-26

Hi Acee!

Thanks for the explanation.  More inline …

From: Acee Lindem (acee) [mailto:acee@cisco.com]
Sent: Wednesday, August 21, 2019 1:51 PM
To: Alvaro Retana <aretana.ietf@gmail.com>; draft-ietf-ospf-yang@ietf.org
Cc: Roman Danyliw <rdd@cert.org>; Stephane Litkowski <stephane.litkowski@orange.com>; lsr-chairs@ietf.org; lsr@ietf.org; The IESG <iesg@ietf.org>
Subject: Re: Roman Danyliw’s DISCUSS on draft-ietf-ospf-yang-26

Hi Roman,

Discussion on discuss.

From: Alvaro Retana <aretana.ietf@gmail.com<mailto:aretana.ietf@gmail.com>>
Date: Wednesday, August 21, 2019 at 11:11 AM
To: "draft-ietf-ospf-yang@ietf.org<mailto:draft-ietf-ospf-yang@ietf.org>" <draft-ietf-ospf-yang@ietf.org<mailto:draft-ietf-ospf-yang@ietf.org>>
Cc: Roman Danyliw <rdd@cert.org<mailto:rdd@cert.org>>, Stephane Litkowski <stephane.litkowski@orange.com<mailto:stephane.litkowski@orange.com>>, "lsr-chairs@ietf.org<mailto:lsr-chairs@ietf.org>" <lsr-chairs@ietf.org<mailto:lsr-chairs@ietf.org>>, "lsr@ietf.org<mailto:lsr@ietf.org>" <lsr@ietf.org<mailto:lsr@ietf.org>>, The IESG <iesg@ietf.org<mailto:iesg@ietf.org>>
Subject: Roman Danyliw’s DISCUSS on draft-ietf-ospf-yang-26
Resent-From: <alias-bounces@ietf.org<mailto:alias-bounces@ietf.org>>
Resent-To: Yingzhen Qu <yingzhen.ietf@gmail.com<mailto:yingzhen.ietf@gmail.com>>, Christian Hopps <chopps@chopps.org<mailto:chopps@chopps.org>>, Acee Lindem <acee@cisco.com<mailto:acee@cisco.com>>
Resent-Date: Wednesday, August 21, 2019 at 11:08 AM

[It looks like the datatracker didn’t send out the text to Roman’s DISCUSS.  I didn’t receive it, nor do I see it in the mail archive.  So I’m pasting it here. — Alvaro.]

- - - - - - - - - - -
DISCUSS
- - - - - - - - - - -

A “discuss to discuss”.  Per the convention outlined in https://trac.ietf.org/trac/ops/wiki/yang-security-guidelines, thank you for clearly noting the implication of not securing these nodes properly.

Furthermore, following the convention, I would have expected Section 4 to have enumerated the sensitive writeable/creatable/deletable data nodes; and the sensitive readable nodes individually.  For a model this large, I can imagine that individual enumeration would be a long list.

It doesn’t make sense to talk about every configurable leaf so the section describes the general problems that can ensue if OSPF protocol configuration is compromised. We could go into classes of writeable nodes but I question what benefit that would actually have.

[Roman]  It was thinking this would be the case.  I don’t think we need the specificity.


In the case of read operations, the text opens with saying that “some of the readable data nodes ...” and later says “The exposure of the ... LSDB will expose the detailed topology ...”.  Can you help me understand which part of ietf-ospf.yang is the LSDB and which parts refer to “some of the readable nodes”?  Is there are a difference, or is this text asserting that all parts of the modules are sensitive and need access control?

The LSDB refers to the instance, area, virtual link, sham-link, and interface Link State DataBases (LSDB).

             /ospf/database
            /ospf/areas/area[area-id]/database
            /ospf/virtual-links/virtual-link[transit-area-id router-id]/database
            /ospf/areas/area[area-id]/interfaces/interface[name]/database
            /ospf/area/area[area-id]/sham-links/sham-link[local-id remote-id]/database

[Roman] Thanks for this clarification.  IMO, it wouldn’t hurt to enumerate this list as being part of the LSDB (this is not DISCUS-level feedback)

All parts are sensitive. The LSDB is more so since it gives visibility beyond the network device itself.

[Roman]  I agree with “all parts are sensitive” assessment without enumerating the individual nodes of the model.  The conflict for me is that the opening sentence of this discussion is a much weaker statement of “Some of the readable data nodes in the ietf-ospf.yang module may be considered sensitive or vulnerable in some network environments.  It is thus important to control read access (e.g., via get, get-config, or notification) to these data nodes.”  Would it be a problem to say something on the order of “The readable data nodes in the ietf-ospf.yang module are sensitive. Thus, it is thus important to control read access … to them.”?  This edit make clear that “all parts are sensitive”.

A related line of questioning for the write operation.  The text opens with saying that “There are a number of data nodes defined in ietf-ospf.yang ... [and that] [w]rite operations ... to these nodes without proper protection can have a negative effect on the network operations ... [and] ... the ability to modify OSPF configuration” is problematic.  Can you help me understand which parts of the text is the “OSPF configuration” vs. “there are number of data nodes ...”?  If there isn’t a different, is the text asserting that all parts of the modules are sensitive and need access control?

This is alludes to the “config true” nodes which comprise OSPF configuration. I guess this is a repeat of your first comment.

[Roman] Exactly.  The text wasn’t clear on whether you meant part of all of the model should have access control  Would a similar approach to the above be possible here too – say deleting the sentence “These data nodes may be considered sensitive of vulnerable in some network environments.”  By making this edit, the text will then read that all of the write operations are sensitive.

Regards,
Roman

Thanks,
Acee


- - - - - - - - - - -
COMMENT
- - - - - - - - - - -

(1) Idnits returned a seemingly valid few reference issues:

  ** Downref: Normative reference to an Experimental RFC: RFC 1765

  ** Downref: Normative reference to an Experimental RFC: RFC 4973

(2) Editorial
-- Section 4.  Isn’t RFC8341, “the Network Configuration Access Control Model” rather than the “NETCONF access control model”?

-- Section 4.  Typo.  s/specificationn/specification/

-- Section 4.  Remove the duplicate instance of the phrase “for legacy implementations that do not support key-chains”.

-- Section 4.  Typo.  s/The OSPF YANG module support/the OSPF YANG module supports/

Alvaro Retana