Re: [MMUSIC] FQDN support in ice-sip-sdp

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 12 April 2019 09:25 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62BEC12018D for <mmusic@ietfa.amsl.com>; Fri, 12 Apr 2019 02:25:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 7uuNrcYPHevq for <mmusic@ietfa.amsl.com>; Fri, 12 Apr 2019 02:25:50 -0700 (PDT)
Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80081.outbound.protection.outlook.com [40.107.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2031F12013C for <mmusic@ietf.org>; Fri, 12 Apr 2019 02:25:50 -0700 (PDT)
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=V+YLoznZHIZ1N7et0ygQg5QiI75ZzdbJwkBw4twy130=; b=AYJmz3dalIoc6UsinpdxINYHR5BmbKT0csytGcXHOg4W3kEhLAgjMajk0H0feeWUnIS8QJ0OiWvZKCiIceUX84+4qOqdyToZEZ2bPcenDKGq6rDHE0OXu0tXqLWxHy6mSe9YKCYeB14OXZmcnq5tdNOUM0L7pBJ72pk2MmytYkY=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB4249.eurprd07.prod.outlook.com (20.176.166.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.9; Fri, 12 Apr 2019 09:25:45 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::a832:85f:a8bb:73b9]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::a832:85f:a8bb:73b9%5]) with mapi id 15.20.1792.007; Fri, 12 Apr 2019 09:25:45 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>
CC: Suhas Nandakumar <suhasietf@gmail.com>, mmusic WG <mmusic@ietf.org>, Flemming Andreasen <fandreas@cisco.com>
Thread-Topic: [MMUSIC] FQDN support in ice-sip-sdp
Thread-Index: AQHU6jzz/50YAJx2kEqY4siuQ2NZYqY0606AgADVT4CAAEAVAP//1AeAgAED24CAALOEgIAA9SEA
Date: Fri, 12 Apr 2019 09:25:45 +0000
Message-ID: <225C8798-1FE6-4D80-BBA0-5D1A6BB4EA94@ericsson.com>
References: <CAD5OKxux4s=4TtA7vQT0X-u+3RS+MVHG=RjgGDHWQ5H1k0OdLg@mail.gmail.com> <CAMRcRGTmYB-CMXA5ToPhdPtLrTeKmdeZCLT-ecxfTYGHEh-HMQ@mail.gmail.com> <CAD5OKxsPDagYEFFMhxGnm3H+gAWEsKmt41rw44GCmorneVytzQ@mail.gmail.com> <3DD3D8D6-9B13-4F9D-80DD-F89B69240708@ericsson.com> <CAD5OKxsbQhU_1ADsnbcHUtfoiK96We004AEmtajO-EvY0dRd7Q@mail.gmail.com> <D3C22E34-3715-440A-9C3C-69326994B93D@ericsson.com> <CAD5OKxu4Wc_-McATjHnzUbWnrvhOiK-aUSx9M2aYr8mPBFzijw@mail.gmail.com>
In-Reply-To: <CAD5OKxu4Wc_-McATjHnzUbWnrvhOiK-aUSx9M2aYr8mPBFzijw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.16.1.190220
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [89.166.49.243]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: e1d77a38-8557-406c-4142-08d6bf28d7a6
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(2017052603328)(7193020); SRVR:HE1PR07MB4249;
x-ms-traffictypediagnostic: HE1PR07MB4249:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <HE1PR07MB4249A98D598318E19627CD5A93280@HE1PR07MB4249.eurprd07.prod.outlook.com>
x-forefront-prvs: 0005B05917
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(396003)(366004)(136003)(346002)(376002)(209900001)(199004)(189003)(71200400001)(316002)(106356001)(71190400001)(25786009)(58126008)(54906003)(6486002)(2906002)(86362001)(105586002)(3846002)(229853002)(966005)(6916009)(99286004)(6116002)(83716004)(7736002)(305945005)(81166006)(66066001)(4326008)(478600001)(486006)(2616005)(476003)(33656002)(53386004)(587094005)(76176011)(8676002)(14454004)(5660300002)(93886005)(44832011)(36756003)(8936002)(81156014)(82746002)(14444005)(256004)(68736007)(186003)(6506007)(6306002)(102836004)(26005)(6512007)(97736004)(53936002)(446003)(11346002)(6246003)(6436002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB4249; 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: MUp07/nlAA76vMpGOH8MMZRhaxMwkFXowljiVvREOYoJZszUKLWA7TFCbKSdEX9jd+Cq1bgpNae5HmlvLBsrYWMT9J1x/cIqnZVVveIW4BdWsbrc45Q3+KClV49uqQLmXD3+a/nAv0t4wxuoMCu2N8fnHfTMisGw3bVVOjSWS+LsLyRFYwfjdqfa7DdWNjh9XKnQiX5yU59cQkq7D9HnQ3cQuAYa2RTxlwljHA1GimROHmy6KTBcBSdY7FC/rlIew43qiZnIyOAjJQB/m1Nv+vTeSHcC/QDYPvsiIVZDchREPmDrHu/3VR3dmRSAQAY2DmCeYmQDbSieSVA940uYxvHUdw+JIet/DCvDi6CwYD0PSHdICgk1UHL55CDebIi1EwoAn0guImZpXRtikZ+ytWjFSU8Zgb2CbYCASF6xukI=
Content-Type: text/plain; charset="utf-8"
Content-ID: <8A97FCC89BA71743B5C32EFD86ECCAE5@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: e1d77a38-8557-406c-4142-08d6bf28d7a6
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 09:25:45.5296 (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-Transport-CrossTenantHeadersStamped: HE1PR07MB4249
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/GvNoxxMyJShW81QTghAl7PtZFTE>
Subject: Re: [MMUSIC] FQDN support in ice-sip-sdp
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Apr 2019 09:25:52 -0000

Hi,

>>> Add a candidate extension which specifies candidate address type, something like addrtype which can be set to 
>>> "inipv4" or "inipv6". If IP address is used and it does not match the addrtype candidate extension, this candidate is 
>>> ignored. When FQDN is used, it is resolved using A DNS request when addrtype is inipv4 or not present and using 
>>> AAAA DNS request when addrtype is inipv6. Address family in c= line, when FQDN is a default candidate must be 
>>> IN IPV4 if addrtype is inipv4 or not present, and must be IP IPV6 if addrtype is inipv6 
>>>
>>> Example:
>>> a=candidate:2319437384 1 udp 2122260223 8a2fd7b5-41d5-4c15-ad83-d33a0d66a75a.local 60454 typ host inipv4
>>> a=candidate:2319437384 1 udp 2122260223 8a2fd7b5-41d5-4c15-ad83-d33a0d66a78b.local 60454 typ host inipv6  
>>>
>>> This keeps each candidate line to one address and works in cases when FQDN resolves to one IPv4 and one IPv6 address 
>>> due to something like DNS64. 
>>
>> So, if I understand you correctly, you are suggesting that the one providing the FQDN candidate splits it into two separate candidates (two a=candidate lines when SDP is used), and 
>> the remote peer will process them as two separate candidates, but if DNS returns both an IPv4 and IPv6 address the peer will only use the IP version indicated by the 
>> address type ("inipv4" or "inipv6").
>
> I am suggesting that:
> 
> If agent is dual stack, it can include the same FQDN in two candidate lines with different address types, effectively creating two candidates.

Correct, that's what I meant by "splitting the candidate".

> If agent is single stack or if FQDN is supposed to resolve to an address of specific address family (different FQDN for IPv4 and IPv6), agent will create a single candidate line with this FQDN and address family. 

Yes.

>On the receiving side, if candidate includes addrtype inipv4, an A DNS request is sent to resolve FQDN. If more then one result is returned, this >candidate is ignored. If single result is returned, it is an IPv4 candidate. If candidate includes addrtype inipv6, an AAAA DNS request is sent to >resolve FQDN.  If more then one result is returned, this candidate is ignored. If single result is returned, it is an IPv6 candidate.
>
>Corrected Example for a dual stack agent (note different foundation, priority and port for two candidates with the same FQDN ):
>
> a=candidate:2 1 udp 2129033471 http://alice.comany.biz 60460 typ host addrype inipv4
> a=candidate:1 1 udp 2129289471 alice.comany. biz 60454 typ host addrype inipv6    

Looks fine.

Regards,

Christer