Re: [sipcore] Open issues in draft-ietf-sipcore-sip-websocket-09

Iñaki Baz Castillo <ibc@aliax.net> Fri, 05 July 2013 09:27 UTC

Return-Path: <ibc@aliax.net>
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 5D70C21F9E70 for <sipcore@ietfa.amsl.com>; Fri, 5 Jul 2013 02:27:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.636
X-Spam-Level:
X-Spam-Status: No, score=-2.636 tagged_above=-999 required=5 tests=[AWL=0.041, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
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 F9pR5+wj7Tg9 for <sipcore@ietfa.amsl.com>; Fri, 5 Jul 2013 02:27:23 -0700 (PDT)
Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) by ietfa.amsl.com (Postfix) with ESMTP id 2F33721F9FFA for <sipcore@ietf.org>; Fri, 5 Jul 2013 02:27:23 -0700 (PDT)
Received: by mail-qa0-f52.google.com with SMTP id bv4so1132053qab.4 for <sipcore@ietf.org>; Fri, 05 Jul 2013 02:27:22 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=mSXFskylD2aI4vUkKJf3QP4rs3hBUJxltoZ3C0hrwAU=; b=LqcUOGWZKJsLuA4akIXz8DKxVGoq6/JCj6gXYTiKuOtO5ygaM46Hq7C0Lq7kQAiK4k aIwUJjhySj+H1aEb05SPQkwlAjKAU92aU08dMjkKDsdjHJmVCYU4xG16ZDNblOCZZ7Kw AVgmLpl11eoSgMekFI+OuJ4Clwx366c9L2zpm8PuFXvvcqFBECZCZnFC5OSV5hMfmb+R L435Zdx0DVkLvYCr25+Aft+cZRg0n1O2L+FVWF10hrgoAtev4VI04fLaAIVvE74p3Szz v0pS5ymIsnwEs7WMkEuw8iU+WRRLdKlGNpdZxzPtY8/0Cl31OEadTwaHivXT+GLENqux RQPg==
X-Received: by 10.224.90.1 with SMTP id g1mr9119034qam.0.1373016442529; Fri, 05 Jul 2013 02:27:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.72.132 with HTTP; Fri, 5 Jul 2013 02:27:02 -0700 (PDT)
In-Reply-To: <51CC52F0.3050809@alum.mit.edu>
References: <CALiegfmtohM8Nnf34o2EqMr-jV-LaQBP7mOB5qq+7OcQO9FkSA@mail.gmail.com> <003f01ce6aaf$aabda760$0038f620$@co.in> <CALiegfn=KrEsOT+HGkCpfkS3C7Tc0Jko6kautCHk3sP8zHrzVw@mail.gmail.com> <011e01ce6c44$3c70e290$b552a7b0$@co.in> <CALiegfnPeFf751QHLoeT_jO0u1LROtvkqseE7QcAZvLgSiqVZQ@mail.gmail.com> <E54AEADE791D51469F45E7FBB964391505C964@SGSIMBX001.nsn-intra.net> <019a01ce6d24$8ee95670$acbc0350$@co.in> <CALiegfkFVJgNNLJat+3v4JqXz_=OwLPTDtR6J55dRLmiH8OgFg@mail.gmail.com> <51C3267F.8040709@alum.mit.edu> <002301ce713c$c2672880$47357980$@co.in> <51CB0532.3020107@alum.mit.edu> <CAPms+wSKhMf9XEnNJpSnQ+w-pbTPE7oQtkESrUpvrcvHTZ_OOw@mail.gmail.com> <51CC52F0.3050809@alum.mit.edu>
From: Iñaki Baz Castillo <ibc@aliax.net>
Date: Fri, 05 Jul 2013 11:27:02 +0200
Message-ID: <CALiegf=n0ePTjxfeJ0aWFL1oR_uEUkKaYi0Uh9Or_eG2Z1ZzQw@mail.gmail.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmCheGcUegGmvRb+WJT+quH0ByoHVNw/QTix2LlFF1Fj/2HTao0CRxksWGbPBJfT53Wnscw
Cc: "SIPCORE (Session Initiation Protocol Core) WG" <sipcore@ietf.org>
Subject: Re: [sipcore] Open issues in draft-ietf-sipcore-sip-websocket-09
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: Fri, 05 Jul 2013 09:27:28 -0000

2013/6/27 Paul Kyzivat <pkyzivat@alum.mit.edu>:
> The simple answer would be that websocket proxy handling a dialog
> establishing request should *always* R-R. But there has been an assertion
> that there may be some sip-websocket UACs that are also capable of being
> sip-websocket servers. In that case, it would be desirable for the proxy to
> *not* R-R, so that it won't be in the signaling path for the entire dialog.
> But how would the proxy know that it is safe to not R-R?
>
> One thing that comes to mind for me is that the UAC could decide whether or
> not to tag its contact URI with ";gr". If it were so tagged, then that says
> it is globally routable, so it would be safe for the proxy to bypass the
> R-R. If the contact isn't a gruu, then the proxy would decide that it must
> R-R.

Hi, let me show a similar example:

  alice --- (SCTP) --- Proxy --- (UDP) --- bob

- alice calls to bob with Contact SCTP URI.

- bob does not implement SCTP.

- if Proxy does not R-R then bob has no way to contact alice for
sending her in-dialog requests.

Now my question: how does the proxy know whether it must do R-R or not
in this scenario?

IMHO there is no reply for this question, and anyhow, this is not an
issue related to SIP-over-WS. So IMHO there is no need to address this
issue into the draft (instead it should be covered in some other work
like RFC 5626bis or RFC 5627bis). Am I wrong?

Whether the proxy does R-R or not if decided by local policy. It's
safe for a proxy to always add R-R in connections from clients (via
UDP, TCP, WS transports). And as Paul pointed out, the proxy could
decide not to add R-R in case the UA's Contact has ;gr so R-R is not
needed.



Please let me insist on it a bit more:

>  But there has been an assertion
> that there may be some sip-websocket UACs that are also capable of being
> sip-websocket servers. In that case, it would be desirable for the proxy to
> *not* R-R, so that it won't be in the signaling path for the entire dialog.
> But how would the proxy know that it is safe to not R-R?

Any TCP SIP UA is capable of listening for incoming connections but
that does not mean that the proxy should not R-R. If the UA is behind
NAT then RFC 5626 must be used (I avoid here proprietary similar
mechanisms), and RFC 5626 *alreay* mandates R-R for such a mechanism
to work. If GRUU is also in use then the proxy can decide not to R-R
(not needed since incoming requests will arrive via the registration
path which will of course include Outbound stuff).


So honestly, I don't understand why draft-ietf-sipcore-sip-websocket
should address issues that are not different than when using other
transports, and that are already covered by other specifications.
Correct me if I'm wrong.


Best regards.


--
Iñaki Baz Castillo
<ibc@aliax.net>