Re: [sipcore] 4028bis: memory refresh - proxy assumptions

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 15 May 2020 07:30 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 78A4C3A07C5 for <sipcore@ietfa.amsl.com>; Fri, 15 May 2020 00:30:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.274
X-Spam-Level:
X-Spam-Status: No, score=-2.274 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.173, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 BadFeEpzVhZu for <sipcore@ietfa.amsl.com>; Fri, 15 May 2020 00:30:25 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60069.outbound.protection.outlook.com [40.107.6.69]) (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 EBFB13A07C6 for <sipcore@ietf.org>; Fri, 15 May 2020 00:30:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MeEt/Y15Tt7C4eQqlTSDyyOXOIQ1H9zpRIdZkCS1DXV9nR0hx73thK7HFsuJklESyFdFJc/8ZeFZL9jPP3aztVEthrmMTfD/2X8oB9IMNkcfkiUE876I2UNPuIltSr2ABLOiwzbV6KFRZYQ+8v+Fer5XWHgjBoXioBAdqCxNRDT9vIfP7Pli02nlu9XB7BdsWy67ovJS2+u5+paLxmGT7mcZh+5u6Q3pzMdA62N/VGGA0Qosu8+5SeC+lSaUoHVd3VC7p8J2kp6hEnmYy8C1w3y8F8GXXZ3O0EfRy3GEDycx0SqTSbiK24cvB93aH3QLVRifpGn9baDKn4eR/6XNag==
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=Z62GxUgTIVC7eWMdce9ppj75npC0QnCtpkdPXKXq7YY=; b=iVv+W1pHCqAmq6GvIDvB9j37K8U/b3LrMhB1r8wwjqrpDujMfLBzSVNm5gBpbVCnv031oHl21ItzRwZaoIL2iCyG8OBML9JF0cAoKoKjkp3DwsSIPs7s0yQr4oIQUkX7SuBNRprZQu/4+Cnjr2dq+VfvwPXsLC5dwWTE5KMBLbVzgyFDpOY6GfMgymqUBlXETO9qys39PiXBU/MhXtKD2E1/BEF5CpbXcq/Kjd8JygPvsdH4FA/mmH/ZVwq+pi0/yJ+cqMJxAC21mYMnKgJcq3Cj6w0VSEZg8EtmWbezAwE9u+BBF5P2vF0qbxOk3vp3Mrbk7PBlwQW8uqyqMUIdeA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Z62GxUgTIVC7eWMdce9ppj75npC0QnCtpkdPXKXq7YY=; b=F1vEoeENA1My81dUGOW6EJE4JWdiurdcqB/WzZ6S2Jy2KUtl/Nc0FsvV1bjFU+SJDqC+fsl6j+awz2MsJUNx6/mDREU3cyfjrZw/ZAKdZilFCM8V7taKevJdmPwOiq8FVLCsJE9gqexwSr5v1Kbcnd/atwH+by9kqrBZ1tR+spM=
Received: from AM7PR07MB7012.eurprd07.prod.outlook.com (2603:10a6:20b:1bc::19) by AM7PR07MB6484.eurprd07.prod.outlook.com (2603:10a6:20b:1aa::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.12; Fri, 15 May 2020 07:30:22 +0000
Received: from AM7PR07MB7012.eurprd07.prod.outlook.com ([fe80::7529:b51f:5fb4:62b9]) by AM7PR07MB7012.eurprd07.prod.outlook.com ([fe80::7529:b51f:5fb4:62b9%5]) with mapi id 15.20.3000.016; Fri, 15 May 2020 07:30:22 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>
CC: Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] 4028bis: memory refresh - proxy assumptions
Thread-Index: AQHWKfkgEYFa8+7770udXBuctBvBEqioti0AgAA0qAD//9QBAIAANOOA
Date: Fri, 15 May 2020 07:30:22 +0000
Message-ID: <32348831-8C73-4A1C-BEFA-294FBAF2A224@ericsson.com>
References: <3A3E112F-C60F-43EB-A2AD-AA89597674AA@ericsson.com> <CAD5OKxsMesFT0fRRMJjmEm26Y0kM19O7OJES-qR3k8SgPxMuxw@mail.gmail.com> <36E38B07-F79B-4AD3-B7A9-764FF92F987D@ericsson.com> <CAD5OKxuG49jp0t2LHFNB1Sx2YGBC3SEY+NYfjXB0bb3QB8Q41A@mail.gmail.com>
In-Reply-To: <CAD5OKxuG49jp0t2LHFNB1Sx2YGBC3SEY+NYfjXB0bb3QB8Q41A@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.36.20041300
authentication-results: telurix.com; dkim=none (message not signed) header.d=none;telurix.com; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [193.210.17.188]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: f0d9805c-da49-4068-50e8-08d7f8a1d41b
x-ms-traffictypediagnostic: AM7PR07MB6484:
x-microsoft-antispam-prvs: <AM7PR07MB6484ACB0BF8B7ABAAC04CDCC93BD0@AM7PR07MB6484.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 04041A2886
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: aRlYU0QWo1gfTF2sxoY5tZNbc+ANnN1K5tEY/NoYwRujYNd5ST/GLg7lkwFdXN0k27E4NTBQ00o0AbZ0kyRtxFVyFfT4YjSodqZ9qGvkPFWOqNEB3RcctpMeo6sYq2+UM2oYjNHrUYwSFOgw2cm3Xi58+GLH63PJUP3QGYFYV+WtSSF+frTstBNQ3K832u3NcS5/4khMsm4ejBZb07PaKYLjVwtK0+3scL2QM+74mxtfPMHfQnnsP6Rn6tMhElXlMiVmXgAm1H0EmTqtmRMZOVthb1dydQie21D01RNZka5x8aeG/+DW7z1xpKzyRJhk8CWiYZg4bckOkb7c6d6JmQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM7PR07MB7012.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(136003)(376002)(346002)(396003)(366004)(2906002)(6512007)(36756003)(6916009)(478600001)(186003)(76116006)(66476007)(66446008)(4326008)(66946007)(2616005)(66556008)(91956017)(64756008)(44832011)(5660300002)(6486002)(71200400001)(6506007)(8936002)(8676002)(86362001)(316002)(26005)(54906003)(33656002); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: G9YL64XQCg81hxosmwiZWM0jlVSwt5kjh2se+g2fhIG41tXXx8PMesBnZL7oh0+8uQrIyoLL1giSCbPoOrp+RhvS+8/JVy4TnjSgwu4VPDqxiEIjHe9z+K3QDvB2l210nNhnmn0L0wZP7bZbKYQltgphnNbRI6Uma92tA2oQ0laLeRy/jaXygGT9A09UhyrW0zeZ2HipW+/CQzjfk82pbwEN+kyQ7tUYweFO4NyzilPQRNcLRtZNbOsO02XH/1vCMnlA/GFMKz2I028gEg+/9XvDE0mSaVMcMkSIdfnUE4T6MhPdPX3FIj9XdSUbv6PTpFXCM0fuKoqNiAV+hIev8W1+fmUc+RN8r2p9ndtNg5V85DVQHX10PoN4cnY7dgrqn+0eX5wWisWERNU4WJKDNXIE2WeDYOq/ViWTq7b9W+XqqRLuE0iR7lBY7ePeFh2c6rqZJL3a4zb3nftmdoOctosJlweXS1lmXFI+SCgdm+1fn/yp4GrDMFSuFfRIQCvq
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <CC6133E53982B9498A790D3802F5A11D@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f0d9805c-da49-4068-50e8-08d7f8a1d41b
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 May 2020 07:30:22.7042 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: YokBhsLeRsL0ieSasY8+JosOqmadOFD0XZDMS2ocja2Uof3yaNftZvaNplIePtjJrlLz5nCTYc3C7vjnaQu5FjTbpyO38bQ00oGrUNdFCYI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6484
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/CQ9iJ5rjjGRlNq7z1TrDCImtKB0>
Subject: Re: [sipcore] 4028bis: memory refresh - proxy assumptions
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: Fri, 15 May 2020 07:30:27 -0000

Hi,

>>>>>1. Defining proxy behavior based on having a transaction in progress: This is hard to implement in practice since initial INVITE and UPDATE
>>>>>might not even go over the same path and the same proxies.
>>>> 
>>>> Section 8 of RFC 4028 says:
>>>> 
>>>>   “Proxies that ask for session timers SHOULD record-route, as they
>>>>   won't receive refreshes if they don't.”
>>>> 
>>>> In my opinion it should be possible to mandate that a proxy that asks for session timers, or modifies a session timer value (S-E or Min-SE), also record-route.
>>>>
>>> I have mentioned before that even requiring record-route would be insufficient. First of all, having a transaction in progress for a proxy is something
>>> that can be ambiguous due to network delays or message re-ordering even if it is always on the dialog path. Second, the amount of state maintained
>>> by proxy, if it needs to track transactions vs dialogs increases significantly. Third, even if the proxy can be the same "logical proxy", it can actually be
>>> multiple physical servers sharing an address behind a load balancer, so UPDATE and INVITE transactions can end up on the different servers.
>>
>> You could still configure those proxies to behave in the same way (insert/modify the S-E and Min-SE header field values in the same way) when it comes to the session-timer. 
>
> Absolutely correct. Having proxies use the same consistent rules should be sufficient.
>
> My point is that we cannot define proxy behavior based on having a transaction in progress. This is only non-ambiguous and implementable for a UA.

If the proxy is not aware of transactions, it could always behave in the same way, i.e., always insert/modify the same S-E and Min-SE header field values in INVITEs and UPDATEs.

I really see no reason why a proxy should suddenly change session timer behavior - especially a proxy that is not session aware, or aware of other ongoing transactions.

Regards,

Christer