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

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 25 April 2012 20:17 UTC

Return-Path: <christer.holmberg@ericsson.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 B3F6C21F88F5 for <sipcore@ietfa.amsl.com>; Wed, 25 Apr 2012 13:17:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.982
X-Spam-Level:
X-Spam-Status: No, score=-5.982 tagged_above=-999 required=5 tests=[AWL=-0.033, BAYES_00=-2.599, HELO_EQ_SE=0.35, 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 fmEvhthUJYgp for <sipcore@ietfa.amsl.com>; Wed, 25 Apr 2012 13:17:38 -0700 (PDT)
Received: from mailgw1.ericsson.se (mailgw1.ericsson.se [193.180.251.45]) by ietfa.amsl.com (Postfix) with ESMTP id 85AEF21F8910 for <sipcore@ietf.org>; Wed, 25 Apr 2012 13:17:37 -0700 (PDT)
X-AuditID: c1b4fb2d-b7b76ae0000063d8-df-4f985bde9b4b
Authentication-Results: mailgw1.ericsson.se x-tls.subject="/CN=esessmw0197"; auth=fail (cipher=AES128-SHA)
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client CN "esessmw0197", Issuer "esessmw0197" (not verified)) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id C9.D9.25560.FDB589F4; Wed, 25 Apr 2012 22:17:35 +0200 (CEST)
Received: from ESESSCMS0356.eemea.ericsson.se ([169.254.1.64]) by esessmw0197.eemea.ericsson.se ([153.88.115.87]) with mapi; Wed, 25 Apr 2012 22:17:34 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Iñaki Baz Castillo <ibc@aliax.net>, "Ravindran, Parthasarathi" <pravindran@sonusnet.com>
Date: Wed, 25 Apr 2012 22:17:34 +0200
Thread-Topic: [sipcore] Websocket is a new transport or new URI?
Thread-Index: Ac0jCHX93F1n4ssFTA2hwyO6X81KXQAFwsQT
Message-ID: <7F2072F1E0DE894DA4B517B93C6A05852C4400131D@ESESSCMS0356.eemea.ericsson.se>
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>
In-Reply-To: <CALiegf=6Q1L-wboU6MLKZAEXgP+hUCbQh6YHU1XkTE3wFZzXAg@mail.gmail.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="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
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: Wed, 25 Apr 2012 20:17:38 -0000

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