Re: [rtcweb] HTTP Fallback draft

Lorenzo Miniero <lorenzo@meetecho.com> Tue, 07 August 2012 20:00 UTC

Return-Path: <lorenzo@meetecho.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 E877021F85FF for <rtcweb@ietfa.amsl.com>; Tue, 7 Aug 2012 13:00:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.539
X-Spam-Level:
X-Spam-Status: No, score=-0.539 tagged_above=-999 required=5 tests=[AWL=-0.120, BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, MIME_8BIT_HEADER=0.3]
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 mG-NoxwQT3JH for <rtcweb@ietfa.amsl.com>; Tue, 7 Aug 2012 13:00:24 -0700 (PDT)
Received: from smtplq02.aruba.it (smtplqs-out17.aruba.it [62.149.158.57]) by ietfa.amsl.com (Postfix) with SMTP id 808C921F853B for <rtcweb@ietf.org>; Tue, 7 Aug 2012 13:00:23 -0700 (PDT)
Received: (qmail 6632 invoked by uid 89); 7 Aug 2012 20:00:21 -0000
Received: from unknown (HELO smtp7.aruba.it) (62.149.158.227) by smtplq02.aruba.it with SMTP; 7 Aug 2012 20:00:21 -0000
Received: (qmail 2091 invoked by uid 89); 7 Aug 2012 20:00:21 -0000
Received: from unknown (HELO rainpc) (lorenzo@meetecho.com@80.181.173.222) by smtp7.ad.aruba.it with SMTP; 7 Aug 2012 20:00:21 -0000
Date: Tue, 7 Aug 2012 21:54:15 +0200
From: Lorenzo Miniero <lorenzo@meetecho.com>
To: =?UTF-8?B?ScOxYWtp?= Baz Castillo <ibc@aliax.net>
Message-ID: <20120807215415.00bebaa7@rainpc>
In-Reply-To: <CALiegf=zd5DaLbsPH6RU=jiSa0qv9rf+=r68FAn1Av-fpQP6Gg@mail.gmail.com>
References: <20120807180156.286e74d2@rainpc> <D5BDA7BE-FE55-47FA-99FD-1645084370B0@gmx.net> <20120807191226.5b8e7f32@rainpc> <CALiegf=zd5DaLbsPH6RU=jiSa0qv9rf+=r68FAn1Av-fpQP6Gg@mail.gmail.com>
Organization: Meetecho
X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Rating: smtp7.ad.aruba.it 1.6.2 0/1000/N
X-Spam-Rating: smtplq02.aruba.it 1.6.2 0/1000/N
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] HTTP Fallback draft
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: Tue, 07 Aug 2012 20:00:25 -0000

Hi Iñaki,


On Tue, 7 Aug 2012 21:34:09 +0200
Iñaki Baz Castillo <ibc@aliax.net> wrote:

> Hi Lorenzo, sorry for opening another thread about this (I didn't
> check my unread emails before reading the draft). Please see comments
> inline:
> 


No harm done, don't worry!


> 
> > Hannes Tschofenig <hannes.tschofenig@gmx.net> wrote:
> 
> >> Just to be clear, I don't have objections regarding your draft. I just would like to understand what motives people to run everything over HTTP (besides using HTTP features, which you don't really do).
> 
> Honestly I don't like the "all-over-http" vision. Admins filtering
> traffic other than HTTP or HTTPS will also do their best efforts for
> filtering specific traffic over HTTP, and IMHO making specifications
> to run protocolos over HTTP legitimizes those hateful filtering
> techniques.
> 


I'm not a fan either, believe me :)

That said, as I said in another post I still think that, if RTCWEB/WebRTC is going to be deployed in browsers, they'll expect it to work in all the places where all other web applications do. Many proprietary protocols that do real-time communication implement tunneling somehow, or pretend to do so, which means something in line with that is needed for RTCWEB as well.


> 
> 
> 
> 
> 2012/8/7 Lorenzo Miniero <lorenzo@meetecho.com>om>:
> 
> > I agree with you and I'm not really dying to do RTP over HTTP either, but if some scenarios make it impossible for use cases to work (and some firewall/NAT deployers are to blame here, probably) then a fallback mechanism is something that can be nice to have, especially if we're interested in something that "just works".
> 
> That's the problem (IMHO): if we make all to work over HTTP then some
> day telcos providers will just offer HTTP (as "Internet") and we'll
> need to study a new OSI model in which the lowest layer is called
> "HTTP".
> 


Which is close enough to the hourglass draft Hannes mentioned in his post, I'm afraid. I can't but agree with you, but, again, if we have use cases and we want to have them working in as many topologies as possible, something must be done.


> BTW: I sitll don't understand which is the advantage of using RTP over
> HTTPS in comparison to TURN over TLS:443. Does is exist?
> 


If we talk about a simple comparison, I'm sure TURN:TLS:443 performs much better than RTP over HTTPS, or at least, over the simple approach I documented in the draft at least (even though I tried to keep the overhead as little as possible). Comparing them is probably not fair, though, as they address two different scenarios: that's why HTTP would be just a fallback, and not something you'd use when you have alternatives.

Referring to the steps I described in my previous answer to Hannes, TURN:TLS:443 is probably the most useful option for scenarios 1 and 2, that is, where you can just pipe what you want on port 443 and be sure it will be ignored by the proxy. If the proxy checks what's going on, though, that may not be as easy. The proxy may be acting as a MITM for HTTPS, as Roman described, or just doing some traffic monitoring with anomaly detection or something like that: faking to be HTTPS is not going to work in that case, since the proxy may just see it's not HTTP at all, or may just understand it's not what it claims to be because it doesn't behave as it should; HTTP connections have a usually quite simple pattern (e.g., much more traffic going in one direction than the other and never at the same time), something that would be very different in a TURN connection instead.

Lorenzo

> 
> Regards.
> 
> 
> -- 
> Iñaki Baz Castillo
> <ibc@aliax.net>


-- 
Lorenzo Miniero, COB

Meetecho s.r.l.
Web Conferencing and Collaboration Tools
http://www.meetecho.com