Re: [sipcore] Websocket is a new transport or new URI?

"Ravindran, Parthasarathi" <pravindran@sonusnet.com> Thu, 26 April 2012 08:52 UTC

Return-Path: <pravindran@sonusnet.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B92C21F86FC for <sipcore@ietfa.amsl.com>; Thu, 26 Apr 2012 01:52:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.349
X-Spam-Level:
X-Spam-Status: No, score=-6.349 tagged_above=-999 required=5 tests=[AWL=-0.050, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
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 MuIzh1bzq8R1 for <sipcore@ietfa.amsl.com>; Thu, 26 Apr 2012 01:52:31 -0700 (PDT)
Received: from na3sys010aog109.obsmtp.com (na3sys010aog109.obsmtp.com [74.125.245.86]) by ietfa.amsl.com (Postfix) with ESMTP id 71C1921F8621 for <sipcore@ietf.org>; Thu, 26 Apr 2012 01:52:31 -0700 (PDT)
Received: from USMA-EX-HUB2.sonusnet.com ([69.147.176.212]) (using TLSv1) by na3sys010aob109.postini.com ([74.125.244.12]) with SMTP ID DSNKT5kMzm8x6nZRRV6vGEYZDFpqVZZoAbe0@postini.com; Thu, 26 Apr 2012 01:52:31 PDT
Received: from INBA-HUB02.sonusnet.com (10.70.51.87) by USMA-EX-HUB2.sonusnet.com (66.203.90.17) with Microsoft SMTP Server (TLS) id 14.2.247.3; Thu, 26 Apr 2012 04:52:32 -0400
Received: from INBA-MAIL01.sonusnet.com ([fe80::8d0f:e4f9:a74f:3daf]) by inba-hub02.sonusnet.com ([fe80::80b9:dc60:caf7:7dfc%11]) with mapi id 14.01.0355.002; Thu, 26 Apr 2012 14:22:23 +0530
From: "Ravindran, Parthasarathi" <pravindran@sonusnet.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Iñaki Baz Castillo <ibc@aliax.net>
Thread-Topic: [sipcore] Websocket is a new transport or new URI?
Thread-Index: AQHNIDOCuN/qLU9tjk656lTA6m0G85am5VEAgAD8KaCAAD8sgIABv2aw//+u7wCAAHdUgIABOZfAgAA0PwCAADAmAIABKHSQ
Date: Thu, 26 Apr 2012 08:52:22 +0000
Message-ID: <387F9047F55E8C42850AD6B3A7A03C6C0E23A7FF@inba-mail01.sonusnet.com>
References: <CALiegfmw+ouWqoVbsiMuq2CJ4TxkeREVVbw308FzwKpUUrw7tw@mail.gmail.com> <CALiegfkNBi7guNML-oAF5-OUAo2ZXAjXYDo_MShLc4SiOW_wOA@mail.gmail.com> <387F9047F55E8C42850AD6B3A7A03C6C0E228035@inba-mail01.sonusnet.com> <52EA773E-0FA0-4625-8E1F-6D10E543137A@ag-projects.com> <387F9047F55E8C42850AD6B3A7A03C6C0E228062@inba-mail01.sonusnet.com> <FA41E993-B940-4FE6-9352-E9539E56A971@ag-projects.com> <387F9047F55E8C42850AD6B3A7A03C6C0E228098@inba-mail01.sonusnet.com> <CALiegf=q1HE4bn1dgDz7RqKFe3NCDxr3vOWtR5DTevWAo0rK6A@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852C42DF5E46@ESESSCMS0356.eemea.ericsson.se> <4F8ECB82.7070805@ericsson.com> <387F9047F55E8C42850AD6B3A7A03C6C0E228C1B@inba-mail01.sonusnet.com> <4F9460AC.2080605@alum.mit.edu> <387F9047F55E8C42850AD6B3A7A03C6C0E231B57@inba-mail01.sonusnet.com> <4F956931.7090404@alum.mit.edu> <387F9047F55E8C42850AD6B3A7A03C6C0E2380B2@inba-mail01.sonusnet.com> <4F969C7E.3070107@digium.com> <4F970097.5020002@alum.mit.edu> <387F9047F55E8C42850AD6B3A7A03C6C0E239306@inba-mail01.sonusnet.com>, <CALiegf=6Q1L-wboU6MLKZAEXgP+hUCbQh6YHU1XkTE3wFZzXAg@mail.gmail.com> <7F2072F1E0DE894DA4B517B93C6A05852C4400131D@ESESSCMS0356.eemea.ericsson.se>
In-Reply-To: <7F2072F1E0DE894DA4B517B93C6A05852C4400131D@ESESSCMS0356.eemea.ericsson.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.70.54.41]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "sipcore@ietf.org" <sipcore@ietf.org>
Subject: Re: [sipcore] Websocket is a new transport or new URI?
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Apr 2012 08:52:32 -0000

Hi Christer,

When I argued for new URI, the contact shall use new URI with 
the existing TCP transport like

   sipws:alice@example.com;transport=tcp

"sipws" URI shall be compare with "ws" URI in Websocket protocol 
(Sec 3 of RFC 6455). 

Thanks
Partha

>-----Original Message-----
>From: Christer Holmberg [mailto:christer.holmberg@ericsson.com]
>Sent: Thursday, April 26, 2012 1:48 AM
>To: Iñaki Baz Castillo; Ravindran, Parthasarathi
>Cc: sipcore@ietf.org
>Subject: RE: [sipcore] Websocket is a new transport or new URI?
>
>Hi,
>
>I agree with Inaki.
>
>Whatever "layer" we consider the WebSocket to be, in my opinion the URI
>scheme is used for addressing (either as an AOR or a contact), and
>should be independent of the transport.
>
>For what would the new scheme be needed  anyway?
>
>Regards,
>
>Christer
>
>
>
>
>________________________________________
>From: sipcore-bounces@ietf.org [sipcore-bounces@ietf.org] On Behalf Of
>Iñaki Baz Castillo [ibc@aliax.net]
>Sent: Wednesday, April 25, 2012 8:25 PM
>To: Ravindran, Parthasarathi
>Cc: sipcore@ietf.org
>Subject: Re: [sipcore] Websocket is a new transport or new URI?
>
>Hi Partha,
>
>
>2012/4/25 Ravindran, Parthasarathi <pravindran@sonusnet.com>:
>> So IMO, it is more appropriate to define new URI scheme like SIPWS
>> rather than defining websocket as a transport.
>
>
>The SIP transport defined by this draft is WebSocket, instead of TCP.
>WebSocket (RFC 6455) is defined to work on top of TCP but, even if a
>future spec defines WebSocket to run over SCTP, the SIP transport would
>still be "WebSocket" (or perhaps "WebSocket-SCTP" but that something in
>which I won't waste time now given the fact that RFC 6455
>*mandates* TCP layer-3 transport and does not leave the door open for
>other layer-3 transports).
>
>WebSocket is, indeed, a layer on top of a network transport (layer 3)
>but it's designed to work as a *transport* layer since it defines a
>framing mechanism to send application messages and control mesages in
>both directions. Applications (i.e. JavaScript scripts, PHP/Java web
>apps) use WebSocket as a transport layer.
>
>You can find lot of cases in which a transport runs on top of other
>transports. For example, in the recent IETF #83 the RTCWEB WG approved
>(or discussed) SCTP-over-DTLS-over-ICE-over-UDP as the transport for the
>WebRTC Data-Channel mechanism. A "transport" does not necessarily mean
>"layer 3 network transport".
>
>
>
>About SIPS, the last S in SIPS stands for "secure" regardless of the
>undelying SIP transport used. AFAIK it does not necessarily mean "TLS".
>Take for example draft-jennings-sip-dtls-05 [1] which defines SIP over
>DTLS over UDP. The draf is expired, but anyhow, it defines a secure SIP
>transport which does not use TLS but DTLS (which is similar but NOT the
>same). The draft also allows SIPS messages through DTLS over UDP.
>
>[1] http://tools.ietf.org/html/draft-jennings-sip-dtls-05
>
>
>When a SIPS message is carried on top of a secure WebSocket connection
>(which means SIP over WebSocket over TLS over TCP) the security level is
>basically the same as if it was SIP over TLS over TCP. Therefore I
>consider that a secure WebSocket connection fits the requirements of the
>SIPS mechanism, thus secure WebSocket should be considered as a secure
>SIP transport.
>
>
>
>About the SIPWS and SIPWSS schemas you propose, don't take me wrong but
>I consider that the worst possible idea. First of all because I don't
>agree with your rationale (I insist that, from the point of view of a
>SIP stack, WebSocket is the ***SIP transport***, instead of TCP).
>Secondly, because adding new URI schemas would just break the existing
>SIP world (there are still some SIP entities that don't understand SIPS
>schema and you are proposing two new ones?).
>
>
>Thanks a lot for your comments.
>
>
>--
>Iñaki Baz Castillo
><ibc@aliax.net>
>_______________________________________________
>sipcore mailing list
>sipcore@ietf.org
>https://www.ietf.org/mailman/listinfo/sipcore