Re: [Netconf] WGLC for draft-ietf-netconf-t ls-04.txt

fanhuaxiang 90002624 <washam.fan@huawei.com> Tue, 30 September 2008 13:02 UTC

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 4D9273A6834; Tue, 30 Sep 2008 06:02:10 -0700 (PDT)
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 6BD6E3A66B4 for <netconf@core3.amsl.com>; Tue, 30 Sep 2008 06:02:09 -0700 (PDT)
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=[AWL=0.000, 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 r8WWDEgETkfY for <netconf@core3.amsl.com>; Tue, 30 Sep 2008 06:02:08 -0700 (PDT)
Received: from usaga01-in.huawei.com (usaga01-in.huawei.com [206.16.17.211]) by core3.amsl.com (Postfix) with ESMTP id 6486C3A6834 for <netconf@ietf.org>; Tue, 30 Sep 2008 06:02:08 -0700 (PDT)
Received: from huawei.com (usaga01-in [172.18.4.6]) by usaga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8000MKOEW5P1@usaga01-in.huawei.com> for netconf@ietf.org; Tue, 30 Sep 2008 06:02:29 -0700 (PDT)
Received: from huawei.com ([172.17.1.36]) by usaga01-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0K8000F93EW39N@usaga01-in.huawei.com> for netconf@ietf.org; Tue, 30 Sep 2008 06:02:29 -0700 (PDT)
Received: from [172.24.1.3] (Forwarded-For: [220.249.46.106]) by szxmc04-in.huawei.com (mshttpd); Tue, 30 Sep 2008 21:02:10 +0800
Date: Tue, 30 Sep 2008 21:02:10 +0800
From: fanhuaxiang 90002624 <washam.fan@huawei.com>
In-reply-to: <00bc01c92267$0205f310$0600a8c0@china.huawei.com>
To: David Harrington <ietfdbh@comcast.net>
Message-id: <f944df383adc6.3adc6f944df38@huawei.com>
MIME-version: 1.0
X-Mailer: iPlanet Messenger Express 5.2 HotFix 2.14 (built Aug 8 2006)
Content-language: el
Content-disposition: inline
X-Accept-Language: el
Priority: normal
References: <A294F5A3E722D94FBEB6D49C1506F6F7EA6155@DEMUEXC005.nsn-intra.net> <f94ad84d3cefb.3cefbf94ad84d@huawei.com> <20080927090622.GA431@elstar.local> <59304.88.164.98.77.1222523373.squirrel@www.isima.fr> <00bc01c92267$0205f310$0600a8c0@china.huawei.com>
Cc: '?' <netconf@ietf.org>
Subject: Re: [Netconf] WGLC for draft-ietf-netconf-t ls-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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: netconf-bounces@ietf.org
Errors-To: netconf-bounces@ietf.org

Hi,
> Hi,
> 
> FYI. draft-ietf-syslog-transport-tls-14 (currently under AD review)
> has updated that section to make a clearer distinction between the TLS
> actions and the application actions. Transport sender and transport
> receiver refer to syslog application fuctionality, and they coordinate
> the closure actions. 
> 
>   A transport sender MUST close the associated TLS connection if the
>   connection is not expected to deliver any syslog messages later.
> It
>   MUST send a TLS close_notify alert before closing the connection.
> A
>   transport sender (TLS client) MAY choose to not wait for the
>   transport receiver's close_notify alert and simply close the
>   connection, thus generating an incomplete close on the transport
>   receiver (TLS server) side.  Once the transport receiver gets a
>   close_notify from the transport sender, it MUST reply with a
>   close_notify unless it becomes aware that the connection has
> already
>   been closed by the transport sender (e.g., the closure was
> indicated
>   by TCP).
> 
>   When no data is received from a connection for a long time (where
> the
>   application decides what "long" means), a transport receiver MAY
>   close the connection.  The transport receiver (TLS server) MUST
>   attempt to initiate an exchange of close_notify alerts with the
>   transport sender before closing the connection.  Transport
> receivers
>   that are unprepared to receive any more data MAY close the
> connection
>   after sending the close_notify alert, thus generating an incomplete
>   close on the transport sender side.  When the transport sender (TLS
>   client) has received the close_notify alert from the transport
>   receiver and still has pending data to send, it SHOULD send the
>   pending data before sending the close_notify alert.
wouldn't the last sentence contradict what specified in TLS rfc?
> 
> David Harrington
> dbharrington@comcast.net
> ietfdbh@comcast.net
> dharrington@huawei.com
> 
> 
> > -----Original Message-----
> > From: netconf-bounces@ietf.org 
> > [mailto:netconf-bounces@ietf.org] On Behalf Of badra@isima.fr
> > Sent: Saturday, September 27, 2008 9:50 AM
> > To: j.schoenwaelder@jacobs-university.de
> > Cc: ?
> > Subject: [Netconf] Re:  WGLC for draft-ietf-netconf-t ls-04.txt
> > 
> > > On Sat, Sep 27, 2008 at 02:05:51PM +0800, fanhuaxiang 
> > 90002624 wrote:
> > >> Hi,
> > >> in section 2, it says,
> > >> "The other party MUST respond with a close_notify alert of
> > >> its own and close down the connection immediately, discarding any
> > >> pending writes"
> > >> I wanna ask why immediately instead of sending pening writes
> before
> > >> close down the connection.
> > >
> > > And I like to add whether it is normal practice that the 
> > TLS teardown
> > > procedure is application protocol specific. RFC 5246 section 7.2.1
> > > discusses closure alerts in TLS 1.2 and I like to understand why
> we
> > > need additional text for NETCONF over TLS.
> > 
> > 
> > I think we should correct that. What about adopting the text 
> > of section
> > 4.4 of syslog-tls
> > (http://www.ietf.org/internet-drafts/draft-ietf-syslog-transpo
> > rt-tls-13.txt).
> > 
> >    "A TLS client MUST close the associated TLS connection if the
> >    connection is not expected to deliver any NETCONF messages 
> > later.  It
> >    MUST send a TLS close_notify alert before closing the 
> > connection.  A
> >    client MAY choose to not wait for the server's 
> > close_notify alert and
> >    simply close the connection, thus generating an incomplete close
> on
> >    the server side.  Once the server gets a close_notify from the
> >    client, it MUST reply with a close_notify unless it becomes aware
> >    that the connection has already been closed by the client 
> > (e.g., the
> >    closure was indicated by TCP).
> > 
> >    When no data is received from a connection for a long time 
> > (where the
> >    application decides what "long" means), a server MAY close the
> >    connection.  The server MUST attempt to initiate an exchange of
> >    close_notify alerts with the client before closing the
> connection.
> >    Servers that are unprepared to receive any more data MAY close
> the
> >    connection after sending the close_notify alert, thus generating
> an
> >    incomplete close on the client side.  When the client has
> received
> >    the close_notify alert from the server and still has 
> > pending data to
> >    send, it SHOULD send the pending data before sending the 
> > close_notify
> >    alert."
> > 
> > Best regards,
> > _______________________________________________
> > 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
> 
_______________________________________________
Netconf mailing list
Netconf@ietf.org
https://www.ietf.org/mailman/listinfo/netconf