Re: [sipcore] RFC 4028 UAS behavior requirement of Require header

Hoil Choi <hoil.choi@hotmail.com> Tue, 01 June 2021 15:40 UTC

Return-Path: <hoil.choi@hotmail.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 F2EE73A1C86 for <sipcore@ietfa.amsl.com>; Tue, 1 Jun 2021 08:40:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.998
X-Spam-Level:
X-Spam-Status: No, score=-0.998 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 zvqTwAWm5Q8e for <sipcore@ietfa.amsl.com>; Tue, 1 Jun 2021 08:40:29 -0700 (PDT)
Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn2010.outbound.protection.outlook.com [40.92.21.10]) (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 AC58A3A1C87 for <sipcore@ietf.org>; Tue, 1 Jun 2021 08:40:28 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kxX9XKm1QAJLOwDQQWCafDAIdFFiWG+neQybE9XVda3lBaX+t/2qPP6pMmx7WKwwTafl1tFNRTAIaJJCqvpNISMRWx/32pVuJ+0IAlXN9rCb/YTEcKSUd1+XaYPV4vmhKHfSpWnP81e5brfuXpecr6QLWqYTt7czEaGvO+MsXtJo5kZZI7jGOOCaFb7tBa4jts/Qz87NB/m7bYcGpxNGCh4H+U8jwSMSRjg9cX57zNzv2fuhZeeImeeDSJh5SfiASbimLecBbGYQHNyQs54D/Mnn+F+WbvbPQADybHvji9e60dt3Hjkg2krwzlD7L8JTNrirOmc1C3RFbCzeSucwhw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GbqYfR7TP1x/83a55n4VQcvYdTsqaaaiSbC3PZ3QAt0=; b=nrbTyOnYvu+j+ZNQVV/R0JP2pheZvKn2LIubDd7dXvI9yeq2KHxG3gp0HsEjkiOn5pLzGvmqpTkH6rert1959Ci+DA3Zvvd2Lf6iZEY9T+5VQBhFxG3NHfAa2t1podqj6hVgd2KhdeT1KXkNHRInB+yLHpuyPvSM8D2Qd91W2sAN3opzfcMggJJzczXlC2qzJX3LwG+R3fcZ/3fOZLNJb5MGuxFCAyk6zulcck5rMJAXAVkdPQiphBHuKIVFI6wj90oFHs91OTMDtTvYQCTtOnFAKmioI6BPpVigh3FMnHTApBCvensh6Vqr1sCed+75w/ueZ+QMPoYmiwcuELCRsQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=GbqYfR7TP1x/83a55n4VQcvYdTsqaaaiSbC3PZ3QAt0=; b=lqwLO9x+960gNFnxMNXYOhndT67BpPW6MPeXHFXTTwdxnrla8neiZ3POt1dLAmMrFzpQKXXXJqY2fn7MlmwV0TKnRZhI4vgjYOhG4xxrLo/kp0L7lihcbX+SsWuI2XR038yZ6LMYLyf0mLHhZxMrhNvJ/2mTJVp5n5RKhbB/MbXE30lbpCp7hmixgfkh5AouIwdv9FfgmRRAopTK0UzLfnOzI0x2S6hiB3u1hbiQ6N9QZrpweLoKPg+YuLbbC5+I5IhiJi8CSXIKsGzxFqVaEWemBl5mu3fDKuU8/0aILFkirjTke/NHomZkUM2jOCBnsKHJHY60fJRQrGXuvPRpag==
Received: from MW2NAM12FT057.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::4a) by MW2NAM12HT144.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::291) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.10; Tue, 1 Jun 2021 15:40:26 +0000
Received: from CO6PR02MB7603.namprd02.prod.outlook.com (2a01:111:e400:fc65::40) by MW2NAM12FT057.mail.protection.outlook.com (2a01:111:e400:fc65::261) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.10 via Frontend Transport; Tue, 1 Jun 2021 15:40:26 +0000
Received: from CO6PR02MB7603.namprd02.prod.outlook.com ([fe80::11c6:9a98:84a:7f22]) by CO6PR02MB7603.namprd02.prod.outlook.com ([fe80::11c6:9a98:84a:7f22%7]) with mapi id 15.20.4173.030; Tue, 1 Jun 2021 15:40:26 +0000
From: Hoil Choi <hoil.choi@hotmail.com>
To: Ranjit Avasarala <ranjitkav12@gmail.com>
CC: "Sip-implementors@lists.cs.columbia.edu" <Sip-implementors@lists.cs.columbia.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] RFC 4028 UAS behavior requirement of Require header
Thread-Index: AQHXU42WCj5aHc4bTkuBkpJKe+ECaKr5St6AgAAHxtSAAAmpgIAF9SGQ
Date: Tue, 01 Jun 2021 15:40:26 +0000
Message-ID: <CO6PR02MB7603F4213B0FAE0D788F7150EE3E9@CO6PR02MB7603.namprd02.prod.outlook.com>
References: <CO6PR02MB7603DC7C115904E3A41C9A95EE229@CO6PR02MB7603.namprd02.prod.outlook.com> <CAFXT-pvFCev5CJ=chpGfHTQOMQ-J1=sBqwZDXLEgyU2i4dSsOQ@mail.gmail.com> <CO6PR02MB76038D3A73C42781CC2D3DE2EE229@CO6PR02MB7603.namprd02.prod.outlook.com>, <CAFXT-psukQPK4+x9gH8x9NbXsEyC2oTehW1oVJPk+bAm_4nYrA@mail.gmail.com>
In-Reply-To: <CAFXT-psukQPK4+x9gH8x9NbXsEyC2oTehW1oVJPk+bAm_4nYrA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-incomingtopheadermarker: OriginalChecksum:B5CFB406C7646DE18D13321FB6A26F6AD8D63EF04580ABAF4C4FF5D770A4DF33; UpperCasedChecksum:E20DB0EC5CA6EF39F0361907FD6ED65477EE956C5E8ED510D3F74D29B372872C; SizeAsReceived:7322; Count:45
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [BjMEBQs3HxobzOEKFltQyvOedqC//DJl]
x-ms-publictraffictype: Email
x-incomingheadercount: 45
x-eopattributedmessage: 0
x-ms-office365-filtering-correlation-id: 9bd258eb-3354-4ec7-efd5-08d9251393f2
x-ms-traffictypediagnostic: MW2NAM12HT144:
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: kTIAgSHsqNy9LuCsaX0iAYfRJvMsVlbn3GTjSFTG9g+DNSuHpLPa2+jvzMOi6yvChx1LdVD4IRR59LAgFtelth/eG1en5lmJBd18F8G7l+a2oc2JX2WGnIK1lKLMVSyZ5Ow9Kiu0ZiX7Fwy6bNVlyJP67Q86hA1evZ5G3SpeLnz4dNbrJXOZCosoKPaCuLlZWhmamLmd2BQYibABIdusJZJauzTzE0jJZ0bpLlunDld0ECchVjZJ4nn6Hdj/LR3g9LZVWJL33LCRa9spipL7dDyLCmGpTKw4STMKqs91pRz0s0HvVvOVBwvt8mSE3DOJn2hKz3hw7unexHJgcxGOWa/Sw/pKfAYCwKiEqBxaBY0mzUsRzqxe6lhcv5IHQvHS4SbAQYu6ozzQCd/PkpWYi1QGePYsHFtx6VWD0wnEfhBovLjjr1vK9ZqwVIlF98xYqeMn+EMG312VB602UgNwW3u6v50Br2aHijcKRt93kA8=
x-ms-exchange-antispam-messagedata: Mxlsbzgb2Yhr6e9Qh7sjNqr0/JRjNMgHMujUFiyO54ItOgbhM4q0zYJrMotOXenA4DNSpmjop9w18w/gLfvKfkYBnU5wLgW3MicLSgPw1GtjSMXj59wTPw+egmyIZsBnQkLPFklGLkRmKnax6sF2MA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_CO6PR02MB7603F4213B0FAE0D788F7150EE3E9CO6PR02MB7603namp_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-AuthSource: MW2NAM12FT057.eop-nam12.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 9bd258eb-3354-4ec7-efd5-08d9251393f2
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jun 2021 15:40:26.5169 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM12HT144
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/UQBPxzNHiZnF_dBA4-l_w0RrIV4>
X-Mailman-Approved-At: Tue, 01 Jun 2021 09:02:55 -0700
Subject: Re: [sipcore] RFC 4028 UAS behavior requirement of Require header
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: Tue, 01 Jun 2021 15:40:39 -0000

Thanks Ranjit.  The word "MUST" seems to throw some vendors off.  I saw at least one device that behaves this way due to the word "MUST".  Is there way to get that reviewed and edited?

Thanks,
Hoil

________________________________
From: Ranjit Avasarala <ranjitkav12@gmail.com>
Sent: Friday, May 28, 2021 1:40 PM
To: Hoil Choi <hoil.choi@hotmail.com>
Cc: Sip-implementors@lists.cs.columbia.edu <Sip-implementors@lists.cs.columbia.edu>; sipcore@ietf.org <sipcore@ietf.org>
Subject: Re: [sipcore] RFC 4028 UAS behavior requirement of Require header

Hi Holi

The RFC says UAS should add a Require: timer in response when UAC is the refresher to indicate to UAC that it is the refresher. But I think this is redundant as UAC anyway knows it is the refresher and does not need a reminder from UAS.

On Fri, May 28, 2021 at 3:18 PM Hoil Choi <hoil.choi@hotmail.com<mailto:hoil.choi@hotmail.com>> wrote:
Hi Ranjit, thanks for taking a look.

However, I'm more interested in case where UAS is responding to UAC's request with refresher as itself (uac).  Consider this case -

UAC ---- INVITE (Session-Expires: 1800;refresher=uac, Supported: timer) ----> UAS
UAC <---- 200 OK (Session-Expires: 1800;refresher=uac) --------------------- UAS

In this case, the statement in question seems to convey that UAS should also add "Require: timer" in its 200 response.  Why would this be, when it's clear that UAC declared itself as the refresher and that timer is supported?

For reference, RFC 4028 Section 9 UAS Behavior (or page 16)
If the refresher parameter in the Session-Expires header field in the 2xx response has a value of 'uac', the UAS MUST place a Require header field into the response with the value 'timer'.

Thanks,
Hoil

________________________________
From: Ranjit Avasarala <ranjitkav12@gmail.com<mailto:ranjitkav12@gmail.com>>
Sent: Friday, May 28, 2021 12:38 PM
To: Hoil Choi <hoil.choi@hotmail.com<mailto:hoil.choi@hotmail.com>>; Sip-implementors@lists.cs.columbia.edu<mailto:Sip-implementors@lists.cs.columbia.edu> <Sip-implementors@lists.cs.columbia.edu<mailto:Sip-implementors@lists.cs.columbia.edu>>
Cc: sipcore@ietf.org<mailto:sipcore@ietf.org> <sipcore@ietf.org<mailto:sipcore@ietf.org>>
Subject: Re: [sipcore] RFC 4028 UAS behavior requirement of Require header

Hi Holi
the presence of the "Require" header with value "timer" from UAS indicates to UAC that it (UAC) is performing the refreshing operation. but if the UAS is the refresher, then if Require header with value "timer" is present in response from UAS, then UAC should send BYE if it does not receive a session refresh request from UAS.

Regards
Ranjit



On Fri, May 28, 2021 at 10:02 AM Hoil Choi <hoil.choi@hotmail.com<mailto:hoil.choi@hotmail.com>> wrote:
Hello,

I hope this mail finds appropriate person or team for an answer to my question on RFC 4028.
I am a SIP enthusiast and always learning a lot about it, but by no means am I an expert; so please excuse my ignorance.

I came across an interesting statement In Section 9 UAS Behavior (or page 16).


If the refresher parameter in the Session-Expires header field in the
   2xx response has a value of 'uac', the UAS MUST place a Require
   header field into the response with the value 'timer'.

Statement seems to convey that UAS must place a Require header with value 'timer' when UAC requests itself to be the refresher.

However, this statement should only be true, if UAC did not put Session-Expire with value of 'uac'.

If UAC, in INVITE request, put Session-Expire with value of 'uac' (itself), UAS should not bother putting Require header field in the response.  Or to be more accurate, UAC should include 'timer' in Supported header, so that UAS doesn't have to bother putting Require header field.

What is the reason behind the requirement of Require header, from UAS in this case?

Thanks!
Hoil Choi
253-273-5442

_______________________________________________
sipcore mailing list
sipcore@ietf.org<mailto:sipcore@ietf.org>
https://www.ietf.org/mailman/listinfo/sipcore<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fmailman%2Flistinfo%2Fsipcore&data=04%7C01%7C%7Cba575b2a803e45222f6308d92218e64d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637578312598666332%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ahE28snhf5%2BAf4ZnrsfMasmV4Vix7pgAfWB72esjquI%3D&reserved=0>