Re: [tram] IPv4 and IPv6 allocations

Oleg Moskalenko <mom040267@gmail.com> Wed, 19 February 2014 16:49 UTC

Return-Path: <mom040267@gmail.com>
X-Original-To: tram@ietfa.amsl.com
Delivered-To: tram@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F1C051A04EF for <tram@ietfa.amsl.com>; Wed, 19 Feb 2014 08:49:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 eL5n4hX-8YP1 for <tram@ietfa.amsl.com>; Wed, 19 Feb 2014 08:49:22 -0800 (PST)
Received: from mail-pb0-x22e.google.com (mail-pb0-x22e.google.com [IPv6:2607:f8b0:400e:c01::22e]) by ietfa.amsl.com (Postfix) with ESMTP id 849281A057F for <tram@ietf.org>; Wed, 19 Feb 2014 08:49:22 -0800 (PST)
Received: by mail-pb0-f46.google.com with SMTP id um1so630649pbc.19 for <tram@ietf.org>; Wed, 19 Feb 2014 08:49:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mkZZvqufr1DvwpjHMEeCs3y9eFShEJR/VqNjzQcRU2c=; b=pCMUii/YkWEUelrl0qQN9VnBtqLylkK2Fq03DkyooDeK9jKHvqEiM7eJjIpk8jv+58 v8AcrdWZLrDx4gjDF3/7hfc9IsJlnTBZB9E1sODJtwzixhJSVUGuV0JGa9khk3X6eHoj zrfI9xMYRqgvMRtZVsjarYL9fUQB1dqDffz9k7wp1nYup8hdhM3DTwyLnIm6VJ+C32V1 i5Jr+abhAtEBSGxoxJdcGs5Uj3qkRiPjwk7Ske0N/O6cGYsvihishHmACqW4KuzMIKYf rtkaBqhu918KkVySHg820H1IXciiyy5N8cAXJzWFPcyDEaMdPmO9wGQLZwORtSsUzGVW oNZw==
MIME-Version: 1.0
X-Received: by 10.68.139.100 with SMTP id qx4mr3306100pbb.144.1392828559283; Wed, 19 Feb 2014 08:49:19 -0800 (PST)
Received: by 10.68.147.131 with HTTP; Wed, 19 Feb 2014 08:49:19 -0800 (PST)
In-Reply-To: <5304DF60.7020200@viagenie.ca>
References: <CAJjP_Q9qQ-o=q+UVo=3Q2w2mnUpOG=ihPiGDMRPfrDNhzpiTNg@mail.gmail.com> <5304D0CA.9020201@viagenie.ca> <E836DCC6-A996-4201-A160-C9B2CC60B830@cisco.com> <5304DF60.7020200@viagenie.ca>
Date: Wed, 19 Feb 2014 08:49:19 -0800
Message-ID: <CALDtMrKP8cc1hufHb62a=unmkVmLShqgqF8-muSc8VN=H1tiBA@mail.gmail.com>
From: Oleg Moskalenko <mom040267@gmail.com>
To: Simon Perreault <simon.perreault@viagenie.ca>
Content-Type: multipart/alternative; boundary="001a11c361d2825c8d04f2c52bbb"
Archived-At: http://mailarchive.ietf.org/arch/msg/tram/wLe4zDOnruurgZyoN-_3SlSYRN0
Cc: "Pal Martinsen (palmarti)" <palmarti@cisco.com>, "tram@ietf.org" <tram@ietf.org>
Subject: Re: [tram] IPv4 and IPv6 allocations
X-BeenThere: tram@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Discussing the creation of a Turn Revised And Modernized \(TRAM\) WG, which goal is to consolidate the various initiatives to update TURN and STUN." <tram.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tram>, <mailto:tram-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tram/>
List-Post: <mailto:tram@ietf.org>
List-Help: <mailto:tram-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tram>, <mailto:tram-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Feb 2014 16:49:25 -0000

If we allow two allocations per session that would be unnecessary
complication that does not serve any immediate purpose that cannot be
served in another way and it would encourage waste of resources. I do not
think that would be a good idea.

Oleg


On Wed, Feb 19, 2014 at 8:44 AM, Simon Perreault <
simon.perreault@viagenie.ca> wrote:

> Le 2014-02-19 11:37, Pal Martinsen (palmarti) a écrit :
> > IMHO this would make a good optimisation. Endpoints can discover how
> > to reach the TURN server well before a call is made, webRTC is a bit
> > more tricky but Ill guess there are room for some sort of "pre call"
> > discovery there as well. The agent can thus lock down to a specific
> > IP address family talking to the TURN server. To further reduce
> > chatter it would be nice to be able to allocate two types of IP
> > RELAY addresses with one allocation message. Writing up draft
> > describing that would not be to hard unless I miss something.
>
> I think it would be super hard, as in it would require completely
> redesigning TURN. :)
>
> All the TURN messages rely on there being a single allocation per
> 5-tuple. For example, in a Send indication, you don't tell the server
> out of which allocation (i.e., external port) to send the actual packet.
> So you would need to add an "allocation ID" attribute to just about
> everything: Send, Data, Refresh, etc. Then we need to think about
> channels. By this point we are fairly discouraged, and we still need to
> think about TURN-TCP. Yuck.
>
> One allocation per 5-tuple. I don't think we're changing this anytime soon.
>
> Simon
> --
> DTN made easy, lean, and smart --> http://postellation.viagenie.ca
> NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
> STUN/TURN server               --> http://numb.viagenie.ca
>
> _______________________________________________
> tram mailing list
> tram@ietf.org
> https://www.ietf.org/mailman/listinfo/tram
>