Re: [pntaw] New version of TURN over websockets draft

Marc Petit-Huguenin <marc@petit-huguenin.org> Fri, 20 September 2013 20:14 UTC

Return-Path: <marc@petit-huguenin.org>
X-Original-To: pntaw@ietfa.amsl.com
Delivered-To: pntaw@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 266DF21F9AA2 for <pntaw@ietfa.amsl.com>; Fri, 20 Sep 2013 13:14:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[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 BV3ZOriaE27Y for <pntaw@ietfa.amsl.com>; Fri, 20 Sep 2013 13:14:18 -0700 (PDT)
Received: from implementers.org (implementers.org [IPv6:2604:3400:dc1:41:216:3eff:fe5b:8240]) by ietfa.amsl.com (Postfix) with ESMTP id 53D4F21F92DA for <pntaw@ietf.org>; Fri, 20 Sep 2013 13:14:18 -0700 (PDT)
Received: from [IPv6:2601:9:4bc0:1c:fceb:fc0:562e:eeb0] (unknown [IPv6:2601:9:4bc0:1c:fceb:fc0:562e:eeb0]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Marc Petit-Huguenin", Issuer "implementers.org" (verified OK)) by implementers.org (Postfix) with ESMTPS id C593220EB1; Fri, 20 Sep 2013 22:14:12 +0200 (CEST)
Message-ID: <523CAC92.2070102@petit-huguenin.org>
Date: Fri, 20 Sep 2013 13:14:10 -0700
From: Marc Petit-Huguenin <marc@petit-huguenin.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130821 Icedove/17.0.8
MIME-Version: 1.0
To: Oleg Moskalenko <mom040267@gmail.com>
References: <5232C18C.1030102@gmail.com> <523C8BDC.6050705@petit-huguenin.org> <CALDtMrKwygUqNWKcB81F+M7Y8wBmwZtTACeYChpJVvWKbXLTEw@mail.gmail.com> <523C9B03.2030002@petit-huguenin.org> <CALDtMrJBQQZP4bbkLh6OcZhmOGFrP5bAJ8BDr0AY1zKjPXChPw@mail.gmail.com>
In-Reply-To: <CALDtMrJBQQZP4bbkLh6OcZhmOGFrP5bAJ8BDr0AY1zKjPXChPw@mail.gmail.com>
X-Enigmail-Version: 1.5.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "pntaw@ietf.org" <pntaw@ietf.org>, Lorenzo Miniero <lorenzo@meetecho.com>, Sergio Garcia Murillo <sergio.garcia.murillo@gmail.com>, "Chenxin \(Xin\)" <hangzhou.chenxin@huawei.com>, Victor Pascual Avila <victor.pascual.avila@gmail.com>
Subject: Re: [pntaw] New version of TURN over websockets draft
X-BeenThere: pntaw@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion list for practices related to proxies, NATs, TURN, and WebRTC" <pntaw.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/pntaw>, <mailto:pntaw-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/pntaw>
List-Post: <mailto:pntaw@ietf.org>
List-Help: <mailto:pntaw-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/pntaw>, <mailto:pntaw-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Sep 2013 20:14:19 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 09/20/2013 12:57 PM, Oleg Moskalenko wrote:
> 
> 
> 
> On Fri, Sep 20, 2013 at 11:59 AM, Marc Petit-Huguenin
> <marc@petit-huguenin.org <mailto:marc@petit-huguenin.org>> wrote:
> 
> 
> OK so I suggest to say in the draft that a new Websocket connection will
> be created for each TCP peer, because that have an impact on implementation
> design.
> 
> 
> ... for RFC 6062 TURN TCP, of course. The key key words here are "TCP
> peers" (as in RFC 6062, unlike "UDP peers" in RFC 5766). That may be worth
> mentioning, indeed.
> 
> This draft is mostly driven by the necessity of enhanced connectivity of
> the clients (browsers) in WebRTC environment. So the question of
> multiplicity of TCP / Websocket connections is not very important in this
> context.

If having TCP peers is not important, then remove RFC 6062 from this draft.

Also, the draft does not explain the procedures related to SRV and NAPTR RRs:

example.net.
IN NAPTR 100 10 "" RELAY:turn.ws "" websocket.example.net.

websocket.example.net.
IN NAPTR 100 10 S RELAY:turn.ws "" _turn._ws.example.net.

_turn._ws.example.net.
IN SRV   0 0 80 a.example.net.

a.example.net.
IN A     192.0.2.1

- -- 
Marc Petit-Huguenin
Email: marc@petit-huguenin.org
Blog: http://blog.marc.petit-huguenin.org
Profile: http://www.linkedin.com/in/petithug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)

iQIcBAEBCAAGBQJSPKyQAAoJECnERZXWan7EVPAQAIgeXJZHMOp2/NkTmOSBs8jr
LeeMqEdABEmSMyV91sR3v/gZtPJgfZQa66ZMrkqTPdaMJJ2PK7mKq1GYxRB2mYA7
CnYixGPqsJWZasdHVHuUmbDztHotio6CpPPT2gphGJDb8l2yukNpMcaL1vcVZPAt
nppaBB0T8V/CDNYo7DJ7AuONH8Ox4T9Z/3FRX3NvIorJrZTOXvpJTXOXPeYLInkM
ZoL8LSyyT6Se9gtBMfC+wGOt7YlxqNQ6QQual8UubqgB1mfqkVfyjzfAk04yNWb9
FI3Byj6eRagdEj1l/oX9pUeEFqzJiJGvfiRJznK0eRnlxGfIrVY6Iyra+xLwQpK7
HHikJJPuWwyO8cN67U38X2a6n30WtNv+TVPZGif2rwBtnx0idqpo59tRND7UWYOZ
mLqaLSw5CO062GR3y3MSoms3DfQtAmJ4XB1rsyGFnc4kmtRlT6WNsoOP7uLfocyv
DOETOVdRUefnLfnqFexqN0BbQdzYTyrfC6LRqUTwtDHc1tbOMQwnYoLoD77nV3cm
xintblXQNr1MNE5cTJYX7qX22ceCK5DEVh0Y7Zua/ClMTaJ9v7zB9B41wudsXHT7
xqQV3EyKZlbeNn2BSVD92nIcAbR5j87cnA2bbDo6ibMhTnuOmBE2aixvyaCkhAb9
J+kf+OnrEsMVqhcmppH0
=bq+2
-----END PGP SIGNATURE-----