Re: [Stox] Review on -im

Peter Saint-Andre <stpeter@stpeter.im> Wed, 31 July 2013 15:13 UTC

Return-Path: <stpeter@stpeter.im>
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 DE1CD21F9B53 for <stox@ietfa.amsl.com>; Wed, 31 Jul 2013 08:13:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.861
X-Spam-Level:
X-Spam-Status: No, score=-101.861 tagged_above=-999 required=5 tests=[AWL=-0.432, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SARE_MLH_Stock1=0.87, USER_IN_WHITELIST=-100]
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 b2O+zutGW-4l for <stox@ietfa.amsl.com>; Wed, 31 Jul 2013 08:13:25 -0700 (PDT)
Received: from stpeter.im (mailhost.stpeter.im [207.210.219.225]) by ietfa.amsl.com (Postfix) with ESMTP id DBBD121F9B7F for <stox@ietf.org>; Wed, 31 Jul 2013 08:13:25 -0700 (PDT)
Received: from che-vpn-cluster-2-456.cisco.com (unknown [198.135.0.233]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 1A99A40046; Wed, 31 Jul 2013 09:15:39 -0600 (MDT)
Message-ID: <51F92992.4070802@stpeter.im>
Date: Wed, 31 Jul 2013 17:13:22 +0200
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7
MIME-Version: 1.0
To: Saúl Ibarra Corretgé <saul@ag-projects.com>
References: <7AE79F98-B222-4BBC-BC02-1606AF8F34A9@ag-projects.com> <51F9238D.106@stpeter.im> <4DFDCC4B-9568-4BA9-A3F5-C466E8549DCE@ag-projects.com>
In-Reply-To: <4DFDCC4B-9568-4BA9-A3F5-C466E8549DCE@ag-projects.com>
X-Enigmail-Version: 1.5.2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Cc: "stox@ietf.org" <stox@ietf.org>
Subject: Re: [Stox] Review on -im
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: Wed, 31 Jul 2013 15:13:31 -0000

On 7/31/13 5:07 PM, Saúl Ibarra Corretgé wrote:
> 
> On Jul 31, 2013, at 4:47 PM, Peter Saint-Andre <stpeter@stpeter.im>
> wrote:
> 
>> On 7/30/13 4:19 PM, Saúl Ibarra Corretgé wrote:
>>> Hi,
>>> 
>>> Here is my review on the -im document:
>>> 
>>> - Section 3 suggests that the thread element in XMPP should be
>>> mapped to the Call-ID header. I see why this was done, but it
>>> looks a bit like abusing it.
>> 
>> What are your specific concerns? Would something break? Is it
>> insecure? Does it horribly violate the semantics defined in RFC
>> 3261? I thought it was a pretty good match:
>> 
>> The Call-ID header field acts as a unique identifier to group 
>> together a series of messages.
>> 
>> But maybe I don't understand the "oral tradition" of how Call-ID
>> has actually be used.
>> 
> 
> It doesn't horribly violate it, but it's use has been to correlate
> messages within a dialog, together with the tags. Since MESSAGE
> requests could come retransmitted when using UDP, duplicated Call-ID
> detection is a way to avoid it.

Ah, I see.

>>> I would probably take it out or define it as a CPIM header, in
>>> case CPIM is used. Thoughts?
>> 
>> I don't see a header in RFC 3862 that we could map to. Our charter
>> says we're not allowed to define new protocols. Someone could
>> define a new CPIM header, but I don't think that would be widely
>> adopted anytime soon.
>> 
> 
> I see. In that case I'd go for not really mapping it, but I won't
> fight to death if you leave it in ;-) However, since this document is
> for single messages ('normal' or 'headline' in XMPP), not sure if the
> thread is all that useful.

I see your point.

>>> - Section 5 only mentions text/plain and text/html, I think we
>>> should add message/cpim in there.
>> 
>> No objections here.
>> 
>>> - Similarly to chat, I think we should define a mapping between
>>> XMPP chatstates (XEP-0085) and the iscomosing indication (RFC
>>> 3994), but in this case there would be no mapping for the 'gone'
>>> state.
>> 
>> The stox-im spec is only for single messages, so I don't see how
>> chat states apply.
>> 
> 
> Hum, I think you are right, that would apply if we created a -chat
> equivalent document but mapping chat sessions to SIP MESSAGE it would
> be useful, but not here, forget it.

Agreed.

>> (This document might be the place to talk about message receipts,
>> however.)
>> 
> 
> Why? These are just one-off messages, aren't they?

Well, the sender might really really want to know if the message was
delivered to the recipient. :-)

My feeling about message receipts is that we leave them out for now and
maybe define a mapping for them in another specification, but I am open
to persuasion on the topic.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/