Re: [sipcore] I-D Action: draft-ietf-sipcore-sessiontimer-race-02.txt

Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 26 September 2018 15:31 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EB07E130E4B for <sipcore@ietfa.amsl.com>; Wed, 26 Sep 2018 08:31:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DAzE34oXiQ8K for <sipcore@ietfa.amsl.com>; Wed, 26 Sep 2018 08:31:50 -0700 (PDT)
Received: from alum-mailsec-scanner-3.mit.edu (alum-mailsec-scanner-3.mit.edu [18.7.68.14]) by ietfa.amsl.com (Postfix) with ESMTP id C5E8D130EAB for <sipcore@ietf.org>; Wed, 26 Sep 2018 08:31:49 -0700 (PDT)
X-AuditID: 1207440e-c13ff7000000162b-97-5baba662d875
Received: from outgoing-alum.mit.edu (OUTGOING-ALUM.MIT.EDU [18.7.68.33]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by alum-mailsec-scanner-3.mit.edu (Symantec Messaging Gateway) with SMTP id 08.DF.05675.366ABAB5; Wed, 26 Sep 2018 11:31:47 -0400 (EDT)
Received: from PaulKyzivatsMBP.localdomain (c-24-62-227-142.hsd1.ma.comcast.net [24.62.227.142]) (authenticated bits=0) (User authenticated as pkyzivat@ALUM.MIT.EDU) by outgoing-alum.mit.edu (8.13.8/8.12.4) with ESMTP id w8QFVj3K000635 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <sipcore@ietf.org>; Wed, 26 Sep 2018 11:31:46 -0400
To: sipcore@ietf.org
References: <153562545519.3315.10133281272170915663@ietfa.amsl.com> <FRXPR01MB0135BED571519D3EA4FE12CCF91E0@FRXPR01MB0135.DEUPRD01.PROD.OUTLOOK.DE> <2CB92AFA-E837-4533-A7E8-5D4E228A5A2D@ericsson.com>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <56e47bc5-d510-69e6-f297-76c6069c805d@alum.mit.edu>
Date: Wed, 26 Sep 2018 11:31:45 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <2CB92AFA-E837-4533-A7E8-5D4E228A5A2D@ericsson.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrHIsWRmVeSWpSXmKPExsUixO6iqJuybHW0waV+UYuvPzaxOTB6LFny kymAMYrLJiU1J7MstUjfLoErY1XDVKaCZfoVv+efZGpgfK3UxcjJISFgIrFh3TNGEFtIYAeT xM9W8S5GLiD7B5NE67KJbCAJYQE/iQWHljKB2CICIhLPpv9jgyg6zSjR/W8pO0iCTUBLYs6h /yxdjBwcvAL2EicOKoCEWQRUJf78OgDWKyqQJvG3cwnYMl4BQYmTM5+wgNicAg4SB1d0g41h FjCTmLf5ITOELS5x68l8JghbXqJ562zmCYz8s5C0z0LSMgtJyywkLQsYWVYxyiXmlObq5iZm 5hSnJusWJyfm5aUW6Rrr5WaW6KWmlG5ihAQl3w7G9vUyhxgFOBiVeHg3WK2KFmJNLCuuzD3E KMnBpCTKq+CzOlqILyk/pTIjsTgjvqg0J7X4EKMEB7OSCO+dKUA53pTEyqrUonyYlDQHi5I4 L5vJ3ighgfTEktTs1NSC1CKYrAwHh5IE78UlQI2CRanpqRVpmTklCGkmDk6Q4TxAw0WXggwv LkjMLc5Mh8ifYtTl2PO1aQazEEtefl6qlDhvEUiRAEhRRmke3BxYMnnFKA70ljBvNUgVDzAR wU16BbSECWjJhJ4VIEtKEhFSUg2MVUFdmh2zdn3Mn3Cx5IvKpb8nj1pzF72SnZWm//JpQu/M wpz87yurIl8c2BfZeT290mjuq+TWPW9/sPJJuO/2jtk8P61kle+zSY9mOu1WPnD7hdzsiFt1 e9kfLfn7+azffddr7f9fr7x+X2ZVxsm8PPfFO44uS1635anPmtcLDd884k3X8OY8EKLEUpyR aKjFXFScCAA2NRtiAQMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/Zrye3I9y7NwEJ4VsgZ3gznfQbok>
Subject: Re: [sipcore] I-D Action: draft-ietf-sipcore-sessiontimer-race-02.txt
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 26 Sep 2018 15:31:53 -0000

On 9/19/18 10:23 AM, Christer Holmberg wrote:
> Hi Roland,
> 
> Section 1 says:
> 
>     "To resolve this problem, this extension defines a keepalive mechanism
>     for SIP sessions.  UAs send periodic re-INVITE or UPDATE [3] requests
>     (referred to as session refresh requests) to keep the session alive."
> 
> So, to me that makes it clear that a session refresh request is sent within an established dialog.

To me, this has always had the effect of confusing readers. It 
*suggests* that certain reINVITE and UPDATE requests are session refresh 
requests, and others are not. (I know it doesn't say that explicitly, 
but from numerous comments/questions over the years it is evident that 
many read it that way.)

The goal of session timer is to cause in-dialog requests to be sent 
periodically as keep-alives - evidence of liveness of the session at the 
endpoints. It does not *refresh* the session. However, new S-E values in 
those messages can have the effect of extending the timer. That can be 
viewed as a "refresh" of the *timer*, not the session.

But other messages within the dialog, not triggered by timer expiry, 
also serve as evidence of liveness of the session.

Ideally we would rewrite the whole explanation and change the 
terminology. I guess this would be a bis.

> I agree that "initial" is very confusing, but my initial reaction is that it would be the first session refresh request (as defined above) sent within a session, i.e., the first re-INVITE or UPDATE.

ISTM that the *initial* one is the one that first establishes the timer. 
Most of the time this will be the initial INVITE, and hence won't be a 
refresh at all.

	Thanks,
	Paul


> Regards,
> 
> Christer
> 
> 
> 
> 
> 
> On 17/09/18 10:06, "R.Jesske@telekom.de" <R.Jesske@telekom.de> wrote:
> 
>      Hi Christer,
>      Thank you for Updating the draft.
>      We see this work as important since we have still problems with implementations of the session timer and a lot of discussion with different SP and Vendors.
>      
>      What we realized is that the definition of the  "Initial Session Refresh Request" is not clear.
>      You may interpret it out of the whole RFC but not from the definition.
>      The definition states:
>      Initial Session Refresh Request: The first session refresh request
>            sent with a particular Call-ID value.
>      
>      This does not state if it is the Initial INVITE requesting the session timer or if it is the first INVITE refreshing the session?
>      
>      The Session Refresh Request is defined as:
>      Session Refresh Request: An INVITE or UPDATE request processed
>            according to the rules of this specification.  If the request
>            generates a 2xx response, the session expiration is increased to
>            the current time plus the session interval obtained from the
>            response.
>      
>      It states that the session expiration is increased. So what is now increased? Is it also the initial INVITE response with the first session expire value.
>      
>      From my point of view it would help when we change the definition section to:
>      Initial Session Refresh Request: The first session refresh request
>            sent with a particular Call-ID value. i.e. initial INVITE sending at minimum a "supported timer" which is answered by an 200 OK with a negotiated session timer.
>      
>      Question is if is only my view or does others have the same view?
>      
>      Thank you and Best Regards
>      
>      Roland
>       
>      
>      > -----Ursprüngliche Nachricht-----
>      > Von: sipcore [mailto:sipcore-bounces@ietf.org] Im Auftrag von internet-
>      > drafts@ietf.org
>      > Gesendet: Donnerstag, 30. August 2018 12:38
>      > An: i-d-announce@ietf.org
>      > Cc: sipcore@ietf.org
>      > Betreff: [sipcore] I-D Action: draft-ietf-sipcore-sessiontimer-race-02.txt
>      >
>      >
>      > A New Internet-Draft is available from the on-line Internet-Drafts directories.
>      > This draft is a work item of the Session Initiation Protocol Core WG of the
>      > IETF.
>      >
>      >         Title           : Session Initiation Protocol (SIP) Session Timer Glare Handling
>      >         Author          : Christer Holmberg
>      > 	Filename        : draft-ietf-sipcore-sessiontimer-race-02.txt
>      > 	Pages           : 7
>      > 	Date            : 2018-08-30
>      >
>      > Abstract:
>      >    This document updates RFC 4028, by clarifying the procedures for
>      >    negotiating usage of the Session Initiation Protocol (SIP) session
>      >    timer mechansim, in order to avoid a race condition where both
>      >    endpoints trigger simultaneous negotiations.
>      >
>      >
>      > The IETF datatracker status page for this draft is:
>      > https://datatracker.ietf.org/doc/draft-ietf-sipcore-sessiontimer-race/
>      >
>      > There are also htmlized versions available at:
>      > https://tools.ietf.org/html/draft-ietf-sipcore-sessiontimer-race-02
>      > https://datatracker.ietf.org/doc/html/draft-ietf-sipcore-sessiontimer-race-
>      > 02
>      >
>      > A diff from the previous version is available at:
>      > https://www.ietf.org/rfcdiff?url2=draft-ietf-sipcore-sessiontimer-race-02
>      >
>      >
>      > Please note that it may take a couple of minutes from the time of submission
>      > until the htmlized version and diff are available at tools.ietf.org.
>      >
>      > Internet-Drafts are also available by anonymous FTP at:
>      > ftp://ftp.ietf.org/internet-drafts/
>      >
>      > _______________________________________________
>      > sipcore mailing list
>      > sipcore@ietf.org
>      > https://www.ietf.org/mailman/listinfo/sipcore
>      
> 
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>