Re: [sipcore] Happy Eyeballs for SIP

"Asveren, Tolga" <tasveren@sonusnet.com> Tue, 13 December 2016 11:45 UTC

Return-Path: <tasveren@sonusnet.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 C87A5129C42 for <sipcore@ietfa.amsl.com>; Tue, 13 Dec 2016 03:45:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.921
X-Spam-Level:
X-Spam-Status: No, score=-1.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=sonusnetworks.onmicrosoft.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 HZdHg4QEAv4C for <sipcore@ietfa.amsl.com>; Tue, 13 Dec 2016 03:45:25 -0800 (PST)
Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0068.outbound.protection.outlook.com [104.47.32.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D1A7F129A72 for <sipcore@ietf.org>; Tue, 13 Dec 2016 03:45:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=SonusNetworks.onmicrosoft.com; s=selector1-sonusnet-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=ZyKnLYmn2VyKKsxKIq7UDTKr5hmbnNaedDXXJ53AK/g=; b=tBBL4BwbrEbGqlRZrkOseq8pGWsSuNNk1ayt5dIFbEvzFJXD7adNSFO+0m7KCIlQD5qEcrISUEOf+gkY3xXos+fSONtOanj5EtSklj9MuYsHGrtofjr6Bh0JmhsR1W1sWkcmBo2Dt3HkQa2fIpHfBePqVtF38fTfMbYP36f+4Ls=
Received: from SN2PR03MB2350.namprd03.prod.outlook.com (10.166.210.141) by SN2PR03MB2350.namprd03.prod.outlook.com (10.166.210.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Tue, 13 Dec 2016 11:45:22 +0000
Received: from SN2PR03MB2350.namprd03.prod.outlook.com ([10.166.210.141]) by SN2PR03MB2350.namprd03.prod.outlook.com ([10.166.210.141]) with mapi id 15.01.0771.014; Tue, 13 Dec 2016 11:45:22 +0000
From: "Asveren, Tolga" <tasveren@sonusnet.com>
To: "Dale R. Worley" <worley@ariadne.com>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] Happy Eyeballs for SIP
Thread-Index: AQHSVNYkRj/FKGerzk2IPpPFNc5xDqEFo1zA
Date: Tue, 13 Dec 2016 11:45:22 +0000
Message-ID: <SN2PR03MB2350C0711DE8F0B8C6EC44DBB29B0@SN2PR03MB2350.namprd03.prod.outlook.com>
References: <87wpf4y9am.fsf@hobgoblin.ariadne.com>
In-Reply-To: <87wpf4y9am.fsf@hobgoblin.ariadne.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=tasveren@sonusnet.com;
x-originating-ip: [73.29.18.75]
x-ms-office365-filtering-correlation-id: d89255e2-8722-4d6e-ee8f-08d4234d85aa
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN2PR03MB2350;
x-microsoft-exchange-diagnostics: 1; SN2PR03MB2350; 7:VelwiZ4NbXlyY7xj9kQh4FcPP8kuBDBru/Ni5RhMSkm6lrDulJMD4xKQndzDaz+whIAQgEl+X8C1ZxvqDPYiJyJNUIo+h3Mk47CiC4R8xA5u4f+PMwQY1tkSIFjhLbTmS3j6wdaCQ9gT1AINWXvyLn9di5credjpKtiOGZzd3huxExRFXsfmhx/WylxCwpu1BwGOCl1Y0d660cFBKjDOqzYFPI35ghSSZKggw5no6TxjyejGxPhh1/arGqgWoG9Bf0+UxB0BmD0NYRrbJdNnYfUq/71DeoC67KpmQNUVsnSqJdmwnownQz8dJSTcUE4ceT5rwQhFXxSaAm8684eUepfQrHZHbbjHtXLRIeUQ8Ax0pVv3UMRUmK6yARc0idroHV3Ibyhzg30Uc6W7sOUq8mgVyROqQekEFwJmbzz+CgxRKYZAhVRQqGYmDtWpSNypo8zjCOn1SIGOU1p9X6ggow==
x-microsoft-antispam-prvs: <SN2PR03MB2350545F62BB888E45E5B74FB29B0@SN2PR03MB2350.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123555025)(20161123562025)(20161123564025)(20161123560025)(6072148)(6047074); SRVR:SN2PR03MB2350; BCL:0; PCL:0; RULEID:; SRVR:SN2PR03MB2350;
x-forefront-prvs: 01559F388D
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(39410400002)(39840400002)(199003)(13464003)(189002)(377454003)(189998001)(97736004)(7696004)(107886002)(5001770100001)(8676002)(105586002)(106116001)(106356001)(2950100002)(99286002)(7736002)(305945005)(74316002)(86362001)(33656002)(122556002)(5660300001)(101416001)(2900100001)(76176999)(8936002)(50986999)(54356999)(66066001)(77096006)(6436002)(6506006)(81166006)(81156014)(92566002)(2906002)(3280700002)(3660700001)(229853002)(38730400001)(2501003)(9686002)(68736007)(102836003)(76576001)(3846002)(6116002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN2PR03MB2350; H:SN2PR03MB2350.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: sonusnet.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: sonusnet.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2016 11:45:22.5846 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 29a671dc-ed7e-4a54-b1e5-8da1eb495dc3
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR03MB2350
Archived-At: <https://mailarchive.ietf.org/arch/msg/sipcore/jM4UKeNie3FKFLPmt51oMkJZpPw>
Subject: Re: [sipcore] Happy Eyeballs for SIP
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.17
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, 13 Dec 2016 11:45:28 -0000

RFC7984 => why not OPTIONS for testing without changing "status"
DNS SRV Records => not necessarily pointing to the same server's different IP Address families, could be multiple servers with each different address families => should be addressed by Happy-Eyeballs

Why only "connection oriented"? Fast /reliable/secure failover is another problem 

Please see inline for comments/questions.
 
Thanks,
Tolga

> -----Original Message-----
> From: sipcore [mailto:sipcore-bounces@ietf.org] On Behalf Of Dale R. Worley
> Sent: Monday, December 12, 2016 7:15 PM
> To: sipcore@ietf.org
> Subject: [sipcore] Happy Eyeballs for SIP
> 
> This is the start of getting the Happy Eyeballs for SIP work going in the
> working group.
> 
> The authors (Olle Johansson, Gonzalo Salgueiro, Dale Worley) are working
> with the following strategy (at this time):  The first tranche is the case where
> (1) alternative addresses are provided by A and AAAA records based on one
> host name, i.e., we are not considering multiple SRV records, and (2) all of
> the targets use connection-oriented protocols.
[TOLGA] 
i- Why only A/AAAA records? What about cases where a different SRV record is used for each supported address family? AFAIU this type of configuration is already mentioned in RFC7984. 
RFC3263 is a bit vague regarding what needs to be done if there are multiple SRV records:
   "If no NAPTR records are found, the client constructs SRV queries for
   those transport protocols it supports, and does a query for each."
Does this mean "for all transports for the selected -according to priority/weight- SRV Record" or "for all transport/SRV Record pairs".
I tend to think the former but RFC7984 seems to differ:
"For example, consider a server with DNS name example.com, with TCP
   transport specified.  The relevant SRV records for example.com are:

      _sip._tcp.example.com.  300 IN SRV 10 1 5060 sip-1.example.com.
      _sip._tcp.example.com.  300 IN SRV 20 1 5060 sip-2.example.com.

   The processing of [RFC2782] results in this ordered list of target
   domain names:

      sip-1.example.com
      sip-2.example.com"
Then it lists all addresses for both of the SRV Records. Granted, it mentions that addresses are not interleaved but nonetheless it assumes that a query is performed for both of the SRV Records. I am not sure what the right interpretation should be here but it is not well-defined to say the least. To me, it seems like RFC7984 should be updating RFC3263 normatively in this aspect as well -to promote the RFC7984 defined behavior-. And IMHO it would be up to the Happy-Eyeballs draft to define how addresses from multiple SRV Records should be used. Cases, where a dual-stack entity does not know whether IPv4/IPv6 is preferred and multiple SRV records are used for different address families on different servers should be covered as well.

ii- Why only for connection-oriented protocols? I think the generic problem happy-eyeballs addresses and what is targeted with draft-worley-sip-he-connection-01 are different. The former can be a building block for the latter but that shouldn't mean that it should be restricted by it IMHO. Is there any technical reason why happy-eyeballs is not applicable -by itself- for SIP over UDP?

> This case is the closest to the Happy Eyeballs for HTTP work that has already
> been done, though it has some additional requirements (in particular, the
> fact that connections can be idle for a considerable time, but at unpredictable
> times, the client wants to use the connection in a soft-real-time way).
> 
> The current draft is named draft-worley-sip-he-connection-01.  (We'll be
> revising the name.)
> 
> Our idea is to start with an exposition that is not too far beyond the work for
> HTTP, so that the discussion remains manageable.  In later stages, we will
> produce successive expansions until the entire SIP operational space is
> covered.  The expansions can be done by any of several methods:
> 
> - Produce successive RFCs, each of which incorporates the preceding RFC
>   but extends it to additional operational space.  Thus, each RFC
>   obsoletes and extends its predecessor, so that an implementer only has
>   to read the current RFC of the sequence.  (This is the method that we
>   prefer at present.)
> 
> - Produce successive drafts, each of which covers a larger operational
>   space and progress the last one to an RFC.  This will slow the
>   standardization of the earlier tranches of the work but reduce the
>   overhead of formalizing the drafts as RFCs.
> 
> - Produce a series of RFCs, each of which updates the preceding RFCs.
>   This seems like the least desirable strategy, as it requires an
>   implementer to read several RFCs and collate their provisions.
[TOLGA] Please the second approach. It wouldn't significantly matter whether iterations of ideas/algorithms are captured in a series of RFCs/drafts in terms of adaptation. An RFC is supposed to be "complete" according to the best of our knowledge at a given time. So, I strongly would suggest to go with "multiple drafts" approach (Option-2).
> 
> Let the discussion begin, both on the work and on the plan for the work!
> 
> Dale
> 
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore