Re: [rtcweb] Same location media

Michael Thornburgh <mthornbu@adobe.com> Thu, 20 October 2011 17:58 UTC

Return-Path: <mthornbu@adobe.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 3AF7811E8073 for <rtcweb@ietfa.amsl.com>; Thu, 20 Oct 2011 10:58:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 PGupEpiBR4+k for <rtcweb@ietfa.amsl.com>; Thu, 20 Oct 2011 10:58:25 -0700 (PDT)
Received: from exprod6og117.obsmtp.com (exprod6og117.obsmtp.com [64.18.1.39]) by ietfa.amsl.com (Postfix) with ESMTP id 1D85921F8BA8 for <rtcweb@ietf.org>; Thu, 20 Oct 2011 10:58:25 -0700 (PDT)
Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob117.postini.com ([64.18.5.12]) with SMTP; Thu, 20 Oct 2011 10:58:25 PDT
Received: from inner-relay-1.corp.adobe.com (ms-exchange.macromedia.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p9KHwMBb012829 for <rtcweb@ietf.org>; Thu, 20 Oct 2011 10:58:23 -0700 (PDT)
Received: from nacas02.corp.adobe.com (nacas02.corp.adobe.com [10.8.189.100]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id p9KHwL5S016652 for <rtcweb@ietf.org>; Thu, 20 Oct 2011 10:58:22 -0700 (PDT)
Received: from SJ1SWM219.corp.adobe.com (10.5.77.61) by nacas02.corp.adobe.com (10.8.189.100) with Microsoft SMTP Server (TLS) id 8.3.192.1; Thu, 20 Oct 2011 10:58:21 -0700
Received: from nambx05.corp.adobe.com ([10.8.189.124]) by SJ1SWM219.corp.adobe.com ([fe80::d55c:7209:7a34:fcf7%12]) with mapi; Thu, 20 Oct 2011 10:58:21 -0700
From: Michael Thornburgh <mthornbu@adobe.com>
To: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Date: Thu, 20 Oct 2011 10:58:19 -0700
Thread-Topic: [rtcweb] Same location media
Thread-Index: AQHMj0wPU0CJsEVX60m8ZdgWcrqP25WFfYHg
Message-ID: <02485FF93524F8408ECA9608E47D9F2007CACFEB28@nambx05.corp.adobe.com>
References: <CAD5OKxuJi_VS9fRc4P6GN-StWzMhMHAQ2MyO8zJVsMfEeQRftg@mail.gmail.com> <4EA050E9.6000705@skype.net> <BE42107B-AD91-4770-A88C-8A1F6899ADB5@acmepacket.com>
In-Reply-To: <BE42107B-AD91-4770-A88C-8A1F6899ADB5@acmepacket.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Subject: Re: [rtcweb] Same location media
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: Thu, 20 Oct 2011 17:58:26 -0000

correct. RTMP is over TCP to a server, and has the TCP handshake *plus* the RTMP handshake *plus* any application-level authentication required by the RTMP server.

RTMP can also be tunneled over HTTP.

RTMFP is over UDP and has its own 4-way handshake (see Matthew's presentation to tsv-area at IETF 77 for what that handshake looks like). when communicating with a server, a client must perform the RTMFP handshake plus any application-level authentication required by the server. to communicate with a peer (another client), a client must perform the RTMFP handshake with that peer, which requires knowing that peer's unique cryptographic peer ID. the handshake won't work if the destination doesn't speak RTMFP or if the destination isn't the peer that the initiator is trying to reach.

-mike

On Oct 20, 2011, at 10:17 AM, Hadriel Kaplan wrote:

> 
> I may be mis-understanding what type of consent you folks are talking about, but RTMP is over TCP.  
> For any TCP-based mechanism, you get some "consent" from the TCP SYN/ACK you get back from the far end, as opposed to say an ICMP port error.  Since the TCP layer won't send data until that, it's a natural consent gate.
> 
> RTMFP uses UDP but I believe there is in fact a handshake required in the beginning and that's effectively consent.
>  
> -hadriel
> 
> 
> On Oct 20, 2011, at 12:48 PM, Matthew Kaufman wrote:
> 
> > Flash can send media to ANY server that accepts the RTMP or RTMFP connection. (And obviously it can attempt to open a connection to any address using these protocols.)
> > 
> > The server can then examine headers to determine where the SWF file came from, etc.
> > 
> > The "consent" model for Flash is that if you speak RTMP or RTMFP, you understand what that is... and neither protocol looks like anything else on the wire.
> > 
> > Matthew Kaufman