Re: [Netconf] [Technical Errata Reported] RFC6242 (5305)

Robert Wilton <rwilton@cisco.com> Mon, 26 March 2018 16:30 UTC

Return-Path: <rwilton@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 3F730126CC4 for <netconf@ietfa.amsl.com>; Mon, 26 Mar 2018 09:30:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.511
X-Spam-Level:
X-Spam-Status: No, score=-14.511 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 IFabrU28KQau for <netconf@ietfa.amsl.com>; Mon, 26 Mar 2018 09:30:30 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2F8F12D0C3 for <netconf@ietf.org>; Mon, 26 Mar 2018 09:30:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3664; q=dns/txt; s=iport; t=1522081829; x=1523291429; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=R0MZ5SdiNHO80IA5Fw6efl5pju4yPTT64GhKzCjqbns=; b=aFOaAvQo6vQJ3B0fs+8vapuxO9HGDLTM3QHD5/mZCGHbVmsgeM8CniUi I5iQsnquS1aN5gstSyITzFIPCSzjG2HIwSOae1/T9oMups4FCX6OXMsIK HHfdkkIhf70yG9w0Qc2SnFSVT8GmEIEqEqVMLz489mafsAVnRNCPSmzBs I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CbAAD1Hrla/xbLJq1dGQEBAQEBAQEBAQEBAQcBAQEBAYQicCiDXIgAX419CCGBEZJRggYLGAuEFkwChB40GAECAQEBAQEBAmsohSYBAQQBASEECwEFNAIIAxAJAg4KAgImAgInMAYBDAYCAQGEcgMVD5BXmziBazWEWIIuGoEfgheBCIQ2g25AgQwiDIJZgUGBUgEBhF+CVAOHJxuFUIotCI4rBoEwg1eCOSKEV4pahRyBJRw4gVIzGggbFRkhgkMJgiSOJD4wkAcBAQ
X-IronPort-AV: E=Sophos;i="5.48,365,1517875200"; d="scan'208";a="2786507"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2018 16:30:27 +0000
Received: from [10.63.23.169] (dhcp-ensft1-uk-vla370-10-63-23-169.cisco.com [10.63.23.169]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id w2QGUQdl026559; Mon, 26 Mar 2018 16:30:27 GMT
To: Ignas Bagdonas <ibagdona@gmail.com>, RFC Errata System <rfc-editor@rfc-editor.org>, mrw@painless-security.com, warren@kumari.net, kwatsen@juniper.net, mjethanandani@gmail.com
Cc: fanhycd@qq.com, netconf@ietf.org
References: <20180326061924.377B7B82685@rfc-editor.org> <a40115f9-48e5-804e-4683-887e242e565a@gmail.com>
From: Robert Wilton <rwilton@cisco.com>
Message-ID: <9abc7c13-dcf4-b26c-0599-25d690e7198f@cisco.com>
Date: Mon, 26 Mar 2018 17:30:26 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <a40115f9-48e5-804e-4683-887e242e565a@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/netconf/rIcipz9X7fV5VUWpYfa1K3xPac8>
Subject: Re: [Netconf] [Technical Errata Reported] RFC6242 (5305)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 26 Mar 2018 16:30:32 -0000

I also think that the existing RFC text looks right.

My reading of the text is that it is suggesting that allowing netconf 
access over other port numbers is a good idea, but care needs to be 
taken to ensure that this doesn't result in unauthorized access to the 
netconf/ssh subsystem.

Thanks,
Rob


On 26/03/2018 17:07, Ignas Bagdonas wrote:
> Hi there,
>
> This paragraph taken out as stand-alone seems to have somewhat 
> different meaning than if read together with the previous one in the 
> document. If NETCONF is used over default port, it is explicitly 
> required to be controlled by security policy, but there is no such 
> requirement when used over non-default port, and the quoted paragraph 
> mentions precisely this non-default port case. Therefore it seems that 
> the text in the document is correct.
>
> The other aspect is the operational practice of security policies for 
> network elements - generally it should be deny all allow what is 
> needed, but that is not what the document is focusing on.
>
> Any opinions?
>
> Thank you,
>
> Ignas
>
>
>
> On 26/03/2018 07:19, RFC Errata System wrote:
>> The following errata report has been submitted for RFC6242,
>> "Using the NETCONF Protocol over Secure Shell (SSH)".
>>
>> --------------------------------------
>> You may review the report below and at:
>> http://www.rfc-editor.org/errata/eid5305
>>
>> --------------------------------------
>> Type: Technical
>> Reported by: HengyingFan <fanhycd@qq.com>
>>
>> Section: 6
>>
>> Original Text
>> -------------
>>     This document also recommends that SSH servers be configurable to
>>     allow access to the "netconf" SSH subsystem over other ports.  
>> Use of
>>     that configuration option without corresponding changes to firewall
>>     or network device configuration may unintentionally result in the
>>     ability for nodes outside of the firewall or other administrative
>>     boundaries to gain access to the "netconf" SSH subsystem.
>>
>>
>> Corrected Text
>> --------------
>>     This document also recommends that SSH servers be configurable to
>>     allow access to the "netconf" SSH subsystem over other ports.  
>> Use of
>>     that configuration option without corresponding changes to firewall
>>     or network device configuration may unintentionally result in the
>>     inability for nodes outside of the firewall or other administrative
>>     boundaries to gain access to the "netconf" SSH subsystem.
>>
>>
>> Notes
>> -----
>> ability -> inability
>>
>> Instructions:
>> -------------
>> This erratum is currently posted as "Reported". If necessary, please
>> use "Reply All" to discuss whether it should be verified or
>> rejected. When a decision is reached, the verifying party
>> can log in to change the status and edit the report, if necessary.
>>
>> --------------------------------------
>> RFC6242 (draft-ietf-netconf-rfc4742bis-08)
>> --------------------------------------
>> Title               : Using the NETCONF Protocol over Secure Shell (SSH)
>> Publication Date    : June 2011
>> Author(s)           : M. Wasserman
>> Category            : PROPOSED STANDARD
>> Source              : Network Configuration
>> Area                : Operations and Management
>> Stream              : IETF
>> Verifying Party     : IESG
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> .
>