Re: [sipcore] Eric Rescorla's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT) - the COMMENT issues - part 3

Christer Holmberg <christer.holmberg@ericsson.com> Tue, 08 January 2019 14:23 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 380BF124C04 for <sipcore@ietfa.amsl.com>; Tue, 8 Jan 2019 06:23:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.366
X-Spam-Level:
X-Spam-Status: No, score=-4.366 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.065, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com header.b=Iiv54uh4; dkim=pass (1024-bit key) header.d=ericsson.com header.b=XBKDkhe4
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 olABamAx_94S for <sipcore@ietfa.amsl.com>; Tue, 8 Jan 2019 06:23:43 -0800 (PST)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 16170126CB6 for <sipcore@ietf.org>; Tue, 8 Jan 2019 06:23:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1546957418; x=1549549418; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=j7tw9TB2XTl8GATnxrvvMlQXDXl8QTeT0w6V+AYKr84=; b=Iiv54uh4Qx/a7AmE1HCF2bdGbENMp+WTcaow6r+pyg3cW9oUnm/oW+Uvi6i8IMQa Kh/IO2pkitx7DG88TSThx5Kl6yy7qJkvgZMpviD9s07PqapnIcQAGrvj7msAq4O7 88r5rQozzKlNj8SH3BxM1I3djVgegNoOz20bF/yFMtE=;
X-AuditID: c1b4fb2d-2198b9e00000062f-dd-5c34b26a76df
Received: from ESESBMB505.ericsson.se (Unknown_Domain [153.88.183.118]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 47.F7.01583.A62B43C5; Tue, 8 Jan 2019 15:23:38 +0100 (CET)
Received: from ESESBMR503.ericsson.se (153.88.183.135) by ESESBMB505.ericsson.se (153.88.183.118) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 8 Jan 2019 15:23:21 +0100
Received: from ESESSMB504.ericsson.se (153.88.183.165) by ESESBMR503.ericsson.se (153.88.183.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Tue, 8 Jan 2019 15:23:21 +0100
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESSMB504.ericsson.se (153.88.183.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Tue, 8 Jan 2019 15:23:20 +0100
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=j7tw9TB2XTl8GATnxrvvMlQXDXl8QTeT0w6V+AYKr84=; b=XBKDkhe41SHr1Ts2iB9gGOynCLu8BymoL5W7Tqhk015Vzh0f34oqP2ezfc74SYl6yf2fO32g1t5Lf13zDLI574Sx+Wd13RabQ0nKaay7p1rOmUFIBW6XN/TsRAqo1OmrnfSZygnLF4YDr1waXMWUlFMqH2qorhFHBNkFBfjoTag=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB4378.eurprd07.prod.outlook.com (20.176.167.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.10; Tue, 8 Jan 2019 14:23:11 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::852a:3f04:e342:cf55]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::852a:3f04:e342:cf55%3]) with mapi id 15.20.1516.010; Tue, 8 Jan 2019 14:23:11 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Eric Rescorla <ekr@rtfm.com>
CC: The IESG <iesg@ietf.org>, "br@brianrosen.net" <br@brianrosen.net>, "sipcore@ietf.org" <sipcore@ietf.org>, "draft-ietf-sipcore-sip-push@ietf.org" <draft-ietf-sipcore-sip-push@ietf.org>, "sipcore-chairs@ietf.org" <sipcore-chairs@ietf.org>
Thread-Topic: Eric Rescorla's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT) - the COMMENT issues - part 3
Thread-Index: AQHUpsHUhFjjQmbHb0u6y8z0SMYiDaWkXU+AgADtpLeAABjgAIAAA63A
Date: Tue, 08 Jan 2019 14:23:11 +0000
Message-ID: <HE1PR07MB31612B7778C055FF5768697F938A0@HE1PR07MB3161.eurprd07.prod.outlook.com>
References: <154681733718.17024.3190954246737206843.idtracker@ietfa.amsl.com> <HE1PR07MB31611EECBA89EF1FC46D756C93890@HE1PR07MB3161.eurprd07.prod.outlook.com> <CABcZeBM-SdQH4_92uo5-KWWG=Wnb+1u=j7u-1J3FzjjymQYJhA@mail.gmail.com> <HE1PR07MB31611682A1DA90ADBC1E620D93890@HE1PR07MB3161.eurprd07.prod.outlook.com> <CABcZeBNC-3Gc3LStnRwn2T_SSeO6Zo=S3Oy+90MX1xjxo0njgA@mail.gmail.com> <HE1PR07MB3161FF8C793D16A45AA7C7F6938A0@HE1PR07MB3161.eurprd07.prod.outlook.com> <CABcZeBNq1W=10hz6Zjv3vGU9J6+vwdqL6wk3Zr58yowXApjNGg@mail.gmail.com>
In-Reply-To: <CABcZeBNq1W=10hz6Zjv3vGU9J6+vwdqL6wk3Zr58yowXApjNGg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [192.176.1.75]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR07MB4378; 6:zH/AnjMcLVExEwZs4PusAUWTvZ0161g1CVHiI3ojEA3y2CeU1drt8RTw5yHot625FudsQEYVKAnAwTktkW3WnH9Kz1Wt2n0cyhoLmgnh0OFZNELdl96L0SnTUF+vGhmowLeGDdzPVlLmJtHQ5l9n2T3JeLuUOcRX1cp1tlKYHYHbDiFYeoanZNrN9d5pnkhnBzXe7lrN4/wTPDe0DpmgOE+RcKEYq5L1b9Ch5LxewTr3TLqQJrbV6EMWecaystYkeI9dtSBEaRVD4J+ZzQGMwvXW0W5K7cRAbfk3qTwiE4xCAkSP9rzt0cYN1QGHLvg3UtBgcmy4tMD4UhwaojUBS2hm9uiBq5w9qGD8S4et+KxTs2nu7DYe+l3MLOxaRWVsA+F4YwdgaaQMOiwVVc7Cu6OnG8/AkAY68cv7KKDmedruiJT3TofKsznRhQl81j8l/yWscOVKIp8oXAAaZOa4Yg==; 5:l1dIGDC2ww6xIWta1VZP98fO8hAn91l0l9jvfBePLQd2Wq2fQc2RfSfqlKPlaFgmscZ1C9Sw6/hJEIX9gkzppAAio2OA2Fzs4rt5TTDKgvynNWEeKU12ZVrpLrzUrQFptYEKb2+H+7yhtekWRHKRp48oxzHmyH0txZosDewOngtrKR27RAuHf2T9OsVimC35LTK5imKCGZwd1G5rllAC2Q==; 7:T7NI25LSuvl3IqXQfF2b1gzoFWQqkEd7TKhkRfzzJLwd9oaxQSJKn70BffJ1HChcS5Ifq81qM49MIoA4Og94SfmkPD/FdiJTOJuQpbDZunkmcdkivD+A9+oc7EZEskzXYRVaZGByNcOPT0KOeDsUHA==
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-correlation-id: 64c82bf7-ab85-45a5-a48b-08d67574d1e4
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(5600109)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB4378;
x-ms-traffictypediagnostic: HE1PR07MB4378:
x-microsoft-antispam-prvs: <HE1PR07MB437891D53B822EC0C12FEC82938A0@HE1PR07MB4378.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(8220060)(2401047)(8121501046)(10201501046)(3002001)(3231475)(944501520)(52105112)(93006095)(93001095)(6041310)(20161123564045)(20161123560045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:HE1PR07MB4378; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB4378;
x-forefront-prvs: 0911D5CE78
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(396003)(366004)(136003)(346002)(39860400002)(199004)(189003)(6506007)(446003)(11346002)(74316002)(44832011)(5660300001)(305945005)(97736004)(76176011)(256004)(6916009)(486006)(478600001)(14444005)(25786009)(6436002)(229853002)(105586002)(55016002)(68736007)(476003)(7696005)(7736002)(33656002)(186003)(93886005)(6116002)(3846002)(2906002)(26005)(102836004)(8676002)(81166006)(86362001)(81156014)(9686003)(71200400001)(99286004)(71190400001)(8936002)(54906003)(53936002)(4326008)(6246003)(106356001)(316002)(14454004)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4378; H:HE1PR07MB3161.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: /mujHKhjPPx3wNrWNXcHE9W0l4ZecBRMG413UiNsOddpXWcIjNDwglA2tp8wr0lkfPD5PUA8PCI9Qzt69zlifI3s4VZFBTfcPA3ofgkenjlAIW1QshpL6TKsgNxWuhGjK2X0l2WoLDOiVXnttgD0QUwhMlRc7lRBdJm28B7mPNEWiE6GZRnmdi6oE5mtiS6r0zwzfcY38Df3DPlBEL7wrIumWJ+y5Sf06mU9CHieLRUonO5CRMi13EZOlU+9L2bGBdJUEy7yqnEIthLBjypj/zajAj2CRcfKt07oC2F8sphr064O9bOWtMWlM2dlZuoy
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 64c82bf7-ab85-45a5-a48b-08d67574d1e4
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jan 2019 14:23:11.5611 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB4378
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprHKsWRmVeSWpSXmKPExsUyM2J7mW7WJpMYg509HBZP709js2j6vJrJ YsXrc+wWM/5MZLbo/byQ2eLrj01sDmwe97/9ZfdYsuQnk8fkx23MAcxRXDYpqTmZZalF+nYJ XBkLH39kKnghXbF6+S7GBsYe6S5GTg4JAROJnYsWMnYxcnEICRxhlDi44icLhPOVUeLzinkI zqeefiYIZzGTxLZLd1hA+lkEJjBLXDkTD5GYxCTx/+8EqKqHjBKnn3exdzFycLAJWEh0/9MG aRARUJD49ecE2FhmgW+MEsu617GDJIQFmhglZv+vB0mICDQzSvzubWEGaRYRcJPo3FUGsU1F Yt/GdjYQm1cgRmLTve1Ql89mkeief4sVpJ5TIFDiyjtdkBpGATGJ76fWMIHYzALiEreezGeC +FpAYsme88wQtqjEy8f/WCHqEyX2r3oAtlYC6ND9G4MgSmQlLs3vBlslIdDELrFg1SWoOboS H6ZOhZrjK9Gz/jNU/AKjRPP5LAhbS2L2tqtQ8WyJh3suQw26yCxxumk9+wRGw1lI7psFtJtZ QFNi/S59iLCixJTuh+yzwF4WlDg58wnLAkaWVYyixanFxbnpRsZ6qUWZycXF+Xl6eaklmxiB qebglt+6OxhXv3Y8xCjAwajEw5u33iRGiDWxrLgy9xCjBAezkgjv+lKgEG9KYmVValF+fFFp TmrxIUZpDhYlcd4/QoIxQgLpiSWp2ampBalFMFkmDk6pBka/qSrJjeuaVZ2sld8Xrfy7V2HK ke9fbqQyXTstU5JwqGNqenal68rY1wVP3Tlr/W1qXmyzfV51dfbpNEXBV7Pyari5pvfPn/RF T3xfZWarncXf3ofKZh+Otu675+cxy11Wfdmcjsi9N7UPWt3ZuYR1/RyblfPe7sjtLKp06jPm vP7y+bYZb6yVWIozEg21mIuKEwFAFRvrMQMAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/rtnv-HrTmsRduodS93BeBD23yss>
Subject: Re: [sipcore] Eric Rescorla's Discuss on draft-ietf-sipcore-sip-push-21: (with DISCUSS and COMMENT) - the COMMENT issues - part 3
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, 08 Jan 2019 14:23:44 -0000

Hi,

S 5.3.2.
>>>   
>>>      If the proxy has knowledge that the UA is awake, and that the UA is
>>>      able to receive the SIP request without first sending a REGISTER
>>>      request, the proxy MAY choose to not request a push notification
>>>      towards the UA (and wait for the associated REGISTER request and 2xx
>>>      response) before it tries to forward the SIP request towards the UA.
>>
>>Why not race these?
>
> One could do that, but I don't think it should be mandated.
>
>> The current text prohibits racing if you *don't* know that the UA is awake.
>
> The basic assumption of the mechanism is that a UA cannot receive SIP requests before it has 
> received the push notification, sent the REGISTER etc.
>
>> But that may or may not be true, depending on whether the device has gone to sleep
>
>> Implementations can of course do whatever they want, but I think it is bad design to specify such 
>> behavior. Unless the request will reach the UA, some re-transmissions will be "wasted", 
>
> We trade off "wasted" transmissions for performance all the time. For instance: RFC 6555.
>
>> and once the proxy receives the REGISTER the re-transmission timer might have become rather big.
>
> Well, that's easy to fix by not incrementing the timer on these transmissions.

That would modify the core SIP re-transmission procedures (and impact the SIP stack). I don't want to do that.

>> But, perhaps we could say something like:
>>
>>"if the proxy has knowledge, or strong reasons to believe, that the UA is awake"
>>
>> An example of such strong reason is that the proxy received the previous REGISTER just a few seconds ago.
>
> This text still seems to discourage this behavior, and I'm not in agreement with you that we should do so.

The reason the default behavior is waiting for the REGISTER request, and the corresponding response, it to make sure that the R-URI is still valid etc. Saying that the proxy can skip those rules whenever it wants, and just forward the request before it has received the REGSTER response, breaks that whole mechanism.

As an optimization, the WG agreed to allow forwarding the request prior to receiving the REGISTER response if the proxy has "knowledge" that the UA is alive. Such knowledge could e.g., be an active security association, an active SIP session, or something else that the proxy keeps track of. If the UA does not have such knowledge, it needs to wait for the REGISTER response. Nothing is broken, so I don't want to change that.

Regards,

Christer