Re: [sipcore] RFC4028 : Very basic question in 8.1

OKUMURA Shinji <ietf.shinji@gmail.com> Thu, 09 July 2020 14:42 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 6865F3A0BFD for <sipcore@ietfa.amsl.com>; Thu, 9 Jul 2020 07:42:30 -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 B8xeIBdn-51Q for <sipcore@ietfa.amsl.com>; Thu, 9 Jul 2020 07:42:28 -0700 (PDT)
Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (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 90A223A0BE9 for <sipcore@ietf.org>; Thu, 9 Jul 2020 07:42:28 -0700 (PDT)
Received: by mail-pf1-x436.google.com with SMTP id t11so1097308pfq.11 for <sipcore@ietf.org>; Thu, 09 Jul 2020 07:42:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=1glKFgqrHaU4ZjBd2nyqRJWfvf/ikQCjIufrWqEDM9Q=; b=OprpTN0jAe4NPzkERu4D/YXcB0KJfFC4BX4absypllNTh6v7weaE1CmIBDRRv0Lr2J wx3+KnYmAEzxTx0z1HJDfdFxPEOrAuFGWH3HMMWFSd7n3bK/offYBreKX5aN/7NM8BrA iLuoAm/rRgQ2OIPsEqXJI6DbxXPCUU9sYW4w1LWxSxvsI7UfBjqeliL3XfBrH78RF7rv 7ufR2z4kLiLq4nioOWPguFmtFKEBE2TLtmN2XJLiw72yfIDaxf+tFWqXT07BOVMhmlOe Jbm8y6WDAeupAN8DQgbF93MO51Vxi3zCqCr+DyCzIJH1OIx11ctaytQ97qjDYh2ob+JV OgOg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1glKFgqrHaU4ZjBd2nyqRJWfvf/ikQCjIufrWqEDM9Q=; b=AIQbAYNfNmYkpWZMg+5OXd1/mzlgzeu+qdSsXnD5vejZIuzL0q6HalceWnY7SdnPW0 0Ja5pReoQ3rgOIiwpzeiMcbHGU6qI6qH0xlSa68/pM/7iCwpqUPdLQ7Fmh2onYizO1q6 69CwAgVEsNEEPMTvRleaarzI0q5VQ3tXdDWppOtybkos78B9ztXaPn7swc4aQi/7ZkQ/ sMuj00O1O+wSchuVaMNd9Sl1voIhNYyDr947LBC/MmPitDNURD10kRwIChudpN4SE+D5 vGb9ee1q9Vo9x8ESgval7bbNnX4IeEgOTMLq2lYFnNgZJkJkjx0N1/mMIYt7NHQvQ6sg QgJg==
X-Gm-Message-State: AOAM531RL3qU2nkPjczYwuV9VSjSEM0y/iEO7XfLp6M+wXIZyiJ9BX4U +AXBRCBk4fCvXe60ltnnzrel+ac1
X-Google-Smtp-Source: ABdhPJw1HY2iVOZfhk1Ye6BXb2KLkZNXmuub3signw0KU/Uz7z0lb0c+fwsGhQ4KsoqfDJGi1uRXCQ==
X-Received: by 2002:a62:16:: with SMTP id 22mr41854369pfa.120.1594305747860; Thu, 09 Jul 2020 07:42:27 -0700 (PDT)
Received: from [192.168.128.64] (112.136.68.111.er.eaccess.ne.jp. [112.136.68.111]) by smtp.gmail.com with ESMTPSA id c71sm3334176pje.32.2020.07.09.07.42.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Jul 2020 07:42:27 -0700 (PDT)
To: SIPCORE <sipcore@ietf.org>
Cc: Roman Shpount <roman@telurix.com>
References: <24d093f2-284f-a068-1cf1-8fb1b9310ff0@gmail.com> <CAD5OKxu1Ua79rEg-udgD-RxZjrfTmmyZMmDGvPQXp5xc1kzn1Q@mail.gmail.com>
From: OKUMURA Shinji <ietf.shinji@gmail.com>
Message-ID: <8ab9ef7d-1df0-2adc-70fa-0473526442cb@gmail.com>
Date: Thu, 09 Jul 2020 23:42:24 +0900
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <CAD5OKxu1Ua79rEg-udgD-RxZjrfTmmyZMmDGvPQXp5xc1kzn1Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Antivirus: Avast (VPS 200708-8, 2020/07/09), Outbound message
X-Antivirus-Status: Clean
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/T92dqmfmHQVFNmdHMZ8Ciz1ifJw>
Subject: Re: [sipcore] RFC4028 : Very basic question in 8.1
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: Thu, 09 Jul 2020 14:42:31 -0000

Roman,

I haven't proposed a fix for this YET. This is a pure question at this point in time.

> SE is the maximum allowed value.

UAC can send again with a greater Session-Expires and Min-SE. The proxy CAN NOT reject the INVITE just because "Session Interval Too Large". Therefore SE isn't the maximum allowed value.

> If Proxy needs a higher SE interval, it needs to renegotiate maximum allowed session timer value with all the parties upstream.

If Proxy needs a higher SE interval, the proxy need only increase SE-value. This procedure definitely works. Because this is the very procedure for when the UAC does not support timer.
Again, proxies can't reject the INVITE just because the timer is too large.

> Once again, may I ask, what is your motivation for proposing this change?

My motivation is that bis become to be more clear and error-free.

> Are you seeing an issue with a deployment somewhere?

No, You seem to attach great importance to that point, but I don't understand the importance of that.
Do you argue that it is enough for each developer to address any issues on their own?

Regards,
Shinji

On 2020/07/09 22:17, Roman Shpount wrote:
> Shinji,
> 
> This is a negotiation where all parties (UAC, UAS and proxies on path) must
> agree on the session timer value. Min-SE is the minimum allowed value. SE
> is the maximum allowed value. If Proxy needs a higher SE interval, it needs
> to renegotiate maximum allowed session timer value with all the parties
> upstream. This is why it rejects the request with 422 and a higher Min-SE
> value.
> 
> BTW, there is no guarantee that session timer negotiation will succeed. In
> general case it is possible that session timer requirements for all the
> proxies UAC and UAS cannot be satisfied at the same time.
> 
> Once again, may I ask, what is your motivation for proposing this change?
> Are you seeing an issue with a deployment somewhere?
> _____________
> Roman Shpount
> 
> 
> On Thu, Jul 9, 2020 at 9:10 AM OKUMURA Shinji <ietf.shinji@gmail.com> wrote:
> 
>> Hi,
>>
>> This is very basic question.
>>
>> Why must a proxy not increase SE-value?
>>
>> 1. UA sends INVITE(SE:100)
>> 2. proxy rejects INVITE with 422(MSE:200)
>> 3. UA sends INVITE again.(SE:200)
>> 4. proxy forwards INVITE(SE:200)
>>
>> +-----+             +-------+            +-----+
>> | UA1 |             | Proxy |            | UA2 |
>> +-----+             +-------+            +-----+
>>      |                    |                   |
>>      | INVITE(SE:100)     |                   |
>>      |------------------->|                   |
>>      |                    |                   |
>>      |       422(MSE:200) |                   |
>>      |<-------------------|                   |
>>      |                    |                   |
>>      | INVITE(SE:200)     |                   |
>>      |------------------->|                   |
>>      |                    |                   |
>>      |                    | INVITE(SE:200)    |
>>      |                    |------------------>|
>>
>> If proxy may increase SE-value,
>> 1. UA sends INVITE(SE:100)
>> 2. proxy forwards INVITE(SE:200)
>>
>> +-----+             +-------+            +-----+
>> | UA1 |             | Proxy |            | UA2 |
>> +-----+             +-------+            +-----+
>>      |                    |                   |
>>      | INVITE(SE:100)     |                   |
>>      |------------------->|                   |
>>      |                    |                   |
>>      |                    | INVITE(SE:200)    |
>>      |                    |------------------>|
>>      |                    |                   |
>>
>> Needless to say, this sequence is much simpler.
>>
>> Regards,
>> Shinji
>>
>> _______________________________________________
>> sipcore mailing list
>> sipcore@ietf.org
>> https://www.ietf.org/mailman/listinfo/sipcore
>>
>