Re: [Stox] I-D Action: draft-ietf-stox-groupchat-05.txt

Peter Saint-Andre - &yet <peter@andyet.net> Thu, 09 October 2014 02:18 UTC

Return-Path: <peter@andyet.net>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD6E01A8A15 for <stox@ietfa.amsl.com>; Wed, 8 Oct 2014 19:18:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lvXm7EalFjhb for <stox@ietfa.amsl.com>; Wed, 8 Oct 2014 19:18:14 -0700 (PDT)
Received: from mail-oi0-f53.google.com (mail-oi0-f53.google.com [209.85.218.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BFC461A8A13 for <stox@ietf.org>; Wed, 8 Oct 2014 19:18:14 -0700 (PDT)
Received: by mail-oi0-f53.google.com with SMTP id v63so765030oia.12 for <stox@ietf.org>; Wed, 08 Oct 2014 19:18:14 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=jeFueFrzf/UEdLQ0aqjw9LB4s4oYCv0U992IEXV10PY=; b=ONCQkEdCC5EPeQKNswvKbs3+KO/nCDKHlca6UJ5bnrfWEeJ5PU10FB/5DH/XtFe3yO Etr8lZeQw1nKrfiOQxR53TCi7ukaHNTNV9NUbx6IBXnSfQLN23qbAVm7xrBNNAT/0220 0xl19LbQHaNVp3l9K4FNRPmO1+J0MJlWme+A01yFoS6irgHDKlmI8Gx4chilMB/9/DLu UZhu040iod2Pr3/zSBEJriwhi/q/zYQh9FF2du9JjlJZhGavKSgcv2cWztqQTnCo8byZ k5wGOmWOEOxvvDyUMj5C4wIHj+deprxdzYu4WmDNCsAx7dCgKJsOG5tAs9f0imjKIeVw DyvQ==
X-Gm-Message-State: ALoCoQnK3UKkBBd6whLnd1tJtYeKRgx/VkYAIEOsu+AKTSZDy5fobe+MkTfk8AxNjFZbLI4grnXz
X-Received: by 10.60.65.8 with SMTP id t8mr18044628oes.47.1412821094181; Wed, 08 Oct 2014 19:18:14 -0700 (PDT)
Received: from aither.local (c-73-34-202-214.hsd1.co.comcast.net. [73.34.202.214]) by mx.google.com with ESMTPSA id kp9sm1717490obb.2.2014.10.08.19.18.13 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 08 Oct 2014 19:18:13 -0700 (PDT)
Message-ID: <5435F064.3060901@andyet.net>
Date: Wed, 08 Oct 2014 20:18:12 -0600
From: Peter Saint-Andre - &yet <peter@andyet.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: Ben Campbell <ben@nostrum.com>
References: <20140611034449.8863.29452.idtracker@ietfa.amsl.com> <5397D10B.3060806@stpeter.im> <FAD8D3C3-9976-4813-86BF-64CE9247F63C@nostrum.com> <53A3B016.6060202@stpeter.im> <ED7FABAE-27C2-44A4-A0F9-D59130166DE2@nostrum.com> <53F49F36.8090705@stpeter.im>
In-Reply-To: <53F49F36.8090705@stpeter.im>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/stox/GMDOIH6iqMXOViMuZaOqrdX3Hko
Cc: stox@ietf.org
Subject: Re: [Stox] I-D Action: draft-ietf-stox-groupchat-05.txt
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: SIP-TO-XMPP Working Group discussion list <stox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/stox>, <mailto:stox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/stox/>
List-Post: <mailto:stox@ietf.org>
List-Help: <mailto:stox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/stox>, <mailto:stox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 09 Oct 2014 02:18:17 -0000

On 8/20/14, 7:14 AM, Peter Saint-Andre wrote:
> On 6/20/14, 2:31 PM, Ben Campbell wrote:
>>
>> On Jun 19, 2014, at 10:52 PM, Peter Saint-Andre <stpeter@stpeter.im>
>> wrote:
>>
>>> On 6/19/14, 3:49 PM, Ben Campbell wrote:
>>>> Hi Peter,
>>>>
>>>> [Disclaimer: this was a higher level review than for the previous
>>>> version--I mainly looked to see how the previous discussions about
>>>> the architecture rendered into the draft. ]
>>>>
>>>> This version is much improved. I think you've gotten the "FAIL" off
>>>> of it. But of course, cleaning up the architecture reveals a few
>>>> things :-)
>>>>
>>>> Section 4:
>>>>
>>>> I think the addition of section 4 helps a lot in general.
>>>>
>>>> The architecture treats the MSRP Conference server to be a monolithic
>>>> thing.
>>>
>>> As you pointed out later in this thread, this is a simplifying
>>> assumption to make the diagrams and explanations easier to follow.
>>
>> Do you concur that that assumption should be pointed out? (Or did I
>> miss some place where it is already?)
>
> Hi Ben, I've continued to think about this. I now conclude it would be
> better to show the proper architecture: i.e., signalling traffic from
> the XMPP side is sent to the conference focus, and groupchat media
> traffic is sent to the MSRP switch. This is especially important because
> in the XMPP world we don't consider groupchat messages to be "media".
> Making this clear in the text, diagrams, and protocol flows will help
> developers understand the differences.
>
> I'll work these concepts into the next version of the I-D, which I hope
> to work on in the next week or two.

Sorry about being so slow.

When I look at draft-ietf-simple-chat, I see that the conference focus 
and the MSRP switch both have the same address, although the URIs differ 
because the focus has a SIP URI and the switch has an MSRP URI. The 
focus seems to inform the participant about the MSRP URI to contact 
using an SDP a= line specifying a "path" attribute, such as:

a=path:msrp://chat.example.com:7654/jshA7weztas;tcp

Is it allowable for the focus to have an address different from the 
switch? For example, could we have an architecture like this?

    ####################################################################
    #                                                                  #
    #                +------------------+                              #
    #                | msrp.example.org |%%%%%%%%%%%%                  #
    #            &&&&| (MSRP switch) +-----+        %                  #
    #            &   +---------------| M2X |        %                  #
    #            &           %       | GW  |...     %                  #
    #            &           %       +-----+  .  +-----+               #
    #            &           %                .  | X2M |               #
    #            &           %           +-------| GW  |--+            #
    #            &           %           |       +-----+  |            #
    #  +------------------+  %       +-----+    +-------------------+  #
    #  | chat.example.org |**********| X2S |    | muc.example.com   |  #
    #  | (conference      |  %       | GW  |    | (MUC service)     |  #
    #  | focus)     +-----+  %       +-----+    +-------------------+  #
    #  +------------| S2X |  %           | example.com    |            #
    #        *      | GW  |..............| (XMPP server)  |            #
    #        *      +-----+  %           +----------------+            #
    #        *               %                 .                       #
    #        *               %                 .                       #
    #        romeo@example.org           juliet@example.com            #
    #                                                                  #
    ####################################################################

Where:

    . = XMPP
    % = MSRP
    * = SIP
    & = app-specific

I ask because having a separate address for the switch (effectively 
redirecting from the focus to the switch) might introduce challenges 
with authorization of entities on the XMPP side (e.g., a client or 
server might whitelist the focus address but that authorization decision 
wouldn't apply to the switch address).

For now, while editing draft-ietf-stox-groupchat I will keep the focus 
and switch addresses the same.

Peter

--
Peter Saint-andre
https://andyet.com/


-- 
Peter Saint-Andre
https://andyet.com/