Re: [MMUSIC] I-D Action: draft-ietf-mmusic-rfc5245bis-05.txt

Simon Perreault <sperreault@jive.com> Wed, 16 September 2015 15:16 UTC

Return-Path: <sperreault@jive.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 36AAD1A8F35 for <mmusic@ietfa.amsl.com>; Wed, 16 Sep 2015 08:16:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.301
X-Spam-Level:
X-Spam-Status: No, score=-2.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 z_CpxYeX49db for <mmusic@ietfa.amsl.com>; Wed, 16 Sep 2015 08:16:39 -0700 (PDT)
Received: from mail-oi0-f41.google.com (mail-oi0-f41.google.com [209.85.218.41]) (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 534A31A8A89 for <mmusic@ietf.org>; Wed, 16 Sep 2015 08:16:39 -0700 (PDT)
Received: by oibi136 with SMTP id i136so129401498oib.3 for <mmusic@ietf.org>; Wed, 16 Sep 2015 08:16:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=HnZUTn6oQJvdhCV8Cq6hyCRvU9PPgZfmIYBrZWhGwZE=; b=kdYVHOr0Lx98dmflAOS3g+LaBm8gc6tolckPgOyhgF0l/6Vu+ahHa8l56IprGxV02F 80fHS9X3bol0id2IR7VdtzzrGwtFwbbIOkkxt82x4nDoWZXdWFFUTLlB9MD7FpZQeAp/ h9H1+L0KLsFvvTn4SSzbz+pPyKikWb4aQ+5pCGTp1HF4JeZ31FgKTUFfHD9VGGZ735sL NQ6O5v5QpFI5n6uC4UfCSgZZ5d/4JGZBCWuQ5V26ezF4ivrFSBPcX4HpT5hWkfv8n5hZ /Hrl640TeuKKjtpoGJ49BSypyB6EzTfJEubmGSt3FDmSgmVuX+rHFjx96uBJ2WDpL/Vn zEwQ==
X-Gm-Message-State: ALoCoQkFZ3HheNvwlBwqd7QCVhbq8vsbdebQ0CZouD2XWoaCKzOA2rSPaV3pPqe16SBdvJRybxWg
X-Received: by 10.202.102.136 with SMTP id m8mr23212251oik.30.1442416598512; Wed, 16 Sep 2015 08:16:38 -0700 (PDT)
Received: from Simons-MacBook-Air.local (modemcable164.157-22-96.mc.videotron.ca. [96.22.157.164]) by smtp.googlemail.com with ESMTPSA id w21sm11289441oia.27.2015.09.16.08.16.37 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Sep 2015 08:16:38 -0700 (PDT)
To: Ari Keränen <ari.keranen@ericsson.com>
References: <20150910225005.2301.87866.idtracker@ietfa.amsl.com> <55F20B78.8020706@ericsson.com> <55F2D3C2.9000701@jive.com> <55F567DA.6070404@ericsson.com> <55F6C50C.9040503@jive.com> <1A0B1C1F-3685-49CB-BF18-7F4D585A7FCD@ericsson.com>
From: Simon Perreault <sperreault@jive.com>
Message-ID: <55F987D5.6040301@jive.com>
Date: Wed, 16 Sep 2015 11:16:37 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <1A0B1C1F-3685-49CB-BF18-7F4D585A7FCD@ericsson.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/2HK48mBV7nI8WRKcvupGANpeinA>
Cc: mmusic <mmusic@ietf.org>
Subject: Re: [MMUSIC] I-D Action: draft-ietf-mmusic-rfc5245bis-05.txt
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 16 Sep 2015 15:16:41 -0000

Le 2015-09-16 11:08, Ari Keränen a écrit :
> 
>> On 14 Sep 2015, at 16:01, Simon Perreault <sperreault@jive.com> wrote:
>>
>> Le 2015-09-13 08:11, Ari Keränen a écrit :
>>>> - Remove the reference to DNS64. It does not matter if DNS64 is used
>>>> or not.
>>>
>>> It's the DNS64 that would generate the NAT64'd address for you when you
>>> discover IPv4-only STUN/TURN server from DNS, right?
>>
>> Yes, that's one scenario that is likely to happen. But an ICE agent
>> could be provisioned with, or discover, STUN server addresses any other way.
> 
> True. Perhaps a sentence or two on this would be good. I'd keep the DNS64 as one way it can happen. (see below)

Yup.

>>>> Therefore, my proposal:
>>>>
>>>> If an agent is in a network that translates between IPv4 and IPv6
>>>> [RFC6145], it may gather server-reflexive candidates whose address
>>>> family will be different from that of the address used to talk to the
>>>> STUN server.  Such candidates are prioritized according to their own
>>>> address family, not the one used to gather them.
>>>>
>>>> For example, in a network that utilizes NAT64 [RFC6146], an IPv4
>>>> server-reflexive candidate will be gathered using IPv6 to talk to the
>>>> STUN server. That candidate will be prioritized like a regular IPv4
>>>> server-reflexive candidate.
>>>
>>> But only if the STUN server does not have IPv6 address / DNS record.
>>
>> No. Imagine a dual-stack STUN server. From the point of view of an agent
>> behind a NAT64, there are two IPv6 addresses that can be used to talk to
>> it: the plain IPv6 one and the one using NAT64. If the agent uses DNS64
>> then it will automatically use the plain IPv6 address. But the agent
>> could be provisioned with STUN server addresses any other way. If I just
>> go and hard-code the address that uses NAT64 into my agent, it still
>> needs to do the right thing.
> 
> To make that more clear I'd suggest we discuss the prefix discovery and other methods before, or right after, this paragraph. Something along the lines of:
> 
> The agent can learn server-reflexive NAT64 candidate from IPv4 STUN/TURN server discovered using DNS64 [RFC6147], by static configuration, (what else?).

I guess any discovery method from draft-ietf-tram-turn-server-discovery
could apply?

>> As a side note, some DNS64 servers always generate synthetic AAAA
>> records even when a AAAA record is already present. They do that for
>> various reasons, none of which would be considered "good" in an IETF
>> discussion. ;)
> 
> Huh. It's a scary world out there :)
> 
>>>> In order for the ICE agent to be able to use the resulting candidate it
>>>> will be necessary for it to know the address mapping parameters. When
>>>> such knowledge is not otherwise available to the agent, IPv6 prefix
>>>> discovery [RFC7050] SHOULD be attempted to discover the IPv6 prefix used
>>>> by NAT64.
>>>
>>> Is it always necessary to know the address mapping parameters? If the
>>> mapping is endpoint-independent, it should just work?
>>
>> The mapping I was referring to is the one between IPv6 addresses and
>> IPv4 addresses. This shows that my text needs to be even more explicit!
>>
>> Suggestion: "In order for the ICE agent to be able to use the resulting
>> candidate it will be necessary for it to know the parameters of the
>> mapping between IPv4 and IPv6 addresses (i.e, which IPv6 address
>> corresponds to a given IPv4 address, and vice-versa)."
> 
> That's more clear. Thanks! And agent could also generate new candidates on the fly from the prefix, right? Especially if it didn't have suitable STUN server. Should that be added to the list of mechanisms?

Hmmm, yes, I guess it could if the translation is stateless. Good catch!

Simon