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

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 26 September 2018 19:06 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 6836D127333 for <sipcore@ietfa.amsl.com>; Wed, 26 Sep 2018 12:06:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.757
X-Spam-Level:
X-Spam-Status: No, score=-4.757 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.456, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6udakVX07vVz for <sipcore@ietfa.amsl.com>; Wed, 26 Sep 2018 12:05:59 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0A476127332 for <sipcore@ietf.org>; Wed, 26 Sep 2018 12:05:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1537988757; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pTY2zbIP7/rnk/Xh6HMJ9JvgR8DqS526yw3D0+yAPok=; b=Ctt3q53TIy4YeVF46TPap8qALrBFfVUtxWdvgO8r/5vWBA8/2oPohgVTExWT6kA2 JS6fDuJJgTEdyHiDuZMzbaYwsPFDeWkh0A/aSeFhPXuE9/9QMpbqzfJ9eXPQsZQq rEK8hEg2KIy7tFqEy7bZblO4PwKNoK84ScvtetogxrY=;
X-AuditID: c1b4fb2d-223ff700000055ff-a1-5babd8950132
Received: from ESESBMB504.ericsson.se (Unknown_Domain [153.88.183.117]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 64.DA.22015.598DBAB5; Wed, 26 Sep 2018 21:05:57 +0200 (CEST)
Received: from ESESBMB503.ericsson.se (153.88.183.170) by ESESBMB504.ericsson.se (153.88.183.171) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Wed, 26 Sep 2018 21:05:56 +0200
Received: from ESESBMB503.ericsson.se ([153.88.183.186]) by ESESBMB503.ericsson.se ([153.88.183.186]) with mapi id 15.01.1466.003; Wed, 26 Sep 2018 21:05:56 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] I-D Action: draft-ietf-sipcore-sessiontimer-race-02.txt
Thread-Index: AQHUQE2Gq5aJjv9xH0eiXw9Q9NnsCKT0IyRQgAO4SACACt6CgIAAWwDA
Date: Wed, 26 Sep 2018 19:05:56 +0000
Message-ID: <f16383e5df5248af852e4b2d7a9d459a@ericsson.com>
References: <153562545519.3315.10133281272170915663@ietfa.amsl.com> <FRXPR01MB0135BED571519D3EA4FE12CCF91E0@FRXPR01MB0135.DEUPRD01.PROD.OUTLOOK.DE> <2CB92AFA-E837-4533-A7E8-5D4E228A5A2D@ericsson.com> <56e47bc5-d510-69e6-f297-76c6069c805d@alum.mit.edu>
In-Reply-To: <56e47bc5-d510-69e6-f297-76c6069c805d@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.153]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNLMWRmVeSWpSXmKPExsUyM2J7qe7UG6ujDW6/YrVYseEAq8XXH5vY HJg8/r7/wOSxZMlPpgCmKC6blNSczLLUIn27BK6MP4f2shYscaw40nKfuYHxjH0XIyeHhICJ xP/tDUxdjFwcQgJHGSUuvr4H5XxjlHhw6SiUs4xRYtmRW2xdjBwcbAIWEt3/tEG6RQQCJa4u mcAMYgsL+EkseDiRBSZ++/9aKNtNYvr+XewgNouAqsTzzhOsIDavgLVE0+1TYDVCAo1MEt0n nUBsTgEHiQ0LZ7KB2IwCYhLfT61hArGZBcQlbj2ZzwRxtYDEkj3nmSFsUYmXj/+xQthKEnuP XWcBOZNZQFNi/S59iFZFiSndD9kh1gpKnJz5hGUCo+gsJFNnIXTMQtIxC0nHAkaWVYyixanF xbnpRsZ6qUWZycXF+Xl6eaklmxiBUXJwy2/dHYyrXzseYhTgYFTi4fU4vjpaiDWxrLgy9xCj BAezkgjvuu1AId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rx6q/ZECQmkJ5akZqemFqQWwWSZODil GhirvsU6fzOTkTNZJCb4u27C/f03/5zp/PA3cuHFa+s7TmlHOfpZR62SLfHnZ7kde+PBwu7H EnLfj+96fb5D83Xolxjl8/yXBVZELpHoW+3bd+DBPd0jmY/nLnBcp6cov+jPhh8TtviU5Bcm HcmW1PhmzrmR/fi3I8wGEVwKwZ+jlKzYDCQCJ8cpsRRnJBpqMRcVJwIAEWEMD44CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/0XfJmQOJcy2DEW_5NyK0I0q_7Jo>
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 19:06:01 -0000

Hi,

...

> 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.

When the work on session timer started, many cookies ago, the idea was that it would be possible to re-create sessions if entities had lost session state. That did not work, so it ended up being a mechanism to determine whether a session is alive. 

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

Correct. Using (re-)INVITE and UPDATE is quite heavy - you could do the same thing with INFO.

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

There have been some discussion on whether we should do that - instead of just trying to fix pieces here and there.

But, as I have indicated previously, I first want us to agree on HOW to fix, and then we can discuss how to document it.

>> 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. 

Correct. As I wrote in another reply, I think that is the case.

>Most of the time this will be the initial INVITE, and hence won't be a refresh at all.

Correct.

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
> 

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