Re: [rtcweb] [MMUSIC] What goes into c= line address when FQDN is used for the default candidate?

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 01 February 2019 21:02 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 649DC130E8F for <rtcweb@ietfa.amsl.com>; Fri, 1 Feb 2019 13:02:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.852
X-Spam-Level:
X-Spam-Status: No, score=-8.852 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, URIBL_BLOCKED=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=WA173W+i; dkim=pass (1024-bit key) header.d=ericsson.com header.b=ZOo5YLOp
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 gx04N3tSsgV3 for <rtcweb@ietfa.amsl.com>; Fri, 1 Feb 2019 13:02:20 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (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 38D3B124408 for <rtcweb@ietf.org>; Fri, 1 Feb 2019 13:02:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/relaxed; q=dns/txt; i=@ericsson.com; t=1549054935; x=1551646935; 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=Cvsp8+sM9hs4gTAJszW/mMnQbERQz0yXX3UJ0ZzdzDc=; b=WA173W+iYHi3Fkf8vM2PQTDNpkttg9u7Bm9spQ5HfhWbT7DkmJ/pPexyESZhM3Mu +/GUSY0+XyArBquDubEm5Gx6SnZc5Kult394HHzciJKGAtCTQMs2Y9h04dTHjMsK g28t26weniBKQZfuL2E/yr8tpaxIWFX9/42YubIDu68=;
X-AuditID: c1b4fb3a-167ff7000000672c-14-5c54b3d77ffc
Received: from ESESSMB501.ericsson.se (Unknown_Domain [153.88.183.119]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id C5.FA.26412.7D3B45C5; Fri, 1 Feb 2019 22:02:15 +0100 (CET)
Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESSMB501.ericsson.se (153.88.183.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Fri, 1 Feb 2019 22:02:15 +0100
Received: from EUR04-HE1-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB505.ericsson.se (153.88.183.172) 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; Fri, 1 Feb 2019 22:02:15 +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=Cvsp8+sM9hs4gTAJszW/mMnQbERQz0yXX3UJ0ZzdzDc=; b=ZOo5YLOpOXHPv43LYM48uro4gmCHCes9r8jXJGS8UDCNzhbSziW3TEHss1DSa03jUpFY7AImEeQ7FHDDsI45PlSdpHXWcv+5PxFAT7hyJIvnoJRWFFzcfn4cOyaC2KhT00pMoCCSPxuE6KuNpm7cSjM27nzwvZ86FaXEaAVKPWg=
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com (10.170.245.23) by HE1PR07MB3082.eurprd07.prod.outlook.com (10.170.244.156) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1580.14; Fri, 1 Feb 2019 21:02:14 +0000
Received: from HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::ec90:1d14:9549:fdf0]) by HE1PR07MB3161.eurprd07.prod.outlook.com ([fe80::ec90:1d14:9549:fdf0%4]) with mapi id 15.20.1601.013; Fri, 1 Feb 2019 21:02:14 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roman Shpount <roman@telurix.com>, Justin Uberti <juberti@google.com>
CC: Simon Perreault <sperreault@jive.com>, "Dale R. Worley" <worley@ariadne.com>, RTCWeb IETF <rtcweb@ietf.org>, mmusic WG <mmusic@ietf.org>
Thread-Topic: [rtcweb] [MMUSIC] What goes into c= line address when FQDN is used for the default candidate?
Thread-Index: AQHUulU2uFx8SsiiZk68wi8iILBKkKXLUQeAgAAF3QCAAAwVgIAACK4A
Date: Fri, 01 Feb 2019 21:02:14 +0000
Message-ID: <HE1PR07MB31617DB79BE41B64AECF082693920@HE1PR07MB3161.eurprd07.prod.outlook.com>
References: <CAD5OKxuGEPccJUJ1E0bSmz9RW6CWhhSqW+Dke1Cywrjp-dvaoA@mail.gmail.com> <874l9ousuk.fsf@hobgoblin.ariadne.com> <CAD5OKxut+Y8NnL2FbFQkubU-8up4eu6F9hOxs-8oBOJoCnTQwg@mail.gmail.com> <CAOJ7v-2GC2UWBaqSccZh1MKg6E93NrNKQJagzMCOfuE6SxuptA@mail.gmail.com> <CAOJ7v-2ZWxDFAtfoXTB4OsfJBAaFFqZ1jt0SSCCm4Qi3Qqfj6g@mail.gmail.com> <CAD5OKxuAUaCcO8X+ESoekHMq2Ba5-hviZ08G1Vyg_qSh4mR73Q@mail.gmail.com> <CAOJ7v-0T8gbNtr22MiZzVSsAX8+4ZP-pVueKFVOuSSJLBmv8RA@mail.gmail.com> <CAD5OKxtqxcqrQGCWc_2L1np9ftk_Q=prU3MMXk7Y+wbLCq0rYA@mail.gmail.com> <CAOJ7v-1MXjLtBKJ8gN4nVm-Z9m0HB=ye9E6Wcm5zeOx5y2zkSw@mail.gmail.com> <CAD5OKxuZPX3DbDEEVXbVamHynazJkv5G6CDMqMPmdMwiW4SNdg@mail.gmail.com> <CAOJ7v-2c7baQ9UUzxxuA41jbNqeOD8SdqJgCTDAUPXwOZ7r_4Q@mail.gmail.com>, <CAD5OKxsc4F4DOW6=u3XU5N3NJ4jPx35Q-8WNF_0MGZziy7=b=g@mail.gmail.com>
In-Reply-To: <CAD5OKxsc4F4DOW6=u3XU5N3NJ4jPx35Q-8WNF_0MGZziy7=b=g@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: [37.136.56.89]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; HE1PR07MB3082; 6:gvHPX9xSCDlQm2cBGKliaxwp3FfqLiRIjsjOZILo/DlzIVNRdRmHFQ43qlMszyAFkQK6XX7cyIvnhzYMchh9ch/Tuif6fwEFoI35XJ/dfrs4BHmmFpibN+GUAX1BBSn428TWlZdZCJcyXz/tlF/N/a6eH3afqUjAxpffDeGFsSx5MuUMSEIMAlAJtFDQho4f0z9OFRngnSfOHNQvlwWdxageAAWM4ca1fJ1XZPbq9iXSGZ3N//Hy5Ee6ps4zMkf57wyxPbkipEQx/omhEFkHaYTGwwSLcnyLCnLXCP0DD4FZnvamCoCQCtbhlJGgATA0a0QmhMgi/Z11142qJfOPWRApyna3WQV8IQ6C3dz+rDjpD2NL2KIp8BtxBLhch2jmKc2hHjszLxF2us+ZUQT2wAcTwW5ISPoYr4d+wSbYlwBZw56lm7o63+5ksncUJqVD/5eZAbiC+92KpXm/4goaxw==; 5:OECNRopP2ffBFga51TKE/XpMp9N91FQD5m8D4yLQycWw4THBkD8nzliTfn/MIz3KAqszb9L/lDzYFBbfZ6ce/iss7VffOQmMet2uoabcFGfrxvcdam4x1nZ8oyvyzuwCoCdGZT5jnAxrnZTPHmqqagv0H04vMPaLKpMpwWNxmrUqsENIrLHUBs8vXS/DY5WJwBkP0I/xrpsBWPDvLY9gOg==; 7:nFs9j0LsCsGH6+w4CACp/JiBdVZym51YLP11R24ZsCj1saJo1au8bBfWVFMONiPM3yYWb5mXXcFbIJnQj5RusmANWwrOXynFmvd98cvHkv517LUbY3VPlVe/eOHlUjrYZByiEsFnVlN5SkS/wVpvAg==
x-ms-office365-filtering-correlation-id: 5bed3c24-ae36-4975-7c13-08d688888aa4
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(2017052603328)(7153060)(7193020); SRVR:HE1PR07MB3082;
x-ms-traffictypediagnostic: HE1PR07MB3082:
x-microsoft-antispam-prvs: <HE1PR07MB3082760319C66AE782991D3893920@HE1PR07MB3082.eurprd07.prod.outlook.com>
x-forefront-prvs: 09352FD734
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39860400002)(366004)(136003)(346002)(376002)(396003)(199004)(189003)(8936002)(53936002)(93886005)(86362001)(99286004)(71190400001)(106356001)(71200400001)(1015004)(53546011)(14454004)(6506007)(236005)(6606003)(7736002)(74316002)(33656002)(229853002)(25786009)(68736007)(606006)(256004)(14444005)(76176011)(476003)(2906002)(446003)(6436002)(486006)(19627405001)(110136005)(26005)(54906003)(105586002)(102836004)(4326008)(44832011)(478600001)(11346002)(81156014)(7696005)(9686003)(55016002)(97736004)(8676002)(5070765005)(186003)(6246003)(81166006)(6306002)(66066001)(54896002)(316002)(6116002)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR07MB3082; 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: dDQDtotYETEvYpjXnGUmogB2wnZ/abcAGzhoOIOfp1CX3m843KfvmFtL+EzQ6EflAvSCD6qhQJaRCI9py913rIVFgeQiXwTzeHAy7SGSFPKoO2UhKKN4YLB46MflN91n/AbxcKK7dSsVb2yzRcOtUFUH0OYaBN7pCeFt4+p0rO+G1/qg8Z0W2vWTV8qXTLcWBtzGHBwecfaMqw8/0BXPbW70uTLnvV2qUtacrPCulab3UE4rWeLPS2p42vbo7RRMF3t/vrs7E9zP0RW+8wcLVZAoGmnzDikCFvu8YNIRweC6ySv9og3ju6jz43lN1zzwrLECeUP5yQ81IsgpZR88WUlGA+znHMqLu6P90CAZk7NgN7Qv/pzgicuY+XEr/ENhH8mXYpyJ+QqL9/BTswcKxn/3fms1Jvq4mSQJZXSlg6A=
Content-Type: multipart/alternative; boundary="_000_HE1PR07MB31617DB79BE41B64AECF082693920HE1PR07MB3161eurp_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 5bed3c24-ae36-4975-7c13-08d688888aa4
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2019 21:02:14.1378 (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: HE1PR07MB3082
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0iTURjGOfu+ffscDo7L5ZsV1pAwb5UVTI2woFh/SBcMpCY68kNtF2Wf WgmVWVIY4kAHNRINV+btjzSZeckc5mVdvZB5zdI07WbU8JLM2o6B//3e53k4530Oh6WknUJf NkWfzhn0aq2cEdO3Y63nQgbqYlQ7f3WGK+pNUoWpfIJW3HpjohQ1zusixUD/ScVMV2YUoyxs dVDK0toMpcWyKFA673yilENFaceEp8T7EjltSiZn2LE/QZxcNvUDpT1WnW9YyRZlI1t0HvJg Ae+Brt56lIfErBS3I6ju6UEuQ4odCOamZcQoE0DPeJvANdDYSMFycS5NnEIBOPpaGDJ8QFBR WEXlIZZlsAJuOoNcR3njI/B1sYxyZShsRGC3PnHfsQ5rYWnKTJGQDh4WvF3lw2BumnVnaOwP bV/fi1wswSpo/lhOk/1aGKj77WYPfBwsL1658wivh3l7tcDFFPaBockSASmKwdL8miIsg5kJ p5Dk1dBaOb6qb4HOsUlEeDP0ltx0PwzgHBE8bexniBENCwP5QmIMIrjR/1Poagw4EO69iyOo AWP36r2boGFhVETiRQyU5DgYUoCD8ppcZETB5jW7Ek6Fvu8rtNnd2Qu6b0/SRA+Fd6YihnAQ 3L/7hSIcArecNnqtXopElUjGczyvSwoLC+UMKWd4PlUfqufSa9G/79X26E9EA2qbPmBDmEVy T0ldZYxKKlRn8hd0NgQsJfeWHDz7T5Ikqi9kcYbUeEOGluNtaCNLy30ky1IvlRQnqdM5Dcel cYb/roD18M1Gh2qEfpcC5VZNol9+1LglsiA50pT+0n8hdinAnvFgWHbieePg9Y7gvqzwN+bL jK5lODdipOmabC6h62JuUrt169G6DPP2z/PbNl+Nl8l3jxTINoyNt4c905yugA6zPd5H/K13 i2DwbJVIv3f20MJzWeHhhLiOgDtM8ajV4lmad0VO88nqXYGUgVf/BTXWc65aAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/pdCl7BeTHuBzJpfYtZRagwAF5ik>
Subject: Re: [rtcweb] [MMUSIC] What goes into c= line address when FQDN is used for the default candidate?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Feb 2019 21:02:23 -0000

Hi,


I have no problem with allowing FQDNs - as long as they result in a SINGLE address:port.


If we want to define ICE usage of FDNSs resulting in MULTIPLE addresses:ports, I really think that should be a separate document - it should NOT be added as a last minute thing to draft-ice-sip-sdp.


...and, yes, perhaps such work would also affect 8445.


Regards,


Christer





________________________________
From: rtcweb <rtcweb-bounces@ietf.org> on behalf of Roman Shpount <roman@telurix.com>
Sent: Friday, February 1, 2019 10:22 PM
To: Justin Uberti
Cc: Simon Perreault; Dale R. Worley; RTCWeb IETF; mmusic WG
Subject: Re: [rtcweb] [MMUSIC] What goes into c= line address when FQDN is used for the default candidate?

On Fri, Feb 1, 2019 at 2:39 PM Justin Uberti <juberti@google.com<mailto:juberti@google.com>> wrote:
This has all been discussed at length in rtcweb and I don't think any significant changes are needed, although I tend to think that we should restore the removed FQDN text from mmusic-ice-sip-sdp, which is the only thing not in alignment at this point in time.

I agree that FQDN should be put back into connection-address definition, but  the portion which talks about handling it is completely broken.

Quoting 5245<https://tools.ietf.org/html/rfc5245#section-15.1>:

   <connection-address>:  is taken from RFC 4566<https://tools.ietf.org/html/rfc4566> [RFC4566<https://tools.ietf.org/html/rfc4566>].  It is the
      IP address of the candidate, allowing for IPv4 addresses, IPv6
      addresses, and fully qualified domain names (FQDNs).  When parsing
      this field, an agent can differentiate an IPv4 address and an IPv6


      address by presence of a colon in its value - the presence of a
      colon indicates IPv6.  An agent MUST ignore candidate lines that
      include candidates with IP address versions that are not supported
      or recognized.  An IP address SHOULD be used, but an FQDN MAY be
      used in place of an IP address.  In that case, when receiving an
      offer or answer containing an FQDN in an a=candidate attribute,
      the FQDN is looked up in the DNS first using an AAAA record
      (assuming the agent supports IPv6), and if no result is found or
      the agent only supports IPv4, using an A.  If the DNS query
      returns more than one IP address, one is chosen, and then used for
      the remainder of ICE processing.



I think it was discussed in quite a detail why using a random DNS resolution result is not going to work here..

The only options we have here are:

a. Fix FQDN connection address handling. Probably the most logical way of dealing with this would be to specify that candidate with FQDN should be converted as a result of DNS resolution into multiple candidates, with each candidate corresponding to A or AAAA record in DNS query result. We will also need to specify how FQDN candidate gets applied to c= line address. Something that says IN IP4 FQDN, if any A records exist for this DNS name and IN IP6 FQDN if only AAAA records exist. Once candidate is nominated, address family in c= line should match address family used for communications. This will definitely require a lot more work and discussion.

b. Specify that FQDN connection addresses should be ignored until their handling is defined in a future specification. This seems easy and only requires a sentence or two to fix.

Regards,
_____________
Roman Shpount