Re: [Netconf] WGLC on restconf-notif-08

"Eric Voit (evoit)" <evoit@cisco.com> Thu, 11 October 2018 15:44 UTC

Return-Path: <evoit@cisco.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 C2A35130EA2 for <netconf@ietfa.amsl.com>; Thu, 11 Oct 2018 08:44:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.502
X-Spam-Level:
X-Spam-Status: No, score=-14.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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
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 yLvG25MMeoqy for <netconf@ietfa.amsl.com>; Thu, 11 Oct 2018 08:44:09 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DDAD130E9E for <netconf@ietf.org>; Thu, 11 Oct 2018 08:44:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2394; q=dns/txt; s=iport; t=1539272649; x=1540482249; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ui2If/ijH7mYZuEDUnOy2JuXMCBEjx0kuhliiPIwcS0=; b=eU5EYwL/IBPt0UPzqyFMEMgC1x1YhSe9OtnVhVufu6oOZ0t8NyLbeuoF 7ARheuN7qkFC/5Iuhe43m69T5tbBHne5GkvX1et53bKGHNzEBVpP8FAii sgPnP+rTad4VgYkhT66UitVl1350HvivwvGie7K+Qa5oD5ZC/rJvhIcxy k=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AMAADnbr9b/5hdJa1iGgEBAQEBAgEBAQEHAgEBAQGBUQUBAQEBCwGCA4FlMoNriBaOQ4M/k0EUgWYLAQGEbAIXhD4hNA0NAQMBAQIBAQJtKIU5AQEBAQIBIxFFBQsCAQgaAgkdAgICMBUQAgQBDQ2FEgimGIEuiVqBC4o6F4FBP4ESgxKEZlKCR4JXApQYiXgJApBKH4phhTCVawIRFIElHTiBVXAVgyiQVIwxgR8BAQ
X-IronPort-AV: E=Sophos;i="5.54,368,1534809600"; d="scan'208";a="184843031"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Oct 2018 15:44:08 +0000
Received: from XCH-RTP-002.cisco.com (xch-rtp-002.cisco.com [64.101.220.142]) by rcdn-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id w9BFi8Ow010228 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 11 Oct 2018 15:44:08 GMT
Received: from xch-rtp-013.cisco.com (64.101.220.153) by XCH-RTP-002.cisco.com (64.101.220.142) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 11 Oct 2018 11:44:07 -0400
Received: from xch-rtp-013.cisco.com ([64.101.220.153]) by XCH-RTP-013.cisco.com ([64.101.220.153]) with mapi id 15.00.1395.000; Thu, 11 Oct 2018 11:44:07 -0400
From: "Eric Voit (evoit)" <evoit@cisco.com>
To: "Reshad Rahman (rrahman)" <rrahman@cisco.com>, Martin Bjorklund <mbj@tail-f.com>
CC: "netconf@ietf.org" <netconf@ietf.org>
Thread-Topic: [Netconf] WGLC on restconf-notif-08
Thread-Index: AQHUXC8dqc/ZdIehM0Ol7lZ9+zKBhqUYuN6AgAAzPQCAARrzgIAAK96A///2IvA=
Date: Thu, 11 Oct 2018 15:44:07 +0000
Message-ID: <0624b4b455904e1cb7de2addd5c655a5@XCH-RTP-013.cisco.com>
References: <4101090B-394D-4C65-837B-568ECEDCCBB3@juniper.net> <20181010.134515.758050607192527205.mbj@tail-f.com> <C5B41C06-F491-417B-A5BB-8448C6A6DF28@cisco.com> <20181011.094121.1954904611156215500.mbj@tail-f.com> <AD7CCDF0-FDF1-4DEC-8952-F16815801DBC@cisco.com>
In-Reply-To: <AD7CCDF0-FDF1-4DEC-8952-F16815801DBC@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.118.56.234]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Outbound-SMTP-Client: 64.101.220.142, xch-rtp-002.cisco.com
X-Outbound-Node: rcdn-core-1.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/3WaiWBVlLhj9wBOtuFuxVJkfsig>
Subject: Re: [Netconf] WGLC on restconf-notif-08
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Configuration WG mailing 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: Thu, 11 Oct 2018 15:44:11 -0000

Cutting this part of the thread to one topic

>     >       Also, "modify-subscription" may be sent on some other session.
>
>     > <RR> As long as from same subscriber I assume. Do we care about NAT
>     >     scenarios?
> 
>     There is nothing in SN that says that modify-subscription must be from
>     the same subscriber.

Up until  SN -v13, the text ensured the subscriber was the only one able to make any changes.  The current text -v17 does not have this constraint, and does allow an operator to modify a subscription in-flight.  Personally I don't like this flexibility.  I think it opens a security hole.   If other people have security configuration concerns with this flexibility (i.e., a new non-administrative subscriber might have permissions enabling them to make changes to a subscription), we should return the constraint to SN.  This re-introduced text would mirror that which exists for delete subscription.  I.e., "Dynamic subscriptions can only be modified via this RPC using a transport session connecting to the subscriber."

>     IMO the idea of restricting some rpcs to "the same transport session"
>     is unnecessary, and obviously problematic.
> <RR2> Problematic from an implementation view or from a functionality view?
> Would like to hear from others on this.
> 
>     I think that the
>     restriction should be removed from delete-subscription (and then
>     remove kill-subscription, since it is the same as
>     delete-subscription).

Some of the first comments received on SN were to segment RPC permissions for 'delete-subscription' and 'kill-subscription'.  Many have seen this differentiation as worthwhile.  

Eric

> Regards,
> Reshad.
> 
> 
>     /martin
>