Re: [Stox] Nickname Usage Conflict Resolution

Saúl Ibarra Corretgé <saul@ag-projects.com> Sat, 20 July 2013 13:48 UTC

Return-Path: <saul@ag-projects.com>
X-Original-To: stox@ietfa.amsl.com
Delivered-To: stox@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CCBBC11E8101 for <stox@ietfa.amsl.com>; Sat, 20 Jul 2013 06:48:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.432
X-Spam-Level:
X-Spam-Status: No, score=-0.432 tagged_above=-999 required=5 tests=[AWL=0.386, BAYES_00=-2.599, HELO_MISMATCH_NET=0.611, MIME_8BIT_HEADER=0.3, SARE_MLH_Stock1=0.87]
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 D7v5--FDt5ox for <stox@ietfa.amsl.com>; Sat, 20 Jul 2013 06:48:27 -0700 (PDT)
Received: from mail.sipthor.net (node06.dns-hosting.info [85.17.186.6]) by ietfa.amsl.com (Postfix) with ESMTP id BBE2F11E810A for <stox@ietf.org>; Sat, 20 Jul 2013 06:48:26 -0700 (PDT)
Received: by mail.sipthor.net (Postfix, from userid 5001) id 340CFB35DC; Sat, 20 Jul 2013 15:48:17 +0200 (CEST)
Received: from imac.saghul.lan (ip3e830637.speed.planet.nl [62.131.6.55]) by mail.sipthor.net (Postfix) with ESMTPSA id 5AD97B017C; Sat, 20 Jul 2013 15:48:17 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1085)
Content-Type: text/plain; charset="iso-8859-1"
From: Saúl Ibarra Corretgé <saul@ag-projects.com>
In-Reply-To: <D928759B0247C54198D70FCD4A07DD8E38E38B62@ASHBDAG1M2.resource.ds.bah.com>
Date: Sat, 20 Jul 2013 15:48:16 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <31EA9B37-9F4C-4473-A1BC-2B18759B865D@ag-projects.com>
References: <D928759B0247C54198D70FCD4A07DD8E38E38B62@ASHBDAG1M2.resource.ds.bah.com>
To: "De Vries, Michael [USA]" <devries_michael@bah.com>
X-Mailer: Apple Mail (2.1085)
Cc: "stox@ietf.org" <stox@ietf.org>
Subject: Re: [Stox] Nickname Usage Conflict Resolution
X-BeenThere: stox@ietf.org
X-Mailman-Version: 2.1.12
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: Sat, 20 Jul 2013 13:48:32 -0000

Hi Michael,

On Jul 20, 2013, at 1:07 AM, De Vries, Michael [USA] wrote:

> Hello everyone,
> 
> I have a concern with the suggested possible resolutions for a Nickname Usage Conflict in the draft-ietf-stox-groupchat-00 document.  In section 3.2, the document says
> 
> |   Alternatively [to translating the MSRP 425 message to a <conflict/> error],
> |   the gateway might generate a new nickname request on
> |   behalf of the XMPP user, thus shielding the XMPP client from handling
> |   the conflict error.
> 
> Additionally, section 5 says
> 
> |   If there is a conflict between the SIP nickname and the XMPP
> |   nickname, the SIP-to-XMPP or XMPP-to-SIP gateway is responsible for
> |   adjusting the nickname to avoid the conflict and for informing the
> |   SIP or XMPP client of the unique nickname used to join the chatroom.
> 
> First, section 3.2 suggests that the gateway may choose to generate a new nickname, but can instead merely forward on the translated MSRP 425 or <conflict/> error, whereas section 5 says that the gateway is responsible for (aka MUST) adjusting the nickname in the event of a conflict.  Both of these sections suggest that in the case of a nickname conflict the gateway may act independently of the client to change the client-generated nickname to one which is unique within the context of the chatroom.  I'm not certain this is the most appropriate approach.  Nicknames are important in that they are needed to facilitate private messaging and other features, as well as being an important part of user identification.  It seems risky to automatically generate a new nickname when a conflict is found, instead of merely presenting the error to the user (via MSRP 425 message or <conflict/> error) so that they can choose a new nickname via their client.  Additionally, a cursory examinatio
> n of the XMPP, MSRP, and MUC RFCs/XEPs does not appear to show any recommendation that nicknames be automatically generated in the event of a conflict.
> 
> I believe that it would be better to require that the gateway merely forward on the translated MSRP 425 or <conflict/> error instead of attempting to address the conflict automatically, but I may not sufficiently understand the reasoning behind the automated nickname resolution.
> 

I agree. This is how things are usually handled in MSRP. When testing things in XMPP however, not every client is able to properly deal with nickname conflicts though. Peter, maybe this was the reason why that text was added?


Regards,

--
Saúl Ibarra Corretgé
AG Projects