Re: [rtcweb] Non-media data service consensus and requirements

Emil Ivov <emcho@jitsi.org> Mon, 27 June 2011 22:43 UTC

Return-Path: <emil@sip-communicator.org>
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 D1F5C1F0C51 for <rtcweb@ietfa.amsl.com>; Mon, 27 Jun 2011 15:43:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xnwpBjE7uaMm for <rtcweb@ietfa.amsl.com>; Mon, 27 Jun 2011 15:43:17 -0700 (PDT)
Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by ietfa.amsl.com (Postfix) with ESMTP id 6504B1F0C49 for <rtcweb@ietf.org>; Mon, 27 Jun 2011 15:43:17 -0700 (PDT)
Received: by wwg11 with SMTP id 11so2508508wwg.1 for <rtcweb@ietf.org>; Mon, 27 Jun 2011 15:43:16 -0700 (PDT)
Received: by 10.216.171.18 with SMTP id q18mr2269866wel.47.1309214596264; Mon, 27 Jun 2011 15:43:16 -0700 (PDT)
Received: from porcinet.local (shm67-5-88-165-90-188.fbx.proxad.net [88.165.90.188]) by mx.google.com with ESMTPS id z22sm3010401weq.2.2011.06.27.15.43.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 27 Jun 2011 15:43:15 -0700 (PDT)
Message-ID: <4E090781.20308@jitsi.org>
Date: Tue, 28 Jun 2011 00:43:13 +0200
From: Emil Ivov <emcho@jitsi.org>
Organization: Jitsi
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; bg; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
MIME-Version: 1.0
To: Bernard Aboba <bernard_aboba@hotmail.com>
References: <blu152-w313AC2093422E0C005708093570@phx.gbl>
In-Reply-To: <blu152-w313AC2093422E0C005708093570@phx.gbl>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Cc: rtcweb@ietf.org
Subject: Re: [rtcweb] Non-media data service consensus and requirements
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: Mon, 27 Jun 2011 22:43:18 -0000

На 28.06.11 00:35, Bernard Aboba написа:
> I do not support an unreliable datagram service that can be used to send
> arbitrary data. 
> 
> For example, it seems dangerous for a Web browser under the control of
> an attacker to be able to send RIP, SNMP or DNS packets to arbitrary
> destinations.
> 
> For these transactional exchanges the overhead of ICE would be excessive
> and so there will be a very strong temptation to cut corners.

Well, if ICE is part of the browser we could condition sending such data
on the successful termination of ICE processing with the intended
destination. Same as with RTP. Wouldn't this work?

Emil

> Assuming that the goal is not to send arbitrary data, then we need to
> dig into the transport requirements more.
> 
> For example, is the non-media data to be synchronized with media (e.g.
> real-time text)?
> 
> Is there a session associated with the non-media data (e.g. XMPP or MSRP
> exchanges)?
> 
> Is there a reliability requirement?
> 
> Is it congestion-controlled?
> 
> How long-lived are the flows?
> 
> 
> 
> 
> ---------------------------------------------------
> From: magnus.westerlund@ericsson.com
> To: rtcweb@ietf.org
> Date: Mon, 27 Jun 2011 09:36:30 +0200
> Subject: [rtcweb] Non-media data service consensus and requirements
> 
> WG,
>  
> At the interim it was planned to have a bit discussion on the datagram
> service for RTCWEB. The first question to try to resolve if there
> is consensus for including some form of non real-time media (i.e. not
> audio, video) service between peers. This is a bit tangled with the
> actual requirements and use cases. But there was views both for it and
> against it on the mailing list. So lets continue and try to come to a
> conclusion on this discussion.
>  
> The use cases mentioned on the mailing list are:
>  
> - Dynamic meta data for Conference and other real-time services
>  
> - Gaming data with low latency requirements
>  
> Does anyone like to add additional use cases?
>  
> Based on my personal understanding this points to primarily have the
> RTCWEB provide a unreliable datagram service. This clearly needs
> additional requirements to be secure and safe to deploy, but more about
> this below. I still like to ask the WG here a question.
>  
> Are you supporting the inclusion of a unreliable datagram service
> directly between peers? Please provide your view and any additional
> statements of motivation that you desire to provide.
>  
> Secondly, there is a question if there needs to have something that
> provides reliable message (of arbitrary size) or byte stream oriented
> data transport between the peers. I personally foresee that people will
> build JS libraries for this on top of a unreliable datagram service. If
> you desire reliable data service as part of the standardized solution
> please provide motivation and use case and requirements.
>  
> I also want to take a stab on what I personally see as the requirements
> that exist on unreliable datagram service in the context of RTCWEB.
>  
> - Unreliable data transmission
> - Datagram oriented
>    * Size limited by MTU
>      - Path MTU discovery needed
>    * Fragmentation by the application
> - Low latency, i.e. Peer to Peer preferable
> - Congestion Controlled, to be
>    * Network friendly
>    * Not become a Denial of Service tool
> - Security
>   * Confidentiality
>   * Integrity Protected
>   * Source Authenticated (at least bound to the signalling peer)
>   * Ensure consent to receive data
>  
> Please debate the above. This is an attempt to ensure that we can
> establish WG consensus on both data service and any requirements.
>  
> cheers
>  
> Magnus Westerlund
>  
> ----------------------------------------------------------------------
> Multimedia Technologies, Ericsson Research EAB/TVM
> ----------------------------------------------------------------------
> Ericsson AB                | Phone  +46 10 7148287
> Färögatan 6                | Mobile +46 73 0949079
> SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
> 
> 
> 
> 
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb

-- 
Emil Ivov, Ph.D.                       67000 Strasbourg,
Project Lead                           France
Jitsi
emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
http://jitsi.org                       FAX:   +33.1.77.62.47.31