Re: [rtcweb] Comments on draft-ietf-rtcweb-transports-01

Simon Perreault <simon.perreault@viagenie.ca> Wed, 13 November 2013 18:57 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 0F56C11E8126 for <rtcweb@ietfa.amsl.com>; Wed, 13 Nov 2013 10:57:40 -0800 (PST)
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 jpwt9zVjOhvP for <rtcweb@ietfa.amsl.com>; Wed, 13 Nov 2013 10:57:39 -0800 (PST)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by ietfa.amsl.com (Postfix) with ESMTP id 2530611E8107 for <rtcweb@ietf.org>; Wed, 13 Nov 2013 10:57:39 -0800 (PST)
Received: from porto.nomis80.org (unknown [IPv6:2620:0:230:c000:d5d4:b853:2212:f683]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 7DABB403CF; Wed, 13 Nov 2013 13:57:38 -0500 (EST)
Message-ID: <5283CBA2.3060604@viagenie.ca>
Date: Wed, 13 Nov 2013 13:57:38 -0500
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
MIME-Version: 1.0
To: Harald Alvestrand <harald@alvestrand.no>, "Ravindran, Parthasarathi (NSN - IN/Bangalore)" <parthasarathi.ravindran@nsn.com>, ext Magnus Westerlund <magnus.westerlund@ericsson.com>, "rtcweb@ietf.org" <rtcweb@ietf.org>
References: <5282391D.3050002@ericsson.com> <40AFDF4AF1909E4CB42B6D91CE6C419D19C63196@SGSIMBX006.nsn-intra.net> <5283291E.7090108@ericsson.com> <40AFDF4AF1909E4CB42B6D91CE6C419D19C71D01@SGSIMBX006.nsn-intra.net> <5283B92B.4080304@viagenie.ca> <5283C8A5.8030601@alvestrand.no>
In-Reply-To: <5283C8A5.8030601@alvestrand.no>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Subject: Re: [rtcweb] Comments on draft-ietf-rtcweb-transports-01
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: Wed, 13 Nov 2013 18:57:40 -0000

Le 2013-11-13 13:44, Harald Alvestrand a écrit :
>> All this relies on the possibility that a TCP peer-to-peer connection
>> could be successfully established where a UDP one couldn't. IMHO this
>> is very unlikely to happen in practice. So unlikely in fact that any
>> possible gain over just falling back on a TURN relay wouldn't be worth
>> the additional implementation cost.
>
> Simon, do you have any numbers on that - how many calls will be going to
> servers on the Internet versus how many calls will be going peer-to-peer?

Not sure what you mean.

> The argument being given only applies to the client-to-gateway usecase

My point only applied to peer-to-peer connections, not peer-to-server. 
If we're discussing peer-to-server, then I wonder why we're discussing 
that at all.

> (or to naked destination clients that are not behind a NAT, which
> hopefully will become common once IPv6 gets deployed, but aren't common
> now).

If we eliminate NAT, then we're left with firewalls. To benefit from 
ICE-TCP (i.e. ICE-TCP successfully establishing a peer-to-peer TCP 
connection instead of ICE-UDP falling back on TURN-over-TCP), you would 
need both peers to be behind firewalls that block inbound UDP (through 
hole punching or otherwise) but allow inbound TCP (through simultaneous 
open or otherwise). My personal experience is that this kind of firewall 
configuration would be very rare. Now, take that probability and square 
it since it needs to apply to both peers. You get something very very rare.

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