
From netconf-bounces@ietf.org  Sun Feb  1 13:46:44 2009
Return-Path: <netconf-bounces@ietf.org>
X-Original-To: netconf-archive@ietf.org
Delivered-To: ietfarch-netconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4CE153A69CD; Sun,  1 Feb 2009 13:46:44 -0800 (PST)
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F9813A67E4 for <netconf@core3.amsl.com>; Sun,  1 Feb 2009 13:46:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c4Dj-llYTOpA for <netconf@core3.amsl.com>; Sun,  1 Feb 2009 13:46:41 -0800 (PST)
Received: from ind-iport-1.cisco.com (ind-iport-1.cisco.com [64.104.129.195]) by core3.amsl.com (Postfix) with ESMTP id EF7173A68A6 for <netconf@ietf.org>; Sun,  1 Feb 2009 13:46:40 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,361,1231113600"; d="scan'208";a="42063503"
Received: from hkg-dkim-2.cisco.com ([10.75.231.163]) by ind-iport-1.cisco.com with ESMTP; 01 Feb 2009 21:46:17 +0000
Received: from hkg-core-1.cisco.com (hkg-core-1.cisco.com [64.104.123.94]) by hkg-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n11LkGWI009984;  Mon, 2 Feb 2009 05:46:16 +0800
Received: from xbh-hkg-412.apac.cisco.com (xbh-hkg-412.cisco.com [64.104.123.69]) by hkg-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n11LkG9G001055; Sun, 1 Feb 2009 21:46:16 GMT
Received: from xmb-hkg-411.apac.cisco.com ([64.104.123.77]) by xbh-hkg-412.apac.cisco.com with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 2 Feb 2009 05:46:16 +0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 2 Feb 2009 05:46:13 +0800
Message-ID: <EB8B17D2EB82D7438B42703BA3E033F3055BCA9E@xmb-hkg-411.apac.cisco.com>
In-Reply-To: <fbeac717410d.49856e95@huaweisymantec.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] access control: current implementations
Thread-Index: AcmEDmes7JbI51ZYTBSHUclhNI7jmwApfr4g
References: <49830095.9030804@edgeware.tv> <fbeac717410d.49856e95@huaweisymantec.com>
From: "James Balestriere (jbalestr)" <jbalestr@cisco.com>
To: "WashamFan" <Washam.Fan@huaweisymantec.com>, "Johan Rydberg" <johan.rydberg@edgeware.tv>
X-OriginalArrivalTime: 01 Feb 2009 21:46:16.0493 (UTC) FILETIME=[827D3DD0:01C984B6]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1472; t=1233524776; x=1234388776; c=relaxed/simple; s=hkgdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jbalestr@cisco.com; z=From:=20=22James=20Balestriere=20(jbalestr)=22=20<jbalestr @cisco.com> |Subject:=20RE=3A=20[Netconf]=20access=20control=3A=20curre nt=20implementations |Sender:=20; bh=0/dN2L+5BPuiE3hmg1sTWk9tqFyg1KaVOzeH17x+Xbk=; b=Fr3Cx5q7u8i/nWhO/9/1CKhfZ4sS+PCDKkC6VoQtTzJ26r7ipy0VL1TyNA Gh7Zg83nMxeQw/iZIfG9N1OM290aAGvWg8mKru1hQFGMqQtYT9YnLvhXWHwr JVHUIqxXNRjUcqjY/4Ny4PSgeg5sCXPX+r9c9Be42Bv32MkmtJPwE=;
Authentication-Results: hkg-dkim-2; header.From=jbalestr@cisco.com; dkim=pass ( sig from cisco.com/hkgdkim2001 verified; ); 
Cc: netconf@ietf.org
Subject: Re: [Netconf] access control: current implementations
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: netconf-bounces@ietf.org
Errors-To: netconf-bounces@ietf.org

I originally thought access control was deliberately excluded, but, when
I realised
Access control is data-model dependant I was able to add a form of
access control.

My current data-models are CLI based and my boxes currently have CLI
mechanisms to define 
access control which amongst other things interoperates with a AAA
server. For all my netconf users
I can define authorization levels which gives them access to commands.
When a Netconf user connects
I use the Netconf login user id to determine my authorization level for
all operations on the session.
For a CLI based data model this works fine. Once we move to more
advanced data models
Then this simple approach will not necessarily work.

James.

-----Original Message-----
From: netconf-bounces@ietf.org [mailto:netconf-bounces@ietf.org] On
Behalf Of WashamFan
Sent: Sunday, February 01, 2009 12:43 PM
To: Johan Rydberg
Cc: netconf@ietf.org
Subject: Re: [Netconf] access control: current implementations

Hi,
That is the question I want to ask, too. Access control seems have not
yet been put on the table. I am not sure how people care about this
issue now.

washam

> Could you out there who have your own agent implementations describe  
> your access control mechanism, and how it maps to different NETCONF  
> operations?

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf

From netconf-bounces@ietf.org  Sun Feb  1 13:46:44 2009
Return-Path: <netconf-bounces@ietf.org>
X-Original-To: netconf-archive@lists.ietf.org
Delivered-To: ietfarch-netconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4CE153A69CD; Sun,  1 Feb 2009 13:46:44 -0800 (PST)
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1F9813A67E4 for <netconf@core3.amsl.com>; Sun,  1 Feb 2009 13:46:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c4Dj-llYTOpA for <netconf@core3.amsl.com>; Sun,  1 Feb 2009 13:46:41 -0800 (PST)
Received: from ind-iport-1.cisco.com (ind-iport-1.cisco.com [64.104.129.195]) by core3.amsl.com (Postfix) with ESMTP id EF7173A68A6 for <netconf@ietf.org>; Sun,  1 Feb 2009 13:46:40 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,361,1231113600"; d="scan'208";a="42063503"
Received: from hkg-dkim-2.cisco.com ([10.75.231.163]) by ind-iport-1.cisco.com with ESMTP; 01 Feb 2009 21:46:17 +0000
Received: from hkg-core-1.cisco.com (hkg-core-1.cisco.com [64.104.123.94]) by hkg-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n11LkGWI009984;  Mon, 2 Feb 2009 05:46:16 +0800
Received: from xbh-hkg-412.apac.cisco.com (xbh-hkg-412.cisco.com [64.104.123.69]) by hkg-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n11LkG9G001055; Sun, 1 Feb 2009 21:46:16 GMT
Received: from xmb-hkg-411.apac.cisco.com ([64.104.123.77]) by xbh-hkg-412.apac.cisco.com with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 2 Feb 2009 05:46:16 +0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 2 Feb 2009 05:46:13 +0800
Message-ID: <EB8B17D2EB82D7438B42703BA3E033F3055BCA9E@xmb-hkg-411.apac.cisco.com>
In-Reply-To: <fbeac717410d.49856e95@huaweisymantec.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] access control: current implementations
Thread-Index: AcmEDmes7JbI51ZYTBSHUclhNI7jmwApfr4g
References: <49830095.9030804@edgeware.tv> <fbeac717410d.49856e95@huaweisymantec.com>
From: "James Balestriere (jbalestr)" <jbalestr@cisco.com>
To: "WashamFan" <Washam.Fan@huaweisymantec.com>, "Johan Rydberg" <johan.rydberg@edgeware.tv>
X-OriginalArrivalTime: 01 Feb 2009 21:46:16.0493 (UTC) FILETIME=[827D3DD0:01C984B6]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1472; t=1233524776; x=1234388776; c=relaxed/simple; s=hkgdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jbalestr@cisco.com; z=From:=20=22James=20Balestriere=20(jbalestr)=22=20<jbalestr @cisco.com> |Subject:=20RE=3A=20[Netconf]=20access=20control=3A=20curre nt=20implementations |Sender:=20; bh=0/dN2L+5BPuiE3hmg1sTWk9tqFyg1KaVOzeH17x+Xbk=; b=Fr3Cx5q7u8i/nWhO/9/1CKhfZ4sS+PCDKkC6VoQtTzJ26r7ipy0VL1TyNA Gh7Zg83nMxeQw/iZIfG9N1OM290aAGvWg8mKru1hQFGMqQtYT9YnLvhXWHwr JVHUIqxXNRjUcqjY/4Ny4PSgeg5sCXPX+r9c9Be42Bv32MkmtJPwE=;
Authentication-Results: hkg-dkim-2; header.From=jbalestr@cisco.com; dkim=pass ( sig from cisco.com/hkgdkim2001 verified; ); 
Cc: netconf@ietf.org
Subject: Re: [Netconf] access control: current implementations
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: netconf-bounces@ietf.org
Errors-To: netconf-bounces@ietf.org

I originally thought access control was deliberately excluded, but, when
I realised
Access control is data-model dependant I was able to add a form of
access control.

My current data-models are CLI based and my boxes currently have CLI
mechanisms to define 
access control which amongst other things interoperates with a AAA
server. For all my netconf users
I can define authorization levels which gives them access to commands.
When a Netconf user connects
I use the Netconf login user id to determine my authorization level for
all operations on the session.
For a CLI based data model this works fine. Once we move to more
advanced data models
Then this simple approach will not necessarily work.

James.

-----Original Message-----
From: netconf-bounces@ietf.org [mailto:netconf-bounces@ietf.org] On
Behalf Of WashamFan
Sent: Sunday, February 01, 2009 12:43 PM
To: Johan Rydberg
Cc: netconf@ietf.org
Subject: Re: [Netconf] access control: current implementations

Hi,
That is the question I want to ask, too. Access control seems have not
yet been put on the table. I am not sure how people care about this
issue now.

washam

> Could you out there who have your own agent implementations describe  
> your access control mechanism, and how it maps to different NETCONF  
> operations?

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf

From netconf-bounces@ietf.org  Tue Feb  3 03:43:12 2009
Return-Path: <netconf-bounces@ietf.org>
X-Original-To: netconf-archive@ietf.org
Delivered-To: ietfarch-netconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0939A3A67B2; Tue,  3 Feb 2009 03:43:12 -0800 (PST)
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DF4423A67B2 for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 03:43:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.437
X-Spam-Level: 
X-Spam-Status: No, score=-1.437 tagged_above=-999 required=5 tests=[AWL=-0.677, BAYES_05=-1.11, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S5NaWwdJrg10 for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 03:43:10 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id E83853A67AE for <netconf@ietf.org>; Tue,  3 Feb 2009 03:43:09 -0800 (PST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7EDD8C016B for <netconf@ietf.org>; Tue,  3 Feb 2009 12:42:50 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id qbD14ALYTYGZ; Tue,  3 Feb 2009 12:42:44 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 14301C0162; Tue,  3 Feb 2009 12:42:44 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id E226995D2F3; Tue,  3 Feb 2009 12:42:42 +0100 (CET)
Date: Tue, 3 Feb 2009 12:42:42 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: netconf@ietf.org
Message-ID: <20090203114242.GA27315@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: netconf@ietf.org
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.19 (2009-01-05)
Subject: [Netconf] error info none
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: netconf-bounces@ietf.org
Errors-To: netconf-bounces@ietf.org

Appendix A defines the NETCONF error list and it sometimes says:

   Error-info:  none

What is the interpretation of this? Does it mean an implementation
MUST not generate an error-info or does it mean an implementation MAY
generate an error-info at its discretion but is not required to do so?

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf

From netconf-bounces@ietf.org  Tue Feb  3 03:43:12 2009
Return-Path: <netconf-bounces@ietf.org>
X-Original-To: netconf-archive@lists.ietf.org
Delivered-To: ietfarch-netconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0939A3A67B2; Tue,  3 Feb 2009 03:43:12 -0800 (PST)
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DF4423A67B2 for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 03:43:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.437
X-Spam-Level: 
X-Spam-Status: No, score=-1.437 tagged_above=-999 required=5 tests=[AWL=-0.677, BAYES_05=-1.11, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S5NaWwdJrg10 for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 03:43:10 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id E83853A67AE for <netconf@ietf.org>; Tue,  3 Feb 2009 03:43:09 -0800 (PST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7EDD8C016B for <netconf@ietf.org>; Tue,  3 Feb 2009 12:42:50 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id qbD14ALYTYGZ; Tue,  3 Feb 2009 12:42:44 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 14301C0162; Tue,  3 Feb 2009 12:42:44 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id E226995D2F3; Tue,  3 Feb 2009 12:42:42 +0100 (CET)
Date: Tue, 3 Feb 2009 12:42:42 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: netconf@ietf.org
Message-ID: <20090203114242.GA27315@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: netconf@ietf.org
MIME-Version: 1.0
Content-Disposition: inline
User-Agent: Mutt/1.5.19 (2009-01-05)
Subject: [Netconf] error info none
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: netconf-bounces@ietf.org
Errors-To: netconf-bounces@ietf.org

Appendix A defines the NETCONF error list and it sometimes says:

   Error-info:  none

What is the interpretation of this? Does it mean an implementation
MUST not generate an error-info or does it mean an implementation MAY
generate an error-info at its discretion but is not required to do so?

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf

From netconf-bounces@ietf.org  Tue Feb  3 07:37:55 2009
Return-Path: <netconf-bounces@ietf.org>
X-Original-To: netconf-archive@ietf.org
Delivered-To: ietfarch-netconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 472683A6C40; Tue,  3 Feb 2009 07:37:55 -0800 (PST)
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D3C5C3A6C3C for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 07:37:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.666
X-Spam-Level: 
X-Spam-Status: No, score=0.666 tagged_above=-999 required=5 tests=[AWL=-0.381,  BAYES_05=-1.11, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sCUP35jlDDnD for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 07:37:53 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id AFF5E28C0CE for <netconf@ietf.org>; Tue,  3 Feb 2009 07:36:53 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LUNKB-0002XN-W4; Tue, 03 Feb 2009 16:36:32 +0100
Message-ID: <0244CBF5617545108ADED058F0EC51E0@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Balazs Lengyel" <balazs.lengyel@ericsson.com>
References: <493EA615.8050807@ericsson.com> <266652AC6E494EB3A2E1FAFC76D47A3A@BertLaptop> <4979C226.20200@ericsson.com>
In-Reply-To: <4979C226.20200@ericsson.com>
Date: Tue, 3 Feb 2009 16:35:14 +0100
Organization: Consultant
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] WGLC: draft-ietf-netconf-partial-lock-05
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1274644895=="
Sender: netconf-bounces@ietf.org
Errors-To: netconf-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1274644895==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0703_01C9861D.63ACEAA0"

This is a multi-part message in MIME format.

------=_NextPart_000_0703_01C9861D.63ACEAA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks for the change. And sorry about my 2nd comment.
The 'does not" indeed does make sense after re-reading the text.

Bert
  ----- Original Message -----=20
  From: Balazs Lengyel=20
  To: Bert Wijnen (IETF)=20
  Cc: netconf mailing list=20
  Sent: Friday, January 23, 2009 2:12 PM
  Subject: Re: [Netconf] WGLC: draft-ietf-netconf-partial-lock-05


  Hello Bert,
  See below!
  Balazs

  Bert Wijnen (IETF) wrote:
  > =20
  > -  I notice in section 2.1 (page 4) that you changed
  >       <partial-unlock>
  >    into
  >        partial-unlock
  >    But in the last para of section 2,1 you do talk about =
<partial-lock>
  >    Inconsistent?

  BALAZS: Yes inconsistent, changed back to <partial-lock>

  > =20
  > -  This sentence (3rd bullet page 7):
  >         The NETCONF server implements access control, and the =
locking user
  >         does not have sufficient access rights.  ....
  >    Do you mean s/does not/must/ ??

  BALAZS: We meant "does not" as written. This is not a requirement, we =
just state that if access=20
  rights happen to be insufficient, partial-lock fails.

------=_NextPart_000_0703_01C9861D.63ACEAA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Thanks for the change. And sorry about my 2nd=20
comment.</FONT></DIV>
<DIV><FONT size=3D2>The 'does not" indeed does make sense after =
re-reading the=20
text.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dbalazs.lengyel@ericsson.com=20
  href=3D"mailto:balazs.lengyel@ericsson.com">Balazs Lengyel</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dbertietf@bwijnen.net=20
  href=3D"mailto:bertietf@bwijnen.net">Bert Wijnen (IETF)</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A title=3Dnetconf@ietf.org =

  href=3D"mailto:netconf@ietf.org">netconf mailing list</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, January 23, 2009 =
2:12=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Netconf] WGLC:=20
  draft-ietf-netconf-partial-lock-05</DIV>
  <DIV><BR></DIV>Hello Bert,<BR>See below!<BR>Balazs<BR><BR>Bert Wijnen =
(IETF)=20
  wrote:<BR>&gt;&nbsp; <BR>&gt; -&nbsp; I notice in section 2.1 (page 4) =
that=20
  you changed<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;partial-unlock&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;=20
  into<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  partial-unlock<BR>&gt;&nbsp;&nbsp;&nbsp; But in the last para of =
section 2,1=20
  you do talk about &lt;partial-lock&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;=20
  Inconsistent?<BR><BR>BALAZS: Yes inconsistent, changed back to=20
  &lt;partial-lock&gt;<BR><BR>&gt;&nbsp; <BR>&gt; -&nbsp; This sentence =
(3rd=20
  bullet page =
7):<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The=20
  NETCONF server implements access control, and the locking=20
  user<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; does not =
have=20
  sufficient access rights.&nbsp; ....<BR>&gt;&nbsp;&nbsp;&nbsp; Do you =
mean=20
  s/does not/must/ ??<BR><BR>BALAZS: We meant "does not" as written. =
This is not=20
  a requirement, we just state that if access <BR>rights happen to be=20
  insufficient, partial-lock fails.<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0703_01C9861D.63ACEAA0--


--===============1274644895==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf

--===============1274644895==--


From netconf-bounces@ietf.org  Tue Feb  3 07:37:55 2009
Return-Path: <netconf-bounces@ietf.org>
X-Original-To: netconf-archive@lists.ietf.org
Delivered-To: ietfarch-netconf-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 472683A6C40; Tue,  3 Feb 2009 07:37:55 -0800 (PST)
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D3C5C3A6C3C for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 07:37:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.666
X-Spam-Level: 
X-Spam-Status: No, score=0.666 tagged_above=-999 required=5 tests=[AWL=-0.381,  BAYES_05=-1.11, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sCUP35jlDDnD for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 07:37:53 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id AFF5E28C0CE for <netconf@ietf.org>; Tue,  3 Feb 2009 07:36:53 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LUNKB-0002XN-W4; Tue, 03 Feb 2009 16:36:32 +0100
Message-ID: <0244CBF5617545108ADED058F0EC51E0@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Balazs Lengyel" <balazs.lengyel@ericsson.com>
References: <493EA615.8050807@ericsson.com> <266652AC6E494EB3A2E1FAFC76D47A3A@BertLaptop> <4979C226.20200@ericsson.com>
In-Reply-To: <4979C226.20200@ericsson.com>
Date: Tue, 3 Feb 2009 16:35:14 +0100
Organization: Consultant
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] WGLC: draft-ietf-netconf-partial-lock-05
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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>
Content-Type: multipart/mixed; boundary="===============1274644895=="
Sender: netconf-bounces@ietf.org
Errors-To: netconf-bounces@ietf.org

This is a multi-part message in MIME format.

--===============1274644895==
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0703_01C9861D.63ACEAA0"

This is a multi-part message in MIME format.

------=_NextPart_000_0703_01C9861D.63ACEAA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks for the change. And sorry about my 2nd comment.
The 'does not" indeed does make sense after re-reading the text.

Bert
  ----- Original Message -----=20
  From: Balazs Lengyel=20
  To: Bert Wijnen (IETF)=20
  Cc: netconf mailing list=20
  Sent: Friday, January 23, 2009 2:12 PM
  Subject: Re: [Netconf] WGLC: draft-ietf-netconf-partial-lock-05


  Hello Bert,
  See below!
  Balazs

  Bert Wijnen (IETF) wrote:
  > =20
  > -  I notice in section 2.1 (page 4) that you changed
  >       <partial-unlock>
  >    into
  >        partial-unlock
  >    But in the last para of section 2,1 you do talk about =
<partial-lock>
  >    Inconsistent?

  BALAZS: Yes inconsistent, changed back to <partial-lock>

  > =20
  > -  This sentence (3rd bullet page 7):
  >         The NETCONF server implements access control, and the =
locking user
  >         does not have sufficient access rights.  ....
  >    Do you mean s/does not/must/ ??

  BALAZS: We meant "does not" as written. This is not a requirement, we =
just state that if access=20
  rights happen to be insufficient, partial-lock fails.

------=_NextPart_000_0703_01C9861D.63ACEAA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Thanks for the change. And sorry about my 2nd=20
comment.</FONT></DIV>
<DIV><FONT size=3D2>The 'does not" indeed does make sense after =
re-reading the=20
text.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dbalazs.lengyel@ericsson.com=20
  href=3D"mailto:balazs.lengyel@ericsson.com">Balazs Lengyel</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dbertietf@bwijnen.net=20
  href=3D"mailto:bertietf@bwijnen.net">Bert Wijnen (IETF)</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A title=3Dnetconf@ietf.org =

  href=3D"mailto:netconf@ietf.org">netconf mailing list</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, January 23, 2009 =
2:12=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Netconf] WGLC:=20
  draft-ietf-netconf-partial-lock-05</DIV>
  <DIV><BR></DIV>Hello Bert,<BR>See below!<BR>Balazs<BR><BR>Bert Wijnen =
(IETF)=20
  wrote:<BR>&gt;&nbsp; <BR>&gt; -&nbsp; I notice in section 2.1 (page 4) =
that=20
  you changed<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;partial-unlock&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;=20
  into<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  partial-unlock<BR>&gt;&nbsp;&nbsp;&nbsp; But in the last para of =
section 2,1=20
  you do talk about &lt;partial-lock&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;=20
  Inconsistent?<BR><BR>BALAZS: Yes inconsistent, changed back to=20
  &lt;partial-lock&gt;<BR><BR>&gt;&nbsp; <BR>&gt; -&nbsp; This sentence =
(3rd=20
  bullet page =
7):<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The=20
  NETCONF server implements access control, and the locking=20
  user<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; does not =
have=20
  sufficient access rights.&nbsp; ....<BR>&gt;&nbsp;&nbsp;&nbsp; Do you =
mean=20
  s/does not/must/ ??<BR><BR>BALAZS: We meant "does not" as written. =
This is not=20
  a requirement, we just state that if access <BR>rights happen to be=20
  insufficient, partial-lock fails.<BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0703_01C9861D.63ACEAA0--


--===============1274644895==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf

--===============1274644895==--


From bertietf@bwijnen.net  Sat Feb 14 05:10:18 2009
Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B0283A694E for <netconf@core3.amsl.com>; Sat, 14 Feb 2009 05:10:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.158
X-Spam-Level: *
X-Spam-Status: No, score=1.158 tagged_above=-999 required=5 tests=[AWL=-1.000,  BAYES_50=0.001, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O1xyMWRBWpCG for <netconf@core3.amsl.com>; Sat, 14 Feb 2009 05:10:17 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id C067E3A6949 for <netconf@ietf.org>; Sat, 14 Feb 2009 05:10:15 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LYKHm-0001Jg-Do for netconf@ietf.org; Sat, 14 Feb 2009 14:10:22 +0100
Message-ID: <B179AAB79ED8498299F4318DEF5C2951@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Netconf" <netconf@ietf.org>
Date: Sat, 14 Feb 2009 14:09:47 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0A1B_01C98EAD.E4B40820"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Subject: [Netconf] tetsing archive
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sat, 14 Feb 2009 13:10:18 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0A1B_01C98EAD.E4B40820
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ignore this msg, I am testing the mailist archiving.

Bert Wijnen
------=_NextPart_000_0A1B_01C98EAD.E4B40820
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18203" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Ignore this msg, I am testing the mailist=20
archiving.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert Wijnen</FONT></DIV></BODY></HTML>

------=_NextPart_000_0A1B_01C98EAD.E4B40820--


From cfinss@dial.pipex.com  Sun Feb 15 10:18:17 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EAD373A6925 for <netconf@core3.amsl.com>; Sun, 15 Feb 2009 10:18:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.999
X-Spam-Level: 
X-Spam-Status: No, score=-0.999 tagged_above=-999 required=5 tests=[AWL=1.600,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hDCt-3qeWnPX for <netconf@core3.amsl.com>; Sun, 15 Feb 2009 10:18:17 -0800 (PST)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id 7C15D3A63CB for <netconf@ietf.org>; Sun, 15 Feb 2009 10:18:16 -0800 (PST)
X-Trace: 132186421/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.105.33/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.105.33
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApwEADbrl0k+vGkh/2dsb2JhbACDRopbwUcHhBUG
X-IronPort-AV: E=Sophos;i="4.38,212,1233532800"; d="scan'208";a="132186421"
X-IP-Direction: IN
Received: from 1cust33.tnt2.lnd9.gbr.da.uu.net (HELO allison) ([62.188.105.33]) by smtp.pipex.tiscali.co.uk with SMTP; 15 Feb 2009 18:18:22 +0000
Message-ID: <002901c98f91$3ece30e0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ersue, Mehmet \(NSN - DE/Munich\)" <mehmet.ersue@nsn.com>, "Netconf" <netconf@ietf.org>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop><20090212221004.GD29707@elstar.iuhb02.iu-bremen.de><52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net>
Date: Sun, 15 Feb 2009 18:15:11 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: mbadra@gmail.com
Subject: Re: [Netconf] Consensus verification WAS:RE: AD review fordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sun, 15 Feb 2009 18:18:18 -0000

----- Original Message -----
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "Netconf" <netconf@ietf.org>
Cc: <mbadra@gmail.com>
Sent: Friday, February 13, 2009 9:10 PM
Subject: [Netconf] Consensus verification WAS:RE: AD review
fordraft-ietf-netconf-tls-06.txt


> Dear NETCONF WG,
>
> we had already a long thread on this issue with 47 mails.
>
> As Bert stated in a parallel mail there seems to be no
> real practical or operational problems with the current
> end-of-message sequence. In fact changing the current
> mechanism would potentially cause problems.
>
> > >    Implementations MUST ensure that this character sequence is never
> > >    part of a NETCONF message.
>
> After some of you and the draft author agreed I assume
> we can see now the small text block above as the WG
> consensus.
>
> If anybody has any _strong_ objections please provide new
> text by Feb 16 by considering the discussion we had already.

I find this too terse, too coy.  Also, I am unclear how this fits w.r.t. the
current text or with the modification proposed at the start of this thread by
Dan.

I think we must be clearer.  There is no right answer as 47+ e-mails show.  I
agree that the protocol stays the same but we should point out the problem we
have now found, something like.

"[The] special character sequence, ]]>]]>, MUST be sent by both the client and
the server after each XML document in the NETCONF exchange, allowing
resynchronization of the NETCONF exchange in the event of an XML syntax or
parsing error.

"Contrary to the statement in RFC4742, the special character sequence can
legally appear in valid XML documents, as part of an attribute, of comments or
of Processing Instructions.  Implementations MUST ensure that this character
sequence is never part of a NETCONF message."

As to whether this should also be mentioned in s.5 of Security, I am inclined to
think that it should but that is only a _weak_ objection.

If someone reading this RFC sees this and thinks, 'Hey, they goofed' well, yes,
we goofed.  Better to say so.

Tom Petch

> Mehmet
>
>
> > -----Original Message-----
> > From: netconf-bounces@ietf.org
> > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
> > Sent: Friday, February 13, 2009 2:24 AM
> > To: j.schoenwaelder@jacobs-university.de
> > Cc: Netconf
> > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> >
> >
> > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen (IETF) wrote:
> > >
> > >> I would like to ask for implementers and people who deploy
> > >> implementations
> > >> what the answer is to this question:
> > >>
> > >>   Has the current end-of-message sequence caused any
> > inter-operability
> > >>   problems, or just theoretical problems that only occur
> > in test suites?
> > >>
> > >> IF there are no real pragmatic/practical/operational
> > problems, then do
> > >> we
> > >> really need (want) to cover all possible/theoretical corner cases?
> > >
> > > Operationally, I am not so much concerned. I am more concerned about
> > > someone finding a way to make malicious use of this framing
> > sequence,
> > > e.g. tricking implementations to somehow generate framing sequences
> > > where they should not be and using that to do creative things.
> > >
> > > Some people on this list argue that such concerns are not justified
> > > because NETCONF implementations should never generate the framing
> > > sequence and if they do, the (not really defined) NETCONF access
> > > control prevents damage to happen and by tampering with
> > messages, you
> > > will not really be able to do damage but just cause parse errors and
> > > other failures.  My concern is that people might underestimate
> > > creativity of hackers and overestimate the skills of NETCONF
> > > implementors.
> > >
> > > But perhaps we are really best of for the moment stating explicitly
> > > that NETCONF implementations MUST ensure that the framing
> > sequence is
> > > never part of a NETCONF message they generate. By stating this
> > > explicitly this, a potential CERT advisory is immediately
> > turned away
> > > from the IETF and hits the implementors.
> > >
> > > So the errata becomes to replace the following text
> > >
> > >    This character sequence cannot
> > >    legally appear in an XML document, so it can be
> > unambiguously used to
> > >    identify the end of the current document, allowing
> > resynchronization
> > >    of the NETCONF exchange in the event of an XML syntax or parsing
> > >    error.
> > >
> > > with for example
> > >
> > >    Implementations MUST ensure that this character sequence is never
> > >    part of a NETCONF message.
> >
> >
> > I am fine with that.
> > Best regards,
> > Badra
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf
> >
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf


From mehmet.ersue@nsn.com  Mon Feb 16 01:00:11 2009
Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D71FA3A693D for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 01:00:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.299
X-Spam-Level: 
X-Spam-Status: No, score=-6.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_13=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZcUJM1CRjHFt for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 01:00:11 -0800 (PST)
Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [217.115.75.233]) by core3.amsl.com (Postfix) with ESMTP id C343B3A680C for <netconf@ietf.org>; Mon, 16 Feb 2009 01:00:10 -0800 (PST)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd001.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n1G90If6026041 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 16 Feb 2009 10:00:18 +0100
Received: from demuexc024.nsn-intra.net (demuexc024.nsn-intra.net [10.159.32.11]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n1G90Gxh021393; Mon, 16 Feb 2009 10:00:18 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc024.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 16 Feb 2009 10:00:11 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 16 Feb 2009 09:59:56 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F701634549@DEMUEXC005.nsn-intra.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: NETCONF - Requested session has been scheduled for IETF 74 
Thread-Index: AcmOO0rPEyP/MjvNSqKDut1/BFF7QwB2MzWg
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "Netconf" <netconf@ietf.org>
X-OriginalArrivalTime: 16 Feb 2009 09:00:11.0513 (UTC) FILETIME=[F96C2690:01C99014]
Subject: [Netconf] FW: NETCONF - Requested session has been scheduled for IETF 74
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 09:00:11 -0000

=20
Hi All,

NETCONF session has been scheduled for Tuesday afternoon
on March 24, 1300-1500.=20

We are going to focus the agenda on our current chartered drafts.
Please let us know if you want anything to discuss in the open
mic slot.=20

Bert & Mehmet


-----Original Message-----
From: ext IETF Secretariat [mailto:agenda@ietf.org]=20
Sent: Saturday, February 14, 2009 1:29 AM
To: Ersue, Mehmet (NSN - DE/Munich)
Cc: bertietf@bwijnen.net; dromasca@avaya.com; rbonica@juniper.net;
session-request@ietf.org
Subject: NETCONF - Requested session has been scheduled for IETF 74=20

Dear Mehmet Ersue,

The sessions that you have requested have been scheduled.
Below is the scheduled session information followed by=20
the information of sessions that you have requested.

NETCONF Session 1 (2 hours)
Tuesday, Afternoon Session I 1300-1500
Room Name: Breakout 2
----------------------------------------------



Requested Information:


---------------------------------------------------------
Working Group Name: netconf
Area Name: Operations and Management Area
Session Requester: Mehmet Ersue

Number of Sessions: 1
Length of Session(s):  2 hours
                      =20
                      =20
Number of Attendees: 45
Conflicts to Avoid:
  First Priority: opsarea opsawg netmod ipfix syslog radext pmol psamp
dime isms
  Second Priority: tsvarea apparea v6ops tsvwg=20
  Third Priority: dnsop ippm adslmib bmwg capwap grow ipcdn mboned opsec
dhc ancp autoconf dnsext nsis
  BOF or IRTF Session: nmrg

Special Requests:
  Not on Friday afternoon (ISOC BoT meeting)
---------------------------------------------------------



From bertietf@bwijnen.net  Mon Feb 16 08:32:16 2009
Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 88DBC3A6ACC for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 08:32:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.021
X-Spam-Level: *
X-Spam-Status: No, score=1.021 tagged_above=-999 required=5 tests=[AWL=-0.396,  BAYES_20=-0.74, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eWNS4P6T5bqI for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 08:32:15 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id 768E73A6A83 for <netconf@ietf.org>; Mon, 16 Feb 2009 08:32:15 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LZ6OM-0007Tq-Cn; Mon, 16 Feb 2009 17:32:22 +0100
Message-ID: <50C199E0F4BA4BC39C358BB25FFE0566@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Balazs Lengyel" <balazs.lengyel@ericsson.com>
Date: Mon, 16 Feb 2009 17:32:02 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Cc: netconf mailing list <netconf@ietf.org>
Subject: [Netconf] Fw:  Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 16:32:16 -0000

It is not clear to me that we MUST now define how other datastores will be 
named.

I guess we can say that the entire choice should be maxOccurs=unbounded,
and that any datastore name (running, candidate, startup, but also any
other datastores that we define via IETF or that any comapny defines)
shgould be a maxIccurs=1. (not sure how you represent that in XSD?)

So I am not sure yet where that puts me in terms of the questions asked by 
Balazs
But I think it is:

1) yes
2) not sure we MUST define that now.
    we did not define it in rfc4741, did we? And that is porbably the place
    where we should have defined it or at least we should define the
    naming conventions there (in IANA considerations or some such section), 
no?

Bert


----- Original Message ----- 
From: Balazs Lengyel
To: Andy Bierman
Cc: netconf mailing list
Sent: Wednesday, February 11, 2009 10:21 AM
Subject: Re: [Netconf] Allow other datastores for Netconf


Hello,


Andy Bierman wrote:
>
> 1) I think you want minOccurs=1, maxOccurs=unbounded for
>    the entire choice, maxOccurs=1 on candidate, running,
>    and startup, and maxOccurs=unbounded on 'any'.
>    You don't need minOccurs=0 on choice members.
>
> 2) The schema implies that all agents will accept this 'any'
>    placeholder parameter, even though :url is required for
>    this feature to have any meaning on the agent.



>
> 3) This seems to be changing the design of NETCONF operations
>    to introduce arbitrary empty elements instead of the <url> element,
>    used everywhere else in NETCONF.  There is no such thing
>    as a config named <foo/> in NETCONF.  Instead, there is
>    a <url>file:://foo</url> allowed.  IMO, partial-lock should
>    be consistent with existing protocol operations.
>

BALAZS:

I will ask the basic question.
1) Do we want to prepare partial-lock for addition of other (non-standard) 
datastores?
2) If the answer 1) is yes how do we want to designate the additional 
datastores
    2a) like the datastores today with an empty element: <datastoreName/>
    2b) with an URL: <url>file:://foo</url> even though the datastore will 
often not be a file
    2c) something else

Handling additional datastores is not part of the partial-locking task. So 
unless we can get
consensus fast, I think we need to drop the issue from partial-locking. Very 
fast for me means
by Monday midnight. I would like the chairmans to explicitly approve this 
approach.

So please voice your opinion on the two questions!

Votes as I understand today (please correct me if I am wrong):

1)
Yes: Mehmet
No: Andy
Don't care: Balazs, Martin

2a) Balazs
2b) Andy
2c)
Balazs
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf 


From mehmet.ersue@nsn.com  Mon Feb 16 08:55:43 2009
Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 53B3B3A6C81 for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 08:55:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.449
X-Spam-Level: 
X-Spam-Status: No, score=-4.449 tagged_above=-999 required=5 tests=[AWL=-1.851, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hEuMeuahwp7p for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 08:55:42 -0800 (PST)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [217.115.75.234]) by core3.amsl.com (Postfix) with ESMTP id E4AC33A691D for <netconf@ietf.org>; Mon, 16 Feb 2009 08:55:40 -0800 (PST)
Received: from demuprx017.emea.nsn-intra.net ([10.150.129.56]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n1GGtlgJ008251 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 16 Feb 2009 17:55:47 +0100
Received: from demuexc024.nsn-intra.net (demuexc024.nsn-intra.net [10.159.32.11]) by demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n1GGtkGx023004; Mon, 16 Feb 2009 17:55:47 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc024.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 16 Feb 2009 17:55:46 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C99057.5BAF11BD"
Date: Mon, 16 Feb 2009 17:55:23 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F70163454D@DEMUEXC005.nsn-intra.net>
In-Reply-To: <002901c98f91$3ece30e0$0601a8c0@allison>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] Consensus verification WAS:RE: AD review fordraft-ietf-netconf-tls-06.txt
Thread-Index: AcmPmcxAnuMaCTpoQ3iQ8n1h28crNQAkHN7g
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop><20090212221004.GD29707@elstar.iuhb02.iu-bremen.de><52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <002901c98f91$3ece30e0$0601a8c0@allison>
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "tom.petch" <cfinss@dial.pipex.com>, "Netconf" <netconf@ietf.org>
X-OriginalArrivalTime: 16 Feb 2009 16:55:46.0091 (UTC) FILETIME=[695B37B0:01C99057]
Cc: mbadra@gmail.com
Subject: Re: [Netconf] Consensus verification WAS:RE: AD review fordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 16:55:43 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C99057.5BAF11BD
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Tom Petch wrote:
> "[The] special character sequence, ]]>]]>, MUST be sent by=20
> both the client and
> the server after each XML document in the NETCONF exchange, allowing
> resynchronization of the NETCONF exchange in the event of an=20
> XML syntax or
> parsing error.
>=20
> "Contrary to the statement in RFC4742, the special character=20
> sequence can
> legally appear in valid XML documents, as part of an=20
> attribute, of comments or
> of Processing Instructions.  Implementations MUST ensure that=20
> this character
> sequence is never part of a NETCONF message."

I understand your intension, however having more text=20
does not improve the clarity of the document. Do we really
need to state that NETCONF over TLS differs from RFC 4742?=20

Let us try to find a consensus with following text:

"This document uses the same delimiter sequence ("]]>]]>") defined in=20
[RFC4742], which MUST be sent by both the client and the server after=20
each XML document in the NETCONF exchange.=20
Implementations MUST ensure that this character sequence is never=20
part of a NETCONF message. This character sequence can legally=20
appear as carried data of XML elements in valid XML documents."

The consequence is that the TLS draft will have a different=20
delimiter handling as current 4742. I suggest to bring in this=20
as an errata for 4742.

Mehmet

> As to whether this should also be mentioned in s.5 of=20
> Security, I am inclined to
> think that it should but that is only a _weak_ objection.
>
> If someone reading this RFC sees this and thinks, 'Hey, they=20
> goofed' well, yes,
> we goofed.  Better to say so.
>=20
> Tom Petch
>=20
> > Mehmet
> >
> >
> > > -----Original Message-----
> > > From: netconf-bounces@ietf.org
> > > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
> > > Sent: Friday, February 13, 2009 2:24 AM
> > > To: j.schoenwaelder@jacobs-university.de
> > > Cc: Netconf
> > > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> > >
> > >
> > > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen=20
> (IETF) wrote:
> > > >
> > > >> I would like to ask for implementers and people who deploy
> > > >> implementations
> > > >> what the answer is to this question:
> > > >>
> > > >>   Has the current end-of-message sequence caused any
> > > inter-operability
> > > >>   problems, or just theoretical problems that only occur
> > > in test suites?
> > > >>
> > > >> IF there are no real pragmatic/practical/operational
> > > problems, then do
> > > >> we
> > > >> really need (want) to cover all possible/theoretical=20
> corner cases?
> > > >
> > > > Operationally, I am not so much concerned. I am more=20
> concerned about
> > > > someone finding a way to make malicious use of this framing
> > > sequence,
> > > > e.g. tricking implementations to somehow generate=20
> framing sequences
> > > > where they should not be and using that to do creative things.
> > > >
> > > > Some people on this list argue that such concerns are=20
> not justified
> > > > because NETCONF implementations should never generate=20
> the framing
> > > > sequence and if they do, the (not really defined) NETCONF access
> > > > control prevents damage to happen and by tampering with
> > > messages, you
> > > > will not really be able to do damage but just cause=20
> parse errors and
> > > > other failures.  My concern is that people might underestimate
> > > > creativity of hackers and overestimate the skills of NETCONF
> > > > implementors.
> > > >
> > > > But perhaps we are really best of for the moment=20
> stating explicitly
> > > > that NETCONF implementations MUST ensure that the framing
> > > sequence is
> > > > never part of a NETCONF message they generate. By stating this
> > > > explicitly this, a potential CERT advisory is immediately
> > > turned away
> > > > from the IETF and hits the implementors.
> > > >
> > > > So the errata becomes to replace the following text
> > > >
> > > >    This character sequence cannot
> > > >    legally appear in an XML document, so it can be
> > > unambiguously used to
> > > >    identify the end of the current document, allowing
> > > resynchronization
> > > >    of the NETCONF exchange in the event of an XML=20
> syntax or parsing
> > > >    error.
> > > >
> > > > with for example
> > > >
> > > >    Implementations MUST ensure that this character=20
> sequence is never
> > > >    part of a NETCONF message.
> > >
> > >
> > > I am fine with that.
> > > Best regards,
> > > Badra
> > > _______________________________________________
> > > Netconf mailing list
> > > Netconf@ietf.org
> > > https://www.ietf.org/mailman/listinfo/netconf
> > >
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf
>=20
>=20

------_=_NextPart_001_01C99057.5BAF11BD
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7654.2">
<TITLE>RE: [Netconf] Consensus verification WAS:RE: AD review =
fordraft-ietf-netconf-tls-06.txt</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">Tom Petch =
wrote:</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &quot;[The] =
special character sequence, ]]&gt;]]&gt;, MUST be sent by </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; both the client =
and</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; the server =
after each XML document in the NETCONF exchange, allowing</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
resynchronization of the NETCONF exchange in the event of an =
</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; XML syntax =
or</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; parsing =
error.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &quot;Contrary =
to the statement in RFC4742, the special character </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; sequence =
can</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; legally appear =
in valid XML documents, as part of an </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; attribute, of =
comments or</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; of Processing =
Instructions.&nbsp; Implementations MUST ensure that </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; this =
character</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; sequence is =
never part of a NETCONF message.&quot;</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">I understand your =
intension, however having more text </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">does not improve =
the clarity of the document. Do we really</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">need to state that =
NETCONF over TLS differs from RFC 4742? </FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">Let us try to find =
a consensus with following text:</FONT></SPAN>
</P>

<P><SPAN LANG=3D"en-us"><FONT FACE=3D"Arial">&quot;This document uses =
the same delimiter sequence (&quot;]]&gt;]]&gt;&quot;) defined in =
</FONT></SPAN>

<BR><SPAN LANG=3D"en-us"><FONT FACE=3D"Arial">[RFC4742], which MUST be =
sent by both the client and the server after </FONT></SPAN>

<BR><SPAN LANG=3D"en-us"><FONT FACE=3D"Arial">each XML document in the =
NETCONF exchange. </FONT></SPAN>

<BR><SPAN LANG=3D"en-us"><FONT FACE=3D"Arial">Implementations MUST =
ensure that this character sequence is never </FONT></SPAN>

<BR><SPAN LANG=3D"en-us"><FONT FACE=3D"Arial">part of a NETCONF message. =
This character sequence can legally </FONT></SPAN>

<BR><SPAN LANG=3D"en-us"><FONT FACE=3D"Arial">appear as carried data of =
XML elements in valid XML documents.&quot;</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">The consequence is =
that the TLS draft will have a different </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">delimiter handling =
as current 4742. I suggest to bring in this </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">as an errata for =
4742.</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 =
FACE=3D"Verdana">Mehmet</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; As to whether =
this should also be mentioned in s.5 of </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; Security, I am =
inclined to</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; think that it =
should but that is only a _weak_ objection.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; If someone =
reading this RFC sees this and thinks, 'Hey, they </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; goofed' well, =
yes,</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; we =
goofed.&nbsp; Better to say so.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; Tom =
Petch</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
Mehmet</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
-----Original Message-----</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; From: =
netconf-bounces@ietf.org</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
[</FONT></SPAN><A HREF=3D"mailto:netconf-bounces@ietf.org"><SPAN =
LANG=3D"de"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">mailto:netconf-bounces@ietf.org</FONT></U></SPAN></A><SPAN=
 LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">] On Behalf Of ext Mohamad =
Badra</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Sent: =
Friday, February 13, 2009 2:24 AM</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; To: =
j.schoenwaelder@jacobs-university.de</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Cc: =
Netconf</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
Subject: Re: [Netconf] AD review for =
draft-ietf-netconf-tls-06.txt</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; (IETF) =
wrote:</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt; I would like to ask for implementers and people who =
deploy</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt; implementations</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt; what the answer is to this question:</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt;&nbsp;&nbsp; Has the current end-of-message sequence caused =
any</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
inter-operability</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt;&nbsp;&nbsp; problems, or just theoretical problems that only =
occur</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; in =
test suites?</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt; IF there are no real =
pragmatic/practical/operational</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
problems, then do</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt; we</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&gt; really need (want) to cover all possible/theoretical =
</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; corner =
cases?</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
Operationally, I am not so much concerned. I am more </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; concerned =
about</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
someone finding a way to make malicious use of this =
framing</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
sequence,</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
e.g. tricking implementations to somehow generate </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; framing =
sequences</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
where they should not be and using that to do creative =
things.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
Some people on this list argue that such concerns are </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; not =
justified</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
because NETCONF implementations should never generate </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; the =
framing</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
sequence and if they do, the (not really defined) NETCONF =
access</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
control prevents damage to happen and by tampering with</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
messages, you</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
will not really be able to do damage but just cause </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; parse errors =
and</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
other failures.&nbsp; My concern is that people might =
underestimate</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
creativity of hackers and overestimate the skills of =
NETCONF</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
implementors.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
But perhaps we are really best of for the moment </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; stating =
explicitly</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
that NETCONF implementations MUST ensure that the framing</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
sequence is</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
never part of a NETCONF message they generate. By stating =
this</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
explicitly this, a potential CERT advisory is immediately</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
turned away</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
from the IETF and hits the implementors.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
So the errata becomes to replace the following text</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; This character sequence cannot</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; legally appear in an XML document, so it can =
be</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
unambiguously used to</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; identify the end of the current document, =
allowing</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
resynchronization</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; of the NETCONF exchange in the event of an XML =
</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; syntax or =
parsing</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; error.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; &gt; =
with for example</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; Implementations MUST ensure that this character =
</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; sequence is =
never</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
&gt;&nbsp;&nbsp;&nbsp; part of a NETCONF message.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; I am =
fine with that.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; Best =
regards,</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
Badra</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
_______________________________________________</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
Netconf mailing list</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
Netconf@ietf.org</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; &gt; =
</FONT></SPAN><A =
HREF=3D"https://www.ietf.org/mailman/listinfo/netconf"><SPAN =
LANG=3D"de"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">https://www.ietf.org/mailman/listinfo/netconf</FONT></U></=
SPAN></A><SPAN LANG=3D"de"></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
&gt;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
_______________________________________________</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; Netconf =
mailing list</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
Netconf@ietf.org</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; &gt; =
</FONT></SPAN><A =
HREF=3D"https://www.ietf.org/mailman/listinfo/netconf"><SPAN =
LANG=3D"de"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">https://www.ietf.org/mailman/listinfo/netconf</FONT></U></=
SPAN></A><SPAN LANG=3D"de"></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Arial">&gt; </FONT></SPAN>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C99057.5BAF11BD--

From dbharrington@comcast.net  Mon Feb 16 13:14:43 2009
Return-Path: <dbharrington@comcast.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A884E3A6D0B for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:14:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.669
X-Spam-Level: 
X-Spam-Status: No, score=-1.669 tagged_above=-999 required=5 tests=[AWL=-0.929, BAYES_20=-0.74]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0lrv1pi+oVxx for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:14:43 -0800 (PST)
Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by core3.amsl.com (Postfix) with ESMTP id B6B8E3A6954 for <netconf@ietf.org>; Mon, 16 Feb 2009 13:14:42 -0800 (PST)
Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA07.westchester.pa.mail.comcast.net with comcast id GdYQ1b00A1HzFnQ57lEtfK; Mon, 16 Feb 2009 21:14:53 +0000
Received: from Harrington73653 ([24.147.240.21]) by OMTA14.westchester.pa.mail.comcast.net with comcast id GlEt1b00K0UQ6dC3alEtVJ; Mon, 16 Feb 2009 21:14:53 +0000
From: "David B Harrington" <dbharrington@comcast.net>
To: "'Bert Wijnen \(IETF\)'" <bertietf@bwijnen.net>, "'Balazs Lengyel'" <balazs.lengyel@ericsson.com>
References: <50C199E0F4BA4BC39C358BB25FFE0566@BertLaptop>
Date: Mon, 16 Feb 2009 16:14:52 -0500
Message-ID: <031001c9907b$9bf37290$0600a8c0@china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-reply-to: <50C199E0F4BA4BC39C358BB25FFE0566@BertLaptop>
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Thread-index: AcmQVCk4RyaWnEKDSEONHU79PPsoZwAJuGGA
Cc: 'netconf mailing list' <netconf@ietf.org>
Subject: Re: [Netconf] Fw:  Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 21:14:43 -0000

Hi,

> 1) Do we want to prepare partial-lock for addition of other 
> (non-standard) 
> datastores?

I think partial locking MUST support this if NETCONF supports this.

> 2) If the answer 1) is yes how do we want to designate the
additional 
> datastores
>     2a) like the datastores today with an empty element: 
> <datastoreName/>
>     2b) with an URL: <url>file:://foo</url> even though the 
> datastore will 
> often not be a file
>     2c) something else

I think NETCONF should define this, not the partial-lock document.
So, for now, partial lock should say it will accept whatever format is
accepted by NETCONF.

And maybe it should say it will accept only formats accepted by
NETCONF, so that as NETCONF is updated, partial lock will comntinue to
work with whatever format is defined by NETCONF.

dbh 





From dbharrington@comcast.net  Mon Feb 16 13:23:46 2009
Return-Path: <dbharrington@comcast.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6587A3A6D1A for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:23:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.444
X-Spam-Level: 
X-Spam-Status: No, score=-2.444 tagged_above=-999 required=5 tests=[AWL=0.155,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t+KnR6dHLYfE for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:23:45 -0800 (PST)
Received: from QMTA04.westchester.pa.mail.comcast.net (qmta04.westchester.pa.mail.comcast.net [76.96.62.40]) by core3.amsl.com (Postfix) with ESMTP id C6D0728C12A for <netconf@ietf.org>; Mon, 16 Feb 2009 13:23:44 -0800 (PST)
Received: from OMTA02.westchester.pa.mail.comcast.net ([76.96.62.19]) by QMTA04.westchester.pa.mail.comcast.net with comcast id Gj7E1b06W0QuhwU54lPvHe; Mon, 16 Feb 2009 21:23:55 +0000
Received: from Harrington73653 ([24.147.240.21]) by OMTA02.westchester.pa.mail.comcast.net with comcast id GlPu1b00o0UQ6dC3NlPvMQ; Mon, 16 Feb 2009 21:23:55 +0000
From: "David B Harrington" <dbharrington@comcast.net>
To: <j.schoenwaelder@jacobs-university.de>, "'Bert Wijnen \(IETF\)'" <bertietf@bwijnen.net>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de>
Date: Mon, 16 Feb 2009 16:23:53 -0500
Message-ID: <031101c9907c$deb61870$0600a8c0@china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-reply-to: <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de>
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Thread-index: AcmNXrIG/27j4No1QTusyLUjgzCHVQDGbNUA
Cc: 'Netconf' <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 21:23:46 -0000

Hi,

Well, Juergen started out describing my concerns that the framing
sequence problem could be deliberately misused. 

But I don't think the solution to develop a rule that says "don't do
this" will work that well. If I were a hacker, and saw this rule, that
would probably be one of the very places I would look for an attack
vector.

I think the WG needs to seriously consider how this could be misused.

The Security Considerations should probably discuss this. Could an
attacker use this to create a DoS attack? 

dbh

> -----Original Message-----
> From: netconf-bounces@ietf.org 
> [mailto:netconf-bounces@ietf.org] On Behalf Of Juergen Schoenwaelder
> Sent: Thursday, February 12, 2009 5:10 PM
> To: Bert Wijnen (IETF)
> Cc: Netconf
> Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> 
> On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen (IETF) wrote:
> 
> > I would like to ask for implementers and people who deploy 
> implementations
> > what the answer is to this question:
> >
> >   Has the current end-of-message sequence caused any 
> inter-operability
> >   problems, or just theoretical problems that only occur in 
> test suites?
> >
> > IF there are no real pragmatic/practical/operational 
> problems, then do we
> > really need (want) to cover all possible/theoretical corner cases?
> 
> Operationally, I am not so much concerned. I am more concerned about
> someone finding a way to make malicious use of this framing
sequence,
> e.g. tricking implementations to somehow generate framing sequences
> where they should not be and using that to do creative things.
> 
> Some people on this list argue that such concerns are not justified
> because NETCONF implementations should never generate the framing
> sequence and if they do, the (not really defined) NETCONF access
> control prevents damage to happen and by tampering with messages,
you
> will not really be able to do damage but just cause parse errors and
> other failures.  My concern is that people might underestimate
> creativity of hackers and overestimate the skills of NETCONF
> implementors.
> 
> But perhaps we are really best of for the moment stating explicitly
> that NETCONF implementations MUST ensure that the framing sequence
is
> never part of a NETCONF message they generate. By stating this
> explicitly this, a potential CERT advisory is immediately turned
away
> from the IETF and hits the implementors.
> 
> So the errata becomes to replace the following text
> 
>    This character sequence cannot
>    legally appear in an XML document, so it can be 
> unambiguously used to
>    identify the end of the current document, allowing 
> resynchronization
>    of the NETCONF exchange in the event of an XML syntax or parsing
>    error.
> 
> with for example
> 
>    Implementations MUST ensure that this character sequence is never
>    part of a NETCONF message.
> 
> And someone might formulate some additional text explaining why this
> is not a restriction for any data carried in XML elements etc.
> 
> /js
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> 


From j.schoenwaelder@jacobs-university.de  Mon Feb 16 13:37:24 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE8083A67C1 for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:37:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.063
X-Spam-Level: 
X-Spam-Status: No, score=-2.063 tagged_above=-999 required=5 tests=[AWL=0.186,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qit6X6jNVnn3 for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:37:23 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 8D9693A6B8E for <netconf@ietf.org>; Mon, 16 Feb 2009 13:37:22 -0800 (PST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 62544C0010; Mon, 16 Feb 2009 22:37:32 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id WPaz4Guq5kuQ; Mon, 16 Feb 2009 22:37:26 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B1393C009A; Mon, 16 Feb 2009 22:37:26 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id 708FB9A2B62; Mon, 16 Feb 2009 22:37:25 +0100 (CET)
Date: Mon, 16 Feb 2009 22:37:25 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: David B Harrington <dbharrington@comcast.net>
Message-ID: <20090216213725.GA5657@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: David B Harrington <dbharrington@comcast.net>, "'Bert Wijnen (IETF)'" <bertietf@bwijnen.net>, 'Netconf' <netconf@ietf.org>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <02e301c98c37$5d565a40$0601a8c0@allison> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <031101c9907c$deb61870$0600a8c0@china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <031101c9907c$deb61870$0600a8c0@china.huawei.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: 'Netconf' <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 21:37:24 -0000

On Mon, Feb 16, 2009 at 04:23:53PM -0500, David B Harrington wrote:
 
> I think the WG needs to seriously consider how this could be misused.
> 
> The Security Considerations should probably discuss this. Could an
> attacker use this to create a DoS attack? 

This is a classic code injection problem. An attacker might be able to
inject arbitrary NETCONF messages via some application that does not
carfully check user input. Hence, applications and NETCONF APIs better
ensure that framing sequence never show up in NETCONF messages.

I do not really see a DoS attack in the classic sense of the work. Of
course, if someone injects NETCONF messages to change lets say your
BGP config, this might have quite interesting consequences. We are
after all talking about configuration...

I agree that a paragraph or two in the Security Considerations is a
good thing as it might help implementors to understand that it is
really important to carefully check user provided input and the format
of NETCONF messages generated.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

From dbharrington@comcast.net  Mon Feb 16 13:38:52 2009
Return-Path: <dbharrington@comcast.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CD98A28C13D for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:38:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.466
X-Spam-Level: 
X-Spam-Status: No, score=-2.466 tagged_above=-999 required=5 tests=[AWL=0.133,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A3C0NyA57aDL for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 13:38:51 -0800 (PST)
Received: from QMTA02.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by core3.amsl.com (Postfix) with ESMTP id 7E59D28C12C for <netconf@ietf.org>; Mon, 16 Feb 2009 13:38:51 -0800 (PST)
Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA02.westchester.pa.mail.comcast.net with comcast id GhGd1b02b0mv7h052lf2LN; Mon, 16 Feb 2009 21:39:02 +0000
Received: from Harrington73653 ([24.147.240.21]) by OMTA11.westchester.pa.mail.comcast.net with comcast id Glf21b00h0UQ6dC3Xlf2VA; Mon, 16 Feb 2009 21:39:02 +0000
From: "David B Harrington" <dbharrington@comcast.net>
To: "'Ersue, Mehmet \(NSN - DE/Munich\)'" <mehmet.ersue@nsn.com>, "'Netconf'" <netconf@ietf.org>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop><20090212221004.GD29707@elstar.iuhb02.iu-bremen.de><52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net>
Date: Mon, 16 Feb 2009 16:39:01 -0500
Message-ID: <031501c9907e$fb792770$0600a8c0@china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-reply-to: <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net>
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Thread-index: AcmNes/PzMOt6v1zQF2R3YQF9vUe0gAmegQAAJoNGjA=
Cc: mbadra@gmail.com
Subject: Re: [Netconf] Consensus verification WAS:RE: AD review fordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 21:38:52 -0000

Hi Mehmet,

"Implementations" is not that clear. Must all NETCONF implementations
prevent this? Or is it the implementations of NETCONF over TLS that
MUST handle this?  Does this sequence pose the same problems for other
transports, such as BEEP and SOAP and SSH? 

I think the text needs to be clearer.

What happens if NETCONF is processing an outgoing message and finds
this in the NETCONF message? what does it do - throw the message away?
escape the sequence? strip the sequence? Should that portion of the
processing return an error to the application that originated the
message? if so, which error code?

What happens if NETCONF is processing an incoming message and finds
this in the NETCONF message? what does it do - throw the message away?
Process the partial message? if so, what impact could that have on
network stability and/or network security? Is there any possibility
that a man-in-the-middle could insert such a sequence into a NETCONF
message? Do all the transports have mechanisms that prevent message
content modification, such that this should never be a problem?

dbh 

> -----Original Message-----
> From: netconf-bounces@ietf.org 
> [mailto:netconf-bounces@ietf.org] On Behalf Of Ersue, Mehmet 
> (NSN - DE/Munich)
> Sent: Friday, February 13, 2009 3:11 PM
> To: Netconf
> Cc: mbadra@gmail.com
> Subject: [Netconf] Consensus verification WAS:RE: AD review 
> fordraft-ietf-netconf-tls-06.txt
> 
> 
> Dear NETCONF WG,
> 
> we had already a long thread on this issue with 47 mails.
> 
> As Bert stated in a parallel mail there seems to be no 
> real practical or operational problems with the current 
> end-of-message sequence. In fact changing the current
> mechanism would potentially cause problems.
> 
> > >    Implementations MUST ensure that this character 
> sequence is never
> > >    part of a NETCONF message.
> 
> After some of you and the draft author agreed I assume 
> we can see now the small text block above as the WG 
> consensus.
> 
> If anybody has any _strong_ objections please provide new
> text by Feb 16 by considering the discussion we had already.
> 
> Mehmet
>  
> 
> > -----Original Message-----
> > From: netconf-bounces@ietf.org 
> > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
> > Sent: Friday, February 13, 2009 2:24 AM
> > To: j.schoenwaelder@jacobs-university.de
> > Cc: Netconf
> > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> > 
> > 
> > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen 
> (IETF) wrote:
> > >
> > >> I would like to ask for implementers and people who deploy
> > >> implementations
> > >> what the answer is to this question:
> > >>
> > >>   Has the current end-of-message sequence caused any 
> > inter-operability
> > >>   problems, or just theoretical problems that only occur 
> > in test suites?
> > >>
> > >> IF there are no real pragmatic/practical/operational 
> > problems, then do
> > >> we
> > >> really need (want) to cover all possible/theoretical 
> corner cases?
> > >
> > > Operationally, I am not so much concerned. I am more 
> concerned about
> > > someone finding a way to make malicious use of this framing 
> > sequence,
> > > e.g. tricking implementations to somehow generate framing 
> sequences
> > > where they should not be and using that to do creative things.
> > >
> > > Some people on this list argue that such concerns are not 
> justified
> > > because NETCONF implementations should never generate the
framing
> > > sequence and if they do, the (not really defined) NETCONF access
> > > control prevents damage to happen and by tampering with 
> > messages, you
> > > will not really be able to do damage but just cause parse 
> errors and
> > > other failures.  My concern is that people might underestimate
> > > creativity of hackers and overestimate the skills of NETCONF
> > > implementors.
> > >
> > > But perhaps we are really best of for the moment stating 
> explicitly
> > > that NETCONF implementations MUST ensure that the framing 
> > sequence is
> > > never part of a NETCONF message they generate. By stating this
> > > explicitly this, a potential CERT advisory is immediately 
> > turned away
> > > from the IETF and hits the implementors.
> > >
> > > So the errata becomes to replace the following text
> > >
> > >    This character sequence cannot
> > >    legally appear in an XML document, so it can be 
> > unambiguously used to
> > >    identify the end of the current document, allowing 
> > resynchronization
> > >    of the NETCONF exchange in the event of an XML syntax 
> or parsing
> > >    error.
> > >
> > > with for example
> > >
> > >    Implementations MUST ensure that this character 
> sequence is never
> > >    part of a NETCONF message.
> > 
> > 
> > I am fine with that.
> > Best regards,
> > Badra
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf
> > 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> 


From badra@isima.fr  Mon Feb 16 15:49:14 2009
Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DD5053A6842 for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 15:49:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.717
X-Spam-Level: 
X-Spam-Status: No, score=-1.717 tagged_above=-999 required=5 tests=[AWL=-0.068, BAYES_00=-2.599, HELO_EQ_FR=0.35, J_CHICKENPOX_81=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EeiJo1zU3mi8 for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 15:49:13 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id 73A6A3A6818 for <netconf@ietf.org>; Mon, 16 Feb 2009 15:49:13 -0800 (PST)
Received: from www.isima.fr (www-data@www.isima.fr [193.55.95.79]) by sp.isima.fr (8.13.8/8.13.8) with SMTP id n1H0mpfd295092; Tue, 17 Feb 2009 00:48:51 GMT
Received: from 88.175.65.115 (SquirrelMail authenticated user badra) by www.isima.fr with HTTP; Tue, 17 Feb 2009 00:42:00 +0100 (CET)
Message-ID: <50669.88.175.65.115.1234827720.squirrel@www.isima.fr>
In-Reply-To: <031501c9907e$fb792770$0600a8c0@china.huawei.com>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop><20090212221004.GD29707@elstar.iuhb02.iu-bremen.de><52240.88.164.98.77.1234488264.squirrel@www.isima.fr><A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <031501c9907e$fb792770$0600a8c0@china.huawei.com>
Date: Tue, 17 Feb 2009 00:42:00 +0100 (CET)
From: "Mohamad Badra" <badra@isima.fr>
To: "David B Harrington" <dbharrington@comcast.net>
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Tue, 17 Feb 2009 00:48:53 +0000 (WET)
Cc: 'Netconf' <netconf@ietf.org>
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mbadra@gmail.com
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 16 Feb 2009 23:49:15 -0000

Hi David

The man-in-the-middle is not possible between the two TLS entities (if the
identity check is well established as described in the document). However,
the transport layers can't resolve this problem if it happen at the upper
layers (inside attacks, out of TLS scope).

Since we must use the same RFC4742 special sequence, I think we can
alwaysuse it but in conjunction with another value generated by the TLS
session itself (let's say the TLS client random value, or the first 4
bytes of this value (the current gmt_unix_time)) or a value known only by
the TLS client and server.

If that is possible(I hope so :-)), so the TLS entities (client or server)
will replace the special sequence appearing in XML documents - exchanged
between two TLS entities - with the TLS session_id, add the special
sequence at the end of the modified XML document and send the result over
the TLS secure session (where date integrity is ensured). The TLS entity
that receives this modified document will look for the special sequence to
delimit the modified XML document (only one special sequence could appear
by a XML document). Next, the same entity will look for the TLS session_id
in the modified document to replace it with the special sequence before
delivering the original document to the application layer.

Well, it is always possible to say that a man in the middle can read the
TLS parameters exchanged in clear text (e.g. random values, session
identifier, etc.) and then can inject/insert falsified data, etc. IMO, we
should then use a secret sequence computed from the TLS material key to
avoid such a problem.

Comments?

Best regards,
Badra

> Hi Mehmet,
>
> "Implementations" is not that clear. Must all NETCONF implementations
> prevent this? Or is it the implementations of NETCONF over TLS that
> MUST handle this?  Does this sequence pose the same problems for other
> transports, such as BEEP and SOAP and SSH?
>
> I think the text needs to be clearer.
>
> What happens if NETCONF is processing an outgoing message and finds
> this in the NETCONF message? what does it do - throw the message away?
> escape the sequence? strip the sequence? Should that portion of the
> processing return an error to the application that originated the
> message? if so, which error code?
>
> What happens if NETCONF is processing an incoming message and finds
> this in the NETCONF message? what does it do - throw the message away?
> Process the partial message? if so, what impact could that have on
> network stability and/or network security? Is there any possibility
> that a man-in-the-middle could insert such a sequence into a NETCONF
> message? Do all the transports have mechanisms that prevent message
> content modification, such that this should never be a problem?
>
> dbh
>
>> -----Original Message-----
>> From: netconf-bounces@ietf.org
>> [mailto:netconf-bounces@ietf.org] On Behalf Of Ersue, Mehmet
>> (NSN - DE/Munich)
>> Sent: Friday, February 13, 2009 3:11 PM
>> To: Netconf
>> Cc: mbadra@gmail.com
>> Subject: [Netconf] Consensus verification WAS:RE: AD review
>> fordraft-ietf-netconf-tls-06.txt
>>
>>
>> Dear NETCONF WG,
>>
>> we had already a long thread on this issue with 47 mails.
>>
>> As Bert stated in a parallel mail there seems to be no
>> real practical or operational problems with the current
>> end-of-message sequence. In fact changing the current
>> mechanism would potentially cause problems.
>>
>> > >    Implementations MUST ensure that this character
>> sequence is never
>> > >    part of a NETCONF message.
>>
>> After some of you and the draft author agreed I assume
>> we can see now the small text block above as the WG
>> consensus.
>>
>> If anybody has any _strong_ objections please provide new
>> text by Feb 16 by considering the discussion we had already.
>>
>> Mehmet
>>
>>
>> > -----Original Message-----
>> > From: netconf-bounces@ietf.org
>> > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
>> > Sent: Friday, February 13, 2009 2:24 AM
>> > To: j.schoenwaelder@jacobs-university.de
>> > Cc: Netconf
>> > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>> >
>> >
>> > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen
>> (IETF) wrote:
>> > >
>> > >> I would like to ask for implementers and people who deploy
>> > >> implementations
>> > >> what the answer is to this question:
>> > >>
>> > >>   Has the current end-of-message sequence caused any
>> > inter-operability
>> > >>   problems, or just theoretical problems that only occur
>> > in test suites?
>> > >>
>> > >> IF there are no real pragmatic/practical/operational
>> > problems, then do
>> > >> we
>> > >> really need (want) to cover all possible/theoretical
>> corner cases?
>> > >
>> > > Operationally, I am not so much concerned. I am more
>> concerned about
>> > > someone finding a way to make malicious use of this framing
>> > sequence,
>> > > e.g. tricking implementations to somehow generate framing
>> sequences
>> > > where they should not be and using that to do creative things.
>> > >
>> > > Some people on this list argue that such concerns are not
>> justified
>> > > because NETCONF implementations should never generate the
> framing
>> > > sequence and if they do, the (not really defined) NETCONF access
>> > > control prevents damage to happen and by tampering with
>> > messages, you
>> > > will not really be able to do damage but just cause parse
>> errors and
>> > > other failures.  My concern is that people might underestimate
>> > > creativity of hackers and overestimate the skills of NETCONF
>> > > implementors.
>> > >
>> > > But perhaps we are really best of for the moment stating
>> explicitly
>> > > that NETCONF implementations MUST ensure that the framing
>> > sequence is
>> > > never part of a NETCONF message they generate. By stating this
>> > > explicitly this, a potential CERT advisory is immediately
>> > turned away
>> > > from the IETF and hits the implementors.
>> > >
>> > > So the errata becomes to replace the following text
>> > >
>> > >    This character sequence cannot
>> > >    legally appear in an XML document, so it can be
>> > unambiguously used to
>> > >    identify the end of the current document, allowing
>> > resynchronization
>> > >    of the NETCONF exchange in the event of an XML syntax
>> or parsing
>> > >    error.
>> > >
>> > > with for example
>> > >
>> > >    Implementations MUST ensure that this character
>> sequence is never
>> > >    part of a NETCONF message.
>> >

From Washam.Fan@huaweisymantec.com  Mon Feb 16 18:46:29 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 774EA3A6B20 for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 18:46:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.123
X-Spam-Level: 
X-Spam-Status: No, score=0.123 tagged_above=-999 required=5 tests=[AWL=-2.723,  BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, J_CHICKENPOX_81=0.6, MIME_8BIT_HEADER=0.3, SARE_SUB_ENC_GB2312=1.345]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RpkPhqzY9dwJ for <netconf@core3.amsl.com>; Mon, 16 Feb 2009 18:46:28 -0800 (PST)
Received: from mta2.huaweisymantec.com (mta2.huaweisymantec.com [121.15.168.143]) by core3.amsl.com (Postfix) with ESMTP id D27173A6AF7 for <netconf@ietf.org>; Mon, 16 Feb 2009 18:46:27 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.42]) by hstga02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KF600KF4VPLTW30@hstga02-in.huaweisymantec.com> for netconf@ietf.org; Tue, 17 Feb 2009 10:46:35 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KF600DFUVPJ7F00@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Tue, 17 Feb 2009 10:46:33 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Tue, 17 Feb 2009 10:46:31 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: mbadra@gmail.com
Message-id: <fc359ea949dd.499a9587@huaweisymantec.com>
Date: Tue, 17 Feb 2009 10:46:31 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
In-reply-to: <50669.88.175.65.115.1234827720.squirrel@www.isima.fr>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <02e301c98c37$5d565a40$0601a8c0@allison> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <031501c9907e$fb792770$0600a8c0@china.huawei.com> <50669.88.175.65.115.1234827720.squirrel@www.isima.fr>
Cc: 'Netconf' <netconf@ietf.org>
Subject: [Netconf] =?gb2312?b?u9i4tDogUmU6ICBDb25zZW5zdXMgdmVyaWZpY2F0aW9u?= =?gb2312?b?IFdBUzpSRTogQUQgcmV2aWV3Zm9yZHJhZnQtaWV0Zi1uZXRjb25mLXRscy0w?= =?gb2312?b?Ni50eHQ=?=
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 02:46:29 -0000

> Hi David
>  
>  The man-in-the-middle is not possible between the two TLS entities 
> (if the
>  identity check is well established as described in the document). However,
>  the transport layers can't resolve this problem if it happen at the upper
>  layers (inside attacks, out of TLS scope).
>  
>  Since we must use the same RFC4742 special sequence, I think we can
>  alwaysuse it but in conjunction with another value generated by the TLS
>  session itself (let's say the TLS client random value, or the first 4
>  bytes of this value (the current gmt_unix_time)) or a value known 
> only by
>  the TLS client and server.
>  
>  If that is possible(I hope so :-)), so the TLS entities (client or server)
>  will replace the special sequence appearing in XML documents - exchanged
>  between two TLS entities - with the TLS session_id, add the special
>  sequence at the end of the modified XML document and send the result 
> over
>  the TLS secure session (where date integrity is ensured). The TLS entity
>  that receives this modified document will look for the special 
> sequence to
>  delimit the modified XML document (only one special sequence could appear
>  by a XML document). Next, the same entity will look for the TLS session_id
>  in the modified document to replace it with the special sequence before
>  delivering the original document to the application layer.

Do you bring another problem? Is it possible that TLS session_id itself is 
legal in original XML document? If yes, you would modify the original 
document inadvertently.

washam

>  Well, it is always possible to say that a man in the middle can read 
> the
>  TLS parameters exchanged in clear text (e.g. random values, session
>  identifier, etc.) and then can inject/insert falsified data, etc. 
> IMO, we
>  should then use a secret sequence computed from the TLS material key 
> to
>  avoid such a problem.
>  
>  Comments?
>  
>  Best regards,
>  Badra
>  
>  > Hi Mehmet,
>  >
>  > "Implementations" is not that clear. Must all NETCONF implementations
>  > prevent this? Or is it the implementations of NETCONF over TLS that
>  > MUST handle this?  Does this sequence pose the same problems for other
>  > transports, such as BEEP and SOAP and SSH?
>  >
>  > I think the text needs to be clearer.
>  >
>  > What happens if NETCONF is processing an outgoing message and finds
>  > this in the NETCONF message? what does it do - throw the message away?
>  > escape the sequence? strip the sequence? Should that portion of the
>  > processing return an error to the application that originated the
>  > message? if so, which error code?
>  >
>  > What happens if NETCONF is processing an incoming message and finds
>  > this in the NETCONF message? what does it do - throw the message away?
>  > Process the partial message? if so, what impact could that have on
>  > network stability and/or network security? Is there any possibility
>  > that a man-in-the-middle could insert such a sequence into a NETCONF
>  > message? Do all the transports have mechanisms that prevent message
>  > content modification, such that this should never be a problem?
>  >
>  > dbh
>  >
>  >> -----Original Message-----
>  >> From: netconf-bounces@ietf.org
>  >> [mailto:netconf-bounces@ietf.org] On Behalf Of Ersue, Mehmet
>  >> (NSN - DE/Munich)
>  >> Sent: Friday, February 13, 2009 3:11 PM
>  >> To: Netconf
>  >> Cc: mbadra@gmail.com
>  >> Subject: [Netconf] Consensus verification WAS:RE: AD review
>  >> fordraft-ietf-netconf-tls-06.txt
>  >>
>  >>
>  >> Dear NETCONF WG,
>  >>
>  >> we had already a long thread on this issue with 47 mails.
>  >>
>  >> As Bert stated in a parallel mail there seems to be no
>  >> real practical or operational problems with the current
>  >> end-of-message sequence. In fact changing the current
>  >> mechanism would potentially cause problems.
>  >>
>  >> > >    Implementations MUST ensure that this character
>  >> sequence is never
>  >> > >    part of a NETCONF message.
>  >>
>  >> After some of you and the draft author agreed I assume
>  >> we can see now the small text block above as the WG
>  >> consensus.
>  >>
>  >> If anybody has any _strong_ objections please provide new
>  >> text by Feb 16 by considering the discussion we had already.
>  >>
>  >> Mehmet
>  >>
>  >>
>  >> > -----Original Message-----
>  >> > From: netconf-bounces@ietf.org
>  >> > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
>  >> > Sent: Friday, February 13, 2009 2:24 AM
>  >> > To: j.schoenwaelder@jacobs-university.de
>  >> > Cc: Netconf
>  >> > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>  >> >
>  >> >
>  >> > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen
>  >> (IETF) wrote:
>  >> > >
>  >> > >> I would like to ask for implementers and people who deploy
>  >> > >> implementations
>  >> > >> what the answer is to this question:
>  >> > >>
>  >> > >>   Has the current end-of-message sequence caused any
>  >> > inter-operability
>  >> > >>   problems, or just theoretical problems that only occur
>  >> > in test suites?
>  >> > >>
>  >> > >> IF there are no real pragmatic/practical/operational
>  >> > problems, then do
>  >> > >> we
>  >> > >> really need (want) to cover all possible/theoretical
>  >> corner cases?
>  >> > >
>  >> > > Operationally, I am not so much concerned. I am more
>  >> concerned about
>  >> > > someone finding a way to make malicious use of this framing
>  >> > sequence,
>  >> > > e.g. tricking implementations to somehow generate framing
>  >> sequences
>  >> > > where they should not be and using that to do creative things.
>  >> > >
>  >> > > Some people on this list argue that such concerns are not
>  >> justified
>  >> > > because NETCONF implementations should never generate the
>  > framing
>  >> > > sequence and if they do, the (not really defined) NETCONF access
>  >> > > control prevents damage to happen and by tampering with
>  >> > messages, you
>  >> > > will not really be able to do damage but just cause parse
>  >> errors and
>  >> > > other failures.  My concern is that people might underestimate
>  >> > > creativity of hackers and overestimate the skills of NETCONF
>  >> > > implementors.
>  >> > >
>  >> > > But perhaps we are really best of for the moment stating
>  >> explicitly
>  >> > > that NETCONF implementations MUST ensure that the framing
>  >> > sequence is
>  >> > > never part of a NETCONF message they generate. By stating this
>  >> > > explicitly this, a potential CERT advisory is immediately
>  >> > turned away
>  >> > > from the IETF and hits the implementors.
>  >> > >
>  >> > > So the errata becomes to replace the following text
>  >> > >
>  >> > >    This character sequence cannot
>  >> > >    legally appear in an XML document, so it can be
>  >> > unambiguously used to
>  >> > >    identify the end of the current document, allowing
>  >> > resynchronization
>  >> > >    of the NETCONF exchange in the event of an XML syntax
>  >> or parsing
>  >> > >    error.
>  >> > >
>  >> > > with for example
>  >> > >
>  >> > >    Implementations MUST ensure that this character
>  >> sequence is never
>  >> > >    part of a NETCONF message.
>  >> >
>  _______________________________________________
>  Netconf mailing list
>  Netconf@ietf.org
>  https://www.ietf.org/mailman/listinfo/netconf
>  

From bertietf@bwijnen.net  Tue Feb 17 05:03:28 2009
Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 553953A6A97 for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 05:03:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.49
X-Spam-Level: 
X-Spam-Status: No, score=0.49 tagged_above=-999 required=5 tests=[AWL=0.332, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001, J_CHICKENPOX_81=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EOZajB4RIkLw for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 05:03:26 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id 2F8E33A6A78 for <netconf@ietf.org>; Tue, 17 Feb 2009 05:03:26 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LZPbq-0002Ue-7p; Tue, 17 Feb 2009 14:03:34 +0100
Message-ID: <325E2FFFC02940F586908B110154C140@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: <mbadra@gmail.com>, "David B Harrington" <dbharrington@comcast.net>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop><20090212221004.GD29707@elstar.iuhb02.iu-bremen.de><52240.88.164.98.77.1234488264.squirrel@www.isima.fr><A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net><031501c9907e$fb792770$0600a8c0@china.huawei.com> <50669.88.175.65.115.1234827720.squirrel@www.isima.fr>
In-Reply-To: <50669.88.175.65.115.1234827720.squirrel@www.isima.fr>
Date: Tue, 17 Feb 2009 14:03:00 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_10CD_01C99108.716BDCF0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Cc: 'Netconf' <netconf@ietf.org>
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 13:03:28 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_10CD_01C99108.716BDCF0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

David,

You have lost of questions. Pls realize:
- we are in IETF LC phase. It would be good to add suggested text
  to remedy the rpoblems you see.

- your questions equally apply to the rfc4742 context.

- So... do we want to have a NetConf over TLS that is in the same=20
  good/reasnable shape as NetConf over SSH? Or do we want to
  put all the concerns we have on the generic EOM issue on
  this specific document?

- I would suggest that we try to get this document approved
  and published, so that people can start  to implement against
  a stable (as stable as rfc4742) spec.

- If we still see the sort of issues you bring forward as SERIOUS
  enough to tackle them, then we should probably launch a rfc4742
  and rfcyyyy (the Netconf over TLS spec once it is an RFC) update
  to fix any gaps/errors/security/hacking concerns.


I am not sure that the suggested extra TLS-generated value is gonna
get us anywhere in a reasonable amount of time. And even if it does,
it does not solve the same (generic?) problem with the EOM handling
in RFC4742.

Bert


----- Original Message -----=20
  From: Mohamad Badra=20
  To: David B Harrington=20
  Cc: 'Netconf'=20
  Sent: Tuesday, February 17, 2009 12:42 AM
  Subject: Re: [Netconf] Consensus verification WAS:RE: AD =
reviewfordraft-ietf-netconf-tls-06.txt


  Hi David

  The man-in-the-middle is not possible between the two TLS entities (if =
the
  identity check is well established as described in the document). =
However,
  the transport layers can't resolve this problem if it happen at the =
upper
  layers (inside attacks, out of TLS scope).

  Since we must use the same RFC4742 special sequence, I think we can
  alwaysuse it but in conjunction with another value generated by the =
TLS
  session itself (let's say the TLS client random value, or the first 4
  bytes of this value (the current gmt_unix_time)) or a value known only =
by
  the TLS client and server.

  If that is possible(I hope so :-)), so the TLS entities (client or =
server)
  will replace the special sequence appearing in XML documents - =
exchanged
  between two TLS entities - with the TLS session_id, add the special
  sequence at the end of the modified XML document and send the result =
over
  the TLS secure session (where date integrity is ensured). The TLS =
entity
  that receives this modified document will look for the special =
sequence to
  delimit the modified XML document (only one special sequence could =
appear
  by a XML document). Next, the same entity will look for the TLS =
session_id
  in the modified document to replace it with the special sequence =
before
  delivering the original document to the application layer.

  Well, it is always possible to say that a man in the middle can read =
the
  TLS parameters exchanged in clear text (e.g. random values, session
  identifier, etc.) and then can inject/insert falsified data, etc. IMO, =
we
  should then use a secret sequence computed from the TLS material key =
to
  avoid such a problem.

  Comments?

  Best regards,
  Badra

  > Hi Mehmet,
  >
  > "Implementations" is not that clear. Must all NETCONF =
implementations
  > prevent this? Or is it the implementations of NETCONF over TLS that
  > MUST handle this?  Does this sequence pose the same problems for =
other
  > transports, such as BEEP and SOAP and SSH?
  >
  > I think the text needs to be clearer.
  >
  > What happens if NETCONF is processing an outgoing message and finds
  > this in the NETCONF message? what does it do - throw the message =
away?
  > escape the sequence? strip the sequence? Should that portion of the
  > processing return an error to the application that originated the
  > message? if so, which error code?
  >
  > What happens if NETCONF is processing an incoming message and finds
  > this in the NETCONF message? what does it do - throw the message =
away?
  > Process the partial message? if so, what impact could that have on
  > network stability and/or network security? Is there any possibility
  > that a man-in-the-middle could insert such a sequence into a NETCONF
  > message? Do all the transports have mechanisms that prevent message
  > content modification, such that this should never be a problem?
  >
  > dbh
  >
  >> -----Original Message-----
  >> From: netconf-bounces@ietf.org
  >> [mailto:netconf-bounces@ietf.org] On Behalf Of Ersue, Mehmet
  >> (NSN - DE/Munich)
  >> Sent: Friday, February 13, 2009 3:11 PM
  >> To: Netconf
  >> Cc: mbadra@gmail.com
  >> Subject: [Netconf] Consensus verification WAS:RE: AD review
  >> fordraft-ietf-netconf-tls-06.txt
  >>
  >>
  >> Dear NETCONF WG,
  >>
  >> we had already a long thread on this issue with 47 mails.
  >>
  >> As Bert stated in a parallel mail there seems to be no
  >> real practical or operational problems with the current
  >> end-of-message sequence. In fact changing the current
  >> mechanism would potentially cause problems.
  >>
  >> > >    Implementations MUST ensure that this character
  >> sequence is never
  >> > >    part of a NETCONF message.
  >>
  >> After some of you and the draft author agreed I assume
  >> we can see now the small text block above as the WG
  >> consensus.
  >>
  >> If anybody has any _strong_ objections please provide new
  >> text by Feb 16 by considering the discussion we had already.
  >>
  >> Mehmet
  >>
  >>
  >> > -----Original Message-----
  >> > From: netconf-bounces@ietf.org
  >> > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
  >> > Sent: Friday, February 13, 2009 2:24 AM
  >> > To: j.schoenwaelder@jacobs-university.de
  >> > Cc: Netconf
  >> > Subject: Re: [Netconf] AD review for =
draft-ietf-netconf-tls-06.txt
  >> >
  >> >
  >> > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen
  >> (IETF) wrote:
  >> > >
  >> > >> I would like to ask for implementers and people who deploy
  >> > >> implementations
  >> > >> what the answer is to this question:
  >> > >>
  >> > >>   Has the current end-of-message sequence caused any
  >> > inter-operability
  >> > >>   problems, or just theoretical problems that only occur
  >> > in test suites?
  >> > >>
  >> > >> IF there are no real pragmatic/practical/operational
  >> > problems, then do
  >> > >> we
  >> > >> really need (want) to cover all possible/theoretical
  >> corner cases?
  >> > >
  >> > > Operationally, I am not so much concerned. I am more
  >> concerned about
  >> > > someone finding a way to make malicious use of this framing
  >> > sequence,
  >> > > e.g. tricking implementations to somehow generate framing
  >> sequences
  >> > > where they should not be and using that to do creative things.
  >> > >
  >> > > Some people on this list argue that such concerns are not
  >> justified
  >> > > because NETCONF implementations should never generate the
  > framing
  >> > > sequence and if they do, the (not really defined) NETCONF =
access
  >> > > control prevents damage to happen and by tampering with
  >> > messages, you
  >> > > will not really be able to do damage but just cause parse
  >> errors and
  >> > > other failures.  My concern is that people might underestimate
  >> > > creativity of hackers and overestimate the skills of NETCONF
  >> > > implementors.
  >> > >
  >> > > But perhaps we are really best of for the moment stating
  >> explicitly
  >> > > that NETCONF implementations MUST ensure that the framing
  >> > sequence is
  >> > > never part of a NETCONF message they generate. By stating this
  >> > > explicitly this, a potential CERT advisory is immediately
  >> > turned away
  >> > > from the IETF and hits the implementors.
  >> > >
  >> > > So the errata becomes to replace the following text
  >> > >
  >> > >    This character sequence cannot
  >> > >    legally appear in an XML document, so it can be
  >> > unambiguously used to
  >> > >    identify the end of the current document, allowing
  >> > resynchronization
  >> > >    of the NETCONF exchange in the event of an XML syntax
  >> or parsing
  >> > >    error.
  >> > >
  >> > > with for example
  >> > >
  >> > >    Implementations MUST ensure that this character
  >> sequence is never
  >> > >    part of a NETCONF message.
  >> >
  _______________________________________________
  Netconf mailing list
  Netconf@ietf.org
  https://www.ietf.org/mailman/listinfo/netconf

------=_NextPart_000_10CD_01C99108.716BDCF0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18203" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>David,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>You have lost of questions. Pls =
realize:</FONT></DIV>
<DIV><FONT size=3D2>- we are in IETF LC phase. It would be good to add =
suggested=20
text</FONT></DIV>
<DIV><FONT size=3D2>&nbsp; to remedy the rpoblems you see.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>- your questions equally apply to the rfc4742=20
context.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>- So... do we want to have a NetConf over TLS that =
is in the=20
same </FONT></DIV>
<DIV><FONT size=3D2>&nbsp; good/reasnable shape as NetConf over SSH? Or =
do we want=20
to</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;put all the concerns we have on the =
generic EOM=20
issue on</FONT></DIV>
<DIV><FONT size=3D2>&nbsp; this specific document?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>- I would suggest that we try to get =
this</FONT><FONT size=3D2>=20
document approved</FONT></DIV>
<DIV><FONT size=3D2>&nbsp; and published, so that people can =
start</FONT><FONT=20
size=3D2>&nbsp; to implement against</FONT></DIV>
<DIV><FONT size=3D2>&nbsp; a stable (as stable as rfc4742) =
spec.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>- If we still see the sort of issues you bring =
forward as=20
SERIOUS</FONT></DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp;enough to tackle them, then we should =
probably=20
launch a rfc4742</FONT></DIV>
<DIV><FONT size=3D2>&nbsp; and rfcyyyy (the Netconf over TLS spec once =
it is an=20
RFC) update</FONT></DIV>
<DIV><FONT size=3D2>&nbsp; to fix any gaps/errors/security/hacking=20
concerns.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I am not sure that the suggested extra TLS-generated =
value is=20
gonna</FONT></DIV>
<DIV><FONT size=3D2>get us anywhere in a reasonable amount of time. And =
even if it=20
does,</FONT></DIV>
<DIV><FONT size=3D2>it does not solve the same (generic?) problem with =
the EOM=20
handling</FONT></DIV>
<DIV><FONT size=3D2>in RFC4742.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dbadra@isima.fr href=3D"mailto:badra@isima.fr">Mohamad =
Badra</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Ddbharrington@comcast.net=20
  href=3D"mailto:dbharrington@comcast.net">David B Harrington</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A title=3Dnetconf@ietf.org =

  href=3D"mailto:netconf@ietf.org">'Netconf'</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, February 17, =
2009 12:42=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Netconf] =
Consensus=20
  verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt</DIV>
  <DIV><BR></DIV>Hi David<BR><BR>The man-in-the-middle is not possible =
between=20
  the two TLS entities (if the<BR>identity check is well established as=20
  described in the document). However,<BR>the transport layers can't =
resolve=20
  this problem if it happen at the upper<BR>layers (inside attacks, out =
of TLS=20
  scope).<BR><BR>Since we must use the same RFC4742 special sequence, I =
think we=20
  can<BR>alwaysuse it but in conjunction with another value generated by =
the=20
  TLS<BR>session itself (let's say the TLS client random value, or the =
first=20
  4<BR>bytes of this value (the current gmt_unix_time)) or a value known =
only=20
  by<BR>the TLS client and server.<BR><BR>If that is possible(I hope so =
:-)), so=20
  the TLS entities (client or server)<BR>will replace the special =
sequence=20
  appearing in XML documents - exchanged<BR>between two TLS entities - =
with the=20
  TLS session_id, add the special<BR>sequence at the end of the modified =
XML=20
  document and send the result over<BR>the TLS secure session (where =
date=20
  integrity is ensured). The TLS entity<BR>that receives this modified =
document=20
  will look for the special sequence to<BR>delimit the modified XML =
document=20
  (only one special sequence could appear<BR>by a XML document). Next, =
the same=20
  entity will look for the TLS session_id<BR>in the modified document to =
replace=20
  it with the special sequence before<BR>delivering the original =
document to the=20
  application layer.<BR><BR>Well, it is always possible to say that a =
man in the=20
  middle can read the<BR>TLS parameters exchanged in clear text (e.g. =
random=20
  values, session<BR>identifier, etc.) and then can inject/insert =
falsified=20
  data, etc. IMO, we<BR>should then use a secret sequence computed from =
the TLS=20
  material key to<BR>avoid such a problem.<BR><BR>Comments?<BR><BR>Best=20
  regards,<BR>Badra<BR><BR>&gt; Hi Mehmet,<BR>&gt;<BR>&gt; =
"Implementations" is=20
  not that clear. Must all NETCONF implementations<BR>&gt; prevent this? =
Or is=20
  it the implementations of NETCONF over TLS that<BR>&gt; MUST handle=20
  this?&nbsp; Does this sequence pose the same problems for =
other<BR>&gt;=20
  transports, such as BEEP and SOAP and SSH?<BR>&gt;<BR>&gt; I think the =
text=20
  needs to be clearer.<BR>&gt;<BR>&gt; What happens if NETCONF is =
processing an=20
  outgoing message and finds<BR>&gt; this in the NETCONF message? what =
does it=20
  do - throw the message away?<BR>&gt; escape the sequence? strip the =
sequence?=20
  Should that portion of the<BR>&gt; processing return an error to the=20
  application that originated the<BR>&gt; message? if so, which error=20
  code?<BR>&gt;<BR>&gt; What happens if NETCONF is processing an =
incoming=20
  message and finds<BR>&gt; this in the NETCONF message? what does it do =
- throw=20
  the message away?<BR>&gt; Process the partial message? if so, what =
impact=20
  could that have on<BR>&gt; network stability and/or network security? =
Is there=20
  any possibility<BR>&gt; that a man-in-the-middle could insert such a =
sequence=20
  into a NETCONF<BR>&gt; message? Do all the transports have mechanisms =
that=20
  prevent message<BR>&gt; content modification, such that this should =
never be a=20
  problem?<BR>&gt;<BR>&gt; dbh<BR>&gt;<BR>&gt;&gt; -----Original=20
  Message-----<BR>&gt;&gt; From: <A=20
  =
href=3D"mailto:netconf-bounces@ietf.org">netconf-bounces@ietf.org</A><BR>=
&gt;&gt;=20
  [mailto:netconf-bounces@ietf.org] On Behalf Of Ersue, =
Mehmet<BR>&gt;&gt; (NSN=20
  - DE/Munich)<BR>&gt;&gt; Sent: Friday, February 13, 2009 3:11 =
PM<BR>&gt;&gt;=20
  To: Netconf<BR>&gt;&gt; Cc: <A=20
  href=3D"mailto:mbadra@gmail.com">mbadra@gmail.com</A><BR>&gt;&gt; =
Subject:=20
  [Netconf] Consensus verification WAS:RE: AD review<BR>&gt;&gt;=20
  fordraft-ietf-netconf-tls-06.txt<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; =
Dear=20
  NETCONF WG,<BR>&gt;&gt;<BR>&gt;&gt; we had already a long thread on =
this issue=20
  with 47 mails.<BR>&gt;&gt;<BR>&gt;&gt; As Bert stated in a parallel =
mail there=20
  seems to be no<BR>&gt;&gt; real practical or operational problems with =
the=20
  current<BR>&gt;&gt; end-of-message sequence. In fact changing the=20
  current<BR>&gt;&gt; mechanism would potentially cause=20
  problems.<BR>&gt;&gt;<BR>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; =
Implementations=20
  MUST ensure that this character<BR>&gt;&gt; sequence is =
never<BR>&gt;&gt; &gt;=20
  &gt;&nbsp;&nbsp;&nbsp; part of a NETCONF =
message.<BR>&gt;&gt;<BR>&gt;&gt;=20
  After some of you and the draft author agreed I assume<BR>&gt;&gt; we =
can see=20
  now the small text block above as the WG<BR>&gt;&gt;=20
  consensus.<BR>&gt;&gt;<BR>&gt;&gt; If anybody has any _strong_ =
objections=20
  please provide new<BR>&gt;&gt; text by Feb 16 by considering the =
discussion we=20
  had already.<BR>&gt;&gt;<BR>&gt;&gt;=20
  Mehmet<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; &gt; -----Original=20
  Message-----<BR>&gt;&gt; &gt; From: <A=20
  =
href=3D"mailto:netconf-bounces@ietf.org">netconf-bounces@ietf.org</A><BR>=
&gt;&gt;=20
  &gt; [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad=20
  Badra<BR>&gt;&gt; &gt; Sent: Friday, February 13, 2009 2:24 =
AM<BR>&gt;&gt;=20
  &gt; To: <A=20
  =
href=3D"mailto:j.schoenwaelder@jacobs-university.de">j.schoenwaelder@jaco=
bs-university.de</A><BR>&gt;&gt;=20
  &gt; Cc: Netconf<BR>&gt;&gt; &gt; Subject: Re: [Netconf] AD review for =

  draft-ietf-netconf-tls-06.txt<BR>&gt;&gt; &gt;<BR>&gt;&gt; =
&gt;<BR>&gt;&gt;=20
  &gt; &gt; On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert =
Wijnen<BR>&gt;&gt;=20
  (IETF) wrote:<BR>&gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt; &gt;&gt; I would =
like to=20
  ask for implementers and people who deploy<BR>&gt;&gt; &gt; &gt;&gt;=20
  implementations<BR>&gt;&gt; &gt; &gt;&gt; what the answer is to this=20
  question:<BR>&gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt; =
&gt;&gt;&nbsp;&nbsp; Has=20
  the current end-of-message sequence caused any<BR>&gt;&gt; &gt;=20
  inter-operability<BR>&gt;&gt; &gt; &gt;&gt;&nbsp;&nbsp; problems, or =
just=20
  theoretical problems that only occur<BR>&gt;&gt; &gt; in test=20
  suites?<BR>&gt;&gt; &gt; &gt;&gt;<BR>&gt;&gt; &gt; &gt;&gt; IF there =
are no=20
  real pragmatic/practical/operational<BR>&gt;&gt; &gt; problems, then=20
  do<BR>&gt;&gt; &gt; &gt;&gt; we<BR>&gt;&gt; &gt; &gt;&gt; really need =
(want)=20
  to cover all possible/theoretical<BR>&gt;&gt; corner =
cases?<BR>&gt;&gt; &gt;=20
  &gt;<BR>&gt;&gt; &gt; &gt; Operationally, I am not so much concerned. =
I am=20
  more<BR>&gt;&gt; concerned about<BR>&gt;&gt; &gt; &gt; someone finding =
a way=20
  to make malicious use of this framing<BR>&gt;&gt; &gt; =
sequence,<BR>&gt;&gt;=20
  &gt; &gt; e.g. tricking implementations to somehow generate=20
  framing<BR>&gt;&gt; sequences<BR>&gt;&gt; &gt; &gt; where they should =
not be=20
  and using that to do creative things.<BR>&gt;&gt; &gt; =
&gt;<BR>&gt;&gt; &gt;=20
  &gt; Some people on this list argue that such concerns are =
not<BR>&gt;&gt;=20
  justified<BR>&gt;&gt; &gt; &gt; because NETCONF implementations should =
never=20
  generate the<BR>&gt; framing<BR>&gt;&gt; &gt; &gt; sequence and if =
they do,=20
  the (not really defined) NETCONF access<BR>&gt;&gt; &gt; &gt; control =
prevents=20
  damage to happen and by tampering with<BR>&gt;&gt; &gt; messages,=20
  you<BR>&gt;&gt; &gt; &gt; will not really be able to do damage but =
just cause=20
  parse<BR>&gt;&gt; errors and<BR>&gt;&gt; &gt; &gt; other =
failures.&nbsp; My=20
  concern is that people might underestimate<BR>&gt;&gt; &gt; &gt; =
creativity of=20
  hackers and overestimate the skills of NETCONF<BR>&gt;&gt; &gt; &gt;=20
  implementors.<BR>&gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt; &gt; But perhaps =
we are=20
  really best of for the moment stating<BR>&gt;&gt; =
explicitly<BR>&gt;&gt; &gt;=20
  &gt; that NETCONF implementations MUST ensure that the =
framing<BR>&gt;&gt;=20
  &gt; sequence is<BR>&gt;&gt; &gt; &gt; never part of a NETCONF message =
they=20
  generate. By stating this<BR>&gt;&gt; &gt; &gt; explicitly this, a =
potential=20
  CERT advisory is immediately<BR>&gt;&gt; &gt; turned away<BR>&gt;&gt; =
&gt;=20
  &gt; from the IETF and hits the implementors.<BR>&gt;&gt; &gt;=20
  &gt;<BR>&gt;&gt; &gt; &gt; So the errata becomes to replace the =
following=20
  text<BR>&gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; =
This=20
  character sequence cannot<BR>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; =
legally=20
  appear in an XML document, so it can be<BR>&gt;&gt; &gt; unambiguously =
used=20
  to<BR>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; identify the end of the =
current=20
  document, allowing<BR>&gt;&gt; &gt; resynchronization<BR>&gt;&gt; &gt; =

  &gt;&nbsp;&nbsp;&nbsp; of the NETCONF exchange in the event of an XML=20
  syntax<BR>&gt;&gt; or parsing<BR>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;=20
  error.<BR>&gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt; &gt; with for=20
  example<BR>&gt;&gt; &gt; &gt;<BR>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;=20
  Implementations MUST ensure that this character<BR>&gt;&gt; sequence =
is=20
  never<BR>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; part of a NETCONF=20
  message.<BR>&gt;&gt;=20
  &gt;<BR>_______________________________________________<BR>Netconf =
mailing=20
  list<BR><A href=3D"mailto:Netconf@ietf.org">Netconf@ietf.org</A><BR><A =

  =
href=3D"https://www.ietf.org/mailman/listinfo/netconf">https://www.ietf.o=
rg/mailman/listinfo/netconf</A><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_10CD_01C99108.716BDCF0--


From balazs.lengyel@ericsson.com  Tue Feb 17 06:45:21 2009
Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E24F83A6945 for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 06:45:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p5TAIpyWFieO for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 06:45:21 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 0C55F3A67A5 for <netconf@ietf.org>; Tue, 17 Feb 2009 06:45:20 -0800 (PST)
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 5DC5E20D17; Tue, 17 Feb 2009 15:45:30 +0100 (CET)
X-AuditID: c1b4fb3c-a8a80bb00000127c-be-499acd8a1df0
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 4A90420C19; Tue, 17 Feb 2009 15:45:30 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 17 Feb 2009 15:45:29 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 17 Feb 2009 15:45:29 +0100
Message-ID: <499ACD89.5050208@ericsson.com>
Date: Tue, 17 Feb 2009 15:45:29 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: David B Harrington <dbharrington@comcast.net>
References: <50C199E0F4BA4BC39C358BB25FFE0566@BertLaptop> <031001c9907b$9bf37290$0600a8c0@china.huawei.com>
In-Reply-To: <031001c9907b$9bf37290$0600a8c0@china.huawei.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 17 Feb 2009 14:45:29.0560 (UTC) FILETIME=[60C0FD80:01C9910E]
X-Brightmail-Tracker: AAAAAA==
Cc: 'netconf mailing list' <netconf@ietf.org>
Subject: Re: [Netconf] Fw:  Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 14:45:22 -0000

Hello,

David B Harrington wrote:
> 
> I think NETCONF should define this, not the partial-lock document.
> So, for now, partial lock should say it will accept whatever format is
> accepted by NETCONF.
> 
> And maybe it should say it will accept only formats accepted by
> NETCONF, so that as NETCONF is updated, partial lock will comntinue to
> work with whatever format is defined by NETCONF.
> 

But what should we put in XSD/YANG?

A) Nothing, just add text that any additional stuff accepted by 4741 will be accepted inside 
<target> - pretty vague
B) anyXML - very liberal
C) else ???

Balazs

From andy@netconfcentral.com  Tue Feb 17 06:51:58 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 770CD3A6B5C for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 06:51:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.071
X-Spam-Level: 
X-Spam-Status: No, score=-2.071 tagged_above=-999 required=5 tests=[AWL=0.528,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fwRbGuYUg8OV for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 06:51:57 -0800 (PST)
Received: from n18.bullet.mail.mud.yahoo.com (n18.bullet.mail.mud.yahoo.com [68.142.206.145]) by core3.amsl.com (Postfix) with SMTP id 976353A6B72 for <netconf@ietf.org>; Tue, 17 Feb 2009 06:51:57 -0800 (PST)
Received: from [68.142.200.227] by n18.bullet.mail.mud.yahoo.com with NNFMP; 17 Feb 2009 14:52:03 -0000
Received: from [68.142.201.73] by t8.bullet.mud.yahoo.com with NNFMP; 17 Feb 2009 14:52:08 -0000
Received: from [127.0.0.1] by omp425.mail.mud.yahoo.com with NNFMP; 17 Feb 2009 14:52:08 -0000
X-Yahoo-Newman-Id: 732120.39894.bm@omp425.mail.mud.yahoo.com
Received: (qmail 42257 invoked from network); 17 Feb 2009 14:52:08 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.241.167 with plain) by smtp103.sbc.mail.sp1.yahoo.com with SMTP; 17 Feb 2009 14:52:07 -0000
X-YMail-OSG: YbrmVC0VM1ko3didZIcFLNrJFMUA9aWHM61gaX7XDJkgHZ8BjyvKRtdMnX__F83GfpuSdgVRJTw7t8Iv8ul9mjXGN22nTTVvRQHT5PwluFNJuSf1wyYHZAaZhrzO5rAQay6XpGTXFv6jrUqR.r0wo8U5
X-Yahoo-Newman-Property: ymail-3
Message-ID: <499ACF15.3030408@netconfcentral.com>
Date: Tue, 17 Feb 2009 06:52:05 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
References: <50C199E0F4BA4BC39C358BB25FFE0566@BertLaptop>	<031001c9907b$9bf37290$0600a8c0@china.huawei.com> <499ACD89.5050208@ericsson.com>
In-Reply-To: <499ACD89.5050208@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 'netconf mailing list' <netconf@ietf.org>
Subject: Re: [Netconf] Fw:  Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 14:51:58 -0000

Balazs Lengyel wrote:
> Hello,
> 
> David B Harrington wrote:
>>
>> I think NETCONF should define this, not the partial-lock document.
>> So, for now, partial lock should say it will accept whatever format is
>> accepted by NETCONF.
>>
>> And maybe it should say it will accept only formats accepted by
>> NETCONF, so that as NETCONF is updated, partial lock will comntinue to
>> work with whatever format is defined by NETCONF.
>>
> 
> But what should we put in XSD/YANG?
> 
> A) Nothing, just add text that any additional stuff accepted by 4741 
> will be accepted inside <target> - pretty vague
> B) anyXML - very liberal
> C) else ???
> 

C) add <url> parameter to match the way 4741 does it.
    Only supported if :url is advertised by the agent


> Balazs

Andy



From mbj@tail-f.com  Tue Feb 17 07:08:37 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4490B3A6C2E for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 07:08:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level: 
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HV+DfRIKml8d for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 07:08:36 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 7DDE33A6C1B for <netconf@ietf.org>; Tue, 17 Feb 2009 07:08:36 -0800 (PST)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 8DCAD76C310; Tue, 17 Feb 2009 16:08:46 +0100 (CET)
Date: Tue, 17 Feb 2009 16:08:46 +0100 (CET)
Message-Id: <20090217.160846.169270601.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <499ACF15.3030408@netconfcentral.com>
References: <031001c9907b$9bf37290$0600a8c0@china.huawei.com> <499ACD89.5050208@ericsson.com> <499ACF15.3030408@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] Fw: Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 15:08:37 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Balazs Lengyel wrote:
> > Hello,
> > David B Harrington wrote:
> >>
> >> I think NETCONF should define this, not the partial-lock document.
> >> So, for now, partial lock should say it will accept whatever format is
> >> accepted by NETCONF.
> >>
> >> And maybe it should say it will accept only formats accepted by
> >> NETCONF, so that as NETCONF is updated, partial lock will comntinue to
> >> work with whatever format is defined by NETCONF.
> >>
> > But what should we put in XSD/YANG?
> > A) Nothing, just add text that any additional stuff accepted by 4741 will be
> > accepted inside <target> - pretty vague
> > B) anyXML - very liberal
> > C) else ???
> > 
> 
> C) add <url> parameter to match the way 4741 does it.
>     Only supported if :url is advertised by the agent

But we don't want to support partial locking of external files.  How
would your agent enforce such a lock?

Also, according to section 8.8 of 4741, you cannot <lock> a url.


/martin

From mehmet.ersue@nsn.com  Tue Feb 17 07:21:40 2009
Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4DA373A6A5B for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 07:21:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.832
X-Spam-Level: 
X-Spam-Status: No, score=-5.832 tagged_above=-999 required=5 tests=[AWL=0.767,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xNHf7ElrW4jV for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 07:21:39 -0800 (PST)
Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [217.115.75.233]) by core3.amsl.com (Postfix) with ESMTP id 400FF3A6C62 for <netconf@ietf.org>; Tue, 17 Feb 2009 07:21:39 -0800 (PST)
Received: from demuprx017.emea.nsn-intra.net ([10.150.129.56]) by demumfd001.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n1HFLeMv022574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 17 Feb 2009 16:21:40 +0100
Received: from demuexc025.nsn-intra.net (demuexc025.nsn-intra.net [10.159.32.12]) by demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n1HFLd9a007825; Tue, 17 Feb 2009 16:21:40 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc025.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 17 Feb 2009 16:21:39 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 17 Feb 2009 16:21:37 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F701634555@DEMUEXC005.nsn-intra.net>
In-Reply-To: <499ACD89.5050208@ericsson.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] Fw:  Allow other datastores for Netconf
Thread-Index: AcmRDmfORdTs8Tj9S6yXG25NuPq0dgAAkm5g
References: <50C199E0F4BA4BC39C358BB25FFE0566@BertLaptop><031001c9907b$9bf37290$0600a8c0@china.huawei.com> <499ACD89.5050208@ericsson.com>
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "ext Balazs Lengyel" <balazs.lengyel@ericsson.com>, "David B Harrington" <dbharrington@comcast.net>
X-OriginalArrivalTime: 17 Feb 2009 15:21:39.0850 (UTC) FILETIME=[6E58F6A0:01C99113]
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Fw:  Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 15:21:40 -0000

Hi Balazs,

I think it is sufficient to provide b). This addresses already=20
the main concern of having the constant "3" in XSD/YANG,
where NETCONF base protocol is open to have additional=20
datastores.

The effort to get XSD bullet-proof and self-validating is not=20
feasible. I guess, there will be another version of the document=20
after 09/09 using YANG as normative, right?

Cheers,=20
Mehmet
=20

> -----Original Message-----
> From: netconf-bounces@ietf.org=20
> [mailto:netconf-bounces@ietf.org] On Behalf Of ext Balazs Lengyel
> Sent: Tuesday, February 17, 2009 3:45 PM
> To: David B Harrington
> Cc: 'netconf mailing list'
> Subject: Re: [Netconf] Fw: Allow other datastores for Netconf
>=20
> Hello,
>=20
> David B Harrington wrote:
> >=20
> > I think NETCONF should define this, not the partial-lock document.
> > So, for now, partial lock should say it will accept=20
> whatever format is
> > accepted by NETCONF.
> >=20
> > And maybe it should say it will accept only formats accepted by
> > NETCONF, so that as NETCONF is updated, partial lock will=20
> comntinue to
> > work with whatever format is defined by NETCONF.
> >=20
>=20
> But what should we put in XSD/YANG?
>=20
> A) Nothing, just add text that any additional stuff accepted=20
> by 4741 will be accepted inside=20
> <target> - pretty vague
> B) anyXML - very liberal
> C) else ???
>=20
> Balazs
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>=20

From andy@netconfcentral.com  Tue Feb 17 07:30:06 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 81E6D3A6A89 for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 07:30:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.992
X-Spam-Level: 
X-Spam-Status: No, score=-1.992 tagged_above=-999 required=5 tests=[AWL=0.273,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wGeCNOVxKZHG for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 07:30:05 -0800 (PST)
Received: from smtp122.sbc.mail.sp1.yahoo.com (smtp122.sbc.mail.sp1.yahoo.com [69.147.64.95]) by core3.amsl.com (Postfix) with SMTP id C99383A6A39 for <netconf@ietf.org>; Tue, 17 Feb 2009 07:30:05 -0800 (PST)
Received: (qmail 59550 invoked from network); 17 Feb 2009 15:30:17 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.241.167 with plain) by smtp122.sbc.mail.sp1.yahoo.com with SMTP; 17 Feb 2009 15:30:16 -0000
X-YMail-OSG: lmGNTIYVM1lquj7MdbeD2U6S4CBcOV_zxOyFmX9FICq5qCNE6HTsuKYNYFVhWbCwTxUsp.C2P1iCBgjdHXUlbUIqt6okIDmW7UMYIpTmumvSuXF0vu3K.ncJELnmIcV4Mle3Cwant2O.SWqtHMHfu9t1cr0n8GQi7Mkb8w2tXsbu8XuXkUrgDxhNwxLCfdR4ENoPoZdhG2Uw_ytskYjXMg--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <499AD806.7000804@netconfcentral.com>
Date: Tue, 17 Feb 2009 07:30:14 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <031001c9907b$9bf37290$0600a8c0@china.huawei.com>	<499ACD89.5050208@ericsson.com>	<499ACF15.3030408@netconfcentral.com> <20090217.160846.169270601.mbj@tail-f.com>
In-Reply-To: <20090217.160846.169270601.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] Fw: Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 15:30:06 -0000

Martin Bjorklund wrote:
> Andy Bierman <andy@netconfcentral.com> wrote:
>> Balazs Lengyel wrote:
>>> Hello,
>>> David B Harrington wrote:
>>>> I think NETCONF should define this, not the partial-lock document.
>>>> So, for now, partial lock should say it will accept whatever format is
>>>> accepted by NETCONF.
>>>>
>>>> And maybe it should say it will accept only formats accepted by
>>>> NETCONF, so that as NETCONF is updated, partial lock will comntinue to
>>>> work with whatever format is defined by NETCONF.
>>>>
>>> But what should we put in XSD/YANG?
>>> A) Nothing, just add text that any additional stuff accepted by 4741 will be
>>> accepted inside <target> - pretty vague
>>> B) anyXML - very liberal
>>> C) else ???
>>>
>> C) add <url> parameter to match the way 4741 does it.
>>     Only supported if :url is advertised by the agent
> 
> But we don't want to support partial locking of external files.  How
> would your agent enforce such a lock?
> 
> Also, according to section 8.8 of 4741, you cannot <lock> a url.
> 

IMO, there are only 3 recognized standard databases.
There is also <url> to deal with non-standard databases.

How should we apply the standard to non-standard databases?
We don't.  We drop the whole idea of hacking this into partial-lock,
and determine that adding more standard databases is not in
the new NETCONF charter, and neither is supporting non-standard databases.

A vendor can already augment the partial-lock (YANG) data model.
An abstract element/substitutionGroup hook in the partial-lock
XSD would allow the same thing.  The standard can say that the
hook is there for future standard extensions, and BTW it
supports vendor extensions as well.  A real element (anyXML)
is the wrong approach.

> 
> /martin
> 
> 

Andy


From cfinss@dial.pipex.com  Tue Feb 17 11:37:46 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DF6CC3A6CB7 for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 11:37:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.614
X-Spam-Level: 
X-Spam-Status: No, score=-1.614 tagged_above=-999 required=5 tests=[AWL=0.985,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IId5qGCATG7d for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 11:37:46 -0800 (PST)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id C65C53A6C56 for <netconf@ietf.org>; Tue, 17 Feb 2009 11:37:45 -0800 (PST)
X-Trace: 132825009/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.17.62/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.17.62
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AisFAOigmkk+vBE+/2dsb2JhbACDQECKDcViB4QMBg
X-IronPort-AV: E=Sophos;i="4.38,224,1233532800"; d="scan'208";a="132825009"
X-IP-Direction: IN
Received: from 1cust62.tnt1.lnd3.gbr.da.uu.net (HELO allison) ([62.188.17.62]) by smtp.pipex.tiscali.co.uk with SMTP; 17 Feb 2009 19:37:55 +0000
Message-ID: <002801c9912e$ae845100$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ladislav Lhotka" <lhotka@cesnet.cz>
References: <200902112056.n1BKuoWw064252@idle.juniper.net> <1234427475.6976.16.camel@missotis>
Date: Tue, 17 Feb 2009 19:36:39 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 19:37:47 -0000

---- Original Message -----
From: "Ladislav Lhotka" <lhotka@cesnet.cz>
To: "Phil Shafer" <phil@juniper.net>
Cc: <netconf@ietf.org>
Sent: Thursday, February 12, 2009 9:31 AM
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt


> Phil Shafer píše v St 11. 02. 2009 v 15:56 -0500:
> > Ladislav Lhotka writes:
> > >A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
> > >to achieve the same and the low-level code wouldn't have to parse XML
> > >either.
> >
> > A PI has the same issues (ie. put it in a CDATA).  Without a real
> > framing protocol, there's no way to avoid parsing XML as XML.
>
> Agreed. I found an interesting thread back from 2004 starting with
> Andy's message
>
> http://www.ops.ietf.org/lists/netconf/netconf.2004/msg00158.html
>
> where the various EOM approaches were nicely discussed. I wasn't able to
> find though why the ']]>]]>' marker was eventually selected.
>

>From the department of useless information:

The minutes of IETF59 s5.1 show the consensus of the room as being that
" ]]>]]> shall be used "
 as being something that cannot appear in CDATA

Tom Petch

> Lada
>
> >
> > Thanks,
> >  Phil
> --
> Ladislav Lhotka, CESNET
> PGP Key ID: E74E8C0C
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>


From mbadra@gmail.com  Tue Feb 17 13:47:49 2009
Return-Path: <mbadra@gmail.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C80403A6A33 for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 13:47:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.376
X-Spam-Level: 
X-Spam-Status: No, score=-1.376 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_81=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q6oK0OWF3-2b for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 13:47:48 -0800 (PST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by core3.amsl.com (Postfix) with ESMTP id 5A87D3A693C for <netconf@ietf.org>; Tue, 17 Feb 2009 13:47:45 -0800 (PST)
Received: by fg-out-1718.google.com with SMTP id l26so481716fgb.41 for <netconf@ietf.org>; Tue, 17 Feb 2009 13:47:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=lhahmfpdF5gXQgWMvqcGNO8Hbm73TCE9roK1wbjh8lQ=; b=SwFyMHTSVVjnoJXCquWwWS19NyWXLOpFONfxKD50/lpS3x1V8qCh8v8orfwSdyV8oI 2Dfw3rlNfjXKPsg/q3bX3QCKdCAEtJGLOoa4DZ69YMPE+S83ubSE+1Nf4eRPc5DRXxNP i61dmGvqfHnM65MfuKdNSiCJ3ZeCGys3p3v0A=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=uZtzgkV3ATuW9HTwOnCLbnHhoGEi5xjn8N61zSJLL34DXKevs7fcJr7I55Ai+7IHD+ lMUukJdMY0B8NfDUrR0ZGLl4+tQmvFCC0A3M0e+lfd/W40NjNmIQ+gvyRz8WPKvlve6e Mxa/UnbvOycTUesxkedT+WYLeos2P1Y07U0yk=
MIME-Version: 1.0
Sender: mbadra@gmail.com
Received: by 10.86.74.4 with SMTP id w4mr849394fga.22.1234907275035; Tue, 17  Feb 2009 13:47:55 -0800 (PST)
In-Reply-To: <325E2FFFC02940F586908B110154C140@BertLaptop>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <031501c9907e$fb792770$0600a8c0@china.huawei.com> <50669.88.175.65.115.1234827720.squirrel@www.isima.fr> <325E2FFFC02940F586908B110154C140@BertLaptop>
Date: Tue, 17 Feb 2009 22:47:54 +0100
X-Google-Sender-Auth: 6e0419f00cccf6a0
Message-ID: <c24c21d80902171347t240636b7od6d8d941677fe466@mail.gmail.com>
From: Badra <badra@isima.fr>
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Content-Type: multipart/alternative; boundary=000e0cd28e9c7585a904632441a6
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 21:47:49 -0000

--000e0cd28e9c7585a904632441a6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Dear all,

The Security Considerations should discuss the misused of the special
sequence.

Let us try to find a consensus with the following text:

   "An attacker might be able to inject arbitrary NETCONF messages via
   some application that does not carefully check NETCONF messages.
   Hence, applications and NETCONF APIs should ensure that the delimiter
   sequence defined in section 2.1 never appears in NETCONF messages.
   Implementations of this document should cause parse errors and other
   failures if they find this delimiter sequence in a NETCONF message."

Best regards,
Badra


On Tue, Feb 17, 2009 at 2:03 PM, Bert Wijnen (IETF) <bertietf@bwijnen.net>wrote:

>  David,
>
> You have lost of questions. Pls realize:
> - we are in IETF LC phase. It would be good to add suggested text
>   to remedy the rpoblems you see.
>
> - your questions equally apply to the rfc4742 context.
>
> - So... do we want to have a NetConf over TLS that is in the same
>   good/reasnable shape as NetConf over SSH? Or do we want to
>   put all the concerns we have on the generic EOM issue on
>   this specific document?
>
> - I would suggest that we try to get this document approved
>   and published, so that people can start  to implement against
>   a stable (as stable as rfc4742) spec.
>
> - If we still see the sort of issues you bring forward as SERIOUS
>   enough to tackle them, then we should probably launch a rfc4742
>   and rfcyyyy (the Netconf over TLS spec once it is an RFC) update
>   to fix any gaps/errors/security/hacking concerns.
>
>
> I am not sure that the suggested extra TLS-generated value is gonna
> get us anywhere in a reasonable amount of time. And even if it does,
> it does not solve the same (generic?) problem with the EOM handling
> in RFC4742.
>
> Bert
>
>
> ----- Original Message -----
>
> *From:* Mohamad Badra <badra@isima.fr>
> *To:* David B Harrington <dbharrington@comcast.net>
> *Cc:* 'Netconf' <netconf@ietf.org>
> *Sent:* Tuesday, February 17, 2009 12:42 AM
> *Subject:* Re: [Netconf] Consensus verification WAS:RE: AD
> reviewfordraft-ietf-netconf-tls-06.txt
>
> Hi David
>
> The man-in-the-middle is not possible between the two TLS entities (if the
> identity check is well established as described in the document). However,
> the transport layers can't resolve this problem if it happen at the upper
> layers (inside attacks, out of TLS scope).
>
> Since we must use the same RFC4742 special sequence, I think we can
> alwaysuse it but in conjunction with another value generated by the TLS
> session itself (let's say the TLS client random value, or the first 4
> bytes of this value (the current gmt_unix_time)) or a value known only by
> the TLS client and server.
>
> If that is possible(I hope so :-)), so the TLS entities (client or server)
> will replace the special sequence appearing in XML documents - exchanged
> between two TLS entities - with the TLS session_id, add the special
> sequence at the end of the modified XML document and send the result over
> the TLS secure session (where date integrity is ensured). The TLS entity
> that receives this modified document will look for the special sequence to
> delimit the modified XML document (only one special sequence could appear
> by a XML document). Next, the same entity will look for the TLS session_id
> in the modified document to replace it with the special sequence before
> delivering the original document to the application layer.
>
> Well, it is always possible to say that a man in the middle can read the
> TLS parameters exchanged in clear text (e.g. random values, session
> identifier, etc.) and then can inject/insert falsified data, etc. IMO, we
> should then use a secret sequence computed from the TLS material key to
> avoid such a problem.
>
> Comments?
>
> Best regards,
> Badra
>
> > Hi Mehmet,
> >
> > "Implementations" is not that clear. Must all NETCONF implementations
> > prevent this? Or is it the implementations of NETCONF over TLS that
> > MUST handle this?  Does this sequence pose the same problems for other
> > transports, such as BEEP and SOAP and SSH?
> >
> > I think the text needs to be clearer.
> >
> > What happens if NETCONF is processing an outgoing message and finds
> > this in the NETCONF message? what does it do - throw the message away?
> > escape the sequence? strip the sequence? Should that portion of the
> > processing return an error to the application that originated the
> > message? if so, which error code?
> >
> > What happens if NETCONF is processing an incoming message and finds
> > this in the NETCONF message? what does it do - throw the message away?
> > Process the partial message? if so, what impact could that have on
> > network stability and/or network security? Is there any possibility
> > that a man-in-the-middle could insert such a sequence into a NETCONF
> > message? Do all the transports have mechanisms that prevent message
> > content modification, such that this should never be a problem?
> >
> > dbh
> >
> >> -----Original Message-----
> >> From: netconf-bounces@ietf.org
> >> [mailto:netconf-bounces@ietf.org] On Behalf Of Ersue, Mehmet
> >> (NSN - DE/Munich)
> >> Sent: Friday, February 13, 2009 3:11 PM
> >> To: Netconf
> >> Cc: mbadra@gmail.com
> >> Subject: [Netconf] Consensus verification WAS:RE: AD review
> >> fordraft-ietf-netconf-tls-06.txt
> >>
> >>
> >> Dear NETCONF WG,
> >>
> >> we had already a long thread on this issue with 47 mails.
> >>
> >> As Bert stated in a parallel mail there seems to be no
> >> real practical or operational problems with the current
> >> end-of-message sequence. In fact changing the current
> >> mechanism would potentially cause problems.
> >>
> >> > >    Implementations MUST ensure that this character
> >> sequence is never
> >> > >    part of a NETCONF message.
> >>
> >> After some of you and the draft author agreed I assume
> >> we can see now the small text block above as the WG
> >> consensus.
> >>
> >> If anybody has any _strong_ objections please provide new
> >> text by Feb 16 by considering the discussion we had already.
> >>
> >> Mehmet
> >>
> >>
> >> > -----Original Message-----
> >> > From: netconf-bounces@ietf.org
> >> > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
> >> > Sent: Friday, February 13, 2009 2:24 AM
> >> > To: j.schoenwaelder@jacobs-university.de
> >> > Cc: Netconf
> >> > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> >> >
> >> >
> >> > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen
> >> (IETF) wrote:
> >> > >
> >> > >> I would like to ask for implementers and people who deploy
> >> > >> implementations
> >> > >> what the answer is to this question:
> >> > >>
> >> > >>   Has the current end-of-message sequence caused any
> >> > inter-operability
> >> > >>   problems, or just theoretical problems that only occur
> >> > in test suites?
> >> > >>
> >> > >> IF there are no real pragmatic/practical/operational
> >> > problems, then do
> >> > >> we
> >> > >> really need (want) to cover all possible/theoretical
> >> corner cases?
> >> > >
> >> > > Operationally, I am not so much concerned. I am more
> >> concerned about
> >> > > someone finding a way to make malicious use of this framing
> >> > sequence,
> >> > > e.g. tricking implementations to somehow generate framing
> >> sequences
> >> > > where they should not be and using that to do creative things.
> >> > >
> >> > > Some people on this list argue that such concerns are not
> >> justified
> >> > > because NETCONF implementations should never generate the
> > framing
> >> > > sequence and if they do, the (not really defined) NETCONF access
> >> > > control prevents damage to happen and by tampering with
> >> > messages, you
> >> > > will not really be able to do damage but just cause parse
> >> errors and
> >> > > other failures.  My concern is that people might underestimate
> >> > > creativity of hackers and overestimate the skills of NETCONF
> >> > > implementors.
> >> > >
> >> > > But perhaps we are really best of for the moment stating
> >> explicitly
> >> > > that NETCONF implementations MUST ensure that the framing
> >> > sequence is
> >> > > never part of a NETCONF message they generate. By stating this
> >> > > explicitly this, a potential CERT advisory is immediately
> >> > turned away
> >> > > from the IETF and hits the implementors.
> >> > >
> >> > > So the errata becomes to replace the following text
> >> > >
> >> > >    This character sequence cannot
> >> > >    legally appear in an XML document, so it can be
> >> > unambiguously used to
> >> > >    identify the end of the current document, allowing
> >> > resynchronization
> >> > >    of the NETCONF exchange in the event of an XML syntax
> >> or parsing
> >> > >    error.
> >> > >
> >> > > with for example
> >> > >
> >> > >    Implementations MUST ensure that this character
> >> sequence is never
> >> > >    part of a NETCONF message.
> >> >
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>
>

--000e0cd28e9c7585a904632441a6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Dear all,</div>
<div>&nbsp;</div>
<div>The Security Considerations should discuss&nbsp;the misused of the spe=
cial sequence.</div>
<div>&nbsp;</div>
<div>Let us try to find a consensus with the&nbsp;following text:<br><br>&n=
bsp;&nbsp; &quot;An attacker might be able to inject arbitrary NETCONF mess=
ages via <br>&nbsp;&nbsp; some application that does not carefully check NE=
TCONF messages. <br>
&nbsp;&nbsp; Hence, applications and NETCONF APIs should ensure that the de=
limiter <br>&nbsp;&nbsp; sequence defined in section 2.1 never appears in N=
ETCONF messages. <br>&nbsp;&nbsp; Implementations of this document should c=
ause parse errors and other <br>
&nbsp;&nbsp; failures if they find this delimiter sequence in a NETCONF mes=
sage.&quot;&nbsp;<br><br></div>
<div>Best regards,<br>Badra</div>
<div class=3D"gmail_quote">&nbsp;</div>
<div class=3D"gmail_quote">&nbsp;</div>
<div class=3D"gmail_quote">On Tue, Feb 17, 2009 at 2:03 PM, Bert Wijnen (IE=
TF) <span dir=3D"ltr">&lt;<a href=3D"mailto:bertietf@bwijnen.net" target=3D=
"_blank">bertietf@bwijnen.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div bgcolor=3D"#ffffff">
<div><font size=3D"2">David,</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">You have lost of questions. Pls realize:</font></div>
<div><font size=3D"2">- we are in IETF LC phase. It would be good to add su=
ggested text</font></div>
<div><font size=3D"2">&nbsp; to remedy the rpoblems you see.</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- your questions equally apply to the rfc4742 context=
.</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- So... do we want to have a NetConf over TLS that is=
 in the same </font></div>
<div><font size=3D"2">&nbsp; good/reasnable shape as NetConf over SSH? Or d=
o we want to</font></div>
<div><font size=3D"2">&nbsp;&nbsp;put all the concerns we have on the gener=
ic EOM issue on</font></div>
<div><font size=3D"2">&nbsp; this specific document?</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- I would suggest that we try to get this</font><font=
 size=3D"2"> document approved</font></div>
<div><font size=3D"2">&nbsp; and published, so that people can start</font>=
<font size=3D"2">&nbsp; to implement against</font></div>
<div><font size=3D"2">&nbsp; a stable (as stable as rfc4742) spec.</font></=
div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- If we still see the sort of issues you bring forwar=
d as SERIOUS</font></div>
<div><font size=3D"2">&nbsp;&nbsp;enough to tackle them, then we should pro=
bably launch a rfc4742</font></div>
<div><font size=3D"2">&nbsp; and rfcyyyy (the Netconf over TLS spec once it=
 is an RFC) update</font></div>
<div><font size=3D"2">&nbsp; to fix any gaps/errors/security/hacking concer=
ns.</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">I am not sure that the suggested extra TLS-generated =
value is gonna</font></div>
<div><font size=3D"2">get us anywhere in a reasonable amount of time. And e=
ven if it does,</font></div>
<div><font size=3D"2">it does not solve the same (generic?) problem with th=
e EOM handling</font></div>
<div><font size=3D"2">in RFC4742.</font></div>
<div><font size=3D"2"></font>&nbsp;</div><font color=3D"#888888">
<div><font size=3D"2">Bert</font></div></font>
<div>
<div></div>
<div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2"></font>&nbsp;</div>
<div>----- Original Message ----- </div>
<blockquote style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5p=
x; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<div style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial"><b>From:</b> <a title=
=3D"badra@isima.fr" href=3D"mailto:badra@isima.fr" target=3D"_blank">Mohama=
d Badra</a> </div>
<div style=3D"FONT: 10pt arial"><b>To:</b> <a title=3D"dbharrington@comcast=
.net" href=3D"mailto:dbharrington@comcast.net" target=3D"_blank">David B Ha=
rrington</a> </div>
<div style=3D"FONT: 10pt arial"><b>Cc:</b> <a title=3D"netconf@ietf.org" hr=
ef=3D"mailto:netconf@ietf.org" target=3D"_blank">&#39;Netconf&#39;</a> </di=
v>
<div style=3D"FONT: 10pt arial"><b>Sent:</b> Tuesday, February 17, 2009 12:=
42 AM</div>
<div style=3D"FONT: 10pt arial"><b>Subject:</b> Re: [Netconf] Consensus ver=
ification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt</div>
<div><br></div>Hi David<br><br>The man-in-the-middle is not possible betwee=
n the two TLS entities (if the<br>identity check is well established as des=
cribed in the document). However,<br>the transport layers can&#39;t resolve=
 this problem if it happen at the upper<br>
layers (inside attacks, out of TLS scope).<br><br>Since we must use the sam=
e RFC4742 special sequence, I think we can<br>alwaysuse it but in conjuncti=
on with another value generated by the TLS<br>session itself (let&#39;s say=
 the TLS client random value, or the first 4<br>
bytes of this value (the current gmt_unix_time)) or a value known only by<b=
r>the TLS client and server.<br><br>If that is possible(I hope so :-)), so =
the TLS entities (client or server)<br>will replace the special sequence ap=
pearing in XML documents - exchanged<br>
between two TLS entities - with the TLS session_id, add the special<br>sequ=
ence at the end of the modified XML document and send the result over<br>th=
e TLS secure session (where date integrity is ensured). The TLS entity<br>
that receives this modified document will look for the special sequence to<=
br>delimit the modified XML document (only one special sequence could appea=
r<br>by a XML document). Next, the same entity will look for the TLS sessio=
n_id<br>
in the modified document to replace it with the special sequence before<br>=
delivering the original document to the application layer.<br><br>Well, it =
is always possible to say that a man in the middle can read the<br>TLS para=
meters exchanged in clear text (e.g. random values, session<br>
identifier, etc.) and then can inject/insert falsified data, etc. IMO, we<b=
r>should then use a secret sequence computed from the TLS material key to<b=
r>avoid such a problem.<br><br>Comments?<br><br>Best regards,<br>Badra<br>
<br>&gt; Hi Mehmet,<br>&gt;<br>&gt; &quot;Implementations&quot; is not that=
 clear. Must all NETCONF implementations<br>&gt; prevent this? Or is it the=
 implementations of NETCONF over TLS that<br>&gt; MUST handle this?&nbsp; D=
oes this sequence pose the same problems for other<br>
&gt; transports, such as BEEP and SOAP and SSH?<br>&gt;<br>&gt; I think the=
 text needs to be clearer.<br>&gt;<br>&gt; What happens if NETCONF is proce=
ssing an outgoing message and finds<br>&gt; this in the NETCONF message? wh=
at does it do - throw the message away?<br>
&gt; escape the sequence? strip the sequence? Should that portion of the<br=
>&gt; processing return an error to the application that originated the<br>=
&gt; message? if so, which error code?<br>&gt;<br>&gt; What happens if NETC=
ONF is processing an incoming message and finds<br>
&gt; this in the NETCONF message? what does it do - throw the message away?=
<br>&gt; Process the partial message? if so, what impact could that have on=
<br>&gt; network stability and/or network security? Is there any possibilit=
y<br>
&gt; that a man-in-the-middle could insert such a sequence into a NETCONF<b=
r>&gt; message? Do all the transports have mechanisms that prevent message<=
br>&gt; content modification, such that this should never be a problem?<br>
&gt;<br>&gt; dbh<br>&gt;<br>&gt;&gt; -----Original Message-----<br>&gt;&gt;=
 From: <a href=3D"mailto:netconf-bounces@ietf.org" target=3D"_blank">netcon=
f-bounces@ietf.org</a><br>&gt;&gt; [mailto:<a href=3D"mailto:netconf-bounce=
s@ietf.org" target=3D"_blank">netconf-bounces@ietf.org</a>] On Behalf Of Er=
sue, Mehmet<br>
&gt;&gt; (NSN - DE/Munich)<br>&gt;&gt; Sent: Friday, February 13, 2009 3:11=
 PM<br>&gt;&gt; To: Netconf<br>&gt;&gt; Cc: <a href=3D"mailto:mbadra@gmail.=
com" target=3D"_blank">mbadra@gmail.com</a><br>&gt;&gt; Subject: [Netconf] =
Consensus verification WAS:RE: AD review<br>
&gt;&gt; fordraft-ietf-netconf-tls-06.txt<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&g=
t; Dear NETCONF WG,<br>&gt;&gt;<br>&gt;&gt; we had already a long thread on=
 this issue with 47 mails.<br>&gt;&gt;<br>&gt;&gt; As Bert stated in a para=
llel mail there seems to be no<br>
&gt;&gt; real practical or operational problems with the current<br>&gt;&gt=
; end-of-message sequence. In fact changing the current<br>&gt;&gt; mechani=
sm would potentially cause problems.<br>&gt;&gt;<br>&gt;&gt; &gt; &gt;&nbsp=
;&nbsp;&nbsp; Implementations MUST ensure that this character<br>
&gt;&gt; sequence is never<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; part of =
a NETCONF message.<br>&gt;&gt;<br>&gt;&gt; After some of you and the draft =
author agreed I assume<br>&gt;&gt; we can see now the small text block abov=
e as the WG<br>
&gt;&gt; consensus.<br>&gt;&gt;<br>&gt;&gt; If anybody has any _strong_ obj=
ections please provide new<br>&gt;&gt; text by Feb 16 by considering the di=
scussion we had already.<br>&gt;&gt;<br>&gt;&gt; Mehmet<br>&gt;&gt;<br>
&gt;&gt;<br>&gt;&gt; &gt; -----Original Message-----<br>&gt;&gt; &gt; From:=
 <a href=3D"mailto:netconf-bounces@ietf.org" target=3D"_blank">netconf-boun=
ces@ietf.org</a><br>&gt;&gt; &gt; [mailto:<a href=3D"mailto:netconf-bounces=
@ietf.org" target=3D"_blank">netconf-bounces@ietf.org</a>] On Behalf Of ext=
 Mohamad Badra<br>
&gt;&gt; &gt; Sent: Friday, February 13, 2009 2:24 AM<br>&gt;&gt; &gt; To: =
<a href=3D"mailto:j.schoenwaelder@jacobs-university.de" target=3D"_blank">j=
.schoenwaelder@jacobs-university.de</a><br>&gt;&gt; &gt; Cc: Netconf<br>&gt=
;&gt; &gt; Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.t=
xt<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; &gt; On Thu, Feb 12, 2009 a=
t 02:30:48PM +0100, Bert Wijnen<br>&gt;&gt; (IETF) wrote:<br>&gt;&gt; &gt; =
&gt;<br>&gt;&gt; &gt; &gt;&gt; I would like to ask for implementers and peo=
ple who deploy<br>
&gt;&gt; &gt; &gt;&gt; implementations<br>&gt;&gt; &gt; &gt;&gt; what the a=
nswer is to this question:<br>&gt;&gt; &gt; &gt;&gt;<br>&gt;&gt; &gt; &gt;&=
gt;&nbsp;&nbsp; Has the current end-of-message sequence caused any<br>&gt;&=
gt; &gt; inter-operability<br>
&gt;&gt; &gt; &gt;&gt;&nbsp;&nbsp; problems, or just theoretical problems t=
hat only occur<br>&gt;&gt; &gt; in test suites?<br>&gt;&gt; &gt; &gt;&gt;<b=
r>&gt;&gt; &gt; &gt;&gt; IF there are no real pragmatic/practical/operation=
al<br>
&gt;&gt; &gt; problems, then do<br>&gt;&gt; &gt; &gt;&gt; we<br>&gt;&gt; &g=
t; &gt;&gt; really need (want) to cover all possible/theoretical<br>&gt;&gt=
; corner cases?<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; Operationally, =
I am not so much concerned. I am more<br>
&gt;&gt; concerned about<br>&gt;&gt; &gt; &gt; someone finding a way to mak=
e malicious use of this framing<br>&gt;&gt; &gt; sequence,<br>&gt;&gt; &gt;=
 &gt; e.g. tricking implementations to somehow generate framing<br>&gt;&gt;=
 sequences<br>
&gt;&gt; &gt; &gt; where they should not be and using that to do creative t=
hings.<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; Some people on this list=
 argue that such concerns are not<br>&gt;&gt; justified<br>&gt;&gt; &gt; &g=
t; because NETCONF implementations should never generate the<br>
&gt; framing<br>&gt;&gt; &gt; &gt; sequence and if they do, the (not really=
 defined) NETCONF access<br>&gt;&gt; &gt; &gt; control prevents damage to h=
appen and by tampering with<br>&gt;&gt; &gt; messages, you<br>&gt;&gt; &gt;=
 &gt; will not really be able to do damage but just cause parse<br>
&gt;&gt; errors and<br>&gt;&gt; &gt; &gt; other failures.&nbsp; My concern =
is that people might underestimate<br>&gt;&gt; &gt; &gt; creativity of hack=
ers and overestimate the skills of NETCONF<br>&gt;&gt; &gt; &gt; implemento=
rs.<br>
&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; But perhaps we are really best of =
for the moment stating<br>&gt;&gt; explicitly<br>&gt;&gt; &gt; &gt; that NE=
TCONF implementations MUST ensure that the framing<br>&gt;&gt; &gt; sequenc=
e is<br>
&gt;&gt; &gt; &gt; never part of a NETCONF message they generate. By statin=
g this<br>&gt;&gt; &gt; &gt; explicitly this, a potential CERT advisory is =
immediately<br>&gt;&gt; &gt; turned away<br>&gt;&gt; &gt; &gt; from the IET=
F and hits the implementors.<br>
&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; So the errata becomes to replace t=
he following text<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&n=
bsp; This character sequence cannot<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;=
 legally appear in an XML document, so it can be<br>
&gt;&gt; &gt; unambiguously used to<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;=
 identify the end of the current document, allowing<br>&gt;&gt; &gt; resync=
hronization<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; of the NETCONF exchange=
 in the event of an XML syntax<br>
&gt;&gt; or parsing<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; error.<br>&gt;&=
gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; with for example<br>&gt;&gt; &gt; &gt;<=
br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Implementations MUST ensure that th=
is character<br>&gt;&gt; sequence is never<br>
&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; part of a NETCONF message.<br>&gt;&gt;=
 &gt;<br>_______________________________________________<br>Netconf mailing=
 list<br><a href=3D"mailto:Netconf@ietf.org" target=3D"_blank">Netconf@ietf=
.org</a><br><a href=3D"https://www.ietf.org/mailman/listinfo/netconf" targe=
t=3D"_blank">https://www.ietf.org/mailman/listinfo/netconf</a><br>
</blockquote></div></div></div></blockquote></div>

--000e0cd28e9c7585a904632441a6--

From mbadra@gmail.com  Tue Feb 17 14:22:08 2009
Return-Path: <mbadra@gmail.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4BF2F3A6849 for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 14:22:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.376
X-Spam-Level: 
X-Spam-Status: No, score=-1.376 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_81=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S3bzxygEhgah for <netconf@core3.amsl.com>; Tue, 17 Feb 2009 14:22:06 -0800 (PST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by core3.amsl.com (Postfix) with ESMTP id 869533A6812 for <netconf@ietf.org>; Tue, 17 Feb 2009 14:22:05 -0800 (PST)
Received: by fg-out-1718.google.com with SMTP id l26so488885fgb.41 for <netconf@ietf.org>; Tue, 17 Feb 2009 14:22:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=Lt3aeOZTsmh8K7QuaVmZW6gI/veiyI3979Z/C+DhQdQ=; b=hbHqpBsw+iyxd4kpmjquBTq0YFxtHfKGOcplIsvqH2CV3XYfnnd4LXR97iR2zSN1HI ExyN+zv3noD/oksQHDD6xFr392p823YpyaOnqDVnp0aVJ6gQcL+t+a+pA6GS25MdGGnl lRTlw5hBzg4NGUVKxwkaDcd7u6y9Koj0avXG0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=gzB9R0jen5Qu2VvWsMdXRqu5owSqEF3C5zvvPUpVNZbV230el89ASvHzZwGl+9Qx/t NRFKfM3p36eIs3RlZHiAsfV0bWfuMsjU5dTOA3J44H+s3KoQ7B6oLoKKzG0yJpH2sx8e 3g5rlg02yZ8Ap0h6uVPjvQDqBbP89cZdbw0Ds=
MIME-Version: 1.0
Sender: mbadra@gmail.com
Received: by 10.86.72.15 with SMTP id u15mr2332736fga.8.1234909335944; Tue, 17  Feb 2009 14:22:15 -0800 (PST)
In-Reply-To: <c24c21d80902171347t240636b7od6d8d941677fe466@mail.gmail.com>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <031501c9907e$fb792770$0600a8c0@china.huawei.com> <50669.88.175.65.115.1234827720.squirrel@www.isima.fr> <325E2FFFC02940F586908B110154C140@BertLaptop> <c24c21d80902171347t240636b7od6d8d941677fe466@mail.gmail.com>
Date: Tue, 17 Feb 2009 23:22:15 +0100
X-Google-Sender-Auth: b9fa86b9fef623ae
Message-ID: <c24c21d80902171422l4991e318i7799635f83f4c872@mail.gmail.com>
From: Badra <badra@isima.fr>
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Content-Type: multipart/alternative; boundary=000e0cd2a1804c806b046324bc51
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 17 Feb 2009 22:22:08 -0000

--000e0cd2a1804c806b046324bc51
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I forgot to send the portion of the text related to the delimiter (Section
2.1)

So please let us try to find a consensus For

1- Section 2.1: [This text differs with only one addition ("of this
document") from the mail sent by Mehmet on Mo 16.02.2009 17:55.]

   "This document uses the same delimiter sequence ("]]>]]>") defined in
   [RFC4742], which MUST be sent by both the client and the server after
   each XML document in the NETCONF exchange.
   Implementations of this document MUST ensure that this character
   sequence is never part of a NETCONF message. This character sequence
   can legally appear as carried data of XML elements in valid XML
documents."

2- Security Considerations:

   "An attacker might be able to inject arbitrary NETCONF messages via
   some application that does not carefully check NETCONF messages.
   Hence, applications and NETCONF APIs should ensure that the delimiter
   sequence defined in section 2.1 never appears in NETCONF messages.
   Implementations of this document should cause parse errors and other
   failures if they find this delimiter sequence in a NETCONF message."

Best regards,
Badra


On Tue, Feb 17, 2009 at 10:47 PM, Badra <badra@isima.fr> wrote:

> Dear all,
>
> The Security Considerations should discuss the misused of the special
> sequence.
>
> Let us try to find a consensus with the following text:
>
>    "An attacker might be able to inject arbitrary NETCONF messages via
>    some application that does not carefully check NETCONF messages.
>    Hence, applications and NETCONF APIs should ensure that the delimiter
>    sequence defined in section 2.1 never appears in NETCONF messages.
>    Implementations of this document should cause parse errors and other
>    failures if they find this delimiter sequence in a NETCONF message."
>
> Best regards,
> Badra
>
>
> On Tue, Feb 17, 2009 at 2:03 PM, Bert Wijnen (IETF) <bertietf@bwijnen.net>wrote:
>
>>  David,
>>
>> You have lost of questions. Pls realize:
>> - we are in IETF LC phase. It would be good to add suggested text
>>   to remedy the rpoblems you see.
>>
>> - your questions equally apply to the rfc4742 context.
>>
>> - So... do we want to have a NetConf over TLS that is in the same
>>   good/reasnable shape as NetConf over SSH? Or do we want to
>>   put all the concerns we have on the generic EOM issue on
>>   this specific document?
>>
>> - I would suggest that we try to get this document approved
>>   and published, so that people can start  to implement against
>>   a stable (as stable as rfc4742) spec.
>>
>> - If we still see the sort of issues you bring forward as SERIOUS
>>   enough to tackle them, then we should probably launch a rfc4742
>>   and rfcyyyy (the Netconf over TLS spec once it is an RFC) update
>>   to fix any gaps/errors/security/hacking concerns.
>>
>>
>> I am not sure that the suggested extra TLS-generated value is gonna
>> get us anywhere in a reasonable amount of time. And even if it does,
>> it does not solve the same (generic?) problem with the EOM handling
>> in RFC4742.
>>
>> Bert
>>
>>
>> ----- Original Message -----
>>
>> *From:* Mohamad Badra <badra@isima.fr>
>> *To:* David B Harrington <dbharrington@comcast.net>
>> *Cc:* 'Netconf' <netconf@ietf.org>
>> *Sent:* Tuesday, February 17, 2009 12:42 AM
>> *Subject:* Re: [Netconf] Consensus verification WAS:RE: AD
>> reviewfordraft-ietf-netconf-tls-06.txt
>>
>> Hi David
>>
>> The man-in-the-middle is not possible between the two TLS entities (if the
>> identity check is well established as described in the document). However,
>> the transport layers can't resolve this problem if it happen at the upper
>> layers (inside attacks, out of TLS scope).
>>
>> Since we must use the same RFC4742 special sequence, I think we can
>> alwaysuse it but in conjunction with another value generated by the TLS
>> session itself (let's say the TLS client random value, or the first 4
>> bytes of this value (the current gmt_unix_time)) or a value known only by
>> the TLS client and server.
>>
>> If that is possible(I hope so :-)), so the TLS entities (client or server)
>> will replace the special sequence appearing in XML documents - exchanged
>> between two TLS entities - with the TLS session_id, add the special
>> sequence at the end of the modified XML document and send the result over
>> the TLS secure session (where date integrity is ensured). The TLS entity
>> that receives this modified document will look for the special sequence to
>> delimit the modified XML document (only one special sequence could appear
>> by a XML document). Next, the same entity will look for the TLS session_id
>> in the modified document to replace it with the special sequence before
>> delivering the original document to the application layer.
>>
>> Well, it is always possible to say that a man in the middle can read the
>> TLS parameters exchanged in clear text (e.g. random values, session
>> identifier, etc.) and then can inject/insert falsified data, etc. IMO, we
>> should then use a secret sequence computed from the TLS material key to
>> avoid such a problem.
>>
>> Comments?
>>
>> Best regards,
>> Badra
>>
>> > Hi Mehmet,
>> >
>> > "Implementations" is not that clear. Must all NETCONF implementations
>> > prevent this? Or is it the implementations of NETCONF over TLS that
>> > MUST handle this?  Does this sequence pose the same problems for other
>> > transports, such as BEEP and SOAP and SSH?
>> >
>> > I think the text needs to be clearer.
>> >
>> > What happens if NETCONF is processing an outgoing message and finds
>> > this in the NETCONF message? what does it do - throw the message away?
>> > escape the sequence? strip the sequence? Should that portion of the
>> > processing return an error to the application that originated the
>> > message? if so, which error code?
>> >
>> > What happens if NETCONF is processing an incoming message and finds
>> > this in the NETCONF message? what does it do - throw the message away?
>> > Process the partial message? if so, what impact could that have on
>> > network stability and/or network security? Is there any possibility
>> > that a man-in-the-middle could insert such a sequence into a NETCONF
>> > message? Do all the transports have mechanisms that prevent message
>> > content modification, such that this should never be a problem?
>> >
>> > dbh
>> >
>> >> -----Original Message-----
>> >> From: netconf-bounces@ietf.org
>> >> [mailto:netconf-bounces@ietf.org] On Behalf Of Ersue, Mehmet
>> >> (NSN - DE/Munich)
>> >> Sent: Friday, February 13, 2009 3:11 PM
>> >> To: Netconf
>> >> Cc: mbadra@gmail.com
>> >> Subject: [Netconf] Consensus verification WAS:RE: AD review
>> >> fordraft-ietf-netconf-tls-06.txt
>> >>
>> >>
>> >> Dear NETCONF WG,
>> >>
>> >> we had already a long thread on this issue with 47 mails.
>> >>
>> >> As Bert stated in a parallel mail there seems to be no
>> >> real practical or operational problems with the current
>> >> end-of-message sequence. In fact changing the current
>> >> mechanism would potentially cause problems.
>> >>
>> >> > >    Implementations MUST ensure that this character
>> >> sequence is never
>> >> > >    part of a NETCONF message.
>> >>
>> >> After some of you and the draft author agreed I assume
>> >> we can see now the small text block above as the WG
>> >> consensus.
>> >>
>> >> If anybody has any _strong_ objections please provide new
>> >> text by Feb 16 by considering the discussion we had already.
>> >>
>> >> Mehmet
>> >>
>> >>
>> >> > -----Original Message-----
>> >> > From: netconf-bounces@ietf.org
>> >> > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
>> >> > Sent: Friday, February 13, 2009 2:24 AM
>> >> > To: j.schoenwaelder@jacobs-university.de
>> >> > Cc: Netconf
>> >> > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>> >> >
>> >> >
>> >> > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen
>> >> (IETF) wrote:
>> >> > >
>> >> > >> I would like to ask for implementers and people who deploy
>> >> > >> implementations
>> >> > >> what the answer is to this question:
>> >> > >>
>> >> > >>   Has the current end-of-message sequence caused any
>> >> > inter-operability
>> >> > >>   problems, or just theoretical problems that only occur
>> >> > in test suites?
>> >> > >>
>> >> > >> IF there are no real pragmatic/practical/operational
>> >> > problems, then do
>> >> > >> we
>> >> > >> really need (want) to cover all possible/theoretical
>> >> corner cases?
>> >> > >
>> >> > > Operationally, I am not so much concerned. I am more
>> >> concerned about
>> >> > > someone finding a way to make malicious use of this framing
>> >> > sequence,
>> >> > > e.g. tricking implementations to somehow generate framing
>> >> sequences
>> >> > > where they should not be and using that to do creative things.
>> >> > >
>> >> > > Some people on this list argue that such concerns are not
>> >> justified
>> >> > > because NETCONF implementations should never generate the
>> > framing
>> >> > > sequence and if they do, the (not really defined) NETCONF access
>> >> > > control prevents damage to happen and by tampering with
>> >> > messages, you
>> >> > > will not really be able to do damage but just cause parse
>> >> errors and
>> >> > > other failures.  My concern is that people might underestimate
>> >> > > creativity of hackers and overestimate the skills of NETCONF
>> >> > > implementors.
>> >> > >
>> >> > > But perhaps we are really best of for the moment stating
>> >> explicitly
>> >> > > that NETCONF implementations MUST ensure that the framing
>> >> > sequence is
>> >> > > never part of a NETCONF message they generate. By stating this
>> >> > > explicitly this, a potential CERT advisory is immediately
>> >> > turned away
>> >> > > from the IETF and hits the implementors.
>> >> > >
>> >> > > So the errata becomes to replace the following text
>> >> > >
>> >> > >    This character sequence cannot
>> >> > >    legally appear in an XML document, so it can be
>> >> > unambiguously used to
>> >> > >    identify the end of the current document, allowing
>> >> > resynchronization
>> >> > >    of the NETCONF exchange in the event of an XML syntax
>> >> or parsing
>> >> > >    error.
>> >> > >
>> >> > > with for example
>> >> > >
>> >> > >    Implementations MUST ensure that this character
>> >> sequence is never
>> >> > >    part of a NETCONF message.
>> >> >
>> _______________________________________________
>> Netconf mailing list
>> Netconf@ietf.org
>> https://www.ietf.org/mailman/listinfo/netconf
>>
>>


-- 
Badra

--000e0cd2a1804c806b046324bc51
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>I forgot to send the portion&nbsp;of the text related to the delimiter=
&nbsp;(Section 2.1)</div>
<div>&nbsp;</div>
<div>So please let us try to find a consensus For</div>
<div>&nbsp;</div>
<div>1-&nbsp;Section 2.1: [This text differs with only one addition (&quot;=
of this&nbsp; document&quot;) from the mail sent by Mehmet on Mo 16.02.2009=
 17:55.]</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; &quot;This document uses the same delimiter sequence (&qu=
ot;]]&gt;]]&gt;&quot;) defined in <br>&nbsp;&nbsp; [RFC4742], which MUST be=
 sent by both the client and the server after </div>
<div>&nbsp;&nbsp; each XML document in the NETCONF exchange. <br>&nbsp;&nbs=
p; Implementations of this document MUST ensure that this character <br>&nb=
sp;&nbsp; sequence is never part of a NETCONF message. This character seque=
nce <br>&nbsp;&nbsp; can legally appear as carried data of XML elements in =
valid XML documents.&quot; <br>
<br></div>
<div>2- Security Considerations:</div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; &quot;An attacker might be able to inject arbitrary NETCO=
NF messages via <br>&nbsp;&nbsp; some application that does not carefully c=
heck NETCONF messages. <br>&nbsp;&nbsp; Hence, applications and NETCONF API=
s should ensure that the delimiter <br>
&nbsp;&nbsp; sequence defined in section 2.1 never appears in NETCONF messa=
ges. <br>&nbsp;&nbsp; Implementations of this document should cause parse e=
rrors and other <br>&nbsp;&nbsp; failures if they find this delimiter seque=
nce in a NETCONF message.&quot;&nbsp;<br>
</div>
<div>&nbsp;</div>
<div>Best regards,</div>
<div>Badra</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div class=3D"gmail_quote">On Tue, Feb 17, 2009 at 10:47 PM, Badra <span di=
r=3D"ltr">&lt;<a href=3D"mailto:badra@isima.fr" target=3D"_blank">badra@isi=
ma.fr</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Dear all,</div>
<div>&nbsp;</div>
<div>The Security Considerations should discuss&nbsp;the misused of the spe=
cial sequence.</div>
<div>&nbsp;</div>
<div>Let us try to find a consensus with the&nbsp;following text:<br><br>&n=
bsp;&nbsp; &quot;An attacker might be able to inject arbitrary NETCONF mess=
ages via <br>&nbsp;&nbsp; some application that does not carefully check NE=
TCONF messages. <br>
&nbsp;&nbsp; Hence, applications and NETCONF APIs should ensure that the de=
limiter <br>&nbsp;&nbsp; sequence defined in section 2.1 never appears in N=
ETCONF messages. <br>&nbsp;&nbsp; Implementations of this document should c=
ause parse errors and other <br>
&nbsp;&nbsp; failures if they find this delimiter sequence in a NETCONF mes=
sage.&quot;&nbsp;<br><br></div>
<div>Best regards,<br><font color=3D"#888888">Badra</font></div>
<div>
<div></div>
<div>
<div class=3D"gmail_quote">&nbsp;</div>
<div class=3D"gmail_quote">&nbsp;</div>
<div class=3D"gmail_quote">On Tue, Feb 17, 2009 at 2:03 PM, Bert Wijnen (IE=
TF) <span dir=3D"ltr">&lt;<a href=3D"mailto:bertietf@bwijnen.net" target=3D=
"_blank">bertietf@bwijnen.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div bgcolor=3D"#ffffff">
<div><font size=3D"2">David,</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">You have lost of questions. Pls realize:</font></div>
<div><font size=3D"2">- we are in IETF LC phase. It would be good to add su=
ggested text</font></div>
<div><font size=3D"2">&nbsp; to remedy the rpoblems you see.</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- your questions equally apply to the rfc4742 context=
.</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- So... do we want to have a NetConf over TLS that is=
 in the same </font></div>
<div><font size=3D"2">&nbsp; good/reasnable shape as NetConf over SSH? Or d=
o we want to</font></div>
<div><font size=3D"2">&nbsp;&nbsp;put all the concerns we have on the gener=
ic EOM issue on</font></div>
<div><font size=3D"2">&nbsp; this specific document?</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- I would suggest that we try to get this</font><font=
 size=3D"2"> document approved</font></div>
<div><font size=3D"2">&nbsp; and published, so that people can start</font>=
<font size=3D"2">&nbsp; to implement against</font></div>
<div><font size=3D"2">&nbsp; a stable (as stable as rfc4742) spec.</font></=
div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">- If we still see the sort of issues you bring forwar=
d as SERIOUS</font></div>
<div><font size=3D"2">&nbsp;&nbsp;enough to tackle them, then we should pro=
bably launch a rfc4742</font></div>
<div><font size=3D"2">&nbsp; and rfcyyyy (the Netconf over TLS spec once it=
 is an RFC) update</font></div>
<div><font size=3D"2">&nbsp; to fix any gaps/errors/security/hacking concer=
ns.</font></div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2">I am not sure that the suggested extra TLS-generated =
value is gonna</font></div>
<div><font size=3D"2">get us anywhere in a reasonable amount of time. And e=
ven if it does,</font></div>
<div><font size=3D"2">it does not solve the same (generic?) problem with th=
e EOM handling</font></div>
<div><font size=3D"2">in RFC4742.</font></div>
<div><font size=3D"2"></font>&nbsp;</div><font color=3D"#888888">
<div><font size=3D"2">Bert</font></div></font>
<div>
<div></div>
<div>
<div><font size=3D"2"></font>&nbsp;</div>
<div><font size=3D"2"></font>&nbsp;</div>
<div>----- Original Message ----- </div>
<blockquote style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5p=
x; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<div style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial"><b>From:</b> <a title=
=3D"badra@isima.fr" href=3D"mailto:badra@isima.fr" target=3D"_blank">Mohama=
d Badra</a> </div>
<div style=3D"FONT: 10pt arial"><b>To:</b> <a title=3D"dbharrington@comcast=
.net" href=3D"mailto:dbharrington@comcast.net" target=3D"_blank">David B Ha=
rrington</a> </div>
<div style=3D"FONT: 10pt arial"><b>Cc:</b> <a title=3D"netconf@ietf.org" hr=
ef=3D"mailto:netconf@ietf.org" target=3D"_blank">&#39;Netconf&#39;</a> </di=
v>
<div style=3D"FONT: 10pt arial"><b>Sent:</b> Tuesday, February 17, 2009 12:=
42 AM</div>
<div style=3D"FONT: 10pt arial"><b>Subject:</b> Re: [Netconf] Consensus ver=
ification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt</div>
<div><br></div>Hi David<br><br>The man-in-the-middle is not possible betwee=
n the two TLS entities (if the<br>identity check is well established as des=
cribed in the document). However,<br>the transport layers can&#39;t resolve=
 this problem if it happen at the upper<br>
layers (inside attacks, out of TLS scope).<br><br>Since we must use the sam=
e RFC4742 special sequence, I think we can<br>alwaysuse it but in conjuncti=
on with another value generated by the TLS<br>session itself (let&#39;s say=
 the TLS client random value, or the first 4<br>
bytes of this value (the current gmt_unix_time)) or a value known only by<b=
r>the TLS client and server.<br><br>If that is possible(I hope so :-)), so =
the TLS entities (client or server)<br>will replace the special sequence ap=
pearing in XML documents - exchanged<br>
between two TLS entities - with the TLS session_id, add the special<br>sequ=
ence at the end of the modified XML document and send the result over<br>th=
e TLS secure session (where date integrity is ensured). The TLS entity<br>
that receives this modified document will look for the special sequence to<=
br>delimit the modified XML document (only one special sequence could appea=
r<br>by a XML document). Next, the same entity will look for the TLS sessio=
n_id<br>
in the modified document to replace it with the special sequence before<br>=
delivering the original document to the application layer.<br><br>Well, it =
is always possible to say that a man in the middle can read the<br>TLS para=
meters exchanged in clear text (e.g. random values, session<br>
identifier, etc.) and then can inject/insert falsified data, etc. IMO, we<b=
r>should then use a secret sequence computed from the TLS material key to<b=
r>avoid such a problem.<br><br>Comments?<br><br>Best regards,<br>Badra<br>
<br>&gt; Hi Mehmet,<br>&gt;<br>&gt; &quot;Implementations&quot; is not that=
 clear. Must all NETCONF implementations<br>&gt; prevent this? Or is it the=
 implementations of NETCONF over TLS that<br>&gt; MUST handle this?&nbsp; D=
oes this sequence pose the same problems for other<br>
&gt; transports, such as BEEP and SOAP and SSH?<br>&gt;<br>&gt; I think the=
 text needs to be clearer.<br>&gt;<br>&gt; What happens if NETCONF is proce=
ssing an outgoing message and finds<br>&gt; this in the NETCONF message? wh=
at does it do - throw the message away?<br>
&gt; escape the sequence? strip the sequence? Should that portion of the<br=
>&gt; processing return an error to the application that originated the<br>=
&gt; message? if so, which error code?<br>&gt;<br>&gt; What happens if NETC=
ONF is processing an incoming message and finds<br>
&gt; this in the NETCONF message? what does it do - throw the message away?=
<br>&gt; Process the partial message? if so, what impact could that have on=
<br>&gt; network stability and/or network security? Is there any possibilit=
y<br>
&gt; that a man-in-the-middle could insert such a sequence into a NETCONF<b=
r>&gt; message? Do all the transports have mechanisms that prevent message<=
br>&gt; content modification, such that this should never be a problem?<br>
&gt;<br>&gt; dbh<br>&gt;<br>&gt;&gt; -----Original Message-----<br>&gt;&gt;=
 From: <a href=3D"mailto:netconf-bounces@ietf.org" target=3D"_blank">netcon=
f-bounces@ietf.org</a><br>&gt;&gt; [mailto:<a href=3D"mailto:netconf-bounce=
s@ietf.org" target=3D"_blank">netconf-bounces@ietf.org</a>] On Behalf Of Er=
sue, Mehmet<br>
&gt;&gt; (NSN - DE/Munich)<br>&gt;&gt; Sent: Friday, February 13, 2009 3:11=
 PM<br>&gt;&gt; To: Netconf<br>&gt;&gt; Cc: <a href=3D"mailto:mbadra@gmail.=
com" target=3D"_blank">mbadra@gmail.com</a><br>&gt;&gt; Subject: [Netconf] =
Consensus verification WAS:RE: AD review<br>
&gt;&gt; fordraft-ietf-netconf-tls-06.txt<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&g=
t; Dear NETCONF WG,<br>&gt;&gt;<br>&gt;&gt; we had already a long thread on=
 this issue with 47 mails.<br>&gt;&gt;<br>&gt;&gt; As Bert stated in a para=
llel mail there seems to be no<br>
&gt;&gt; real practical or operational problems with the current<br>&gt;&gt=
; end-of-message sequence. In fact changing the current<br>&gt;&gt; mechani=
sm would potentially cause problems.<br>&gt;&gt;<br>&gt;&gt; &gt; &gt;&nbsp=
;&nbsp;&nbsp; Implementations MUST ensure that this character<br>
&gt;&gt; sequence is never<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; part of =
a NETCONF message.<br>&gt;&gt;<br>&gt;&gt; After some of you and the draft =
author agreed I assume<br>&gt;&gt; we can see now the small text block abov=
e as the WG<br>
&gt;&gt; consensus.<br>&gt;&gt;<br>&gt;&gt; If anybody has any _strong_ obj=
ections please provide new<br>&gt;&gt; text by Feb 16 by considering the di=
scussion we had already.<br>&gt;&gt;<br>&gt;&gt; Mehmet<br>&gt;&gt;<br>
&gt;&gt;<br>&gt;&gt; &gt; -----Original Message-----<br>&gt;&gt; &gt; From:=
 <a href=3D"mailto:netconf-bounces@ietf.org" target=3D"_blank">netconf-boun=
ces@ietf.org</a><br>&gt;&gt; &gt; [mailto:<a href=3D"mailto:netconf-bounces=
@ietf.org" target=3D"_blank">netconf-bounces@ietf.org</a>] On Behalf Of ext=
 Mohamad Badra<br>
&gt;&gt; &gt; Sent: Friday, February 13, 2009 2:24 AM<br>&gt;&gt; &gt; To: =
<a href=3D"mailto:j.schoenwaelder@jacobs-university.de" target=3D"_blank">j=
.schoenwaelder@jacobs-university.de</a><br>&gt;&gt; &gt; Cc: Netconf<br>&gt=
;&gt; &gt; Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.t=
xt<br>
&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; &gt; On Thu, Feb 12, 2009 a=
t 02:30:48PM +0100, Bert Wijnen<br>&gt;&gt; (IETF) wrote:<br>&gt;&gt; &gt; =
&gt;<br>&gt;&gt; &gt; &gt;&gt; I would like to ask for implementers and peo=
ple who deploy<br>
&gt;&gt; &gt; &gt;&gt; implementations<br>&gt;&gt; &gt; &gt;&gt; what the a=
nswer is to this question:<br>&gt;&gt; &gt; &gt;&gt;<br>&gt;&gt; &gt; &gt;&=
gt;&nbsp;&nbsp; Has the current end-of-message sequence caused any<br>&gt;&=
gt; &gt; inter-operability<br>
&gt;&gt; &gt; &gt;&gt;&nbsp;&nbsp; problems, or just theoretical problems t=
hat only occur<br>&gt;&gt; &gt; in test suites?<br>&gt;&gt; &gt; &gt;&gt;<b=
r>&gt;&gt; &gt; &gt;&gt; IF there are no real pragmatic/practical/operation=
al<br>
&gt;&gt; &gt; problems, then do<br>&gt;&gt; &gt; &gt;&gt; we<br>&gt;&gt; &g=
t; &gt;&gt; really need (want) to cover all possible/theoretical<br>&gt;&gt=
; corner cases?<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; Operationally, =
I am not so much concerned. I am more<br>
&gt;&gt; concerned about<br>&gt;&gt; &gt; &gt; someone finding a way to mak=
e malicious use of this framing<br>&gt;&gt; &gt; sequence,<br>&gt;&gt; &gt;=
 &gt; e.g. tricking implementations to somehow generate framing<br>&gt;&gt;=
 sequences<br>
&gt;&gt; &gt; &gt; where they should not be and using that to do creative t=
hings.<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; Some people on this list=
 argue that such concerns are not<br>&gt;&gt; justified<br>&gt;&gt; &gt; &g=
t; because NETCONF implementations should never generate the<br>
&gt; framing<br>&gt;&gt; &gt; &gt; sequence and if they do, the (not really=
 defined) NETCONF access<br>&gt;&gt; &gt; &gt; control prevents damage to h=
appen and by tampering with<br>&gt;&gt; &gt; messages, you<br>&gt;&gt; &gt;=
 &gt; will not really be able to do damage but just cause parse<br>
&gt;&gt; errors and<br>&gt;&gt; &gt; &gt; other failures.&nbsp; My concern =
is that people might underestimate<br>&gt;&gt; &gt; &gt; creativity of hack=
ers and overestimate the skills of NETCONF<br>&gt;&gt; &gt; &gt; implemento=
rs.<br>
&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; But perhaps we are really best of =
for the moment stating<br>&gt;&gt; explicitly<br>&gt;&gt; &gt; &gt; that NE=
TCONF implementations MUST ensure that the framing<br>&gt;&gt; &gt; sequenc=
e is<br>
&gt;&gt; &gt; &gt; never part of a NETCONF message they generate. By statin=
g this<br>&gt;&gt; &gt; &gt; explicitly this, a potential CERT advisory is =
immediately<br>&gt;&gt; &gt; turned away<br>&gt;&gt; &gt; &gt; from the IET=
F and hits the implementors.<br>
&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; So the errata becomes to replace t=
he following text<br>&gt;&gt; &gt; &gt;<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&n=
bsp; This character sequence cannot<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;=
 legally appear in an XML document, so it can be<br>
&gt;&gt; &gt; unambiguously used to<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;=
 identify the end of the current document, allowing<br>&gt;&gt; &gt; resync=
hronization<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; of the NETCONF exchange=
 in the event of an XML syntax<br>
&gt;&gt; or parsing<br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; error.<br>&gt;&=
gt; &gt; &gt;<br>&gt;&gt; &gt; &gt; with for example<br>&gt;&gt; &gt; &gt;<=
br>&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; Implementations MUST ensure that th=
is character<br>&gt;&gt; sequence is never<br>
&gt;&gt; &gt; &gt;&nbsp;&nbsp;&nbsp; part of a NETCONF message.<br>&gt;&gt;=
 &gt;<br>_______________________________________________<br>Netconf mailing=
 list<br><a href=3D"mailto:Netconf@ietf.org" target=3D"_blank">Netconf@ietf=
.org</a><br><a href=3D"https://www.ietf.org/mailman/listinfo/netconf" targe=
t=3D"_blank">https://www.ietf.org/mailman/listinfo/netconf</a><br>
</blockquote></div></div></div></blockquote></div></div></div></blockquote>=
</div><br><br clear=3D"all"><br>-- <br>Badra<br>

--000e0cd2a1804c806b046324bc51--

From j.schoenwaelder@jacobs-university.de  Wed Feb 18 00:04:52 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D412F3A69B9 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 00:04:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.092
X-Spam-Level: 
X-Spam-Status: No, score=-2.092 tagged_above=-999 required=5 tests=[AWL=0.157,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YtxjcBFcej4N for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 00:04:52 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id A75293A68DD for <netconf@ietf.org>; Wed, 18 Feb 2009 00:04:51 -0800 (PST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 62774C010F; Wed, 18 Feb 2009 09:05:03 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id QGfPTcKSiLf6; Wed, 18 Feb 2009 09:04:57 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 7E0EAC0070; Wed, 18 Feb 2009 09:04:57 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id 66EB09A4E42; Wed, 18 Feb 2009 09:04:56 +0100 (CET)
Date: Wed, 18 Feb 2009 09:04:56 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Badra <badra@isima.fr>
Message-ID: <20090218080456.GC8037@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: Badra <badra@isima.fr>, "Bert Wijnen (IETF)" <bertietf@bwijnen.net>, Netconf <netconf@ietf.org>
References: <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <031501c9907e$fb792770$0600a8c0@china.huawei.com> <50669.88.175.65.115.1234827720.squirrel@www.isima.fr> <325E2FFFC02940F586908B110154C140@BertLaptop> <c24c21d80902171347t240636b7od6d8d941677fe466@mail.gmail.com> <c24c21d80902171422l4991e318i7799635f83f4c872@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <c24c21d80902171422l4991e318i7799635f83f4c872@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] Consensus verification WAS:RE: AD	reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 08:04:52 -0000

On Tue, Feb 17, 2009 at 11:22:15PM +0100, Badra wrote:
 
> 1- Section 2.1: [This text differs with only one addition ("of this
> document") from the mail sent by Mehmet on Mo 16.02.2009 17:55.]
> 
>    "This document uses the same delimiter sequence ("]]>]]>") defined in
>    [RFC4742], which MUST be sent by both the client and the server after
>    each XML document in the NETCONF exchange.
>    Implementations of this document MUST ensure that this character
>    sequence is never part of a NETCONF message. This character sequence
>    can legally appear as carried data of XML elements in valid XML
> documents."

I have trouble with the last sentence because it uses the term "XML
element" and this is likely misleading. I think it deserves some
discussion (a) where this sequence may appear legally in a well-formed
XML document and (b) where it may not appear legally in a well-formed
XML document.
 
> 2- Security Considerations:
> 
>    "An attacker might be able to inject arbitrary NETCONF messages via
>    some application that does not carefully check NETCONF messages.
>    Hence, applications and NETCONF APIs should ensure that the delimiter
>    sequence defined in section 2.1 never appears in NETCONF messages.
>    Implementations of this document should cause parse errors and other
>    failures if they find this delimiter sequence in a NETCONF message."

I am not sure about the parse error since bogus injection happens on
the sending side, not on the receiving side (and some people argued
that the sequence is good for recovering synchronization - I
personally would prefer to close the session but that is just me).

So my suggestion is the remove the last sentence and turn the should
in the second sentence into a MUST.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

From mbadra@gmail.com  Wed Feb 18 00:27:46 2009
Return-Path: <mbadra@gmail.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5535D28C1CD for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 00:27:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.676
X-Spam-Level: 
X-Spam-Status: No, score=-1.676 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5yWSw6haZbCt for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 00:27:45 -0800 (PST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by core3.amsl.com (Postfix) with ESMTP id 8421E28C1C6 for <netconf@ietf.org>; Wed, 18 Feb 2009 00:27:44 -0800 (PST)
Received: by fg-out-1718.google.com with SMTP id l26so565798fgb.41 for <netconf@ietf.org>; Wed, 18 Feb 2009 00:27:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=JEy4ws39Igjv905e86fX9A/VclLOnKw7ZUJdNyo+4yg=; b=Vg8Seh4ogEUSeT8XIwlHvsJRQqDqIxiOo5BAKQ90Lhc1IbuRHWvqHKKUjBqANEu2KW EdF7CToiHl+7WeQsHD/C3jURbc5uwRXRPS7YOf+tm0aLcVWtz/6XzAXzZrAng2YgWuCE Et+NO10tAhmnBcRdUdcgRro1Wi0KhIxiXqE08=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=Z9DXquBdqnSa2L2ba9265ZUiZsMmZrnkiW05ZcS/OLb9j7bTGaXPC5vmiq1FaROVKA 0kohdlWcZEQR2mMv8AnLL7HaBvD55Og+J1GYsEJN50DUhrsxqKNChnPKs6COBYY1CbDW dy5Q1+Yyj+pvbIBrOCzPpNQKoaa9/Krhsl7M0=
MIME-Version: 1.0
Sender: mbadra@gmail.com
Received: by 10.86.4.2 with SMTP id 2mr2590635fgd.49.1234945675019; Wed, 18  Feb 2009 00:27:55 -0800 (PST)
In-Reply-To: <20090218080456.GC8037@elstar.iuhb02.iu-bremen.de>
References: <4992EDF4.50807@netconfcentral.com> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <031501c9907e$fb792770$0600a8c0@china.huawei.com> <50669.88.175.65.115.1234827720.squirrel@www.isima.fr> <325E2FFFC02940F586908B110154C140@BertLaptop> <c24c21d80902171347t240636b7od6d8d941677fe466@mail.gmail.com> <c24c21d80902171422l4991e318i7799635f83f4c872@mail.gmail.com> <20090218080456.GC8037@elstar.iuhb02.iu-bremen.de>
Date: Wed, 18 Feb 2009 09:27:54 +0100
X-Google-Sender-Auth: 4d8b3e2139924740
Message-ID: <c24c21d80902180027y20e520b3tef888763454b43f0@mail.gmail.com>
From: Badra <badra@isima.fr>
To: j.schoenwaelder@jacobs-university.de, Badra <badra@isima.fr>,  "Bert Wijnen (IETF)" <bertietf@bwijnen.net>, Netconf <netconf@ietf.org>
Content-Type: multipart/alternative; boundary=000e0cd2474a46c57304632d323b
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 08:27:46 -0000

--000e0cd2474a46c57304632d323b
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

On Wed, Feb 18, 2009 at 9:04 AM, Juergen Schoenwaelder <
j.schoenwaelder@jacobs-university.de> wrote:

> On Tue, Feb 17, 2009 at 11:22:15PM +0100, Badra wrote:
>
> > 1- Section 2.1: [This text differs with only one addition ("of this
> > document") from the mail sent by Mehmet on Mo 16.02.2009 17:55.]
> >
> >    "This document uses the same delimiter sequence ("]]>]]>") defined in
> >    [RFC4742], which MUST be sent by both the client and the server after
> >    each XML document in the NETCONF exchange.
> >    Implementations of this document MUST ensure that this character
> >    sequence is never part of a NETCONF message. This character sequence
> >    can legally appear as carried data of XML elements in valid XML
> > documents."
>
> I have trouble with the last sentence because it uses the term "XML
> element" and this is likely misleading. I think it deserves some
> discussion (a) where this sequence may appear legally in a well-formed
> XML document and (b) where it may not appear legally in a well-formed
> XML document.
>


How about:

   This character sequence can legally appear as carried data of XML
   elements in valid XML documents, as part of an attribute, of
   comments orof Processing Instructions.

 Please don't hesitate to send another proposal if you disagree with the
above text.

> 2- Security Considerations:
>
>    "An attacker might be able to inject arbitrary NETCONF messages via
>    some application that does not carefully check NETCONF messages.
>    Hence, applications and NETCONF APIs should ensure that the delimiter
>    sequence defined in section 2.1 never appears in NETCONF messages.
>    Implementations of this document should cause parse errors and other
>    failures if they find this delimiter sequence in a NETCONF message."

I am not sure about the parse error since bogus injection happens on
> the sending side, not on the receiving side (and some people argued
> that the sequence is good for recovering synchronization - I
> personally would prefer to close the session but that is just me).
>
> So my suggestion is the remove the last sentence and turn the should
> in the second sentence into a MUST.
>
> I am fine with that

Best regards
Badra

--000e0cd2474a46c57304632d323b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div class=3D"gmail_quote">On Wed, Feb 18, 2009 at 9:04 AM, Juergen Schoenw=
aelder <span dir=3D"ltr">&lt;<a href=3D"mailto:j.schoenwaelder@jacobs-unive=
rsity.de" target=3D"_blank">j.schoenwaelder@jacobs-university.de</a>&gt;</s=
pan> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>On Tue, Feb 17, 2009 at 11:22:15PM +0100, Badra wrote:<br><br>&gt; 1- =
Section 2.1: [This text differs with only one addition (&quot;of this<br>&g=
t; document&quot;) from the mail sent by Mehmet on Mo 16.02.2009 17:55.]<br=
>
&gt;<br>&gt; &nbsp; &nbsp;&quot;This document uses the same delimiter seque=
nce (&quot;]]&gt;]]&gt;&quot;) defined in<br>&gt; &nbsp; &nbsp;[RFC4742], w=
hich MUST be sent by both the client and the server after<br>&gt; &nbsp; &n=
bsp;each XML document in the NETCONF exchange.<br>
&gt; &nbsp; &nbsp;Implementations of this document MUST ensure that this ch=
aracter<br>&gt; &nbsp; &nbsp;sequence is never part of a NETCONF message. T=
his character sequence<br>&gt; &nbsp; &nbsp;can legally appear as carried d=
ata of XML elements in valid XML<br>
&gt; documents.&quot;<br><br></div>I have trouble with the last sentence be=
cause it uses the term &quot;XML<br>element&quot; and this is likely mislea=
ding. I think it deserves some<br>discussion (a) where this sequence may ap=
pear legally in a well-formed<br>
XML document and (b) where it may not appear legally in a well-formed<br>XM=
L document.<br>
<div></div></blockquote>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>How about:</div>
<div>&nbsp;</div>
<div>&nbsp; &nbsp;This character sequence can legally appear as carried dat=
a of XML </div>
<div>&nbsp;&nbsp; elements in valid XML&nbsp;documents, as part of an attri=
bute, of </div>
<div>&nbsp;&nbsp; comments orof Processing&nbsp;Instructions.&nbsp;</div><s=
pan></span></div>
<div class=3D"gmail_quote">&nbsp;</div>
<div class=3D"gmail_quote">
<div>Please don&#39;t hesitate to send another proposal if you disagree wit=
h the above text.</div>
<div>&nbsp;</div>
<div>&gt; 2- Security Considerations:<br>&gt;<br>&gt; &nbsp; &nbsp;&quot;An=
 attacker might be able to inject arbitrary NETCONF messages via<br>&gt; &n=
bsp; &nbsp;some application that does not carefully check NETCONF messages.=
<br>&gt; &nbsp; &nbsp;Hence, applications and NETCONF APIs should ensure th=
at the delimiter<br>
&gt; &nbsp; &nbsp;sequence defined in section 2.1 never appears in NETCONF =
messages.<br>&gt; &nbsp; &nbsp;Implementations of this document should caus=
e parse errors and other<br>&gt; &nbsp; &nbsp;failures if they find this de=
limiter sequence in a NETCONF message.&quot;<br>
<br></div>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I am not sure about the parse er=
ror since bogus injection happens on<br>the sending side, not on the receiv=
ing side (and some people argued<br>
that the sequence is good for recovering synchronization - I<br>personally =
would prefer to close the session but that is just me).<br><br>So my sugges=
tion is the remove the last sentence and turn the should<br>in the second s=
entence into a MUST.<br>
<br></blockquote>
<div>I am fine with that</div>
<div>
<div>&nbsp;</div>
<div>Best regards<br>Badra</div></div></div>

--000e0cd2474a46c57304632d323b--

From cfinss@dial.pipex.com  Wed Feb 18 02:25:31 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6B8823A68F3 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 02:25:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.039
X-Spam-Level: 
X-Spam-Status: No, score=-1.039 tagged_above=-999 required=5 tests=[AWL=-0.083, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=1.643]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dOc-4rPKH1S2 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 02:25:30 -0800 (PST)
Received: from mk-outboundfilter-1.mail.uk.tiscali.com (mk-outboundfilter-1.mail.uk.tiscali.com [212.74.114.37]) by core3.amsl.com (Postfix) with ESMTP id 6E5C83A6358 for <netconf@ietf.org>; Wed, 18 Feb 2009 02:25:20 -0800 (PST)
X-Trace: 221139885/mk-outboundfilter-1.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.17.231/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.17.231
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArcEAFZwm0k+vBHn/2dsb2JhbACDQC+KHsYNB4QMBg
X-IronPort-AV: E=Sophos;i="4.38,228,1233532800"; d="scan'208";a="221139885"
X-IP-Direction: IN
Received: from 1cust231.tnt1.lnd3.gbr.da.uu.net (HELO allison) ([62.188.17.231]) by smtp.pipex.tiscali.co.uk with SMTP; 18 Feb 2009 10:25:27 +0000
Message-ID: <000401c991aa$aaff5da0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Ersue, Mehmet \(NSN - DE/Munich\)" <mehmet.ersue@nsn.com>, "Netconf" <netconf@ietf.org>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop><20090212221004.GD29707@elstar.iuhb02.iu-bremen.de><52240.88.164.98.77.1234488264.squirrel@www.isima.fr> <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net> <002901c98f91$3ece30e0$0601a8c0@allison> <A294F5A3E722D94FBEB6D49C1506F6F70163454D@DEMUEXC005.nsn-intra.net>
Date: Wed, 18 Feb 2009 09:37:28 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: mbadra@gmail.com
Subject: Re: [Netconf] Consensus verification WAS:RE: AD review fordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 10:25:31 -0000

----- Original Message -----
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "tom.petch" <cfinss@dial.pipex.com>; "Netconf" <netconf@ietf.org>
Cc: <mbadra@gmail.com>
Sent: Monday, February 16, 2009 5:55 PM
Subject: RE: [Netconf] Consensus verification WAS:RE: AD review
fordraft-ietf-netconf-tls-06.txt

Tom Petch wrote:
> "[The] special character sequence, ]]>]]>, MUST be sent by
> both the client and
> the server after each XML document in the NETCONF exchange, allowing
> resynchronization of the NETCONF exchange in the event of an
> XML syntax or
> parsing error.
>
> "Contrary to the statement in RFC4742, the special character
> sequence can
> legally appear in valid XML documents, as part of an
> attribute, of comments or
> of Processing Instructions.  Implementations MUST ensure that
> this character
> sequence is never part of a NETCONF message."

I understand your intension, however having more text
does not improve the clarity of the document. Do we really
need to state that NETCONF over TLS differs from RFC 4742?

Let us try to find a consensus with following text:

"This document uses the same delimiter sequence ("]]>]]>") defined in
[RFC4742], which MUST be sent by both the client and the server after
each XML document in the NETCONF exchange.
Implementations MUST ensure that this character sequence is never
part of a NETCONF message. This character sequence can legally
appear as carried data of XML elements in valid XML documents."

The consequence is that the TLS draft will have a different
delimiter handling as current 4742. I suggest to bring in this
as an errata for 4742.

<tp>

Mmmmmmmmmmm

OK, in the interests of progress, I will compromise with that wording.

Also, I have no problem with the use of 'implementations'.

<aside>
Having more text now might save significant effort in a year or two's time,
in the same way that having more text from 2004 would have saved us time
in November and now, so my thinking on having more text diverges from yours.
Thus I now know that the sequence can appear in more than just 'XML elements'
which I might have forgotten when next this surfaces, but as I say, I will
compromise on that:-)
</aside>

Tom Petch

</tp>

Mehmet

> As to whether this should also be mentioned in s.5 of
> Security, I am inclined to
> think that it should but that is only a _weak_ objection.
>
> If someone reading this RFC sees this and thinks, 'Hey, they
> goofed' well, yes,
> we goofed.  Better to say so.
>
> Tom Petch
>
> > Mehmet
> >
> >
> > > -----Original Message-----
> > > From: netconf-bounces@ietf.org
> > > [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
> > > Sent: Friday, February 13, 2009 2:24 AM
> > > To: j.schoenwaelder@jacobs-university.de
> > > Cc: Netconf
> > > Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> > >
> > >
> > > > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen
> (IETF) wrote:
> > > >
> > > >> I would like to ask for implementers and people who deploy
> > > >> implementations
> > > >> what the answer is to this question:
> > > >>
> > > >>   Has the current end-of-message sequence caused any
> > > inter-operability
> > > >>   problems, or just theoretical problems that only occur
> > > in test suites?
> > > >>
> > > >> IF there are no real pragmatic/practical/operational
> > > problems, then do
> > > >> we
> > > >> really need (want) to cover all possible/theoretical
> corner cases?
> > > >
> > > > Operationally, I am not so much concerned. I am more
> concerned about
> > > > someone finding a way to make malicious use of this framing
> > > sequence,
> > > > e.g. tricking implementations to somehow generate
> framing sequences
> > > > where they should not be and using that to do creative things.
> > > >
> > > > Some people on this list argue that such concerns are
> not justified
> > > > because NETCONF implementations should never generate
> the framing
> > > > sequence and if they do, the (not really defined) NETCONF access
> > > > control prevents damage to happen and by tampering with
> > > messages, you
> > > > will not really be able to do damage but just cause
> parse errors and
> > > > other failures.  My concern is that people might underestimate
> > > > creativity of hackers and overestimate the skills of NETCONF
> > > > implementors.
> > > >
> > > > But perhaps we are really best of for the moment
> stating explicitly
> > > > that NETCONF implementations MUST ensure that the framing
> > > sequence is
> > > > never part of a NETCONF message they generate. By stating this
> > > > explicitly this, a potential CERT advisory is immediately
> > > turned away
> > > > from the IETF and hits the implementors.
> > > >
> > > > So the errata becomes to replace the following text
> > > >
> > > >    This character sequence cannot
> > > >    legally appear in an XML document, so it can be
> > > unambiguously used to
> > > >    identify the end of the current document, allowing
> > > resynchronization
> > > >    of the NETCONF exchange in the event of an XML
> syntax or parsing
> > > >    error.
> > > >
> > > > with for example
> > > >
> > > >    Implementations MUST ensure that this character
> sequence is never
> > > >    part of a NETCONF message.
> > >
> > > I am fine with that.
> > > Best regards,
> > > Badra


From mbj@tail-f.com  Wed Feb 18 03:51:40 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1321F3A6954 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 03:51:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[AWL=0.149,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AyCeSFd-Vi4h for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 03:51:39 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 236093A6933 for <netconf@ietf.org>; Wed, 18 Feb 2009 03:51:38 -0800 (PST)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id 59FCB76C322; Wed, 18 Feb 2009 12:51:49 +0100 (CET)
Date: Wed, 18 Feb 2009 12:51:48 +0100 (CET)
Message-Id: <20090218.125148.208604864.mbj@tail-f.com>
To: badra@isima.fr
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <c24c21d80902180027y20e520b3tef888763454b43f0@mail.gmail.com>
References: <c24c21d80902171422l4991e318i7799635f83f4c872@mail.gmail.com> <20090218080456.GC8037@elstar.iuhb02.iu-bremen.de> <c24c21d80902180027y20e520b3tef888763454b43f0@mail.gmail.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 11:51:40 -0000

Badra <badra@isima.fr> wrote:
> How about:
> 
>    This character sequence can legally appear as carried data of XML
>    elements in valid XML documents, as part of an attribute, of
>    comments orof Processing Instructions.

It cannot be part of XML element data (not even CDATA), which
apparently is why it was choosen.

    This character sequence can legally appear as part of XML
    attributes, of XML comments, and of Processing Instructions.


/martin

From dbharrington@comcast.net  Wed Feb 18 09:37:17 2009
Return-Path: <dbharrington@comcast.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D3A353A6999 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 09:37:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.183
X-Spam-Level: 
X-Spam-Status: No, score=-2.183 tagged_above=-999 required=5 tests=[AWL=-0.184, BAYES_00=-2.599, J_CHICKENPOX_92=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HkdRfeKZVtnq for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 09:37:16 -0800 (PST)
Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by core3.amsl.com (Postfix) with ESMTP id 7B7AE3A6825 for <netconf@ietf.org>; Wed, 18 Feb 2009 09:37:16 -0800 (PST)
Received: from OMTA14.westchester.pa.mail.comcast.net ([76.96.62.60]) by QMTA08.westchester.pa.mail.comcast.net with comcast id HPjo1b0051HzFnQ58VdVCJ; Wed, 18 Feb 2009 17:37:29 +0000
Received: from Harrington73653 ([24.147.240.21]) by OMTA14.westchester.pa.mail.comcast.net with comcast id HVdV1b00T0UQ6dC3aVdVob; Wed, 18 Feb 2009 17:37:29 +0000
From: "David B Harrington" <dbharrington@comcast.net>
To: "'Netconf'" <netconf@ietf.org>
References: <499B3FEF.9090003@netconfcentral.com> <041a01c99164$e85ac630$0600a8c0@china.huawei.com> <499B66A4.6070302@netconfcentral.com> <21E3768982914AE0BFB4360F6033BE85@BertLaptop> <20090218101923.GC8933@elstar.iuhb02.iu-bremen.de>
Date: Wed, 18 Feb 2009 12:37:28 -0500
Message-ID: <048a01c991ef$91dc6080$0600a8c0@china.huawei.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-reply-to: <20090218101923.GC8933@elstar.iuhb02.iu-bremen.de>
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Thread-index: AcmRsmWCRsEzujQqQp2zL2NmLwJY/QAIeNaA
Subject: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 17:37:17 -0000

Hi, 

This discussion went to the "backroom" for various reasons. I have
chosen to bring this back to the netconf mailing list, since one of
the chairs questioned why it was backroom, and there are a few people
who I think should see the discussion, such as our Security Technical
Advisor.

">>" is from Bert, and ">" is from Juergen.
 
> > - the EOM issue is NOT specific to netconf over TLS
> 
> Not sure what your intention behind this statement is. Here is a
> statement I can easily agree with: The issue is specific to NETCONF
> over TLS and NETCONF over SSH and any other future transports that
> uses the EOM marker.

I checked the 4 netconf RFCs. Only the SSH document seems to use this
delimiter. Bert, do you think this is not specific to transports?

Transports that use other framing mechanisms to delimit messages do
not have a problem when the EOM marker occurs within the XML. Using
the EOM for transport framing means the transport "model" needs to be
concerned whether the XML contains the EOM anywhere other than end of
message. A transport should not need to worry about what is in the
message; the netconf message should simply be an opaque PDU that gets
sent via the transport. By using the EOM for transport message
framing, we introduce potential problems to the transport.

That issue can be solved quite simply by adding a framing mechanism to
any transport that currently uses the EOM marker, and not using it in
future transports. Syslog/tls had a similar problem, and we had the
transport model add a bytecount in the TLS payload. A syslog/tls
sender adds a bytecount; the syslog/tls receiver removes the
bytecount; syslog never sees the bytecount; the other transports never
see the bytecount. The transport never needs to know what the PDU
contains.

If you do not use a different message framing solution, then the
Security Considerations should discuss the potential impact of legal
XML PDUs carrying a transport framing marker in its content. Can this
cause messages to be discarded, since the EOM will cause messages to
be seen as non-well-formed? Can deliberately inserting an EOM marker
be used to create a DoS attack?

> 
> > - the message integrety problem is NOT only a EOM issue
> 
> Correct. But the EOM marker adds to it significantly and this is why
I
> believe it needs to be discussed in the security considerations.
>
> > - we (netconf WG) may need (or want) to investigate the complete
> >   message intregrity (and maybe that requires us to do something
> >   about access control as well)  and see what sort of 
> solution we can
> >   find for that problem

This thread has somehow conflated the unreliable EOM marker with
message integrity checking and access control. 

Transport framing does not solve the message integrity issue. For that
you need a security protocol that provides message integrity. I think
SSH and TLS and BEEP and SOAP mitigate your message integrity threats
already (assuming operators do not turn the integrity checking off). 

Neither framing nor message integrity checking solve the access
control issue. Andy's recent messages suggest that some people are
making bad assumptions that it does somehow. It does not. For that you
need an application level solution. That is a different problem than
on-the-wire transport framing and message integrity checking.

> >
> > As a result, I propose we do NOT try to solve the EOM issue in the

> > netconf-over-tls document, but let that document go to RFC instead
> > of holding it hostage to a much wider problem we seem to have.

The problem only exists in the Netconf over SSH and Netconf over TLS
documents. It is not a netconf-wide problem. It is transport-specific.


I recommend fixing the transport framing problem in netconf/tls now,
before it goes to Proposed Standard. I know of NO implementations of
netconf over TLS. Fixing it in that document now resolves it for that
transport, and impacts nobody. If we fix it now, we will keep the EOM
problem contained to only 1 of the 4 standards-track transports.

So the only "problem" transport is netconf over SSH, because that has
the EOM problem, and that has been implemented. I think the byte-count
fix should be easy to implement, although it is not backwards
compatible. I am not sure whether adding a byetcount+sp between
netconf messages would break existing netconf/SSH implementations.

> 
> I agree with that as long as we spell out the issues to make sure
> implementors understand that they MUST make sure the EOM is not part
> of a message they generate.

As long as the ']]>]]>' is used for framing, there is potential for
abuse that might enable security violations. If we continue to use it
for netconf/TLS, then the Security Considerations should spell out the
issues.

dbh

> 
> /js
> 
> -- 
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> 


From root@core3.amsl.com  Wed Feb 18 09:45:01 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: netconf@ietf.org
Delivered-To: netconf@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 7BDEB3A6825; Wed, 18 Feb 2009 09:45:01 -0800 (PST)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090218174501.7BDEB3A6825@core3.amsl.com>
Date: Wed, 18 Feb 2009 09:45:01 -0800 (PST)
Cc: netconf@ietf.org
Subject: [Netconf] I-D Action:draft-ietf-netconf-with-defaults-00.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 17:45:01 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Configuration Working Group of the IETF.


	Title           : With-defaults capability for NETCONF
	Author(s)       : A. Bierman, B. Lengyel
	Filename        : draft-ietf-netconf-with-defaults-00.txt
	Pages           : 14
	Date            : 2009-02-18

The NETCONF protocol defines ways to read configuration data from a
NETCONF agent.  Part of this data is not set by the NETCONF manager,
but rather a default value is used.  In many situations the NETCONF
manager has a priori knowledge about default data, so the NETCONF
agent does not need to send it to the manager.  In other situations
the NETCONF manger will need this data as part of the NETCONF <rpc-
reply> messages.  This document defines a capability-based extension
to the NETCONF protocol that allows the NETCONF manager to control
whether default values are part of NETCONF <rpc-reply> messages.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-netconf-with-defaults-00.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-netconf-with-defaults-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-02-18093232.I-D@ietf.org>


--NextPart--

From mbadra@gmail.com  Wed Feb 18 10:50:44 2009
Return-Path: <mbadra@gmail.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 27EF63A687C for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 10:50:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.476
X-Spam-Level: 
X-Spam-Status: No, score=-1.476 tagged_above=-999 required=5 tests=[AWL=-0.100, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_92=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c9vyF7xqBfzP for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 10:50:42 -0800 (PST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by core3.amsl.com (Postfix) with ESMTP id EE7B23A677D for <netconf@ietf.org>; Wed, 18 Feb 2009 10:50:41 -0800 (PST)
Received: by fg-out-1718.google.com with SMTP id l26so720714fgb.41 for <netconf@ietf.org>; Wed, 18 Feb 2009 10:50:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=0JdWXJclnPSi8u7lbE1aZpsRrtT4G7p2rfo8yrvSTEs=; b=sDPVf1NLQ4Yd0/SnuZBR1fudVZnega0SDE/NI5vOvkk6qm1+fnIUjhfDBq1/ySB497 EraBDi9WwPXZ3T1A9cNzsZHDKaAuc+ez1Uq8ijDloeStCvJcEBM3E0ivVWjKFVGJ/7M1 UBnkItkdbpc+4HJUMKnn5M/5hGZvyNY4UC5WE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=UWEYWPMeIOzAxZ0XNxGrILX2lJiPEV7A4RtVVw1SUzzXOP+CocmEp5zp73Q0OLz7Eo HPkkY22kliLEAk7WRwd4A+KmFcup3gqFZTS439H9IlrhCVry0B2eOgvzRUj3DPyk4gE7 eRyy32O7EMGNNOorwyvpHyq8w/dRH0QWL7N/w=
MIME-Version: 1.0
Sender: mbadra@gmail.com
Received: by 10.86.36.17 with SMTP id j17mr2946405fgj.10.1234983052958; Wed,  18 Feb 2009 10:50:52 -0800 (PST)
In-Reply-To: <048a01c991ef$91dc6080$0600a8c0@china.huawei.com>
References: <499B3FEF.9090003@netconfcentral.com> <041a01c99164$e85ac630$0600a8c0@china.huawei.com> <499B66A4.6070302@netconfcentral.com> <21E3768982914AE0BFB4360F6033BE85@BertLaptop> <20090218101923.GC8933@elstar.iuhb02.iu-bremen.de> <048a01c991ef$91dc6080$0600a8c0@china.huawei.com>
Date: Wed, 18 Feb 2009 19:50:52 +0100
X-Google-Sender-Auth: 80750ef5876491f5
Message-ID: <c24c21d80902181050j53e51160w10ff74f54822a489@mail.gmail.com>
From: Badra <badra@isima.fr>
To: David B Harrington <dbharrington@comcast.net>
Content-Type: multipart/alternative; boundary=000e0cd244922cdadd046335e6a3
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 18:50:44 -0000

--000e0cd244922cdadd046335e6a3
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Dear David,

I have a short question

I don't well understand your comparison between Netconf and Syslog regarding
the bytecount. Netconf hasn't message length in its message.

Suppose that this bytecount appear in a Netconf message (XML element, XML
comment, or PIs), what will happen? We will not have the same special
sequence case? Syslog/tls may rely on the message length to avoid that but
not netconf/tls.

Best regards,
Badra


On Wed, Feb 18, 2009 at 6:37 PM, David B Harrington <
dbharrington@comcast.net> wrote:

> Hi,
>
> This discussion went to the "backroom" for various reasons. I have
> chosen to bring this back to the netconf mailing list, since one of
> the chairs questioned why it was backroom, and there are a few people
> who I think should see the discussion, such as our Security Technical
> Advisor.
>
> ">>" is from Bert, and ">" is from Juergen.
>
> > > - the EOM issue is NOT specific to netconf over TLS
> >
> > Not sure what your intention behind this statement is. Here is a
> > statement I can easily agree with: The issue is specific to NETCONF
> > over TLS and NETCONF over SSH and any other future transports that
> > uses the EOM marker.
>
> I checked the 4 netconf RFCs. Only the SSH document seems to use this
> delimiter. Bert, do you think this is not specific to transports?
>
> Transports that use other framing mechanisms to delimit messages do
> not have a problem when the EOM marker occurs within the XML. Using
> the EOM for transport framing means the transport "model" needs to be
> concerned whether the XML contains the EOM anywhere other than end of
> message. A transport should not need to worry about what is in the
> message; the netconf message should simply be an opaque PDU that gets
> sent via the transport. By using the EOM for transport message
> framing, we introduce potential problems to the transport.
>
> That issue can be solved quite simply by adding a framing mechanism to
> any transport that currently uses the EOM marker, and not using it in
> future transports. Syslog/tls had a similar problem, and we had the
> transport model add a bytecount in the TLS payload. A syslog/tls
> sender adds a bytecount; the syslog/tls receiver removes the
> bytecount; syslog never sees the bytecount; the other transports never
> see the bytecount. The transport never needs to know what the PDU
> contains.
>
> If you do not use a different message framing solution, then the
> Security Considerations should discuss the potential impact of legal
> XML PDUs carrying a transport framing marker in its content. Can this
> cause messages to be discarded, since the EOM will cause messages to
> be seen as non-well-formed? Can deliberately inserting an EOM marker
> be used to create a DoS attack?
>
> >
> > > - the message integrety problem is NOT only a EOM issue
> >
> > Correct. But the EOM marker adds to it significantly and this is why
> I
> > believe it needs to be discussed in the security considerations.
> >
> > > - we (netconf WG) may need (or want) to investigate the complete
> > >   message intregrity (and maybe that requires us to do something
> > >   about access control as well)  and see what sort of
> > solution we can
> > >   find for that problem
>
> This thread has somehow conflated the unreliable EOM marker with
> message integrity checking and access control.
>
> Transport framing does not solve the message integrity issue. For that
> you need a security protocol that provides message integrity. I think
> SSH and TLS and BEEP and SOAP mitigate your message integrity threats
> already (assuming operators do not turn the integrity checking off).
>
> Neither framing nor message integrity checking solve the access
> control issue. Andy's recent messages suggest that some people are
> making bad assumptions that it does somehow. It does not. For that you
> need an application level solution. That is a different problem than
> on-the-wire transport framing and message integrity checking.
>
> > >
> > > As a result, I propose we do NOT try to solve the EOM issue in the
>
> > > netconf-over-tls document, but let that document go to RFC instead
> > > of holding it hostage to a much wider problem we seem to have.
>
> The problem only exists in the Netconf over SSH and Netconf over TLS
> documents. It is not a netconf-wide problem. It is transport-specific.
>
>
> I recommend fixing the transport framing problem in netconf/tls now,
> before it goes to Proposed Standard. I know of NO implementations of
> netconf over TLS. Fixing it in that document now resolves it for that
> transport, and impacts nobody. If we fix it now, we will keep the EOM
> problem contained to only 1 of the 4 standards-track transports.
>
> So the only "problem" transport is netconf over SSH, because that has
> the EOM problem, and that has been implemented. I think the byte-count
> fix should be easy to implement, although it is not backwards
> compatible. I am not sure whether adding a byetcount+sp between
> netconf messages would break existing netconf/SSH implementations.
>
> >
> > I agree with that as long as we spell out the issues to make sure
> > implementors understand that they MUST make sure the EOM is not part
> > of a message they generate.
>
> As long as the ']]>]]>' is used for framing, there is potential for
> abuse that might enable security violations. If we continue to use it
> for netconf/TLS, then the Security Considerations should spell out the
> issues.
>
> dbh
>
> >
> > /js
> >
> > --
> > Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> > Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
> > Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> >
>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>

--000e0cd244922cdadd046335e6a3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Dear David,</div>
<div>&nbsp;</div>
<div>I have a short question</div>
<div>&nbsp;</div>
<div>I don&#39;t well understand your comparison between Netconf and Syslog=
 regarding the bytecount. Netconf hasn&#39;t message length in its message.=
</div>
<div>&nbsp;</div>
<div>Suppose that this bytecount appear in a Netconf message (XML element, =
XML comment, or PIs), what will happen?&nbsp;We will not have the same spec=
ial sequence case? Syslog/tls may rely on the message length to avoid that =
but not netconf/tls.</div>

<div>&nbsp;</div>
<div>Best regards,</div>
<div>Badra</div><br><br>
<div class=3D"gmail_quote">On Wed, Feb 18, 2009 at 6:37 PM, David B Harring=
ton <span dir=3D"ltr">&lt;<a href=3D"mailto:dbharrington@comcast.net" targe=
t=3D"_blank">dbharrington@comcast.net</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>This discussion went =
to the &quot;backroom&quot; for various reasons. I have<br>chosen to bring =
this back to the netconf mailing list, since one of<br>
the chairs questioned why it was backroom, and there are a few people<br>wh=
o I think should see the discussion, such as our Security Technical<br>Advi=
sor.<br><br>&quot;&gt;&gt;&quot; is from Bert, and &quot;&gt;&quot; is from=
 Juergen.<br>
<br>&gt; &gt; - the EOM issue is NOT specific to netconf over TLS<br>&gt;<b=
r>&gt; Not sure what your intention behind this statement is. Here is a<br>=
&gt; statement I can easily agree with: The issue is specific to NETCONF<br=
>
&gt; over TLS and NETCONF over SSH and any other future transports that<br>=
&gt; uses the EOM marker.<br><br>I checked the 4 netconf RFCs. Only the SSH=
 document seems to use this<br>delimiter. Bert, do you think this is not sp=
ecific to transports?<br>
<br>Transports that use other framing mechanisms to delimit messages do<br>=
not have a problem when the EOM marker occurs within the XML. Using<br>the =
EOM for transport framing means the transport &quot;model&quot; needs to be=
<br>
concerned whether the XML contains the EOM anywhere other than end of<br>me=
ssage. A transport should not need to worry about what is in the<br>message=
; the netconf message should simply be an opaque PDU that gets<br>sent via =
the transport. By using the EOM for transport message<br>
framing, we introduce potential problems to the transport.<br><br>That issu=
e can be solved quite simply by adding a framing mechanism to<br>any transp=
ort that currently uses the EOM marker, and not using it in<br>future trans=
ports. Syslog/tls had a similar problem, and we had the<br>
transport model add a bytecount in the TLS payload. A syslog/tls<br>sender =
adds a bytecount; the syslog/tls receiver removes the<br>bytecount; syslog =
never sees the bytecount; the other transports never<br>see the bytecount. =
The transport never needs to know what the PDU<br>
contains.<br><br>If you do not use a different message framing solution, th=
en the<br>Security Considerations should discuss the potential impact of le=
gal<br>XML PDUs carrying a transport framing marker in its content. Can thi=
s<br>
cause messages to be discarded, since the EOM will cause messages to<br>be =
seen as non-well-formed? Can deliberately inserting an EOM marker<br>be use=
d to create a DoS attack?<br><br>&gt;<br>&gt; &gt; - the message integrety =
problem is NOT only a EOM issue<br>
&gt;<br>&gt; Correct. But the EOM marker adds to it significantly and this =
is why<br>I<br>&gt; believe it needs to be discussed in the security consid=
erations.<br>&gt;<br>&gt; &gt; - we (netconf WG) may need (or want) to inve=
stigate the complete<br>
&gt; &gt; &nbsp; message intregrity (and maybe that requires us to do somet=
hing<br>&gt; &gt; &nbsp; about access control as well) &nbsp;and see what s=
ort of<br>&gt; solution we can<br>&gt; &gt; &nbsp; find for that problem<br=
><br>This thread has somehow conflated the unreliable EOM marker with<br>
message integrity checking and access control.<br><br>Transport framing doe=
s not solve the message integrity issue. For that<br>you need a security pr=
otocol that provides message integrity. I think<br>SSH and TLS and BEEP and=
 SOAP mitigate your message integrity threats<br>
already (assuming operators do not turn the integrity checking off).<br><br=
>Neither framing nor message integrity checking solve the access<br>control=
 issue. Andy&#39;s recent messages suggest that some people are<br>making b=
ad assumptions that it does somehow. It does not. For that you<br>
need an application level solution. That is a different problem than<br>on-=
the-wire transport framing and message integrity checking.<br><br>&gt; &gt;=
<br>&gt; &gt; As a result, I propose we do NOT try to solve the EOM issue i=
n the<br>
<br>&gt; &gt; netconf-over-tls document, but let that document go to RFC in=
stead<br>&gt; &gt; of holding it hostage to a much wider problem we seem to=
 have.<br><br>The problem only exists in the Netconf over SSH and Netconf o=
ver TLS<br>
documents. It is not a netconf-wide problem. It is transport-specific.<br><=
br><br>I recommend fixing the transport framing problem in netconf/tls now,=
<br>before it goes to Proposed Standard. I know of NO implementations of<br=
>
netconf over TLS. Fixing it in that document now resolves it for that<br>tr=
ansport, and impacts nobody. If we fix it now, we will keep the EOM<br>prob=
lem contained to only 1 of the 4 standards-track transports.<br><br>So the =
only &quot;problem&quot; transport is netconf over SSH, because that has<br=
>
the EOM problem, and that has been implemented. I think the byte-count<br>f=
ix should be easy to implement, although it is not backwards<br>compatible.=
 I am not sure whether adding a byetcount+sp between<br>netconf messages wo=
uld break existing netconf/SSH implementations.<br>
<br>&gt;<br>&gt; I agree with that as long as we spell out the issues to ma=
ke sure<br>&gt; implementors understand that they MUST make sure the EOM is=
 not part<br>&gt; of a message they generate.<br><br>As long as the &#39;]]=
&gt;]]&gt;&#39; is used for framing, there is potential for<br>
abuse that might enable security violations. If we continue to use it<br>fo=
r netconf/TLS, then the Security Considerations should spell out the<br>iss=
ues.<br><br>dbh<br><br>&gt;<br>&gt; /js<br>&gt;<br>&gt; --<br>&gt; Juergen =
Schoenwaelder &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Jacobs University Bremen g=
GmbH<br>
&gt; Phone: +49 421 200 3587 &nbsp; &nbsp; &nbsp; &nbsp; Campus Ring 1, 287=
59 Bremen, Germany<br>&gt; Fax: &nbsp; +49 421 200 3103 &nbsp; &nbsp; &nbsp=
; &nbsp; &lt;<a href=3D"http://www.jacobs-university.de/" target=3D"_blank"=
>http://www.jacobs-university.de/</a>&gt;<br>
&gt;<br><br>_______________________________________________<br>Netconf mail=
ing list<br><a href=3D"mailto:Netconf@ietf.org" target=3D"_blank">Netconf@i=
etf.org</a><br><a href=3D"https://www.ietf.org/mailman/listinfo/netconf" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/netconf</a><br>
</blockquote></div>

--000e0cd244922cdadd046335e6a3--

From andy@netconfcentral.com  Wed Feb 18 11:02:40 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E456828C148 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 11:02:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.015
X-Spam-Level: 
X-Spam-Status: No, score=-2.015 tagged_above=-999 required=5 tests=[AWL=-0.350, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_92=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OHKH29AT8wRf for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 11:02:39 -0800 (PST)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id B0F1F28C139 for <netconf@ietf.org>; Wed, 18 Feb 2009 11:02:39 -0800 (PST)
Received: (qmail 95753 invoked from network); 18 Feb 2009 19:02:52 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@68.120.70.173 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 18 Feb 2009 19:02:51 -0000
X-YMail-OSG: dPyYcDsVM1ndhM4taw86UyUPXMxxifsFvhBaYkxbWDZN9neO95uCi_UgUzpiNjASI1mZE9F3qRLVV2T.4HX_A8S2tg_KY6lenZ_YFSoevhD430QF50HUhOQSs.uV2Q2dfTcyHjdcizaT_mg8MqlwISzPypbwBythhimYp3OYtPO4S2bjJKgkD_4_
X-Yahoo-Newman-Property: ymail-3
Message-ID: <499C5B5A.1000903@netconfcentral.com>
Date: Wed, 18 Feb 2009 11:02:50 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: David B Harrington <dbharrington@comcast.net>
References: <499B3FEF.9090003@netconfcentral.com>	<041a01c99164$e85ac630$0600a8c0@china.huawei.com>	<499B66A4.6070302@netconfcentral.com>	<21E3768982914AE0BFB4360F6033BE85@BertLaptop>	<20090218101923.GC8933@elstar.iuhb02.iu-bremen.de> <048a01c991ef$91dc6080$0600a8c0@china.huawei.com>
In-Reply-To: <048a01c991ef$91dc6080$0600a8c0@china.huawei.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 'Netconf' <netconf@ietf.org>
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 19:02:41 -0000

David B Harrington wrote:
> Hi, 
> 

Since I started the backroom thread, I'll throw in my 2 (OK, 6) pennies.

  1) the transport message framing does not have to be the
     same.  This seems obvious, but there have been
     some comments about the TLS framing must match the SSH framing.
     Why?  The message framing is never seen by the 'NETCONF layer'.

  2) Until there is a standard access control model for NETCONF,
     there will be no solution for injected content that the
     original application is not 'expected' to send.

  3) Relying on the 'fact' that a particular application
     only sends <get> or <foo>, but never <reboot>, is no
     security at all in the age of openSource code.

  4) Transport layer message integrity does not help at all if
     the application is full of holes.

  5) It is really useful to have the EOM marker in SSH
     because the agent code is much faster and simpler.
     The EOM marker helps implement simple database integrity,
     by preventing database instrumentation from blocking
     part way through an <edit-config>, waiting for the
     rest of the PDU.

  6) The SSH EOM framing mechanism should only be changed
     if a real solution is found.  An incompatible protocol
     change for a solution that is only 'less broken' than
     the current solution is not good enough.


Andy

> This discussion went to the "backroom" for various reasons. I have
> chosen to bring this back to the netconf mailing list, since one of
> the chairs questioned why it was backroom, and there are a few people
> who I think should see the discussion, such as our Security Technical
> Advisor.
> 
> ">>" is from Bert, and ">" is from Juergen.
>  
>>> - the EOM issue is NOT specific to netconf over TLS
>> Not sure what your intention behind this statement is. Here is a
>> statement I can easily agree with: The issue is specific to NETCONF
>> over TLS and NETCONF over SSH and any other future transports that
>> uses the EOM marker.
> 
> I checked the 4 netconf RFCs. Only the SSH document seems to use this
> delimiter. Bert, do you think this is not specific to transports?
> 
> Transports that use other framing mechanisms to delimit messages do
> not have a problem when the EOM marker occurs within the XML. Using
> the EOM for transport framing means the transport "model" needs to be
> concerned whether the XML contains the EOM anywhere other than end of
> message. A transport should not need to worry about what is in the
> message; the netconf message should simply be an opaque PDU that gets
> sent via the transport. By using the EOM for transport message
> framing, we introduce potential problems to the transport.
> 
> That issue can be solved quite simply by adding a framing mechanism to
> any transport that currently uses the EOM marker, and not using it in
> future transports. Syslog/tls had a similar problem, and we had the
> transport model add a bytecount in the TLS payload. A syslog/tls
> sender adds a bytecount; the syslog/tls receiver removes the
> bytecount; syslog never sees the bytecount; the other transports never
> see the bytecount. The transport never needs to know what the PDU
> contains.
> 
> If you do not use a different message framing solution, then the
> Security Considerations should discuss the potential impact of legal
> XML PDUs carrying a transport framing marker in its content. Can this
> cause messages to be discarded, since the EOM will cause messages to
> be seen as non-well-formed? Can deliberately inserting an EOM marker
> be used to create a DoS attack?
> 
>>> - the message integrety problem is NOT only a EOM issue
>> Correct. But the EOM marker adds to it significantly and this is why
> I
>> believe it needs to be discussed in the security considerations.
>>
>>> - we (netconf WG) may need (or want) to investigate the complete
>>>   message intregrity (and maybe that requires us to do something
>>>   about access control as well)  and see what sort of 
>> solution we can
>>>   find for that problem
> 
> This thread has somehow conflated the unreliable EOM marker with
> message integrity checking and access control. 
> 
> Transport framing does not solve the message integrity issue. For that
> you need a security protocol that provides message integrity. I think
> SSH and TLS and BEEP and SOAP mitigate your message integrity threats
> already (assuming operators do not turn the integrity checking off). 
> 
> Neither framing nor message integrity checking solve the access
> control issue. Andy's recent messages suggest that some people are
> making bad assumptions that it does somehow. It does not. For that you
> need an application level solution. That is a different problem than
> on-the-wire transport framing and message integrity checking.
> 
>>> As a result, I propose we do NOT try to solve the EOM issue in the
> 
>>> netconf-over-tls document, but let that document go to RFC instead
>>> of holding it hostage to a much wider problem we seem to have.
> 
> The problem only exists in the Netconf over SSH and Netconf over TLS
> documents. It is not a netconf-wide problem. It is transport-specific.
> 
> 
> I recommend fixing the transport framing problem in netconf/tls now,
> before it goes to Proposed Standard. I know of NO implementations of
> netconf over TLS. Fixing it in that document now resolves it for that
> transport, and impacts nobody. If we fix it now, we will keep the EOM
> problem contained to only 1 of the 4 standards-track transports.
> 
> So the only "problem" transport is netconf over SSH, because that has
> the EOM problem, and that has been implemented. I think the byte-count
> fix should be easy to implement, although it is not backwards
> compatible. I am not sure whether adding a byetcount+sp between
> netconf messages would break existing netconf/SSH implementations.
> 
>> I agree with that as long as we spell out the issues to make sure
>> implementors understand that they MUST make sure the EOM is not part
>> of a message they generate.
> 
> As long as the ']]>]]>' is used for framing, there is potential for
> abuse that might enable security violations. If we continue to use it
> for netconf/TLS, then the Security Considerations should spell out the
> issues.
> 
> dbh
> 
>> /js
>>
>> -- 
>> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
>> Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
>> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
>>
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> 
> 



From mbj@tail-f.com  Wed Feb 18 12:33:17 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C644028C20A for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 12:33:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.597
X-Spam-Level: 
X-Spam-Status: No, score=-1.597 tagged_above=-999 required=5 tests=[AWL=-0.151, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_92=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fvyLVM+7XSCr for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 12:33:17 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id A6E2C28C208 for <netconf@ietf.org>; Wed, 18 Feb 2009 12:33:16 -0800 (PST)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 7F12C616006; Wed, 18 Feb 2009 21:33:27 +0100 (CET)
Date: Wed, 18 Feb 2009 21:33:24 +0100 (CET)
Message-Id: <20090218.213324.113556824.mbj@tail-f.com>
To: dbharrington@comcast.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <048a01c991ef$91dc6080$0600a8c0@china.huawei.com>
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop> <20090218101923.GC8933@elstar.iuhb02.iu-bremen.de> <048a01c991ef$91dc6080$0600a8c0@china.huawei.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 20:33:17 -0000

Hi,

"David B Harrington" <dbharrington@comcast.net> wrote:
> So the only "problem" transport is netconf over SSH, because that has
> the EOM problem, and that has been implemented. I think the byte-count
> fix should be easy to implement, although it is not backwards
> compatible. I am not sure whether adding a byetcount+sp between
> netconf messages would break existing netconf/SSH implementations.

Adding a simple bytecount forces implementations to buffer.  So you
need something like chunked encoding.  And yes, adding this to the SSH
transport will break existing NETCONF/SSH implementations.

With the current SSH transport, you can ssh to the box and paste XML
files and receive XML; this will no longer be possible.  You will need
a NETCONF-specific transport application even for this simple task.

I agree with Andy's last point:

>  6) The SSH EOM framing mechanism should only be changed
>     if a real solution is found.  An incompatible protocol
>     change for a solution that is only 'less broken' than
>     the current solution is not good enough.


/martin

From jbalestr@cisco.com  Wed Feb 18 14:20:31 2009
Return-Path: <jbalestr@cisco.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A24713A676A for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 14:20:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.999
X-Spam-Level: 
X-Spam-Status: No, score=-5.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_92=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4lz0sZKYKpun for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 14:20:30 -0800 (PST)
Received: from ind-iport-1.cisco.com (ind-iport-1.cisco.com [64.104.129.195]) by core3.amsl.com (Postfix) with ESMTP id 117A63A6774 for <netconf@ietf.org>; Wed, 18 Feb 2009 14:20:29 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.38,230,1233532800"; d="scan'208";a="43584997"
Received: from hkg-dkim-2.cisco.com ([10.75.231.163]) by ind-iport-1.cisco.com with ESMTP; 18 Feb 2009 22:20:38 +0000
Received: from hkg-core-1.cisco.com (hkg-core-1.cisco.com [64.104.123.94]) by hkg-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n1IMKbG0021601;  Thu, 19 Feb 2009 06:20:37 +0800
Received: from xbh-hkg-411.apac.cisco.com (xbh-hkg-411.cisco.com [64.104.123.72]) by hkg-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id n1IMKbuN015110; Wed, 18 Feb 2009 22:20:37 GMT
Received: from xmb-hkg-411.apac.cisco.com ([64.104.123.77]) by xbh-hkg-411.apac.cisco.com with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 19 Feb 2009 06:20:37 +0800
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 19 Feb 2009 06:20:34 +0800
Message-ID: <EB8B17D2EB82D7438B42703BA3E033F30581CA38@xmb-hkg-411.apac.cisco.com>
In-Reply-To: <20090218.213324.113556824.mbj@tail-f.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] NETCONF message integrity
Thread-Index: AcmSCC9KbbMMIgbgQ3+JnS/SyKJLagADfcwg
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop><20090218101923.GC8933@elstar.iuhb02.iu-bremen.de><048a01c991ef$91dc6080$0600a8c0@china.huawei.com> <20090218.213324.113556824.mbj@tail-f.com>
From: "James Balestriere (jbalestr)" <jbalestr@cisco.com>
To: "Martin Bjorklund" <mbj@tail-f.com>, <dbharrington@comcast.net>
X-OriginalArrivalTime: 18 Feb 2009 22:20:37.0227 (UTC) FILETIME=[1FCE0BB0:01C99217]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=2033; t=1234995637; x=1235859637; c=relaxed/simple; s=hkgdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=jbalestr@cisco.com; z=From:=20=22James=20Balestriere=20(jbalestr)=22=20<jbalestr @cisco.com> |Subject:=20RE=3A=20[Netconf]=20NETCONF=20message=20integri ty |Sender:=20; bh=YwauWLSUj/+f43EubGmNqk81NwMRGUSLELWqh15j2ow=; b=LxuawrOqecvUqPBGuO9UoLbtRuBMRHkqhwo9gvoKse3yMghAOVVhOsE6jO d3eK0RIYcO3/j+FOkF9xGAZT9nnAKZW8SL+Er+hYReEF3aGTUCu86fRGt6hp t9nh5sjjgje6IYKBfzPcmDIcMUDc4dq4Ct9z+C190HsGkZMJgy9tA=;
Authentication-Results: hkg-dkim-2; header.From=jbalestr@cisco.com; dkim=pass ( sig from cisco.com/hkgdkim2001 verified; ); 
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 22:20:31 -0000

Sorry for being obtuse, but, how does the bytecount protect us ?
Some of the previous examples showing how to break the >]]>]]> apply
equally with a byte count.

[count]blahblahblahblah %s blahblahblah

can't I just insert for %s
blahblahblah[newcount]myblahmyblahmyblah

so I can still insert extra messages in the datastream if I wanted to.

James.


> -----Original Message-----
> From: netconf-bounces@ietf.org=20
> [mailto:netconf-bounces@ietf.org] On Behalf Of Martin Bjorklund
> Sent: Thursday, February 19, 2009 7:33 AM
> To: dbharrington@comcast.net
> Cc: netconf@ietf.org
> Subject: Re: [Netconf] NETCONF message integrity
>=20
> Hi,
>=20
> "David B Harrington" <dbharrington@comcast.net> wrote:
> > So the only "problem" transport is netconf over SSH,=20
> because that has=20
> > the EOM problem, and that has been implemented. I think the=20
> byte-count=20
> > fix should be easy to implement, although it is not backwards=20
> > compatible. I am not sure whether adding a byetcount+sp between=20
> > netconf messages would break existing netconf/SSH implementations.
>=20
> Adding a simple bytecount forces implementations to buffer. =20
> So you need something like chunked encoding.  And yes, adding=20
> this to the SSH transport will break existing NETCONF/SSH=20
> implementations.
>=20
> With the current SSH transport, you can ssh to the box and=20
> paste XML files and receive XML; this will no longer be=20
> possible.  You will need a NETCONF-specific transport=20
> application even for this simple task.
>=20
> I agree with Andy's last point:
>=20
> >  6) The SSH EOM framing mechanism should only be changed
> >     if a real solution is found.  An incompatible protocol
> >     change for a solution that is only 'less broken' than
> >     the current solution is not good enough.
>=20
>=20
> /martin
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>=20

From mbadra@gmail.com  Wed Feb 18 14:31:29 2009
Return-Path: <mbadra@gmail.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 33E633A687A for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 14:31:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.451
X-Spam-Level: 
X-Spam-Status: No, score=-1.451 tagged_above=-999 required=5 tests=[AWL=-0.075, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_92=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4rQ2rrOkjABd for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 14:31:28 -0800 (PST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by core3.amsl.com (Postfix) with ESMTP id C56073A67F0 for <netconf@ietf.org>; Wed, 18 Feb 2009 14:31:27 -0800 (PST)
Received: by fg-out-1718.google.com with SMTP id l26so770451fgb.41 for <netconf@ietf.org>; Wed, 18 Feb 2009 14:31:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=Ec5epYjvBIwQF2Uyv41EsvxI1O29kApVT9w6G4500f8=; b=Gr9/19EhMtC0QtdBiUjm2cUCORfwE31gDyJDoXzABjzV4hAsLMnJBrdnCPRP+i+INY 94RD+LNw4evQnJt13SEmcs/kw1Q8ZFrSM4qX7aWeBaZDXZgigDRq6F7OcyfkusV8BBnC PAf8IaJ7iAI07FeQNuG2uc9LkruP1Lqnbg0eM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=eGvOPkD4+HcdkirQuKj7jjvl7Y4uCIMvBrIWEJLY1Ao6XUecUmn4gB3wM93nxFto54 kHQx6TtGaQ0L+wQ1HrO8F4iEDOdfLw8+m9KFumVG9pwVkeb93O6Bp6FN/M1EqgJyPijL 5LQAmEoDWyVPHtk11LJ/77Mwy/mVZqVQc7GRg=
MIME-Version: 1.0
Sender: mbadra@gmail.com
Received: by 10.86.82.16 with SMTP id f16mr3066232fgb.26.1234996298543; Wed,  18 Feb 2009 14:31:38 -0800 (PST)
In-Reply-To: <EB8B17D2EB82D7438B42703BA3E033F30581CA38@xmb-hkg-411.apac.cisco.com>
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop> <20090218101923.GC8933@elstar.iuhb02.iu-bremen.de> <048a01c991ef$91dc6080$0600a8c0@china.huawei.com> <20090218.213324.113556824.mbj@tail-f.com> <EB8B17D2EB82D7438B42703BA3E033F30581CA38@xmb-hkg-411.apac.cisco.com>
Date: Wed, 18 Feb 2009 23:31:38 +0100
X-Google-Sender-Auth: b659eda92121cb28
Message-ID: <c24c21d80902181431y160817efw6bb8c41faac37efd@mail.gmail.com>
From: Badra <badra@isima.fr>
To: "James Balestriere (jbalestr)" <jbalestr@cisco.com>
Content-Type: multipart/alternative; boundary=000e0cd2454eac74f1046338fbbf
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 22:31:29 -0000

--000e0cd2454eac74f1046338fbbf
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

This is not related to the transport protocols, all transport protocols. And
it out out of scope of the transport layer. And the bytecounter doesn't
protect us, it only help to delimit the messages.

Best regards
Badr
On Wed, Feb 18, 2009 at 11:20 PM, James Balestriere (jbalestr) <
jbalestr@cisco.com> wrote:

> Sorry for being obtuse, but, how does the bytecount protect us ?
> Some of the previous examples showing how to break the >]]>]]> apply
> equally with a byte count.
>
> [count]blahblahblahblah %s blahblahblah
>
> can't I just insert for %s
> blahblahblah[newcount]myblahmyblahmyblah
>
> so I can still insert extra messages in the datastream if I wanted to.
>
> James.
>
>
> > -----Original Message-----
> > From: netconf-bounces@ietf.org
> > [mailto:netconf-bounces@ietf.org] On Behalf Of Martin Bjorklund
> > Sent: Thursday, February 19, 2009 7:33 AM
> > To: dbharrington@comcast.net
> > Cc: netconf@ietf.org
> > Subject: Re: [Netconf] NETCONF message integrity
> >
> > Hi,
> >
> > "David B Harrington" <dbharrington@comcast.net> wrote:
> > > So the only "problem" transport is netconf over SSH,
> > because that has
> > > the EOM problem, and that has been implemented. I think the
> > byte-count
> > > fix should be easy to implement, although it is not backwards
> > > compatible. I am not sure whether adding a byetcount+sp between
> > > netconf messages would break existing netconf/SSH implementations.
> >
> > Adding a simple bytecount forces implementations to buffer.
> > So you need something like chunked encoding.  And yes, adding
> > this to the SSH transport will break existing NETCONF/SSH
> > implementations.
> >
> > With the current SSH transport, you can ssh to the box and
> > paste XML files and receive XML; this will no longer be
> > possible.  You will need a NETCONF-specific transport
> > application even for this simple task.
> >
> > I agree with Andy's last point:
> >
> > >  6) The SSH EOM framing mechanism should only be changed
> > >     if a real solution is found.  An incompatible protocol
> > >     change for a solution that is only 'less broken' than
> > >     the current solution is not good enough.
> >
> >
> > /martin
> > _______________________________________________
> > Netconf mailing list
> > Netconf@ietf.org
> > https://www.ietf.org/mailman/listinfo/netconf
> >
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>



-- 
Badra

--000e0cd2454eac74f1046338fbbf
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>This is not related to the transport protocols, all transport protocol=
s. And it out out of scope of the transport layer. And the bytecounter does=
n&#39;t protect us, it only help to delimit the messages.</div>
<div>&nbsp;</div>
<div>Best regards<br>Badr<br></div>
<div class=3D"gmail_quote">On Wed, Feb 18, 2009 at 11:20 PM, James Balestri=
ere (jbalestr) <span dir=3D"ltr">&lt;<a href=3D"mailto:jbalestr@cisco.com">=
jbalestr@cisco.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0=
px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sorry for being obtuse, but, how=
 does the bytecount protect us ?<br>Some of the previous examples showing h=
ow to break the &gt;]]&gt;]]&gt; apply<br>
equally with a byte count.<br><br>[count]blahblahblahblah %s blahblahblah<b=
r><br>can&#39;t I just insert for %s<br>blahblahblah[newcount]myblahmyblahm=
yblah<br><br>so I can still insert extra messages in the datastream if I wa=
nted to.<br>
<font color=3D"#888888"><br>James.<br></font>
<div>
<div></div>
<div class=3D"Wj3C7c"><br><br>&gt; -----Original Message-----<br>&gt; From:=
 <a href=3D"mailto:netconf-bounces@ietf.org">netconf-bounces@ietf.org</a><b=
r>&gt; [mailto:<a href=3D"mailto:netconf-bounces@ietf.org">netconf-bounces@=
ietf.org</a>] On Behalf Of Martin Bjorklund<br>
&gt; Sent: Thursday, February 19, 2009 7:33 AM<br>&gt; To: <a href=3D"mailt=
o:dbharrington@comcast.net">dbharrington@comcast.net</a><br>&gt; Cc: <a hre=
f=3D"mailto:netconf@ietf.org">netconf@ietf.org</a><br>&gt; Subject: Re: [Ne=
tconf] NETCONF message integrity<br>
&gt;<br>&gt; Hi,<br>&gt;<br>&gt; &quot;David B Harrington&quot; &lt;<a href=
=3D"mailto:dbharrington@comcast.net">dbharrington@comcast.net</a>&gt; wrote=
:<br>&gt; &gt; So the only &quot;problem&quot; transport is netconf over SS=
H,<br>
&gt; because that has<br>&gt; &gt; the EOM problem, and that has been imple=
mented. I think the<br>&gt; byte-count<br>&gt; &gt; fix should be easy to i=
mplement, although it is not backwards<br>&gt; &gt; compatible. I am not su=
re whether adding a byetcount+sp between<br>
&gt; &gt; netconf messages would break existing netconf/SSH implementations=
.<br>&gt;<br>&gt; Adding a simple bytecount forces implementations to buffe=
r.<br>&gt; So you need something like chunked encoding. &nbsp;And yes, addi=
ng<br>
&gt; this to the SSH transport will break existing NETCONF/SSH<br>&gt; impl=
ementations.<br>&gt;<br>&gt; With the current SSH transport, you can ssh to=
 the box and<br>&gt; paste XML files and receive XML; this will no longer b=
e<br>
&gt; possible. &nbsp;You will need a NETCONF-specific transport<br>&gt; app=
lication even for this simple task.<br>&gt;<br>&gt; I agree with Andy&#39;s=
 last point:<br>&gt;<br>&gt; &gt; &nbsp;6) The SSH EOM framing mechanism sh=
ould only be changed<br>
&gt; &gt; &nbsp; &nbsp; if a real solution is found. &nbsp;An incompatible =
protocol<br>&gt; &gt; &nbsp; &nbsp; change for a solution that is only &#39=
;less broken&#39; than<br>&gt; &gt; &nbsp; &nbsp; the current solution is n=
ot good enough.<br>&gt;<br>&gt;<br>
&gt; /martin<br>&gt; _______________________________________________<br>&gt=
; Netconf mailing list<br>&gt; <a href=3D"mailto:Netconf@ietf.org">Netconf@=
ietf.org</a><br>&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/netco=
nf" target=3D"_blank">https://www.ietf.org/mailman/listinfo/netconf</a><br>
&gt;<br>_______________________________________________<br>Netconf mailing =
list<br><a href=3D"mailto:Netconf@ietf.org">Netconf@ietf.org</a><br><a href=
=3D"https://www.ietf.org/mailman/listinfo/netconf" target=3D"_blank">https:=
//www.ietf.org/mailman/listinfo/netconf</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Badra<br>

--000e0cd2454eac74f1046338fbbf--

From per@tail-f.com  Wed Feb 18 14:44:45 2009
Return-Path: <per@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 586923A68E4 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 14:44:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.446
X-Spam-Level: 
X-Spam-Status: No, score=-1.446 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_92=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8k1f3ZsXXk1P for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 14:44:44 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 4869C3A685B for <netconf@ietf.org>; Wed, 18 Feb 2009 14:44:44 -0800 (PST)
Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mail.tail-f.com (Postfix) with ESMTPSA id BE51D616006; Wed, 18 Feb 2009 23:44:55 +0100 (CET)
Message-ID: <499C8F62.3020100@tail-f.com>
Date: Wed, 18 Feb 2009 23:44:50 +0100
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20080213)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop>	<20090218101923.GC8933@elstar.iuhb02.iu-bremen.de>	<048a01c991ef$91dc6080$0600a8c0@china.huawei.com> <20090218.213324.113556824.mbj@tail-f.com>
In-Reply-To: <20090218.213324.113556824.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 22:44:45 -0000

On 2009-02-18 21:33, Martin Bjorklund wrote:
> Hi,
> 
> "David B Harrington" <dbharrington@comcast.net> wrote:
>> So the only "problem" transport is netconf over SSH, because that has
>> the EOM problem, and that has been implemented. I think the byte-count
>> fix should be easy to implement, although it is not backwards
>> compatible. I am not sure whether adding a byetcount+sp between
>> netconf messages would break existing netconf/SSH implementations.
> 
> Adding a simple bytecount forces implementations to buffer.  So you
> need something like chunked encoding.  And yes, adding this to the SSH
> transport will break existing NETCONF/SSH implementations.
> 
> With the current SSH transport, you can ssh to the box and paste XML
> files and receive XML; this will no longer be possible.  You will need
> a NETCONF-specific transport application even for this simple task.

All true (of course). But... - I think David's message was useful in
making it very clear that this is all a transport issue. As far as I
know, there are basically only two ways for a "content-agnostic"
transport to implement framing - either a length at the front of the
frame or an EOM at the end. Chunking as mentioned by Martin is basically
an enhancement of "length at the front".

When using EOM, you *might* be able to choose one that can never appear
in the content - it was thought that this had been achieved for
NETCONF/SSH, but it turned out to be wrong. In the general case however,
this type of framing works by doing (reversible) escaping of the EOM
whenever it happens to appear in the content, e.g. dot-stuffing for
SMTP.

Isn't the solution simply to apply this standard technique here? I.e.
the SSH transport for NETCONF (which is the entity adding the EOM on
transmission and removing it on reception) must modify the EOM when it
appears in content about to be transmitted, and reverse that
modification in content that is received. It doesn't need to do any XML
parsing for this, far less know in which XML constructs the EOM can
appear.

To be concrete it could look like this (trying to follow the SMTP model
in the hope of not getting this wrong...):

1. Transmission of PDU:

a) Any occurrence of the sequence "]]>]]" is rewritten to "]]>]]]".

b) The sequence "]]>]]>" is appended to the PDU.

2. Reception of PDU:

a) The sequence "]]>]]>" indicates the end of the PDU.

b) Any occurrence of the sequence "]]>]]]" is rewritten to "]]>]]".

This is certainly not backwards-compatible either, but it's only
non-backwards-compatible in cases where the PDU actually includes the
sequence "]]>]]". And, just as you can telnet to a SMTP server and paste
in a message without concern for dot-stuffing as long as the message
doesn't have any lines with leading dots, you can ssh to a NETCONF
server and paste and receive XML (and EOMs) as long as that sequence
doesn't appear in the XML.

--Per Hedeland

From j.schoenwaelder@jacobs-university.de  Wed Feb 18 15:06:12 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E9DA528C0EB for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 15:06:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.138
X-Spam-Level: 
X-Spam-Status: No, score=-2.138 tagged_above=-999 required=5 tests=[AWL=0.111,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R8R0qe7MuT0J for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 15:06:12 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id E8BAE28C0EA for <netconf@ietf.org>; Wed, 18 Feb 2009 15:06:11 -0800 (PST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 06914C0158; Thu, 19 Feb 2009 00:06:24 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id JWQFT+Ym7nUi; Thu, 19 Feb 2009 00:06:18 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 2F3BAC0155; Thu, 19 Feb 2009 00:06:18 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id F166B9A6574; Thu, 19 Feb 2009 00:06:16 +0100 (CET)
Date: Thu, 19 Feb 2009 00:06:16 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Per Hedeland <per@tail-f.com>
Message-ID: <20090218230616.GB11155@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: Per Hedeland <per@tail-f.com>, Martin Bjorklund <mbj@tail-f.com>, netconf@ietf.org
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop> <20090218101923.GC8933@elstar.iuhb02.iu-bremen.de> <048a01c991ef$91dc6080$0600a8c0@china.huawei.com> <20090218.213324.113556824.mbj@tail-f.com> <499C8F62.3020100@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <499C8F62.3020100@tail-f.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 23:06:13 -0000

On Wed, Feb 18, 2009 at 11:44:50PM +0100, Per Hedeland wrote:
 
> Isn't the solution simply to apply this standard technique here? I.e.
> the SSH transport for NETCONF (which is the entity adding the EOM on
> transmission and removing it on reception) must modify the EOM when it
> appears in content about to be transmitted, and reverse that
> modification in content that is received. It doesn't need to do any XML
> parsing for this, far less know in which XML constructs the EOM can
> appear.

I think our problem is not that we are looking for a way to ship the
EOM marker. All we want to / have to make clear is that implementors
understand that they are responsible for checking that they really do
not ship EOMs other than where they should appear. [And I thought we
were pretty close to having concrete text for this.]

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

From per@tail-f.com  Wed Feb 18 15:37:17 2009
Return-Path: <per@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 76A533A69D3 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 15:37:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.746
X-Spam-Level: 
X-Spam-Status: No, score=-1.746 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LS8M0rAOf43i for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 15:37:13 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 56B9E3A698A for <netconf@ietf.org>; Wed, 18 Feb 2009 15:37:13 -0800 (PST)
Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mail.tail-f.com (Postfix) with ESMTPSA id 703BF616006; Thu, 19 Feb 2009 00:37:25 +0100 (CET)
Message-ID: <499C9BB4.5090806@tail-f.com>
Date: Thu, 19 Feb 2009 00:37:24 +0100
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20080213)
MIME-Version: 1.0
To: Per Hedeland <per@tail-f.com>, Martin Bjorklund <mbj@tail-f.com>,  netconf@ietf.org
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop> <20090218101923.GC8933@elstar.iuhb02.iu-bremen.de> <048a01c991ef$91dc6080$0600a8c0@china.huawei.com> <20090218.213324.113556824.mbj@tail-f.com> <499C8F62.3020100@tail-f.com> <20090218230616.GB11155@elstar.iuhb02.iu-bremen.de>
In-Reply-To: <20090218230616.GB11155@elstar.iuhb02.iu-bremen.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 18 Feb 2009 23:37:17 -0000

On 2009-02-19 00:06, Juergen Schoenwaelder wrote:
> On Wed, Feb 18, 2009 at 11:44:50PM +0100, Per Hedeland wrote:
>  
>> Isn't the solution simply to apply this standard technique here? I.e.
>> the SSH transport for NETCONF (which is the entity adding the EOM on
>> transmission and removing it on reception) must modify the EOM when it
>> appears in content about to be transmitted, and reverse that
>> modification in content that is received. It doesn't need to do any XML
>> parsing for this, far less know in which XML constructs the EOM can
>> appear.
> 
> I think our problem is not that we are looking for a way to ship the
> EOM marker. All we want to / have to make clear is that implementors
> understand that they are responsible for checking that they really do
> not ship EOMs other than where they should appear. [And I thought we
> were pretty close to having concrete text for this.]

OK... - so this would be a requirement/restriction on the NETCONF
protocol, but only when using some specific transports, and spelled out
in the respective transport specifications? And there will absolutely
never be a "valid" reason to have the EOM included verbatim in a PDU?

--Per Hedeland

From andy@netconfcentral.com  Wed Feb 18 17:18:06 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5E0903A68FF for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 17:18:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.665
X-Spam-Level: 
X-Spam-Status: No, score=-1.665 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_92=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fUHKKenNwLOH for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 17:18:04 -0800 (PST)
Received: from smtp123.sbc.mail.sp1.yahoo.com (smtp123.sbc.mail.sp1.yahoo.com [69.147.64.96]) by core3.amsl.com (Postfix) with SMTP id 8331C3A67D4 for <netconf@ietf.org>; Wed, 18 Feb 2009 17:18:04 -0800 (PST)
Received: (qmail 45853 invoked from network); 19 Feb 2009 01:18:16 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.127.164.249 with plain) by smtp123.sbc.mail.sp1.yahoo.com with SMTP; 19 Feb 2009 01:18:16 -0000
X-YMail-OSG: vHag75gVM1kq_UKmkxQt9MgnsqMy6i4zLHuH4qfJlfA1wg0TFKOUShk8D2kyjh4o_pZ6Sbl9YLmNdGShXmLBvXFGj7_eUH0Iu7nTHBamzklj69Ti26NfNGW.k0cbTuKGC02B4JYso4RFyLTgOprWL5KZgWNCgKMf3e.Lvekn87o0hvRd4NQ7L4U_
X-Yahoo-Newman-Property: ymail-3
Message-ID: <499CB356.6070408@netconfcentral.com>
Date: Wed, 18 Feb 2009 17:18:14 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Per Hedeland <per@tail-f.com>
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop>	<20090218101923.GC8933@elstar.iuhb02.iu-bremen.de>	<048a01c991ef$91dc6080$0600a8c0@china.huawei.com>	<20090218.213324.113556824.mbj@tail-f.com> <499C8F62.3020100@tail-f.com>
In-Reply-To: <499C8F62.3020100@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 01:18:06 -0000

Per Hedeland wrote:
> On 2009-02-18 21:33, Martin Bjorklund wrote:
>> Hi,
>>
>> "David B Harrington" <dbharrington@comcast.net> wrote:
>>> So the only "problem" transport is netconf over SSH, because that has
>>> the EOM problem, and that has been implemented. I think the byte-count
>>> fix should be easy to implement, although it is not backwards
>>> compatible. I am not sure whether adding a byetcount+sp between
>>> netconf messages would break existing netconf/SSH implementations.
>> Adding a simple bytecount forces implementations to buffer.  So you
>> need something like chunked encoding.  And yes, adding this to the SSH
>> transport will break existing NETCONF/SSH implementations.
>>
>> With the current SSH transport, you can ssh to the box and paste XML
>> files and receive XML; this will no longer be possible.  You will need
>> a NETCONF-specific transport application even for this simple task.
> 
> All true (of course). But... - I think David's message was useful in
> making it very clear that this is all a transport issue. As far as I
> know, there are basically only two ways for a "content-agnostic"
> transport to implement framing - either a length at the front of the
> frame or an EOM at the end. Chunking as mentioned by Martin is basically
> an enhancement of "length at the front".
> 
> When using EOM, you *might* be able to choose one that can never appear
> in the content - it was thought that this had been achieved for
> NETCONF/SSH, but it turned out to be wrong. In the general case however,
> this type of framing works by doing (reversible) escaping of the EOM
> whenever it happens to appear in the content, e.g. dot-stuffing for
> SMTP.
> 


Don't we already have this for NETCONF?
Doesn't any decent NETCONF application look for '>' in XML content
(i.e., string nodes) and replace it with &gt; already?

If so, then it would be impossible to inject the EOM marker into
content.  The opposite peer does not need to do anything new,
since of course, the agent always looks to undo certain
character entities.  (Indeed, libxml2 replaces character entities
before delivering the packet to the parser.)

It seems to me that nothing new is required here,
since a manager needs to protect against '>' in the
content anyway.

An attacker hijacking an existing application would not be
able to inject new messages.  If they write a 'break-in' program
from scratch, then of course the '>' char is still a problem,
but in that case, gaining session authentication is 'game over'
anyways, so it doesn't matter.



Andy

> Isn't the solution simply to apply this standard technique here? I.e.
> the SSH transport for NETCONF (which is the entity adding the EOM on
> transmission and removing it on reception) must modify the EOM when it
> appears in content about to be transmitted, and reverse that
> modification in content that is received. It doesn't need to do any XML
> parsing for this, far less know in which XML constructs the EOM can
> appear.
> 
> To be concrete it could look like this (trying to follow the SMTP model
> in the hope of not getting this wrong...):
> 
> 1. Transmission of PDU:
> 
> a) Any occurrence of the sequence "]]>]]" is rewritten to "]]>]]]".
> 
> b) The sequence "]]>]]>" is appended to the PDU.
> 
> 2. Reception of PDU:
> 
> a) The sequence "]]>]]>" indicates the end of the PDU.
> 
> b) Any occurrence of the sequence "]]>]]]" is rewritten to "]]>]]".
> 
> This is certainly not backwards-compatible either, but it's only
> non-backwards-compatible in cases where the PDU actually includes the
> sequence "]]>]]". And, just as you can telnet to a SMTP server and paste
> in a message without concern for dot-stuffing as long as the message
> doesn't have any lines with leading dots, you can ssh to a NETCONF
> server and paste and receive XML (and EOMs) as long as that sequence
> doesn't appear in the XML.
> 
> --Per Hedeland
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> 
> 



From phil@juniper.net  Wed Feb 18 21:41:42 2009
Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4E7013A6951 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 21:41:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pEwvAO+eIRUD for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 21:41:41 -0800 (PST)
Received: from exprod7og103.obsmtp.com (exprod7og103.obsmtp.com [64.18.2.159]) by core3.amsl.com (Postfix) with ESMTP id 785343A696D for <netconf@ietf.org>; Wed, 18 Feb 2009 21:41:41 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob103.postini.com ([64.18.6.12]) with SMTP ID DSNKSZzxICUyJ8GU6E+1HbVY1H1lukAi/8/J@postini.com; Wed, 18 Feb 2009 21:41:54 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Wed, 18 Feb 2009 21:39:13 -0800
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Feb 2009 21:39:13 -0800
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Feb 2009 21:39:13 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Wed, 18 Feb 2009 21:39:12 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1J5dBM68086; Wed, 18 Feb 2009 21:39:11 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1J5Wg6V041554; Thu, 19 Feb 2009 05:32:42 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902190532.n1J5Wg6V041554@idle.juniper.net>
To: Per Hedeland <per@tail-f.com>
In-Reply-To: <499C9BB4.5090806@tail-f.com> 
Date: Thu, 19 Feb 2009 00:32:42 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 19 Feb 2009 05:39:12.0606 (UTC) FILETIME=[64FE37E0:01C99254]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 05:41:42 -0000

Per Hedeland writes:
>OK... - so this would be a requirement/restriction on the NETCONF
>protocol, but only when using some specific transports, and spelled out
>in the respective transport specifications? And there will absolutely
>never be a "valid" reason to have the EOM included verbatim in a PDU?

It's not a restriction on NETCONF, but a requirement on the SSH and
TLS transports to escape this EOM when used in real content (as
"]]&lt;]]&lt;").

Thanks,
 Phil

From per@tail-f.com  Wed Feb 18 22:43:43 2009
Return-Path: <per@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0CFF53A6A13 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 22:43:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[AWL=0.150,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3DYDw4cmRD7r for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 22:43:42 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 3F61D3A6984 for <netconf@ietf.org>; Wed, 18 Feb 2009 22:43:42 -0800 (PST)
Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mail.tail-f.com (Postfix) with ESMTPSA id E22C476C310; Thu, 19 Feb 2009 07:43:53 +0100 (CET)
Message-ID: <499CFFA4.9090004@tail-f.com>
Date: Thu, 19 Feb 2009 07:43:48 +0100
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20080213)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>
In-Reply-To: <200902190532.n1J5Wg6V041554@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 06:43:43 -0000

On 2009-02-19 06:32, Phil Shafer wrote:
> Per Hedeland writes:
>> OK... - so this would be a requirement/restriction on the NETCONF
>> protocol, but only when using some specific transports, and spelled out
>> in the respective transport specifications? And there will absolutely
>> never be a "valid" reason to have the EOM included verbatim in a PDU?
> 
> It's not a restriction on NETCONF, but a requirement on the SSH and
> TLS transports to escape this EOM when used in real content (as
> "]]&lt;]]&lt;").

Having the transport escape the EOM was the suggestion that I made (the
details of how the escaping is implemented wasn't the significiant
part), but Juergen claimed that this was not the solution sought,
instead users of the transport should be required to make sure that the
EOM was never present in real content. This is what prompted my
questions above, which of course are completely pointless if the
transport can deal with the EOM being present (whether by escaping or
some other means that the transport user doesn't need to care about) -
i.e. there wouldn't be such a requirement at all.

Btw, I wouldn't describe escaping as a "requirement on the transport" -
it is the transport that introduces the EOM for the purpose of framing,
the requirement is simply the "be transparent" that any transport should
fulfill. If the transport can rely on its chosen EOM never being present
in content, it doesn't need escaping or any other means to deal with it
- this is the assumption that turned out to be wrong in the SSH case
(and TLS if it chooses the same EOM).

--Per Hedeland

From j.schoenwaelder@jacobs-university.de  Wed Feb 18 23:28:26 2009
Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E8A263A6A36 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 23:28:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.144
X-Spam-Level: 
X-Spam-Status: No, score=-2.144 tagged_above=-999 required=5 tests=[AWL=0.105,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pXrn-HUo9ida for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 23:28:26 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 8DF693A6A35 for <netconf@ietf.org>; Wed, 18 Feb 2009 23:28:25 -0800 (PST)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9BE7DC0161; Thu, 19 Feb 2009 08:28:37 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id kRv7mF9sfAPz; Thu, 19 Feb 2009 08:28:31 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 9AA4EC015F; Thu, 19 Feb 2009 08:28:31 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id 62BC39A69EB; Thu, 19 Feb 2009 08:28:30 +0100 (CET)
Date: Thu, 19 Feb 2009 08:28:30 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Per Hedeland <per@tail-f.com>
Message-ID: <20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: Per Hedeland <per@tail-f.com>, Phil Shafer <phil@juniper.net>, netconf@ietf.org
References: <200902190532.n1J5Wg6V041554@idle.juniper.net> <499CFFA4.9090004@tail-f.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <499CFFA4.9090004@tail-f.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 07:28:27 -0000

On Thu, Feb 19, 2009 at 07:43:48AM +0100, Per Hedeland wrote:
 
> If the transport can rely on its chosen EOM never being present in
> content, it doesn't need escaping or any other means to deal with it
> - this is the assumption that turned out to be wrong in the SSH case
> (and TLS if it chooses the same EOM).

The assumption is wrong only if we assume NETCONF payload is arbitrary
XML. We have these options:

a) Define a new framing mechanism for the TLS and SSH transports so
   that arbitrary XML content works. This might require a version
   number change of NETCONF itself (since we do not have version
   numbers for the transports).

b) Restrict NETCONF content to XML that does not contain the EOM
   marker over the SSH/TLS transports. Does not require any changes to
   the protocol except clarification that EOMs are not allowed in
   NETCONF messages.

Note that b) does not preclude to do a) in the future. The third
option is:

c) Do b) for the SSH transport and a) for the TLS transport since the
   TLS transport is not yet deployed.

But then c) requires that we have a new framing proposal people can
agree with. Not sure we are there and what it takes to get there. So
for making progress, I think b) is a reasonable trade-off. When there
is work on NETCONF 2.0, the SSH/TLS framing issue can be reconsidered.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>

From per@tail-f.com  Wed Feb 18 23:30:19 2009
Return-Path: <per@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8B8B33A6A71 for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 23:30:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.946
X-Spam-Level: 
X-Spam-Status: No, score=-1.946 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lRLOe5AXD9MV for <netconf@core3.amsl.com>; Wed, 18 Feb 2009 23:30:18 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id ED7E73A6884 for <netconf@ietf.org>; Wed, 18 Feb 2009 23:30:14 -0800 (PST)
Received: from pluto.hedeland.org (1-1-1-13a.mal.sth.bostream.se [82.182.84.27]) by mail.tail-f.com (Postfix) with ESMTPSA id A3EE076C310; Thu, 19 Feb 2009 08:30:27 +0100 (CET)
Message-ID: <499D0A93.1000503@tail-f.com>
Date: Thu, 19 Feb 2009 08:30:27 +0100
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20080213)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>
References: <21E3768982914AE0BFB4360F6033BE85@BertLaptop>	<20090218101923.GC8933@elstar.iuhb02.iu-bremen.de>	<048a01c991ef$91dc6080$0600a8c0@china.huawei.com>	<20090218.213324.113556824.mbj@tail-f.com> <499C8F62.3020100@tail-f.com> <499CB356.6070408@netconfcentral.com>
In-Reply-To: <499CB356.6070408@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 07:30:19 -0000

On 2009-02-19 02:18, Andy Bierman wrote:
> Per Hedeland wrote:
>>
>> When using EOM, you *might* be able to choose one that can never appear
>> in the content - it was thought that this had been achieved for
>> NETCONF/SSH, but it turned out to be wrong. In the general case however,
>> this type of framing works by doing (reversible) escaping of the EOM
>> whenever it happens to appear in the content, e.g. dot-stuffing for
>> SMTP.

> Don't we already have this for NETCONF?
> Doesn't any decent NETCONF application look for '>' in XML content
> (i.e., string nodes) and replace it with &gt; already?

Could be, and that would be useful info for choosing a solution to the
problem, but the standards specification obviously can't rely on what
decent applications do. It has apparently been established that the SSH
EOM can legally appear, unescaped, in valid XML content. I.e. what you
suggest is a requirement/restriction on the NETCONF protocol, when using
certain transports, to escape the EOM that has been chosen for these
transports?

> If so, then it would be impossible to inject the EOM marker into
> content.

Personally I find the speculation about what an attacker could or could
not do based on the existence of the problematic EOM to be mainly
distracting from the real problem, i.e. that the SSH (and apparently
TLS) transport isn't transparent.

--Per Hedeland

From root@core3.amsl.com  Thu Feb 19 03:15:01 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: netconf@ietf.org
Delivered-To: netconf@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id BF9783A691C; Thu, 19 Feb 2009 03:15:01 -0800 (PST)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090219111501.BF9783A691C@core3.amsl.com>
Date: Thu, 19 Feb 2009 03:15:01 -0800 (PST)
Cc: netconf@ietf.org
Subject: [Netconf] I-D Action:draft-ietf-netconf-partial-lock-07.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 11:15:01 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Configuration Working Group of the IETF.


	Title           : Partial Lock RPC for NETCONF
	Author(s)       : B. Lengyel, M. Bjorklund
	Filename        : draft-ietf-netconf-partial-lock-07.txt
	Pages           : 30
	Date            : 2009-02-19

The NETCONF protocol defines the lock and unlock RPCs, used to lock
entire configuration datastores.  In some situations, a way to lock
only parts of a configuration datastore is required.  This document
defines a capability-based extension to the NETCONF protocol for
locking portions of a configuration datastore.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial-lock-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-netconf-partial-lock-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-02-19030605.I-D@ietf.org>


--NextPart--

From bertietf@bwijnen.net  Thu Feb 19 03:35:02 2009
Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 845E03A6AC7 for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 03:35:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.151
X-Spam-Level: 
X-Spam-Status: No, score=0.151 tagged_above=-999 required=5 tests=[AWL=0.593,  BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y9sQf6nStN-u for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 03:35:01 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id 5C0A03A67E4 for <netconf@ietf.org>; Thu, 19 Feb 2009 03:34:59 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1La7BP-0007cE-3y for netconf@ietf.org; Thu, 19 Feb 2009 12:35:11 +0100
Message-ID: <89BF6B387A214993BD0B77295750E7AE@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: <netconf@ietf.org>
References: <20090219111501.BF9783A691C@core3.amsl.com>
In-Reply-To: <20090219111501.BF9783A691C@core3.amsl.com>
Date: Thu, 19 Feb 2009 12:35:05 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0331_01C9928E.7E342E10"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Subject: [Netconf] PLS CHECK ASAP: draft-ietf-netconf-partial-lock-07.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 11:35:02 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0331_01C9928E.7E342E10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

NETCONF WG participants.

We assume that we now have a document that has WG consensus.
Please check the latest revision real quick if you are happy with it.

We plan to submit this to our AD for further processing early next week.

Bert and Mehmet
----- Original Message -----=20
  From: Internet-Drafts@ietf.org=20
  To: i-d-announce@ietf.org=20
  Cc: netconf@ietf.org=20
  Sent: Thursday, February 19, 2009 12:15 PM
  Subject: [Netconf] I-D Action:draft-ietf-netconf-partial-lock-07.txt


  A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
  This draft is a work item of the Network Configuration Working Group =
of the IETF.


  Title           : Partial Lock RPC for NETCONF
  Author(s)       : B. Lengyel, M. Bjorklund
  Filename        : draft-ietf-netconf-partial-lock-07.txt
  Pages           : 30
  Date            : 2009-02-19

  The NETCONF protocol defines the lock and unlock RPCs, used to lock
  entire configuration datastores.  In some situations, a way to lock
  only parts of a configuration datastore is required.  This document
  defines a capability-based extension to the NETCONF protocol for
  locking portions of a configuration datastore.

  A URL for this Internet-Draft is:
  =
http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial-lock-07.tx=
t

  Internet-Drafts are also available by anonymous FTP at:
  ftp://ftp.ietf.org/internet-drafts/

  Below is the data which will enable a MIME compliant mail reader
  implementation to automatically retrieve the ASCII version of the
  Internet-Draft.



-------------------------------------------------------------------------=
-----


  _______________________________________________
  Netconf mailing list
  Netconf@ietf.org
  https://www.ietf.org/mailman/listinfo/netconf

------=_NextPart_000_0331_01C9928E.7E342E10
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18203" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>NETCONF WG participants.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>We assume that we now have a document that has WG=20
consensus.</FONT></DIV>
<DIV><FONT size=3D2>Please check the latest revision real quick if you =
are happy=20
with it.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>We plan to submit this to our AD for further =
processing early=20
next week.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert and Mehmet</FONT></DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DInternet-Drafts@ietf.org=20
  href=3D"mailto:Internet-Drafts@ietf.org">Internet-Drafts@ietf.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Di-d-announce@ietf.org=20
  href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A title=3Dnetconf@ietf.org =

  href=3D"mailto:netconf@ietf.org">netconf@ietf.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, February 19, =
2009 12:15=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Netconf] I-D=20
  Action:draft-ietf-netconf-partial-lock-07.txt</DIV>
  <DIV><BR></DIV>A New Internet-Draft is available from the on-line=20
  Internet-Drafts directories.<BR>This draft is a work item of the =
Network=20
  Configuration Working Group of the=20
  =
IETF.<BR><BR><BR>Title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  : Partial Lock RPC for=20
  NETCONF<BR>Author(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : B. Lengyel, =
M.=20
  Bjorklund<BR>Filename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=20
  =
draft-ietf-netconf-partial-lock-07.txt<BR>Pages&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  : =
30<BR>Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
  : 2009-02-19<BR><BR>The NETCONF protocol defines the lock and unlock =
RPCs,=20
  used to lock<BR>entire configuration datastores.&nbsp; In some =
situations, a=20
  way to lock<BR>only parts of a configuration datastore is =
required.&nbsp; This=20
  document<BR>defines a capability-based extension to the NETCONF =
protocol=20
  for<BR>locking portions of a configuration datastore.<BR><BR>A URL for =
this=20
  Internet-Draft is:<BR><A=20
  =
href=3D"http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial-lo=
ck-07.txt">http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial=
-lock-07.txt</A><BR><BR>Internet-Drafts=20
  are also available by anonymous FTP at:<BR><A=20
  =
href=3D"ftp://ftp.ietf.org/internet-drafts/">ftp://ftp.ietf.org/internet-=
drafts/</A><BR><BR>Below=20
  is the data which will enable a MIME compliant mail =
reader<BR>implementation=20
  to automatically retrieve the ASCII version of =
the<BR>Internet-Draft.<BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Netconf =
mailing=20
  list<BR><A href=3D"mailto:Netconf@ietf.org">Netconf@ietf.org</A><BR><A =

  =
href=3D"https://www.ietf.org/mailman/listinfo/netconf">https://www.ietf.o=
rg/mailman/listinfo/netconf</A><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0331_01C9928E.7E342E10--


From cfinss@dial.pipex.com  Thu Feb 19 10:36:45 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 179173A6AFF for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 10:36:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.022
X-Spam-Level: 
X-Spam-Status: No, score=-1.022 tagged_above=-999 required=5 tests=[AWL=-0.066, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=1.643]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id COtiMRZasvnK for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 10:36:44 -0800 (PST)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id AA8CF3A68AA for <netconf@ietf.org>; Thu, 19 Feb 2009 10:36:43 -0800 (PST)
X-Trace: 77734438/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.17.148/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.17.148
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArEEABM2nUk+vBGU/2dsb2JhbACDQC+KI7VlCY91AQaCVoExBg
X-IronPort-AV: E=Sophos;i="4.38,236,1233532800"; d="scan'208";a="77734438"
X-IP-Direction: IN
Received: from 1cust148.tnt1.lnd3.gbr.da.uu.net (HELO allison) ([62.188.17.148]) by smtp.pipex.tiscali.co.uk with SMTP; 19 Feb 2009 18:36:52 +0000
Message-ID: <000201c992b8$7bd58b80$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: <j.schoenwaelder@jacobs-university.de>, "Per Hedeland" <per@tail-f.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net><499CFFA4.9090004@tail-f.com> <20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>
Date: Thu, 19 Feb 2009 18:27:32 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 18:36:45 -0000

----- Original Message -----
From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
To: "Per Hedeland" <per@tail-f.com>
Cc: <netconf@ietf.org>
Sent: Thursday, February 19, 2009 8:28 AM
Subject: Re: [Netconf] NETCONF message integrity


> On Thu, Feb 19, 2009 at 07:43:48AM +0100, Per Hedeland wrote:
>
> > If the transport can rely on its chosen EOM never being present in
> > content, it doesn't need escaping or any other means to deal with it
> > - this is the assumption that turned out to be wrong in the SSH case
> > (and TLS if it chooses the same EOM).
>
> The assumption is wrong only if we assume NETCONF payload is arbitrary
> XML. We have these options:
>
> a) Define a new framing mechanism for the TLS and SSH transports so
>    that arbitrary XML content works. This might require a version
>    number change of NETCONF itself (since we do not have version
>    numbers for the transports).
>
> b) Restrict NETCONF content to XML that does not contain the EOM
>    marker over the SSH/TLS transports. Does not require any changes to
>    the protocol except clarification that EOMs are not allowed in
>    NETCONF messages.
>
> Note that b) does not preclude to do a) in the future. The third
> option is:
>
> c) Do b) for the SSH transport and a) for the TLS transport since the
>    TLS transport is not yet deployed.

Much as I think that appeals to frameworks, architectures and the like are
overdone, I think that they have value here.  Option b) is saying make it -
security, integrity, whatever - the responsibility of the application, let the
secure transport get it wrong.  Options a) and c) say make the secure transport
provide security, allow the application a transparent secure transport to do
with as it will: for me, that is the only approach to consider.  It could be
called a Character Transfer Syntax - HDLC bit stuffing anyone? - and many of
those are available, I am easy as to which to use.

As for a) versus c), it has to be c) for the moment, and when the dust settles,
when IETF Last Call uncovers no problems, go back and reconsider Netconf over
SSH.

Tom Petch

>
> But then c) requires that we have a new framing proposal people can
> agree with. Not sure we are there and what it takes to get there. So
> for making progress, I think b) is a reasonable trade-off. When there
> is work on NETCONF 2.0, the SSH/TLS framing issue can be reconsidered.
>
> /js
>
> --
> Juergen Schoenwaelder           Jacobs University Bremen gGmbH
> Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
> Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf


From mbadra@gmail.com  Thu Feb 19 10:45:44 2009
Return-Path: <mbadra@gmail.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D8CA23A691D for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 10:45:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.736
X-Spam-Level: 
X-Spam-Status: No, score=-1.736 tagged_above=-999 required=5 tests=[AWL=0.240,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K173oK1xvkmO for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 10:45:43 -0800 (PST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by core3.amsl.com (Postfix) with ESMTP id 6DE933A6801 for <netconf@ietf.org>; Thu, 19 Feb 2009 10:45:43 -0800 (PST)
Received: by fg-out-1718.google.com with SMTP id l26so1015335fgb.41 for <netconf@ietf.org>; Thu, 19 Feb 2009 10:45:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=lduv+XIpTheF+n/Zcj6edQQOo9yI9ON14FqNR5OQWjU=; b=rkfCCO8WZOMkScNKMpUgMNLVMWp+d84+OIlndNFBpuZLl+koDiAaCCEokU3OhEPs7r H4blyTgaROg0fbJmmdK0VOS5XiV8G/dxksST7Hn0eby/tjcJtD1KIst4hCdiEZ9jROWJ eAcgt/U984fgJbyfYKYtFjyOuF9EqB9xticiI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=dpxQ63u4FMbZBGpe6mtoi1ulEPL7vOHsWvWaRpWrQbKIM8CDgsrcwdOgLGr5nBWBgU 1ib77WlQELl+SBR8m4yHmUzLmGNSaK2QCj6ng0Trw1401YxHcpwNiVFgKhbtpXoKKM7P +slqbURNkbxynmwFODHm56RIjuKGDBa5+dKWU=
MIME-Version: 1.0
Sender: mbadra@gmail.com
Received: by 10.86.4.2 with SMTP id 2mr517814fgd.49.1235069155955; Thu, 19 Feb  2009 10:45:55 -0800 (PST)
In-Reply-To: <20090218.125148.208604864.mbj@tail-f.com>
References: <c24c21d80902171422l4991e318i7799635f83f4c872@mail.gmail.com> <20090218080456.GC8037@elstar.iuhb02.iu-bremen.de> <c24c21d80902180027y20e520b3tef888763454b43f0@mail.gmail.com> <20090218.125148.208604864.mbj@tail-f.com>
Date: Thu, 19 Feb 2009 19:45:55 +0100
X-Google-Sender-Auth: 386de322ae014f0d
Message-ID: <c24c21d80902191045i31b26441o3af98a91e76575d3@mail.gmail.com>
From: Badra <badra@isima.fr>
To: Martin Bjorklund <mbj@tail-f.com>
Content-Type: multipart/alternative; boundary=000e0cd2474a50559a046349f290
Cc: netconf@ietf.org
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 18:45:44 -0000

--000e0cd2474a50559a046349f290
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Dear all,

I considered all concerns until now and prepared following text blocks for
the delimiter handling in section 2.1 and the security considerations
section.

We are going to use these text blocks now for the update of the document for
the next step.

Please send me your comments if you have any strong objections.
Best regards,
Badra


1) Section 2.1

   "This document uses the same delimiter sequence ("]]>]]>") defined in
   [RFC4742], which MUST be sent by both the client and the server after
   each XML document in the NETCONF exchange.  Since this character
   sequence can legally appear in plain XML in attribute values, comments,
   and Processing Instructions, implementations of this document MUST
   ensure that this character sequence is never part of a NETCONF message."

2) Security Considerations

   "The security considerations described throughout [RFC5246] and
   [RFC4741] apply here as well.

   This document in its current version doesn't support third party
   authentication due to the fact that TLS doesn't specify this way of
   authentication and that NETCONF depends on the transport protocol for
   the authentication service.  If third party authentication is needed,
   BEEP or SSH transport can be used.

   An attacker might be able to inject arbitrary NETCONF messages via some
   application that does not carefully check exchanged messages or
   deliberately insert the delimiter sequence in a Netconf message to
   create a DoS attack.  Hence, applications and NETCONF APIs must ensure
   that the delimiter sequence defined in section 2.1 never appears in
   NETCONF messages;  otherwise, those messages can be dropped, garbled or
   mis-interpreted. If it is found in an incoming NETCONF message by the
   sender side, a robust implementation of this document should warn the
   user that illegal characters have been discovered.  If the delimiter
   sequence is found in a Netconf message by the receiver side (including
   any XML attributes, XML comments or Processing Instructions) a robust
   implementation of this document must silently discard the message
   without further processing and then stop the NETCONF session.

   Finally, this document does not introduce any new security
   considerations compared to [RFC4742]."

--000e0cd2474a50559a046349f290
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Dear all,</div>
<div>&nbsp;</div>
<div>I considered all concerns until now and prepared following text blocks=
 for the delimiter handling in section 2.1 and the security considerations =
section.</div>
<div>&nbsp;</div>
<div>We are going to use these text blocks now for the update of the docume=
nt for the next step.</div>
<div>&nbsp;</div>
<div>Please send me your comments if you have any strong objections.<br></d=
iv>
<div>Best regards,</div>
<div>Badra</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>1) Section 2.1<br><br>&nbsp;&nbsp; &quot;This document uses the same d=
elimiter sequence (&quot;]]&gt;]]&gt;&quot;) defined in<br>&nbsp;&nbsp; [RF=
C4742], which MUST be sent by both the client and the server after<br>&nbsp=
;&nbsp; each XML document in the NETCONF exchange.&nbsp; Since this charact=
er<br>
&nbsp;&nbsp; sequence can legally appear in plain XML in attribute values, =
comments,<br>&nbsp;&nbsp; and Processing Instructions, implementations of t=
his document MUST<br>&nbsp;&nbsp; ensure that this character sequence is ne=
ver part of a NETCONF message.&quot;<br>
<br>2) Security Considerations<br><br>&nbsp;&nbsp; &quot;The security consi=
derations described throughout [RFC5246] and<br>&nbsp;&nbsp; [RFC4741] appl=
y here as well.<br><br>&nbsp;&nbsp; This document in its current version do=
esn&#39;t support third party<br>
&nbsp;&nbsp; authentication due to the fact that TLS doesn&#39;t specify th=
is way of<br>&nbsp;&nbsp; authentication and that NETCONF depends on the tr=
ansport protocol for<br>&nbsp;&nbsp; the authentication service.&nbsp; If t=
hird party authentication is needed,<br>
&nbsp;&nbsp; BEEP or SSH transport can be used.<br><br>&nbsp;&nbsp; An atta=
cker might be able to inject arbitrary NETCONF messages via some<br>&nbsp;&=
nbsp; application that does not carefully check exchanged messages or<br>&n=
bsp;&nbsp; deliberately insert the delimiter sequence in a Netconf message =
to<br>
&nbsp;&nbsp; create a DoS attack.&nbsp; Hence, applications and NETCONF API=
s must ensure<br>&nbsp;&nbsp; that the delimiter sequence defined in sectio=
n 2.1 never appears in<br>&nbsp;&nbsp; NETCONF messages;&nbsp; otherwise, t=
hose messages can be dropped, garbled or<br>
&nbsp;&nbsp; mis-interpreted. If it is found in an incoming NETCONF message=
 by the<br>&nbsp;&nbsp; sender side, a robust implementation of this docume=
nt should warn the<br>&nbsp;&nbsp; user that illegal characters have been d=
iscovered.&nbsp; If the delimiter<br>
&nbsp;&nbsp; sequence is found in a Netconf message by the receiver side (i=
ncluding<br>&nbsp;&nbsp; any XML attributes, XML comments or Processing Ins=
tructions) a robust<br>&nbsp;&nbsp; implementation of this document must si=
lently discard the message<br>
&nbsp;&nbsp; without further processing and then stop the NETCONF session.<=
br><br>&nbsp;&nbsp; Finally, this document does not introduce any new secur=
ity<br>&nbsp;&nbsp; considerations compared to [RFC4742].&quot;</div>

--000e0cd2474a50559a046349f290--

From mehmet.ersue@nsn.com  Thu Feb 19 11:10:58 2009
Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 781473A6A47 for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 11:10:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.678
X-Spam-Level: 
X-Spam-Status: No, score=-3.678 tagged_above=-999 required=5 tests=[AWL=-1.080, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JSh7B524OJpN for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 11:10:57 -0800 (PST)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [217.115.75.234]) by core3.amsl.com (Postfix) with ESMTP id 441A93A6A31 for <netconf@ietf.org>; Thu, 19 Feb 2009 11:10:56 -0800 (PST)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n1JJB5x8030466 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 19 Feb 2009 20:11:05 +0100
Received: from demuexc025.nsn-intra.net (demuexc025.nsn-intra.net [10.159.32.12]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n1JJB4oR000847; Thu, 19 Feb 2009 20:11:04 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc025.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 19 Feb 2009 20:11:04 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C992C5.BE7997BE"
Date: Thu, 19 Feb 2009 20:10:35 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F70163458E@DEMUEXC005.nsn-intra.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
Thread-Index: AcmSxb4nqwKrRRA7RzqUjMHQVRP3Tg==
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "Netconf" <netconf@ietf.org>
X-OriginalArrivalTime: 19 Feb 2009 19:11:04.0201 (UTC) FILETIME=[CF5DBF90:01C992C5]
Subject: Re: [Netconf] Consensus verification WAS:RE: AD reviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 19 Feb 2009 19:10:58 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C992C5.BE7997BE
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable


Dear WG members,

we the WG chairs think that:=20
=20
- the EOM issue is NOT specific to Netconf over TLS
- a security thread based on the EOM issue can only be solved=20
  sufficiently if it's done in conjunction with access control
- Netconf WG may want to investigate a complete solution for
  message intregrity (and access control) after re-chartering and=20
  see how we can address the problem
- we don't think we need to elaborate on issues of any missing=20
  access control in the base protocol. That is in our view NOT part=20
  of Netconf over TLS but rather a pure NETCONF protocol issue.
=20
As a result, we propose NOT to try to solve any EOM issues=20
beyond the introduced delimiter sequence and corresponding=20
security considerations in the NETCONF over TLS document.

We further recommend to let this document go to RFC and get=20
published, so that people can start to implement against a stable=20
specification.

The text proposals of Badra in the parallel mail now hopefully=20
address the issue Dan indicated and other concerns stated until=20
now.

Since the IETF LC ends today please check again the two text=20
blocks provided by Badra for approval and speak up if you have=20
any objections by 5pm ET Feb 20.

We will bring then an updated version of the draft to the next=20
step.

Thank you all for going through the (sometimes painful) steps=20
of RFC development.
=20
Bert & Mehmet


------_=_NextPart_001_01C992C5.BE7997BE
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7654.2">
<TITLE>RE: [Netconf] Consensus verification WAS:RE: AD =
reviewfordraft-ietf-netconf-tls-06.txt</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">Dear WG =
members,</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">we the WG chairs =
think that: </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 =
FACE=3D"Verdana">&nbsp;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">- the EOM issue is =
NOT specific to Netconf over TLS</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">- a security =
thread based on the EOM issue can only be solved </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">&nbsp; =
sufficiently if it's done in conjunction with access =
control</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">- Netconf WG may =
want to investigate a complete solution for</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">&nbsp; message =
intregrity (and access control) after re-chartering and </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">&nbsp; see how we =
can address the problem</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">- we don't think =
we need to elaborate on issues of any missing </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">&nbsp; access =
control in the base protocol. That is in our view NOT part =
</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">&nbsp; of Netconf =
over TLS but rather a pure NETCONF protocol issue.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 =
FACE=3D"Verdana">&nbsp;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">As a result, we =
propose NOT to try to solve any EOM issues </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">beyond the =
introduced delimiter sequence and corresponding </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">security =
considerations in the NETCONF over TLS document.</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">We further =
recommend to let this document go to RFC and get </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">published, so that =
people can start to implement against a stable </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 =
FACE=3D"Verdana">specification.</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">The text proposals =
of Badra in the parallel mail now hopefully </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">address the issue =
Dan indicated and other concerns stated until </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">now.</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">Since the IETF LC =
ends today please check again the two text </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">blocks provided by =
Badra for approval and speak up if you have </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">any objections by =
5pm ET Feb 20.</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">We will bring then =
an updated version of the draft to the next </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 =
FACE=3D"Verdana">step.</FONT></SPAN>
</P>

<P><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">Thank you all for =
going through the (sometimes painful) steps </FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">of RFC =
development.</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 =
FACE=3D"Verdana">&nbsp;</FONT></SPAN>

<BR><SPAN LANG=3D"de"><FONT SIZE=3D2 FACE=3D"Verdana">Bert &amp; =
Mehmet</FONT></SPAN>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C992C5.BE7997BE--

From balazs.lengyel@ericsson.com  Thu Feb 19 23:48:55 2009
Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F1BD93A697B for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 23:48:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.978
X-Spam-Level: 
X-Spam-Status: No, score=-5.978 tagged_above=-999 required=5 tests=[AWL=0.271,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v0-QeOM-C1Qp for <netconf@core3.amsl.com>; Thu, 19 Feb 2009 23:48:53 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 892693A6957 for <netconf@ietf.org>; Thu, 19 Feb 2009 23:48:53 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id AA94221D58; Fri, 20 Feb 2009 08:47:28 +0100 (CET)
X-AuditID: c1b4fb3e-aa8b8bb000001315-0e-499e60100301
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 8E8492128C; Fri, 20 Feb 2009 08:47:28 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Fri, 20 Feb 2009 08:46:21 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Fri, 20 Feb 2009 08:46:20 +0100
Message-ID: <499E5FCC.6080105@ericsson.com>
Date: Fri, 20 Feb 2009 08:46:20 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: "tom.petch" <cfinss@dial.pipex.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net><499CFFA4.9090004@tail-f.com>	<20090219072830.GA11559@elstar.iuhb02.iu-bremen.de> <000201c992b8$7bd58b80$0601a8c0@allison>
In-Reply-To: <000201c992b8$7bd58b80$0601a8c0@allison>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 20 Feb 2009 07:46:20.0895 (UTC) FILETIME=[52387EF0:01C9932F]
X-Brightmail-Tracker: AAAAAA==
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Fri, 20 Feb 2009 07:48:55 -0000

I also vote for escaping the delimiter sequence. HDLC bit stuffing also came to my mind.
I agree with TOM.
Balazs

tom.petch wrote:
> ----- Original Message -----
> From: "Juergen Schoenwaelder" <j.schoenwaelder@jacobs-university.de>
> To: "Per Hedeland" <per@tail-f.com>
> Cc: <netconf@ietf.org>
> Sent: Thursday, February 19, 2009 8:28 AM
> Subject: Re: [Netconf] NETCONF message integrity
> 
> 
>> On Thu, Feb 19, 2009 at 07:43:48AM +0100, Per Hedeland wrote:
>>
>>> If the transport can rely on its chosen EOM never being present in
>>> content, it doesn't need escaping or any other means to deal with it
>>> - this is the assumption that turned out to be wrong in the SSH case
>>> (and TLS if it chooses the same EOM).
>> The assumption is wrong only if we assume NETCONF payload is arbitrary
>> XML. We have these options:
>>
>> a) Define a new framing mechanism for the TLS and SSH transports so
>>    that arbitrary XML content works. This might require a version
>>    number change of NETCONF itself (since we do not have version
>>    numbers for the transports).
>>
>> b) Restrict NETCONF content to XML that does not contain the EOM
>>    marker over the SSH/TLS transports. Does not require any changes to
>>    the protocol except clarification that EOMs are not allowed in
>>    NETCONF messages.
>>
>> Note that b) does not preclude to do a) in the future. The third
>> option is:
>>
>> c) Do b) for the SSH transport and a) for the TLS transport since the
>>    TLS transport is not yet deployed.
> 
> Much as I think that appeals to frameworks, architectures and the like are
> overdone, I think that they have value here.  Option b) is saying make it -
> security, integrity, whatever - the responsibility of the application, let the
> secure transport get it wrong.  Options a) and c) say make the secure transport
> provide security, allow the application a transparent secure transport to do
> with as it will: for me, that is the only approach to consider.  It could be
> called a Character Transfer Syntax - HDLC bit stuffing anyone? - and many of
> those are available, I am easy as to which to use.
> 
> As for a) versus c), it has to be c) for the moment, and when the dust settles,
> when IETF Last Call uncovers no problems, go back and reconsider Netconf over
> SSH.
> 

From cfinss@dial.pipex.com  Fri Feb 20 06:28:24 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E93133A6A1D for <netconf@core3.amsl.com>; Fri, 20 Feb 2009 06:28:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.011
X-Spam-Level: 
X-Spam-Status: No, score=-1.011 tagged_above=-999 required=5 tests=[AWL=-0.055, BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=1.643]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6RyBRiLz2Dba for <netconf@core3.amsl.com>; Fri, 20 Feb 2009 06:28:24 -0800 (PST)
Received: from mk-outboundfilter-2.mail.uk.tiscali.com (mk-outboundfilter-2.mail.uk.tiscali.com [212.74.114.38]) by core3.amsl.com (Postfix) with ESMTP id C41DC3A6A82 for <netconf@ietf.org>; Fri, 20 Feb 2009 06:28:23 -0800 (PST)
X-Trace: 187933486/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.17.29/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.17.29
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AtEEAINMnkk+vBEd/2dsb2JhbACDQUGKCcY2B4JLgT0G
X-IronPort-AV: E=Sophos;i="4.38,241,1233532800"; d="scan'208";a="187933486"
X-IP-Direction: IN
Received: from 1cust29.tnt1.lnd3.gbr.da.uu.net (HELO allison) ([62.188.17.29]) by smtp.pipex.tiscali.co.uk with SMTP; 20 Feb 2009 14:28:36 +0000
Message-ID: <028501c9935e$f649a440$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Badra" <badra@isima.fr>
References: <c24c21d80902171422l4991e318i7799635f83f4c872@mail.gmail.com><20090218080456.GC8037@elstar.iuhb02.iu-bremen.de><c24c21d80902180027y20e520b3tef888763454b43f0@mail.gmail.com><20090218.125148.208604864.mbj@tail-f.com> <c24c21d80902191045i31b26441o3af98a91e76575d3@mail.gmail.com>
Date: Fri, 20 Feb 2009 14:26:20 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netconf@ietf.org
Subject: Re: [Netconf] Consensus verification WAS:RE: ADreviewfordraft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Fri, 20 Feb 2009 14:28:25 -0000

---- Original Message -----
From: "Badra" <badra@isima.fr>
To: "Martin Bjorklund" <mbj@tail-f.com>
Cc: <netconf@ietf.org>
Sent: Thursday, February 19, 2009 7:45 PM
Subject: Re: [Netconf] Consensus verification WAS:RE:
ADreviewfordraft-ietf-netconf-tls-06.txt

>
> I considered all concerns until now and prepared following text blocks for
> the delimiter handling in section 2.1 and the security considerations
> section.
>
> We are going to use these text blocks now for the update of the document for
> the next step.
>
> Please send me your comments if you have any strong objections.
> Best regards,
> Badra
>
> 1) Section 2.1
>
>    "This document uses the same delimiter sequence ("]]>]]>") defined in
>    [RFC4742], which MUST be sent by both the client and the server after
>    each XML document in the NETCONF exchange.  Since this character
>    sequence can legally appear in plain XML in attribute values, comments,
>    and Processing Instructions, implementations of this document MUST
>    ensure that this character sequence is never part of a NETCONF message."
>
> 2) Security Considerations
>
>    "The security considerations described throughout [RFC5246] and
>    [RFC4741] apply here as well.
>
>    This document in its current version doesn't support third party
>    authentication due to the fact that TLS doesn't specify this way of
>    authentication and that NETCONF depends on the transport protocol for
>    the authentication service.  If third party authentication is needed,
>    BEEP or SSH transport can be used.
>
>    An attacker might be able to inject arbitrary NETCONF messages via some
>    application that does not carefully check exchanged messages or
>    deliberately insert the delimiter sequence in a Netconf message to
>    create a DoS attack.  Hence, applications and NETCONF APIs must ensure
>    that the delimiter sequence defined in section 2.1 never appears in
>    NETCONF messages;  otherwise, those messages can be dropped, garbled or
>    mis-interpreted. If it is found in an incoming NETCONF message by the
>    sender side, a robust implementation of this document should warn the
>    user that illegal characters have been discovered.  If the delimiter
>    sequence is found in a Netconf message by the receiver side (including
>    any XML attributes, XML comments or Processing Instructions) a robust
>    implementation of this document must silently discard the message
>    without further processing and then stop the NETCONF session.
>
>    Finally, this document does not introduce any new security
>    considerations compared to [RFC4742]."
>

If we accept these semantics, I see a need for some editorial tweaks:

NETCONF or Netconf? don't mind but would like consistency

/NETCONF APIs must/NETCONF APIs MUST/

/If it is found/If the delimiter sequence is found/

'incoming message by the sender side' um, I think of incoming to receivers, not
senders, suggest dropping the word 'incoming'

Tom Petch


From mehmet.ersue@nsn.com  Sun Feb 22 09:57:45 2009
Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 259223A6898 for <netconf@core3.amsl.com>; Sun, 22 Feb 2009 09:57:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.499
X-Spam-Level: 
X-Spam-Status: No, score=-3.499 tagged_above=-999 required=5 tests=[AWL=-0.900, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qnYsXtoVzsgE for <netconf@core3.amsl.com>; Sun, 22 Feb 2009 09:57:44 -0800 (PST)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [217.115.75.234]) by core3.amsl.com (Postfix) with ESMTP id 68DDE3A6869 for <netconf@ietf.org>; Sun, 22 Feb 2009 09:57:42 -0800 (PST)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n1MHvvSl022279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <netconf@ietf.org>; Sun, 22 Feb 2009 18:57:57 +0100
Received: from demuexc025.nsn-intra.net (demuexc025.nsn-intra.net [10.159.32.12]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n1MHvvnX017004 for <netconf@ietf.org>; Sun, 22 Feb 2009 18:57:57 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc025.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Sun, 22 Feb 2009 18:57:57 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 22 Feb 2009 18:57:20 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F7016345A2@DEMUEXC005.nsn-intra.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [OPS-AREA] Renumbering needs work version 02
Thread-Index: AcmToPGbIDnsOcnSTS60UHvsExVgxgAhwh8g
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "Netconf" <netconf@ietf.org>
X-OriginalArrivalTime: 22 Feb 2009 17:57:57.0155 (UTC) FILETIME=[17B8E730:01C99517]
Subject: [Netconf] FW: [OPS-AREA] Renumbering needs work version 02
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sun, 22 Feb 2009 17:57:45 -0000

=20
Hi All,

the draft below recommends to use Netconf.
What do you think on this?

Mehmet

-----Original Message-----
From: ops-area-bounces@ietf.org [mailto:ops-area-bounces@ietf.org] On
Behalf Of ext Brian E Carpenter
Sent: Friday, February 20, 2009 10:07 PM
To: ops-area@ietf.org
Cc: RJ Atkinson; Flinck, Hannu (NSN - FI/Espoo)
Subject: [OPS-AREA] Renumbering needs work version 02

A draft on this topic has been updated:
http://www.ietf.org/internet-drafts/draft-carpenter-renum-needs-work-02.
txt

Comments and discussion are invited on the OPS Area list,
ops-area@ietf.org

  Brian Carpenter
  Ran Atkinson
  Hannu Flinck

P.S. Apologies if you receive multiple copies, but that seems
preferable to cross-posting to multiple lists.

_______________________________________________
OPS-AREA mailing list
OPS-AREA@ietf.org
https://www.ietf.org/mailman/listinfo/ops-area

From lhotka@cesnet.cz  Mon Feb 23 01:40:28 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 918163A6A5A for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 01:40:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.456
X-Spam-Level: 
X-Spam-Status: No, score=0.456 tagged_above=-999 required=5 tests=[AWL=-0.894,  BAYES_50=0.001, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FqH+Gb+Ql-mS for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 01:40:28 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id D1BF83A68AF for <netconf@ietf.org>; Mon, 23 Feb 2009 01:40:27 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 6B017D800C0 for <netconf@ietf.org>; Mon, 23 Feb 2009 10:40:40 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: netconf@ietf.org
In-Reply-To: <499E5FCC.6080105@ericsson.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net> <499CFFA4.9090004@tail-f.com> <20090219072830.GA11559@elstar.iuhb02.iu-bremen.de> <000201c992b8$7bd58b80$0601a8c0@allison> <499E5FCC.6080105@ericsson.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Mon, 23 Feb 2009 10:40:40 +0100
Message-Id: <1235382040.6383.27.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 09:40:28 -0000

Balazs Lengyel píše v Pá 20. 02. 2009 v 08:46 +0100:
> I also vote for escaping the delimiter sequence. HDLC bit stuffing
> also came to my mind.

If you mean escaping the delimiter sequence via &gt; entities, it
doesn't really help. The following two valid PIs are different and
should remain so:

<?foo ]]>]]> ?>
<?foo ]]&gt;]]&gt; ?>

I think for now the delimiter sequence should be simply banned in the
PDU content.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From balazs.lengyel@ericsson.com  Mon Feb 23 02:04:37 2009
Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4A7CD3A6AA5 for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:04:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.865
X-Spam-Level: 
X-Spam-Status: No, score=-5.865 tagged_above=-999 required=5 tests=[AWL=0.384,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XbWrnfSx9vGd for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:04:36 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 2B1153A6874 for <netconf@ietf.org>; Mon, 23 Feb 2009 02:04:36 -0800 (PST)
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id CC89B2115C; Mon, 23 Feb 2009 11:04:52 +0100 (CET)
X-AuditID: c1b4fb3c-a9281bb00000127c-89-49a2736182fa
Received: from esealmw129.eemea.ericsson.se (unknown [153.88.253.125]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 07BCB21410; Mon, 23 Feb 2009 10:58:58 +0100 (CET)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 23 Feb 2009 10:58:48 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 23 Feb 2009 10:58:48 +0100
Message-ID: <49A27358.2000009@ericsson.com>
Date: Mon, 23 Feb 2009 10:58:48 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>	<499CFFA4.9090004@tail-f.com>	<20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>	<000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com> <1235382040.6383.27.camel@missotis>
In-Reply-To: <1235382040.6383.27.camel@missotis>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 23 Feb 2009 09:58:48.0356 (UTC) FILETIME=[52840E40:01C9959D]
X-Brightmail-Tracker: AAAAAA==
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 10:04:37 -0000

Hello Lada,
No what I mean is something like the HDLC bit stuffing.
Whenever you see ]]>]]> in the content, add a character to change the sequence to (e.g.) 
]]>a]]> on the transport sending end, and reverse this during reception on the receiving end.
Balazs

Ladislav Lhotka wrote:
> Balazs Lengyel píše v Pá 20. 02. 2009 v 08:46 +0100:
>> I also vote for escaping the delimiter sequence. HDLC bit stuffing
>> also came to my mind.
> 
> If you mean escaping the delimiter sequence via &gt; entities, it
> doesn't really help. The following two valid PIs are different and
> should remain so:
> 
> <?foo ]]>]]> ?>
> <?foo ]]&gt;]]&gt; ?>
> 
> I think for now the delimiter sequence should be simply banned in the
> PDU content.
> 
> Lada
> 

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
TSP System Manager
ECN: 831 7320                        Fax: +36 1 4377792
Tel: +36-1-437-7320     email: Balazs.Lengyel@ericsson.com

From lhotka@cesnet.cz  Mon Feb 23 02:13:03 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CBA383A6874 for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:13:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.744
X-Spam-Level: 
X-Spam-Status: No, score=-0.744 tagged_above=-999 required=5 tests=[AWL=0.506,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nX+KDWkMdFyc for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:13:03 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id EAA863A67C1 for <netconf@ietf.org>; Mon, 23 Feb 2009 02:13:02 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 861A0D800C8; Mon, 23 Feb 2009 11:13:20 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
In-Reply-To: <49A27358.2000009@ericsson.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net> <499CFFA4.9090004@tail-f.com> <20090219072830.GA11559@elstar.iuhb02.iu-bremen.de> <000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com> <1235382040.6383.27.camel@missotis>  <49A27358.2000009@ericsson.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Mon, 23 Feb 2009 11:13:20 +0100
Message-Id: <1235384000.6383.36.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 10:13:03 -0000

Balazs Lengyel píše v Po 23. 02. 2009 v 10:58 +0100:
> Hello Lada,
> No what I mean is something like the HDLC bit stuffing.
> Whenever you see ]]>]]> in the content, add a character to change the sequence to (e.g.) 
> ]]>a]]> on the transport sending end, and reverse this during reception on the receiving end.

Is it any different? My objection now applies to the following two PIs:

<?foo ]]>]]> ?>
<?foo ]]>a]]> ?>

Lada

> Balazs
> 
> Ladislav Lhotka wrote:
> > Balazs Lengyel píše v Pá 20. 02. 2009 v 08:46 +0100:
> >> I also vote for escaping the delimiter sequence. HDLC bit stuffing
> >> also came to my mind.
> > 
> > If you mean escaping the delimiter sequence via &gt; entities, it
> > doesn't really help. The following two valid PIs are different and
> > should remain so:
> > 
> > <?foo ]]>]]> ?>
> > <?foo ]]&gt;]]&gt; ?>
> > 
> > I think for now the delimiter sequence should be simply banned in the
> > PDU content.
> > 
> > Lada
> > 
> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From per@tail-f.com  Mon Feb 23 02:23:41 2009
Return-Path: <per@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 06B223A6A41 for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:23:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level: 
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d4rwTZqSafAK for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:23:40 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 3822C3A6874 for <netconf@ietf.org>; Mon, 23 Feb 2009 02:23:40 -0800 (PST)
Received: from mars.tail-f.com (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id AA59576C225; Mon, 23 Feb 2009 11:23:56 +0100 (CET)
Message-ID: <49A2793C.308@tail-f.com>
Date: Mon, 23 Feb 2009 11:23:56 +0100
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20080213)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>	<499CFFA4.9090004@tail-f.com>	<20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>	<000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com>	<1235382040.6383.27.camel@missotis> <49A27358.2000009@ericsson.com> <1235384000.6383.36.camel@missotis>
In-Reply-To: <1235384000.6383.36.camel@missotis>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 10:23:41 -0000

On 2009-02-23 11:13, Ladislav Lhotka wrote:
> Balazs Lengyel píae v Po 23. 02. 2009 v 10:58 +0100:
>> Hello Lada,
>> No what I mean is something like the HDLC bit stuffing.
>> Whenever you see ]]>]]> in the content, add a character to change the sequence to (e.g.)
>> ]]>a]]> on the transport sending end, and reverse this during reception on the receiving end.
>
> Is it any different? My objection now applies to the following two PIs:
>
> <?foo ]]>]]> ?>
> <?foo ]]>a]]> ?>

Yes, I don't believe the scheme suggested by Balazs can work - but I do
believe the one I suggested in
http://www.ietf.org/mail-archive/web/netconf/current/msg04231.html
("bracket stuffing") can work - please try to shoot it down.

--Per

From lhotka@cesnet.cz  Mon Feb 23 02:54:10 2009
Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E269B28C121 for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:54:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.795
X-Spam-Level: 
X-Spam-Status: No, score=-0.795 tagged_above=-999 required=5 tests=[AWL=0.455,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b06drY3zNhQw for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 02:54:10 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 1DB0C28C10B for <netconf@ietf.org>; Mon, 23 Feb 2009 02:54:10 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 43642D800C5; Mon, 23 Feb 2009 11:54:25 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Per Hedeland <per@tail-f.com>
In-Reply-To: <49A2793C.308@tail-f.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net> <499CFFA4.9090004@tail-f.com> <20090219072830.GA11559@elstar.iuhb02.iu-bremen.de> <000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com> <1235382040.6383.27.camel@missotis>  <49A27358.2000009@ericsson.com> <1235384000.6383.36.camel@missotis>  <49A2793C.308@tail-f.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Mon, 23 Feb 2009 11:54:25 +0100
Message-Id: <1235386465.6383.58.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 10:54:11 -0000

Per Hedeland píše v Po 23. 02. 2009 v 11:23 +0100:
> Yes, I don't believe the scheme suggested by Balazs can work - but I
> do
> believe the one I suggested in
> http://www.ietf.org/mail-archive/web/netconf/current/msg04231.html
> ("bracket stuffing") can work - please try to shoot it down.

Yes, sorry, I had holidays last week, so I could only read one screenful
from each message in my inbox. The bracket stuffing you suggested is
clever and should work. The only problem I can imagine is that some
other processing happens between adding the extra bracket and removing
it. For instance, xmllint would change the (valid) attribute value
"]]>]]]" to "]]&gt;]]]" and then the extra bracket won't get removed.

Lada

> 
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C


From per@tail-f.com  Mon Feb 23 03:53:40 2009
Return-Path: <per@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 842093A68AD for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 03:53:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level: 
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rreMjCnCXd4P for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 03:53:39 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id AE1353A6801 for <netconf@ietf.org>; Mon, 23 Feb 2009 03:53:39 -0800 (PST)
Received: from mars.tail-f.com (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id BA35176C225; Mon, 23 Feb 2009 12:53:55 +0100 (CET)
Message-ID: <49A28E53.5010309@tail-f.com>
Date: Mon, 23 Feb 2009 12:53:55 +0100
From: Per Hedeland <per@tail-f.com>
User-Agent: Thunderbird 2.0.0.9 (X11/20080213)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>	 <499CFFA4.9090004@tail-f.com>	 <20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>	 <000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com>	 <1235382040.6383.27.camel@missotis> <49A27358.2000009@ericsson.com>	 <1235384000.6383.36.camel@missotis> <49A2793C.308@tail-f.com> <1235386465.6383.58.camel@missotis>
In-Reply-To: <1235386465.6383.58.camel@missotis>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 11:53:40 -0000

On 2009-02-23 11:54, Ladislav Lhotka wrote:
> Per Hedeland píae v Po 23. 02. 2009 v 11:23 +0100:
>> Yes, I don't believe the scheme suggested by Balazs can work - but I
>> do
>> believe the one I suggested in
>> http://www.ietf.org/mail-archive/web/netconf/current/msg04231.html
>> ("bracket stuffing") can work - please try to shoot it down.
>
> Yes, sorry, I had holidays last week, so I could only read one screenful
> from each message in my inbox. The bracket stuffing you suggested is
> clever and should work. The only problem I can imagine is that some
> other processing happens between adding the extra bracket and removing
> it. For instance, xmllint would change the (valid) attribute value
> "]]>]]]" to "]]&gt;]]]" and then the extra bracket won't get removed.

Hm, well, it's not a very transparent transport if it applies xmllint
(or any other processing) to the PDU content... I.e. just like the EOM
addition/removal, the escaping/unescaping must be done immediately
before pushing the bits into the SSH pipe / immediately after pulling
them out - it would all be part of the transport spec.

--Per

From andy@netconfcentral.com  Mon Feb 23 10:12:58 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E447E3A684F for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 10:12:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.488
X-Spam-Level: 
X-Spam-Status: No, score=-2.488 tagged_above=-999 required=5 tests=[AWL=0.111,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id um3axyTMZv8E for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 10:12:58 -0800 (PST)
Received: from n14.bullet.mail.mud.yahoo.com (n14.bullet.mail.mud.yahoo.com [68.142.206.41]) by core3.amsl.com (Postfix) with SMTP id EE9D43A6870 for <netconf@ietf.org>; Mon, 23 Feb 2009 10:12:18 -0800 (PST)
Received: from [209.191.108.97] by n14.bullet.mail.mud.yahoo.com with NNFMP; 23 Feb 2009 18:12:36 -0000
Received: from [68.142.201.250] by t4.bullet.mud.yahoo.com with NNFMP; 23 Feb 2009 18:12:36 -0000
Received: from [127.0.0.1] by omp411.mail.mud.yahoo.com with NNFMP; 23 Feb 2009 18:12:36 -0000
X-Yahoo-Newman-Id: 141561.36200.bm@omp411.mail.mud.yahoo.com
Received: (qmail 85067 invoked from network); 23 Feb 2009 18:12:35 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.122.137.52 with plain) by smtp104.sbc.mail.sp1.yahoo.com with SMTP; 23 Feb 2009 18:12:35 -0000
X-YMail-OSG: QYKRcMQVM1lW0jPwG8X1GjKMKjXG7SgJ5AN2VdIhb1jjsdBL1NKLiIMfWd0MqvRbbg9Y_tavWc4msqbZjh85HxV0aEZ5Zr_3oeT7OCqbSVNXGy_hlYDEGFoe5.XC7B8wTihDUjVFQgQQbNLd1s2zK94ucLhcG4MR15ZzbvQ1W5K1PUSi2OyzpQJf
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A2E711.3000602@netconfcentral.com>
Date: Mon, 23 Feb 2009 10:12:33 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Per Hedeland <per@tail-f.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>		<499CFFA4.9090004@tail-f.com>		<20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>		<000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com>		<1235382040.6383.27.camel@missotis>	<49A27358.2000009@ericsson.com>		<1235384000.6383.36.camel@missotis> <49A2793C.308@tail-f.com>	<1235386465.6383.58.camel@missotis> <49A28E53.5010309@tail-f.com>
In-Reply-To: <49A28E53.5010309@tail-f.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 18:12:59 -0000

Per Hedeland wrote:
> On 2009-02-23 11:54, Ladislav Lhotka wrote:
>> Per Hedeland píae v Po 23. 02. 2009 v 11:23 +0100:
>>> Yes, I don't believe the scheme suggested by Balazs can work - but I
>>> do
>>> believe the one I suggested in
>>> http://www.ietf.org/mail-archive/web/netconf/current/msg04231.html
>>> ("bracket stuffing") can work - please try to shoot it down.
>> Yes, sorry, I had holidays last week, so I could only read one screenful
>> from each message in my inbox. The bracket stuffing you suggested is
>> clever and should work. The only problem I can imagine is that some
>> other processing happens between adding the extra bracket and removing
>> it. For instance, xmllint would change the (valid) attribute value
>> "]]>]]]" to "]]&gt;]]]" and then the extra bracket won't get removed.
> 
> Hm, well, it's not a very transparent transport if it applies xmllint
> (or any other processing) to the PDU content... I.e. just like the EOM
> addition/removal, the escaping/unescaping must be done immediately
> before pushing the bits into the SSH pipe / immediately after pulling
> them out - it would all be part of the transport spec.
>

We have not been precise about the protocol layer
when discussing this attack vector (including me).
Clearly the transport layer must be limited to stuffing
and unstuffing the EOM sequence and ignoring everything else.

At the application layer, if an attacker injects the EOM marker
into some buffer that the application treats as XML content,
then it is likely to get altered by the time it gets to
the transport layer during PDU transmission.  It may not though,
so that protection is not good enough.

Before a new EOM msg is pursued, I would like to know the
details of the protocol deployment plan?  Will all 4741/4742
implementations be obsolete and ignored going forward?
Will the 4741-bis work still stick to a 'no-changes' policy?
How will the <hello> exchange be modified? Will the manager
advertise 2 'base' versions, and just use the 1 that the agent
advertises?  Gee, I wish that would work, but the manager needs
to send the EOM marker along with the <hello>, so it won't.
So how will version 2 managers talk to version 1 agents?
Try v2. It fails, then start over with v1?



> --Per


Andy



From phil@juniper.net  Mon Feb 23 10:43:17 2009
Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 01EE53A691F for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 10:43:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9HgW+jJnFlB8 for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 10:43:16 -0800 (PST)
Received: from exprod7og115.obsmtp.com (exprod7og115.obsmtp.com [64.18.2.217]) by core3.amsl.com (Postfix) with ESMTP id 8AA5E3A6872 for <netconf@ietf.org>; Mon, 23 Feb 2009 10:42:44 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob115.postini.com ([64.18.6.12]) with SMTP ID DSNKSaLuNV6gIml3BGngrCkqIM4aJxW8tPO9@postini.com; Mon, 23 Feb 2009 10:43:34 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Mon, 23 Feb 2009 10:41:11 -0800
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Feb 2009 10:41:11 -0800
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Feb 2009 10:41:10 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Mon, 23 Feb 2009 10:41:10 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1NIf9M73297; Mon, 23 Feb 2009 10:41:09 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1NIYZoZ031833; Mon, 23 Feb 2009 18:34:35 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902231834.n1NIYZoZ031833@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <49A2E711.3000602@netconfcentral.com> 
Date: Mon, 23 Feb 2009 13:34:35 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 23 Feb 2009 18:41:10.0277 (UTC) FILETIME=[4BC1AB50:01C995E6]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 18:43:17 -0000

Andy Bierman writes:
>Before a new EOM msg is pursued, I would like to know the
>details of the protocol deployment plan?  Will all 4741/4742
>implementations be obsolete and ignored going forward?

These are reasons I'd strongly prefer to stay with the current EOM
marker.  The ssh and tls transports can be required to escape the
EOM using "&gt;", which solves the issues with attributes.  PIs are
more annoying, since they don't seem to handle character references
in the same way (see below).  For my money, I'd be happy to just
add "No PIS" to section 3 of rfc4741.  Worse case, the receiving
ssh and tls transports would be required to reverse this escaping
in order to make it transport to the netconf content being carried.

Thanks,
 Phil

-----------

% cat /tmp/foo.xml
<?xml version="1.0"?>
<?bad mumble]]>]]>mumble?>
<?badder mumble]]&gt;]]&gt;mumble?>
<?worse <?mumble?>
  <?worstest <!--yup?>

<?pig <?mum]]>]]>ble?>

<top val="]]>]]>">
  <foo val2="]]&gt;]]&gt;">
    <one>1</one>
    <two>2</two>
    <three>3</three>
    <four>4</four>
  </foo>
</top>

% xmllint /tmp/foo.xml
<?xml version="1.0"?>
<?bad mumble]]>]]>mumble?>
<?badder mumble]]&gt;]]&gt;mumble?>
<?worse <?mumble?>
<?worstest <!--yup?>
<?pig <?mum]]>]]>ble?>
<top val="]]&gt;]]&gt;">
  <foo val2="]]&gt;]]&gt;">
    <one>1</one>
    <two>2</two>
    <three>3</three>
    <four>4</four>
  </foo>
</top>

From randy_presuhn@mindspring.com  Mon Feb 23 10:45:24 2009
Return-Path: <randy_presuhn@mindspring.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B2ACE28C0DD for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 10:45:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.529
X-Spam-Level: 
X-Spam-Status: No, score=-2.529 tagged_above=-999 required=5 tests=[AWL=0.071,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aLlq9tK8XnOb for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 10:45:23 -0800 (PST)
Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by core3.amsl.com (Postfix) with ESMTP id B886028C0F6 for <netconf@ietf.org>; Mon, 23 Feb 2009 10:45:23 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=mindspring.com; b=FP27LHJE4PKruHBkIaPpZ5ihFkEfIzXw8O24tUwOJfkSsqI8ceE/V7g+2S2yEJ+L; h=Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE:X-ELNK-Trace:X-Originating-IP;
Received: from [69.3.28.69] (helo=oemcomputer) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from <randy_presuhn@mindspring.com>) id 1LbfoD-0003ij-MF for netconf@ietf.org; Mon, 23 Feb 2009 13:45:41 -0500
Message-ID: <004c01c995e6$fb92fa20$6801a8c0@oemcomputer>
From: "Randy Presuhn" <randy_presuhn@mindspring.com>
To: <netconf@ietf.org>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>		<499CFFA4.9090004@tail-f.com>		<20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>		<000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com>		<1235382040.6383.27.camel@missotis>	<49A27358.2000009@ericsson.com>		<1235384000.6383.36.camel@missotis><49A2793C.308@tail-f.com>	<1235386465.6383.58.camel@missotis><49A28E53.5010309@tail-f.com> <49A2E711.3000602@netconfcentral.com>
Date: Mon, 23 Feb 2009 10:46:04 -0800
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478
X-ELNK-Trace: 4488c18417c9426da92b9037bc8bcf44d4c20f6b8d69d8886924630f8852f173cce109ed584ce58574eb871a39c74893350badd9bab72f9c350badd9bab72f9c
X-Originating-IP: 69.3.28.69
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 18:45:24 -0000

Hi -

> From: "Andy Bierman" <andy@netconfcentral.com>
> To: "Per Hedeland" <per@tail-f.com>
> Cc: <netconf@ietf.org>
> Sent: Monday, February 23, 2009 10:12 AM
> Subject: Re: [Netconf] NETCONF message integrity
...
> We have not been precise about the protocol layer
> when discussing this attack vector (including me).
> Clearly the transport layer must be limited to stuffing
> and unstuffing the EOM sequence and ignoring everything else.
> 
> At the application layer, if an attacker injects the EOM marker
> into some buffer that the application treats as XML content,
> then it is likely to get altered by the time it gets to
> the transport layer during PDU transmission.  It may not though,
> so that protection is not good enough.
...

I think this group needs to step back a little bit and think
through just what the threat model is supposed to be here.
If you have attackers injecting text into the stream, a mis-placed
EOM marker is hardly at the top of the list of worries.
We already have protocols that can provide reasonable protection
against such insertions, and should not be trying to re-invent
them here.

The EOM marker, as I recall, was an attempt to provide a measure
of robustness when communicating with a defective implementation.
It may be worth considering whether it even meets that basic goal.

Randy



From andy@netconfcentral.com  Mon Feb 23 11:04:27 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 64E5D3A6827 for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 11:04:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.031
X-Spam-Level: 
X-Spam-Status: No, score=-2.031 tagged_above=-999 required=5 tests=[AWL=0.234,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YRmGCSO9Xd1M for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 11:04:26 -0800 (PST)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id A003B3A6784 for <netconf@ietf.org>; Mon, 23 Feb 2009 11:04:26 -0800 (PST)
Received: (qmail 71932 invoked from network); 23 Feb 2009 19:04:45 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.140.195 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 23 Feb 2009 19:04:44 -0000
X-YMail-OSG: kQpIsxsVM1naxDOc0JPOqFjI9_UNys8EsV.Uo5bny7utqRgmaogJVtH7o_15xIFWcz61AR0cRvIZXyMVNsT62oziUY3thxPHyCUfhlK8053ssqC8uvSwIRsG.afdDzIRoC.eTQ4WYpbdJfbHe2B6lFwjYzJB92OvhR.TiB4inrCUzehd_hoGOOqi
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A2F34B.8050402@netconfcentral.com>
Date: Mon, 23 Feb 2009 11:04:43 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Randy Presuhn <randy_presuhn@mindspring.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>		<499CFFA4.9090004@tail-f.com>		<20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>		<000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com>		<1235382040.6383.27.camel@missotis>	<49A27358.2000009@ericsson.com>		<1235384000.6383.36.camel@missotis><49A2793C.308@tail-f.com>	<1235386465.6383.58.camel@missotis><49A28E53.5010309@tail-f.com>	<49A2E711.3000602@netconfcentral.com> <004c01c995e6$fb92fa20$6801a8c0@oemcomputer>
In-Reply-To: <004c01c995e6$fb92fa20$6801a8c0@oemcomputer>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 19:04:27 -0000

Randy Presuhn wrote:
> Hi -
> 
>> From: "Andy Bierman" <andy@netconfcentral.com>
>> To: "Per Hedeland" <per@tail-f.com>
>> Cc: <netconf@ietf.org>
>> Sent: Monday, February 23, 2009 10:12 AM
>> Subject: Re: [Netconf] NETCONF message integrity
> ...
>> We have not been precise about the protocol layer
>> when discussing this attack vector (including me).
>> Clearly the transport layer must be limited to stuffing
>> and unstuffing the EOM sequence and ignoring everything else.
>>
>> At the application layer, if an attacker injects the EOM marker
>> into some buffer that the application treats as XML content,
>> then it is likely to get altered by the time it gets to
>> the transport layer during PDU transmission.  It may not though,
>> so that protection is not good enough.
> ...
> 
> I think this group needs to step back a little bit and think
> through just what the threat model is supposed to be here.
> If you have attackers injecting text into the stream, a mis-placed
> EOM marker is hardly at the top of the list of worries.
> We already have protocols that can provide reasonable protection
> against such insertions, and should not be trying to re-invent
> them here.
> 

+1.

I would worry much more about the injection of additional
table rows into a table (forgot who posted that great email)
than injecting new messages.  Obviously, a NETCONF-capable
ACM would catch <reboot> by an application only allowed
to send <get*>.  But inserting extra rows into a table
that the user is already allowed to write with <edit-config>
will not likely be stopped the ACM at all.


> The EOM marker, as I recall, was an attempt to provide a measure
> of robustness when communicating with a defective implementation.
> It may be worth considering whether it even meets that basic goal.
> 

I know it helps there. (I can produce buggy code
with the best of 'em.:-) The easiest bug to produce
also causes the most pain -- an unmatched start-tag.
Depending on your XML parser, this type of bad XML
might cause an 'end-of-file' error in the parser.
The agent can still send back an operation-failed error
and the session continues, but it doesn't know which
element caused the problem.

But without the EOM marker, the XML parser would wait forever
for the missing end-tag. (NETCONF has no std idle-timeout.)
The EOM marker lets the agent know right away there isn't
going to be any more data for this PDU, so stop waiting for it.

> Randy
> 

Andy


From andy@netconfcentral.com  Mon Feb 23 11:11:51 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8898B3A69B1 for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 11:11:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.06
X-Spam-Level: 
X-Spam-Status: No, score=-2.06 tagged_above=-999 required=5 tests=[AWL=0.205,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bJBFiOCAd8gm for <netconf@core3.amsl.com>; Mon, 23 Feb 2009 11:11:50 -0800 (PST)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id DCDE93A6872 for <netconf@ietf.org>; Mon, 23 Feb 2009 11:11:50 -0800 (PST)
Received: (qmail 64889 invoked from network); 23 Feb 2009 19:12:09 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.140.195 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 23 Feb 2009 19:12:08 -0000
X-YMail-OSG: Gj29u1oVM1ldWTxZUC2Y.K1ola64GJSpOayCuI03xpKXhMQI.Mcl0OwQAbdqetV2_EvCjv136RA9J223ihqfiScyftLCMBvOUfwhTa7dc9UuuWyNeTP3dgBLL3bBLFJNCXhej3u1JOV06NWcKimTxCes
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A2F507.5000105@netconfcentral.com>
Date: Mon, 23 Feb 2009 11:12:07 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200902231834.n1NIYZoZ031833@idle.juniper.net>
In-Reply-To: <200902231834.n1NIYZoZ031833@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 23 Feb 2009 19:11:51 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>> Before a new EOM msg is pursued, I would like to know the
>> details of the protocol deployment plan?  Will all 4741/4742
>> implementations be obsolete and ignored going forward?
> 
> These are reasons I'd strongly prefer to stay with the current EOM
> marker.  The ssh and tls transports can be required to escape the
> EOM using "&gt;", which solves the issues with attributes.  PIs are
> more annoying, since they don't seem to handle character references
> in the same way (see below).  For my money, I'd be happy to just
> add "No PIS" to section 3 of rfc4741.  Worse case, the receiving
> ssh and tls transports would be required to reverse this escaping
> in order to make it transport to the netconf content being carried.
> 


Is there a solution that will work even if the manager side
is using the 'new way', and talking to an old agent
that has no clue there even is a 'new way'?

BTW, are must/when expressions for /rpc/input, /rpc/output,
and /notification expected to support the processing-instruction()
node test?  If so, then IMO it should be punted.  NETCONF agents
should not be forced to keep those around.  I agree that agents
should be allowed to ignore PIs (and comments).


> Thanks,
>  Phil

Andy

> 
> -----------
> 
> % cat /tmp/foo.xml
> <?xml version="1.0"?>
> <?bad mumble]]>]]>mumble?>
> <?badder mumble]]&gt;]]&gt;mumble?>
> <?worse <?mumble?>
>   <?worstest <!--yup?>
> 
> <?pig <?mum]]>]]>ble?>
> 
> <top val="]]>]]>">
>   <foo val2="]]&gt;]]&gt;">
>     <one>1</one>
>     <two>2</two>
>     <three>3</three>
>     <four>4</four>
>   </foo>
> </top>
> 
> % xmllint /tmp/foo.xml
> <?xml version="1.0"?>
> <?bad mumble]]>]]>mumble?>
> <?badder mumble]]&gt;]]&gt;mumble?>
> <?worse <?mumble?>
> <?worstest <!--yup?>
> <?pig <?mum]]>]]>ble?>
> <top val="]]&gt;]]&gt;">
>   <foo val2="]]&gt;]]&gt;">
>     <one>1</one>
>     <two>2</two>
>     <three>3</three>
>     <four>4</four>
>   </foo>
> </top>
> 
> 



From cfinss@dial.pipex.com  Tue Feb 24 04:20:15 2009
Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6951928C134 for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 04:20:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.869
X-Spam-Level: 
X-Spam-Status: No, score=-0.869 tagged_above=-999 required=5 tests=[AWL=0.087,  BAYES_00=-2.599, RCVD_IN_NJABL_PROXY=1.643]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s88pwaQLR9nO for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 04:20:14 -0800 (PST)
Received: from mk-outboundfilter-1.mail.uk.tiscali.com (mk-outboundfilter-1.mail.uk.tiscali.com [212.74.114.37]) by core3.amsl.com (Postfix) with ESMTP id 48A7E28C12C for <netconf@ietf.org>; Tue, 24 Feb 2009 04:20:14 -0800 (PST)
X-Trace: 222864028/mk-outboundfilter-1.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.17.158/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.17.158
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhkFAIN0o0k+vBGe/2dsb2JhbACDQ0GKEMhQB4QKBg
X-IronPort-AV: E=Sophos;i="4.38,259,1233532800"; d="scan'208";a="222864028"
X-IP-Direction: IN
Received: from 1cust158.tnt1.lnd3.gbr.da.uu.net (HELO allison) ([62.188.17.158]) by smtp.pipex.tiscali.co.uk with SMTP; 24 Feb 2009 12:20:29 +0000
Message-ID: <014801c99671$b6bbc680$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Andy Bierman" <andy@netconfcentral.com>, "Per Hedeland" <per@tail-f.com>
References: <200902190532.n1J5Wg6V041554@idle.juniper.net>		<499CFFA4.9090004@tail-f.com>		<20090219072830.GA11559@elstar.iuhb02.iu-bremen.de>		<000201c992b8$7bd58b80$0601a8c0@allison>	<499E5FCC.6080105@ericsson.com>		<1235382040.6383.27.camel@missotis>	<49A27358.2000009@ericsson.com>		<1235384000.6383.36.camel@missotis><49A2793C.308@tail-f.com>	<1235386465.6383.58.camel@missotis><49A28E53.5010309@tail-f.com> <49A2E711.3000602@netconfcentral.com>
Date: Tue, 24 Feb 2009 12:12:01 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netconf@ietf.org
Subject: Re: [Netconf] NETCONF message integrity
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 24 Feb 2009 12:20:15 -0000

----- Original Message -----
From: "Andy Bierman" <andy@netconfcentral.com>
To: "Per Hedeland" <per@tail-f.com>
Cc: <netconf@ietf.org>
Sent: Monday, February 23, 2009 7:12 PM
Subject: Re: [Netconf] NETCONF message integrity


> Per Hedeland wrote:
> > On 2009-02-23 11:54, Ladislav Lhotka wrote:
> >> Per Hedeland píae v Po 23. 02. 2009 v 11:23 +0100:
> >>> Yes, I don't believe the scheme suggested by Balazs can work - but I
> >>> do
> >>> believe the one I suggested in
> >>> http://www.ietf.org/mail-archive/web/netconf/current/msg04231.html
> >>> ("bracket stuffing") can work - please try to shoot it down.
> >> Yes, sorry, I had holidays last week, so I could only read one screenful
> >> from each message in my inbox. The bracket stuffing you suggested is
> >> clever and should work. The only problem I can imagine is that some
> >> other processing happens between adding the extra bracket and removing
> >> it. For instance, xmllint would change the (valid) attribute value
> >> "]]>]]]" to "]]&gt;]]]" and then the extra bracket won't get removed.
> >
> > Hm, well, it's not a very transparent transport if it applies xmllint
> > (or any other processing) to the PDU content... I.e. just like the EOM
> > addition/removal, the escaping/unescaping must be done immediately
> > before pushing the bits into the SSH pipe / immediately after pulling
> > them out - it would all be part of the transport spec.
> >
>
> We have not been precise about the protocol layer
> when discussing this attack vector (including me).
> Clearly the transport layer must be limited to stuffing
> and unstuffing the EOM sequence and ignoring everything else.
>

Very much so.  My take is that the transport should delimit the message into
PDUs and pass them to the upper layer.  The application gets a PDU and if it
finds EOM in it, then that is illegal, do what you do with it (see thread last
November about Handling invalid XML).

Netconf over TLS can introduce bit stuffing to the EOM without any change to RFC
4741 or RFC4742.  This makes the TLS transport better than, and different to,
the SSH transport; good news and bad news, but I think that that is the best way
forward.

At a later date, we may change RFC4742 but RFC4741 has no mention of EOM so why
change it?  S.2 thereof is silent about whether the transport is stream or
message oriented, although the mention of rpc conveys overtones of message.  It
is RFC4742 that makes it message.

Tom Petch

> At the application layer, if an attacker injects the EOM marker
> into some buffer that the application treats as XML content,
> then it is likely to get altered by the time it gets to
> the transport layer during PDU transmission.  It may not though,
> so that protection is not good enough.
>
> Before a new EOM msg is pursued, I would like to know the
> details of the protocol deployment plan?  Will all 4741/4742
> implementations be obsolete and ignored going forward?
> Will the 4741-bis work still stick to a 'no-changes' policy?
> How will the <hello> exchange be modified? Will the manager
> advertise 2 'base' versions, and just use the 1 that the agent
> advertises?  Gee, I wish that would work, but the manager needs
> to send the EOM marker along with the <hello>, so it won't.
> So how will version 2 managers talk to version 1 agents?
> Try v2. It fails, then start over with v1?
>
> > --Per
>
> Andy
>



From andy@netconfcentral.com  Tue Feb 24 10:24:28 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A4C893A6A15 for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 10:24:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.083
X-Spam-Level: 
X-Spam-Status: No, score=-2.083 tagged_above=-999 required=5 tests=[AWL=0.182,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XmfrZcw-o7lN for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 10:24:27 -0800 (PST)
Received: from smtp116.sbc.mail.sp1.yahoo.com (smtp116.sbc.mail.sp1.yahoo.com [69.147.64.89]) by core3.amsl.com (Postfix) with SMTP id E75F83A69E3 for <netconf@ietf.org>; Tue, 24 Feb 2009 10:24:27 -0800 (PST)
Received: (qmail 7513 invoked from network); 24 Feb 2009 18:24:47 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.140.195 with plain) by smtp116.sbc.mail.sp1.yahoo.com with SMTP; 24 Feb 2009 18:24:46 -0000
X-YMail-OSG: 9a.SC9UVM1nZM.zpyHbf6MzzZFq_mcEUagUWG48WvoEtQNMpa36f8rye2QyRG00wjrJUl.Qvz9aDal8q5kNpHKlUvQ1Fv9leST3RpesdlExaFKaJo7P2BIIflFWBS_wXh0Rxx5Qn3.x0mboxquguRshcfdXNFJA5OouwS_ibih6v7gjlSP7Jgto6irRO9Q--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A43B6D.7050308@netconfcentral.com>
Date: Tue, 24 Feb 2009 10:24:45 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: NETCONF <netconf@ietf.org>
Content-Type: multipart/mixed; boundary="------------010506030400090503040903"
Subject: [Netconf] with-defaults.yang
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 24 Feb 2009 18:24:28 -0000

This is a multi-part message in MIME format.
--------------010506030400090503040903
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

I think the attached YANG module is closer to the syntax
that Phil and others expected for the <with-defaults> leaf,
than the current draft.

I prefer that the new leaf be defined in one specific
XML namespace.  The text about "if no namespace is used,
then the agent MUST accept it anyway" contradicts the
XML standard, which NETCONF must follow. (2.5, para 4)


Andy




--------------010506030400090503040903
Content-Type: text/plain;
 name="with-defaults.yang"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="with-defaults.yang"

module with-defaults {

    namespace "TBD-by-IANA-with-defaults";
    prefix "wd";

    import netconf {
        prefix nc;
    }

    organization
        "Network Configuration Working Group";

    contact
     "WG Web:   <http://tools.ietf.org/wg/netconf/>
      WG List:  <mailto:netconf@ietf.org>

      WG Chair: Bert Wijnen
                <mailto:bertietf@bwijnen.net>

      WG Chair: Mehmet Ersue
                <mailto:mehmet.ersue@nsn.com>

      Editor:   Andy Bierman
                <mailto:andy@netconfcentral.com>

      Editor:   Balazs Lengyel
                <mailto:balazs.lengyel@ericsson.com>";

    description
        "YANG version of with-defaults data model.";

    revision 2009-02-24 {
        description "Initial version.";
    }

    grouping WithDefaults {
       leaf with-defaults {
         description 
           "With default agent behavior:
             - false: default data SHOULD NOT be returned.
             -  true: all default data MUST be returned.
            If not present, then the 'with-defaults' behavior
            is implementation-dependent.";
          type boolean;
       }
    }

    augment "/nc:get/nc:input" {
      uses WithDefaults;
    }

    augment "/nc:get-config/nc:input" {
      uses WithDefaults;
    }

    augment "/nc:copy-config/nc:input" {
      uses WithDefaults;
    }

}

--------------010506030400090503040903--


From phil@juniper.net  Tue Feb 24 11:05:55 2009
Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A04CE3A6B3C for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 11:05:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1hiHhFjtubG6 for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 11:05:54 -0800 (PST)
Received: from exprod7og116.obsmtp.com (exprod7og116.obsmtp.com [64.18.2.219]) by core3.amsl.com (Postfix) with ESMTP id 2B0B13A6927 for <netconf@ietf.org>; Tue, 24 Feb 2009 11:05:52 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob116.postini.com ([64.18.6.12]) with SMTP ID DSNKSaRFIweGiO7b5Uzw1OeFuJ+dco1PmuOL@postini.com; Tue, 24 Feb 2009 11:06:14 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Tue, 24 Feb 2009 11:02:59 -0800
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 24 Feb 2009 11:02:59 -0800
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Tue, 24 Feb 2009 11:02:19 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Tue, 24 Feb 2009 11:02:18 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1OJ2IM96011; Tue, 24 Feb 2009 11:02:18 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1OIthOk041051; Tue, 24 Feb 2009 18:55:43 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902241855.n1OIthOk041051@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <49A43B6D.7050308@netconfcentral.com> 
Date: Tue, 24 Feb 2009 13:55:43 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 24 Feb 2009 19:02:18.0695 (UTC) FILETIME=[6A34A570:01C996B2]
MIME-Version: 1.0
Content-Type: text/plain
Cc: NETCONF <netconf@ietf.org>
Subject: Re: [Netconf] with-defaults.yang
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 24 Feb 2009 19:05:55 -0000

Andy Bierman writes:
>    augment "/nc:copy-config/nc:input" {
>      uses WithDefaults;
>    }

Does this conflict with the existing NETCONF idea that copy-config
does a higher-level datastore-oriented copy, rather than one that
inspects the configuration nodes?  I can't find this idea called
out strongly enough in the RFC to matter, but I recall the idea was
that copy-config did a copy without regard for the content.  Does
this idea still exist?

Thanks,
 Phil

From andy@netconfcentral.com  Tue Feb 24 11:24:25 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1818628C15B for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 11:24:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level: 
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[AWL=0.164,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qOHl7mwzulM1 for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 11:24:24 -0800 (PST)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id 6F04728C113 for <netconf@ietf.org>; Tue, 24 Feb 2009 11:24:24 -0800 (PST)
Received: (qmail 92027 invoked from network); 24 Feb 2009 19:24:43 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.140.195 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 24 Feb 2009 19:24:43 -0000
X-YMail-OSG: lmKFiigVM1l9qODvd7WfLSLaL8dDN6uraVHVLMQwC.tmgsJumHPmVLuuHQ5PqAd3Rtr0bME1ktZA90vLyTAGBN7At0uv0CmaQJoDOolp8jB1L50PXiW0SpU3XW1PjFPGb6Df.Ca5gDakE65kMm4D7K87
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A4497A.3080006@netconfcentral.com>
Date: Tue, 24 Feb 2009 11:24:42 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200902241855.n1OIthOk041051@idle.juniper.net>
In-Reply-To: <200902241855.n1OIthOk041051@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: NETCONF <netconf@ietf.org>
Subject: Re: [Netconf] with-defaults.yang
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 24 Feb 2009 19:24:25 -0000

Phil Shafer wrote:
> Andy Bierman writes:
>>    augment "/nc:copy-config/nc:input" {
>>      uses WithDefaults;
>>    }
> 
> Does this conflict with the existing NETCONF idea that copy-config
> does a higher-level datastore-oriented copy, rather than one that
> inspects the configuration nodes?  I can't find this idea called
> out strongly enough in the RFC to matter, but I recall the idea was
> that copy-config did a copy without regard for the content.  Does
> this idea still exist?
> 

AFAIK, the only mandatory copy-config operation is
from <running/> to <startup/>, if :startup is supported.
I think with-defaults applies in that situation.

I agree with you (in this case and in general)
that 'feature-creep' seems to occur to NETCONF sometimes.
It was never the intent the the target of a <copy-config>
be a standard database, in any other use case except :startup.
Without :url or :startup capabilities, there is nothing
mandatory to support for <copy-config>.


> Thanks,
>  Phil
> 
> 


Andy



From root@core3.amsl.com  Tue Feb 24 11:30:01 2009
Return-Path: <root@core3.amsl.com>
X-Original-To: netconf@ietf.org
Delivered-To: netconf@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id F10763A68A7; Tue, 24 Feb 2009 11:30:01 -0800 (PST)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090224193001.F10763A68A7@core3.amsl.com>
Date: Tue, 24 Feb 2009 11:30:01 -0800 (PST)
Cc: netconf@ietf.org
Subject: [Netconf] I-D Action:draft-ietf-netconf-tls-07.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 24 Feb 2009 19:30:02 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Configuration Working Group of the IETF.


	Title           : NETCONF Over Transport Layer Security (TLS)
	Author(s)       : M. Badra
	Filename        : draft-ietf-netconf-tls-07.txt
	Pages           : 9
	Date            : 2009-02-24

The Network Configuration Protocol (NETCONF) provides mechanisms to
install, manipulate, and delete the configuration of network devices.
This document describes how to use the Transport Layer Security (TLS)
protocol to secure NETCONF exchanges.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-07.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-netconf-tls-07.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-02-24112619.I-D@ietf.org>


--NextPart--

From mbadra@gmail.com  Tue Feb 24 11:30:08 2009
Return-Path: <mbadra@gmail.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id C3F7828C185 for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 11:30:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.776
X-Spam-Level: 
X-Spam-Status: No, score=-1.776 tagged_above=-999 required=5 tests=[AWL=0.200,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z7+xZk2PkTIP for <netconf@core3.amsl.com>; Tue, 24 Feb 2009 11:30:08 -0800 (PST)
Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by core3.amsl.com (Postfix) with ESMTP id 9BAF528C179 for <netconf@ietf.org>; Tue, 24 Feb 2009 11:30:07 -0800 (PST)
Received: by fg-out-1718.google.com with SMTP id l26so132000fgb.41 for <netconf@ietf.org>; Tue, 24 Feb 2009 11:30:26 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=pcBwLrzLw0uATyRpQ1iayrauDVWpYoOKcvAoKfb9ksg=; b=JECmxjx/q5NgTmit+Cv8YiOzFdbJ1/jDJcx/2x3PNouZuMtHnV5xxrnPoEq6XbnCxP jI5HXP6QZJwmi2qtHbccBiKYuTJZ3Y4m5YcScVSo9918PGSC/IS8FgVOwSZpGj9QYVlZ V2I1XHx/xQo+a7/eFPYJy1MGRHSb2I19Z/j4Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=bcxHkUwk9vY5R0N3CjjrJBI+rKmyimKd2FjtKh+9tVaVvCuWX2PgFtvdwx/LsGJ5lh wV8+kE9p8Z2vhFG2HSV09000A7mf4cFT95UvjNwMJz9jt8udvk4aKlV3HPFU2HXt6qwB h85UPDwG5p6yZ+ZkbgffVGpNLsUMpm8z0pjzo=
MIME-Version: 1.0
Sender: mbadra@gmail.com
Received: by 10.86.83.1 with SMTP id g1mr1069fgb.20.1235503826415; Tue, 24 Feb  2009 11:30:26 -0800 (PST)
In-Reply-To: <20090224192619.504DE28C1E5@core3.amsl.com>
References: <20090224192619.504DE28C1E5@core3.amsl.com>
Date: Tue, 24 Feb 2009 20:30:26 +0100
X-Google-Sender-Auth: 23c592ff7b642b0d
Message-ID: <c24c21d80902241130i70208c33wb392956390fff1e5@mail.gmail.com>
From: Badra <badra@isima.fr>
To: netconf@ietf.org
Content-Type: multipart/alternative; boundary=000e0cd250aab12fe70463af2616
Subject: [Netconf] New Version Notification for draft-ietf-netconf-tls-07
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Tue, 24 Feb 2009 19:30:08 -0000

--000e0cd250aab12fe70463af2616
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Dear all,


Please find an updated version as required by our AD Dan Romascanu, based on
the WG discussion and consensus call. We are going to bring it to the next
step.
http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-07.txt

Best regards

Badra

--000e0cd250aab12fe70463af2616
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>Dear all,</div>
<div>=A0<br><br>Please find an updated version as required by our AD Dan Ro=
mascanu,=A0based on the WG discussion and consensus call.=A0We are going to=
 bring it to the next step.<br></div>
<div><a href=3D"http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-=
07.txt">http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-07.txt</=
a><br><br>Best regards<br><br>Badra</div>

--000e0cd250aab12fe70463af2616--

From mehmet.ersue@nsn.com  Wed Feb 25 07:55:51 2009
Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3539F3A6A95 for <netconf@core3.amsl.com>; Wed, 25 Feb 2009 07:55:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.37
X-Spam-Level: 
X-Spam-Status: No, score=-5.37 tagged_above=-999 required=5 tests=[AWL=1.228,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dw0KB31SQFvE for <netconf@core3.amsl.com>; Wed, 25 Feb 2009 07:55:50 -0800 (PST)
Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [217.115.75.233]) by core3.amsl.com (Postfix) with ESMTP id C915C3A6805 for <netconf@ietf.org>; Wed, 25 Feb 2009 07:55:49 -0800 (PST)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd001.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n1PFu5lt027835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 25 Feb 2009 16:56:05 +0100
Received: from demuexc025.nsn-intra.net (demuexc025.nsn-intra.net [10.159.32.12]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n1PFu5n1026639; Wed, 25 Feb 2009 16:56:05 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc025.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 25 Feb 2009 16:56:04 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C99761.8F91466E"
Date: Wed, 25 Feb 2009 16:56:03 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F7016345DB@DEMUEXC005.nsn-intra.net>
In-Reply-To: <c24c21d80902241130i70208c33wb392956390fff1e5@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Bringing the TLS draft to the next step WAS:RE: [Netconf] New Version Notification for draft-ietf-netconf-tls-07
Thread-Index: AcmWtoQr7D94Ko9sSz69t7nEKUu3uwAqoQhQ
References: <20090224192619.504DE28C1E5@core3.amsl.com> <c24c21d80902241130i70208c33wb392956390fff1e5@mail.gmail.com>
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: <netconf@ietf.org>
X-OriginalArrivalTime: 25 Feb 2009 15:56:04.0809 (UTC) FILETIME=[9076B390:01C99761]
Subject: [Netconf] Bringing the TLS draft to the next step WAS:RE: New Version Notification for draft-ietf-netconf-tls-07
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 25 Feb 2009 15:55:51 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C99761.8F91466E
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Dear NETCONF WG,
=20
we had a chat with our AD Dan Romascanu on the message=20
integrity issue and how we should proceed with the TLS draft.
Current version is draft-ietf-netconf-tls-07.txt.
=20
Our conclusion from the feedback on the mailing list and our chat
with the AD is that it would be the best if we bring the NETCONF=20
over TLS document to RFC and get it published.
=20
We, the WG chairs, still think that the EOM or message integrity=20
issue is not specific to Netconf over TLS and a satisfying solution=20
(addressing also NETCONF base and SSH transport protocols)=20
can only be found if it's developed in conjunction with access=20
control. Therefor we don't see a TLS-only solution, which would=20
obviously differs from the current SSH transport, as appropriate.=20
=20
We would like to encourage a discussion on the message integrity=20
issue in San Francisco meeting and ask whether the WG members=20
are interested to work on a generic and complete solution. The=20
development of this issue can then be started after re-chartering.
=20
For now, we will bring the updated version of the TLS draft to the
next step, which is IESG review. If possible Dan will bring it to the=20
next IESG chat.
=20
Thank you all again for supporting the TLS RFC development.=20
 =20
Bert & Mehmet=20



________________________________

	From: netconf-bounces@ietf.org [mailto:netconf-bounces@ietf.org]
On Behalf Of ext Badra
	Sent: Tuesday, February 24, 2009 8:30 PM
	To: netconf@ietf.org
	Subject: [Netconf] New Version Notification for
draft-ietf-netconf-tls-07
=09
=09
	Dear all,


	Please find an updated version as required by our AD Dan
Romascanu, based on the WG discussion and consensus call. We are going
to bring it to the next step.
=09
=09
http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-07.txt
=09
	Best regards
=09
	Badra


------_=_NextPart_001_01C99761.8F91466E
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><FONT face=3DVerdana color=3D#0000ff =
size=3D2>Dear NETCONF=20
WG,<BR>&nbsp;<BR>we had a chat with our AD Dan Romascanu on the message=20
<BR>integrity issue and how we should proceed with the TLS =
draft.<BR>Current=20
version is draft-ietf-netconf-tls-07.txt.<BR>&nbsp;<BR>Our conclusion =
from the=20
feedback on the mailing list and our chat<BR>with the AD is that it =
would be the=20
best if we bring the NETCONF </FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DVerdana color=3D#0000ff =
size=3D2>over TLS=20
document to RFC and get it<SPAN class=3D420165215-25022009>=20
</SPAN>published.<BR>&nbsp;<BR>We, the WG chairs, still think that the =
EOM or=20
message integrity <BR>issue is not specific to Netconf over TLS and a =
satisfying=20
solution <BR>(addressing also NETCONF base and SSH transport =
protocol<SPAN=20
class=3D420165215-25022009>s</SPAN>) <BR>can only be found if it's =
developed in=20
conjunction with access <BR>control. Therefor we don't see a TLS-only =
solution,=20
which would <BR>obviously differs from the current SSH transport, as=20
appropriate. <BR>&nbsp;<BR>We would like to encourage a discussion on =
the=20
message integrity <BR>issue in San Francisco meeting and ask whether the =
WG=20
members <BR>are interested to work on a generic and complete solution. =
The=20
<BR>development of this issue can then be started after=20
re-chartering.<BR>&nbsp;<BR>For now, we will bring the updated version =
of the=20
TLS draft to the<BR>next step, which is IESG review. If possible Dan =
will bring=20
it to the <BR>next IESG chat.<BR>&nbsp;<BR>Thank you all again for =
supporting=20
the TLS RFC development. <BR>&nbsp; <BR>Bert &amp; Mehmet =
<BR></FONT></DIV><BR>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Dde dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> netconf-bounces@ietf.org=20
  [mailto:netconf-bounces@ietf.org] <B>On Behalf Of </B>ext=20
  Badra<BR><B>Sent:</B> Tuesday, February 24, 2009 8:30 PM<BR><B>To:</B> =

  netconf@ietf.org<BR><B>Subject:</B> [Netconf] New Version Notification =
for=20
  draft-ietf-netconf-tls-07<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV>Dear all,</DIV>
  <DIV><BR><BR>Please find an updated version as required by our AD Dan=20
  Romascanu,&nbsp;based on the WG discussion and consensus call.&nbsp;We =
are=20
  going to bring it to the next step.<BR></DIV>
  <DIV><A=20
  =
href=3D"http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-07.txt=
">http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-07.txt</A><B=
R><BR>Best=20
  regards<BR><BR>Badra</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C99761.8F91466E--

From andy@netconfcentral.com  Wed Feb 25 09:34:47 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4902928C1A3 for <netconf@core3.amsl.com>; Wed, 25 Feb 2009 09:34:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.127
X-Spam-Level: 
X-Spam-Status: No, score=-2.127 tagged_above=-999 required=5 tests=[AWL=0.138,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mBEgTIYm4tM6 for <netconf@core3.amsl.com>; Wed, 25 Feb 2009 09:34:46 -0800 (PST)
Received: from smtp123.sbc.mail.sp1.yahoo.com (smtp123.sbc.mail.sp1.yahoo.com [69.147.64.96]) by core3.amsl.com (Postfix) with SMTP id 7CBAD28C16F for <netconf@ietf.org>; Wed, 25 Feb 2009 09:34:46 -0800 (PST)
Received: (qmail 70044 invoked from network); 25 Feb 2009 17:35:06 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.140.195 with plain) by smtp123.sbc.mail.sp1.yahoo.com with SMTP; 25 Feb 2009 17:35:05 -0000
X-YMail-OSG: fGSr2PQVM1l4_PyxS3wSQ.CYYbg1mSYAxxe5plafFkTtkgSx4Qe0aXNzvFxTKhavv_96luaECv.bdMrrke5Q73xK.xfdyRdjTrYmIXXHOk0TSsI1hSLEDrATgAu6sABVeXGCpua8PwGrZG7hTy2cLRZL
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A58148.4070704@netconfcentral.com>
Date: Wed, 25 Feb 2009 09:35:04 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: NETCONF <netconf@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Netconf] comments on netconf-monitoring-03 draft
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 25 Feb 2009 17:34:47 -0000

Hi,

I have some initial comments, not sure if they
are already resolved or not:

  1) bug: top of pg 16, example
     <rpc> start-tag paired with </rpc-reply> end-tag

  2) netconf container
     What about renaming it to 'netconf-state'?
     IMO this sets a clear and workable precedent.
     Use 1 top-level element with the same name as
     the YANG module.  It also solves the problem of
     a read-only vs. read-write /netconf container.

  3) <capabilities>
     Should this element be the exact capabilities given
     in the <hello> or should the netconf namespace be
     changed to the netconf-state namespace (as the draft
     defines now)? IMO it is confusing and code which
     understands the <hello> cannot be reused to handle
     the netconf-state data-model.

  4) static <configuration> elements
     I assume there will be always be an entry for each of the
     3 databases supported by the agent. I.e., at least one
     entry for <running>.  Adding and deleting these based
     on the current state of the locks would complicate things.

  5) empty <locks/> OK?
     It seems useful and convenient to be able to return
     an empty locks container, especially if there are
     lots of partial locks or a big database.
     An implementation should not need to search out all
     the partial locks twice (w/ added race condition) to
     make sure there really is at least 1 partial lock to report.

  6) session drops
     a) The inBadHellos object should mention that sessions
        dropped because a <hello> was never received are also
        included in this counter.
     b) should there be an 'abnormalTerminations' counter
        to count any sessions terminated for an abnormal
        reason (i.e., other than close-session, kill-session,
        already counted in inBadHellos)
     c) should transport connection drops by the manager be
        counted in any way?

  7) usage statistics
     There is no total bytes counters, only message counters.
     Is this on purpose?  Were usage statistics rejected?

  8) per-session statistics
     There are none.  Is it worth it to add them, perhaps
     as an additional capability?  Perhaps more than one session
     is active at the same time.  The global counters
     will not give a clean view of the problem, and be useless.

  9) get-schema RPC operation
     The positive and negative response parts of the template are
     missing.  What errors are to be expected?  Is it operation-failed
     if the module name/revision are not found?  What if the requested
     format is not available?

10) User name
     This field is fairly vague, which matches the NETCONF architecture
     wrt/ this subject.  What is the 'owner'?  Should there be
     some more text here?  This is going to show up later
     for access control work, so might as well get it correct now.

11) Documentation style
     I really like the 'info-model' style of documentation much
     better than the MIB style.  It is easy to read and easy to
     find stuff.  I hope all NETCONF data model drafts follow this style.


Andy





From balazs.lengyel@ericsson.com  Thu Feb 26 00:52:22 2009
Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A661D28C19F for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 00:52:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.9
X-Spam-Level: 
X-Spam-Status: No, score=-5.9 tagged_above=-999 required=5 tests=[AWL=0.349, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJkL7pUcuYdO for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 00:52:21 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id C9F2D28C1CD for <netconf@ietf.org>; Thu, 26 Feb 2009 00:52:21 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 4C896211C5; Thu, 26 Feb 2009 09:52:28 +0100 (CET)
X-AuditID: c1b4fb3e-ac0bbbb000001315-6d-49a658216e87
Received: from esealmw129.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id A08D1210A3; Thu, 26 Feb 2009 09:51:45 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 26 Feb 2009 09:51:44 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 26 Feb 2009 09:51:44 +0100
Message-ID: <49A6581F.4040808@ericsson.com>
Date: Thu, 26 Feb 2009 09:51:43 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>
References: <49A43B6D.7050308@netconfcentral.com>
In-Reply-To: <49A43B6D.7050308@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 26 Feb 2009 08:51:44.0193 (UTC) FILETIME=[732AC310:01C997EF]
X-Brightmail-Tracker: AAAAAA==
Cc: NETCONF <netconf@ietf.org>
Subject: Re: [Netconf] with-defaults.yang
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 26 Feb 2009 08:52:22 -0000

Hello Andy,


Andy Bierman wrote:
> Hi,
> 
> I think the attached YANG module is closer to the syntax
> that Phil and others expected for the <with-defaults> leaf,
> than the current draft.
> 
> I prefer that the new leaf be defined in one specific
> XML namespace.  The text about "if no namespace is used,
> then the agent MUST accept it anyway" contradicts the
> XML standard, which NETCONF must follow. (2.5, para 4)


BALAZS: OK I will remove the sentence "if no namespace ..."
Otherwise I think your YANG is the same as what the current text and the XSD describe. Do you 
see any difference?

We could include the YANG as a non-normative appendix. The reason I would rather not do this is 
that there is no official/semi-official YAM for the Netconf XSD.

Balazs

From balazs.lengyel@ericsson.com  Thu Feb 26 00:57:22 2009
Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5448928C1CD for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 00:57:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.932
X-Spam-Level: 
X-Spam-Status: No, score=-5.932 tagged_above=-999 required=5 tests=[AWL=0.317,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z9ztXZ5bBoMG for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 00:57:21 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 4AA9828C19F for <netconf@ietf.org>; Thu, 26 Feb 2009 00:57:21 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id B51CC21506; Thu, 26 Feb 2009 09:54:32 +0100 (CET)
X-AuditID: c1b4fb3e-ae8c0bb000001315-51-49a6589ba593
Received: from esealmw129.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 731A62150A; Thu, 26 Feb 2009 09:53:47 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 26 Feb 2009 09:53:40 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 26 Feb 2009 09:53:40 +0100
Message-ID: <49A65894.1060902@ericsson.com>
Date: Thu, 26 Feb 2009 09:53:40 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: Phil Shafer <phil@juniper.net>
References: <200902241855.n1OIthOk041051@idle.juniper.net>
In-Reply-To: <200902241855.n1OIthOk041051@idle.juniper.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 26 Feb 2009 08:53:40.0424 (UTC) FILETIME=[B8723480:01C997EF]
X-Brightmail-Tracker: AAAAAA==
Cc: NETCONF <netconf@ietf.org>
Subject: Re: [Netconf] with-defaults.yang
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 26 Feb 2009 08:57:22 -0000

Hello Phil,
Could you please give some examples where the datastore oriented and the node-inspecting 
copy-configs would lead to different results?
Balazs

Phil Shafer wrote:
  > Does this conflict with the existing NETCONF idea that copy-config
> does a higher-level datastore-oriented copy, rather than one that
> inspects the configuration nodes?  I can't find this idea called
> out strongly enough in the RFC to matter, but I recall the idea was
> that copy-config did a copy without regard for the content.  Does
> this idea still exist?

From bertietf@bwijnen.net  Thu Feb 26 08:29:25 2009
Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0353928C0F7 for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 08:29:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.068
X-Spam-Level: 
X-Spam-Status: No, score=-0.068 tagged_above=-999 required=5 tests=[AWL=-0.226, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001, J_CHICKENPOX_71=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aSbMFWR2Glca for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 08:29:23 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id 3A0883A6829 for <netconf@ietf.org>; Thu, 26 Feb 2009 08:29:23 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1Lcj73-0002iG-LR; Thu, 26 Feb 2009 17:29:30 +0100
Message-ID: <08332EA1C1F240958EC552C561A9A4F1@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Netconf" <netconf@ietf.org>
Date: Thu, 26 Feb 2009 17:28:42 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_1704_01C99837.ABBE2BC0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Cc: Margaret Wasserman <mrw@lilacglade.org>
Subject: [Netconf] WG Last Call: Pls review proposed text change regarding: [Technical Errata Reported] RFC4742 (1628)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 26 Feb 2009 16:29:25 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_1704_01C99837.ABBE2BC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

WG participants,

Please review the below proposed text replacement to address a reported =
Errata.
Deadline is March 11th, so that (if needed... probabl;y not, but just in =
case) we=20
can try to get it on IESG agenda on 12th.=20
Propably it is just OK if Dan approves it onces we as a WG have =
consensus.

Bert and Mehmet
----- Original Message -----=20
From: Margaret Wasserman=20
To: Bert Wijnen (IETF)=20
Cc: Ted Goddard ; mehmet.ersue@nsn.com=20
Sent: Wednesday, February 25, 2009 6:16 PM
Subject: Re: [Technical Errata Reported] RFC4742 (1628)



Hi Bert,

This errata is correct, and netconf should be listed as an SSN =20
subsystem name, not an SSH service name.  However, we need to change =20
more than the RFC text, as the IANA registry is also incorrect.

The text change in the correct format would look like this...

On page 7 (in Section 7. IANA Considerations) please replace:

IANA is also requested to assign "netconf" as an SSH Service Name as
defined in [RFC4250], as follows:

          Service Name                  Reference
          -------------                 ---------
          netconf                       RFC 4742

With:

Corrected Text
--------------
IANA is also requested to assign "netconf" as an SSH Connection
Protocol Subsystem Name as defined in [RFC4250], as follows:

          Subsystem Name             Reference
          -------------                 ---------
          netconf                       RFC 4742

However, I don' t think we should make this change unless/until we can =20
make a corresponding change with IANA.  What is the procedure for that?

Thanks,
Margaret





> On Feb 25, 2009, at 10:41 AM, Bert Wijnen (IETF) wrote:

> Could the authors/editors PLEASE report/respond/vent their opinion?
>
> Thanks,
> Bert and Mehmet
>
> ----- Original Message -----
> From: Pasi.Eronen@nokia.com
> To: ted.goddard@icesoft.com ; mrw@lilacglade.org
> Cc: mehmet.ersue@nsn.com ; bertietf@bwijnen.net
> Sent: Monday, February 23, 2009 2:23 PM
> Subject: RE: [Technical Errata Reported] RFC4742 (1628)
>
> Ted, Margaret, Bert, and Mehmet,
>
> Has there been any progress on this? (I'm not on the NETCONF mailing =20
> list, but quick look at the archive didn't find anything)
>
> Best regards,
> Pasi
>
> From: ext Bert Wijnen (IETF) [mailto:bertietf@bwijnen.net]
> Sent: 09 December, 2008 11:18
> To: Netconf; Ted Goddard; Margaret Wasserman
> Cc: Eronen Pasi (Nokia-NRC/Helsinki)
> Subject: Fw: [Technical Errata Reported] RFC4742 (1628)
>
> NETCONF WG members,
>
> We have received the following reported Technical errata.
> We have had a few interactions between the authors, WG chairs, AD =20
> and Pasi.
> It seems that the Errata report is indeed correct.
> It also seems a bit heavy to issue a new RFC just for this.
> So we (WG chairs) are suggesting that Ted and Margaret compose a fix =20
> (can be
> based mainly on the text that Pasi already provided) in the form of:
>
> on page xxxx replace
>
>     old text
>
> with
>
>    new text
>
> And that we all get a chance on the mailing list to review and =20
> comment.
> Once we're OK with the text, we can pass it to the RFC-Editor.
> And also put it in our queue for the time that rfc4742 needs revision.
> Maybve... while we do rfc4741 revision we find other things that =20
> could also
> have an impact on 4742, and we can then decide if that is serious =20
> enough to
> also reissue rfc4742.
>
> So Ted and Marageret, pls send proposed text.
>
> Bert and Mehmet
>
>
> ----- Original Message -----
> From: RFC Errata System
> To: margaret@thingmagic.com ; ted.goddard@icesoft.com ; =
dromasca@avaya.com=20
>  ; rbonica@juniper.net ;bertietf@bwijnen.net ; mehmet.ersue@nsn.com
> Cc: pasi.eronen@nokia.com ; rfc-editor@rfc-editor.org
> Sent: Thursday, December 04, 2008 7:20 PM
> Subject: [Technical Errata Reported] RFC4742 (1628)
>
>
> The following errata report has been submitted for RFC4742,
> "Using the NETCONF Configuration Protocol over Secure SHell (SSH)".
>
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata_search.php?rfc=3D4742&eid=3D1628
>
> --------------------------------------
> Type: Technical
> Reported by: Pasi Eronen <pasi.eronen@nokia.com>
>
> Section: 7
>
> Original Text
> -------------
> IANA is also requested to assign "netconf" as an SSH Service Name as
> defined in [RFC4250], as follows:
>
>          Service Name                  Reference
>          -------------                 ---------
>          netconf                       RFC 4742
>
>
> Corrected Text
> --------------
> IANA is also requested to assign "netconf" as an SSH Connection
> Protocol Subsystem Name as defined in [RFC4250], as follows:
>
>          Subsystem Name                Reference
>          -------------                 ---------
>          netconf                       RFC 4742
>
>
> Notes
> -----
> The IANA registry (http://www.iana.org/assignments/ssh-parameters)
> also needs to be fixed.
>
> Instructions:
> -------------
> This errata 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 (IESG)
> can log in to change the status and edit the report, if necessary.
>
> --------------------------------------
> RFC4742 (draft-ietf-netconf-ssh-06)
> --------------------------------------
> Title               : Using the NETCONF Configuration Protocol over =20
> Secure SHell (SSH)
> Publication Date    : December 2006
> Author(s)           : M. Wasserman, T. Goddard
> Category            : PROPOSED STANDARD
> Source              : Network Configuration
> Area                : Operations and Management
> Stream              : IETF
> Verifying Party     : IESG


------=_NextPart_000_1704_01C99837.ABBE2BC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18203" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>WG participants,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Please review the below proposed text replacement to =
address a=20
reported Errata.</FONT></DIV>
<DIV><FONT size=3D2>Deadline is March 11th, so that (if needed... =
probabl;y not,=20
but just in case) we </FONT></DIV>
<DIV><FONT size=3D2>can try to get it on IESG agenda&nbsp;</FONT><FONT =
size=3D2>on=20
12th. </FONT></DIV>
<DIV><FONT size=3D2>Propably it is just OK if Dan approves it onces we =
as a WG=20
have consensus.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert and Mehmet</FONT></DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3Dmrw@lilacglade.org href=3D"mailto:mrw@lilacglade.org">Margaret =
Wasserman</A>=20
</DIV>
<DIV><B>To:</B> <A title=3Dbertietf@bwijnen.net=20
href=3D"mailto:bertietf@bwijnen.net">Bert Wijnen (IETF)</A> </DIV>
<DIV><B>Cc:</B> <A title=3Dted.goddard@icesoft.com=20
href=3D"mailto:ted.goddard@icesoft.com">Ted Goddard</A> ; <A=20
title=3Dmehmet.ersue@nsn.com=20
href=3D"mailto:mehmet.ersue@nsn.com">mehmet.ersue@nsn.com</A> </DIV>
<DIV><B>Sent:</B> Wednesday, February 25, 2009 6:16 PM</DIV>
<DIV><B>Subject:</B> Re: [Technical Errata Reported] RFC4742 =
(1628)</DIV></DIV>
<DIV><BR></DIV><BR>Hi Bert,<BR><BR>This errata is correct, and netconf =
should be=20
listed as an SSN&nbsp; <BR>subsystem name, not an SSH service =
name.&nbsp;=20
However, we need to change&nbsp; <BR>more than the RFC text, as the IANA =

registry is also incorrect.<BR><BR>The text change in the correct format =
would=20
look like this...<BR><BR>On page 7 (in Section 7. IANA Considerations) =
please=20
replace:<BR><BR>IANA is also requested to assign "netconf" as an SSH =
Service=20
Name as<BR>defined in [RFC4250], as=20
follows:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Service=20
Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Reference<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
---------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
netconf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
RFC 4742<BR><BR>With:<BR><BR>Corrected Text<BR>--------------<BR>IANA is =
also=20
requested to assign "netconf" as an SSH Connection<BR>Protocol Subsystem =
Name as=20
defined in [RFC4250], as=20
follows:<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Subsystem=20
Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
Reference<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
---------<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
netconf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
RFC 4742<BR><BR>However, I don' t think we should make this change =
unless/until=20
we can&nbsp; <BR>make a corresponding change with IANA.&nbsp; What is =
the=20
procedure for =
that?<BR><BR>Thanks,<BR>Margaret<BR><BR><BR><BR><BR><BR>&gt; On=20
Feb 25, 2009, at 10:41 AM, Bert Wijnen (IETF) wrote:<BR><BR>&gt; Could =
the=20
authors/editors PLEASE report/respond/vent their =
opinion?<BR>&gt;<BR>&gt;=20
Thanks,<BR>&gt; Bert and Mehmet<BR>&gt;<BR>&gt; ----- Original Message=20
-----<BR>&gt; From: <A=20
href=3D"mailto:Pasi.Eronen@nokia.com">Pasi.Eronen@nokia.com</A><BR>&gt; =
To: <A=20
href=3D"mailto:ted.goddard@icesoft.com">ted.goddard@icesoft.com</A> ; <A =

href=3D"mailto:mrw@lilacglade.org">mrw@lilacglade.org</A><BR>&gt; Cc: <A =

href=3D"mailto:mehmet.ersue@nsn.com">mehmet.ersue@nsn.com</A> ; <A=20
href=3D"mailto:bertietf@bwijnen.net">bertietf@bwijnen.net</A><BR>&gt; =
Sent:=20
Monday, February 23, 2009 2:23 PM<BR>&gt; Subject: RE: [Technical Errata =

Reported] RFC4742 (1628)<BR>&gt;<BR>&gt; Ted, Margaret, Bert, and=20
Mehmet,<BR>&gt;<BR>&gt; Has there been any progress on this? (I'm not on =
the=20
NETCONF mailing&nbsp; <BR>&gt; list, but quick look at the archive =
didn't find=20
anything)<BR>&gt;<BR>&gt; Best regards,<BR>&gt; Pasi<BR>&gt;<BR>&gt; =
From: ext=20
Bert Wijnen (IETF) [mailto:bertietf@bwijnen.net]<BR>&gt; Sent: 09 =
December, 2008=20
11:18<BR>&gt; To: Netconf; Ted Goddard; Margaret Wasserman<BR>&gt; Cc: =
Eronen=20
Pasi (Nokia-NRC/Helsinki)<BR>&gt; Subject: Fw: [Technical Errata =
Reported]=20
RFC4742 (1628)<BR>&gt;<BR>&gt; NETCONF WG members,<BR>&gt;<BR>&gt; We =
have=20
received the following reported Technical errata.<BR>&gt; We have had a =
few=20
interactions between the authors, WG chairs, AD&nbsp; <BR>&gt; and =
Pasi.<BR>&gt;=20
It seems that the Errata report is indeed correct.<BR>&gt; It also seems =
a bit=20
heavy to issue a new RFC just for this.<BR>&gt; So we (WG chairs) are =
suggesting=20
that Ted and Margaret compose a fix&nbsp; <BR>&gt; (can be<BR>&gt; based =
mainly=20
on the text that Pasi already provided) in the form of:<BR>&gt;<BR>&gt; =
on page=20
xxxx replace<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp; old =
text<BR>&gt;<BR>&gt;=20
with<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp; new text<BR>&gt;<BR>&gt; And that =
we all=20
get a chance on the mailing list to review and&nbsp; <BR>&gt; =
comment.<BR>&gt;=20
Once we're OK with the text, we can pass it to the RFC-Editor.<BR>&gt; =
And also=20
put it in our queue for the time that rfc4742 needs revision.<BR>&gt; =
Maybve...=20
while we do rfc4741 revision we find other things that&nbsp; <BR>&gt; =
could=20
also<BR>&gt; have an impact on 4742, and we can then decide if that is=20
serious&nbsp; <BR>&gt; enough to<BR>&gt; also reissue =
rfc4742.<BR>&gt;<BR>&gt;=20
So Ted and Marageret, pls send proposed text.<BR>&gt;<BR>&gt; Bert and=20
Mehmet<BR>&gt;<BR>&gt;<BR>&gt; ----- Original Message -----<BR>&gt; =
From: RFC=20
Errata System<BR>&gt; To: <A=20
href=3D"mailto:margaret@thingmagic.com">margaret@thingmagic.com</A> ; <A =

href=3D"mailto:ted.goddard@icesoft.com">ted.goddard@icesoft.com</A> ; <A =

href=3D"mailto:dromasca@avaya.com">dromasca@avaya.com</A> <BR>&gt;&nbsp; =
; <A=20
href=3D"mailto:rbonica@juniper.net">rbonica@juniper.net</A> =
;bertietf@bwijnen.net=20
; <A =
href=3D"mailto:mehmet.ersue@nsn.com">mehmet.ersue@nsn.com</A><BR>&gt; =
Cc: <A=20
href=3D"mailto:pasi.eronen@nokia.com">pasi.eronen@nokia.com</A> ; <A=20
href=3D"mailto:rfc-editor@rfc-editor.org">rfc-editor@rfc-editor.org</A><B=
R>&gt;=20
Sent: Thursday, December 04, 2008 7:20 PM<BR>&gt; Subject: [Technical =
Errata=20
Reported] RFC4742 (1628)<BR>&gt;<BR>&gt;<BR>&gt; The following errata =
report has=20
been submitted for RFC4742,<BR>&gt; "Using the NETCONF Configuration =
Protocol=20
over Secure SHell (SSH)".<BR>&gt;<BR>&gt;=20
--------------------------------------<BR>&gt; You may review the report =
below=20
and at:<BR>&gt; <A=20
href=3D"http://www.rfc-editor.org/errata_search.php?rfc=3D4742&amp;eid=3D=
1628">http://www.rfc-editor.org/errata_search.php?rfc=3D4742&amp;eid=3D16=
28</A><BR>&gt;<BR>&gt;=20
--------------------------------------<BR>&gt; Type: Technical<BR>&gt; =
Reported=20
by: Pasi Eronen &lt;<A=20
href=3D"mailto:pasi.eronen@nokia.com">pasi.eronen@nokia.com</A>&gt;<BR>&g=
t;<BR>&gt;=20
Section: 7<BR>&gt;<BR>&gt; Original Text<BR>&gt; -------------<BR>&gt; =
IANA is=20
also requested to assign "netconf" as an SSH Service Name as<BR>&gt; =
defined in=20
[RFC4250], as=20
follows:<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
Service=20
Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Reference<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
---------<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
netconf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
RFC 4742<BR>&gt;<BR>&gt;<BR>&gt; Corrected Text<BR>&gt; =
--------------<BR>&gt;=20
IANA is also requested to assign "netconf" as an SSH Connection<BR>&gt; =
Protocol=20
Subsystem Name as defined in [RFC4250], as=20
follows:<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
Subsystem=20
Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
Reference<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
-------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
---------<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
netconf&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
RFC 4742<BR>&gt;<BR>&gt;<BR>&gt; Notes<BR>&gt; -----<BR>&gt; The IANA =
registry=20
(<A=20
href=3D"http://www.iana.org/assignments/ssh-parameters">http://www.iana.o=
rg/assignments/ssh-parameters</A>)<BR>&gt;=20
also needs to be fixed.<BR>&gt;<BR>&gt; Instructions:<BR>&gt;=20
-------------<BR>&gt; This errata is currently posted as "Reported". If=20
necessary, please<BR>&gt; use "Reply All" to discuss whether it should =
be=20
verified or<BR>&gt; rejected. When a decision is reached, the verifying =
party=20
(IESG)<BR>&gt; can log in to change the status and edit the report, if=20
necessary.<BR>&gt;<BR>&gt; =
--------------------------------------<BR>&gt;=20
RFC4742 (draft-ietf-netconf-ssh-06)<BR>&gt;=20
--------------------------------------<BR>&gt;=20
Title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
: Using the NETCONF Configuration Protocol over&nbsp; <BR>&gt; Secure =
SHell=20
(SSH)<BR>&gt; Publication Date&nbsp;&nbsp;&nbsp; : December 2006<BR>&gt; =

Author(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : =
M.=20
Wasserman, T. Goddard<BR>&gt;=20
Category&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
; :=20
PROPOSED STANDARD<BR>&gt;=20
Source&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
: Network Configuration<BR>&gt;=20
Area&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
: Operations and Management<BR>&gt;=20
Stream&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
: IETF<BR>&gt; Verifying Party&nbsp;&nbsp;&nbsp;&nbsp; :=20
IESG<BR><BR></BODY></HTML>

------=_NextPart_000_1704_01C99837.ABBE2BC0--


From andy@netconfcentral.com  Thu Feb 26 10:46:13 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E54413A6BBC for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 10:46:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.874
X-Spam-Level: 
X-Spam-Status: No, score=-1.874 tagged_above=-999 required=5 tests=[AWL=-0.209, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_74=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v0Ett39ijruw for <netconf@core3.amsl.com>; Thu, 26 Feb 2009 10:46:13 -0800 (PST)
Received: from smtp123.sbc.mail.sp1.yahoo.com (smtp123.sbc.mail.sp1.yahoo.com [69.147.64.96]) by core3.amsl.com (Postfix) with SMTP id 34E8B3A6822 for <netconf@ietf.org>; Thu, 26 Feb 2009 10:46:13 -0800 (PST)
Received: (qmail 84141 invoked from network); 26 Feb 2009 18:46:35 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.240.116 with plain) by smtp123.sbc.mail.sp1.yahoo.com with SMTP; 26 Feb 2009 18:46:34 -0000
X-YMail-OSG: MFxM9tEVM1mwLBbrjjdmK1WaTQ.DZX2N2tNZzV7pRl1V1RA2jh14D0EwNqX3vKasu4Ts3w6P6UcdPxv7u890fpmsLxQ.egyNfrGTH2XpnqeYJ_s6mCP.Xc.MAHhOmnRowTMnFjVavGlY_xc0vW_jODxW
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A6E389.4010307@netconfcentral.com>
Date: Thu, 26 Feb 2009 10:46:33 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
References: <49A43B6D.7050308@netconfcentral.com> <49A6581F.4040808@ericsson.com>
In-Reply-To: <49A6581F.4040808@ericsson.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: NETCONF <netconf@ietf.org>
Subject: Re: [Netconf] with-defaults.yang
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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, 26 Feb 2009 18:46:14 -0000

Balazs Lengyel wrote:
> Hello Andy,
> 
> 
> Andy Bierman wrote:
>> Hi,
>>
>> I think the attached YANG module is closer to the syntax
>> that Phil and others expected for the <with-defaults> leaf,
>> than the current draft.
>>
>> I prefer that the new leaf be defined in one specific
>> XML namespace.  The text about "if no namespace is used,
>> then the agent MUST accept it anyway" contradicts the
>> XML standard, which NETCONF must follow. (2.5, para 4)
> 
> 
> BALAZS: OK I will remove the sentence "if no namespace ..."
> Otherwise I think your YANG is the same as what the current text and the 
> XSD describe. Do you see any difference?
> 

no, that is it.

> We could include the YANG as a non-normative appendix. The reason I 
> would rather not do this is that there is no official/semi-official YAM 
> for the Netconf XSD.
> 

The syntax specification is problematic either way.

The NETCONF XSD does not support the additions needed,
so it must be edited, which has to wait for 4741-bis.

The netconf.yang module is non-normative, but so
is with-defaults.yang, so that's OK.  But
it doesn't help, because a normative syntax is
still needed.  I do not want the with-defaults RFC
cut-and-pasting the entire NETCONF XSD to add a leaf in 3 places.

This issue (adding parameters to existing operations)
is likely to keep coming up over the years so I suggest
the WG figures out a way to deal with it.


> Balazs
> 
> 

Andy


From andy@netconfcentral.com  Fri Feb 27 12:08:16 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 76D763A68A6 for <netconf@core3.amsl.com>; Fri, 27 Feb 2009 12:08:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.599
X-Spam-Level: 
X-Spam-Status: No, score=-1.599 tagged_above=-999 required=5 tests=[AWL=-0.489, BAYES_05=-1.11]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vlpB2QfEC7QX for <netconf@core3.amsl.com>; Fri, 27 Feb 2009 12:08:15 -0800 (PST)
Received: from n19.bullet.mail.mud.yahoo.com (n19.bullet.mail.mud.yahoo.com [68.142.206.146]) by core3.amsl.com (Postfix) with SMTP id 277303A681C for <netconf@ietf.org>; Fri, 27 Feb 2009 12:08:15 -0800 (PST)
Received: from [68.142.194.243] by n19.bullet.mail.mud.yahoo.com with NNFMP; 27 Feb 2009 20:08:38 -0000
Received: from [68.142.201.70] by t1.bullet.mud.yahoo.com with NNFMP; 27 Feb 2009 20:08:38 -0000
Received: from [127.0.0.1] by omp422.mail.mud.yahoo.com with NNFMP; 27 Feb 2009 20:08:38 -0000
X-Yahoo-Newman-Id: 34348.71103.bm@omp422.mail.mud.yahoo.com
Received: (qmail 42439 invoked from network); 27 Feb 2009 20:08:37 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.240.116 with plain) by smtp110.sbc.mail.sp1.yahoo.com with SMTP; 27 Feb 2009 20:08:36 -0000
X-YMail-OSG: onWI7pgVM1lJUvqo1aXuIhUcPx_g2ARZ.d2QwwjyrKNpy3GXhyzf32hHg5fw8_v4oTku5r5ysv_CPZLfLSY8NKlHTgsOj7lY5z8AwBvkOmhfVOWruaTG4JEccqZIoQFs1Zn7rpXkvTWdrfZo1lyrOc0G
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A84843.5060108@netconfcentral.com>
Date: Fri, 27 Feb 2009 12:08:35 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: NETCONF <netconf@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [Netconf] 2 more netconf-monitoring-03 comments
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Fri, 27 Feb 2009 20:08:16 -0000

Hi,

12) The example on pg 10 shows the schema being returned
     in a CDATA section.  I don't think this is needed,
     because the <data> element as type 'any'.  Whatever
     format is inserted will be valid XML (although YANG
     files will have some chars converted to character entities).
     Inserting a valid XSD should be OK without CDATA, right?

13) The key-stmt for the schema list in the YANG module
     seems to be in the wrong order.  The leaf order matches
     the XSD (identifier, version, format) but the key
     is ordered "identifier format version"?  This is a bug,
     right?  The key order should match the leaf order.



Andy



From Washam.Fan@huaweisymantec.com  Fri Feb 27 18:16:40 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CF2D53A695A for <netconf@core3.amsl.com>; Fri, 27 Feb 2009 18:16:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.239
X-Spam-Level: 
X-Spam-Status: No, score=-2.239 tagged_above=-999 required=5 tests=[AWL=0.360,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uNdpB19itfX2 for <netconf@core3.amsl.com>; Fri, 27 Feb 2009 18:16:40 -0800 (PST)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [121.15.168.142]) by core3.amsl.com (Postfix) with ESMTP id AC2193A6946 for <netconf@ietf.org>; Fri, 27 Feb 2009 18:16:39 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KFR00K827O85Y50@hstga01-in.huaweisymantec.com> for netconf@ietf.org; Sat, 28 Feb 2009 10:16:58 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KFR00F097O6Z600@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Sat, 28 Feb 2009 10:16:56 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Sat, 28 Feb 2009 10:16:54 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Andy Bierman <andy@netconfcentral.com>
Message-id: <fc99d5ab5347.49a90f16@huaweisymantec.com>
Date: Sat, 28 Feb 2009 10:16:54 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
In-reply-to: <49A84843.5060108@netconfcentral.com>
References: <49A84843.5060108@netconfcentral.com>
Cc: NETCONF <netconf@ietf.org>
Subject: Re: [Netconf] 2 more netconf-monitoring-03 comments
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sat, 28 Feb 2009 02:16:41 -0000

> Hi,
>  
>  12) The example on pg 10 shows the schema being returned
>       in a CDATA section.  I don't think this is needed,
>       because the <data> element as type 'any'.  Whatever
>       format is inserted will be valid XML (although YANG
>       files will have some chars converted to character entities).
>       Inserting a valid XSD should be OK without CDATA, right?

To my knowledge, CDATA is used to prevent text containing 
too many illegal chars (e.g. '<','&') from getting parsed.
a Valid XSD contains too many '<', right? Of course, you can
convert all of them into "&lt;", but CDATA is a simpler way.
Note that, A CDATA section cannot contain the string "]]>",
what if the XSD contains "]]>"? CDATA should not be used
in this case.
IMHO, CDATA can be freely used but not mandatory to be
used and should not be used when the XSD contains "]]>".

washam

>  13) The key-stmt for the schema list in the YANG module
>       seems to be in the wrong order.  The leaf order matches
>       the XSD (identifier, version, format) but the key
>       is ordered "identifier format version"?  This is a bug,
>       right?  The key order should match the leaf order.
>  
>  
>  
>  Andy
>  


From Washam.Fan@huaweisymantec.com  Sat Feb 28 00:26:48 2009
Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 46F763A6930 for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 00:26:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.958
X-Spam-Level: 
X-Spam-Status: No, score=-1.958 tagged_above=-999 required=5 tests=[AWL=0.041,  BAYES_00=-2.599, J_CHICKENPOX_26=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4v6JK6btMiVE for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 00:26:47 -0800 (PST)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [121.15.168.142]) by core3.amsl.com (Postfix) with ESMTP id 4D0AE3A6823 for <netconf@ietf.org>; Sat, 28 Feb 2009 00:26:46 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KFR00KXTOT65Y70@hstga01-in.huaweisymantec.com> for netconf@ietf.org; Sat, 28 Feb 2009 16:27:08 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KFR00FKSOT4Z400@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Sat, 28 Feb 2009 16:27:06 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Sat, 28 Feb 2009 16:27:04 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: netconf@ietf.org
Message-id: <fc10ec11b76.49a965d8@huaweisymantec.com>
Date: Sat, 28 Feb 2009 16:27:04 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
Subject: [Netconf] netconf-monitoring-03 comments
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sat, 28 Feb 2009 08:26:48 -0000

Hi,

1)
para2 & a part of para3, abstract: 

   Today, NETCONF capabilities exchange is the only standardized method
   a client can use to discover the functionality supported by a NETCONF
   server.  This works well for static protocol capabilities but is not
   well suited for capabilities which could change during a session.

   Considerations such as different schema formats, feature optionality
   and access controls can all impact the applicability and level of
   detail the NETCONF server sends to a client during session setup.
   Through updated monitoring data NETCONF clients can adjust their
   capabilities throughout a session.

sec 2.1.1:

   The list of capabilities supported by the NETCONF server.  The list
   MUST include all capabilities exchanged during session setup still
   applicable at the time of the request.  This ensures consistency with
   the initial capabilities exchanged while allowing for potential
   modifications during a session.

IIRC, There was a discussion about if capabilities exchanged at the begin 
of a session should be changed later. I don't know if there has been a
consensus on this issue.

2)
para1, sec 1

   This document defines NETCONF content via [XMLSchema] to be used to
   monitor the NETCONF protocol.  It provides information about NETCONF
   sessions and subscriptions.

Why leaving out capabilities, configurations, schemas, statistics?

3)
sec 2.1.2:

name (type: NETCONFDatastoreType)
     Enumeration of supported datastores; candidate, running, startup.

I am not sure if user-defined datastores should be considered here.

4)
last para2,sec 2.1.3:

At least one schema entry SHOULD be available to support retrieval.

That makes little sense. s/schema entry/location/. I suggest add some
text to state multiple locations are allowed. Because I don't see
that until I read the XSD.

5)
sec 2.1.4:

sessionId (type: SessionId)
     Unique identifier for the session.

Would you like to add some text to state how to identify non-Netconf sessions?

6)
para1, sec 3.2:

   Since the same schema may be supported in
   multiple locations and/or have multiple versions and/or multiple
   formats no particular attribute is unique.

This sentence is a little confused to me maybe as I am not an native speaker.

7)
last character, para3, sec 3.2:

http.i

???

8) There is some inconsistency betweem some place in sec2 and
XSD defined in sec5. I assume the XSD is correct, 

para2, sec 2.1.4:
sessions (type: ManagementSessionInfo):
s/ManagementSessionInfo/ManagementSession/

para2, sec 2.1.6:
managementStatistics(type: ManagementPerformanceStatistics):
s/managementStatistics/statistics/
s/managementPerformanceStatistics/managementStatistics/

9) a typo:
sentence 3, para1, sec 3.2:
Available schema for the requesting session are
s/shema/schemas/

10) one more thing, it is a little confused to state
capabilities (type:  xs:anyURI)        <-- sec 2.1
xs:anyURI is not the type of capabilities, capabilities
is sequence of capability whose type is xs:anyURI.
And this exists in some other places, too.

washam




From mbj@tail-f.com  Sat Feb 28 03:59:01 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 37AD13A69BF for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 03:59:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.958
X-Spam-Level: 
X-Spam-Status: No, score=-1.958 tagged_above=-999 required=5 tests=[AWL=0.088,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YvcJG-GIC+mP for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 03:59:00 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 6A1B73A6978 for <netconf@ietf.org>; Sat, 28 Feb 2009 03:59:00 -0800 (PST)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id B4FF576C340; Sat, 28 Feb 2009 12:59:22 +0100 (CET)
Date: Sat, 28 Feb 2009 12:59:22 +0100 (CET)
Message-Id: <20090228.125922.63523184.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <49A84843.5060108@netconfcentral.com>
References: <49A84843.5060108@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] 2 more netconf-monitoring-03 comments
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sat, 28 Feb 2009 11:59:01 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> Hi,
> 
> 12) The example on pg 10 shows the schema being returned
>      in a CDATA section.  I don't think this is needed,
>      because the <data> element as type 'any'.  Whatever
>      format is inserted will be valid XML (although YANG
>      files will have some chars converted to character entities).
>      Inserting a valid XSD should be OK without CDATA, right?

Yes you're right.  The CDATA should be removed.
 
> 13) The key-stmt for the schema list in the YANG module
>      seems to be in the wrong order.  The leaf order matches
>      the XSD (identifier, version, format) but the key
>      is ordered "identifier format version"?  This is a bug,
>      right?  The key order should match the leaf order.

Yes.


/martin

From mbj@tail-f.com  Sat Feb 28 04:41:12 2009
Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2FF2A3A6843 for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 04:41:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.661
X-Spam-Level: 
X-Spam-Status: No, score=-1.661 tagged_above=-999 required=5 tests=[AWL=-0.215, BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_27=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kiFkO9BX8DZT for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 04:41:11 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 44A0E3A680C for <netconf@ietf.org>; Sat, 28 Feb 2009 04:41:10 -0800 (PST)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 3739F76C340; Sat, 28 Feb 2009 13:41:34 +0100 (CET)
Date: Sat, 28 Feb 2009 13:41:33 +0100 (CET)
Message-Id: <20090228.134133.180462305.mbj@tail-f.com>
To: Washam.Fan@huaweisymantec.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <fc99d5ab5347.49a90f16@huaweisymantec.com>
References: <49A84843.5060108@netconfcentral.com> <fc99d5ab5347.49a90f16@huaweisymantec.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] 2 more netconf-monitoring-03 comments
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sat, 28 Feb 2009 12:41:12 -0000

WashamFan <Washam.Fan@huaweisymantec.com> wrote:
> > Hi,
> >  
> >  12) The example on pg 10 shows the schema being returned
> >       in a CDATA section.  I don't think this is needed,
> >       because the <data> element as type 'any'.  Whatever
> >       format is inserted will be valid XML (although YANG
> >       files will have some chars converted to character entities).
> >       Inserting a valid XSD should be OK without CDATA, right?
> 
> To my knowledge, CDATA is used to prevent text containing 
> too many illegal chars (e.g. '<','&') from getting parsed.

Yes, so CDATA would have been used if the type was "xs:string", but
in this case the type is "xs:anyType", which means that any valid XML
is accepted.  An XSD is of course valid XML.

BTW, it's not *wrong* to have the CDATA there, but it changes the
content of the <data> element - with the CDATA the content is a
string, w/o it the content is an XML element.

Hmm.  Maybe we should not re-use the 'data' element, but instead use
our own element which is a string?  By using xs:anyType, a client must
be prepared to handle this reply:

     <rpc-reply message-id="101"
                xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
     <data xmlns:xs="http://www.w3.org/2001/XMLSchema">
       <![CDATA[
       <xs:schema targetNamespace="urn:ietf:params:xml:ns:netconf:state">
         <!-- Contents of foo schema would be returned here -->
       </xs:schema>]]>
     </data>
   </rpc-reply>

I.e. the "xs" prefix is declared on the "data", so the client cannot
just extract the content of "data" and store it as an XSD file.



/martin

From andy@netconfcentral.com  Sat Feb 28 09:23:51 2009
Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2B22A3A696C for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 09:23:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.16
X-Spam-Level: 
X-Spam-Status: No, score=-2.16 tagged_above=-999 required=5 tests=[AWL=0.105,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B2wO2t9Oscln for <netconf@core3.amsl.com>; Sat, 28 Feb 2009 09:23:50 -0800 (PST)
Received: from smtp120.sbc.mail.sp1.yahoo.com (smtp120.sbc.mail.sp1.yahoo.com [69.147.64.93]) by core3.amsl.com (Postfix) with SMTP id 55F873A6841 for <netconf@ietf.org>; Sat, 28 Feb 2009 09:23:50 -0800 (PST)
Received: (qmail 87717 invoked from network); 28 Feb 2009 17:24:14 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.126.129.49 with plain) by smtp120.sbc.mail.sp1.yahoo.com with SMTP; 28 Feb 2009 17:24:13 -0000
X-YMail-OSG: D554FCgVM1kE9rfFyMApkC.NAw3tttKrLhjGSwAe8jh6LEYjD8i_S0lb0Q2p8sUgUP1Z6Y8NU.qjyRO9ygZ6auznSYVZ.I2z_2BUHO_P3_QNgQ6ooRBK54b_IGiCK7q2nu7x4lgJSSnXptoe9YT5tl3A8e8xCCaQvfmPiHRdD8A2Rknj5aWWeW1H
X-Yahoo-Newman-Property: ymail-3
Message-ID: <49A9733C.8090107@netconfcentral.com>
Date: Sat, 28 Feb 2009 09:24:12 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: NETCONF <netconf@ietf.org>
References: <49A58148.4070704@netconfcentral.com>
In-Reply-To: <49A58148.4070704@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [Netconf] comments on netconf-monitoring-03 draft
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/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: Sat, 28 Feb 2009 17:23:51 -0000

Hi,


Remove issue (5) from the list.
I realized that 'locks' is a non-presence container
so it must not be returned if it is empty.

3 more comments on counters:

14) The counter conditions are specific -- that's good,
     except inBadRpcs.  The words 'parsed correctly'
     implies well-formed XML.  If so, then another
     counter should be added for invalid XML messages received.

15) Is inRpcs == outRpcReplies always true?
     If not, why not?  (If yes, why do both counters exist?)

16) Is inBadRpcs == outRpcErrors always true?
     If not, why not?  (If yes, why do both counters exist?)


Andy


> I have some initial comments, not sure if they
> are already resolved or not:
> 
>  1) bug: top of pg 16, example
>     <rpc> start-tag paired with </rpc-reply> end-tag
> 
>  2) netconf container
>     What about renaming it to 'netconf-state'?
>     IMO this sets a clear and workable precedent.
>     Use 1 top-level element with the same name as
>     the YANG module.  It also solves the problem of
>     a read-only vs. read-write /netconf container.
> 
>  3) <capabilities>
>     Should this element be the exact capabilities given
>     in the <hello> or should the netconf namespace be
>     changed to the netconf-state namespace (as the draft
>     defines now)? IMO it is confusing and code which
>     understands the <hello> cannot be reused to handle
>     the netconf-state data-model.
> 
>  4) static <configuration> elements
>     I assume there will be always be an entry for each of the
>     3 databases supported by the agent. I.e., at least one
>     entry for <running>.  Adding and deleting these based
>     on the current state of the locks would complicate things.
> 
>  5) empty <locks/> OK?
>     It seems useful and convenient to be able to return
>     an empty locks container, especially if there are
>     lots of partial locks or a big database.
>     An implementation should not need to search out all
>     the partial locks twice (w/ added race condition) to
>     make sure there really is at least 1 partial lock to report.
> 
>  6) session drops
>     a) The inBadHellos object should mention that sessions
>        dropped because a <hello> was never received are also
>        included in this counter.
>     b) should there be an 'abnormalTerminations' counter
>        to count any sessions terminated for an abnormal
>        reason (i.e., other than close-session, kill-session,
>        already counted in inBadHellos)
>     c) should transport connection drops by the manager be
>        counted in any way?
> 
>  7) usage statistics
>     There is no total bytes counters, only message counters.
>     Is this on purpose?  Were usage statistics rejected?
> 
>  8) per-session statistics
>     There are none.  Is it worth it to add them, perhaps
>     as an additional capability?  Perhaps more than one session
>     is active at the same time.  The global counters
>     will not give a clean view of the problem, and be useless.
> 
>  9) get-schema RPC operation
>     The positive and negative response parts of the template are
>     missing.  What errors are to be expected?  Is it operation-failed
>     if the module name/revision are not found?  What if the requested
>     format is not available?
> 
> 10) User name
>     This field is fairly vague, which matches the NETCONF architecture
>     wrt/ this subject.  What is the 'owner'?  Should there be
>     some more text here?  This is going to show up later
>     for access control work, so might as well get it correct now.
> 
> 11) Documentation style
>     I really like the 'info-model' style of documentation much
>     better than the MIB style.  It is easy to read and easy to
>     find stuff.  I hope all NETCONF data model drafts follow this style.
> 
> 
> Andy
> 
> 
> 
> 
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> 
> 



Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 910163A695B for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 12:18:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.011
X-Spam-Level: 
X-Spam-Status: No, score=-2.011 tagged_above=-999 required=5 tests=[AWL=0.035,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q9-apgJuxkeF for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 12:18:56 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id C2B353A6805 for <netconf@ietf.org>; Tue,  3 Feb 2009 12:18:56 -0800 (PST)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id 48E1176C22F; Tue,  3 Feb 2009 21:18:33 +0100 (CET)
Date: Tue, 03 Feb 2009 21:18:32 +0100 (CET)
Message-Id: <20090203.211832.200602435.mbj@tail-f.com>
To: j.schoenwaelder@jacobs-university.de
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <20090203114242.GA27315@elstar.iuhb02.iu-bremen.de>
References: <20090203114242.GA27315@elstar.iuhb02.iu-bremen.de>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] error info none
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 03 Feb 2009 20:18:57 -0000

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
> Appendix A defines the NETCONF error list and it sometimes says:
> 
>    Error-info:  none
> 
> What is the interpretation of this? Does it mean an implementation
> MUST not generate an error-info or does it mean an implementation MAY
> generate an error-info at its discretion but is not required to do so?

I hope it is the latter ;-)  I don't see how a MUST NOT could be
warranted, i.e. I don't see how including an error-info would hurt
interoperability.

Currently, the 'invalid-value' error says "Error-info: none".  In my
code, I generate a 'bad-element' error-info.  But maybe this should be
viewed as a bug in the spec - an 'invalid-value' error that does not
specify which element contains the invalid value is not very
useful...

I have never quite understood if an Appendix is non-normative or
normative if it isn't spelled out.  Shouldn't this list be normative?



/martin



Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EB4C03A69D0 for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 13:52:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.194
X-Spam-Level: 
X-Spam-Status: No, score=-2.194 tagged_above=-999 required=5 tests=[AWL=0.071,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RqVTH0thNBwO for <netconf@core3.amsl.com>; Tue,  3 Feb 2009 13:52:57 -0800 (PST)
Received: from smtp128.sbc.mail.sp1.yahoo.com (smtp128.sbc.mail.sp1.yahoo.com [69.147.65.187]) by core3.amsl.com (Postfix) with SMTP id 3B0613A6805 for <netconf@ietf.org>; Tue,  3 Feb 2009 13:52:57 -0800 (PST)
Received: (qmail 97694 invoked from network); 3 Feb 2009 21:52:37 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.127.164.237 with plain) by smtp128.sbc.mail.sp1.yahoo.com with SMTP; 3 Feb 2009 21:52:37 -0000
X-YMail-OSG: taQHXqAVM1nam9Op1qmV1qJcctRFu._ewubBBmTxQDzDiwDxa9ocV4LzncFTunbp_ZBYF0sIV36EC3iOUfyVICbv_ZSwFAFH_2Ub99YxgR.iC4xHaz9krH8Ols9PbZBVXO2vcsHV8ghFnL8HzRcNgSCDMnLaqL_Id4GArG8m369MOBA9iYt_x.oEsALR4n.AbpJRxUWvO42FqmgGRj8VnMAW2DE0wAJBdTYkCd8-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4988BCA4.4030808@netconfcentral.com>
Date: Tue, 03 Feb 2009 13:52:36 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Martin Bjorklund <mbj@tail-f.com>
References: <20090203114242.GA27315@elstar.iuhb02.iu-bremen.de> <20090203.211832.200602435.mbj@tail-f.com>
In-Reply-To: <20090203.211832.200602435.mbj@tail-f.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] error info none
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 03 Feb 2009 21:52:58 -0000

Martin Bjorklund wrote:
> Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> wrote:
>> Appendix A defines the NETCONF error list and it sometimes says:
>>
>>    Error-info:  none
>>
>> What is the interpretation of this? Does it mean an implementation
>> MUST not generate an error-info or does it mean an implementation MAY
>> generate an error-info at its discretion but is not required to do so?
> 
> I hope it is the latter ;-)  I don't see how a MUST NOT could be
> warranted, i.e. I don't see how including an error-info would hurt
> interoperability.
> 
> Currently, the 'invalid-value' error says "Error-info: none".  In my
> code, I generate a 'bad-element' error-info.  But maybe this should be
> viewed as a bug in the spec - an 'invalid-value' error that does not
> specify which element contains the invalid value is not very
> useful...
> 
> I have never quite understood if an Appendix is non-normative or
> normative if it isn't spelled out.  Shouldn't this list be normative?
> 
> 

I can tell you that the intent of the WG at the time
was to specify which standard error-info elements
must be present.  The intent of the WG was always
that error-info was like SNMPv2 NOTIFICATION VARBINDS.
A vendor is free to add additional info to the end
of the standard list.


> 
> /martin

Andy



Return-Path: <wwwrun@core3.amsl.com>
X-Original-To: netconf@ietf.org
Delivered-To: netconf@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 30) id B56AA3A6A8E; Tue,  3 Feb 2009 14:17:27 -0800 (PST)
From: IESG Secretary <iesg-secretary@ietf.org>
To: IETF Announcement list <ietf-announce@ietf.org>
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0
Message-Id: <20090203221727.B56AA3A6A8E@core3.amsl.com>
Date: Tue,  3 Feb 2009 14:17:27 -0800 (PST)
Cc: netconf@ietf.org
Subject: [Netconf] WG Action: RECHARTER: Network Configuration (netconf)
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 03 Feb 2009 22:17:28 -0000

The Network Configuration (netconf) working group in the Operations and
Management Area of the IETF has been rechartered.  For additional
information, please contact the Area Directors or the working group
Chairs.

Network Configuration (netconf) 
================================ 

Current Status: Active Working Group

Last Modified: 2008-12-16

Additional information is available at tools.ietf.org/wg/netconf

Chair(s):
Bert Wijnen <bertietf@bwijnen.net>
Mehmet Ersue <mehmet.ersue@nsn.com>

Operations and Management Area Director(s):
Dan Romascanu <dromasca@avaya.com>
Ronald Bonica <rbonica@juniper.net>

Operations and Management Area Advisor:
Dan Romascanu <dromasca@avaya.com>

Technical Advisor(s):
Charlie Kaufman <charliek@microsoft.com>

Mailing Lists:
General Discussion: netconf@ietf.org
To Subscribe: netconf-request@ietf.org
In Body: in msg body: subscribe
Archive: http://www.ietf.org/mail-archive/web/netconf/

Description of Working Group:
Charlie Kaufman is Technical Advisor for Security Matters

Configuration of networks of devices has become a critical requirement
for operators in today's highly interoperable networks. Operators from
large to small have developed their own mechanisms or used vendor
specific mechanisms to transfer configuration data to and from a
device, and for examining device state information which may impact
the configuration. Each of these mechanisms may be different in
various aspects, such as session establishment, user authentication,
configuration data exchange, and error responses.

The NETCONF Working Group is chartered to produce a protocol suitable
for network configuration, with the following characteristics:

- Provides retrieval mechanisms which can differentiate between
  configuration data and non-configuration data
- Is extensible enough so that vendors will provide access to all
  configuration data on the device using a single protocol
- Has a programmatic interface (avoids screen scraping and
  formatting-related changes between releases)
- Uses a textual data representation, that can be easily manipulated
  using non-specialized text manipulation tools.
- Supports integration with existing user authentication methods
- Supports integration with existing configuration database systems
- Supports network wide configuration transactions (with features such
  as locking and rollback capability)
- Is as transport-independent as possible
- Provides support for asynchronous notifications.

The NETCONF protocol is using XML for data encoding purposes, because
XML is a widely deployed standard which is supported by a large number
of applications.

The NETCONF protocol should be independent of the data definition
language and data models used to describe configuration and state
data.

However, the authorization model used in the protocol is dependent on
the data model. Although these issues must be fully addressed to
develop standard data models, only a small part of this work will be
initially addressed. This group will specify requirements for standard
data models in order to fully support the NETCONF protocol, such as:

- identification of principals, such as user names or distinguished names
- mechanism to distinguish configuration from non-configuration data
- XML namespace conventions
- XML usage guidelines

The initial work started in 2003 and has already been completed and was
restricted to following items:

  a) NETCONF Protocol Specification, which defines the operational model,

     protocol operations, transaction model, data model requirements,
     security requirements, and transport layer requirements.
  b) NETCONF over SSH Specification: Implementation Mandatory,
  c) NETCONF over BEEP Specification: Implementation Optional,
  d) NETCONF over SOAP Specification: Implementation Optional.

  These documents define how the NETCONF protocol is used with each
  transport protocol selected by the working group, and how it meets
  the security and transport layer requirements of the NETCONF Protocol
  Specification.

  e) NETCONF Notification Specification, which defines mechanisms that
     provide an asynchronous message notification delivery service for
     the NETCONF protocol.  NETCONF Notification is an optional
     capability built on top of the base NETCONF definition and
     provides the capabilities and operations necessary to support
     this service.

  The NETCONF notification specification has been finished now as well.

In the current phase of the incremental development of NETCONF the
workgroup will focus on following items:

1. Fine-grain locking: The base NETCONF protocol only provides a lock
   for the entire configuration datastore, which is not deemed to meet
   important operational and security requirements. The NETCONF working
   group will produce a standards-track RFC specifying a mechanism for
   fine-grain locking of the NETCONF configuration datastore.

2. NETCONF monitoring: It is considered best practice for IETF working
   groups to include management of their protocols within the scope of
   the solution they are providing. The NETCONF working group will
   produce a standards-track RFC with mechanisms allowing NETCONF
   itself to be used to monitor some aspects of NETCONF operation.

3. Schema advertisement: Currently the NETCONF protocol is able to
   advertise which protocol features are supported on a particular
   netconf-capable device. However, there is currently no way to discover
   which XML Schema are supported on the device. The NETCONF working
   group will produce a standards-track RFC with mechanisms making this
   discovery possible (this item may be merged with "NETCONF monitoring"
   into a single document).

   Note: The schema-advertisement material has been merged into the
   NETCONF monitoring document based on WG consensus.

4. NETCONF over TLS: Based on implementation experience there is a
   need for a standards track document to define NETCONF over TLS as an
   optional transport for the NETCONF protocol.

5. NETCONF default handling: NETCONF today does not define whether
   default values should be returned by the server in replies
   to requests for reading configuration and state data. Different
   clients have different needs to receive or not to receive
   default data. The NETCONF working group will produce a
   standards-track RFC defining a mechanism that allows
   NETCONF clients to control whether default data is returned
   by the netconf server.

6. NETCONF implementations have shown that the specification in RFC4741
   is not 100% clear and has lead to different interpretations and
implementations. 
   Also some errors have been uncovered. So the WG will do an rfc4741bis
with
   following constraints:

     - bug fixes are to be done
     - clarifications can be done
     - extensions can be done only when needed to fix bugs 
       or inconsistencies (i.e. we are not doing a NETCONF V2)
     - The work can be started based on the discussion in IETF #73 (see
        http://www.ietf.org/proceedings/08nov/slides/netconf-3.pdf).

   Note: A technical errata has been posted on rfc4742. If the work on
   rfc4741bis uncovers any additional fixes/clarifications that need
   to be made to rfc4742, the WG may consider to also do a rfc4742bis
   as part of this work-item.

The following items have been identified as important but are currently
not considered in scope for re-chartering and may be candidates for work
when there is community consensus to take them on:

- NETCONF Notification content
- Access Control requirements
- NETCONF access to SMI-based MIB data


Goals and Milestones:
Done   Working Group formed
Done   Submit initial Netconf Protocol draft
Done   Submit initial Netconf over (transport-TBD) draft
Done   Begin Working Group Last Call for the Netconf Protocol draft
Done   Begin Working Group Last Call for the Netconf over (transport-TBD)
            draft
Done Submit   final version of the Netconf Protocol draft to the IESG
Done   Submit final version of the Netconf over SOAP draft to the IESG
Done   Submit final version of the Netconf over BEEP draft to the IESG
Done   Submit final version of the Netconf over SSH draft to the IESG
Done   Update charter
Done   Submit first version of NETCONF Notifications document
Done   Begin WGLC of NETCONF Notifications document
Done   Submit final version of NETCONF Notifications document to IESG
            for consideration as Proposed Standard
Done   -00 draft for fine Grain Locking
Done   -00 draft for NETCONF over TLS
Done   -00 draft for NETCONF Monitoring
Done   -00 draft for Schema Advertisement
Done   Early Review of client authentication approach (for NETCONF over
            TLS) with the security community at IETF 71
N.A.     WG Last Call on Schema Advertisement after IETF72
            Schema Advertisement has been merged into Monitoring
Done    WG Last Call on NETCONF over TLS after IETF72
Done    Netconf over TLS to IESG for consideration as Proposed Standards
Dec 2008  WG Last Call on Fine Grain Locking after IETF73
Dec 2008  Send Partial Locking to IESG for consideration as Proposed
Standards
Jan 2009   Initial WG draft for with-defaults capability
Feb 2009   Initial WG draft for rfc4741bis
Mar 2009   WG Last Call on NETCONF Monitoring after IETF73
Apr 2009   WG Last Call on rfc4741bis
Apr 2009   WG Last Call on with-defaults
Jun 2009   rfc4741bis to IESG for considerations as Proposed Standard
Jun 2009   with-defaults capability to IESG for considerations as Proposed
Standard






Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BDF3428C0F8 for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 03:09:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.231
X-Spam-Level: *
X-Spam-Status: No, score=1.231 tagged_above=-999 required=5 tests=[AWL=-0.927,  BAYES_50=0.001, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QxnmIlNVWxxq for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 03:09:07 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id EF4483A69A8 for <netconf@ietf.org>; Wed,  4 Feb 2009 03:09:05 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LUfcX-0006oh-Px for netconf@ietf.org; Wed, 04 Feb 2009 12:08:42 +0100
Message-ID: <9FD9A49416344172A97ECE53D86A15F7@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Netconf" <netconf@ietf.org>
Date: Wed, 4 Feb 2009 12:07:40 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0999_01C986C1.2D1AA1E0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Subject: [Netconf] WGLC for draft-ietf-netconf-monitoring-03.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 04 Feb 2009 11:09:07 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0999_01C986C1.2D1AA1E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Over the last few weeks we have seen some comments psoted w.r.t. this =
draft.
However, we NEED more input from as many WG participants as possible.

So this is a WG Last Call fro this document. End of WGLC is 18 feb 2009.

The document is intended to go for standards track.

Bert and Mehmet
------=_NextPart_000_0999_01C986C1.2D1AA1E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Over the last few weeks we have seen some comments =
psoted=20
w.r.t. this draft.</FONT></DIV>
<DIV><FONT size=3D2>However, we NEED more input from as many WG =
participants as=20
possible.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>So this is a WG Last Call fro this document. End of =
WGLC is 18=20
feb 2009.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>The document is intended to go for standards=20
track.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert and Mehmet</FONT></DIV></BODY></HTML>

------=_NextPart_000_0999_01C986C1.2D1AA1E0--



Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id F2F993A6C76 for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 08:32:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.011
X-Spam-Level: 
X-Spam-Status: No, score=-3.011 tagged_above=-999 required=5 tests=[AWL=-0.413, BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2OeXjG+2BiwF for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 08:32:02 -0800 (PST)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [217.115.75.234]) by core3.amsl.com (Postfix) with ESMTP id 2E34C3A6946 for <netconf@ietf.org>; Wed,  4 Feb 2009 08:32:01 -0800 (PST)
Received: from demuprx017.emea.nsn-intra.net ([10.150.129.56]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n14GVdA9029533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 4 Feb 2009 17:31:39 +0100
Received: from demuexc023.nsn-intra.net (demuexc023.nsn-intra.net [10.150.128.36]) by demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n14GVdnp016083; Wed, 4 Feb 2009 17:31:39 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc023.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Wed, 4 Feb 2009 17:31:39 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C986E6.0D673EEA"
Date: Wed, 4 Feb 2009 17:31:38 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F7016344DB@DEMUEXC005.nsn-intra.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: WGLC: draft-ietf-netconf-partial-lock-05
Thread-Index: AcmGGs178sY/mvRYTJuYzexcbAIwTgADwv9wAC70V+A=
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "Balazs Lengyel" <balazs.lengyel@ericsson.com>, "Martin Bjorklund" <mbj@tail-f.com>
X-OriginalArrivalTime: 04 Feb 2009 16:31:39.0059 (UTC) FILETIME=[0DE6A830:01C986E6]
Cc: netconf@ietf.org
Subject: [Netconf] WGLC: draft-ietf-netconf-partial-lock-05
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 04 Feb 2009 16:32:03 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C986E6.0D673EEA
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi Balazs, Martin,
=20
I'm sorry I couldn't come to the partial lock draft earlier.
=20
- The XSD is valid.
=20
But I have some questions concerning XML schema, though:
=20
- Why is the count of PartialLock targets is limited to '3' ?
AFAIK a Netconf client may also define new datastores other=20
than <running>, <candidate> and <startup>.
=20
- The "target" element in the "partial-lock" elements allows to=20
repeat 1 to 3 times any of the "startup"/"candidate"/"running",
so i.e. also 3 times the same. Is this a schema design issue?
=20
- I am not sure whether datastore names should be each=20
individually in a target node. The following XML snippet ...
=20
<partial-lock xmlns=3D"urn:ietf:params:xml:ns:netconf:partial-lock:1.0"=20

xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"=20

xsi:schemaLocation=3D"urn:ietf:params:xml:ns:netconf:partial-lock:1.0=20

C:\Partial_Lock_05.xsd">

            <target/>

                        <target>

                            <candidate/>

                        </target>

                        <target>

                            <candidate/>

                        </target>

            <select/>

</partial-lock>

is accepted by XMLSpy as valid with regard to the partial lock=20
schema.=20
OTOH the description says: "Each target element MUST contain=20
a different datastore name."

- The schema requires that in "startup"/"candidate"/"running"
elements belonging to "contentPartInPartialLockReplyType"
must containt at least one "locked-node" element.=20
But in the YANG module, the "locked-node" leaf lists inside=20
"startup"/"candidate"/"running" containers do not contain a=20
"min-elements 1;" statement, so the containers may be empty,
which differs from XSD.



Cheers,
Mehmet=20

=20

------_=_NextPart_001_01C986E6.0D673EEA
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o =3D "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3492" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2>Hi Balazs, Martin,</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2>I'm sorry I couldn't come to the partial lock =
draft=20
earlier.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2>- The XSD is valid.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2>But I have some questions concerning XML =
schema,=20
though:</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2>- Why is the count of PartialLock targets is =
limited to '3'=20
?</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2>AFAIK a Netconf client may also define new =
datastores=20
</FONT></SPAN><SPAN class=3D762250418-03022009><FONT =
color=3D#0000ff><FONT=20
face=3DVerdana size=3D2>other </FONT></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
color=3D#0000ff><FONT=20
face=3DVerdana size=3D2>than </FONT><FONT face=3DVerdana =
size=3D2>&lt;running&gt;,=20
&lt;candidate&gt; and &lt;startup&gt;.</FONT></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2>- <FONT color=3D#0000ff size=3D2>The "target" =
element in the=20
"partial-lock" elements allows to </FONT></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2><FONT color=3D#0000ff size=3D2>repeat 1 to 3 =
times any of the=20
"startup"/"candidate"/"running",</FONT></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2><FONT color=3D#0000ff size=3D2>so i.e. also 3 =
times the same.=20
Is this </FONT></FONT></SPAN><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2><FONT color=3D#0000ff size=3D2>a schema=20
</FONT></FONT></SPAN><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2><FONT color=3D#0000ff size=3D2>design=20
issue?</FONT></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2><FONT color=3D#0000ff=20
size=3D2></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana=20
color=3D#0000ff size=3D2><FONT color=3D#0000ff size=3D2>- <FONT =
color=3D#0000ff size=3D2>I=20
am not sure </FONT></FONT></FONT></SPAN><SPAN =
class=3D762250418-03022009><FONT=20
face=3DVerdana color=3D#0000ff size=3D2><FONT color=3D#0000ff =
size=3D2><FONT color=3D#0000ff=20
size=3D2>whether datastore names should be each <BR>individually in=20
</FONT></FONT></FONT></SPAN><SPAN class=3D762250418-03022009><FONT=20
color=3D#0000ff><FONT color=3D#0000ff><FONT color=3D#0000ff><FONT =
face=3DVerdana=20
size=3D2>a target node. The following XML snippet=20
...</FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
color=3D#0000ff><FONT=20
color=3D#0000ff><FONT color=3D#0000ff><FONT face=3DVerdana=20
size=3D2></FONT></FONT></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
color=3D#0000ff><FONT=20
color=3D#0000ff><FONT color=3D#0000ff>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">partial-lock</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: red; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">=20
xmlns</SPAN><SPAN lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">=3D"</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">urn:ietf:params:xml:ns:netconf:partial-lock:1.0</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">"</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: red; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">=20
</SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: red; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">xmlns:xsi</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">=3D"</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">http://www.w3.org/2001/XMLSchema-instance</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">"</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: red; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">=20
</SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: red; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">xsi:schemaLocation</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">=3D"</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">urn:ietf:params:xml:ns:netconf:partial-lock:1.0=20
</SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">C:\Partial_Lock_05.xsd</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">"&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></SPAN><SPAN lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">target</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">/&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></SPAN><SPAN lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">target</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-spacerun: yes">&nbsp; </SPAN><SPAN=20
style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN><SPAN=20
style=3D"mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></SPAN><SPAN =
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">candidate</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">/&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></SPAN><SPAN lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;/</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">target</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></SPAN><SPAN lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">target</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN><SPAN style=3D"mso-spacerun: yes">&nbsp;&nbsp;&nbsp; =
</SPAN></SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">candidate</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">/&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-tab-count: =
2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></SPAN><SPAN lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;/</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">target</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><SPAN=20
style=3D"mso-tab-count: =
1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
</SPAN></SPAN><SPAN lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">select</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">/&gt;</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: black; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE"><o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal=20
style=3D"MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"><FONT =
face=3DArial><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&lt;/</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: maroon; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">partial-lock</SPAN><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; BACKGROUND: white; COLOR: blue; =
mso-bidi-font-family: Arial; mso-highlight: white; mso-ansi-language: =
DE">&gt;</SPAN></FONT><SPAN=20
lang=3DDE=20
style=3D"FONT-SIZE: 10pt; COLOR: blue; mso-bidi-font-family: Arial; =
mso-ansi-language: DE"><o:p></o:p></SPAN></P></DIV></FONT>
<P dir=3Dltr align=3Dleft><FONT face=3DVerdana><FONT size=3D2><SPAN=20
class=3D762250418-03022009>i</SPAN>s accepted by XMLSpy as valid with =
regard to=20
the partial lock <BR>schema.&nbsp;<BR><SPAN =
class=3D762250418-03022009>OTOH the=20
description says: "E</SPAN></FONT></FONT><FONT face=3DVerdana><FONT =
size=3D2>ach=20
target element MUST contain <BR>a different<SPAN =
class=3D762250418-03022009>=20
</SPAN>datastore name.<SPAN =
class=3D762250418-03022009>"</SPAN></FONT></FONT></P>
<P dir=3Dltr align=3Dleft><SPAN class=3D762250418-03022009><FONT =
face=3DVerdana size=3D2>-=20
The schema requires that in "startup"/"candidate"/"running"<BR>elements=20
belonging to "contentPartInPartialLockReplyType"<BR>must containt at =
least one=20
"locked-node" element. <BR></FONT></SPAN><SPAN =
class=3D762250418-03022009><FONT=20
face=3DVerdana size=3D2>But in the YANG module, the "locked-node" leaf =
lists inside=20
<BR></FONT></SPAN><SPAN class=3D762250418-03022009><FONT face=3DVerdana=20
size=3D2>"startup"/"candidate"/"running" containers do not contain a=20
<BR>"min-elements 1;" statement, so the containers may be =
empty,<BR>which=20
differs from XSD.<BR></FONT></SPAN><SPAN =
class=3D762250418-03022009><FONT=20
face=3DVerdana size=3D2><BR></P></FONT></SPAN></FONT></FONT></SPAN><!-- =
Converted from text/rtf format -->
<P><SPAN lang=3Dde><FONT face=3DVerdana color=3D#000080=20
size=3D2>Cheers,<BR>Mehmet</FONT></SPAN><SPAN lang=3Den-us></SPAN> </P>
<DIV><FONT face=3DVerdana color=3D#0000ff =
size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C986E6.0D673EEA--


Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 0108C3A69B9 for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 08:47:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.053
X-Spam-Level: 
X-Spam-Status: No, score=-0.053 tagged_above=-999 required=5 tests=[AWL=0.389,  BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7BHkVgHZVrv8 for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 08:47:48 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id 195D43A697B for <netconf@ietf.org>; Wed,  4 Feb 2009 08:47:47 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LUkuN-0002Yh-Lz for netconf@ietf.org; Wed, 04 Feb 2009 17:47:28 +0100
Message-ID: <5C1CDED3EAB34523B2E04A43F4EB01CB@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Netconf" <netconf@ietf.org>
Date: Wed, 4 Feb 2009 17:46:56 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0A68_01C986F0.92A6AE80"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Subject: [Netconf] Fw: [OPSAWG] start WGLC on draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 04 Feb 2009 16:47:50 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0A68_01C986F0.92A6AE80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Using my ietf user account, so the mailing list accepts my posting

Bert
----- Original Message -----=20
From: Bert Wijnen=20
To: Natale, Bob=20
Cc: opsawg@ietf.org=20
Sent: Wednesday, February 04, 2009 5:39 PM
Subject: Re: [OPSAWG] start WGLC on =
draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt


W.r.t. my second point, section 4 states:

   This document concerns only the SMI base datatypes -- i.e., the
   eleven "ObjectSyntax" datatypes defined in RFC2578.  These datatypes
   -- via tag values defined in the SMI to identify them in varbinds --
   constrain values carried "on-the-wire" in SNMP PDUs between SNMP
   management applications and SNMP agents:

And then after that colon, it lists the names of the dtaatypes as you =
define them in sect 4, namely
the names used in teh XSD.

If they refer to SMI datatype, then I would have expected OBJECT =
IDENTIFIER instead of
ObjectIdentifier and OCTET STRING instead of OctetString.

Not a big deal, but it had me put on the wrong leg at first.

By the way, in teh IANA considerations there is also text and URIs =
w.r.t.
"other 2 documents" in the "set of documents".

Bert
  ----- Original Message -----=20
  From: Natale, Bob=20
  To: Bert Wijnen (IETF)=20
  Cc: opsawg@ietf.org=20
  Sent: Wednesday, February 04, 2009 2:17 PM
  Subject: RE: [OPSAWG] start WGLC on =
draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt


  Hi Bert,

  =20

  Thanks for your comments and assessment.

  =20

  - The misspellings of "opaque" (with a "g") have been corrected.

  =20

  - The use of "datatypes" in the file name and title was, in fact, =
intended to refer to "SMI datatypes" as implied by the general usage in =
RFC 2578, Sec. 7.1, "Mapping of the Syntax Clause", to wit:

  =20

  "The SYNTAX clause, which must be present, defines the abstract data =
structure corresponding to that object.  The data structure must be one =
of the following: a base type, the BITS construct, or a textual =
convention.  (SEQUENCE OF and SEQUENCE are also possible for conceptual =
tables, see section 7.1.12).  The base types are those defined in the =
ObjectSyntax CHOICE.  A textual convention is a newly-defined type =
defined as a sub-type of a base type [3]."

  =20

  So, "datatypes" is used a bit loosely for "base types".would you =
prefer that the latter term be used?  (The document text currently makes =
it clear that it deals only with expressing the base types of RFC 2578 =
in XSD.)

  =20

  - Yes, the text that Juergen questioned is being removed (also had =
helpful guidance from David Harrington on this point), so that this =
"base types" document stands alone.

  =20

  Please confirm or clarify the second point.I will have the -05 =
version, reflecting final mods based on this last call round, ready =
immediately after expiration of the last call period (12-Feb-09).

  =20

  Cheers,

  BobN

  =20

  From: opsawg-bounces@ietf.org [mailto:opsawg-bounces@ietf.org] On =
Behalf Of Bert Wijnen (IETF)
  Sent: Wednesday, February 04, 2009 4:57 AM
  To: opsawg@ietf.org
  Subject: Re: [OPSAWG] start WGLC =
ondraft-ietf-opsawg-smi-datatypes-in-xsd-04.txt

  =20

  My comments:

  =20

  - page 7, section 4

    - speaks about opague. I think you mean opaque (with a Q)

  =20

    You may also want to make an explicit statement that those are the =
datatype

    names as ytou specify them in XSD. I first though they were the =
datatypes

    as specified in SMIv2.

  =20

  =20

  - Opague (with a G) is again used in the 1st para of sect 5.3 and=20

     in the first bullet on page 12 and also 3rd bullet.

  =20

  I share/support Juergen Shoenwaelder's comment w.r.t. the discussion =
about 3 documents

  in a document set. Where, how is that otehr work scheduled/planned?

  =20

  Other than that, this document seems fine.

  =20

  Bert

    ----- Original Message -----=20

    From: Scott O. Bradner=20

    To: opsawg@ietf.org=20

    Sent: Friday, January 30, 2009 3:10 AM

    Subject: Re: [OPSAWG] start WGLC =
ondraft-ietf-opsawg-smi-datatypes-in-xsd-04.txt

    =20


    back on Nov 6th we sent out a WGLC on=20
    draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt

    there was no response to that last call that I can=20
    find in the mail list archive (or in my memory)

    we gotta see a bit more interest than that to proceed
    with this document. =20

    So, I'll try again=20

    this is a WGLC for draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt
    please comment (one way or the other) by Feb 12

    tnx

    Scott
    _______________________________________________
    OPSAWG mailing list
    OPSAWG@ietf.org
    https://www.ietf.org/mailman/listinfo/opsawg

------=_NextPart_000_0A68_01C986F0.92A6AE80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20
"urn:schemas-microsoft-com:vml" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word" xmlns:x =3D=20
"urn:schemas-microsoft-com:office:excel" xmlns:p =3D=20
"urn:schemas-microsoft-com:office:powerpoint" xmlns:a =3D=20
"urn:schemas-microsoft-com:office:access" xmlns:dt =3D=20
"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s =3D=20
"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs =3D=20
"urn:schemas-microsoft-com:rowset" xmlns:z =3D "#RowsetSchema" xmlns:b =
=3D=20
"urn:schemas-microsoft-com:office:publisher" xmlns:ss =3D=20
"urn:schemas-microsoft-com:office:spreadsheet" xmlns:c =3D=20
"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc =3D=20
"urn:schemas-microsoft-com:office:odc" xmlns:oa =3D=20
"urn:schemas-microsoft-com:office:activation" xmlns:html =3D=20
"http://www.w3.org/TR/REC-html40" xmlns:q =3D=20
"http://schemas.xmlsoap.org/soap/envelope/" XMLNS:D =3D "DAV:" xmlns:x2 =
=3D=20
"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois =3D=20
"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir =3D=20
"http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds =3D=20
"http://www.w3.org/2000/09/xmldsig#" xmlns:dsp =3D=20
"http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc =3D=20
"http://schemas.microsoft.com/data/udc" xmlns:xsd =3D=20
"http://www.w3.org/2001/XMLSchema" xmlns:sub =3D=20
"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec =
=3D=20
"http://www.w3.org/2001/04/xmlenc#" xmlns:sp =3D=20
"http://schemas.microsoft.com/sharepoint/" xmlns:sps =3D=20
"http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi =3D=20
"http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs =3D=20
"http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf =3D=20
"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p =3D=20
"http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf =3D=20
"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss =3D=20
"http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi =3D=20
"http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi =3D=20
"http://schemas.openxmlformats.org/package/2006/digital-signature" =
xmlns:mver =3D=20
"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m =
=3D=20
"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels =3D=20
"http://schemas.openxmlformats.org/package/2006/relationships" =
xmlns:spwp =3D=20
"http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t =3D=20
"http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m =
=3D=20
"http://schemas.microsoft.com/exchange/services/2006/messages" =
xmlns:pptsl =3D=20
"http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl =
=3D=20
"http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksSe=
rvice"=20
XMLNS:Z =3D "urn:schemas-microsoft-com:" xmlns:st =3D "=01"><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR>
<STYLE>@font-face {
	font-family: Cambria Math;
}
@font-face {
	font-family: Calibri;
}
@font-face {
	font-family: Tahoma;
}
@font-face {
	font-family: Verdana;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New =
Roman","serif"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New =
Roman","serif"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New =
Roman","serif"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
	FONT-WEIGHT: normal; COLOR: maroon; FONT-STYLE: normal; FONT-FAMILY: =
"Verdana","sans-serif"; TEXT-DECORATION: none; mso-style-type: =
personal-reply
}
.MsoChpDefault {
	FONT-SIZE: 10pt; mso-style-type: export-only
}
DIV.Section1 {
	page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue bgColor=3Dwhite>
<DIV><FONT size=3D2>Using my ietf user account, so the mailing list =
accepts my=20
posting</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert</FONT></DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
title=3Dbwijnen@bwijnen.net href=3D"mailto:bwijnen@bwijnen.net">Bert =
Wijnen</A>=20
</DIV>
<DIV><B>To:</B> <A title=3DRNATALE@mitre.org=20
href=3D"mailto:RNATALE@mitre.org">Natale, Bob</A> </DIV>
<DIV><B>Cc:</B> <A title=3Dopsawg@ietf.org=20
href=3D"mailto:opsawg@ietf.org">opsawg@ietf.org</A> </DIV>
<DIV><B>Sent:</B> Wednesday, February 04, 2009 5:39 PM</DIV>
<DIV><B>Subject:</B> Re: [OPSAWG] start WGLC on=20
draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT size=3D2>W.r.t. my second point, section 4 =
states:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>&nbsp;&nbsp; This document concerns only the SMI =
base=20
datatypes -- i.e., the<BR>&nbsp;&nbsp; eleven "ObjectSyntax" datatypes =
defined=20
in RFC2578.&nbsp; These datatypes<BR>&nbsp;&nbsp; -- via tag values =
defined in=20
the SMI to identify them in varbinds --<BR>&nbsp;&nbsp; constrain values =
carried=20
"on-the-wire" in SNMP PDUs between SNMP<BR>&nbsp;&nbsp; management =
applications=20
and SNMP agents:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>And then after that colon, it lists the names of the =
dtaatypes=20
as you define them in sect 4, namely</FONT></DIV>
<DIV><FONT size=3D2>the names used in teh XSD.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>If they refer to SMI datatype, then I would have =
expected=20
OBJECT IDENTIFIER instead of</FONT></DIV>
<DIV><FONT size=3D2>ObjectIdentifier and OCTET STRING instead of=20
OctetString.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Not a big deal, but it had me put on the wrong leg =
at=20
first.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>By the way, in teh IANA considerations there is also =
text and=20
URIs w.r.t.</FONT></DIV>
<DIV><FONT size=3D2>"other 2 documents" in the "set of =
documents".</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DRNATALE@mitre.org href=3D"mailto:RNATALE@mitre.org">Natale, =
Bob</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dbertietf@bwijnen.net=20
  href=3D"mailto:bertietf@bwijnen.net">Bert Wijnen (IETF)</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A title=3Dopsawg@ietf.org=20
  href=3D"mailto:opsawg@ietf.org">opsawg@ietf.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Wednesday, February 04, =
2009 2:17=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: [OPSAWG] start =
WGLC on=20
  draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt</DIV>
  <DIV><BR></DIV>
  <DIV class=3DSection1>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">Hi=20
  Bert,<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">Thanks=20
  for your comments and assessment.<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">-=20
  The misspellings of =93opaque=94 (with a =93g=94) have been=20
  corrected.<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">-=20
  The use of =93datatypes=94 in the file name and title was, in fact, =
intended to=20
  refer to =93SMI datatypes=94 as implied by the general usage in RFC =
2578, Sec.=20
  7.1, =93Mapping of the Syntax Clause=94, to wit:<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">=93The=20
  SYNTAX clause, which must be present, defines the abstract data =
structure=20
  corresponding to that object.&nbsp; The data structure must be one of =
the=20
  following: a base type, the BITS construct, or a textual =
convention.&nbsp;=20
  (SEQUENCE OF and SEQUENCE are also possible for conceptual tables, see =
section=20
  7.1.12).&nbsp; The base types are those defined in the ObjectSyntax=20
  CHOICE.&nbsp; A textual convention is a newly-defined type defined as =
a=20
  sub-type of a base type [3].=94<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">So,=20
  =93datatypes=94 is used a bit loosely for =93base types=94=85would you =
prefer that the=20
  latter term be used?&nbsp; (The document text currently makes it clear =
that it=20
  deals only with expressing the base types of RFC 2578 in=20
  XSD.)<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">-=20
  Yes, the text that Juergen questioned is being removed (also had =
helpful=20
  guidance from David Harrington on this point), so that this =93base =
types=94=20
  document stands alone.<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">Please=20
  confirm or clarify the second point=85I will have the -05 version, =
reflecting=20
  final mods based on this last call round, ready immediately after =
expiration=20
  of the last call period (12-Feb-09).<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">Cheers,<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'">BobN<o:p></o:p></SPAN></P>
  <P class=3DMsoNormal><SPAN=20
  style=3D"FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: =
'Verdana','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
  <DIV>
  <DIV=20
  style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: =
#b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: =
medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
'Tahoma','sans-serif'">From:</SPAN></B><SPAN=20
  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">=20
  opsawg-bounces@ietf.org [mailto:opsawg-bounces@ietf.org] <B>On Behalf =
Of=20
  </B>Bert Wijnen (IETF)<BR><B>Sent:</B> Wednesday, February 04, 2009 =
4:57=20
  AM<BR><B>To:</B> opsawg@ietf.org<BR><B>Subject:</B> Re: [OPSAWG] start =
WGLC=20
  =
ondraft-ietf-opsawg-smi-datatypes-in-xsd-04.txt<o:p></o:p></SPAN></P></DI=
V></DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in"><o:p>&nbsp;</o:p></P>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN =
style=3D"FONT-SIZE: 10pt">My=20
  comments:</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in">&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN =
style=3D"FONT-SIZE: 10pt">-=20
  page 7, section 4</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
  style=3D"FONT-SIZE: 10pt">&nbsp; - speaks about opague. I think you =
mean opaque=20
  (with a Q)</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in">&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
  style=3D"FONT-SIZE: 10pt">&nbsp; You may also want to make an explicit =
statement=20
  that those are the datatype</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
  style=3D"FONT-SIZE: 10pt">&nbsp; names as ytou specify them in XSD. I =
first=20
  though they were the datatypes</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
  style=3D"FONT-SIZE: 10pt">&nbsp; as specified in=20
  SMIv2.</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in">&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in">&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN =
style=3D"FONT-SIZE: 10pt">-=20
  Opague (with a G) is again used in the 1st para of sect 5.3=20
  and&nbsp;</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
  style=3D"FONT-SIZE: 10pt">&nbsp; &nbsp;in the first bullet on page 12 =
and also=20
  3rd bullet.</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in">&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN =
style=3D"FONT-SIZE: 10pt">I=20
  share/support Juergen Shoenwaelder's comment w.r.t. the discussion =
about 3=20
  documents</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN =
style=3D"FONT-SIZE: 10pt">in=20
  a document set. Where, how is that otehr work=20
  scheduled/planned?</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in">&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
  style=3D"FONT-SIZE: 10pt">Other than that, this document seems=20
  fine.</SPAN><o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in">&nbsp;<o:p></o:p></P></DIV>
  <DIV>
  <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
  style=3D"FONT-SIZE: 10pt">Bert</SPAN><o:p></o:p></P></DIV>
  <BLOCKQUOTE=20
  style=3D"BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: =
medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt =
3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: =
medium none">
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'">----- =
Original=20
    Message ----- <o:p></o:p></SPAN></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"BACKGROUND: #e4e4e4; MARGIN-LEFT: =
0.5in"><B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
'Arial','sans-serif'">From:</SPAN></B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <A=20
    title=3Dsob@harvard.edu href=3D"mailto:sob@harvard.edu">Scott O. =
Bradner</A>=20
    <o:p></o:p></SPAN></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
'Arial','sans-serif'">To:</SPAN></B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> <A=20
    title=3Dopsawg@ietf.org =
href=3D"mailto:opsawg@ietf.org">opsawg@ietf.org</A>=20
    <o:p></o:p></SPAN></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
'Arial','sans-serif'">Sent:</SPAN></B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> =
Friday, January=20
    30, 2009 3:10 AM<o:p></o:p></SPAN></P></DIV>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
'Arial','sans-serif'">Subject:</SPAN></B><SPAN=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Arial','sans-serif'"> Re: =
[OPSAWG]=20
    start WGLC=20
    =
ondraft-ietf-opsawg-smi-datatypes-in-xsd-04.txt<o:p></o:p></SPAN></P></DI=
V>
    <DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: =
0.5in"><o:p>&nbsp;</o:p></P></DIV>
    <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><BR>back on Nov =
6th we sent=20
    out a WGLC on =
<BR>draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt<BR><BR>there=20
    was no response to that last call that I can <BR>find in the mail =
list=20
    archive (or in my memory)<BR><BR>we gotta see a bit more interest =
than that=20
    to proceed<BR>with this document.&nbsp; <BR><BR>So, I'll try again=20
    <BR><BR>this is a WGLC for=20
    draft-ietf-opsawg-smi-datatypes-in-xsd-04.txt<BR>please comment (one =
way or=20
    the other) by Feb=20
    =
12<BR><BR>tnx<BR><BR>Scott<BR>___________________________________________=
____<BR>OPSAWG=20
    mailing list<BR><A =
href=3D"mailto:OPSAWG@ietf.org">OPSAWG@ietf.org</A><BR><A=20
    =
href=3D"https://www.ietf.org/mailman/listinfo/opsawg">https://www.ietf.or=
g/mailman/listinfo/opsawg</A><o:p></o:p></P></BLOCKQUOTE></DIV></BLOCKQUO=
TE></BODY></HTML>

------=_NextPart_000_0A68_01C986F0.92A6AE80--



Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 92D9B3A6968 for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 19:14:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.466
X-Spam-Level: 
X-Spam-Status: No, score=-2.466 tagged_above=-999 required=5 tests=[AWL=0.133,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VaKHi9hSZch9 for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 19:13:59 -0800 (PST)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [121.15.168.142]) by core3.amsl.com (Postfix) with ESMTP id AC38F3A6ACD for <netconf@ietf.org>; Wed,  4 Feb 2009 19:13:59 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEK00JFJOYMTV40@hstga01-in.huaweisymantec.com> for netconf@ietf.org; Thu, 05 Feb 2009 11:13:36 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEK0013SOYKSK00@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Thu, 05 Feb 2009 11:13:34 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Thu, 05 Feb 2009 11:13:32 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: netconf@ietf.org
Message-id: <fc8aaf2430b7.498ac9dc@huaweisymantec.com>
Date: Thu, 05 Feb 2009 11:13:32 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
Subject: [Netconf] multiple targets of <partial-lock>
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 05 Feb 2009 03:14:00 -0000

Hi,

>From sec 2.4.1.1, para 5:
"Note that if some of the requested nodes exist only in some of
       the targeted datastores, the lock is granted on different nodes
       in different datastores."
para 6:
"Each select expression MUST return a node set, and at least one
       of the node sets for one of the specified datastores MUST be non-
       empty."

Then, look at this:

a) If I attempt to lock /config/a and /config/b on both <running> and <candidate>, and /config/b only exists in <candidate>.

So lock would be granted and returned <rpc-reply> seems to be:(namespaces are omitted for simplicity)
<rpc-reply>
  <lock-id>127</lock-id>
  <running>
    <locked-node>/config/a</locked-node>
  </running>
  <candidate>
    <locked-node>/config/a</locked-node>
    <locked-node>/config/b</locked-node>
  </candidate>
</rpc-reply>

b) But if I attempt to lock only /config/b instead. lock request should be failed, as all returned node sets for <running> are empty. 

Why should we allow a> whilst prohibit b>? a> is no more secure than b>.

washam


Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4912F3A6B7D for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 20:00:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.195
X-Spam-Level: 
X-Spam-Status: No, score=-2.195 tagged_above=-999 required=5 tests=[AWL=0.070,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UImDb2RMoiFI for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 20:00:02 -0800 (PST)
Received: from smtp121.sbc.mail.sp1.yahoo.com (smtp121.sbc.mail.sp1.yahoo.com [69.147.64.94]) by core3.amsl.com (Postfix) with SMTP id 909793A67BD for <netconf@ietf.org>; Wed,  4 Feb 2009 20:00:02 -0800 (PST)
Received: (qmail 27308 invoked from network); 5 Feb 2009 03:59:43 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.127.164.237 with plain) by smtp121.sbc.mail.sp1.yahoo.com with SMTP; 5 Feb 2009 03:59:42 -0000
X-YMail-OSG: ZhX5PRgVM1n2x9ikLINOeK1Ix4fJnOWlYYTaI7rDEQ6t2g4HMzBiaTZNKMSc659iTOTSjAaOdr_rbWwkJPxq1gC9nAXTD77t7YITdrPjSPVIJ62MzI1ijpRhLHr4oCnmEFMw60zagf1bOzclWJ3rELHc
X-Yahoo-Newman-Property: ymail-3
Message-ID: <498A642D.8040103@netconfcentral.com>
Date: Wed, 04 Feb 2009 19:59:41 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: WashamFan <Washam.Fan@huaweisymantec.com>
References: <fc8aaf2430b7.498ac9dc@huaweisymantec.com>
In-Reply-To: <fc8aaf2430b7.498ac9dc@huaweisymantec.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] multiple targets of <partial-lock>
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 05 Feb 2009 04:00:03 -0000

WashamFan wrote:
> Hi,
> 
>>From sec 2.4.1.1, para 5:
> "Note that if some of the requested nodes exist only in some of
>        the targeted datastores, the lock is granted on different nodes
>        in different datastores."
> para 6:
> "Each select expression MUST return a node set, and at least one
>        of the node sets for one of the specified datastores MUST be non-
>        empty."
> 
> Then, look at this:
> 
> a) If I attempt to lock /config/a and /config/b on both <running> and <candidate>, and /config/b only exists in <candidate>.
> 
> So lock would be granted and returned <rpc-reply> seems to be:(namespaces are omitted for simplicity)
> <rpc-reply>
>   <lock-id>127</lock-id>
>   <running>
>     <locked-node>/config/a</locked-node>
>   </running>
>   <candidate>
>     <locked-node>/config/a</locked-node>
>     <locked-node>/config/b</locked-node>
>   </candidate>
> </rpc-reply>
> 
> b) But if I attempt to lock only /config/b instead. lock request should be failed, as all returned node sets for <running> are empty. 
> 
> Why should we allow a> whilst prohibit b>? a> is no more secure than b>.
> 

good question.

Is it an error response for (b), or is it:

  <rpc-reply>
    <lock-id>127</lock-id>
    <candidate>
      <locked-node>/config/b</locked-node>
    </candidate>
  </rpc-reply>

(I don't know -- asking Martin and Balazs)

Either way, I agree that this 'database skew' problem
I brought in earlier should be avoided.  If the same
nodes cannot be locked 1:1, then the entire lock should fail.
Otherwise, do not use multiple targets at once.

[note: if the only target is <candidate/>,
then locks on <running/> are not needed.
IMO, it is a really bad idea to allow concurrent
writes on <candidate/> and <running/>. YMMV.]



> washam

Andy



Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 359723A6B9C for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 22:41:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.473
X-Spam-Level: 
X-Spam-Status: No, score=-2.473 tagged_above=-999 required=5 tests=[AWL=0.126,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FD1HhlRFvvpH for <netconf@core3.amsl.com>; Wed,  4 Feb 2009 22:41:07 -0800 (PST)
Received: from mta2.huaweisymantec.com (mta2.huaweisymantec.com [121.15.168.143]) by core3.amsl.com (Postfix) with ESMTP id 3DBA43A679C for <netconf@ietf.org>; Wed,  4 Feb 2009 22:41:06 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.42]) by hstga02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEK00BSMYJTLA40@hstga02-in.huaweisymantec.com> for netconf@ietf.org; Thu, 05 Feb 2009 14:40:43 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEK002FVYJR0900@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Thu, 05 Feb 2009 14:40:41 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Thu, 05 Feb 2009 14:40:39 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Andy Bierman <andy@netconfcentral.com>
Message-id: <fca29d9572b1.498afa67@huaweisymantec.com>
Date: Thu, 05 Feb 2009 14:40:39 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
In-reply-to: <498A642D.8040103@netconfcentral.com>
References: <fc8aaf2430b7.498ac9dc@huaweisymantec.com> <498A642D.8040103@netconfcentral.com>
Cc: netconf@ietf.org
Subject: Re: [Netconf] multiple targets of <partial-lock>
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 05 Feb 2009 06:41:08 -0000

Hi,
>  > 
>  >>From sec 2.4.1.1, para 5:
>  > "Note that if some of the requested nodes exist only in some of
>  >        the targeted datastores, the lock is granted on different nodes
>  >        in different datastores."
>  > para 6:
>  > "Each select expression MUST return a node set, and at least one
>  >        of the node sets for one of the specified datastores MUST be 
> non-
>  >        empty."
>  > 
>  > Then, look at this:
>  > 
>  > a) If I attempt to lock /config/a and /config/b on both <running> 
> and <candidate>, and /config/b only exists in <candidate>.
>  > 
>  > So lock would be granted and returned <rpc-reply> seems to 
> be:(namespaces are omitted for simplicity)
>  > <rpc-reply>
>  >   <lock-id>127</lock-id>
>  >   <running>
>  >     <locked-node>/config/a</locked-node>
>  >   </running>
>  >   <candidate>
>  >     <locked-node>/config/a</locked-node>
>  >     <locked-node>/config/b</locked-node>
>  >   </candidate>
>  > </rpc-reply>
>  > 
>  > b) But if I attempt to lock only /config/b instead. lock request 
> should be failed, as all returned node sets for <running> are empty. 
>  > 
>  > Why should we allow a> whilst prohibit b>? a> is no more secure 
> than b>.
>  > 
>  
>  good question.
>  
>  Is it an error response for (b), or is it:
>  
>    <rpc-reply>
>      <lock-id>127</lock-id>
>      <candidate>
>        <locked-node>/config/b</locked-node>
>      </candidate>
>    </rpc-reply>

Well, when I re-reading the relevant text, you are right, b> would succeed and <rpc-reply> as above.

>  (I don't know -- asking Martin and Balazs)
>  
>  Either way, I agree that this 'database skew' problem
>  I brought in earlier should be avoided.  If the same
>  nodes cannot be locked 1:1, then the entire lock should fail.
>  Otherwise, do not use multiple targets at once.

I agree. But the draft seems allow 'database skew'.

washam
  
>  [note: if the only target is <candidate/>,
>  then locks on <running/> are not needed.
>  IMO, it is a really bad idea to allow concurrent
>  writes on <candidate/> and <running/>. YMMV.]
>  
>  
>  
>  > washam
>  
>  Andy
>  
>  


Return-Path: <dromasca@avaya.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5BC863A681D for <netconf@core3.amsl.com>; Thu,  5 Feb 2009 05:14:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.509
X-Spam-Level: 
X-Spam-Status: No, score=-2.509 tagged_above=-999 required=5 tests=[AWL=0.090,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VyuwP1IrL-OB for <netconf@core3.amsl.com>; Thu,  5 Feb 2009 05:14:21 -0800 (PST)
Received: from de307622-de-outbound.net.avaya.com (de307622-de-outbound.net.avaya.com [198.152.71.100]) by core3.amsl.com (Postfix) with ESMTP id 377583A6909 for <netconf@ietf.org>; Thu,  5 Feb 2009 05:14:21 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,385,1231131600"; d="scan'208";a="136524690"
Received: from unknown (HELO nj300815-nj-erheast.avaya.com) ([198.152.6.5]) by de307622-de-outbound.net.avaya.com with ESMTP; 05 Feb 2009 08:13:59 -0500
Received: from unknown (HELO 307622ANEX5.global.avaya.com) ([135.64.140.16]) by nj300815-nj-erheast-out.avaya.com with ESMTP; 05 Feb 2009 08:13:59 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 5 Feb 2009 14:13:57 +0100
Message-ID: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: AD review for draft-ietf-netconf-tls-06.txt
thread-index: AcmHk5ppDnqB3jpcSDOfqBE5SDPp6g==
From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
To: <netconf@ietf.org>
Subject: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 05 Feb 2009 13:14:22 -0000

This is the AD review for  draft-ietf-netconf-tls-06.txt. I believe that
this document is in good shape and I am sending it to IETF Last Call.
The comments below can be dealt with together with the other comments
that may arrive during the IETF Last Call period.=20

1. I believe that there is a need for more clarity in defining the usage
of the delimiter sequence ]]>]]> after each XML document. The text in
RFC 4742 seems to me more clear and I suggest to take inspiration from
it:=20

   [The] special character sequence,
   ]]>]]>, MUST be sent by both the client and the server after each XML
   document in the NETCONF exchange.  This character sequence cannot
   legally appear in an XML document, so it can be unambiguously used to
   identify the end of the current document, allowing resynchronization
   of the NETCONF exchange in the event of an XML syntax or parsing
   error.

2. In section 3.2: 'Typically, the server has no external knowledge of
what the client's identity ought to be'. I question if this is really
true in the 'typical' case. I would actually imagine that the case where
network devices would be preconfigured with information about the
identity of their managers would be quite common.=20

3.   Id-nits complains about the obsolete normative reference: RFC 4366
(Obsoleted by RFC 5246). I assume this does not change anything wrt. the
content of the document, but please check.=20

Dan




=20


Return-Path: <dromasca@avaya.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8D4C43A6A2B for <netconf@core3.amsl.com>; Thu,  5 Feb 2009 05:26:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.51
X-Spam-Level: 
X-Spam-Status: No, score=-2.51 tagged_above=-999 required=5 tests=[AWL=0.089,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bW9ij7FDDCFm for <netconf@core3.amsl.com>; Thu,  5 Feb 2009 05:26:38 -0800 (PST)
Received: from nj300815-nj-outbound.avaya.com (nj300815-nj-outbound.net.avaya.com [198.152.12.100]) by core3.amsl.com (Postfix) with ESMTP id 86B683A6909 for <netconf@ietf.org>; Thu,  5 Feb 2009 05:26:38 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.37,385,1231131600"; d="scan'208";a="151241466"
Received: from unknown (HELO nj300815-nj-erheast.avaya.com) ([198.152.6.5]) by nj300815-nj-outbound.avaya.com with ESMTP; 05 Feb 2009 08:26:18 -0500
Received: from unknown (HELO 307622ANEX5.global.avaya.com) ([135.64.140.16]) by nj300815-nj-erheast-out.avaya.com with ESMTP; 05 Feb 2009 08:26:18 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 5 Feb 2009 14:25:57 +0100
Message-ID: <EDC652A26FB23C4EB6384A4584434A0401394FBB@307622ANEX5.global.avaya.com>
In-Reply-To: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
thread-index: AcmHk5ppDnqB3jpcSDOfqBE5SDPp6gAAYmkQ
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>
From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>, <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 05 Feb 2009 13:26:39 -0000

One more nit - the header of the I-D should say Intended Status:
Proposed Standard rather than Standards Track.=20

Dan
=20

> -----Original Message-----
> From: netconf-bounces@ietf.org=20
> [mailto:netconf-bounces@ietf.org] On Behalf Of Romascanu, Dan (Dan)
> Sent: Thursday, February 05, 2009 3:14 PM
> To: netconf@ietf.org
> Subject: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>=20
> This is the AD review for  draft-ietf-netconf-tls-06.txt. I=20
> believe that this document is in good shape and I am sending=20
> it to IETF Last Call.
> The comments below can be dealt with together with the other=20
> comments that may arrive during the IETF Last Call period.=20
>=20
> 1. I believe that there is a need for more clarity in=20
> defining the usage of the delimiter sequence ]]>]]> after=20
> each XML document. The text in RFC 4742 seems to me more=20
> clear and I suggest to take inspiration from
> it:=20
>=20
>    [The] special character sequence,
>    ]]>]]>, MUST be sent by both the client and the server=20
> after each XML
>    document in the NETCONF exchange.  This character sequence cannot
>    legally appear in an XML document, so it can be=20
> unambiguously used to
>    identify the end of the current document, allowing=20
> resynchronization
>    of the NETCONF exchange in the event of an XML syntax or parsing
>    error.
>=20
> 2. In section 3.2: 'Typically, the server has no external=20
> knowledge of what the client's identity ought to be'. I=20
> question if this is really true in the 'typical' case. I=20
> would actually imagine that the case where network devices=20
> would be preconfigured with information about the identity of=20
> their managers would be quite common.=20
>=20
> 3.   Id-nits complains about the obsolete normative=20
> reference: RFC 4366
> (Obsoleted by RFC 5246). I assume this does not change=20
> anything wrt. the content of the document, but please check.=20
>=20
> Dan
>=20
>=20
>=20
>=20
> =20
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>=20


Return-Path: <wwwrun@core3.amsl.com>
X-Original-To: netconf@ietf.org
Delivered-To: netconf@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 30) id B880A28C20D; Thu,  5 Feb 2009 06:25:48 -0800 (PST)
X-idtracker: yes
To: IETF-Announce <ietf-announce@ietf.org> 
From: The IESG <iesg-secretary@ietf.org>
Message-Id: <20090205142548.B880A28C20D@core3.amsl.com>
Date: Thu,  5 Feb 2009 06:25:48 -0800 (PST)
Cc: netconf@ietf.org
Subject: [Netconf] Last Call: draft-ietf-netconf-tls (NETCONF over Transport Layer Security (TLS)) to Proposed Standard
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ietf@ietf.org
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 05 Feb 2009 14:25:48 -0000

The IESG has received a request from the Network Configuration WG 
(netconf) to consider the following document:

- 'NETCONF over Transport Layer Security (TLS) '
   <draft-ietf-netconf-tls-06.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action.  Please send substantive comments to the
ietf@ietf.org mailing lists by 2009-02-19. Exceptionally, 
comments may be sent to iesg@ietf.org instead. In either case, please 
retain the beginning of the Subject line to allow automated sorting.

The file can be obtained via
http://www.ietf.org/internet-drafts/draft-ietf-netconf-tls-06.txt


IESG discussion can be tracked via
https://datatracker.ietf.org/public/pidtracker.cgi?command=view_id&dTag=16831&rfc_flag=0



Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2B2C93A6BB1 for <netconf@core3.amsl.com>; Fri,  6 Feb 2009 03:03:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.136
X-Spam-Level: 
X-Spam-Status: No, score=-6.136 tagged_above=-999 required=5 tests=[AWL=0.113,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ldhCvjnrPgj7 for <netconf@core3.amsl.com>; Fri,  6 Feb 2009 03:03:17 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id F00CE28C1D5 for <netconf@ietf.org>; Fri,  6 Feb 2009 03:03:16 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id D28772110F; Fri,  6 Feb 2009 12:03:17 +0100 (CET)
X-AuditID: c1b4fb3e-ad06cbb00000429e-52-498c18f5d4ce
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 675BE203BE; Fri,  6 Feb 2009 12:03:17 +0100 (CET)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Fri, 6 Feb 2009 12:01:25 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Fri, 6 Feb 2009 12:01:25 +0100
Message-ID: <498C1884.6010600@ericsson.com>
Date: Fri, 06 Feb 2009 12:01:24 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
References: <A294F5A3E722D94FBEB6D49C1506F6F7016344DB@DEMUEXC005.nsn-intra.net>
In-Reply-To: <A294F5A3E722D94FBEB6D49C1506F6F7016344DB@DEMUEXC005.nsn-intra.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Feb 2009 11:01:25.0194 (UTC) FILETIME=[40BE4AA0:01C9884A]
X-Brightmail-Tracker: AAAAAA==
Cc: netconf@ietf.org
Subject: Re: [Netconf] WGLC: draft-ietf-netconf-partial-lock-05
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 06 Feb 2009 11:03:18 -0000

Hello Mehmet,
Thanks for the comments. See also below!
Balazs

Ersue, Mehmet (NSN - DE/Munich) wrote:
>  
> But I have some questions concerning XML schema, though:
>  
> - Why is the count of PartialLock targets is limited to '3' ?
> AFAIK a Netconf client may also define new datastores other
> than <running>, <candidate> and <startup>.

BALAZS: Yes agents can define additional data stores.
However just as RFC4741 defines 3 datastores and we also use these. If you add more datastores 
you violate the XSD both in 4741 and here. In this case you will violate both XSDs in multiple 
places not just this one maxOccurs=3 clause. So as we don't want to prepare 4741 for the 
possible addition of more datastores I don't see the value of preparing this draft either. Do 
you want to raise this issue in the 4741bis effort?

>  
> - The "target" element in the "partial-lock" elements allows to
> repeat 1 to 3 times any of the "startup"/"candidate"/"running",
> so i.e. also 3 times the same. Is this a schema design issue?

Yes, but I don't know how to say this in a nicer way in XSD. The intent is to allow one or more 
of the 3 datastores, but each datastore is allowed only once.

>  
> - I am not sure whether datastore names should be each
> individually in a target node. The following XML snippet ...
>  
> 
> <partial-lock xmlns="urn:ietf:params:xml:ns:netconf:partial-lock:1.0"
> 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 
> xsi:schemaLocation="urn:ietf:params:xml:ns:netconf:partial-lock:1.0
> 
> C:\Partial_Lock_05.xsd">
> 
>             <target/>
> 
>                         <target>
> 
>                             <candidate/>
> 
>                         </target>
> 
>                         <target>
> 
>                             <candidate/>
> 
>                         </target>
> 
>             <select/>
> 
> </partial-lock>
> 
> is accepted by XMLSpy as valid with regard to the partial lock
> schema. 
> OTOH the description says: "Each target element MUST contain
> a different datastore name."

BALAZS: You are right, thats why we put in the annotation text:
"Each target element MUST contain a different datastore name."
I did not know about a formal way to say this in XSD?. Could you propose an alternative?

> 
> - The schema requires that in "startup"/"candidate"/"running"
> elements belonging to "contentPartInPartialLockReplyType"
> must containt at least one "locked-node" element.
> But in the YANG module, the "locked-node" leaf lists inside
> "startup"/"candidate"/"running" containers do not contain a
> "min-elements 1;" statement, so the containers may be empty,
> which differs from XSD.
> 

BALAZS: You are right, the restriction is added to YANG as well. There is no sense in sending 
an empty <startup/> element if it does not contain any locked nodes.

Balazs


Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BFA563A6BC7 for <netconf@core3.amsl.com>; Fri,  6 Feb 2009 05:53:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.14
X-Spam-Level: 
X-Spam-Status: No, score=-6.14 tagged_above=-999 required=5 tests=[AWL=0.109,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zb0ScedROyIn for <netconf@core3.amsl.com>; Fri,  6 Feb 2009 05:53:42 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 9B92D3A6ACE for <netconf@ietf.org>; Fri,  6 Feb 2009 05:53:42 -0800 (PST)
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id BEB4A227D6; Fri,  6 Feb 2009 14:53:42 +0100 (CET)
X-AuditID: c1b4fb3c-ac75bbb00000304c-5d-498c3c720045
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 147112290C; Fri,  6 Feb 2009 14:34:43 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Fri, 6 Feb 2009 14:34:22 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Fri, 6 Feb 2009 14:34:22 +0100
Message-ID: <498C3C5E.1000907@ericsson.com>
Date: Fri, 06 Feb 2009 14:34:22 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: WashamFan <Washam.Fan@huaweisymantec.com>
References: <fc8aaf2430b7.498ac9dc@huaweisymantec.com>	<498A642D.8040103@netconfcentral.com> <fca29d9572b1.498afa67@huaweisymantec.com>
In-Reply-To: <fca29d9572b1.498afa67@huaweisymantec.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 06 Feb 2009 13:34:22.0235 (UTC) FILETIME=[9EAF9EB0:01C9885F]
X-Brightmail-Tracker: AAAAAA==
Cc: netconf@ietf.org
Subject: Re: [Netconf] multiple targets of <partial-lock>
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 06 Feb 2009 13:53:43 -0000

Hello,
Case b will succeed as Washam has written, because NOT all returned node-sets are empty. One of 
the selects when applied to the candidate does return "b".

Locking multiple databases was explicitly asked for earlier and was accepted by the group. Yes 
you can mess it up if you don't check the results, but there are so many ways to shoot yourself 
  in the foot.

regards Balazs

WashamFan wrote:
> Hi,
>>  > 
>>  >>From sec 2.4.1.1, para 5:
>>  > "Note that if some of the requested nodes exist only in some of
>>  >        the targeted datastores, the lock is granted on different nodes
>>  >        in different datastores."
>>  > para 6:
>>  > "Each select expression MUST return a node set, and at least one
>>  >        of the node sets for one of the specified datastores MUST be 
>> non-
>>  >        empty."
>>  > 
>>  > Then, look at this:
>>  > 
>>  > a) If I attempt to lock /config/a and /config/b on both <running> 
>> and <candidate>, and /config/b only exists in <candidate>.
>>  > 
>>  > So lock would be granted and returned <rpc-reply> seems to 
>> be:(namespaces are omitted for simplicity)
>>  > <rpc-reply>
>>  >   <lock-id>127</lock-id>
>>  >   <running>
>>  >     <locked-node>/config/a</locked-node>
>>  >   </running>
>>  >   <candidate>
>>  >     <locked-node>/config/a</locked-node>
>>  >     <locked-node>/config/b</locked-node>
>>  >   </candidate>
>>  > </rpc-reply>
>>  > 
>>  > b) But if I attempt to lock only /config/b instead. lock request 
>> should be failed, as all returned node sets for <running> are empty. 
>>  > 
>>  > Why should we allow a> whilst prohibit b>? a> is no more secure 
>> than b>.
>>  > 
>>  
>>  good question.
>>  
>>  Is it an error response for (b), or is it:
>>  
>>    <rpc-reply>
>>      <lock-id>127</lock-id>
>>      <candidate>
>>        <locked-node>/config/b</locked-node>
>>      </candidate>
>>    </rpc-reply>
> 
> Well, when I re-reading the relevant text, you are right, b> would succeed and <rpc-reply> as above.
> 
>>  (I don't know -- asking Martin and Balazs)
>>  
>>  Either way, I agree that this 'database skew' problem
>>  I brought in earlier should be avoided.  If the same
>>  nodes cannot be locked 1:1, then the entire lock should fail.
>>  Otherwise, do not use multiple targets at once.
> 
> I agree. But the draft seems allow 'database skew'.
> 
> washam
>   
>>  [note: if the only target is <candidate/>,
>>  then locks on <running/> are not needed.
>>  IMO, it is a really bad idea to allow concurrent
>>  writes on <candidate/> and <running/>. YMMV.]
>>  
>>  
>>  
>>  > washam
>>  
>>  Andy
>>  
>>  
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
> 

-- 
Balazs Lengyel                       Ericsson Hungary Ltd.
TSP System Manager
ECN: 831 7320                        Fax: +36 1 4377792
Tel: +36-1-437-7320     email: Balazs.Lengyel@ericsson.com


Return-Path: <root@core3.amsl.com>
X-Original-To: netconf@ietf.org
Delivered-To: netconf@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id E97563A699E; Fri,  6 Feb 2009 07:00:01 -0800 (PST)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20090206150001.E97563A699E@core3.amsl.com>
Date: Fri,  6 Feb 2009 07:00:01 -0800 (PST)
Cc: netconf@ietf.org
Subject: [Netconf] I-D Action:draft-ietf-netconf-partial-lock-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 06 Feb 2009 15:00:02 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Configuration Working Group of the IETF.


	Title           : Partial Lock RPC for NETCONF
	Author(s)       : B. Lengyel, M. Bjorklund
	Filename        : draft-ietf-netconf-partial-lock-06.txt
	Pages           : 30
	Date            : 2009-02-06

The NETCONF protocol defines the lock and unlock RPCs, used to lock
entire configuration datastores.  In some situations, a way to lock
only parts of a configuration datastore is required.  This document
defines a capability-based extension to the NETCONF protocol for
locking portions of a configuration datastore.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial-lock-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-netconf-partial-lock-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2009-02-06065511.I-D@ietf.org>


--NextPart--


Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D463E3A6BD7 for <netconf@core3.amsl.com>; Fri,  6 Feb 2009 08:22:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.078
X-Spam-Level: 
X-Spam-Status: No, score=-0.078 tagged_above=-999 required=5 tests=[AWL=0.364,  BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7-EF37gfQ6JA for <netconf@core3.amsl.com>; Fri,  6 Feb 2009 08:22:58 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id 9ECBB3A67D4 for <netconf@ietf.org>; Fri,  6 Feb 2009 08:22:58 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LVTTn-0005vs-L2 for netconf@ietf.org; Fri, 06 Feb 2009 17:22:59 +0100
Message-ID: <8CF8AECD880E4D208BF391B0EEBF8F00@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: <netconf@ietf.org>
References: <20090206150001.E97563A699E@core3.amsl.com>
In-Reply-To: <20090206150001.E97563A699E@core3.amsl.com>
Date: Fri, 6 Feb 2009 17:22:13 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_117D_01C9887F.733DBDA0"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Subject: [Netconf] PLEASE CHECK new I-D BEFORE Feb 14th - draft-ietf-netconf-partial-lock-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 06 Feb 2009 16:22:59 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_117D_01C9887F.733DBDA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The WGLC for revision 05 ended on Feb 1st.=20
We did get a good deal of comments and reviews.
Thanks to Balazs and Martin for the new revision.

ALL: pls check out this new version.
THOSE WHO Commented earlier: PLEASE MAKE SURE your comments
have ben appropriately addressed. please do so before 14 Feb 2009.

If we do not see serious or many remaining issues/concerns
we (wg chairs)  would like to proceed passing this on to our AD=20
to consider revision 6 for publication as a Proposed Standard.

If anyone dis-agrees and thinks we need another WG LC, PLEAS SPEAK UP=20
no later than Feb 14.

Bert and Mehmet

  ----- Original Message -----=20
  From: Internet-Drafts@ietf.org=20
  To: i-d-announce@ietf.org=20
  Cc: netconf@ietf.org=20
  Sent: Friday, February 06, 2009 4:00 PM
  Subject: [Netconf] I-D Action:draft-ietf-netconf-partial-lock-06.txt


  A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
  This draft is a work item of the Network Configuration Working Group =
of the IETF.


  Title           : Partial Lock RPC for NETCONF
  Author(s)       : B. Lengyel, M. Bjorklund
  Filename        : draft-ietf-netconf-partial-lock-06.txt
  Pages           : 30
  Date            : 2009-02-06

  The NETCONF protocol defines the lock and unlock RPCs, used to lock
  entire configuration datastores.  In some situations, a way to lock
  only parts of a configuration datastore is required.  This document
  defines a capability-based extension to the NETCONF protocol for
  locking portions of a configuration datastore.

  A URL for this Internet-Draft is:
  =
http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial-lock-06.tx=
t

  Internet-Drafts are also available by anonymous FTP at:
  ftp://ftp.ietf.org/internet-drafts/

  Below is the data which will enable a MIME compliant mail reader
  implementation to automatically retrieve the ASCII version of the
  Internet-Draft.



-------------------------------------------------------------------------=
-----


  _______________________________________________
  Netconf mailing list
  Netconf@ietf.org
  https://www.ietf.org/mailman/listinfo/netconf

------=_NextPart_000_117D_01C9887F.733DBDA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.6001.18183" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>The WGLC for revision 05 ended on Feb 1st. =
</FONT></DIV>
<DIV><FONT size=3D2>We did get a good deal of comments and =
reviews.</FONT></DIV>
<DIV><FONT size=3D2>Thanks to Balazs and Martin for the new =
revision.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>ALL: pls check out this new version.</FONT></DIV>
<DIV><FONT size=3D2>THOSE WHO Commented earlier: PLEASE MAKE SURE your=20
comments</FONT></DIV>
<DIV><FONT size=3D2>have ben appropriately addressed. please do so =
</FONT><FONT=20
size=3D3>before 14 Feb 2009.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>If we do not see serious or&nbsp;many remaining=20
issues/concerns</FONT></DIV>
<DIV><FONT size=3D2>we (wg chairs) &nbsp;would like to proceed passing =
this on to=20
our AD </FONT></DIV>
<DIV><FONT size=3D2>to consider revision 6 </FONT><FONT size=3D2>for =
publication as=20
a Proposed Standard.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>If anyone dis-agrees and thinks we need another WG =
LC, PLEAS=20
SPEAK UP </FONT></DIV>
<DIV><FONT size=3D2>no later than Feb 14.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Bert and Mehmet</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DInternet-Drafts@ietf.org=20
  href=3D"mailto:Internet-Drafts@ietf.org">Internet-Drafts@ietf.org</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Di-d-announce@ietf.org=20
  href=3D"mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Cc:</B> <A title=3Dnetconf@ietf.org =

  href=3D"mailto:netconf@ietf.org">netconf@ietf.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, February 06, 2009 =
4:00=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Netconf] I-D=20
  Action:draft-ietf-netconf-partial-lock-06.txt</DIV>
  <DIV><BR></DIV>A New Internet-Draft is available from the on-line=20
  Internet-Drafts directories.<BR>This draft is a work item of the =
Network=20
  Configuration Working Group of the=20
  =
IETF.<BR><BR><BR>Title&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;=20
  : Partial Lock RPC for=20
  NETCONF<BR>Author(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : B. Lengyel, =
M.=20
  Bjorklund<BR>Filename&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=20
  =
draft-ietf-netconf-partial-lock-06.txt<BR>Pages&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  : =
30<BR>Date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
  : 2009-02-06<BR><BR>The NETCONF protocol defines the lock and unlock =
RPCs,=20
  used to lock<BR>entire configuration datastores.&nbsp; In some =
situations, a=20
  way to lock<BR>only parts of a configuration datastore is =
required.&nbsp; This=20
  document<BR>defines a capability-based extension to the NETCONF =
protocol=20
  for<BR>locking portions of a configuration datastore.<BR><BR>A URL for =
this=20
  Internet-Draft is:<BR><A=20
  =
href=3D"http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial-lo=
ck-06.txt">http://www.ietf.org/internet-drafts/draft-ietf-netconf-partial=
-lock-06.txt</A><BR><BR>Internet-Drafts=20
  are also available by anonymous FTP at:<BR><A=20
  =
href=3D"ftp://ftp.ietf.org/internet-drafts/">ftp://ftp.ietf.org/internet-=
drafts/</A><BR><BR>Below=20
  is the data which will enable a MIME compliant mail =
reader<BR>implementation=20
  to automatically retrieve the ASCII version of =
the<BR>Internet-Draft.<BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Netconf =
mailing=20
  list<BR><A href=3D"mailto:Netconf@ietf.org">Netconf@ietf.org</A><BR><A =

  =
href=3D"https://www.ietf.org/mailman/listinfo/netconf">https://www.ietf.o=
rg/mailman/listinfo/netconf</A><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_117D_01C9887F.733DBDA0--



Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB17E3A6B6C for <netconf@core3.amsl.com>; Sat,  7 Feb 2009 00:46:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.173
X-Spam-Level: 
X-Spam-Status: No, score=-2.173 tagged_above=-999 required=5 tests=[AWL=0.076,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xOnaa4K3PKQA for <netconf@core3.amsl.com>; Sat,  7 Feb 2009 00:46:36 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id EEB873A6A5C for <netconf@ietf.org>; Sat,  7 Feb 2009 00:46:35 -0800 (PST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id DB1B1C0034; Sat,  7 Feb 2009 09:46:37 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id l7JH6ACtJsaI; Sat,  7 Feb 2009 09:46:31 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B3B8BC0030; Sat,  7 Feb 2009 09:46:31 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id 8A2CA96317B; Sat,  7 Feb 2009 09:46:30 +0100 (CET)
Date: Sat, 7 Feb 2009 09:46:30 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Message-ID: <20090207084630.GA6203@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>, netconf@ietf.org
References: <20090206150001.E97563A699E@core3.amsl.com> <8CF8AECD880E4D208BF391B0EEBF8F00@BertLaptop>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <8CF8AECD880E4D208BF391B0EEBF8F00@BertLaptop>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: netconf@ietf.org
Subject: Re: [Netconf] PLEASE CHECK new I-D BEFORE Feb 14th -	draft-ietf-netconf-partial-lock-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Sat, 07 Feb 2009 08:46:37 -0000

On Fri, Feb 06, 2009 at 05:22:13PM +0100, Bert Wijnen (IETF) wrote:

> THOSE WHO Commented earlier: PLEASE MAKE SURE your comments
> have ben appropriately addressed. please do so before 14 Feb 2009.

I am fine with the changes.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 418093A69BA for <netconf@core3.amsl.com>; Mon,  9 Feb 2009 05:26:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.066
X-Spam-Level: 
X-Spam-Status: No, score=-3.066 tagged_above=-999 required=5 tests=[AWL=-0.467, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZWE--vokE4Hz for <netconf@core3.amsl.com>; Mon,  9 Feb 2009 05:26:17 -0800 (PST)
Received: from demumfd002.nsn-inter.net (demumfd002.nsn-inter.net [217.115.75.234]) by core3.amsl.com (Postfix) with ESMTP id 183C93A67AE for <netconf@ietf.org>; Mon,  9 Feb 2009 05:26:16 -0800 (PST)
Received: from demuprx016.emea.nsn-intra.net ([10.150.129.55]) by demumfd002.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n19DQJ9I008410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 9 Feb 2009 14:26:19 +0100
Received: from demuexc025.nsn-intra.net (demuexc025.nsn-intra.net [10.159.32.12]) by demuprx016.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n19DQEe1017419; Mon, 9 Feb 2009 14:26:19 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc025.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 9 Feb 2009 14:26:13 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Mon, 9 Feb 2009 14:25:25 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F701634507@DEMUEXC005.nsn-intra.net>
In-Reply-To: <498C1884.6010600@ericsson.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: WGLC: draft-ietf-netconf-partial-lock-05
Thread-Index: AcmISoUAdLziX1yjTRerXvclJi7xsQCbryGA
References: <A294F5A3E722D94FBEB6D49C1506F6F7016344DB@DEMUEXC005.nsn-intra.net> <498C1884.6010600@ericsson.com>
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "ext Balazs Lengyel" <balazs.lengyel@ericsson.com>
X-OriginalArrivalTime: 09 Feb 2009 13:26:13.0725 (UTC) FILETIME=[FAC028D0:01C98AB9]
Cc: netconf@ietf.org
Subject: Re: [Netconf] WGLC: draft-ietf-netconf-partial-lock-05
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 09 Feb 2009 13:26:18 -0000

Hi Balazs, Martin,

I think the issues are related to each other. I can go with=20
a change like:

           <xs:element name=3D"target" maxOccurs=3D"unbounded">
             <xs:annotation>
               <xs:documentation>
                 A list of one or more datastore names for NETCONF.
                 Each target element MUST contain a different
                 datastore name.
               </xs:documentation>
             </xs:annotation>
             <xs:complexType>
               <xs:choice>
                 <xs:element name=3D"startup" minOccurs=3D"0">
                   <xs:complexType/>
                 </xs:element>
                 <xs:element name=3D"candidate" minOccurs=3D"0">
                   <xs:complexType/>
                 </xs:element>
                 <xs:element name=3D"running" minOccurs=3D"0">
                   <xs:complexType/>
                 </xs:element>
                 <xs:any namespace=3D"##other" minOccurs=3D"0"/>
               </xs:choice>
             </xs:complexType>
           </xs:element>

Cheers,=20
Mehmet

> -----Original Message-----
> From: ext Balazs Lengyel [mailto:balazs.lengyel@ericsson.com]=20
> Sent: Friday, February 06, 2009 12:01 PM
> To: Ersue, Mehmet (NSN - DE/Munich)
> Cc: Martin Bjorklund; netconf@ietf.org
> Subject: Re: WGLC: draft-ietf-netconf-partial-lock-05
>=20
> Hello Mehmet,
> Thanks for the comments. See also below!
> Balazs
>=20
> Ersue, Mehmet (NSN - DE/Munich) wrote:
> > =20
> > But I have some questions concerning XML schema, though:
> > =20
> > - Why is the count of PartialLock targets is limited to '3' ?
> > AFAIK a Netconf client may also define new datastores other
> > than <running>, <candidate> and <startup>.
>=20
> BALAZS: Yes agents can define additional data stores.
> However just as RFC4741 defines 3 datastores and we also use=20
> these. If you add more datastores=20
> you violate the XSD both in 4741 and here. In this case you=20
> will violate both XSDs in multiple=20
> places not just this one maxOccurs=3D3 clause. So as we don't=20
> want to prepare 4741 for the=20
> possible addition of more datastores I don't see the value of=20
> preparing this draft either. Do=20
> you want to raise this issue in the 4741bis effort?
>=20
> > =20
> > - The "target" element in the "partial-lock" elements allows to
> > repeat 1 to 3 times any of the "startup"/"candidate"/"running",
> > so i.e. also 3 times the same. Is this a schema design issue?
>=20
> Yes, but I don't know how to say this in a nicer way in XSD.=20
> The intent is to allow one or more=20
> of the 3 datastores, but each datastore is allowed only once.
>=20
> > =20
> > - I am not sure whether datastore names should be each
> > individually in a target node. The following XML snippet ...
> > =20
> >=20
> > <partial-lock=20
> xmlns=3D"urn:ietf:params:xml:ns:netconf:partial-lock:1.0"
> >=20
> > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
> >=20
> > =
xsi:schemaLocation=3D"urn:ietf:params:xml:ns:netconf:partial-lock:1.0
> >=20
> > C:\Partial_Lock_05.xsd">
> >=20
> >             <target/>
> >=20
> >                         <target>
> >=20
> >                             <candidate/>
> >=20
> >                         </target>
> >=20
> >                         <target>
> >=20
> >                             <candidate/>
> >=20
> >                         </target>
> >=20
> >             <select/>
> >=20
> > </partial-lock>
> >=20
> > is accepted by XMLSpy as valid with regard to the partial lock
> > schema.=20
> > OTOH the description says: "Each target element MUST contain
> > a different datastore name."
>=20
> BALAZS: You are right, thats why we put in the annotation text:
> "Each target element MUST contain a different datastore name."
> I did not know about a formal way to say this in XSD?. Could=20
> you propose an alternative?
>=20
> >=20
> > - The schema requires that in "startup"/"candidate"/"running"
> > elements belonging to "contentPartInPartialLockReplyType"
> > must containt at least one "locked-node" element.
> > But in the YANG module, the "locked-node" leaf lists inside
> > "startup"/"candidate"/"running" containers do not contain a
> > "min-elements 1;" statement, so the containers may be empty,
> > which differs from XSD.
> >=20
>=20
> BALAZS: You are right, the restriction is added to YANG as=20
> well. There is no sense in sending=20
> an empty <startup/> element if it does not contain any locked nodes.
>=20
> Balazs
>=20


Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8C7633A6AB1 for <netconf@core3.amsl.com>; Mon,  9 Feb 2009 06:09:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.843
X-Spam-Level: 
X-Spam-Status: No, score=-5.843 tagged_above=-999 required=5 tests=[AWL=-0.194, BAYES_00=-2.599, HELO_EQ_SE=0.35, J_CHICKENPOX_23=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3xI14SV-20Qp for <netconf@core3.amsl.com>; Mon,  9 Feb 2009 06:09:14 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 8133B3A6A06 for <netconf@ietf.org>; Mon,  9 Feb 2009 06:09:14 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id AFC2A2299A for <netconf@ietf.org>; Mon,  9 Feb 2009 15:09:17 +0100 (CET)
X-AuditID: c1b4fb3e-b0072bb00000429e-8c-499035a2b06f
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 9185B21430 for <netconf@ietf.org>; Mon,  9 Feb 2009 14:54:42 +0100 (CET)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 9 Feb 2009 14:54:41 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 9 Feb 2009 14:54:41 +0100
Message-ID: <499035A1.8030103@ericsson.com>
Date: Mon, 09 Feb 2009 14:54:41 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: netconf mailing list <netconf@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 09 Feb 2009 13:54:41.0647 (UTC) FILETIME=[F4C05FF0:01C98ABD]
X-Brightmail-Tracker: AAAAAA==
Subject: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 09 Feb 2009 14:09:15 -0000

Hello,
A recent comment mentioned

"I think the Netconf base protocol specification does not limit the
count of datastores to 3 and it is not disallowed to define new
datastores for new purposes. In fact Candidate and Startup
datastores are examples of new datastores realized as capabilities."

It is true, that the 4741 XSD does limit the number of data stores, but that was probably not 
the original intention. For this reason the partial-locking draft XSD and YANG will be modified 
to allow locking of other datastores outside the usual 3 (running, startup,candidate).

Proposed changes to XSD:

<xs:element name="target" maxOccurs="unbounded">  <-------------------
   <xs:annotation>
     <xs:documentation>
       A list of one or more datastore names for NETCONF.
       Each target element MUST contain a different
       datastore name.
     </xs:documentation>
   </xs:annotation>
   <xs:complexType>
     <xs:choice>
       <xs:element name="startup" minOccurs="0">
         <xs:complexType/>
       </xs:element>
       <xs:element name="candidate" minOccurs="0">
         <xs:complexType/>
       </xs:element>
       <xs:element name="running" minOccurs="0">
         <xs:complexType/>
       </xs:element>
       <xs:any namespace="##other" minOccurs="0">   <-------------------
         <xs:annotation>
           <xs:documentation>
             The content of this xs:any MUST be a single empty
             element referring to an implementation specific
             NETCONF datastore that is not one of
             startup, running or candidate.
           </xs:documentation>
         </xs:annotation>
       </xs:any>
     </xs:choice>
   </xs:complexType>
</xs:element>

Proposed changes to YANG:

list target {
   min-elements 1;    <------------------- max-elements removed
   description
     "A list of one or more datastore names.
      Each list entry must contain a different datastore name.

      Implementations might lock other datastores, if they   <-------------------
      augment the list of datastore names with other (type empty)
      leafs referring to an implementation specific
      NETCONF datastore, that is not one of
      startup, running or candidate.";
   choice datastore {
     leaf running   { type empty; }
     leaf candidate { type empty; }
     leaf startup   { type empty;
   }
}


Balazs


Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 49C2E3A6875 for <netconf@core3.amsl.com>; Mon,  9 Feb 2009 18:52:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.184
X-Spam-Level: 
X-Spam-Status: No, score=-2.184 tagged_above=-999 required=5 tests=[AWL=-0.185, BAYES_00=-2.599, J_CHICKENPOX_23=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4qB5WUHNa5Xo for <netconf@core3.amsl.com>; Mon,  9 Feb 2009 18:52:01 -0800 (PST)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [121.15.168.142]) by core3.amsl.com (Postfix) with ESMTP id 586113A6808 for <netconf@ietf.org>; Mon,  9 Feb 2009 18:52:01 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KET0095CXAOKM80@hstga01-in.huaweisymantec.com> for netconf@ietf.org; Tue, 10 Feb 2009 10:52:02 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KET00M2FXAMPX00@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Tue, 10 Feb 2009 10:52:00 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Tue, 10 Feb 2009 10:51:58 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Message-id: <fc2d8b4876fa.49915c4e@huaweisymantec.com>
Date: Tue, 10 Feb 2009 10:51:58 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
In-reply-to: <499035A1.8030103@ericsson.com>
References: <499035A1.8030103@ericsson.com>
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 10 Feb 2009 02:52:02 -0000

Hi,

> Hello,
>  A recent comment mentioned
>  
>  "I think the Netconf base protocol specification does not limit the
>  count of datastores to 3 and it is not disallowed to define new
>  datastores for new purposes. In fact Candidate and Startup
>  datastores are examples of new datastores realized as capabilities."
>  
>  It is true, that the 4741 XSD does limit the number of data stores, 
> but that was probably not 
>  the original intention. For this reason the partial-locking draft XSD 
> and YANG will be modified 
>  to allow locking of other datastores outside the usual 3 (running, startup,candidate).
>  
>  Proposed changes to XSD:
>  
>  <xs:element name="target" maxOccurs="unbounded">  <-------------------
>     <xs:annotation>
>       <xs:documentation>
>         A list of one or more datastore names for NETCONF.
>         Each target element MUST contain a different
>         datastore name.
>       </xs:documentation>
>     </xs:annotation>
>     <xs:complexType>
>       <xs:choice>
>         <xs:element name="startup" minOccurs="0">
>           <xs:complexType/>
>         </xs:element>
>         <xs:element name="candidate" minOccurs="0">
>           <xs:complexType/>
>         </xs:element>
>         <xs:element name="running" minOccurs="0">
>           <xs:complexType/>
>         </xs:element>
>         <xs:any namespace="##other" minOccurs="0">   <-------------------
>           <xs:annotation>
>             <xs:documentation>
>               The content of this xs:any MUST be a single empty
>               element referring to an implementation specific
>               NETCONF datastore that is not one of
>               startup, running or candidate.
>             </xs:documentation>
>           </xs:annotation>
>         </xs:any>
>       </xs:choice>
>     </xs:complexType>
>  </xs:element>

Why allow for minOccurs="0" :
<target></taget>     <------------corret?

washam

>  Proposed changes to YANG:
>  
>  list target {
>     min-elements 1;    <------------------- max-elements removed
>     description
>       "A list of one or more datastore names.
>        Each list entry must contain a different datastore name.
>  
>        Implementations might lock other datastores, if they   <-------------------
>        augment the list of datastore names with other (type empty)
>        leafs referring to an implementation specific
>        NETCONF datastore, that is not one of
>        startup, running or candidate.";
>     choice datastore {
>       leaf running   { type empty; }
>       leaf candidate { type empty; }
>       leaf startup   { type empty;
>     }
>  }
>  
>  
>  Balazs
>  _______________________________________________
>  Netconf mailing list
>  Netconf@ietf.org
>  https://www.ietf.org/mailman/listinfo/netconf
>  


Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 602F33A6C3E for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 00:23:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.837
X-Spam-Level: 
X-Spam-Status: No, score=-5.837 tagged_above=-999 required=5 tests=[AWL=-0.188, BAYES_00=-2.599, HELO_EQ_SE=0.35, J_CHICKENPOX_23=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Gif+CG8dr1s for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 00:23:32 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 548EC3A6B36 for <netconf@ietf.org>; Tue, 10 Feb 2009 00:23:32 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 1CC9920319; Tue, 10 Feb 2009 09:23:34 +0100 (CET)
X-AuditID: c1b4fb3e-ac0bbbb000001315-fc-49913985710e
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id E990E2008B; Tue, 10 Feb 2009 09:23:33 +0100 (CET)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 10 Feb 2009 09:23:33 +0100
Received: from [159.107.197.224] ([159.107.197.224]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 10 Feb 2009 09:23:33 +0100
Message-ID: <49913985.7050209@ericsson.com>
Date: Tue, 10 Feb 2009 09:23:33 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: WashamFan <Washam.Fan@huaweisymantec.com>
References: <499035A1.8030103@ericsson.com> <fc2d8b4876fa.49915c4e@huaweisymantec.com>
In-Reply-To: <fc2d8b4876fa.49915c4e@huaweisymantec.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 10 Feb 2009 08:23:33.0356 (UTC) FILETIME=[DCBD82C0:01C98B58]
X-Brightmail-Tracker: AAAAAA==
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 10 Feb 2009 08:23:33 -0000

WashamFan wrote:
> Hi,
> 
>> Hello,
>>  A recent comment mentioned
>>  
>>  "I think the Netconf base protocol specification does not limit the
>>  count of datastores to 3 and it is not disallowed to define new
>>  datastores for new purposes. In fact Candidate and Startup
>>  datastores are examples of new datastores realized as capabilities."
>>  
>>  It is true, that the 4741 XSD does limit the number of data stores, 
>> but that was probably not 
>>  the original intention. For this reason the partial-locking draft XSD 
>> and YANG will be modified 
>>  to allow locking of other datastores outside the usual 3 (running, startup,candidate).
>>  
>>  Proposed changes to XSD:
>>  
>>  <xs:element name="target" maxOccurs="unbounded">  <-------------------
>>     <xs:annotation>
>>       <xs:documentation>
>>         A list of one or more datastore names for NETCONF.
>>         Each target element MUST contain a different
>>         datastore name.
>>       </xs:documentation>
>>     </xs:annotation>
>>     <xs:complexType>
>>       <xs:choice>
>>         <xs:element name="startup" minOccurs="0">
>>           <xs:complexType/>
>>         </xs:element>
>>         <xs:element name="candidate" minOccurs="0">
>>           <xs:complexType/>
>>         </xs:element>
>>         <xs:element name="running" minOccurs="0">
>>           <xs:complexType/>
>>         </xs:element>
>>         <xs:any namespace="##other" minOccurs="0">   <-------------------
>>           <xs:annotation>
>>             <xs:documentation>
>>               The content of this xs:any MUST be a single empty
>>               element referring to an implementation specific
>>               NETCONF datastore that is not one of
>>               startup, running or candidate.
>>             </xs:documentation>
>>           </xs:annotation>
>>         </xs:any>
>>       </xs:choice>
>>     </xs:complexType>
>>  </xs:element>
> 
> Why allow for minOccurs="0" :
> <target></taget>     <------------corret?
> 
> washam
> 
BALAZS: Any of the datastores might be absent from the request. The requirement is that at 
least one valid datastore name is inserted. So target must occur at least once, which is the 
XSD default.

Sorry if I misunderstood your comment.

Balazs


Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4B07C3A6A5C for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 01:37:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.176
X-Spam-Level: 
X-Spam-Status: No, score=-2.176 tagged_above=-999 required=5 tests=[AWL=-0.177, BAYES_00=-2.599, J_CHICKENPOX_23=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w6xZF-Z2i8By for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 01:37:32 -0800 (PST)
Received: from mta2.huaweisymantec.com (mta2.huaweisymantec.com [121.15.168.143]) by core3.amsl.com (Postfix) with ESMTP id 633533A67FF for <netconf@ietf.org>; Tue, 10 Feb 2009 01:37:32 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.42]) by hstga02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEU00AVUDA9SV10@hstga02-in.huaweisymantec.com> for netconf@ietf.org; Tue, 10 Feb 2009 16:37:23 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEU000O9DA7NH00@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Tue, 10 Feb 2009 16:37:21 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Tue, 10 Feb 2009 16:37:19 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Message-id: <fc99f4bb477f.4991ad3f@huaweisymantec.com>
Date: Tue, 10 Feb 2009 16:37:19 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
In-reply-to: <49913985.7050209@ericsson.com>
References: <499035A1.8030103@ericsson.com> <fc2d8b4876fa.49915c4e@huaweisymantec.com> <49913985.7050209@ericsson.com>
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 10 Feb 2009 09:37:33 -0000

 
>  WashamFan wrote:
>  > Hi,
>  > 
>  >> Hello,
>  >>  A recent comment mentioned
>  >>  
>  >>  "I think the Netconf base protocol specification does not limit the
>  >>  count of datastores to 3 and it is not disallowed to define new
>  >>  datastores for new purposes. In fact Candidate and Startup
>  >>  datastores are examples of new datastores realized as capabilities."
>  >>  
>  >>  It is true, that the 4741 XSD does limit the number of data 
> stores, 
>  >> but that was probably not 
>  >>  the original intention. For this reason the partial-locking draft 
> XSD 
>  >> and YANG will be modified 
>  >>  to allow locking of other datastores outside the usual 3 
> (running, startup,candidate).
>  >>  
>  >>  Proposed changes to XSD:
>  >>  
>  >>  <xs:element name="target" maxOccurs="unbounded">  <-------------------
>  >>     <xs:annotation>
>  >>       <xs:documentation>
>  >>         A list of one or more datastore names for NETCONF.
>  >>         Each target element MUST contain a different
>  >>         datastore name.
>  >>       </xs:documentation>
>  >>     </xs:annotation>
>  >>     <xs:complexType>
>  >>       <xs:choice>
>  >>         <xs:element name="startup" minOccurs="0">
>  >>           <xs:complexType/>
>  >>         </xs:element>
>  >>         <xs:element name="candidate" minOccurs="0">
>  >>           <xs:complexType/>
>  >>         </xs:element>
>  >>         <xs:element name="running" minOccurs="0">
>  >>           <xs:complexType/>
>  >>         </xs:element>
>  >>         <xs:any namespace="##other" minOccurs="0">   <-------------------
>  >>           <xs:annotation>
>  >>             <xs:documentation>
>  >>               The content of this xs:any MUST be a single empty
>  >>               element referring to an implementation specific
>  >>               NETCONF datastore that is not one of
>  >>               startup, running or candidate.
>  >>             </xs:documentation>
>  >>           </xs:annotation>
>  >>         </xs:any>
>  >>       </xs:choice>
>  >>     </xs:complexType>
>  >>  </xs:element>
>  > 
>  > Why allow for minOccurs="0" :
>  > <target></taget>     <------------corret?
>  > 
>  > washam
>  > 
>  BALAZS: Any of the datastores might be absent from the request. The 
> requirement is that at 
>  least one valid datastore name is inserted. So target must occur at 
> least once, which is the 
>  XSD default.

I meant '<target></target>' would be correct syntacticly according to this XSD.
<xs:choice> means only one of four child <element>s should be selected. When a <element>
is selected. it is allowed for 0 occurrence.
I suggest omitting 'minOccurs="0"'.

washam

>  Sorry if I misunderstood your comment.
>  
>  Balazs
>  


Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B3C143A6BD0 for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 07:49:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.893
X-Spam-Level: 
X-Spam-Status: No, score=-1.893 tagged_above=-999 required=5 tests=[AWL=-0.228, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_23=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fYA4YIfnsQe6 for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 07:49:38 -0800 (PST)
Received: from smtp123.sbc.mail.sp1.yahoo.com (smtp123.sbc.mail.sp1.yahoo.com [69.147.64.96]) by core3.amsl.com (Postfix) with SMTP id EBDE63A69C3 for <netconf@ietf.org>; Tue, 10 Feb 2009 07:49:37 -0800 (PST)
Received: (qmail 3907 invoked from network); 10 Feb 2009 15:49:40 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.125.159.31 with plain) by smtp123.sbc.mail.sp1.yahoo.com with SMTP; 10 Feb 2009 15:49:40 -0000
X-YMail-OSG: BokFpasVM1njx93xY.zW0_J1MnKJVakIuTKDoaMVI8OowoQ50eLh4_4arb96pBa.wYNG5VFH..egDP_63gAEp0heElpvSPvoFiqlBhoB9YfqvDunv5se5NtGIbMetiAkrKMJ7r4gA2bk9xQ0FbBBDlDa
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4991A212.6080505@netconfcentral.com>
Date: Tue, 10 Feb 2009 07:49:38 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: WashamFan <Washam.Fan@huaweisymantec.com>
References: <499035A1.8030103@ericsson.com>	<fc2d8b4876fa.49915c4e@huaweisymantec.com>	<49913985.7050209@ericsson.com> <fc99f4bb477f.4991ad3f@huaweisymantec.com>
In-Reply-To: <fc99f4bb477f.4991ad3f@huaweisymantec.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 10 Feb 2009 15:49:38 -0000

WashamFan wrote:
>  
>>  WashamFan wrote:
>>  > Hi,
>>  > 
>>  >> Hello,
>>  >>  A recent comment mentioned
>>  >>  
>>  >>  "I think the Netconf base protocol specification does not limit the
>>  >>  count of datastores to 3 and it is not disallowed to define new
>>  >>  datastores for new purposes. In fact Candidate and Startup
>>  >>  datastores are examples of new datastores realized as capabilities."
>>  >>  
>>  >>  It is true, that the 4741 XSD does limit the number of data 
>> stores, 
>>  >> but that was probably not 
>>  >>  the original intention. For this reason the partial-locking draft 
>> XSD 
>>  >> and YANG will be modified 
>>  >>  to allow locking of other datastores outside the usual 3 
>> (running, startup,candidate).
>>  >>  
>>  >>  Proposed changes to XSD:
>>  >>  
>>  >>  <xs:element name="target" maxOccurs="unbounded">  <-------------------
>>  >>     <xs:annotation>
>>  >>       <xs:documentation>
>>  >>         A list of one or more datastore names for NETCONF.
>>  >>         Each target element MUST contain a different
>>  >>         datastore name.
>>  >>       </xs:documentation>
>>  >>     </xs:annotation>
>>  >>     <xs:complexType>
>>  >>       <xs:choice>
>>  >>         <xs:element name="startup" minOccurs="0">
>>  >>           <xs:complexType/>
>>  >>         </xs:element>
>>  >>         <xs:element name="candidate" minOccurs="0">
>>  >>           <xs:complexType/>
>>  >>         </xs:element>
>>  >>         <xs:element name="running" minOccurs="0">
>>  >>           <xs:complexType/>
>>  >>         </xs:element>
>>  >>         <xs:any namespace="##other" minOccurs="0">   <-------------------
>>  >>           <xs:annotation>
>>  >>             <xs:documentation>
>>  >>               The content of this xs:any MUST be a single empty
>>  >>               element referring to an implementation specific
>>  >>               NETCONF datastore that is not one of
>>  >>               startup, running or candidate.
>>  >>             </xs:documentation>
>>  >>           </xs:annotation>
>>  >>         </xs:any>
>>  >>       </xs:choice>
>>  >>     </xs:complexType>
>>  >>  </xs:element>
>>  > 
>>  > Why allow for minOccurs="0" :
>>  > <target></taget>     <------------corret?
>>  > 
>>  > washam
>>  > 
>>  BALAZS: Any of the datastores might be absent from the request. The 
>> requirement is that at 
>>  least one valid datastore name is inserted. So target must occur at 
>> least once, which is the 
>>  XSD default.
> 
> I meant '<target></target>' would be correct syntacticly according to this XSD.
> <xs:choice> means only one of four child <element>s should be selected. When a <element>
> is selected. it is allowed for 0 occurrence.
> I suggest omitting 'minOccurs="0"'.
> 

1) I think you want minOccurs=1, maxOccurs=unbounded for
    the entire choice, maxOccurs=1 on candidate, running,
    and startup, and maxOccurs=unbounded on 'any'.
    You don't need minOccurs=0 on choice members.

2) The schema implies that all agents will accept this 'any'
    placeholder parameter, even though :url is required for
    this feature to have any meaning on the agent.

3) This seems to be changing the design of NETCONF operations
    to introduce arbitrary empty elements instead of the <url> element,
    used everywhere else in NETCONF.  There is no such thing
    as a config named <foo/> in NETCONF.  Instead, there is
    a <url>file:://foo</url> allowed.  IMO, partial-lock should
    be consistent with existing protocol operations.


> washam
> 
>>  Sorry if I misunderstood your comment.
>>  
>>  Balazs
>>  


Andy



Return-Path: <vladkot@redback.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DB15E3A6B84 for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 09:22:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.298
X-Spam-Level: 
X-Spam-Status: No, score=-2.298 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_33=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W8qTChzFx451 for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 09:22:01 -0800 (PST)
Received: from prattle.redback.com (prattle.redback.com [155.53.12.9]) by core3.amsl.com (Postfix) with ESMTP id 311D73A6B52 for <netconf@ietf.org>; Tue, 10 Feb 2009 09:22:01 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by prattle.redback.com (Postfix) with ESMTP id CEA423DAE0C for <netconf@ietf.org>; Tue, 10 Feb 2009 09:22:04 -0800 (PST)
Received: from prattle.redback.com ([127.0.0.1]) by localhost (prattle [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17084-06 for <netconf@ietf.org>; Tue, 10 Feb 2009 09:22:04 -0800 (PST)
Received: from rbsjx.ad.redback.com (rbsjxh1.redback.com [155.53.14.105]) by prattle.redback.com (Postfix) with ESMTP id A2FC33DAE0B for <netconf@ietf.org>; Tue, 10 Feb 2009 09:22:04 -0800 (PST)
Received: from RBSJX.ad.redback.com ([155.53.14.103]) by rbsjxh1.ad.redback.com ([155.53.14.105]) with mapi; Tue, 10 Feb 2009 09:22:04 -0800
From: Vladlen Kot <vladkot@redback.com>
To: "netconf@ietf.org" <netconf@ietf.org>
Date: Tue, 10 Feb 2009 09:22:03 -0800
Thread-Topic: 4 bytes header when connecting via NETCONF and using SSH subsystem.
Thread-Index: AcmLpBbn65qEtwFbRPCjZK8NICyrPA==
Message-ID: <48C276B536524E478C659685995F6AA5A30A9FD0DC@RBSJX.ad.redback.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_48C276B536524E478C659685995F6AA5A30A9FD0DCRBSJXadredbac_"
MIME-Version: 1.0
X-Virus-Scanned: by amavisd-new at redback.com
Subject: [Netconf] 4 bytes header when connecting via NETCONF and using SSH subsystem.
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Tue, 10 Feb 2009 17:22:04 -0000

--_000_48C276B536524E478C659685995F6AA5A30A9FD0DCRBSJXadredbac_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi folks,

I have a question on the SSH subsystem with NETCONF; and I'm looking if any=
one knows of any Standard for this (4 bytes leading header).  Here the dile=
mma I'm facing:

"One of our guys having problem running his commands with SSH subsystem. It=
 appears as if he is connecting via the NETCONF subsystem, but the packets =
that you are sending are not SSH subsystem packets.

SSH subsystem packets consist of a header portion followed by the data segm=
ent. The header portion consists of 4 bytes that contain the length of the =
data segment in network byte order. The data segment contains the data.

If user doesn't use the NETCONF subsystem, then he will not have to form th=
ese subsystem packets.

I've searched the RFC for some guidance on this, and I was unable to find a=
ny mention of it. The only reference to something similar was that the scp =
and stfp subsystem use this packet protocol. Other SSH libraries (perl's Ne=
t:SSH in particular) seem to adhere to the same encoding of data when using=
 subsystems."


Any help or pointing into right direction to look for the source of the Sta=
ndard will be much appreciated.

Thanks,
Vlad


--_000_48C276B536524E478C659685995F6AA5A30A9FD0DCRBSJXadredbac_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Hi folks,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3DAr=
ial><span
style=3D'font-size:10.0pt;font-family:Arial'>I have a question on the SSH
subsystem with NETCONF; and I&#8217;m looking if anyone knows of any Standa=
rd
for this (4 bytes leading header). &nbsp;Here the dilemma I&#8217;m facing:=
<o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D2 face=3DAr=
ial><span
style=3D'font-size:10.0pt;font-family:Arial'><o:p>&nbsp;</o:p></span></font=
></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><i><font size=3D2 face=
=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;font-style:italic'>&#8220;</spa=
n></font></i><i><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"=
Courier New";
font-style:italic'>One of our guys having problem running his commands with=
 SSH
subsystem. It appears as if he is connecting via the NETCONF subsystem, but=
 the
packets that you are sending are not SSH subsystem packets.<o:p></o:p></spa=
n></font></i></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><i><font size=3D2
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
font-style:italic'><o:p>&nbsp;</o:p></span></font></i></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><i><font size=3D2
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
font-style:italic'>SSH subsystem packets consist of a header portion follow=
ed
by the data segment. The header portion consists of 4 bytes that contain th=
e length
of the data segment in network byte order. The data segment contains the da=
ta.<o:p></o:p></span></font></i></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><i><font size=3D2
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
font-style:italic'><o:p>&nbsp;</o:p></span></font></i></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><i><font size=3D2
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
font-style:italic'>If user doesn't use the NETCONF subsystem, then he will =
not
have to form these subsystem packets.<o:p></o:p></span></font></i></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><i><font size=3D2
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
font-style:italic'><o:p>&nbsp;</o:p></span></font></i></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><i><font size=3D2
face=3D"Courier New"><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
font-style:italic'>I&#8217;ve searched the RFC for some guidance on this, a=
nd I
was unable to find any mention of it. The only reference to something simil=
ar
was that the scp and stfp subsystem use this packet protocol. Other SSH
libraries (perl's Net:SSH in particular) seem to adhere to the same encodin=
g of
data when using subsystems</span></font></i><i><font size=3D2 face=3DArial>=
<span
style=3D'font-size:10.0pt;font-family:Arial;font-style:italic'>.&#8221;<o:p=
></o:p></span></font></i></p>

<p class=3DMsoNormal><i><font size=3D2 face=3DArial><span style=3D'font-siz=
e:10.0pt;
font-family:Arial;font-style:italic'><o:p>&nbsp;</o:p></span></font></i></p=
>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Any help or pointing into right direction to look for th=
e
source of the Standard will be much appreciated.<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Thanks,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Vlad</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

--_000_48C276B536524E478C659685995F6AA5A30A9FD0DCRBSJXadredbac_--


Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 32A7F3A6D90 for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 17:47:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.169
X-Spam-Level: 
X-Spam-Status: No, score=-2.169 tagged_above=-999 required=5 tests=[AWL=-0.170, BAYES_00=-2.599, J_CHICKENPOX_23=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z6NVHZX2L7Jm for <netconf@core3.amsl.com>; Tue, 10 Feb 2009 17:47:33 -0800 (PST)
Received: from mta2.huaweisymantec.com (mta2.huaweisymantec.com [121.15.168.143]) by core3.amsl.com (Postfix) with ESMTP id 325573A68BC for <netconf@ietf.org>; Tue, 10 Feb 2009 17:47:32 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml02-in.huaweisymantec.com ([172.26.3.42]) by hstga02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEV00APUOZ9SV80@hstga02-in.huaweisymantec.com> for netconf@ietf.org; Wed, 11 Feb 2009 09:47:35 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml02-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEV00A1LOZ7JQ20@hstml02-in.huaweisymantec.com> for netconf@ietf.org; Wed, 11 Feb 2009 09:47:33 +0800 (CST)
Received: from [10.27.142.110] by hstml02-in.huaweisymantec.com (mshttpd); Wed, 11 Feb 2009 09:47:31 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: Andy Bierman <andy@netconfcentral.com>
Message-id: <fbf4a8416537.49929eb3@huaweisymantec.com>
Date: Wed, 11 Feb 2009 09:47:31 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
In-reply-to: <4991A212.6080505@netconfcentral.com>
References: <499035A1.8030103@ericsson.com> <fc2d8b4876fa.49915c4e@huaweisymantec.com> <49913985.7050209@ericsson.com> <fc99f4bb477f.4991ad3f@huaweisymantec.com> <4991A212.6080505@netconfcentral.com>
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 01:47:34 -0000

Hi,

> WashamFan wrote:
>  >  
>  >>  WashamFan wrote:
>  >>  > Hi,
>  >>  > 
>  >>  >> Hello,
>  >>  >>  A recent comment mentioned
>  >>  >>  
>  >>  >>  "I think the Netconf base protocol specification does not 
> limit the
>  >>  >>  count of datastores to 3 and it is not disallowed to define new
>  >>  >>  datastores for new purposes. In fact Candidate and Startup
>  >>  >>  datastores are examples of new datastores realized as capabilities."
>  >>  >>  
>  >>  >>  It is true, that the 4741 XSD does limit the number of data 
>  >> stores, 
>  >>  >> but that was probably not 
>  >>  >>  the original intention. For this reason the partial-locking 
> draft 
>  >> XSD 
>  >>  >> and YANG will be modified 
>  >>  >>  to allow locking of other datastores outside the usual 3 
>  >> (running, startup,candidate).
>  >>  >>  
>  >>  >>  Proposed changes to XSD:
>  >>  >>  
>  >>  >>  <xs:element name="target" maxOccurs="unbounded">  <-------------------
>  >>  >>     <xs:annotation>
>  >>  >>       <xs:documentation>
>  >>  >>         A list of one or more datastore names for NETCONF.
>  >>  >>         Each target element MUST contain a different
>  >>  >>         datastore name.
>  >>  >>       </xs:documentation>
>  >>  >>     </xs:annotation>
>  >>  >>     <xs:complexType>
>  >>  >>       <xs:choice>
>  >>  >>         <xs:element name="startup" minOccurs="0">
>  >>  >>           <xs:complexType/>
>  >>  >>         </xs:element>
>  >>  >>         <xs:element name="candidate" minOccurs="0">
>  >>  >>           <xs:complexType/>
>  >>  >>         </xs:element>
>  >>  >>         <xs:element name="running" minOccurs="0">
>  >>  >>           <xs:complexType/>
>  >>  >>         </xs:element>
>  >>  >>         <xs:any namespace="##other" minOccurs="0">   <-------------------
>  >>  >>           <xs:annotation>
>  >>  >>             <xs:documentation>
>  >>  >>               The content of this xs:any MUST be a single empty
>  >>  >>               element referring to an implementation specific
>  >>  >>               NETCONF datastore that is not one of
>  >>  >>               startup, running or candidate.
>  >>  >>             </xs:documentation>
>  >>  >>           </xs:annotation>
>  >>  >>         </xs:any>
>  >>  >>       </xs:choice>
>  >>  >>     </xs:complexType>
>  >>  >>  </xs:element>
>  >>  > 
>  >>  > Why allow for minOccurs="0" :
>  >>  > <target></taget>     <------------corret?
>  >>  > 
>  >>  > washam
>  >>  > 
>  >>  BALAZS: Any of the datastores might be absent from the request. 
> The 
>  >> requirement is that at 
>  >>  least one valid datastore name is inserted. So target must occur 
> at 
>  >> least once, which is the 
>  >>  XSD default.
>  > 
>  > I meant '<target></target>' would be correct syntacticly according 
> to this XSD.
>  > <xs:choice> means only one of four child <element>s should be 
> selected. When a <element>
>  > is selected. it is allowed for 0 occurrence.
>  > I suggest omitting 'minOccurs="0"'.
>  > 
>  
>  1) I think you want minOccurs=1, maxOccurs=unbounded for
>      the entire choice, maxOccurs=1 on candidate, running,
>      and startup, and maxOccurs=unbounded on 'any'.
>      You don't need minOccurs=0 on choice members.

Not exactly. I actually want minOccurs=1, maxOccurs=1.
Since <target> allows for one and only one children syntacticly
if I understand correctly.

washam

>  2) The schema implies that all agents will accept this 'any'
>      placeholder parameter, even though :url is required for
>      this feature to have any meaning on the agent.
>  
>  3) This seems to be changing the design of NETCONF operations
>      to introduce arbitrary empty elements instead of the <url> element,
>      used everywhere else in NETCONF.  There is no such thing
>      as a config named <foo/> in NETCONF.  Instead, there is
>      a <url>file:://foo</url> allowed.  IMO, partial-lock should
>      be consistent with existing protocol operations.
>  
>  
>  > washam
>  > 
>  >>  Sorry if I misunderstood your comment.
>  >>  
>  >>  Balazs
>  >>  
>  
>  
>  Andy
>  
>  


Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 19D803A679C for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 00:26:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.649
X-Spam-Level: 
X-Spam-Status: No, score=-5.649 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, J_CHICKENPOX_23=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LofTGXjL83jZ for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 00:26:18 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id CC8B13A67EA for <netconf@ietf.org>; Wed, 11 Feb 2009 00:26:17 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 934582198B; Wed, 11 Feb 2009 09:26:20 +0100 (CET)
X-AuditID: c1b4fb3e-ac8bcbb000001315-22-49928bac39af
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 6D424204A3; Wed, 11 Feb 2009 09:26:20 +0100 (CET)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Wed, 11 Feb 2009 09:26:20 +0100
Received: from [134.138.29.137] ([134.138.29.137]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Wed, 11 Feb 2009 09:26:20 +0100
Message-ID: <49928BAB.10305@ericsson.com>
Date: Wed, 11 Feb 2009 09:26:19 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: WashamFan <Washam.Fan@huaweisymantec.com>
References: <499035A1.8030103@ericsson.com> <fc2d8b4876fa.49915c4e@huaweisymantec.com> <49913985.7050209@ericsson.com> <fc99f4bb477f.4991ad3f@huaweisymantec.com> <4991A212.6080505@netconfcentral.com> <fbf4a8416537.49929eb3@huaweisymantec.com>
In-Reply-To: <fbf4a8416537.49929eb3@huaweisymantec.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 11 Feb 2009 08:26:20.0016 (UTC) FILETIME=[6A7D8F00:01C98C22]
X-Brightmail-Tracker: AAAAAA==
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 08:26:19 -0000

WashamFan wrote:
>>  >>  >>  Proposed changes to XSD:
>>  >>  >>  
>>  >>  >>  <xs:element name="target" maxOccurs="unbounded">  <-------------------
>>  >>  >>     <xs:annotation>
>>  >>  >>       <xs:documentation>
>>  >>  >>         A list of one or more datastore names for NETCONF.
>>  >>  >>         Each target element MUST contain a different
>>  >>  >>         datastore name.
>>  >>  >>       </xs:documentation>
>>  >>  >>     </xs:annotation>
>>  >>  >>     <xs:complexType>
>>  >>  >>       <xs:choice>
>>  >>  >>         <xs:element name="startup" minOccurs="0">
>>  >>  >>           <xs:complexType/>
>>  >>  >>         </xs:element>
>>  >>  >>         <xs:element name="candidate" minOccurs="0">
>>  >>  >>           <xs:complexType/>
>>  >>  >>         </xs:element>
>>  >>  >>         <xs:element name="running" minOccurs="0">
>>  >>  >>           <xs:complexType/>
>>  >>  >>         </xs:element>
>>  >>  >>         <xs:any namespace="##other" minOccurs="0">   <-------------------
>>  >>  >>           <xs:annotation>
>>  >>  >>             <xs:documentation>
>>  >>  >>               The content of this xs:any MUST be a single empty
>>  >>  >>               element referring to an implementation specific
>>  >>  >>               NETCONF datastore that is not one of
>>  >>  >>               startup, running or candidate.
>>  >>  >>             </xs:documentation>
>>  >>  >>           </xs:annotation>
>>  >>  >>         </xs:any>
>>  >>  >>       </xs:choice>
>>  >>  >>     </xs:complexType>
>>  >>  >>  </xs:element>
>>  >>  > 
>>  >>  > Why allow for minOccurs="0" :
>>  >>  > <target></taget>     <------------corret?
>>  >>  > 
>>  >>  > washam
>>  >>  > 
>>  >>  BALAZS: Any of the datastores might be absent from the request. 
>> The 
>>  >> requirement is that at 
>>  >>  least one valid datastore name is inserted. So target must occur 
>> at 
>>  >> least once, which is the 
>>  >>  XSD default.
>>  > 
>>  > I meant '<target></target>' would be correct syntacticly according 
>> to this XSD.
>>  > <xs:choice> means only one of four child <element>s should be 
>> selected. When a <element>
>>  > is selected. it is allowed for 0 occurrence.
>>  > I suggest omitting 'minOccurs="0"'.
>>  > 
>>  
>>  1) I think you want minOccurs=1, maxOccurs=unbounded for
>>      the entire choice, maxOccurs=1 on candidate, running,
>>      and startup, and maxOccurs=unbounded on 'any'.
>>      You don't need minOccurs=0 on choice members.
> 
> Not exactly. I actually want minOccurs=1, maxOccurs=1.
> Since <target> allows for one and only one children syntacticly
> if I understand correctly.
> 

BALAZS: Isn't minOccurs=1, maxOccurs=1 the default in XSD? In that case we don't need anything 
there.
Balazs


Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9D4533A684C for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 01:21:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.949
X-Spam-Level: 
X-Spam-Status: No, score=-5.949 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7moXGT-zu6uR for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 01:21:36 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 88E593A679C for <netconf@ietf.org>; Wed, 11 Feb 2009 01:21:36 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 434FE211C6; Wed, 11 Feb 2009 10:21:39 +0100 (CET)
X-AuditID: c1b4fb3e-ab0b9bb000001315-98-499298a3180c
Received: from esealmw127.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 1A0F6211F7; Wed, 11 Feb 2009 10:21:39 +0100 (CET)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Wed, 11 Feb 2009 10:21:38 +0100
Received: from [134.138.29.137] ([134.138.29.137]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Wed, 11 Feb 2009 10:21:38 +0100
Message-ID: <499298A2.9030704@ericsson.com>
Date: Wed, 11 Feb 2009 10:21:38 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: Andy Bierman <andy@netconfcentral.com>
References: <499035A1.8030103@ericsson.com>	<fc2d8b4876fa.49915c4e@huaweisymantec.com>	<49913985.7050209@ericsson.com> <fc99f4bb477f.4991ad3f@huaweisymantec.com> <4991A212.6080505@netconfcentral.com>
In-Reply-To: <4991A212.6080505@netconfcentral.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 11 Feb 2009 09:21:38.0496 (UTC) FILETIME=[24756C00:01C98C2A]
X-Brightmail-Tracker: AAAAAA==
Cc: netconf mailing list <netconf@ietf.org>
Subject: Re: [Netconf] Allow other datastores for Netconf
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 09:21:37 -0000

Hello,


Andy Bierman wrote:
> 
> 1) I think you want minOccurs=1, maxOccurs=unbounded for
>    the entire choice, maxOccurs=1 on candidate, running,
>    and startup, and maxOccurs=unbounded on 'any'.
>    You don't need minOccurs=0 on choice members.
> 
> 2) The schema implies that all agents will accept this 'any'
>    placeholder parameter, even though :url is required for
>    this feature to have any meaning on the agent.



> 
> 3) This seems to be changing the design of NETCONF operations
>    to introduce arbitrary empty elements instead of the <url> element,
>    used everywhere else in NETCONF.  There is no such thing
>    as a config named <foo/> in NETCONF.  Instead, there is
>    a <url>file:://foo</url> allowed.  IMO, partial-lock should
>    be consistent with existing protocol operations.
> 

BALAZS:

I will ask the basic question.
1) Do we want to prepare partial-lock for addition of other (non-standard) datastores?
2) If the answer 1) is yes how do we want to designate the additional datastores
    2a) like the datastores today with an empty element: <datastoreName/>
    2b) with an URL: <url>file:://foo</url> even though the datastore will often not be a file
    2c) something else

Handling additional datastores is not part of the partial-locking task. So unless we can get 
consensus fast, I think we need to drop the issue from partial-locking. Very fast for me means 
by Monday midnight. I would like the chairmans to explicitly approve this approach.

So please voice your opinion on the two questions!

Votes as I understand today (please correct me if I am wrong):

1)
Yes: Mehmet
No: Andy
Don't care: Balazs, Martin

2a) Balazs
2b) Andy
2c)
Balazs


Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6DB693A6949 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 03:57:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.121
X-Spam-Level: 
X-Spam-Status: No, score=-2.121 tagged_above=-999 required=5 tests=[AWL=0.478,  BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U4SVWkJpBFyG for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 03:57:18 -0800 (PST)
Received: from mk-outboundfilter-5.mail.uk.tiscali.com (mk-outboundfilter-5.mail.uk.tiscali.com [212.74.114.1]) by core3.amsl.com (Postfix) with ESMTP id B9FB53A67E3 for <netconf@ietf.org>; Wed, 11 Feb 2009 03:57:17 -0800 (PST)
X-Trace: 131124234/mk-outboundfilter-5.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.5/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.5
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Aq8EABdMkkk+vGQF/2dsb2JhbACDRkWKCsUtB4QTBg
X-IronPort-AV: E=Sophos;i="4.38,191,1233532800"; d="scan'208";a="131124234"
X-IP-Direction: IN
Received: from 1cust5.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.5]) by smtp.pipex.tiscali.co.uk with SMTP; 11 Feb 2009 11:57:19 +0000
Message-ID: <02e301c98c37$5d565a40$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Romascanu, Dan \(Dan\)" <dromasca@avaya.com>, <netconf@ietf.org>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>
Date: Wed, 11 Feb 2009 11:52:12 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 11:57:19 -0000

inline
Tom Petch

----- Original Message -----
From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
To: <netconf@ietf.org>
Sent: Thursday, February 05, 2009 2:13 PM
Subject: [Netconf] AD review for draft-ietf-netconf-tls-06.txt


> This is the AD review for  draft-ietf-netconf-tls-06.txt. I believe that
> this document is in good shape and I am sending it to IETF Last Call.
> The comments below can be dealt with together with the other comments
> that may arrive during the IETF Last Call period.
>
> 1. I believe that there is a need for more clarity in defining the usage
> of the delimiter sequence ]]>]]> after each XML document. The text in
> RFC 4742 seems to me more clear and I suggest to take inspiration from
> it:
>
>    [The] special character sequence,
>    ]]>]]>, MUST be sent by both the client and the server after each XML
>    document in the NETCONF exchange.  This character sequence cannot
>    legally appear in an XML document, so it can be unambiguously used to
>    identify the end of the current document, allowing resynchronization
>    of the NETCONF exchange in the event of an XML syntax or parsing
>    error.
>

There was a discussion on this list at the end of November which said that this
was not true, that the character sequence can validly appear in comments and in
attributes and that this was a problem for Netconf rpc.

Tom Petch

> 2. In section 3.2: 'Typically, the server has no external knowledge of
> what the client's identity ought to be'. I question if this is really
> true in the 'typical' case. I would actually imagine that the case where
> network devices would be preconfigured with information about the
> identity of their managers would be quite common.
>
> 3.   Id-nits complains about the obsolete normative reference: RFC 4366
> (Obsoleted by RFC 5246). I assume this does not change anything wrt. the
> content of the document, but please check.
>
> Dan



Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E30213A6CFF for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 05:00:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.058
X-Spam-Level: 
X-Spam-Status: No, score=-1.058 tagged_above=-999 required=5 tests=[AWL=0.192,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nqKLOKsHlz1K for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 05:00:03 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 136683A6CFC for <netconf@ietf.org>; Wed, 11 Feb 2009 05:00:03 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 1E6ACD800BD; Wed, 11 Feb 2009 14:00:07 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: "tom.petch" <cfinss@dial.pipex.com>
In-Reply-To: <02e301c98c37$5d565a40$0601a8c0@allison>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <02e301c98c37$5d565a40$0601a8c0@allison>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Wed, 11 Feb 2009 14:00:07 +0100
Message-Id: <1234357207.6477.83.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 13:00:04 -0000

tom.petch píše v St 11. 02. 2009 v 11:52 +0100:

> >
> >    [The] special character sequence,
> >    ]]>]]>, MUST be sent by both the client and the server after each XML
> >    document in the NETCONF exchange.  This character sequence cannot
> >    legally appear in an XML document, so it can be unambiguously used to
> >    identify the end of the current document, allowing resynchronization
> >    of the NETCONF exchange in the event of an XML syntax or parsing
> >    error.
> >
> 
> There was a discussion on this list at the end of November which said that this
> was not true, that the character sequence can validly appear in comments and in
> attributes and that this was a problem for Netconf rpc.

Yes, that assumption in RFC 4742 is wrong. The ']]>' and ']]>]]>' can
also legally appear in processing instructions.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 167693A6B94 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 06:53:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.652
X-Spam-Level: 
X-Spam-Status: No, score=-1.652 tagged_above=-999 required=5 tests=[AWL=-0.003, BAYES_00=-2.599, HELO_EQ_FR=0.35, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ogr9-kZytmBa for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 06:53:33 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id 617123A6934 for <netconf@ietf.org>; Wed, 11 Feb 2009 06:53:33 -0800 (PST)
Received: from [127.0.0.1] (pc158.isima.fr [193.55.95.158]) by sp.isima.fr (8.13.8/8.13.8) with ESMTP id n1BFrA6t753882; Wed, 11 Feb 2009 15:53:11 GMT
Message-ID: <4992E798.4090602@isima.fr>
Date: Wed, 11 Feb 2009 15:58:32 +0100
From: Mohamad Badra <badra@isima.fr>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Ladislav Lhotka <lhotka@cesnet.cz>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>	<02e301c98c37$5d565a40$0601a8c0@allison> <1234357207.6477.83.camel@missotis>
In-Reply-To: <1234357207.6477.83.camel@missotis>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Wed, 11 Feb 2009 15:53:11 +0000 (WET)
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 14:53:35 -0000

Ladislav Lhotka

> tom.petch 
>>>   [The] special character sequence,
>>>    ]]>]]>, MUST be sent by both the client and the server after each XML
>>>    document in the NETCONF exchange.  This character sequence cannot
>>>    legally appear in an XML document, so it can be unambiguously used to
>>>    identify the end of the current document, allowing resynchronization
>>>    of the NETCONF exchange in the event of an XML syntax or parsing
>>>    error.
>>>
>>>       
>> There was a discussion on this list at the end of November which said that this
>> was not true, that the character sequence can validly appear in comments and in
>> attributes and that this was a problem for Netconf rpc.
>>     
>
> Yes, that assumption in RFC 4742 is wrong. The ']]>' and ']]>]]>' can
> also legally appear in processing instructions.
>
> Lada
>   
So we need to use another character sequence to identify the end of the XML documents? If then, please don't hesitate to propose it.


Best regards,

Badra




Return-Path: <dromasca@avaya.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 5EA513A6C81 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 07:06:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.217
X-Spam-Level: 
X-Spam-Status: No, score=-2.217 tagged_above=-999 required=5 tests=[AWL=-0.218, BAYES_00=-2.599, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LYOSKVI286Y4 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 07:06:38 -0800 (PST)
Received: from co300216-co-outbound.net.avaya.com (co300216-co-outbound.net.avaya.com [198.152.13.100]) by core3.amsl.com (Postfix) with ESMTP id 7B06A3A6A7E for <netconf@ietf.org>; Wed, 11 Feb 2009 07:06:38 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.38,192,1233550800"; d="scan'208";a="161099234"
Received: from unknown (HELO nj300815-nj-erheast.avaya.com) ([198.152.6.5]) by co300216-co-outbound.net.avaya.com with ESMTP; 11 Feb 2009 10:06:41 -0500
Received: from unknown (HELO 307622ANEX5.global.avaya.com) ([135.64.140.14]) by nj300815-nj-erheast-out.avaya.com with ESMTP; 11 Feb 2009 10:06:40 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Wed, 11 Feb 2009 16:06:23 +0100
Message-ID: <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com>
In-Reply-To: <02e301c98c37$5d565a40$0601a8c0@allison>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
Thread-Index: AcmMP+e+iTVdTWV4RpmOhXp5UAB46wAGeXSw
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <02e301c98c37$5d565a40$0601a8c0@allison>
From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
To: "tom.petch" <cfinss@dial.pipex.com>, <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 15:06:39 -0000

=20

> -----Original Message-----
> From: tom.petch [mailto:cfinss@dial.pipex.com]=20
> Sent: Wednesday, February 11, 2009 12:52 PM
> To: Romascanu, Dan (Dan); netconf@ietf.org
> Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>=20
> inline
> Tom Petch
>=20
> ----- Original Message -----
> From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
> To: <netconf@ietf.org>
> Sent: Thursday, February 05, 2009 2:13 PM
> Subject: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>=20
>=20
> > This is the AD review for  draft-ietf-netconf-tls-06.txt. I believe=20
> > that this document is in good shape and I am sending it to=20
> IETF Last Call.
> > The comments below can be dealt with together with the=20
> other comments=20
> > that may arrive during the IETF Last Call period.
> >
> > 1. I believe that there is a need for more clarity in defining the=20
> > usage of the delimiter sequence ]]>]]> after each XML document. The=20
> > text in RFC 4742 seems to me more clear and I suggest to take=20
> > inspiration from
> > it:
> >
> >    [The] special character sequence,
> >    ]]>]]>, MUST be sent by both the client and the server=20
> after each XML
> >    document in the NETCONF exchange.  This character sequence cannot
> >    legally appear in an XML document, so it can be=20
> unambiguously used to
> >    identify the end of the current document, allowing=20
> resynchronization
> >    of the NETCONF exchange in the event of an XML syntax or parsing
> >    error.
> >
>=20
> There was a discussion on this list at the end of November=20
> which said that this was not true, that the character=20
> sequence can validly appear in comments and in attributes and=20
> that this was a problem for Netconf rpc.
>=20
> Tom Petch
>=20

So are you saying that the character sequence is not an appropriate
delimiter and that this document as well as RFC 4742 when revised should
not make use of it?=20

Dan




Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A0A4828C1BA for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 07:25:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.888
X-Spam-Level: 
X-Spam-Status: No, score=-1.888 tagged_above=-999 required=5 tests=[AWL=-0.223, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AVLW+UAqZszk for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 07:25:37 -0800 (PST)
Received: from smtp121.sbc.mail.sp1.yahoo.com (smtp121.sbc.mail.sp1.yahoo.com [69.147.64.94]) by core3.amsl.com (Postfix) with SMTP id D39EE28C108 for <netconf@ietf.org>; Wed, 11 Feb 2009 07:25:37 -0800 (PST)
Received: (qmail 96386 invoked from network); 11 Feb 2009 15:25:42 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.125.159.31 with plain) by smtp121.sbc.mail.sp1.yahoo.com with SMTP; 11 Feb 2009 15:25:41 -0000
X-YMail-OSG: ts6Y7bMVM1lhaStplrDYHivJMg0Ty5OMJc7PE2rZRlPdOJ6lulCLV1rxxZfJkHFbbk2gmOQknTE3V7sxEeRKcAEDTjqULqQcy8d3ATsNgk91tqJcg42ZPQSiomyuwXZl_NKI1u8AlIrtz3_yGACKjnmvTo9NVxhTP3kYCnCHDZM.9u46NIq3ksWM
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4992EDF4.50807@netconfcentral.com>
Date: Wed, 11 Feb 2009 07:25:40 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>	<02e301c98c37$5d565a40$0601a8c0@allison> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com>
In-Reply-To: <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 15:25:38 -0000

Romascanu, Dan (Dan) wrote:
>  
> 
>> -----Original Message-----
>> From: tom.petch [mailto:cfinss@dial.pipex.com] 
>> Sent: Wednesday, February 11, 2009 12:52 PM
>> To: Romascanu, Dan (Dan); netconf@ietf.org
>> Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>>
>> inline
>> Tom Petch
>>
>> ----- Original Message -----
>> From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
>> To: <netconf@ietf.org>
>> Sent: Thursday, February 05, 2009 2:13 PM
>> Subject: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>>
>>
>>> This is the AD review for  draft-ietf-netconf-tls-06.txt. I believe 
>>> that this document is in good shape and I am sending it to 
>> IETF Last Call.
>>> The comments below can be dealt with together with the 
>> other comments 
>>> that may arrive during the IETF Last Call period.
>>>
>>> 1. I believe that there is a need for more clarity in defining the 
>>> usage of the delimiter sequence ]]>]]> after each XML document. The 
>>> text in RFC 4742 seems to me more clear and I suggest to take 
>>> inspiration from
>>> it:
>>>
>>>    [The] special character sequence,
>>>    ]]>]]>, MUST be sent by both the client and the server 
>> after each XML
>>>    document in the NETCONF exchange.  This character sequence cannot
>>>    legally appear in an XML document, so it can be 
>> unambiguously used to
>>>    identify the end of the current document, allowing 
>> resynchronization
>>>    of the NETCONF exchange in the event of an XML syntax or parsing
>>>    error.
>>>
>> There was a discussion on this list at the end of November 
>> which said that this was not true, that the character 
>> sequence can validly appear in comments and in attributes and 
>> that this was a problem for Netconf rpc.
>>
>> Tom Petch
>>
> 
> So are you saying that the character sequence is not an appropriate
> delimiter and that this document as well as RFC 4742 when revised should
> not make use of it? 
> 

Has the current end-of-message sequence caused any inter-operability
problems, or just theoretical problems that only occur in test suites?

I prefer to leave the EOM framing alone.
It seems to be working fine in the real world.
It allows the code at the SSH channel level to
ignore XML and look at a byte stream instead.

Changing the way sessions and message framing works are
fairly large changes, which would require a new protocol
version, and making the current version obsolete.


> Dan


Andy



Return-Path: <cfinss@dial.pipex.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6C2103A6D70 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 10:58:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.601
X-Spam-Level: 
X-Spam-Status: No, score=0.601 tagged_above=-999 required=5 tests=[BAYES_50=0.001, J_CHICKENPOX_35=0.6]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hilqh+oFPJOn for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 10:58:50 -0800 (PST)
Received: from mk-outboundfilter-6.mail.uk.tiscali.com (mk-outboundfilter-6.mail.uk.tiscali.com [212.74.114.14]) by core3.amsl.com (Postfix) with ESMTP id 40FAB3A6D6C for <netconf@ietf.org>; Wed, 11 Feb 2009 10:58:50 -0800 (PST)
X-Trace: 75551210/mk-outboundfilter-6.mail.uk.tiscali.com/PIPEX/$PIPEX-ACCEPTED/pipex-customers/62.188.100.212/None/cfinss@dial.pipex.com
X-SBRS: None
X-RemoteIP: 62.188.100.212
X-IP-MAIL-FROM: cfinss@dial.pipex.com
X-MUA: Microsoft Outlook Express 6.00.2800.1106Produced By Microsoft MimeOLE V6.00.2800.1106
X-IP-BHB: Once
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqQEAIeukkk+vGTU/2dsb2JhbACDRopPxzIHhBQG
X-IronPort-AV: E=Sophos;i="4.38,193,1233532800"; d="scan'208";a="75551210"
X-IP-Direction: IN
Received: from 1cust212.tnt1.lnd9.gbr.da.uu.net (HELO allison) ([62.188.100.212]) by smtp.pipex.tiscali.co.uk with SMTP; 11 Feb 2009 18:58:51 +0000
Message-ID: <066401c98c72$409903e0$0601a8c0@allison>
From: "tom.petch" <cfinss@dial.pipex.com>
To: "Andy Bierman" <andy@netconfcentral.com>, "Romascanu, Dan \(Dan\)" <dromasca@avaya.com>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>	<02e301c98c37$5d565a40$0601a8c0@allison> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com>
Date: Wed, 11 Feb 2009 18:55:17 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: "tom.petch" <cfinss@dial.pipex.com>
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 18:58:51 -0000

----- Original Message ----- 
From: "Andy Bierman" <andy@netconfcentral.com>
To: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
Cc: "tom.petch" <cfinss@dial.pipex.com>; <netconf@ietf.org>
Sent: Wednesday, February 11, 2009 4:25 PM
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt


> Romascanu, Dan (Dan) wrote:
> >  
> >> -----Original Message-----
> >> From: tom.petch [mailto:cfinss@dial.pipex.com] 
> >> Sent: Wednesday, February 11, 2009 12:52 PM
> >> To: Romascanu, Dan (Dan); netconf@ietf.org
> >> Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> >>
> >> inline
> >> Tom Petch
> >>
> >> ----- Original Message -----
> >> From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
> >> To: <netconf@ietf.org>
> >> Sent: Thursday, February 05, 2009 2:13 PM
> >> Subject: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
> >>
> >>
> >>> This is the AD review for  draft-ietf-netconf-tls-06.txt. I believe 
> >>> that this document is in good shape and I am sending it to 
> >> IETF Last Call.
> >>> The comments below can be dealt with together with the 
> >> other comments 
> >>> that may arrive during the IETF Last Call period.
> >>>
> >>> 1. I believe that there is a need for more clarity in defining the 
> >>> usage of the delimiter sequence ]]>]]> after each XML document. The 
> >>> text in RFC 4742 seems to me more clear and I suggest to take 
> >>> inspiration from
> >>> it:
> >>>
> >>>    [The] special character sequence,
> >>>    ]]>]]>, MUST be sent by both the client and the server 
> >> after each XML
> >>>    document in the NETCONF exchange.  This character sequence cannot
> >>>    legally appear in an XML document, so it can be 
> >> unambiguously used to
> >>>    identify the end of the current document, allowing 
> >> resynchronization
> >>>    of the NETCONF exchange in the event of an XML syntax or parsing
> >>>    error.
> >>>
> >> There was a discussion on this list at the end of November 
> >> which said that this was not true, that the character 
> >> sequence can validly appear in comments and in attributes and 
> >> that this was a problem for Netconf rpc.
> >>
> >> Tom Petch
> > 
> > So are you saying that the character sequence is not an appropriate
> > delimiter and that this document as well as RFC 4742 when revised should
> > not make use of it? 
> > 
> 
> Has the current end-of-message sequence caused any inter-operability
> problems, or just theoretical problems that only occur in test suites?
> 
> I prefer to leave the EOM framing alone.
> It seems to be working fine in the real world.
> It allows the code at the SSH channel level to
> ignore XML and look at a byte stream instead.
> 
> Changing the way sessions and message framing works are
> fairly large changes, which would require a new protocol
> version, and making the current version obsolete.
> 

I haven't done my homework and so don't know how significant an
exposure this is.  For the moment, I do not think that we should change
the protocol but we should reword the paragraph in this I-D to flag
the fact that we no longer think this as safe as we once thought.

And then, perhaps, raise a clarifying erratum to RFC4742.

Tom Petch

> > Dan
> 
> 
> Andy
>


Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7B0013A6931 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 11:16:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.256
X-Spam-Level: *
X-Spam-Status: No, score=1.256 tagged_above=-999 required=5 tests=[AWL=0.093,  BAYES_40=-0.185, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dnlcRmF5xNUB for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 11:16:01 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id A6C023A6927 for <netconf@ietf.org>; Wed, 11 Feb 2009 11:15:58 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id D74E0D800BD for <netconf@ietf.org>; Wed, 11 Feb 2009 20:16:01 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: netconf@ietf.org
In-Reply-To: <4992EDF4.50807@netconfcentral.com>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <02e301c98c37$5d565a40$0601a8c0@allison> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Wed, 11 Feb 2009 20:16:01 +0100
Message-Id: <1234379761.7751.25.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 19:16:02 -0000

Andy Bierman píše v St 11. 02. 2009 v 07:25 -0800:
> Has the current end-of-message sequence caused any inter-operability
> problems, or just theoretical problems that only occur in test suites?

I don't know, but in any case this hack doesn't work as well as the
authors expected.

> 
> I prefer to leave the EOM framing alone.
> It seems to be working fine in the real world.
> It allows the code at the SSH channel level to
> ignore XML and look at a byte stream instead.

A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
to achieve the same and the low-level code wouldn't have to parse XML
either.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 98EF63A692E for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 12:10:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.165
X-Spam-Level: 
X-Spam-Status: No, score=0.165 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JA0+pz-WDvru for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 12:10:49 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id A1DE03A659C for <netconf@ietf.org>; Wed, 11 Feb 2009 12:10:49 -0800 (PST)
Received: from www.isima.fr (www-data@www.isima.fr [193.55.95.79]) by sp.isima.fr (8.13.8/8.13.8) with SMTP id n1BLAS8i753676; Wed, 11 Feb 2009 21:10:28 GMT
Received: from 88.164.98.77 (SquirrelMail authenticated user badra) by www.isima.fr with HTTP; Wed, 11 Feb 2009 21:03:52 +0100 (CET)
Message-ID: <60157.88.164.98.77.1234382632.squirrel@www.isima.fr>
In-Reply-To: <1234379761.7751.25.camel@missotis>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com> <1234379761.7751.25.camel@missotis>
Date: Wed, 11 Feb 2009 21:03:52 +0100 (CET)
From: "Mohamad Badra" <badra@isima.fr>
To: "Ladislav Lhotka" <lhotka@cesnet.cz>
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Wed, 11 Feb 2009 21:10:28 +0000 (WET)
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mbadra@gmail.com
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 20:10:52 -0000

>> I prefer to leave the EOM framing alone.
>> It seems to be working fine in the real world.
>> It allows the code at the SSH channel level to
>> ignore XML and look at a byte stream instead.
>
> A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
> to achieve the same and the low-level code wouldn't have to parse XML
> either.


Do we really need a processing instruction, or a character sequence will
be sufficient?

Best regards,
-- 
Mohamad Badra
CNRS - LIMOS Laboratory


Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 643673A6965 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 12:20:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.748
X-Spam-Level: 
X-Spam-Status: No, score=0.748 tagged_above=-999 required=5 tests=[AWL=0.509,  BAYES_05=-1.11, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kuI2vE8yM0Hp for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 12:20:41 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 9934D3A68FA for <netconf@ietf.org>; Wed, 11 Feb 2009 12:20:41 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id B89CCD800BD; Wed, 11 Feb 2009 21:20:45 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: mbadra@gmail.com
In-Reply-To: <60157.88.164.98.77.1234382632.squirrel@www.isima.fr>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <02e301c98c37$5d565a40$0601a8c0@allison> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <1234379761.7751.25.camel@missotis> <60157.88.164.98.77.1234382632.squirrel@www.isima.fr>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Wed, 11 Feb 2009 21:20:45 +0100
Message-Id: <1234383645.13946.11.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 20:20:42 -0000

Mohamad Badra píše v St 11. 02. 2009 v 21:03 +0100:
> >> I prefer to leave the EOM framing alone.
> >> It seems to be working fine in the real world.
> >> It allows the code at the SSH channel level to
> >> ignore XML and look at a byte stream instead.
> >
> > A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
> > to achieve the same and the low-level code wouldn't have to parse XML
> > either.
> 
> 
> Do we really need a processing instruction, or a character sequence will
> be sufficient?

I am afraid there is no character sequence that would work without
exceptions (i.e., that can appear nowhere in an XML document), ']]>]]>'
is about the best you can get.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BB7CC3A69AC for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 13:06:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KDjzZu8nu5d8 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 13:06:20 -0800 (PST)
Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169]) by core3.amsl.com (Postfix) with ESMTP id E79953A687A for <netconf@ietf.org>; Wed, 11 Feb 2009 13:06:19 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob108.postini.com ([64.18.6.12]) with SMTP ID DSNKSZM9z3pYOgBqfmShkOKx+gHLOYH5SfTo@postini.com; Wed, 11 Feb 2009 13:06:25 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Wed, 11 Feb 2009 13:03:15 -0800
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 13:03:15 -0800
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 13:03:14 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Wed, 11 Feb 2009 13:03:12 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1BL3CM77837; Wed, 11 Feb 2009 13:03:12 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1BKuoWw064252; Wed, 11 Feb 2009 20:56:50 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902112056.n1BKuoWw064252@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1234379761.7751.25.camel@missotis> 
Date: Wed, 11 Feb 2009 15:56:49 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 11 Feb 2009 21:03:12.0894 (UTC) FILETIME=[26ACD1E0:01C98C8C]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 21:06:20 -0000

Ladislav Lhotka writes:
>A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
>to achieve the same and the low-level code wouldn't have to parse XML
>either.

A PI has the same issues (ie. put it in a CDATA).  Without a real
framing protocol, there's no way to avoid parsing XML as XML.

Thanks,
 Phil


Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 654C43A680E for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 13:35:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.042
X-Spam-Level: 
X-Spam-Status: No, score=-1.042 tagged_above=-999 required=5 tests=[AWL=1.207,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nWVH1H6obba8 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 13:35:43 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id 85A9F3A680B for <netconf@ietf.org>; Wed, 11 Feb 2009 13:35:43 -0800 (PST)
Received: from www.isima.fr (www-data@www.isima.fr [193.55.95.79]) by sp.isima.fr (8.13.8/8.13.8) with SMTP id n1BMZNFn1081550; Wed, 11 Feb 2009 22:35:23 GMT
Received: from 88.164.98.77 (SquirrelMail authenticated user badra) by www.isima.fr with HTTP; Wed, 11 Feb 2009 22:28:46 +0100 (CET)
Message-ID: <60745.88.164.98.77.1234387726.squirrel@www.isima.fr>
In-Reply-To: <200902112056.n1BKuoWw064252@idle.juniper.net>
References: <1234379761.7751.25.camel@missotis> <200902112056.n1BKuoWw064252@idle.juniper.net>
Date: Wed, 11 Feb 2009 22:28:46 +0100 (CET)
From: "Mohamad Badra" <badra@isima.fr>
To: "Phil Shafer" <phil@juniper.net>
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Wed, 11 Feb 2009 22:35:23 +0000 (WET)
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mbadra@gmail.com
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 21:35:44 -0000

> Ladislav Lhotka writes:
>>A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
>>to achieve the same and the low-level code wouldn't have to parse XML
>>either.
>
> A PI has the same issues (ie. put it in a CDATA).  Without a real
> framing protocol, there's no way to avoid parsing XML as XML.
>
> Thanks,
>  Phil


I don't know if this requires updating RFC4741, a separated document, or a
sub-section to be added to the related transport protocols (SSH, TLS).

Best regards,
-- 
Mohamad Badra
CNRS - LIMOS Laboratory


Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8C0223A6C38 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 13:43:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KcFWMTpti7Xr for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 13:43:45 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 4A8BF3A6C14 for <netconf@ietf.org>; Wed, 11 Feb 2009 13:43:45 -0800 (PST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5819DC0017; Wed, 11 Feb 2009 22:43:49 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id WMM2fRP9yJFm; Wed, 11 Feb 2009 22:43:43 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5BB1BC0020; Wed, 11 Feb 2009 22:43:42 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id 772F0992F42; Wed, 11 Feb 2009 22:43:41 +0100 (CET)
Date: Wed, 11 Feb 2009 22:43:41 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: mbadra@gmail.com
Message-ID: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: mbadra@gmail.com, Phil Shafer <phil@juniper.net>, netconf@ietf.org
References: <1234379761.7751.25.camel@missotis> <200902112056.n1BKuoWw064252@idle.juniper.net> <60745.88.164.98.77.1234387726.squirrel@www.isima.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <60745.88.164.98.77.1234387726.squirrel@www.isima.fr>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 21:43:46 -0000

On Wed, Feb 11, 2009 at 10:28:46PM +0100, Mohamad Badra wrote:
> 
> > Ladislav Lhotka writes:
> >>A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
> >>to achieve the same and the low-level code wouldn't have to parse XML
> >>either.
> >
> > A PI has the same issues (ie. put it in a CDATA).  Without a real
> > framing protocol, there's no way to avoid parsing XML as XML.
> >
> > Thanks,
> >  Phil
> 
> I don't know if this requires updating RFC4741, a separated document, or a
> sub-section to be added to the related transport protocols (SSH, TLS).

As Phil says, the solution is to slowly require that implementations
parse the XML. The RFC4741 erratum should therefore explain that the
delimiter does not always work as expected and that implementators are
advised to parse the XML instead of blindly relying on the delimiter.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 063FA28C37E for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 14:19:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.646
X-Spam-Level: 
X-Spam-Status: No, score=-1.646 tagged_above=-999 required=5 tests=[AWL=0.604,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BPj4HKQs2-h7 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 14:19:48 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id 51EA528C385 for <netconf@ietf.org>; Wed, 11 Feb 2009 14:19:44 -0800 (PST)
Received: from www.isima.fr (www-data@www.isima.fr [193.55.95.79]) by sp.isima.fr (8.13.8/8.13.8) with SMTP id n1BNJOgK151776; Wed, 11 Feb 2009 23:19:24 GMT
Received: from 88.164.98.77 (SquirrelMail authenticated user badra) by www.isima.fr with HTTP; Wed, 11 Feb 2009 23:12:47 +0100 (CET)
Message-ID: <61030.88.164.98.77.1234390367.squirrel@www.isima.fr>
In-Reply-To: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de>
References: <1234379761.7751.25.camel@missotis><200902112056.n1BKuoWw064252@idle.juniper.net><60745.88.164.98.77.1234387726.squirrel@www.isima.fr> <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de>
Date: Wed, 11 Feb 2009 23:12:47 +0100 (CET)
From: "Mohamad Badra" <badra@isima.fr>
To: j.schoenwaelder@jacobs-university.de
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Wed, 11 Feb 2009 23:19:24 +0000 (WET)
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mbadra@gmail.com
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 22:19:49 -0000

> On Wed, Feb 11, 2009 at 10:28:46PM +0100, Mohamad Badra wrote:
>>
>> > Ladislav Lhotka writes:
>> >>A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner
>> way
>> >>to achieve the same and the low-level code wouldn't have to parse XML
>> >>either.
>> >
>> > A PI has the same issues (ie. put it in a CDATA).  Without a real
>> > framing protocol, there's no way to avoid parsing XML as XML.
>> >
>> > Thanks,
>> >  Phil
>>
>> I don't know if this requires updating RFC4741, a separated document, or
>> a
>> sub-section to be added to the related transport protocols (SSH, TLS).
>
> As Phil says, the solution is to slowly require that implementations
> parse the XML. The RFC4741 erratum should therefore explain that the
> delimiter does not always work as expected and that implementators are
> advised to parse the XML instead of blindly relying on the delimiter.

OK. So what about replacing:

   Current NETCONF messages don't include a message's length.  This
   document uses consequently the same delimiter sequence defined in
   [RFC4742] and therefore the special character sequence, ]]>]]>, to
   delimit XML documents.

With:

   Current NETCONF messages don't include a message's length.  [RFC4742]
   uses a special delimiter sequence to delimit XML documents.  However,
   the delimiter does not always work as expected.  It is RECOMMENDED that
   implementations of this document parse the XML instead of blindly
   relying on the delimiter.

Comments?

Best regards,
Badra


Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D79B928C382 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 14:19:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id arUpv1VIh6UI for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 14:19:50 -0800 (PST)
Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169]) by core3.amsl.com (Postfix) with ESMTP id 9193928C375 for <netconf@ietf.org>; Wed, 11 Feb 2009 14:19:47 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob108.postini.com ([64.18.6.12]) with SMTP ID DSNKSZNPA1pGmOInisfF8mmfTIhiqdZRMgWz@postini.com; Wed, 11 Feb 2009 14:19:52 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Wed, 11 Feb 2009 14:16:29 -0800
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 14:16:29 -0800
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 14:16:28 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 11 Feb 2009 14:16:28 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1BMGRM30214; Wed, 11 Feb 2009 14:16:27 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1BMA5d4065290; Wed, 11 Feb 2009 22:10:05 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902112210.n1BMA5d4065290@idle.juniper.net>
To: j.schoenwaelder@jacobs-university.de
In-Reply-To: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de> 
Date: Wed, 11 Feb 2009 17:10:05 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 11 Feb 2009 22:16:28.0253 (UTC) FILETIME=[628360D0:01C98C96]
MIME-Version: 1.0
Content-Type: text/plain
Cc: mbadra@gmail.com, netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 11 Feb 2009 22:19:51 -0000

Juergen Schoenwaelder writes:
>As Phil says, the solution is to slowly require that implementations
>parse the XML. The RFC4741 erratum should therefore explain that the
>delimiter does not always work as expected and that implementators are
>advised to parse the XML instead of blindly relying on the delimiter.

Parsing XML is painful, since many XML parsers are "pull" based.
I've tried pre-parsing (with a low quality parser) to be able to
insert an EOF at the appropriate place, with mixed results (and
lots of hand washing after).  There seems to be no interest in
adding a real framing protocol, and no easy way to do it, so we're
mostly stuck.

Hmm... try this one on:

Given that "]]>]]>" can only appear in attributes, we'll see real
EOFs as:

   </{rpc,rpc-reply,notification,hello}>[ \t\n]*]]>]]>

one could say that EOF is really:

   '<' [^"']+ ']]>]]>'

So find "]]>]]>", look backwards for "<" or quotes and if you find
the former before that latter, it's quitting time.

Does that make sense?

Thanks,
 Phil


Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1383B3A69B5 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 17:20:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level: 
X-Spam-Status: No, score=-1.847 tagged_above=-999 required=5 tests=[AWL=0.402,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6fDYIcyVdlBx for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 17:20:48 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id 099CB3A6953 for <netconf@ietf.org>; Wed, 11 Feb 2009 17:20:46 -0800 (PST)
Received: from www.isima.fr (www-data@www.isima.fr [193.55.95.79]) by sp.isima.fr (8.13.8/8.13.8) with SMTP id n1C2KOBB790562 for <netconf@ietf.org>; Thu, 12 Feb 2009 02:20:26 GMT
Received: from 88.164.98.77 (SquirrelMail authenticated user badra) by www.isima.fr with HTTP; Thu, 12 Feb 2009 02:13:49 +0100 (CET)
Message-ID: <62724.88.164.98.77.1234401229.squirrel@www.isima.fr>
In-Reply-To: <200902112210.n1BMA5d4065290@idle.juniper.net>
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de> <200902112210.n1BMA5d4065290@idle.juniper.net>
Date: Thu, 12 Feb 2009 02:13:49 +0100 (CET)
From: "Mohamad Badra" <badra@isima.fr>
To: netconf@ietf.org
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Thu, 12 Feb 2009 02:20:26 +0000 (WET)
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mbadra@gmail.com
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 01:20:49 -0000

> Parsing XML is painful, since many XML parsers are "pull" based.
> I've tried pre-parsing (with a low quality parser) to be able to
> insert an EOF at the appropriate place, with mixed results (and
> lots of hand washing after).  There seems to be no interest in
> adding a real framing protocol, and no easy way to do it, so we're
> mostly stuck.
>
> Hmm... try this one on:
>
> Given that "]]>]]>" can only appear in attributes, we'll see real
> EOFs as:
>
>    </{rpc,rpc-reply,notification,hello}>[ \t\n]*]]>]]>
>
> one could say that EOF is really:
>
>    '<' [^"']+ ']]>]]>'
>
> So find "]]>]]>", look backwards for "<" or quotes and if you find
> the former before that latter, it's quitting time.
>
> Does that make sense?
>
> Thanks,
>  Phil

Here is a proposition with regards to Phil's proposal. Any other text is
wellcome.

   Current NETCONF messages don't include a message's length.  This
   document uses consequently the same delimiter sequence defined in
   [RFC4742] and therefore the special character sequence, ]]>]]>, to
   delimit XML documents. This character sequence MUST be sent by both the
   client and the server after each XML document in the NETCONF exchange.
   That special character sequence may appear in a valid NETCONF message.
   For that, and after finding the special character sequence, the entity
   (the client or the server) MUST look for the next character. If the
   next character is <, then the special character sequence identify the
   end of the current document. Else, the entity MUST consider the special
   character sequence as part of the current document and then repeat the
   same above operations to identify the end of the current document.

Comments?

Best regards,
-- 
Mohamad Badra
CNRS - LIMOS Laboratory


Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 953813A6A24 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 21:41:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.132
X-Spam-Level: 
X-Spam-Status: No, score=-1.132 tagged_above=-999 required=5 tests=[AWL=-0.372, BAYES_05=-1.11, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Yo3dboEhLJr for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 21:41:26 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id C56C53A69E8 for <netconf@ietf.org>; Wed, 11 Feb 2009 21:41:26 -0800 (PST)
Received: from localhost (demetrius2.jacobs-university.de [212.201.44.47]) by hermes.jacobs-university.de (Postfix) with ESMTP id 3CE05C0022; Thu, 12 Feb 2009 06:41:31 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius2.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id qG42lNSYg-0r; Thu, 12 Feb 2009 06:41:25 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id B3980C0005; Thu, 12 Feb 2009 06:41:25 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id CBEE3993680; Thu, 12 Feb 2009 06:41:24 +0100 (CET)
Date: Thu, 12 Feb 2009 06:41:24 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: mbadra@gmail.com
Message-ID: <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: mbadra@gmail.com, netconf@ietf.org
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de> <200902112210.n1BMA5d4065290@idle.juniper.net> <62724.88.164.98.77.1234401229.squirrel@www.isima.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <62724.88.164.98.77.1234401229.squirrel@www.isima.fr>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 05:41:28 -0000

On Thu, Feb 12, 2009 at 02:13:49AM +0100, Mohamad Badra wrote:

> Here is a proposition with regards to Phil's proposal. Any other text is
> wellcome.
> 
>    Current NETCONF messages don't include a message's length.  This
>    document uses consequently the same delimiter sequence defined in
>    [RFC4742] and therefore the special character sequence, ]]>]]>, to
>    delimit XML documents. This character sequence MUST be sent by both the
>    client and the server after each XML document in the NETCONF exchange.
>    That special character sequence may appear in a valid NETCONF message.
>    For that, and after finding the special character sequence, the entity
>    (the client or the server) MUST look for the next character. If the
>    next character is <, then the special character sequence identify the
>    end of the current document. Else, the entity MUST consider the special
>    character sequence as part of the current document and then repeat the
>    same above operations to identify the end of the current document.

Are we sure ]]>]]>< is significantly bettern than ]]>]]>??

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


Return-Path: <Washam.Fan@huaweisymantec.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D582D28C0D7 for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 22:19:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5JleDLOtXCyJ for <netconf@core3.amsl.com>; Wed, 11 Feb 2009 22:19:21 -0800 (PST)
Received: from mta1.huaweisymantec.com (mta1.huaweisymantec.com [121.15.168.142]) by core3.amsl.com (Postfix) with ESMTP id E45B228C0D0 for <netconf@ietf.org>; Wed, 11 Feb 2009 22:19:20 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-disposition: inline
Content-type: text/plain; charset=us-ascii
Received: from hstml01-in.huaweisymantec.com ([172.26.3.41]) by hstga01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEX002PKW88BV20@hstga01-in.huaweisymantec.com> for netconf@ietf.org; Thu, 12 Feb 2009 14:19:23 +0800 (CST)
Received: from huaweisymantec.com ([127.0.0.1]) by hstml01-in.huaweisymantec.com (Sun Java(tm) System Messaging Server 6.3-5.02 (built Oct 12 2007; 32bit)) with ESMTP id <0KEX00HRJW857V00@hstml01-in.huaweisymantec.com> for netconf@ietf.org; Thu, 12 Feb 2009 14:19:20 +0800 (CST)
Received: from [10.27.141.6] by hstml01-in.huaweisymantec.com (mshttpd); Thu, 12 Feb 2009 14:19:17 +0800
From: WashamFan <Washam.Fan@huaweisymantec.com>
To: j.schoenwaelder@jacobs-university.de
Message-id: <fc00d10c30fe.49942fe5@huaweisymantec.com>
Date: Thu, 12 Feb 2009 14:19:17 +0800
X-Mailer: Sun Java(tm) System Messenger Express 6.3-5.02 (built Oct 12 2007; 32bit)
Content-language: zh-CN
X-Accept-Language: zh-CN
Priority: normal
In-reply-to: <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de>
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de> <200902112210.n1BMA5d4065290@idle.juniper.net> <62724.88.164.98.77.1234401229.squirrel@www.isima.fr> <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de>
Cc: mbadra@gmail.com, netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 06:19:21 -0000

Hi,
> On Thu, Feb 12, 2009 at 02:13:49AM +0100, Mohamad Badra wrote:
>  
>  > Here is a proposition with regards to Phil's proposal. Any other 
> text is
>  > wellcome.
>  > 
>  >    Current NETCONF messages don't include a message's length.  This
>  >    document uses consequently the same delimiter sequence defined in
>  >    [RFC4742] and therefore the special character sequence, ]]>]]>, 
> to
>  >    delimit XML documents. This character sequence MUST be sent by 
> both the
>  >    client and the server after each XML document in the NETCONF exchange.
>  >    That special character sequence may appear in a valid NETCONF message.
>  >    For that, and after finding the special character sequence, the 
> entity
>  >    (the client or the server) MUST look for the next character. If 
> the
>  >    next character is <, then the special character sequence 
> identify the
>  >    end of the current document. Else, the entity MUST consider the 
> special
>  >    character sequence as part of the current document and then 
> repeat the
>  >    same above operations to identify the end of the current document.
>  
>  Are we sure ]]>]]>< is significantly bettern than ]]>]]>??

How about the last XML document? There is no < following ]]>]]>.

>  /js



Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3B0823A6831 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 00:06:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.955
X-Spam-Level: 
X-Spam-Status: No, score=-1.955 tagged_above=-999 required=5 tests=[AWL=0.310,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jzcrY6samZ+c for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 00:06:09 -0800 (PST)
Received: from smtp126.sbc.mail.sp1.yahoo.com (smtp126.sbc.mail.sp1.yahoo.com [69.147.65.185]) by core3.amsl.com (Postfix) with SMTP id 868223A66B4 for <netconf@ietf.org>; Thu, 12 Feb 2009 00:06:09 -0800 (PST)
Received: (qmail 85875 invoked from network); 12 Feb 2009 08:06:14 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.125.159.31 with plain) by smtp126.sbc.mail.sp1.yahoo.com with SMTP; 12 Feb 2009 08:06:13 -0000
X-YMail-OSG: jIafNAgVM1kPSIeMT.wpq1nl51yvI_5Ux2_dfiJT0dfMje1fzQS_3bvcfiVhzxDO7sdSD0.Y0UKNzPdhhLxBScr.kXUajwJFzRQzIdYNYyYmrZLE.bMcNh6OY0cK1zq7Wfxk27z6OSoibBxgK5GIl.Xu
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4993D874.3060909@netconfcentral.com>
Date: Thu, 12 Feb 2009 00:06:12 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: mbadra@gmail.com, netconf@ietf.org
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de>	<200902112210.n1BMA5d4065290@idle.juniper.net>	<62724.88.164.98.77.1234401229.squirrel@www.isima.fr> <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de>
In-Reply-To: <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 08:06:10 -0000

Juergen Schoenwaelder wrote:
> On Thu, Feb 12, 2009 at 02:13:49AM +0100, Mohamad Badra wrote:
> 
>> Here is a proposition with regards to Phil's proposal. Any other text is
>> wellcome.
>>
>>    Current NETCONF messages don't include a message's length.  This
>>    document uses consequently the same delimiter sequence defined in
>>    [RFC4742] and therefore the special character sequence, ]]>]]>, to
>>    delimit XML documents. This character sequence MUST be sent by both the
>>    client and the server after each XML document in the NETCONF exchange.
>>    That special character sequence may appear in a valid NETCONF message.
>>    For that, and after finding the special character sequence, the entity
>>    (the client or the server) MUST look for the next character. If the
>>    next character is <, then the special character sequence identify the
>>    end of the current document. Else, the entity MUST consider the special
>>    character sequence as part of the current document and then repeat the
>>    same above operations to identify the end of the current document.
> 
> Are we sure ]]>]]>< is significantly bettern than ]]>]]>??
> 

Hmmm...
This is the question that should have been answered correctly
the first time around.

It has been suggested that a change like this could be
made with the errata publication process.  I strongly disagree
with that position, since the EOM marker is specified in RFC 4741
EXACTLY as the NETCONF WG intended at the time of RFC publication.
The current EOM is not incorrect due to a typo or unspecified
and in need of clarification.  Changing this EOM mechanism
requires a new SSH transport and protocol version, which will be
incompatible with the current 4741/4742 version.

> /js
> 

Andy



Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9F1293A6AE3 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 00:31:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.437
X-Spam-Level: 
X-Spam-Status: No, score=-0.437 tagged_above=-999 required=5 tests=[AWL=0.813,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iQVijLIH81NI for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 00:31:12 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id CD2D83A6AD9 for <netconf@ietf.org>; Thu, 12 Feb 2009 00:31:11 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 3F879D800BD; Thu, 12 Feb 2009 09:31:16 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Phil Shafer <phil@juniper.net>
In-Reply-To: <200902112056.n1BKuoWw064252@idle.juniper.net>
References: <200902112056.n1BKuoWw064252@idle.juniper.net>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Thu, 12 Feb 2009 09:31:15 +0100
Message-Id: <1234427475.6976.16.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 08:31:12 -0000

Phil Shafer píše v St 11. 02. 2009 v 15:56 -0500:
> Ladislav Lhotka writes:
> >A processing instruction, e.g., <?NETCONF:EOM?>, would be a cleaner way
> >to achieve the same and the low-level code wouldn't have to parse XML
> >either.
> 
> A PI has the same issues (ie. put it in a CDATA).  Without a real
> framing protocol, there's no way to avoid parsing XML as XML.

Agreed. I found an interesting thread back from 2004 starting with
Andy's message

http://www.ops.ietf.org/lists/netconf/netconf.2004/msg00158.html

where the various EOM approaches were nicely discussed. I wasn't able to
find though why the ']]>]]>' marker was eventually selected.

Lada

> 
> Thanks,
>  Phil
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 35B973A6930 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 00:56:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.753
X-Spam-Level: 
X-Spam-Status: No, score=-1.753 tagged_above=-999 required=5 tests=[AWL=0.496,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vxewLIJUb0ow for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 00:56:58 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id EF7793A68CC for <netconf@ietf.org>; Thu, 12 Feb 2009 00:56:57 -0800 (PST)
Received: from localhost (demetrius3.jacobs-university.de [212.201.44.48]) by hermes.jacobs-university.de (Postfix) with ESMTP id E67FBC004D; Thu, 12 Feb 2009 09:57:02 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius3.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id 9Fr5Zo613i69; Thu, 12 Feb 2009 09:56:57 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id CF624C0005; Thu, 12 Feb 2009 09:56:56 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id E89919938C7; Thu, 12 Feb 2009 09:56:55 +0100 (CET)
Date: Thu, 12 Feb 2009 09:56:55 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Andy Bierman <andy@netconfcentral.com>
Message-ID: <20090212085655.GA8533@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: Andy Bierman <andy@netconfcentral.com>, mbadra@gmail.com, netconf@ietf.org
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de> <200902112210.n1BMA5d4065290@idle.juniper.net> <62724.88.164.98.77.1234401229.squirrel@www.isima.fr> <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de> <4993D874.3060909@netconfcentral.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4993D874.3060909@netconfcentral.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: mbadra@gmail.com, netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 08:56:59 -0000

On Thu, Feb 12, 2009 at 12:06:12AM -0800, Andy Bierman wrote:
> Juergen Schoenwaelder wrote:
>> On Thu, Feb 12, 2009 at 02:13:49AM +0100, Mohamad Badra wrote:
>>
>>> Here is a proposition with regards to Phil's proposal. Any other text is
>>> wellcome.
>>>
>>>    Current NETCONF messages don't include a message's length.  This
>>>    document uses consequently the same delimiter sequence defined in
>>>    [RFC4742] and therefore the special character sequence, ]]>]]>, to
>>>    delimit XML documents. This character sequence MUST be sent by both the
>>>    client and the server after each XML document in the NETCONF exchange.
>>>    That special character sequence may appear in a valid NETCONF message.
>>>    For that, and after finding the special character sequence, the entity
>>>    (the client or the server) MUST look for the next character. If the
>>>    next character is <, then the special character sequence identify the
>>>    end of the current document. Else, the entity MUST consider the special
>>>    character sequence as part of the current document and then repeat the
>>>    same above operations to identify the end of the current document.
>>
>> Are we sure ]]>]]>< is significantly bettern than ]]>]]>??
>>
>
> Hmmm...
> This is the question that should have been answered correctly
> the first time around.
>
> It has been suggested that a change like this could be
> made with the errata publication process.  

This is simply not true. You are mixing up statements, please read the
thread again.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE7573A694A for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 02:05:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.947
X-Spam-Level: 
X-Spam-Status: No, score=-1.947 tagged_above=-999 required=5 tests=[AWL=0.302,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mXMC2vn0hs-3 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 02:05:29 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id B64343A6833 for <netconf@ietf.org>; Thu, 12 Feb 2009 02:05:28 -0800 (PST)
Received: from [127.0.0.1] (pc158.isima.fr [193.55.95.158]) by sp.isima.fr (8.13.8/8.13.8) with ESMTP id n1CB4r3X802824 for <netconf@ietf.org>; Thu, 12 Feb 2009 11:05:09 GMT
Message-ID: <4993F587.5000302@isima.fr>
Date: Thu, 12 Feb 2009 11:10:15 +0100
From: Mohamad Badra <badra@isima.fr>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: netconf@ietf.org
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de>	<200902112210.n1BMA5d4065290@idle.juniper.net>	<62724.88.164.98.77.1234401229.squirrel@www.isima.fr> <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de>
In-Reply-To: <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Thu, 12 Feb 2009 11:05:09 +0000 (WET)
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 10:05:29 -0000

>>    Current NETCONF messages don't include a message's length.  This
>>    document uses consequently the same delimiter sequence defined in
>>    [RFC4742] and therefore the special character sequence, ]]>]]>, to
>>    delimit XML documents. This character sequence MUST be sent by both the
>>    client and the server after each XML document in the NETCONF exchange.
>>    That special character sequence may appear in a valid NETCONF message.
>>    For that, and after finding the special character sequence, the entity
>>    (the client or the server) MUST look for the next character. If the
>>    next character is <, then the special character sequence identify the
>>    end of the current document. Else, the entity MUST consider the special
>>    character sequence as part of the current document and then repeat the
>>    same above operations to identify the end of the current document.
>>     
>
> Are we sure ]]>]]>< is significantly bettern than ]]>]]>??
>
>   

No idea, but the text proposes using ]]>]]> and not ]]>]]><

Best regards,

Badra




Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 457CE3A6B3B for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 02:09:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.951
X-Spam-Level: 
X-Spam-Status: No, score=-1.951 tagged_above=-999 required=5 tests=[AWL=0.298,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eLEooGJ+PDAm for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 02:09:20 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 376173A6B32 for <netconf@ietf.org>; Thu, 12 Feb 2009 02:09:20 -0800 (PST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id 24492C0005; Thu, 12 Feb 2009 11:09:25 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id VXQaMKsnOH-x; Thu, 12 Feb 2009 11:09:19 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 97346C0029; Thu, 12 Feb 2009 11:09:19 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id B3182993B06; Thu, 12 Feb 2009 11:09:18 +0100 (CET)
Date: Thu, 12 Feb 2009 11:09:18 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Mohamad Badra <badra@isima.fr>
Message-ID: <20090212100918.GA8763@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: Mohamad Badra <badra@isima.fr>, netconf@ietf.org
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de> <200902112210.n1BMA5d4065290@idle.juniper.net> <62724.88.164.98.77.1234401229.squirrel@www.isima.fr> <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de> <4993F587.5000302@isima.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4993F587.5000302@isima.fr>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 10:09:21 -0000

On Thu, Feb 12, 2009 at 11:10:15AM +0100, Mohamad Badra wrote:
>
>>>    Current NETCONF messages don't include a message's length.  This
>>>    document uses consequently the same delimiter sequence defined in
>>>    [RFC4742] and therefore the special character sequence, ]]>]]>, to
>>>    delimit XML documents. This character sequence MUST be sent by both the
>>>    client and the server after each XML document in the NETCONF exchange.
>>>    That special character sequence may appear in a valid NETCONF message.
>>>    For that, and after finding the special character sequence, the entity
>>>    (the client or the server) MUST look for the next character. If the
>>>    next character is <, then the special character sequence identify the
>>>    end of the current document. Else, the entity MUST consider the special
>>>    character sequence as part of the current document and then repeat the
>>>    same above operations to identify the end of the current document.
>>>     
>>
>> Are we sure ]]>]]>< is significantly bettern than ]]>]]>??
>
> No idea, but the text proposes using ]]>]]> and not ]]>]]><

I read:

  For that, and after finding the special character sequence, the entity
  (the client or the server) MUST look for the next character. If the
  next character is <, then the special character sequence identify the
  end of the current document. Else, the entity MUST consider the special
  character sequence as part of the current document and then repeat the
  same above operations to identify the end of the current document.

How can I have misunderstood this text??? And waiting for the
beginning of the next message to determine the end of a message is
obviously a broken idea.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 25F663A6B32 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 02:20:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.008
X-Spam-Level: 
X-Spam-Status: No, score=-2.008 tagged_above=-999 required=5 tests=[AWL=0.241,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KyZD9e1qKQ3P for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 02:20:06 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id 165DC3A6B1C for <netconf@ietf.org>; Thu, 12 Feb 2009 02:20:05 -0800 (PST)
Received: from [127.0.0.1] (pc158.isima.fr [193.55.95.158]) by sp.isima.fr (8.13.8/8.13.8) with ESMTP id n1CBJkhd348188 for <netconf@ietf.org>; Thu, 12 Feb 2009 11:19:46 GMT
Message-ID: <4993F903.2000002@isima.fr>
Date: Thu, 12 Feb 2009 11:25:07 +0100
From: Mohamad Badra <badra@isima.fr>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: netconf@ietf.org
References: <20090211214341.GA7683@elstar.iuhb02.iu-bremen.de> <200902112210.n1BMA5d4065290@idle.juniper.net> <62724.88.164.98.77.1234401229.squirrel@www.isima.fr> <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de> <4993F587.5000302@isima.fr> <20090212100918.GA8763@elstar.iuhb02.iu-bremen.de>
In-Reply-To: <20090212100918.GA8763@elstar.iuhb02.iu-bremen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Thu, 12 Feb 2009 11:19:46 +0000 (WET)
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 10:20:07 -0000

>>>>    Current NETCONF messages don't include a message's length.  This
>>>>    document uses consequently the same delimiter sequence defined in
>>>>    [RFC4742] and therefore the special character sequence, ]]>]]>, to
>>>>    delimit XML documents. This character sequence MUST be sent by both the
>>>>    client and the server after each XML document in the NETCONF exchange.
>>>>    That special character sequence may appear in a valid NETCONF message.
>>>>    For that, and after finding the special character sequence, the entity
>>>>    (the client or the server) MUST look for the next character. If the
>>>>    next character is <, then the special character sequence identify the
>>>>    end of the current document. Else, the entity MUST consider the special
>>>>    character sequence as part of the current document and then repeat the
>>>>    same above operations to identify the end of the current document.
>>>>     
>>>>         
>>> Are we sure ]]>]]>< is significantly bettern than ]]>]]>??
>>>       
>> No idea, but the text proposes using ]]>]]> and not ]]>]]><
>>     
>
> I read:
>
>   For that, and after finding the special character sequence, the entity
>   (the client or the server) MUST look for the next character. If the
>   next character is <, then the special character sequence identify the
>   end of the current document. Else, the entity MUST consider the special
>   character sequence as part of the current document and then repeat the
>   same above operations to identify the end of the current document.
>
> How can I have misunderstood this text??? And waiting for the
> beginning of the next message to determine the end of a message is
> obviously a broken idea.
>   

I don't know if there is a better way to delimit XML documents using a special character sequence, which may appear in a legal NETCONF message.

Best regards,
Badra




Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id DA3C528C147 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:28:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sxRtykl0mpGO for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:28:05 -0800 (PST)
Received: from exprod7og102.obsmtp.com (exprod7og102.obsmtp.com [64.18.2.157]) by core3.amsl.com (Postfix) with ESMTP id E778428C138 for <netconf@ietf.org>; Thu, 12 Feb 2009 05:28:04 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKSZQj4qpLXlelDpV9asopKfnBkx6+NvOk@postini.com; Thu, 12 Feb 2009 05:28:10 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Thu, 12 Feb 2009 05:18:48 -0800
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:18:48 -0800
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:18:48 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:18:47 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1CDIkM73535; Thu, 12 Feb 2009 05:18:46 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1CDCN9d070199; Thu, 12 Feb 2009 13:12:24 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902121312.n1CDCN9d070199@idle.juniper.net>
To: j.schoenwaelder@jacobs-university.de
In-Reply-To: <20090212054124.GA8380@elstar.iuhb02.iu-bremen.de> 
Date: Thu, 12 Feb 2009 08:12:23 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 12 Feb 2009 13:18:47.0677 (UTC) FILETIME=[701FE2D0:01C98D14]
MIME-Version: 1.0
Content-Type: text/plain
Cc: mbadra@gmail.com, netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:28:06 -0000

Juergen Schoenwaelder writes:
>Are we sure ]]>]]>< is significantly bettern than ]]>]]>??

It's much worse, since one doesn't know when or if the next
character will arrive.

Thanks,
 Phil


Return-Path: <bertietf@bwijnen.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7EDA328C12E for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:31:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.158
X-Spam-Level: 
X-Spam-Status: No, score=0.158 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, HOST_EQ_NL=1.545, J_CHICKENPOX_35=0.6, STOX_REPLY_TYPE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wwPm28h0beSn for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:31:31 -0800 (PST)
Received: from relay.versatel.net (beverwijk.tele2.vuurwerk.nl [62.250.3.53]) by core3.amsl.com (Postfix) with ESMTP id 41A943A6B88 for <netconf@ietf.org>; Thu, 12 Feb 2009 05:31:28 -0800 (PST)
Received: from [87.215.199.34] (helo=BertLaptop) by relay.versatel.net with smtp (Exim 4.69) (envelope-from <bertietf@bwijnen.net>) id 1LXbfA-0004qm-H8; Thu, 12 Feb 2009 14:31:32 +0100
Message-ID: <916FF355722248A0B8E4E5ADAF112064@BertLaptop>
From: "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net>
To: "Romascanu, Dan \(Dan\)" <dromasca@avaya.com>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>	<02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com>
In-Reply-To: <4992EDF4.50807@netconfcentral.com>
Date: Thu, 12 Feb 2009 14:30:48 +0100
Organization: Consultant
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:31:32 -0000

Dear WG participants,

I would like to ask for implementers and people who deploy implementations
what the answer is to this question:

   Has the current end-of-message sequence caused any inter-operability
   problems, or just theoretical problems that only occur in test suites?

IF there are no real pragmatic/practical/operational problems, then do we
really need (want) to cover all possible/theoretical corner cases?

The question is even more relevant, since it seems that we would have to
do have a new protocol version if we want to change it consistently, that
is also for SSH.

I can agree with Dan, that we should make the text clear. And adding
a sentence that in theory the sequence could legally occur in an XML
sequence is fine. I guess if that is the case, then using it as an EOM,
that means that such a message would be dropped/grabled/mis-interpreted.
So what? The message is: PLEASE DO NOT put that sequence in
the XML content. In fact, by specifying it as an EOM sequence I think
we implicitly made that statement in RFC47x.

Bert


----- Original Message ----- 
From: Andy Bierman 
To: Romascanu, Dan (Dan) 
Cc: netconf@ietf.org 
Sent: Wednesday, February 11, 2009 4:25 PM
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt


Romascanu, Dan (Dan) wrote:
>  
> 
>> -----Original Message-----
>> From: tom.petch [mailto:cfinss@dial.pipex.com] 
>> Sent: Wednesday, February 11, 2009 12:52 PM
>> To: Romascanu, Dan (Dan); netconf@ietf.org
>> Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>>
>> inline
>> Tom Petch
>>
>> ----- Original Message -----
>> From: "Romascanu, Dan (Dan)" <dromasca@avaya.com>
>> To: <netconf@ietf.org>
>> Sent: Thursday, February 05, 2009 2:13 PM
>> Subject: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>>
>>
>>> This is the AD review for  draft-ietf-netconf-tls-06.txt. I believe 
>>> that this document is in good shape and I am sending it to 
>> IETF Last Call.
>>> The comments below can be dealt with together with the 
>> other comments 
>>> that may arrive during the IETF Last Call period.
>>>
>>> 1. I believe that there is a need for more clarity in defining the 
>>> usage of the delimiter sequence ]]>]]> after each XML document. The 
>>> text in RFC 4742 seems to me more clear and I suggest to take 
>>> inspiration from
>>> it:
>>>
>>>    [The] special character sequence,
>>>    ]]>]]>, MUST be sent by both the client and the server 
>> after each XML
>>>    document in the NETCONF exchange.  This character sequence cannot
>>>    legally appear in an XML document, so it can be 
>> unambiguously used to
>>>    identify the end of the current document, allowing 
>> resynchronization
>>>    of the NETCONF exchange in the event of an XML syntax or parsing
>>>    error.
>>>
>> There was a discussion on this list at the end of November 
>> which said that this was not true, that the character 
>> sequence can validly appear in comments and in attributes and 
>> that this was a problem for Netconf rpc.
>>
>> Tom Petch
>>
> 
> So are you saying that the character sequence is not an appropriate
> delimiter and that this document as well as RFC 4742 when revised should
> not make use of it? 
> 

Has the current end-of-message sequence caused any inter-operability
problems, or just theoretical problems that only occur in test suites?

I prefer to leave the EOM framing alone.
It seems to be working fine in the real world.
It allows the code at the SSH channel level to
ignore XML and look at a byte stream instead.

Changing the way sessions and message framing works are
fairly large changes, which would require a new protocol
version, and making the current version obsolete.


> Dan


Andy

_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf


Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EC0753A6B35 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:33:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id saD3HUgD92N3 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:33:41 -0800 (PST)
Received: from exprod7og113.obsmtp.com (exprod7og113.obsmtp.com [64.18.2.179]) by core3.amsl.com (Postfix) with ESMTP id BD6C73A6B3B for <netconf@ietf.org>; Thu, 12 Feb 2009 05:33:39 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob113.postini.com ([64.18.6.12]) with SMTP ID DSNKSZQlOXPR/M5HucYNRzER8M4p5DlBGaIh@postini.com; Thu, 12 Feb 2009 05:33:47 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Thu, 12 Feb 2009 05:21:32 -0800
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:21:32 -0800
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:21:32 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:21:31 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1CDLUM77811; Thu, 12 Feb 2009 05:21:30 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1CDF7TR070235; Thu, 12 Feb 2009 13:15:07 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902121315.n1CDF7TR070235@idle.juniper.net>
To: Mohamad Badra <badra@isima.fr>
In-Reply-To: <4993F903.2000002@isima.fr> 
Date: Thu, 12 Feb 2009 08:15:07 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 12 Feb 2009 13:21:31.0315 (UTC) FILETIME=[D1A91030:01C98D14]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:33:42 -0000

Mohamad Badra writes:
>I don't know if there is a better way to delimit XML documents using a special character
> sequence, which may appear in a legal NETCONF message.

Does the algorithm I suggested work?

Thanks,
 Phil


Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B19B43A6A49 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:36:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iAl3o1Kx4MCw for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:36:36 -0800 (PST)
Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169]) by core3.amsl.com (Postfix) with ESMTP id 14AB73A6AC7 for <netconf@ietf.org>; Thu, 12 Feb 2009 05:36:35 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob108.postini.com ([64.18.6.12]) with SMTP ID DSNKSZQlzP4fGnWPTcevdOlpS1zRys2ExY+O@postini.com; Thu, 12 Feb 2009 05:36:41 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Thu, 12 Feb 2009 05:24:16 -0800
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:24:16 -0800
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:24:16 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:24:15 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1CDOEM81425; Thu, 12 Feb 2009 05:24:14 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1CDHpHY070265; Thu, 12 Feb 2009 13:17:52 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902121317.n1CDHpHY070265@idle.juniper.net>
To: Andy Bierman <andy@netconfcentral.com>
In-Reply-To: <4993D874.3060909@netconfcentral.com> 
Date: Thu, 12 Feb 2009 08:17:51 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 12 Feb 2009 13:24:15.0561 (UTC) FILETIME=[338F0390:01C98D15]
MIME-Version: 1.0
Content-Type: text/plain
Cc: mbadra@gmail.com, netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:36:36 -0000

Andy Bierman writes:
>The current EOM is not incorrect due to a typo or unspecified
>and in need of clarification.

It contains a typo in that it needs to be noted that the sequence
can appear inside valid data and additional checks are needed to
avoid confusion with attributes containing the value "]]>]]>".

I don't think anyone is suggesting that we can undo use of this
delimiter in any manner that breaks backwards compatibility.

Thanks,
 Phil


Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CF0323A6AAA for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:37:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.6
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 tagged_above=-999 required=5 tests=[AWL=0.650, BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2bpJg7zce-6Z for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:37:00 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 00BB83A68CC for <netconf@ietf.org>; Thu, 12 Feb 2009 05:37:00 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id B2321D800C8 for <netconf@ietf.org>; Thu, 12 Feb 2009 14:37:04 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: netconf@ietf.org
In-Reply-To: <200902112210.n1BMA5d4065290@idle.juniper.net>
References: <200902112210.n1BMA5d4065290@idle.juniper.net>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Thu, 12 Feb 2009 14:37:05 +0100
Message-Id: <1234445825.6976.64.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:37:00 -0000

Phil Shafer píše v St 11. 02. 2009 v 17:10 -0500:
> 
> Given that "]]>]]>" can only appear in attributes, we'll see real
> EOFs as:

No, it can also appear in comments and PIs.

Lada

> 
>    </{rpc,rpc-reply,notification,hello}>[ \t\n]*]]>]]>
> 
> one could say that EOF is really:
> 
>    '<' [^"']+ ']]>]]>'
> 
> So find "]]>]]>", look backwards for "<" or quotes and if you find
> the former before that latter, it's quitting time.
> 
> Does that make sense?
> 
> Thanks,
>  Phil
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7995B3A6A49 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:43:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.402
X-Spam-Level: 
X-Spam-Status: No, score=-1.402 tagged_above=-999 required=5 tests=[AWL=-0.445, BAYES_00=-2.599, HELO_EQ_FR=0.35, MISSING_HEADERS=1.292]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8-btLqfV8o32 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:43:54 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id 7C9563A6AFA for <netconf@ietf.org>; Thu, 12 Feb 2009 05:43:54 -0800 (PST)
Received: from [127.0.0.1] (pc158.isima.fr [193.55.95.158]) by sp.isima.fr (8.13.8/8.13.8) with ESMTP id n1CEhYJ0626784 for <netconf@ietf.org>; Thu, 12 Feb 2009 14:43:35 GMT
Message-ID: <499428C8.6040903@isima.fr>
Date: Thu, 12 Feb 2009 14:48:56 +0100
From: Mohamad Badra <badra@isima.fr>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
CC: netconf@ietf.org
References: <200902121315.n1CDF7TR070235@idle.juniper.net>
In-Reply-To: <200902121315.n1CDF7TR070235@idle.juniper.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Thu, 12 Feb 2009 14:43:35 +0000 (WET)
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:43:55 -0000

>> I don't know if there is a better way to delimit XML documents using a special character
>> sequence, which may appear in a legal NETCONF message.
>>     
>
> Does the algorithm I suggested work?
>
>   

In fact, I was talking about the algorithm you suggested when I said that I don't know a better way.

Best regards,
Badra





Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3C8C83A6AAA for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:53:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.046
X-Spam-Level: 
X-Spam-Status: No, score=-2.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7IWgT9QRFr8N for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:53:06 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 62A7C3A6902 for <netconf@ietf.org>; Thu, 12 Feb 2009 05:53:06 -0800 (PST)
Received: from localhost (138.162.241.83.in-addr.dgcsystems.net [83.241.162.138]) by mail.tail-f.com (Postfix) with ESMTPSA id C425061600A; Thu, 12 Feb 2009 14:53:10 +0100 (CET)
Date: Thu, 12 Feb 2009 14:53:10 +0100 (CET)
Message-Id: <20090212.145310.40036094.mbj@tail-f.com>
To: bertietf@bwijnen.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <916FF355722248A0B8E4E5ADAF112064@BertLaptop>
References: <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:53:07 -0000

"Bert Wijnen \(IETF\)" <bertietf@bwijnen.net> wrote:
> Dear WG participants,
> 
> I would like to ask for implementers and people who deploy implementations
> what the answer is to this question:
> 
>    Has the current end-of-message sequence caused any inter-operability
>    problems, or just theoretical problems that only occur in test suites?
> 
> IF there are no real pragmatic/practical/operational problems, then do we
> really need (want) to cover all possible/theoretical corner cases?

No, I agree with you.  Changing this now is guaranteed to lead to
interoperability problems.   We can make it clear in the update to
4741 that this sequence MUST NOT occur in the paylod.


/martin


Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EF9673A6B84 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:53:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OfkKdbVTZBe0 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 05:53:35 -0800 (PST)
Received: from exprod7og102.obsmtp.com (exprod7og102.obsmtp.com [64.18.2.157]) by core3.amsl.com (Postfix) with ESMTP id 417CD3A6803 for <netconf@ietf.org>; Thu, 12 Feb 2009 05:53:35 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob102.postini.com ([64.18.6.12]) with SMTP ID DSNKSZQp49qKryJyg6cmYbGubgz2mCndDl1o@postini.com; Thu, 12 Feb 2009 05:53:41 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Thu, 12 Feb 2009 05:46:10 -0800
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:46:10 -0800
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:46:09 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 05:46:09 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1CDk8M01505; Thu, 12 Feb 2009 05:46:08 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1CDdjKm070498; Thu, 12 Feb 2009 13:39:46 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902121339.n1CDdjKm070498@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1234445825.6976.64.camel@missotis> 
Date: Thu, 12 Feb 2009 08:39:45 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 12 Feb 2009 13:46:09.0255 (UTC) FILETIME=[4294CF70:01C98D18]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 13:53:36 -0000

Ladislav Lhotka writes:
>Phil Shafer píše v St 11. 02. 2009 v 17:10 -0500:
>No, it can also appear in comments and PIs.

Worse: PIs can have any text except "?>", which means that
parsing backwards is simply impossible.

<?bad mumble]]>]]>mumble?>
<?worse <?mumble?>
<?worstest <!--yup?>

So the EOM is worthless as anything more than a sanity check.

Thanks,
 Phil


Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 78AE03A67B2 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 06:21:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.708
X-Spam-Level: 
X-Spam-Status: No, score=-0.708 tagged_above=-999 required=5 tests=[AWL=0.542,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wPeRjGyWidG7 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 06:21:17 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id A4ADD3A6A2A for <netconf@ietf.org>; Thu, 12 Feb 2009 06:21:16 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 9FB8AD800BD for <netconf@ietf.org>; Thu, 12 Feb 2009 15:21:19 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: netconf@ietf.org
In-Reply-To: <20090212.145310.40036094.mbj@tail-f.com>
References: <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212.145310.40036094.mbj@tail-f.com>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Thu, 12 Feb 2009 15:21:20 +0100
Message-Id: <1234448480.6976.88.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 14:21:18 -0000

Martin Bjorklund píše v Čt 12. 02. 2009 v 14:53 +0100:
> "Bert Wijnen \(IETF\)" <bertietf@bwijnen.net> wrote:
> > Dear WG participants,
> > 
> > I would like to ask for implementers and people who deploy implementations
> > what the answer is to this question:
> > 
> >    Has the current end-of-message sequence caused any inter-operability
> >    problems, or just theoretical problems that only occur in test suites?
> > 
> > IF there are no real pragmatic/practical/operational problems, then do we
> > really need (want) to cover all possible/theoretical corner cases?
> 
> No, I agree with you.  Changing this now is guaranteed to lead to
> interoperability problems.   We can make it clear in the update to
> 4741 that this sequence MUST NOT occur in the paylod.

Then it will be probably better to define this sequence as the only
possible character-level EOM marker to prevent other transports from
complicating things further by inventing new ones. My opinion is that a
PI would have been a better choice, but if it's too late, ']]>]]>'
should work reasonably well, too.

Lada

> 
> 
> /martin
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 886663A6B59 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 10:28:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rgIKFuROMFAp for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 10:28:40 -0800 (PST)
Received: from exprod7og115.obsmtp.com (exprod7og115.obsmtp.com [64.18.2.217]) by core3.amsl.com (Postfix) with ESMTP id C5E5B3A6B4F for <netconf@ietf.org>; Thu, 12 Feb 2009 10:28:40 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob115.postini.com ([64.18.6.12]) with SMTP ID DSNKSZRqXdjcnW1GY97le00HFu7sBHmDBO4a@postini.com; Thu, 12 Feb 2009 10:28:46 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Thu, 12 Feb 2009 10:25:15 -0800
Received: from p-emlb01-sac.jnpr.net ([66.129.254.46]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 10:25:15 -0800
Received: from emailsmtp56.jnpr.net ([172.24.60.77]) by p-emlb01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 10:25:15 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp56.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 10:25:14 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1CIPDM29242; Thu, 12 Feb 2009 10:25:14 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1CIIoew072424; Thu, 12 Feb 2009 18:18:51 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902121818.n1CIIoew072424@idle.juniper.net>
To: Ladislav Lhotka <lhotka@cesnet.cz>
In-Reply-To: <1234448480.6976.88.camel@missotis> 
Date: Thu, 12 Feb 2009 13:18:50 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 12 Feb 2009 18:25:14.0355 (UTC) FILETIME=[3F704C30:01C98D3F]
MIME-Version: 1.0
Content-Type: text/plain
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 18:28:41 -0000

>Martin Bjorklund píše v Čt 12. 02. 2009 v 14:53 +0100:
>> No, I agree with you.  Changing this now is guaranteed to lead to
>> interoperability problems.   We can make it clear in the update to
>> 4741 that this sequence MUST NOT occur in the paylod.

Are you suggesting that we force non-EOM use of the EOM to be
escaped?

Ladislav Lhotka writes:
>Then it will be probably better to define this sequence as the only
>possible character-level EOM marker to prevent other transports from
>complicating things further by inventing new ones.

Other transports may opt for real framing mechanisms and not need
this EOM marker.  SOAP and BEEP do not need it.

>My opinion is that a
>PI would have been a better choice, but if it's too late, ']]>]]>'
>should work reasonably well, too.

Given that the PI string can appear in comments, wouldn't it
have the same issues?

Thanks,
 Phil


Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 06FE528C170 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 11:42:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.71
X-Spam-Level: 
X-Spam-Status: No, score=-1.71 tagged_above=-999 required=5 tests=[AWL=0.336,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7KT5SKanQzLA for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 11:42:04 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 3CB4228C15A for <netconf@ietf.org>; Thu, 12 Feb 2009 11:42:04 -0800 (PST)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id C04DD61600A; Thu, 12 Feb 2009 20:42:08 +0100 (CET)
Date: Thu, 12 Feb 2009 20:42:08 +0100 (CET)
Message-Id: <20090212.204208.17179522.mbj@tail-f.com>
To: phil@juniper.net
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <200902121818.n1CIIoew072424@idle.juniper.net>
References: <1234448480.6976.88.camel@missotis> <200902121818.n1CIIoew072424@idle.juniper.net>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=utf-8
Content-Transfer-Encoding: base64
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 19:42:05 -0000

UGhpbCBTaGFmZXIgPHBoaWxAanVuaXBlci5uZXQ+IHdyb3RlOg0KPiA+TWFydGluIEJqb3JrbHVu
ZCBww4PCrcOFwqFlIHYgw4TFknQgMTIuIDAyLiAyMDA5IHYgMTQ6NTMgKzAxMDA6DQo+ID4+IE5v
LCBJIGFncmVlIHdpdGggeW91LiAgQ2hhbmdpbmcgdGhpcyBub3cgaXMgZ3VhcmFudGVlZCB0byBs
ZWFkIHRvDQo+ID4+IGludGVyb3BlcmFiaWxpdHkgcHJvYmxlbXMuICAgV2UgY2FuIG1ha2UgaXQg
Y2xlYXIgaW4gdGhlIHVwZGF0ZSB0bw0KPiA+PiA0NzQxIHRoYXQgdGhpcyBzZXF1ZW5jZSBNVVNU
IE5PVCBvY2N1ciBpbiB0aGUgcGF5bG9kLg0KPiANCj4gQXJlIHlvdSBzdWdnZXN0aW5nIHRoYXQg
d2UgZm9yY2Ugbm9uLUVPTSB1c2Ugb2YgdGhlIEVPTSB0byBiZQ0KPiBlc2NhcGVkPw0KDQpZZXMu
DQoNCg0KL21hcnRpbg0K


Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2B4B83A6A8F for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 13:00:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BRaBpz1gij1S for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 13:00:48 -0800 (PST)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 519DD3A67D6 for <netconf@ietf.org>; Thu, 12 Feb 2009 13:00:48 -0800 (PST)
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 4A71120662 for <netconf@ietf.org>; Thu, 12 Feb 2009 22:00:52 +0100 (CET)
X-AuditID: c1b4fb3e-ae0bfbb000001315-17-49948e049c32
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 32CB020085 for <netconf@ietf.org>; Thu, 12 Feb 2009 22:00:52 +0100 (CET)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 12 Feb 2009 22:00:51 +0100
Received: from [134.138.29.137] ([134.138.29.137]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 12 Feb 2009 22:00:51 +0100
Message-ID: <49948E03.8070401@ericsson.com>
Date: Thu, 12 Feb 2009 22:00:51 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: netconf@ietf.org
References: <20090123130028.GA8291@elstar.local>
In-Reply-To: <20090123130028.GA8291@elstar.local>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 12 Feb 2009 21:00:51.0626 (UTC) FILETIME=[FCE2C8A0:01C98D54]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [Netconf] review of draft-ietf-netconf-monitoring-03a
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 21:00:49 -0000

Some late comments:

Juergen Schoenwaelder wrote:
> 
> z) I fail to see why sourceHost is included at all. The IP address or
>    a DNS name is not sufficient to identify a client in all cases and
>    the value of this diminishes greatly if you have NATs and so on.
>    But the most important problem I have is that an IP address is not
>    a transport endpoint.

BALAZS: This is still often useful. I know about no other easy solution for identifying the 
source of the session, so even if sourceHost is unreliable it is worth the effort. I propose
to keep it.

> 
> G) I tried to draw a case diagram for the counters and I failed. I
>    believe the counters are not well thought out. Perhaps it helps
>    to draw case diagrams and to organize suitable counters along
>    the netconf protocol layers.

BALAZS: E.g. Does inBadHellos count Hellos with parsing errors? (Same question for inBadRpcs)

Balazs


Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 35C3228C261 for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 13:26:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level: 
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[AWL=0.248,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U7MPn7pyw49a for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 13:26:10 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 3ED1328C226 for <netconf@ietf.org>; Thu, 12 Feb 2009 13:26:10 -0800 (PST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id 6CA66C0071; Thu, 12 Feb 2009 22:26:15 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id agJAiIFnlj2u; Thu, 12 Feb 2009 22:26:09 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id D8972C006B; Thu, 12 Feb 2009 22:26:09 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id E5DBD99B8E7; Thu, 12 Feb 2009 22:26:08 +0100 (CET)
Date: Thu, 12 Feb 2009 22:26:08 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: Balazs Lengyel <balazs.lengyel@ericsson.com>
Message-ID: <20090212212608.GA29707@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: Balazs Lengyel <balazs.lengyel@ericsson.com>, netconf@ietf.org
References: <20090123130028.GA8291@elstar.local> <49948E03.8070401@ericsson.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <49948E03.8070401@ericsson.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: netconf@ietf.org
Subject: Re: [Netconf] review of draft-ietf-netconf-monitoring-03a
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 21:26:11 -0000

On Thu, Feb 12, 2009 at 10:00:51PM +0100, Balazs Lengyel wrote:
> Some late comments:
>
> Juergen Schoenwaelder wrote:
>>
>> z) I fail to see why sourceHost is included at all. The IP address or
>>    a DNS name is not sufficient to identify a client in all cases and
>>    the value of this diminishes greatly if you have NATs and so on.
>>    But the most important problem I have is that an IP address is not
>>    a transport endpoint.
>
> BALAZS: This is still often useful. I know about no other easy
> solution for identifying the source of the session, so even if
> sourceHost is unreliable it is worth the effort. I propose to keep
> it.

Either do it right or drop it. This is what the IETF used to be strong
at. Since I believe doing this right is really much harder than it
appears, I suggest to drop it.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


Return-Path: <balazs.lengyel@ericsson.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9A00928C15A for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 13:58:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.949
X-Spam-Level: 
X-Spam-Status: No, score=-5.949 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HELO_EQ_SE=0.35, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CBC01VUkLFDC for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 13:58:09 -0800 (PST)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 2C4A128C21F for <netconf@ietf.org>; Thu, 12 Feb 2009 13:58:09 -0800 (PST)
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 3A09F2098D for <netconf@ietf.org>; Thu, 12 Feb 2009 22:58:13 +0100 (CET)
X-AuditID: c1b4fb3c-aa283bb00000127c-49-49949b75ffee
Received: from esealmw129.eemea.ericsson.se (unknown [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 121A220056 for <netconf@ietf.org>; Thu, 12 Feb 2009 22:58:13 +0100 (CET)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 12 Feb 2009 22:58:12 +0100
Received: from [134.138.29.137] ([134.138.29.137]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 12 Feb 2009 22:58:12 +0100
Message-ID: <49949B74.4080601@ericsson.com>
Date: Thu, 12 Feb 2009 22:58:12 +0100
From: Balazs Lengyel <balazs.lengyel@ericsson.com>
User-Agent: Thunderbird 2.0.0.4 (X11/20070604)
MIME-Version: 1.0
To: netconf@ietf.org
References: <20090123130028.GA8291@elstar.local>
In-Reply-To: <20090123130028.GA8291@elstar.local>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 12 Feb 2009 21:58:12.0541 (UTC) FILETIME=[FFD4BED0:01C98D5C]
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [Netconf] review of draft-ietf-netconf-monitoring-03b
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 21:58:10 -0000

Hello,
Some late comments.

Balazs

----------------

General) This document defines 2 capabilities, but does not follow the capability template. 
Some points which I would like to see from that template:
- the capability URNs should be specified in the main part of the document not just in the IANA 
considerations. It should be very clearly stated what the two capabilities mean: e.g. that the 
value NETCONF can be used for schema location can only be used if the schema-retrieval 
capability is used, ...
- that these apabilities have no impact on existing capabilities or operations

I agree with Jurgen that 4741bis MUST clearly state whether new capabilities can be added or 
removed during the session. Earlier Andy sad that removing a capability would break the 
contract specified in the hello message.

2.1.2)
OLD:

      ...  The lockedNodes is the list of
      actual nodes which were locked at the the selection was evaluated.
      This is provided for completeness noting that the list of nodes
      returned by the selection may differ over time.

      Additionally partial lock items will contain both the selection
      and the list of lockedNodes.  The selection is the xpath expression
      which was used to evaluate the list of nodes to lock.

The lockedNodes list is available only for partial-locks.  The list is the primary way of 
maintaining a lock it is not just for completeness.

NEW:

... For partial locks the list of locked nodes is also returned. This list may change over 
time. For partial locks the select expressions originally used to request the lock are also 
returned. Note that the scope of the partial lock is defined by the list of locked nodes. The 
select expression, can indicated the original intended scope of the lock.

2.1.3)
OLD:
At least one schema entry SHOULD be available to support retrieval.
NEW:
At least one location entry SHOULD be available to support retrieval.

We spoke about differentiating between YANG modules, from which only the datatypes, groupings 
are used (via import) and YAMs that really define data nodes. This is missing !!! The same 
problem is valid for other XSD and RNG as well.  !!!!!!!!!!!!!!!!!!!!!!

2.1.5)
I think sessionId should be a key.

2.1.6)
The definitions of the counters are not clear enough. More formulas like the one in the 
definition of inSessions in the XSD would be good.

Do inBadHellos/inBadRpcs include parse errors? I assume No

3.2)
in the sentence in the reply containing the <identifier> ,<version> and
    <location> elements.
include format as well. Its a critical bit of data.

    The response data can be used to determine the available schema and
    their versions.  The schema itself (ie. schema content) is not
    returned in the response.  The details returned in the list SHOULD
    facilitate retrieval from a network location via a URL using a
    supported mechanism on the device such as ftp or http.i

What does "supported mechanism on the device" mean? Reword!


    Additionally the ability to retrieve a schema via NETCONF SHOULD be
    supported.  When a schema is available on the device and the schema-
    retrieval capability is supported by the NETCONF server a location
    value of 'NETCONF' MUST be used to indicate that it can be retrieved
    via NETCONF using the <get-schema> RPC described in section 3.1.


This is the first place were it is mentioned that this draft is defeining a NETCONF capability. 
It is a bit to informal isn't it :-)

5.1)
The default minOccurs="1" maxOccurs="1" should be removed. They just clutter the text.

---
         <xs:element name="schemas" minOccurs="0" maxOccurs="1">

I think the element name should be in singular. minOccurs="0" is not needed, as at least this 
present schema is supported.

---
         <xs:element name="statistics" type="ManagementStatistics"
                     minOccurs="0" maxOccurs="1">

minOccurs="0" seems unneeded. Is it really the intent that statistics might sometimes be 
completely absent? Shouldn't it then rather be a separate capability?

Generally take care whether the plural or singular form of elements names is used. E.g.
<xs:element name="partialLocks"

partialLocks needs minOccurs="0"

-----

<xs:element name="transport"
description should include SOAP, BEEP, TLS

<xs:element name="username"
s/username/userName/

session owner is a bad term. Management user authenticated for the session.

For both subscriptions and partial locks the XSD and YANG should refer to the RFC. Especially 
as the contents of NetconfSubscription don't have any description.

       <xs:element name="filter" type="netconf:filterInlineType"/>
missing minOccurs="0"

----

       <xs:element name="startup" type="xs:string"/>
should be restricted to length=0"  Mismatch with YANG

It is mentioned in a comment that stopTine is optional, but not for startTime. Be consequent.

           <xs:documentation>
             The session Id which holds the lock.
           </xs:documentation>

It should be mentioned that for non-netconf lock the session id contains ... Do it for both 
global and partial locks and for YANG too

TransportType must no be restricted to a fixed set of values. It must include SOAP, BEEP and 
TLS. Same comment for YANG.

ProtocolType must no be restricted to a fixed set of values. Same comment for YANG.

---

The description clause of objects using the
            domainName type MUST describe how (and when)
            these names are resolved to IP addresses.

We do not describe whats required here !



8)
The registration request for the XML namespace is missing. See Notification RFC.

9) Add non-normative reference to YANG

Partial lock is already at revision-06

Appendix A

       leaf-list capability {
         min-elements 1;

there are at least 3 capabilities if this model can be read.

The XML encoding for config datastore namesis different for XSD and YANG

----
         anyxml filter {
           description
             "The filters associated with this subscription.";
         }
  Only one filter can be used. For the content of anyXML include a reference to 4741.


The descriptions of the subscription content is not the same in YANG and XSD. Synchronize!


----

netconfStartTime

Mention that at netconfStartTime=0 all counters are reset to zero.










Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E31983A6B2E for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 14:10:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.036
X-Spam-Level: 
X-Spam-Status: No, score=-2.036 tagged_above=-999 required=5 tests=[AWL=0.213,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x8xLy-uT5jhS for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 14:10:07 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by core3.amsl.com (Postfix) with ESMTP id 1681E3A6830 for <netconf@ietf.org>; Thu, 12 Feb 2009 14:10:07 -0800 (PST)
Received: from localhost (demetrius1.jacobs-university.de [212.201.44.46]) by hermes.jacobs-university.de (Postfix) with ESMTP id A0F88C0065; Thu, 12 Feb 2009 23:10:12 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius1.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id x4i49yZn3h4m; Thu, 12 Feb 2009 23:10:06 +0100 (CET)
Received: from elstar.iuhb02.iu-bremen.de (elstar.iuhb02.iu-bremen.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5F5FDC0076; Thu, 12 Feb 2009 23:10:05 +0100 (CET)
Received: by elstar.iuhb02.iu-bremen.de (Postfix, from userid 501) id 6168799BAF4; Thu, 12 Feb 2009 23:10:04 +0100 (CET)
Date: Thu, 12 Feb 2009 23:10:04 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>
Message-ID: <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de>
Mail-Followup-To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>, "Romascanu, Dan (Dan)" <dromasca@avaya.com>, Netconf <netconf@ietf.org>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com> <02e301c98c37$5d565a40$0601a8c0@allison> <EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com> <4992EDF4.50807@netconfcentral.com> <916FF355722248A0B8E4E5ADAF112064@BertLaptop>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <916FF355722248A0B8E4E5ADAF112064@BertLaptop>
User-Agent: Mutt/1.5.19 (2009-01-05)
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: j.schoenwaelder@jacobs-university.de
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 22:10:10 -0000

On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen (IETF) wrote:

> I would like to ask for implementers and people who deploy implementations
> what the answer is to this question:
>
>   Has the current end-of-message sequence caused any inter-operability
>   problems, or just theoretical problems that only occur in test suites?
>
> IF there are no real pragmatic/practical/operational problems, then do we
> really need (want) to cover all possible/theoretical corner cases?

Operationally, I am not so much concerned. I am more concerned about
someone finding a way to make malicious use of this framing sequence,
e.g. tricking implementations to somehow generate framing sequences
where they should not be and using that to do creative things.

Some people on this list argue that such concerns are not justified
because NETCONF implementations should never generate the framing
sequence and if they do, the (not really defined) NETCONF access
control prevents damage to happen and by tampering with messages, you
will not really be able to do damage but just cause parse errors and
other failures.  My concern is that people might underestimate
creativity of hackers and overestimate the skills of NETCONF
implementors.

But perhaps we are really best of for the moment stating explicitly
that NETCONF implementations MUST ensure that the framing sequence is
never part of a NETCONF message they generate. By stating this
explicitly this, a potential CERT advisory is immediately turned away
from the IETF and hits the implementors.

So the errata becomes to replace the following text

   This character sequence cannot
   legally appear in an XML document, so it can be unambiguously used to
   identify the end of the current document, allowing resynchronization
   of the NETCONF exchange in the event of an XML syntax or parsing
   error.

with for example

   Implementations MUST ensure that this character sequence is never
   part of a NETCONF message.

And someone might formulate some additional text explaining why this
is not a restriction for any data carried in XML elements etc.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>


Return-Path: <phil@juniper.net>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 2EEEC28C24F for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 15:21:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wpFqlYYn6lUI for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 15:21:33 -0800 (PST)
Received: from exprod7og108.obsmtp.com (exprod7og108.obsmtp.com [64.18.2.169]) by core3.amsl.com (Postfix) with ESMTP id 53AAB28C245 for <netconf@ietf.org>; Thu, 12 Feb 2009 15:21:33 -0800 (PST)
Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob108.postini.com ([64.18.6.12]) with SMTP ID DSNKSZSu8SBwPEKpydvTS5vM4EnIpmc3N1/9@postini.com; Thu, 12 Feb 2009 15:21:39 PST
Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.340.0; Thu, 12 Feb 2009 15:18:23 -0800
Received: from p-emlb02-sac.jnpr.net ([66.129.254.47]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 15:18:23 -0800
Received: from emailsmtp55.jnpr.net ([172.24.18.132]) by p-emlb02-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Thu, 12 Feb 2009 15:18:22 -0800
Received: from magenta.juniper.net ([172.17.27.123]) by emailsmtp55.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); Thu, 12 Feb 2009 15:18:22 -0800
Received: from idle.juniper.net (idleski.juniper.net [172.25.4.26])	by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id n1CNILM68060; Thu, 12 Feb 2009 15:18:21 -0800 (PST)	(envelope-from phil@juniper.net)
Received: from idle.juniper.net (localhost [127.0.0.1])	by idle.juniper.net (8.13.8/8.13.8) with ESMTP id n1CNBuov075222; Thu, 12 Feb 2009 23:11:56 GMT (envelope-from phil@idle.juniper.net)
Message-ID: <200902122311.n1CNBuov075222@idle.juniper.net>
To: j.schoenwaelder@jacobs-university.de
In-Reply-To: <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> 
Date: Thu, 12 Feb 2009 18:11:56 -0500
From: Phil Shafer <phil@juniper.net>
X-OriginalArrivalTime: 12 Feb 2009 23:18:22.0478 (UTC) FILETIME=[32C6E2E0:01C98D68]
MIME-Version: 1.0
Content-Type: text/plain
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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, 12 Feb 2009 23:21:34 -0000

Juergen Schoenwaelder writes:
>My concern is that people might underestimate
>creativity of hackers and overestimate the skills of NETCONF
>implementors.

I share this concern.  I imagine someone using a provider's
customer-side webapp to make a list member named
"]]>]]><rpc><reboot/></rpc>]]>]]>" and trying to insert an object
in front of this instance.  The backend of the webapp ships it
over without escaping it and poof.  Bad news.

>But perhaps we are really best of for the moment stating explicitly
>that NETCONF implementations MUST ensure that the framing sequence is
>never part of a NETCONF message they generate.

In many cases, the serialization from internal data to stream
content generates data in a way that isn't controllable by the
programmer (like java or perl).  Saying "don't do that" may mean
one cannot use the stock libraries.

IMHO the EOM is not useful in its current form and needs to be
treated as an advisory or "sanity check" mechanism.

Thanks,
 Phil


Return-Path: <andy@netconfcentral.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8A9E93A680C for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 16:19:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.132
X-Spam-Level: 
X-Spam-Status: No, score=-2.132 tagged_above=-999 required=5 tests=[AWL=0.133,  BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x2k3UDtzH81x for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 16:19:28 -0800 (PST)
Received: from smtp117.sbc.mail.sp1.yahoo.com (smtp117.sbc.mail.sp1.yahoo.com [69.147.64.90]) by core3.amsl.com (Postfix) with SMTP id A7B9B3A6803 for <netconf@ietf.org>; Thu, 12 Feb 2009 16:19:28 -0800 (PST)
Received: (qmail 66753 invoked from network); 13 Feb 2009 00:19:34 -0000
Received: from unknown (HELO ?127.0.0.1?) (andy@67.125.159.31 with plain) by smtp117.sbc.mail.sp1.yahoo.com with SMTP; 13 Feb 2009 00:19:33 -0000
X-YMail-OSG: sjQ8ezAVM1mkhgW2zSNmJBv8M7jZSiIH9_oMZ_y3N5HlYj9d9.AkADJLbTOKXrJDKhDNYQQf3CrjHhp5FZQZeb6OTx3JjhuGOfG8pbnpJy5RdIE7wdpxeEuFQfy2sMNg77nGgHWavQoy8HVQJTLNrH05
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4994BC93.8030502@netconfcentral.com>
Date: Thu, 12 Feb 2009 16:19:31 -0800
From: Andy Bierman <andy@netconfcentral.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: "Bert Wijnen (IETF)" <bertietf@bwijnen.net>,  "Romascanu, Dan (Dan)" <dromasca@avaya.com>, Netconf <netconf@ietf.org>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com>	<02e301c98c37$5d565a40$0601a8c0@allison>	<EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com>	<4992EDF4.50807@netconfcentral.com>	<916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de>
In-Reply-To: <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 13 Feb 2009 00:19:29 -0000

Juergen Schoenwaelder wrote:
> On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen (IETF) wrote:
> 
>> I would like to ask for implementers and people who deploy implementations
>> what the answer is to this question:
>>
>>   Has the current end-of-message sequence caused any inter-operability
>>   problems, or just theoretical problems that only occur in test suites?
>>
>> IF there are no real pragmatic/practical/operational problems, then do we
>> really need (want) to cover all possible/theoretical corner cases?
> 
> Operationally, I am not so much concerned. I am more concerned about
> someone finding a way to make malicious use of this framing sequence,
> e.g. tricking implementations to somehow generate framing sequences
> where they should not be and using that to do creative things.
> 
> Some people on this list argue that such concerns are not justified
> because NETCONF implementations should never generate the framing
> sequence and if they do, the (not really defined) NETCONF access
> control prevents damage to happen and by tampering with messages, you
> will not really be able to do damage but just cause parse errors and
> other failures.  My concern is that people might underestimate
> creativity of hackers and overestimate the skills of NETCONF
> implementors.
> 
> But perhaps we are really best of for the moment stating explicitly
> that NETCONF implementations MUST ensure that the framing sequence is
> never part of a NETCONF message they generate. By stating this
> explicitly this, a potential CERT advisory is immediately turned away
> from the IETF and hits the implementors.
> 
> So the errata becomes to replace the following text
> 
>    This character sequence cannot
>    legally appear in an XML document, so it can be unambiguously used to
>    identify the end of the current document, allowing resynchronization
>    of the NETCONF exchange in the event of an XML syntax or parsing
>    error.
> 
> with for example
> 
>    Implementations MUST ensure that this character sequence is never
>    part of a NETCONF message.
> 

This is fine with me.
I prefer to leave the EOM sequence alone.
IMO it is useful because the slightest malformed XML
in a parameter will force a session to terminate,
whereas the <rpc-error> information could be quite
useful to an operator or application developer
trying to use the agent.

Proper access control enforcement is the only way
to protect the agent, and that is not fool-proof either.
Just because it is a little easier for an attacker
to inject a NETCONF PDU with EOM via blind WEB form applications,
it is by no means difficult or impossible.

Assuming that the hacker will not be able to determine
the format of the NETCONF message sent via the WEB form is
very weak security.

Why worry about injecting a <reboot> RPC and not
worry about injecting additional config data into the
original request?  IMO, the EOM marker has nothing to do
with the very real issue of XML data injection (and
session hijacking) via sloppy applications.
Changing the message framing will not help at all.


> And someone might formulate some additional text explaining why this
> is not a restriction for any data carried in XML elements etc.
> 
> /js
> 

Andy



Return-Path: <badra@isima.fr>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E9B213A6B1A for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 17:31:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.984
X-Spam-Level: 
X-Spam-Status: No, score=-1.984 tagged_above=-999 required=5 tests=[AWL=0.265,  BAYES_00=-2.599, HELO_EQ_FR=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id id+gJt-s6n3D for <netconf@core3.amsl.com>; Thu, 12 Feb 2009 17:31:25 -0800 (PST)
Received: from sp.isima.fr (sp.isima.fr [193.55.95.1]) by core3.amsl.com (Postfix) with ESMTP id E40733A6B08 for <netconf@ietf.org>; Thu, 12 Feb 2009 17:31:24 -0800 (PST)
Received: from www.isima.fr (www-data@www.isima.fr [193.55.95.79]) by sp.isima.fr (8.13.8/8.13.8) with SMTP id n1D2V5RW876576; Fri, 13 Feb 2009 02:31:05 GMT
Received: from 88.164.98.77 (SquirrelMail authenticated user badra) by www.isima.fr with HTTP; Fri, 13 Feb 2009 02:24:24 +0100 (CET)
Message-ID: <52240.88.164.98.77.1234488264.squirrel@www.isima.fr>
In-Reply-To: <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de>
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de>
Date: Fri, 13 Feb 2009 02:24:24 +0100 (CET)
From: "Mohamad Badra" <badra@isima.fr>
To: j.schoenwaelder@jacobs-university.de
User-Agent: SquirrelMail/1.4.2
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (sp.isima.fr [193.55.95.1]); Fri, 13 Feb 2009 02:31:05 +0000 (WET)
Cc: Netconf <netconf@ietf.org>
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mbadra@gmail.com
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 13 Feb 2009 01:31:26 -0000

> On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen (IETF) wrote:
>
>> I would like to ask for implementers and people who deploy
>> implementations
>> what the answer is to this question:
>>
>>   Has the current end-of-message sequence caused any inter-operability
>>   problems, or just theoretical problems that only occur in test suites?
>>
>> IF there are no real pragmatic/practical/operational problems, then do
>> we
>> really need (want) to cover all possible/theoretical corner cases?
>
> Operationally, I am not so much concerned. I am more concerned about
> someone finding a way to make malicious use of this framing sequence,
> e.g. tricking implementations to somehow generate framing sequences
> where they should not be and using that to do creative things.
>
> Some people on this list argue that such concerns are not justified
> because NETCONF implementations should never generate the framing
> sequence and if they do, the (not really defined) NETCONF access
> control prevents damage to happen and by tampering with messages, you
> will not really be able to do damage but just cause parse errors and
> other failures.  My concern is that people might underestimate
> creativity of hackers and overestimate the skills of NETCONF
> implementors.
>
> But perhaps we are really best of for the moment stating explicitly
> that NETCONF implementations MUST ensure that the framing sequence is
> never part of a NETCONF message they generate. By stating this
> explicitly this, a potential CERT advisory is immediately turned away
> from the IETF and hits the implementors.
>
> So the errata becomes to replace the following text
>
>    This character sequence cannot
>    legally appear in an XML document, so it can be unambiguously used to
>    identify the end of the current document, allowing resynchronization
>    of the NETCONF exchange in the event of an XML syntax or parsing
>    error.
>
> with for example
>
>    Implementations MUST ensure that this character sequence is never
>    part of a NETCONF message.


I am fine with that.
Best regards,
Badra


Return-Path: <lhotka@cesnet.cz>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 261FD3A67B1 for <netconf@core3.amsl.com>; Fri, 13 Feb 2009 01:56:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.786
X-Spam-Level: 
X-Spam-Status: No, score=-0.786 tagged_above=-999 required=5 tests=[AWL=0.464,  BAYES_00=-2.599, HELO_EQ_CZ=0.445, HOST_EQ_CZ=0.904]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FsG-NX7czZkd for <netconf@core3.amsl.com>; Fri, 13 Feb 2009 01:56:07 -0800 (PST)
Received: from office2.cesnet.cz (office2.cesnet.cz [195.113.144.244]) by core3.amsl.com (Postfix) with ESMTP id 5DA453A68BD for <netconf@ietf.org>; Fri, 13 Feb 2009 01:56:07 -0800 (PST)
Received: from [172.29.2.201] (asus-gx.lhotka.cesnet.cz [195.113.161.161]) by office2.cesnet.cz (Postfix) with ESMTP id 2BDA4D800BD; Fri, 13 Feb 2009 10:56:13 +0100 (CET)
From: Ladislav Lhotka <lhotka@cesnet.cz>
To: Phil Shafer <phil@juniper.net>
In-Reply-To: <200902121818.n1CIIoew072424@idle.juniper.net>
References: <200902121818.n1CIIoew072424@idle.juniper.net>
Content-Type: text/plain; charset=utf-8
Organization: CESNET
Date: Fri, 13 Feb 2009 10:56:12 +0100
Message-Id: <1234518972.6397.6.camel@missotis>
Mime-Version: 1.0
X-Mailer: Evolution 2.22.3.1 
Content-Transfer-Encoding: 8bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 13 Feb 2009 09:56:08 -0000

Phil Shafer píše v Čt 12. 02. 2009 v 13:18 -0500:
> 
> >My opinion is that a
> >PI would have been a better choice, but if it's too late, ']]>]]>'
> >should work reasonably well, too.
> 
> Given that the PI string can appear in comments, wouldn't it
> have the same issues?

Yes, but given that RFC 4741bis will have to forbid a string in the PDU
data content, which ']]>]]>' unsuccessfully tried to avoid, a PI is a
more systematic choice that moreover is less likely to appear in the
data by coincidence. This also seemed to be the majority opinion in the
2004 ML thread.

Lada

-- 
Ladislav Lhotka, CESNET
PGP Key ID: E74E8C0C



Return-Path: <mbj@tail-f.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 52BE73A6BAF for <netconf@core3.amsl.com>; Fri, 13 Feb 2009 02:04:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.822
X-Spam-Level: 
X-Spam-Status: No, score=-1.822 tagged_above=-999 required=5 tests=[AWL=0.224,  BAYES_00=-2.599, HELO_MISMATCH_COM=0.553]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLUAodePeqCW for <netconf@core3.amsl.com>; Fri, 13 Feb 2009 02:04:32 -0800 (PST)
Received: from mail.tail-f.com (de-0316.d.ipeer.se [213.180.79.212]) by core3.amsl.com (Postfix) with ESMTP id 95D6E3A67FF for <netconf@ietf.org>; Fri, 13 Feb 2009 02:04:32 -0800 (PST)
Received: from localhost (c213-100-167-236.swipnet.se [213.100.167.236]) by mail.tail-f.com (Postfix) with ESMTPSA id C862D76C22D; Fri, 13 Feb 2009 11:04:37 +0100 (CET)
Date: Fri, 13 Feb 2009 11:04:37 +0100 (CET)
Message-Id: <20090213.110437.163464416.mbj@tail-f.com>
To: andy@netconfcentral.com
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <4994BC93.8030502@netconfcentral.com>
References: <916FF355722248A0B8E4E5ADAF112064@BertLaptop> <20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <4994BC93.8030502@netconfcentral.com>
X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Cc: netconf@ietf.org
Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 13 Feb 2009 10:04:33 -0000

Andy Bierman <andy@netconfcentral.com> wrote:
> I prefer to leave the EOM sequence alone.

[...]

> IMO, the EOM marker has nothing to do
> with the very real issue of XML data injection (and
> session hijacking) via sloppy applications.
> Changing the message framing will not help at all.

I fully agree with all this.


/martin


Return-Path: <mehmet.ersue@nsn.com>
X-Original-To: netconf@core3.amsl.com
Delivered-To: netconf@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BE0E43A6B72 for <netconf@core3.amsl.com>; Fri, 13 Feb 2009 12:11:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4e2NJz5XZerx for <netconf@core3.amsl.com>; Fri, 13 Feb 2009 12:11:37 -0800 (PST)
Received: from demumfd001.nsn-inter.net (demumfd001.nsn-inter.net [217.115.75.233]) by core3.amsl.com (Postfix) with ESMTP id EFAF43A6A3E for <netconf@ietf.org>; Fri, 13 Feb 2009 12:11:33 -0800 (PST)
Received: from demuprx017.emea.nsn-intra.net ([10.150.129.56]) by demumfd001.nsn-inter.net (8.12.11.20060308/8.12.11) with ESMTP id n1DKBcpV005453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 13 Feb 2009 21:11:38 +0100
Received: from demuexc025.nsn-intra.net (demuexc025.nsn-intra.net [10.159.32.12]) by demuprx017.emea.nsn-intra.net (8.12.11.20060308/8.12.11) with ESMTP id n1DKBbJT015931; Fri, 13 Feb 2009 21:11:38 +0100
Received: from DEMUEXC005.nsn-intra.net ([10.150.128.17]) by demuexc025.nsn-intra.net with Microsoft SMTPSVC(6.0.3790.3959);  Fri, 13 Feb 2009 21:11:36 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 13 Feb 2009 21:10:44 +0100
Message-ID: <A294F5A3E722D94FBEB6D49C1506F6F701634542@DEMUEXC005.nsn-intra.net>
In-Reply-To: <52240.88.164.98.77.1234488264.squirrel@www.isima.fr>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Consensus verification WAS:RE: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
Thread-Index: AcmNes/PzMOt6v1zQF2R3YQF9vUe0gAmegQA
References: <EDC652A26FB23C4EB6384A4584434A0401394FAA@307622ANEX5.global.avaya.com><02e301c98c37$5d565a40$0601a8c0@allison><EDC652A26FB23C4EB6384A4584434A04013DF81F@307622ANEX5.global.avaya.com><4992EDF4.50807@netconfcentral.com><916FF355722248A0B8E4E5ADAF112064@BertLaptop><20090212221004.GD29707@elstar.iuhb02.iu-bremen.de> <52240.88.164.98.77.1234488264.squirrel@www.isima.fr>
From: "Ersue, Mehmet (NSN - DE/Munich)" <mehmet.ersue@nsn.com>
To: "Netconf" <netconf@ietf.org>
X-OriginalArrivalTime: 13 Feb 2009 20:11:36.0516 (UTC) FILETIME=[45EA8840:01C98E17]
Cc: mbadra@gmail.com
Subject: [Netconf] Consensus verification WAS:RE: AD review for draft-ietf-netconf-tls-06.txt
X-BeenThere: netconf@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Network Configuration WG mailing list <netconf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/netconf>, <mailto:netconf-request@ietf.org?subject=unsubscribe>
List-Archive: <https://www.ietf.org/mailman/private/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: Fri, 13 Feb 2009 20:11:39 -0000

Dear NETCONF WG,

we had already a long thread on this issue with 47 mails.

As Bert stated in a parallel mail there seems to be no=20
real practical or operational problems with the current=20
end-of-message sequence. In fact changing the current
mechanism would potentially cause problems.

> >    Implementations MUST ensure that this character sequence is never
> >    part of a NETCONF message.

After some of you and the draft author agreed I assume=20
we can see now the small text block above as the WG=20
consensus.

If anybody has any _strong_ objections please provide new
text by Feb 16 by considering the discussion we had already.

Mehmet
=20

> -----Original Message-----
> From: netconf-bounces@ietf.org=20
> [mailto:netconf-bounces@ietf.org] On Behalf Of ext Mohamad Badra
> Sent: Friday, February 13, 2009 2:24 AM
> To: j.schoenwaelder@jacobs-university.de
> Cc: Netconf
> Subject: Re: [Netconf] AD review for draft-ietf-netconf-tls-06.txt
>=20
>=20
> > On Thu, Feb 12, 2009 at 02:30:48PM +0100, Bert Wijnen (IETF) wrote:
> >
> >> I would like to ask for implementers and people who deploy
> >> implementations
> >> what the answer is to this question:
> >>
> >>   Has the current end-of-message sequence caused any=20
> inter-operability
> >>   problems, or just theoretical problems that only occur=20
> in test suites?
> >>
> >> IF there are no real pragmatic/practical/operational=20
> problems, then do
> >> we
> >> really need (want) to cover all possible/theoretical corner cases?
> >
> > Operationally, I am not so much concerned. I am more concerned about
> > someone finding a way to make malicious use of this framing=20
> sequence,
> > e.g. tricking implementations to somehow generate framing sequences
> > where they should not be and using that to do creative things.
> >
> > Some people on this list argue that such concerns are not justified
> > because NETCONF implementations should never generate the framing
> > sequence and if they do, the (not really defined) NETCONF access
> > control prevents damage to happen and by tampering with=20
> messages, you
> > will not really be able to do damage but just cause parse errors and
> > other failures.  My concern is that people might underestimate
> > creativity of hackers and overestimate the skills of NETCONF
> > implementors.
> >
> > But perhaps we are really best of for the moment stating explicitly
> > that NETCONF implementations MUST ensure that the framing=20
> sequence is
> > never part of a NETCONF message they generate. By stating this
> > explicitly this, a potential CERT advisory is immediately=20
> turned away
> > from the IETF and hits the implementors.
> >
> > So the errata becomes to replace the following text
> >
> >    This character sequence cannot
> >    legally appear in an XML document, so it can be=20
> unambiguously used to
> >    identify the end of the current document, allowing=20
> resynchronization
> >    of the NETCONF exchange in the event of an XML syntax or parsing
> >    error.
> >
> > with for example
> >
> >    Implementations MUST ensure that this character sequence is never
> >    part of a NETCONF message.
>=20
>=20
> I am fine with that.
> Best regards,
> Badra
> _______________________________________________
> Netconf mailing list
> Netconf@ietf.org
> https://www.ietf.org/mailman/listinfo/netconf
>=20
