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

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 14 May 2020 14:08 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 50E6F3A0ACE for <sipcore@ietfa.amsl.com>; Thu, 14 May 2020 07:08:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.273
X-Spam-Level:
X-Spam-Status: No, score=-2.273 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, HTML_MESSAGE=0.001, 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 4KlZmbd_Z6O0 for <sipcore@ietfa.amsl.com>; Thu, 14 May 2020 07:08:29 -0700 (PDT)
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70043.outbound.protection.outlook.com [40.107.7.43]) (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 2F20E3A0AC8 for <sipcore@ietf.org>; Thu, 14 May 2020 07:08:25 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c9NoI/OKA2/N4YvBeGZMWo5nD16+qc+y0ISniMFRHF/7imbMhYLk2Fz19vB2mBnrZWNoyUsm7JcXJwBT899S5bAXdtXKaGz+tRpK09I8oF/8CMjdJHQp+JPmKr+UTaU8z7ttEIlzkhhx8nMsS1JFQtRI3cq3f9T9Nc2RwqrbxZiXUJcOsxz253YyB08F/hsO+JG8HUzKCUmleSFg0wtxRu7/RbA4CG1OwHXEDOoUfIvvf9VjuuUf1TIHmNSWFoH/CNiUXLiQZlOl4QCjUsLlkEm3wMIWKGzgLMCU5Y7HXop1ELGJKmzo/ZXFJQkkM5aw4v7vrQG9T+uBo5MuY1N7kQ==
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=dVZmgHh8bRQ2UYYCusPMznyEwxhUXGzoiQnFwPAsNd0=; b=mxpVtWTc0LF+pId5QSzlQpzovv9WY9xesQL8wZdCFLvmLVGM1SIOdI4JsFaK8jhko9CfVWq2jQMtgB9sRZCOdtdXmeQg1GF0VgrqNKtDF2U2YbjyI0qrwejgAiLV+R0gNWNiOgAGGVv1F4IDKetDB8FByrbmfuOzcYvYnPAaQfEl/Xx9ruqlDS43NiAMKBu2kuItgeaIUYlW3gIT0hLZfJzVYJ/xCIXoIAhRgq52TQJNLNG940SJaXkRsBg0QfGxzZG3M146xjoqaB2mmCiDRLnU+2UNHUg8+q/SrBOq9TydlVYmdIJjbcgJmq7AZYmHbxoPiZsM+GOZvDKTUYpXxA==
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=dVZmgHh8bRQ2UYYCusPMznyEwxhUXGzoiQnFwPAsNd0=; b=GatMGywVwILJwe8Yh87SbT8N2aK9GM4FQQ0L+IpA0hIl5NTiK18Ikmz3aXa8wYJ+3sCKf6GeS8/SY23ikQKBnU9UzIg2k3imPz2xPPYWgkG7i/2ZC5kqJOvBaugAt5zD7rjTJDdSVhq/SBZfzrCO57e3Gu60edQgR0ugeEE1Su4=
Received: from AM7PR07MB7012.eurprd07.prod.outlook.com (2603:10a6:20b:1bc::19) by AM7PR07MB6596.eurprd07.prod.outlook.com (2603:10a6:20b:1a3::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.12; Thu, 14 May 2020 14:08: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; Thu, 14 May 2020 14:08:22 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org>
CC: "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] 4028bis: memory refresh - proxy assumptions
Thread-Index: AQHWKfkgEYFa8+7770udXBuctBvBEg==
Date: Thu, 14 May 2020 14:08:22 +0000
Message-ID: <3A3E112F-C60F-43EB-A2AD-AA89597674AA@ericsson.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: [188.127.223.154]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 4584b2f2-029c-44b9-fd66-08d7f8104328
x-ms-traffictypediagnostic: AM7PR07MB6596:
x-microsoft-antispam-prvs: <AM7PR07MB6596481678EF6A7EF6A615BF93BC0@AM7PR07MB6596.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 040359335D
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 1X5Ej5FbCXSMc/viJi+RFpkOP/X2f5NHytIemlgRBmDPMTIcbsqy47/U3s6RRU/vFU0qgi+gRxh+KW/SKTOS1tjoEgs3AH16N0z3p8EeanoLaiUBd1DaGrs9+1o0OdYpGobmFztKY2wOB6DCRRMgZTgEtxnqy62nFMLQz2PBL9T5BIaUzorYk3r1xDFmTnX5tILOp9HvGQ9sDUyPBTx3/Z7mKcsU++zIYvjxjkDR2ZktZBUWSJhoQp/5a8QqEjANrfM9/7VQKNO6NaHXYKOeYF81Hzeq3Y7k8mT2T6rAvhGLFcfqY5OzR3MLCr9Ov46Mbn0MDqp4LRlpmJQ9J8pWRNFkjNIbSugrf5tWlfe+R5bWqv2/PnLR7URRrU300dvVFvcqYEAV2koWSsqV2RCXEg==
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)(396003)(39860400002)(346002)(376002)(136003)(366004)(6512007)(4326008)(36756003)(91956017)(6486002)(33656002)(8676002)(166002)(86362001)(8936002)(5660300002)(2906002)(478600001)(6506007)(53546011)(966005)(2616005)(44832011)(66476007)(64756008)(66446008)(66556008)(26005)(71200400001)(316002)(76116006)(186003)(66946007)(110136005); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: d/BaMhekd3VdM+LWCFbhngLL1V13sAiXrbYrd7uDkPtRsEuGFZXVyEHx68BrDyMeQzReSSW7OmxIGl/ZsDqLlQQKShZOuEiLdmbO039NnDImM4wLXotNYvdmqVIWPtYg2IawzsuDwFIzDSTH7BsewX/f/PEJr0iWO3fwGyov+0X+gQ6yEomnZzyZ9TLCJa24jQysv562eNaTLlo1L2EciSqJKO2rFBxF8t1eaLgGUoyMlpEGe2JppRcT6Bs5yAXmSeIRLkTlCCItBNvPcOIHOEo49ySa0+FEn9/jasAjRghbwmFWqWkR6HViZ6LwKulprUuf0jaBrTD0XKxbjL8s/zOajMjzkdvUva+G8p4d0FvFDDY1OADhme9SnnfsyPYsviecXJmaA52IfVkJBp7rpoODg98ydnQT0X74i6vPxytBrOhquV78tu9i8yf/wo40+mzLMVlc/AgC7S/bhrkOWz2acsQrwr4DOXH4NQyAJ0fHz931VQnZiIOQMPoYXbMc
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_3A3E112FC60F43EBA2ADAA89597674AAericssoncom_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 4584b2f2-029c-44b9-fd66-08d7f8104328
X-MS-Exchange-CrossTenant-originalarrivaltime: 14 May 2020 14:08:22.5333 (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: ozwk78mPvkIB/PjCmGQNWIoVDPkNNok0PuPCxqlufGy2xCmKmqSg/Zrn26nOKqD/afvBk5MSics38E3LZqD8OPDZdtFhBS0/UDtfWltO4cE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR07MB6596
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/yUTBwaW6mO6neU-B0sza8MGTdAk>
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: Thu, 14 May 2020 14:08:31 -0000

Hi,

>I have two issues with this proposal:
>
>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.

Regards,

Christer






On Mon, May 11, 2020 at 11:52 AM Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>> 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

o   No 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

o   The 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:

o   The UAS copies the S-E value of the request into the response

o   The 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:

o   If the request contains Supported:timer, the UAS MAY include S-E in the response

Regards,

Christer


From: sipcore <sipcore-bounces@ietf..org<mailto:sipcore-bounces@ietf.org>> on behalf of Christer Holmberg <christer.holmberg=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>>
Date: Monday, 11 May 2020 at 14.36
To: "sipcore@ietf.org<mailto:sipcore@ietf.org>" <sipcore@ietf.org<mailto: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<mailto:sipcore@ietf.org>
https://www.ietf.org/mailman/listinfo/sipcore