Re: [MMUSIC] (Rough) Consensus Call - No FQDN support in ice-sip-sdp

Roman Shpount <roman@telurix.com> Tue, 21 May 2019 02:34 UTC

Return-Path: <roman@telurix.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 6F6F112004B for <mmusic@ietfa.amsl.com>; Mon, 20 May 2019 19:34:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.889
X-Spam-Level:
X-Spam-Status: No, score=-1.889 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=telurix-com.20150623.gappssmtp.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 WdY9vF3mAGEv for <mmusic@ietfa.amsl.com>; Mon, 20 May 2019 19:34:15 -0700 (PDT)
Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 71950120026 for <mmusic@ietf.org>; Mon, 20 May 2019 19:34:15 -0700 (PDT)
Received: by mail-pg1-x536.google.com with SMTP id i21so7719739pgi.12 for <mmusic@ietf.org>; Mon, 20 May 2019 19:34:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telurix-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oCoB7pcEZ7OTATReUK7s7o1QUHxBeYScwMSj1811FIc=; b=Ahmmmwwmw5a2F1PsQ5pr6zhrkj1T7L3toGsbQWWwoxYADhWHq1tHzTivG8hwVTTe/2 pYpUkMcq8oIuSMh7wIid9hc5DuW4FoeUJ5GTq2XE00ngLYkMndj1DbQm4OSt7wsWVuLW BgvQMWDpgxr7LuUbjKXsgQE63ASnfkO8ZtI7vXLjpjCikqfW2aOEe+L8MJwjx8BVOpxM WmDk5RkkDPnspNwdJs8IOLDbKbyzLRIZZRg+qpCDe27qJyCqCvsiCfo10ddu/RLDYYD9 vbBTixzr7SbwYmCHGZsGA9QyJnUnK6x5Jyp4rc4PPJKjrYF4hj4M3tR8AuQOQzcuv7aK KkqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oCoB7pcEZ7OTATReUK7s7o1QUHxBeYScwMSj1811FIc=; b=KP5zGX+UK2wZvExO0IV24tiBNsFkJTCTSHy1197s+Vhcmob4z5rsPwbDMD9eUil+hZ VK+gN/A4lH99gpQ4m7S9daGB1dfrKOQTOUNH+ebFSh+kXkcISV5laZY9RKqcsbn3/Cxk 2H/8CVL8v/jvhRtJP7hW4mNC22FCQ6OKU3hfSq51kIbaddknfJHlpKrseKkgluuX+sko ZRvO2GAThaUNhXc8Qf+/JmA1qNyyp0/DbuQpFAIGaEU+jnYJ3d15Uw1rCm+Z2tiX6olh YocnhZsr1ve7vhq05yoIQAFxSWgjz4vHcLb/4XqRUu8a7SWkDDwcsi4KHN3td1dRqR2G EtPw==
X-Gm-Message-State: APjAAAWKOvAOyZ0Y908SKMm8eHbWO3hds/qb8t0w3juVdlqecf2cRs8t AsIL5EaPII4FRDgJ+AcvzaLPilfDAfQ=
X-Google-Smtp-Source: APXvYqxy5a1XrR3US9+93CifYQpUGUd5KQyow/+iDu44dDdGaH+N8caFr7wsNA6iWbUyQjlHGhKuuA==
X-Received: by 2002:a63:42:: with SMTP id 63mr79494512pga.337.1558406054717; Mon, 20 May 2019 19:34:14 -0700 (PDT)
Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com. [209.85.210.179]) by smtp.gmail.com with ESMTPSA id e14sm22461383pff.60.2019.05.20.19.34.13 for <mmusic@ietf.org> (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2019 19:34:14 -0700 (PDT)
Received: by mail-pf1-f179.google.com with SMTP id q17so8198856pfq.8 for <mmusic@ietf.org>; Mon, 20 May 2019 19:34:13 -0700 (PDT)
X-Received: by 2002:a63:5443:: with SMTP id e3mr78466488pgm.265.1558406053467; Mon, 20 May 2019 19:34:13 -0700 (PDT)
MIME-Version: 1.0
References: <77400318-1e2c-7d33-ab41-a3b8d0062b00@cisco.com> <CAMRcRGQ0gQ0c-pmBQ2ZOOX-5uGWkfy57Yu0QMuAp9ED2f8drwA@mail.gmail.com> <D7E2876E-E750-40C6-B33E-FC24F9CD0709@ericsson.com> <CAOW+2dsy5_cjH2BJJq7mRu9JaQNmh7oqWxUrFDPqBKaceffJaQ@mail.gmail.com> <2226B494-B058-45C8-901B-1B872218ECE7@ericsson.com> <CAD5OKxs2fvyqxjcNmNbqx+ToSpnaeqj5LyX4qz2rOuqFp3oBow@mail.gmail.com> <710E80DF-8389-4A5E-9DBE-5DF2D20E4F02@ericsson.com> <CAD5OKxtcEWmRvXanh7FsdQAD_fTFRnQc8HhkeLx9mz+-XUX7-Q@mail.gmail.com> <871E99E8-DA8D-4E71-B359-F2388479C38E@ericsson.com> <CAOW+2dvUAed2P-xCOvbcsHJGcs92=ad9T5K63xhpVqdKvjK2fw@mail.gmail.com>
In-Reply-To: <CAOW+2dvUAed2P-xCOvbcsHJGcs92=ad9T5K63xhpVqdKvjK2fw@mail.gmail.com>
From: Roman Shpount <roman@telurix.com>
Date: Mon, 20 May 2019 22:34:00 -0400
X-Gmail-Original-Message-ID: <CAD5OKxuU-wio4Af8me1OMo62vanu5y_PnQ3nq=UF6jh6yr1EFg@mail.gmail.com>
Message-ID: <CAD5OKxuU-wio4Af8me1OMo62vanu5y_PnQ3nq=UF6jh6yr1EFg@mail.gmail.com>
To: Bernard Aboba <bernard.aboba@gmail.com>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, lemming Andreasen <fandreas@cisco.com>, mmusic <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000003b9d5105895caf23"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/RssdLywpbV6dwoN-jZf4lk7NuGY>
Subject: Re: [MMUSIC] (Rough) Consensus Call - No 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: Tue, 21 May 2019 02:34:18 -0000

What do you suggest?

Most of the legacy implementations would fail to parse FQDN in the
connection address.

Roman Shpount

On Mon, May 20, 2019, 21:55 Bernard Aboba <bernard.aboba@gmail.com> wrote:

> "If FQDN is allowed but ignored, this will allow "legacy" implementations
> to interop with ICE implementation which support mDNS or generic FQDN. How
> FQDN are resolved and how ICE agents specify to each other the these
> procedures are supported can and should be part of mDNS or generic FQND
> support draft. If I am missing something and something else is required,
> mDNS authors should comment."
>
> [BA] Unfortunately, RFC 5245 did not mandate that FQDNs be ignored by
> implementations that did not choose to support them.  All it says is this:
>
> <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.
>
>
> So while there are good reasons why modern ICE implementations should
> support FQDNs (e.g. for NAT64 support), "legacy" implementations are by
> definition not modern.  Given that RFC 5245-compliant implementations were
> not obligated to either send FQDNs or to correctly handle them if they were
> not supported, we need to look at what legacy implementations do, not what
> we would prefer that they do.
>
> Since RFC 5245 did not mandate either FQDN support or even resilient
> behavior in non-supporting implementations, problems such as the one below
> (or much worse) are to be expected:
> https://bugs.chromium.org/p/webrtc/issues/detail?id=4165
>
> So if were are attempting to interoperate with the vast body of existing
> implementations, we should assume that we have to contend with legacy
> implementations have been baked into equipment, or forked to create mobile
> applications that have not been resync'd in years.  Note that this is a
> very different circumstance from browser-browser interop where "evergreen"
> is rapidly becoming the rule among WebRTC-capable browsers.
>
> On Mon, May 20, 2019 at 4:14 PM Christer Holmberg <
> christer.holmberg@ericsson.com> wrote:
>
>> Hi,
>>
>> >If FQDN is allowed but ignored, this will allow "legacy" implementations
>> to interop with ICE implementation which support mDNS or generic FQDN.
>> >How FQDN are resolved and how ICE agents specify to each other the these
>> procedures are supported can and should be part of mDNS or generic
>> >FQND support draft. If I am missing something and something else is
>> required, mDNS authors should comment.
>>
>> I don’t think you are missing anything.
>>
>> So far this is my proposal for ice-sip-sdp connection address definition
>> which should implement option 2:
>>
>> ><connection-address>: :: is taken from RFC 4566 <<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 FQDN or IP
>> address versions that are not supported or recognized.  Handling of FQDN
>> addresses in candidate can be defined in the future specification. If
>> candidate >with FQDN <connection-address> is the default
>> destination/candidate, the the "c=" address type MUST be set the IP address
>> family for the FQDN DNS resolution result and the "c=" connection >address
>> MUST be set to FQDN. Differences in the "c=" line address family and type
>> with FQDN resolution result MUST not cause ICE support verification failure.
>>
>> Minor change suggestion:
>>
>> "The procedures for handling FQDN addresses, and for agents to indicate
>> support of such procedures, need to be specified in an extension
>> specification."
>>
>> Regards,
>>
>> Christer
>>
>>
>>
>>