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

Simon Perreault <simon.perreault@viagenie.ca> Sat, 14 September 2013 06:02 UTC

Return-Path: <simon.perreault@viagenie.ca>
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 91F7C11E80E8; Fri, 13 Sep 2013 23:02:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.52
X-Spam-Level:
X-Spam-Status: No, score=-2.52 tagged_above=-999 required=5 tests=[AWL=0.080, BAYES_00=-2.599, NO_RELAYS=-0.001]
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 AcOIhkooFT1I; Fri, 13 Sep 2013 23:02:48 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by ietfa.amsl.com (Postfix) with ESMTP id E140611E80D1; Fri, 13 Sep 2013 23:02:47 -0700 (PDT)
Received: from porto.nomis80.org (unknown [IPv6:2620:0:230:2001::1000]) by jazz.viagenie.ca (Postfix) with ESMTPSA id D43924149F; Sat, 14 Sep 2013 02:02:44 -0400 (EDT)
Message-ID: <5233FC04.7040509@viagenie.ca>
Date: Sat, 14 Sep 2013 08:02:44 +0200
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8
MIME-Version: 1.0
To: Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>
References: <20130913005837.14362.66591.idtracker@ietfa.amsl.com> <9E34D50A21D1D1489134B4D770CE03976807F0B0@SZXEMA504-MBX.china.huawei.com> <5232D9A2.8050800@viagenie.ca> <52337505.9000109@gmail.com>
In-Reply-To: <52337505.9000109@gmail.com>
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: Sat, 14 Sep 2013 06:02:48 -0000

Le 2013-09-13 22:26, Sergio Garcia Murillo a écrit :
> 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.

You're right, I was mistaken about this. Thanks for the detailed 
explanation. No need for more details.

> 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 think a better justification would be "because WebRTC data channel 
will use SCTP over DTLS".

> 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.

So with an HTTP proxy the control would be over websockets and the data 
would be through the CONNECT method? Yuck...

> That, or drop RFC 6062 extension altogether and just
> focus on 5766. What do you feel it would be best?

I say focus on 5766.

I have a new question: what does the TURN server put in the 
XOR-MAPPED-ADDRESS attribute? The proxy's address or the client's 
address? Can TURN over WebSockets be used to gather server-reflexive 
candidates?

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