[sipcore] proxy's behavior when uac does not support timer

OKUMURA Shinji <ietf.shinji@gmail.com> Wed, 20 May 2020 08:24 UTC

Return-Path: <ietf.shinji@gmail.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 668F33A3B62 for <sipcore@ietfa.amsl.com>; Wed, 20 May 2020 01:24:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 O3EHCJLCL-x9 for <sipcore@ietfa.amsl.com>; Wed, 20 May 2020 01:24:15 -0700 (PDT)
Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FE693A3B65 for <sipcore@ietf.org>; Wed, 20 May 2020 01:24:15 -0700 (PDT)
Received: by mail-pl1-x632.google.com with SMTP id w19so1009447ply.11 for <sipcore@ietf.org>; Wed, 20 May 2020 01:24:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=QaNzl6UiQT4lsrRqsbARzdXxB4PWqAeT2AMupgFWszA=; b=bDY7xsg+259POsS5+eUbOfLQu8xb7YnKDfevmf1ugPlUEhPG1/Cd6E1dvBmEbT8sFH hYi+VxwsZMTiMqUWhDuE+EWgyOpw5ZnIpLVVQrmUpUqMEDlM6XBDXU9H5yjELQCP3rFl lpgvZnPT7S31ETNFBmwpTJ58iDcgQgzEu8SAf006P6DPIkGmqwvl3kA7ZcE1+gBwCJwE sdoBlFpakWopgUlyxQmLrz3eUZwWreLPXxAaB5CHNWvKP0L6ZaDtKX5vaTuD9XszCiBg mj5KpdL6P/EKA8xHhOM1KJZk3zbhXuD7FXSnvNjMEpVRRhSBiuxz0k8axg3T6iiBFRmi ggMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=QaNzl6UiQT4lsrRqsbARzdXxB4PWqAeT2AMupgFWszA=; b=LcspCfapby8WNjwnm/ZLXruYYkQaItf2DZ8kiYPCWiL1K0eqe4eSI3baQm4+32fYgA c70SFlFsElAZvEBDApayMJqMWTACSGxj832rciM4T/5/VSOL+LfM3uGcNaMxRNiaJvi7 fRiu/c0EvJd2Or1yVarvw+YgU1iPR8UI26YK50nc1Z2qoYHebXyG1U62yTT3r1/FRMAA 4aPbRAGxHWDr8yqXt9WR31dYf8pxU/L21x0QcqCOY47VCL7gWzzwgBT9FFM9AG0yIdSI hSwYBw9gnkMGgP/n6Dg5kkzFUlSElC/TJG7iZhxRS1rpExTQdQf8A3fAUZ0IV2W/jyeM pbUg==
X-Gm-Message-State: AOAM533KZ5jRgJoLQGQt6fkRY9Jm84cB4lQ5Yu6y/b/576kn+GrH1CGp UWgPuo83cok191D6x+fgZ7VtOD/C
X-Google-Smtp-Source: ABdhPJzPyyFGflK25dwQKF+SQw4Y65f4rKbgdsTZi/5wWq3ROF1V7C+9p0yHc6HG2PW5P9LgRrEAfg==
X-Received: by 2002:a17:90a:7d07:: with SMTP id g7mr4277120pjl.216.1589963054444; Wed, 20 May 2020 01:24:14 -0700 (PDT)
Received: from [192.168.1.126] (x156176.ppp.asahi-net.or.jp. [122.249.156.176]) by smtp.gmail.com with ESMTPSA id e19sm1488155pfn.17.2020.05.20.01.24.12 for <sipcore@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 May 2020 01:24:13 -0700 (PDT)
To: sipcore@ietf.org
References: <C3B21DCE-AFB6-4312-B681-ED38CF9E1FA3@ericsson.com>
From: OKUMURA Shinji <ietf.shinji@gmail.com>
Message-ID: <2317cce7-581f-cfb6-b779-c8106dbfdfe8@gmail.com>
Date: Wed, 20 May 2020 17:24:11 +0900
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
MIME-Version: 1.0
In-Reply-To: <C3B21DCE-AFB6-4312-B681-ED38CF9E1FA3@ericsson.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/vlYXazKAboeOd8786zccLvw8VKQ>
Subject: [sipcore] proxy's behavior when uac does not support timer
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, 20 May 2020 08:24:18 -0000

Hi,

> PROXY:
>
> Request handling:
>
> -MUST reject the request if the S-E value is too small
>
> oNo matter if the request contains Supported:timer or not
>
If the request does not contain Supported:timer, the S-E was inserted by 
one of the proxies in the path.
In this case, RFC4028 says
"the proxy cannot usefully reject the request,"
In my interpretation, this "usefully" means that the rejection(422) is 
unreasonable for the UAC.
Because it is the proxy that created the cause of the rejection, and UAC 
can not recognize the cause for the rejection.

I have two solutions.

1. If the request does not contain Supported:timer, a proxy MAY insert 
Min-SE header, SHOULD NOT insert S-E header and SHOULD NOT reject by 422.

2. A proxy MAY reject this request by 422, and the proxy that inserted 
the S-E header MUST send new INVITE that has a bigger S-E value.

Regards,
Shinji

On 2020/05/12 0:51, Christer Holmberg wrote:
>
> Hi,
>
> And, if you for whatever reason rather watch Tiger King than the IETF 
> 102 SIPCORE session, below is basically what was suggested in order to 
> solve the session-timer glare situation:
>
> UAC:
>
> -If a UA inserts S-E in an INVITE request the UA MUST insert the same 
> S-E in any UPDATE request it sends while the INVITE transaction is ongoing
>
> -If a UA has conflicting S-E information once the INVITE and UPDATE 
> transaction have completed, it MUST send a new UPDATE with S-E, in 
> order to “sync” the S-E state among all entities
>
> PROXY:
>
> Request handling:
>
> -MUST reject the request if the S-E value is too small
>
> oNo matter if the request contains Supported:timer or not
>
> -If the proxy inserts/forwards/modifies the S-E in an INVITE request 
> the proxy MUST identically insert/forward/modify the same S-E in any 
> UPDATE request
>
> oThe proxy MAY insert/modify the S-E if it knows that there is no 
> active INVITE transaction
>
> Response handling:
>
> -If response contains S-E, the proxy MUST NOT modify it
>
> -If response does not contain S-E, the proxy MAY insert S-E if it 
> remembers that the associated request contained Supported:timer
>
> UAS:
>
> -If request contains S-E:
>
> oThe UAS copies the S-E value of the request into the response
>
> oThe UAS MUST NOT reduce the S-E value in the response
>
> §If the UAS wants to change the S-E value, it later sends a request by 
> its own
>
> -If the request does not contain S-E:
>
> oIf the request contains Supported:timer, the UAS MAY include S-E in 
> the response
>
> Regards,
>
> Christer
>
> *From: *sipcore <sipcore-bounces@ietf.org> on behalf of Christer 
> Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>
> *Date: *Monday, 11 May 2020 at 14.36
> *To: *"sipcore@ietf.org" <sipcore@ietf.org>
> *Subject: *[sipcore] 4028bis: memory refresh
>
> Hi,
>
> Now, when the sip-oauth draft is more or less done (in the RFC 
> editor’s queue), I intend to take up the work on 4028bis 
> (session-timer) again.
>
> We previously had e-mail discussions and phone calls, there is an 
> issue tracker on GitHub, and we discussed the suggested solutions at 
> IETF#103. To refresh your memory, please take a look at the video: 
> https://www.youtube.com/watch?v=C2yeckBmgPg (the session-timer 
> presentation begins at around 7:30 minutes).
>
> The decision to make a bis (instead of an update draft) has already 
> been made, but please take a look at the technical suggestions for 
> fixing the glare situation.
>
> Regards,
>
> Christer
>
>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore