Re: [xmpp] Alexey Melnikov's Yes on draft-ietf-xmpp-3921bis-18: (with COMMENT)

Peter Saint-Andre <stpeter@stpeter.im> Mon, 03 January 2011 16:52 UTC

Return-Path: <stpeter@stpeter.im>
X-Original-To: xmpp@core3.amsl.com
Delivered-To: xmpp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 82AFC3A6935; Mon, 3 Jan 2011 08:52:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.462
X-Spam-Level:
X-Spam-Status: No, score=-102.462 tagged_above=-999 required=5 tests=[AWL=0.137, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q+yQjk5toK9o; Mon, 3 Jan 2011 08:52:55 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 4A22B3A67C0; Mon, 3 Jan 2011 08:52:52 -0800 (PST)
Received: from leavealone.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8D0004009B; Mon, 3 Jan 2011 10:09:09 -0700 (MST)
Message-ID: <4D21FF60.3070604@stpeter.im>
Date: Mon, 03 Jan 2011 09:54:56 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20110102193501.23611.4012.idtracker@localhost>
In-Reply-To: <20110102193501.23611.4012.idtracker@localhost>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="------------ms000404080700040709040806"
Cc: draft-ietf-xmpp-3921bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's Yes on draft-ietf-xmpp-3921bis-18: (with COMMENT)
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/xmpp>, <mailto:xmpp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Jan 2011 16:52:58 -0000

[cc'ing xmpp@ietf.org]

On 1/2/11 12:35 PM, Alexey Melnikov wrote:
> Alexey Melnikov has entered the following ballot position for
> draft-ietf-xmpp-3921bis-18: Yes
> 
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
> 
> Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
> for more information about IESG DISCUSS and COMMENT positions.
> 
> 
> 
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
> 
> In 4.3.2:
> 
>       Implementation Note: The handling of the 'id' attribute in
>       relation to presence probes was unspecified in RFC 3921.  Although
>       the pattern of "send a probe and receive a reply" might seem like
>       a request-response protocol similar to the XMPP <iq/> stanza, in
>       fact it is not because the response to a probe might consist of
>       multiple presence stanzas (one for each available resource
>       currently active for the contact).  For this reason, if the
>       contact currently has available resources then the contact's
>       server SHOULD preserve the 'id' attribute of the contact's
>       original presence stanza (if any) when sending those presence
>       notifications to the probing entity; however,
> 
> Use of "however" can be read as if the 'id' attribute is not to be returned
> in the case specified below, however it is still returned. I suggest dropping
> "however" here.

I suggest:

s/however/by contrast/

>       if the contact
>       currently has no available resources, the probing entity is not
>       authorized (via presence subscription) to see the contact's
>       presence, or an error occurs in relation to the proble, then the
>       contact's server SHOULD mirror the 'id' of the user's presence
>       probe when replying to the probing entity.
> 
> In 4.5.2:
> 
>    The user's server MUST also send the unavailable notification to all
>    of the user's available resources (including the resource that
>    generated the presence notification in the first place).
> 
> Comment: The text in (): but the resource is unavailable :-).

The resource is unavailable for presence purposes, but still connected
to the server. I can see how "including" confuses the reader, though. I
suggest:

   (as well as to the resource that generated the unavailable presence
   in the first place)

>    The <subject/> element MUST NOT contain mixed content (as defined in
>    Section 3.2.2 of [XML]).
> 
> Should the same be said about presence' <status> element?

Yes, and also for the <show/> and <priority/> children of <presence/>.

> 11.  Security Considerations
> 
>    o  A user's server MUST NOT leak the user's network availability to
>       entities who are not authorized to know the user's presence,
>       either via an explicit subscription as described herein or via an
>       existing trust relationship (such as presence-enabled user
>       directories within organizations).
> 
> I don't understand this paragraph. If a user is subscribed to presence,
> then she is authorized to know user's presence?

I don't understand your lack of understanding. :) But perhaps this is
clearer:

   o  A user's server MUST NOT leak the user's network availability to
      entities who are not authorized to know the user's presence, where
      authorization typically takes the form of an explicit subscription
      from a contact to the user (as described under Section 3) but
      might take the form of an existing trust relationship (such as a
      presence-enabled employee directory within an organization that
      mandates the sharing of presence information as part of an
      employment agreement).

Peter

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