Re: [sipcore] RFC 4028 UAS behavior requirement of Require header
Paul Kyzivat <pkyzivat@alum.mit.edu> Tue, 01 June 2021 14:46 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 1A6063A1AF5 for <sipcore@ietfa.amsl.com>; Tue, 1 Jun 2021 07:46:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.701
X-Spam-Level:
X-Spam-Status: No, score=-1.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, NICE_REPLY_A=-0.001, 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=fail (1024-bit key) reason="fail (body has been altered)" header.d=alum.mit.edu
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 E1xnXCSsXNq4 for <sipcore@ietfa.amsl.com>; Tue, 1 Jun 2021 07:46:23 -0700 (PDT)
Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2051.outbound.protection.outlook.com [40.107.220.51]) (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 119073A1AA5 for <sipcore@ietf.org>; Tue, 1 Jun 2021 07:46:23 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EF86k9j0ehprF/HoJ+YkN2uYrw/VEAU3OgmMR0HF3AQ0QvQ9CHuka0ivl3/aL8qmD1tM+DJrGgnNE6jQQZiPySdTweZv3CxSx2vlaFYFh1HKy63AqF/Zm7AoHJfwwHFzzK7vdDEjD0NjkylWM4BbCC6Ol2THObZ6g2OOUmpsg+FWASwj7nLCmVLjlYZ7xQbutVTsbvOVdfYyj5PY6NHP1QHp1zIrY5ec2aCePYcwZJMkvbazaVW0QC6NZaMRhYP8x/bDbfFqCGsV2acP0Xm0DKXuPaY+MkDdNKzdsiquNKB9NuZ2mMWqHDaE99gKv6S8GsVg3OHvWCqhafG2cdJxeg==
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=EeLaVPmX1vlCVBZKbQQ7rnhvfmv2uksKlzY3bH6j6iQ=; b=dR8ZFt3YOVKUazxff0PTf9CAgl7GnkCmwwTlqYQxrzfWkr/lYGuWC+MfBfqHWw1TEespWN2wdHOnl4wEoXe4j8FyJV5SgBvNDIe6rPu5LJyk0mnwHC9F5wQqB90nyowL7NXyiV/SwSpORJ/HxZnNVSnh3qtfotEU4W94Uc7z38KlrvpzlUof2Op8AIUUh2ZDHyuAYsi/s06JrMKlYd/FiwvQHFKTKc89wMy9MJpSRroymO/x36vHjdSvvKWPj1ncg1IW3koET1Jae6WHyJq1I2NHEIymdzpe7impfXeFsCNVsIPmUuAHe+x6KlbjGXYRPdJUc2igk4IGax9YjxOKIA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 18.7.68.33) smtp.rcpttodomain=ietf.org smtp.mailfrom=alum.mit.edu; dmarc=bestguesspass action=none header.from=alum.mit.edu; dkim=none (message not signed); arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alum.mit.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EeLaVPmX1vlCVBZKbQQ7rnhvfmv2uksKlzY3bH6j6iQ=; b=O/FnaqCyqHLyWNC352flk49JfLaE+AGEvh6HNmzTkLxMXDonkN2keF0ByMbryfLIabjtLxwOur2yyc/EWcYZeaS58HpUDlbUNTbVmua4gqts/GmHasgfWpQyMqGda97SGZBegfWax1wrGI/jcpPmrwoQwkNLobFFrLPOx/bG9DA=
Received: from BN9PR03CA0958.namprd03.prod.outlook.com (2603:10b6:408:108::33) by BL1PR12MB5127.namprd12.prod.outlook.com (2603:10b6:208:31b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.20; Tue, 1 Jun 2021 14:46:21 +0000
Received: from BN1NAM02FT009.eop-nam02.prod.protection.outlook.com (2603:10b6:408:108:cafe::95) by BN9PR03CA0958.outlook.office365.com (2603:10b6:408:108::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.21 via Frontend Transport; Tue, 1 Jun 2021 14:46:21 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 18.7.68.33) smtp.mailfrom=alum.mit.edu; ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=bestguesspass action=none header.from=alum.mit.edu;
Received-SPF: Pass (protection.outlook.com: domain of alum.mit.edu designates 18.7.68.33 as permitted sender) receiver=protection.outlook.com; client-ip=18.7.68.33; helo=outgoing-alum.mit.edu;
Received: from outgoing-alum.mit.edu (18.7.68.33) by BN1NAM02FT009.mail.protection.outlook.com (10.13.2.127) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.30 via Frontend Transport; Tue, 1 Jun 2021 14:46:20 +0000
Received: from MacBook-Air.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.14.7/8.12.4) with ESMTP id 151EkIHw016341 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for <sipcore@ietf.org>; Tue, 1 Jun 2021 10:46:19 -0400
To: sipcore@ietf.org
References: <CO6PR02MB7603DC7C115904E3A41C9A95EE229@CO6PR02MB7603.namprd02.prod.outlook.com> <CAFXT-pvFCev5CJ=chpGfHTQOMQ-J1=sBqwZDXLEgyU2i4dSsOQ@mail.gmail.com> <CO6PR02MB76038D3A73C42781CC2D3DE2EE229@CO6PR02MB7603.namprd02.prod.outlook.com>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <90facc4d-f0e8-d3a0-8489-ae37347eeef3@alum.mit.edu>
Date: Tue, 01 Jun 2021 10:46:18 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.2
MIME-Version: 1.0
In-Reply-To: <CO6PR02MB76038D3A73C42781CC2D3DE2EE229@CO6PR02MB7603.namprd02.prod.outlook.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-EOPAttributedMessage: 0
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: 0007be86-dda2-4019-f810-08d9250c054b
X-MS-TrafficTypeDiagnostic: BL1PR12MB5127:
X-Microsoft-Antispam-PRVS: <BL1PR12MB5127E1FCF5E71FE4D90CCC21F93E9@BL1PR12MB5127.namprd12.prod.outlook.com>
X-MS-Oob-TLC-OOBClassifiers: OLM:9508;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: b0pFB7c5+PM3Gu0iGBEnWc4N2mccp0aBBQ9tx5+uNo7rqXpF1byyhw37bQabtk69d8TGraGQdu9Z5SlTtTPPDefldXtiqxuSw3qQ9vpyzXF9vMFtHggeEy+QKXCTs/96apZ5rKvsW8eojg47XpEVkdVMIAmOkRq175LSNRtwrAUBH+XtXVdCG+4YZrg0IY459ou4E7HhQjhubmowmjEywbUBFzkFEpDgIeWImGa7+DBj0XdW1DExY3WBsCtlnKPfc8NdBV3Yd9fRgHRI4u9ikiI7d8BXj8AdVnBSkWuMUwyVtI4zpG6f8zt3b+BoXUWccH+4k3s/mNrE1d/y16cWSjTOAQOqKJhdhl07LG9I9BQFFhJjVfsinrM+535YarazDdzFAEk3YfbNHGMg5ANsWv/SRfn/B0UdEFqg9L24yDN9lJlM3BkBsW/yHNXJfZXQo55YnFVEGQWFWEV/secYGk695hVjWTBEBN+vOUiCfsXWMafNtH6acE769dzOZMcib7vfGjO31hdWq8UGF5WpwwrCCqmcpDIrzbWxEBPW7Tb8fseZ/NFN0xo6VN/53H80mp7RHbfqvASMYxMyhh5/Bc7Qau9Y5lMVjkmtEI18TkRvut9ZQ/2ap/2mXXZrZJvqIqDolUU3ZfD16GyMdqo3RqvZdulLy8X3/TOpc+7iMANKLk1zKgNfiA3NbSN+6sXYQl3ZfOqfoPqe7v/QQbdxTFEUMZBb0B2h7iUi9wXgH6hZw+PmB6rM6fl8gLe8ZP5qdD90tk6wNy2rELLGUPcN5eyit7lZgs9iaJvQit7iRb2JVt436RIddONJNTmq6hdb
X-Forefront-Antispam-Report: CIP:18.7.68.33; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:outgoing-alum.mit.edu; PTR:outgoing-alum.mit.edu; CAT:NONE; SFS:(376002)(346002)(136003)(396003)(39860400002)(36840700001)(46966006)(966005)(478600001)(45080400002)(336012)(83380400001)(5660300002)(70206006)(8936002)(7596003)(186003)(36860700001)(8676002)(356005)(47076005)(31696002)(82740400003)(31686004)(6916009)(75432002)(53546011)(36906005)(70586007)(316002)(26005)(786003)(2906002)(86362001)(82310400003)(956004)(2616005)(43740500002); DIR:OUT; SFP:1101;
X-OriginatorOrg: alum.mit.edu
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2021 14:46:20.7486 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 0007be86-dda2-4019-f810-08d9250c054b
X-MS-Exchange-CrossTenant-Id: 3326b102-c043-408b-a990-b89e477d582f
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3326b102-c043-408b-a990-b89e477d582f; Ip=[18.7.68.33]; Helo=[outgoing-alum.mit.edu]
X-MS-Exchange-CrossTenant-AuthSource: BN1NAM02FT009.eop-nam02.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5127
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/1ibImNT_-7bLv_S80MZVuzHzGmA>
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 14:46:30 -0000
Hoil, I already replied once about this. I'll try again. The simple answer to why the UAS should add Require:timer is that RFC4028 says that it must. Arguing that 4028 could have been written differently is a futile exercise. That RFC was written over 16 years ago, and people have been implementing it since long before it became an rfc. Are you imagining that anyone will revise the rfc or change their implementations for your convenience? Thanks, Paul On 5/28/21 4:18 PM, Hoil Choi 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> > *Sent:* Friday, May 28, 2021 12:38 PM > *To:* Hoil Choi <hoil.choi@hotmail.com>; > Sip-implementors@lists.cs.columbia.edu > <Sip-implementors@lists.cs.columbia.edu> > *Cc:* sipcore@ietf.org <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%7C4f68f91aa77847f0fb6508d922102eb4%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637578275155641932%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3McfrKwjz9RwC%2FBRLtdyopgzmNmUqsAKdAXyyRvChuc%3D&reserved=0> > > > _______________________________________________ > sipcore mailing list > sipcore@ietf.org > https://www.ietf.org/mailman/listinfo/sipcore >
- [sipcore] RFC 4028 UAS behavior requirement of Re… Hoil Choi
- Re: [sipcore] RFC 4028 UAS behavior requirement o… Brian Rosen
- Re: [sipcore] RFC 4028 UAS behavior requirement o… Ranjit Avasarala
- Re: [sipcore] RFC 4028 UAS behavior requirement o… Ranjit Avasarala
- Re: [sipcore] RFC 4028 UAS behavior requirement o… Hoil Choi
- Re: [sipcore] RFC 4028 UAS behavior requirement o… Paul Kyzivat
- Re: [sipcore] RFC 4028 UAS behavior requirement o… Paul Kyzivat
- Re: [sipcore] RFC 4028 UAS behavior requirement o… Hoil Choi