Re: [rtcweb] draft-jesup-rtcweb-data-00 posted

Randell Jesup <randell-ietf@jesup.org> Tue, 25 October 2011 14:47 UTC

Return-Path: <randell-ietf@jesup.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 117F021F8B7E for <rtcweb@ietfa.amsl.com>; Tue, 25 Oct 2011 07:47:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.549
X-Spam-Level:
X-Spam-Status: No, score=-2.549 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599]
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 cBQw5bgmjzvD for <rtcweb@ietfa.amsl.com>; Tue, 25 Oct 2011 07:47:45 -0700 (PDT)
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [173.236.101.58]) by ietfa.amsl.com (Postfix) with ESMTP id 2AD0E21F8B64 for <rtcweb@ietf.org>; Tue, 25 Oct 2011 07:47:44 -0700 (PDT)
Received: from pool-173-49-141-165.phlapa.fios.verizon.net ([173.49.141.165] helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <randell-ietf@jesup.org>) id 1RIiI3-0000Fn-Io; Tue, 25 Oct 2011 09:47:43 -0500
Message-ID: <4EA6CAEA.5060906@jesup.org>
Date: Tue, 25 Oct 2011 10:42:50 -0400
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: rtcweb@ietf.org
References: <4EA5EA46.1010803@jesup.org> <D3C41C1C-3586-4A22-8040-C7F0E22B41A7@acmepacket.com>
In-Reply-To: <D3C41C1C-3586-4A22-8040-C7F0E22B41A7@acmepacket.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - r2-chicago.webserversystems.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jesup.org
X-Source:
X-Source-Args:
X-Source-Dir:
Cc: Michael Tuexen <tuexen@fh-muenster.de>
Subject: Re: [rtcweb] draft-jesup-rtcweb-data-00 posted
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, 25 Oct 2011 14:47:46 -0000

On 10/25/2011 4:02 AM, Hadriel Kaplan wrote:
>
> Hi Randell,
> What do you think about the following additional requirements:
>
> Req. 7: Data streams MUST provide fragmentation at a layer above UDP, such
 > that IP-layer fragmentation does not occur no matter how large a 
message/buffer
 > the Javascript application passes down to the Browser to be sent out.
>
> Req. 8: The data stream transport protocol MUST NOT encode IP addresses
> inside its protocol fields; doing so reveals potentially private information,
 > and leads to failure if the address is depended upon.
>
> Req. 9: The data stream protocol SHOULD support unbounded-length "messages"
> (i.e., a virtual socket stream) at the application layer, for such things as
> image-file-transfer; or else it MUST support at least a maximum
 > application-layer message size of 4GB.
>
> Req. 10: The data stream packet format/encoding MUST be such that it is
 > impossible for a malicious Javascript to generate an application message
 > crafted such that it could be interpreted as a native protocol over UDP -
 > such as UPnP, RTP, SNMP, STUN, etc.

Thanks, those look useful.  I'm not sure if Req 8 should be reworded to 
be more explicit (local IP address?)  For Req 7, I think that when 
applied to unreliable data channels, entire fragmented messages must be 
delivered or none of the fragments delivered to the application.

> I believe SCTP can do 7+8+9 the above if its options are chosen right, and of course TCP can.

Yes, I believe so - for Req 9, SOCK_STREAM can be used to provide a 
TCP-like interface to SCTP.

Do any of the above only apply to reliable data channels, in particular 
Req 9?

> And I'm guessing DTLS will satisfy 10 above, as would websockets-style masking.

Yes.


-- 
Randell Jesup
randell-ietf@jesup.org