Re: [rtcweb] [BEHAVE] New Version Notification for draft-chenxin-behave-turn-websocket-01.txt

Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com> Fri, 13 September 2013 20:26 UTC

Return-Path: <sergio.garcia.murillo@gmail.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 94ABC21E80AA; Fri, 13 Sep 2013 13:26:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YFkq1zmm4Vyr; Fri, 13 Sep 2013 13:26:48 -0700 (PDT)
Received: from mail-wi0-x22a.google.com (mail-wi0-x22a.google.com [IPv6:2a00:1450:400c:c05::22a]) by ietfa.amsl.com (Postfix) with ESMTP id A2AB511E80D3; Fri, 13 Sep 2013 13:26:47 -0700 (PDT)
Received: by mail-wi0-f170.google.com with SMTP id cb5so1493469wib.5 for <multiple recipients>; Fri, 13 Sep 2013 13:26:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=zEAFsAknO6Ny6IEJMIFaHrzOSyYDIfQx3frVMqUYlaU=; b=nin+xzPGu/jYGn2zHrQkpvrIdbvNVjSYBFOXbWPJCIR173mSWurqGeKF1L5A6B8TzC 3TKZvreDZCFbFDowrfsvbe3lWnuzHtcXrtA/dAzr8L8ofiXNv6m6j5rfETNEbzS7TC3J epqhBICkTSDC13NpUF/VaFiEAkVeJb01hw+NJdlk2IgkvZqBuoWAPAES9P7ookg21JqI oqwDiCLFOmbSdVkSYi5iGx0d5BdBRe0Gsh5gnuhz6Azl3Hy4pIu7vki88rhFzQuQe5OV XBEf2zidPII/86HQqNrR3Yy4xu03yNFqQFvAjS5cMnp5KHE5n6Ds7svo+5IopyMg8EQn VVJQ==
X-Received: by 10.180.206.180 with SMTP id lp20mr3986899wic.48.1379104006702; Fri, 13 Sep 2013 13:26:46 -0700 (PDT)
Received: from [192.168.1.55] (76.Red-88-6-196.staticIP.rima-tde.net. [88.6.196.76]) by mx.google.com with ESMTPSA id gp9sm5887800wib.8.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Sep 2013 13:26:46 -0700 (PDT)
Message-ID: <52337505.9000109@gmail.com>
Date: Fri, 13 Sep 2013 22:26:45 +0200
From: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: Simon Perreault <simon.perreault@viagenie.ca>
References: <20130913005837.14362.66591.idtracker@ietfa.amsl.com> <9E34D50A21D1D1489134B4D770CE03976807F0B0@SZXEMA504-MBX.china.huawei.com> <5232D9A2.8050800@viagenie.ca>
In-Reply-To: <5232D9A2.8050800@viagenie.ca>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Cc: "rtcweb@ietf.org" <rtcweb@ietf.org>, behave@ietf.org
Subject: Re: [rtcweb] [BEHAVE] New Version Notification for draft-chenxin-behave-turn-websocket-01.txt
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 13 Sep 2013 20:26:48 -0000

El 13/09/2013 11:23, Simon Perreault escribió:
> Le 2013-09-13 10:58, Chenxin (Xin) a écrit :
>>     We have been working on a new version of the TURN over Websocket 
>> draft, which is now available at:
>>
>>     http://www.ietf.org/id/draft-chenxin-behave-turn-websocket-01.txt
>
> There are two major things missing in this draft:
>
> - How are TURN UDP "channels" supported? (See RFC 5766 section 2.5.)
>
> - How are TURN TCP "data connections" supported? (See RFC 6062 section 
> 3.)
>
> I think the answers to these questions will greatly affect the overall 
> design of TURN-over-WebSocket.
>
>
Hi Simon,

As per RFC 5766:

    For some applications (e.g., Voice over IP), the 36 bytes of overhead
    that a Send indication or Data indication adds to the application
    data can substantially increase the bandwidth required between the
    client and the server.  To remedy this, TURN offers a second way for
    the client and server to associate data with a specific peer.

    This second way uses an alternate packet format known as the
    ChannelData message.  The ChannelData message does not use the STUN
    header used by other TURN messages, but instead has a 4-byte header
    that includes a number known as a channel number.



So, at the end, the ChannelData message is just another TURN message, so 
it will be encapsulated inside a websocket frame. If you feel it is not 
clear, we can add more details about it in next draft.

Regarding RFC 6062, we had some internal discussion regarding if we 
should add websocket support at all to it or not. Mainly, because AFAIK, 
webrtc will use RFC 5766 and not 6062. Anyone please correct me if I am 
wrong.

I agree with you that this has not been well covered in the draft. In 
order to make the minimun changes possible, and align it with the 
general view of changing just the turn client to turn server 
encapsulation protocol, I would propose to extend websockets usage only 
for the turn control connection in RFC 6062 but keep turn data 
connections on TCP. That, or drop RFC 6062 extension altogether and just 
focus on 5766. What do you feel it would be best?

Best regards
Sergio