
From dave@cridland.net  Fri Oct  1 01:40:47 2010
Return-Path: <dave@cridland.net>
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 7C97A3A69F2 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 01:40:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.498
X-Spam-Level: 
X-Spam-Status: No, score=-2.498 tagged_above=-999 required=5 tests=[AWL=0.101,  BAYES_00=-2.599]
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 0qbJtvkDyusx for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 01:40:45 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 1C0383A6BD9 for <xmpp@ietf.org>; Fri,  1 Oct 2010 01:40:44 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 7BE4811680D7; Fri,  1 Oct 2010 09:41:31 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ob+wdn31PIM3; Fri,  1 Oct 2010 09:41:20 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id CF48011680CA; Fri,  1 Oct 2010 09:41:20 +0100 (BST)
References: <4CA4FBB6.4070809@stpeter.im> <201009302342.18960.justin@affinix.com>
In-Reply-To: <201009302342.18960.justin@affinix.com>
MIME-Version: 1.0
Message-Id: <11166.1285922480.836067@puncture>
Date: Fri, 01 Oct 2010 09:41:20 +0100
From: Dave Cridland <dave@cridland.net>
To: Justin Karneges <justin@affinix.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 08:40:47 -0000

That was an excellent summary, thanks.

The only thing I'd add is that the approach I suggested appears (to  
me) to be compatible with both the "bare jid ordering" and the  
specific case of MUC traffic ordering which started the debate.

Essentially, MUC operates by having a service on a domain, bare jids  
used for rooms, and full jids used for occupants of those rooms.

Various traffic within a room (ie, from multiple different full jids)  
essentially relies on being ordered (at least relative to other  
traffic from the bare jid of the room). This in turn means that if  
ordering is specifically only reliable for full jid pairs, then MUC  
no longer works - this is obviously undesirable.

Ordering to a bare jid is quite tricky - this may result in trying to  
synchronize delivery between two streams, and if one fails (and a  
redelivery occurs, for example due to XEP-0198) then out-of-order  
delivery is fairly unavoidable, except by drastic action (such as  
awaiting a XEP-0198 ack from one stream prior to sending on another).

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From holler@ahsoftware.de  Fri Oct  1 05:12:46 2010
Return-Path: <holler@ahsoftware.de>
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 6F3EB3A6EF9 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 05:12:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.49
X-Spam-Level: 
X-Spam-Status: No, score=-0.49 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, HOST_MISMATCH_NET=0.311]
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 J9aotCle5h92 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 05:12:45 -0700 (PDT)
Received: from mail.ahsoftware.de (h1047321.serverkompetenz.net [85.214.67.163]) by core3.amsl.com (Postfix) with ESMTP id 818AB3A701A for <xmpp@ietf.org>; Fri,  1 Oct 2010 05:11:42 -0700 (PDT)
Received: by mail.ahsoftware.de (Postfix, from userid 65534) id 934D259806B; Fri,  1 Oct 2010 14:12:29 +0200 (CEST)
Received: from eiche.ahsoftware (p57B20052.dip0.t-ipconnect.de [87.178.0.82]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTP id B2E6E59806A for <xmpp@ietf.org>; Fri,  1 Oct 2010 14:12:26 +0200 (CEST)
Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (Postfix) with ESMTP id 16C633FC64 for <xmpp@ietf.org>; Fri,  1 Oct 2010 14:12:24 +0200 (CEST)
Message-ID: <4CA5D027.20109@ahsoftware.de>
Date: Fri, 01 Oct 2010 14:12:23 +0200
From: Alexander Holler <holler@ahsoftware.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CA4FBB6.4070809@stpeter.im> <201009302342.18960.justin@affinix.com>
In-Reply-To: <201009302342.18960.justin@affinix.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 12:12:46 -0000

Hello,

Am 01.10.2010 08:42, schrieb Justin Karneges:
> Instead of ordering by bare JID pairs or full JID pairs, the above text
> suggests ordering by streams at each hop.  For example, if stanzas directed to
> user@example.com and user@example.com/resource would both be sent to the same
> client stream, then these stanzas should be delivered in order to that stream.
>
> The only critique of this approach has been that ordering by stream, instead
> of by bare JID, may end up producing unordered receipt if client connections
> disconnect and stanzas end up getting routed to alternate resources or offline
> storage.  Dave believes it is not practical to try solving this.

Ordering by bare JIDs isn't practical too if more than one server is 
serving a domain. E.g. if user@domain/res1 is connected to 
server1@domain and user@domain/res2 is connected to server2@domain.

Regards,

Alexander

From dave@cridland.net  Fri Oct  1 07:54:20 2010
Return-Path: <dave@cridland.net>
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 82BA13A6C1C for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 07:54:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.499
X-Spam-Level: 
X-Spam-Status: No, score=-2.499 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599]
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 qMiF1-5vJtbe for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 07:54:17 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 7D2EC3A6DC2 for <xmpp@ietf.org>; Fri,  1 Oct 2010 07:54:17 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 3943D11680D7; Fri,  1 Oct 2010 15:55:00 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AeVnJ8iT7w+7; Fri,  1 Oct 2010 15:54:57 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 1811211680CA; Fri,  1 Oct 2010 15:54:57 +0100 (BST)
References: <4CA4FBB6.4070809@stpeter.im> <201009302342.18960.justin@affinix.com> <4CA5D027.20109@ahsoftware.de>
In-Reply-To: <4CA5D027.20109@ahsoftware.de>
MIME-Version: 1.0
Message-Id: <11166.1285944897.096151@puncture>
Date: Fri, 01 Oct 2010 15:54:57 +0100
From: Dave Cridland <dave@cridland.net>
To: Alexander Holler <holler@ahsoftware.de>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 14:54:20 -0000

On Fri Oct  1 13:12:23 2010, Alexander Holler wrote:
> Hello,
> 
> Am 01.10.2010 08:42, schrieb Justin Karneges:
>> Instead of ordering by bare JID pairs or full JID pairs, the above  
>> text
>> suggests ordering by streams at each hop.  For example, if stanzas  
>> directed to
>> user@example.com and user@example.com/resource would both be sent  
>> to the same
>> client stream, then these stanzas should be delivered in order to  
>> that stream.
>> 
>> The only critique of this approach has been that ordering by  
>> stream, instead
>> of by bare JID, may end up producing unordered receipt if client  
>> connections
>> disconnect and stanzas end up getting routed to alternate  
>> resources or offline
>> storage.  Dave believes it is not practical to try solving this.
> 
> Ordering by bare JIDs isn't practical too if more than one server  
> is serving a domain. E.g. if user@domain/res1 is connected to  
> server1@domain and user@domain/res2 is connected to server2@domain.

No, that shouldn't have an effect on anyone but the server for  
"domain", surely? (And for that server, it's essentially the same  
problem as for two resources connected to the same server).

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From holler@ahsoftware.de  Fri Oct  1 08:18:06 2010
Return-Path: <holler@ahsoftware.de>
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 52A483A6DF7 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:18:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.49
X-Spam-Level: 
X-Spam-Status: No, score=-0.49 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, HOST_MISMATCH_NET=0.311]
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 mEkxrXHd-QYJ for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:18:05 -0700 (PDT)
Received: from mail.ahsoftware.de (h1047321.serverkompetenz.net [85.214.67.163]) by core3.amsl.com (Postfix) with ESMTP id C65AD3A6F5B for <xmpp@ietf.org>; Fri,  1 Oct 2010 08:17:59 -0700 (PDT)
Received: by mail.ahsoftware.de (Postfix, from userid 65534) id DD70F59806B; Fri,  1 Oct 2010 17:18:46 +0200 (CEST)
Received: from eiche.ahsoftware (p57B20052.dip0.t-ipconnect.de [87.178.0.82]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTP id 48A3B59806A; Fri,  1 Oct 2010 17:18:40 +0200 (CEST)
Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (Postfix) with ESMTP id E81CA3FCED; Fri,  1 Oct 2010 17:18:37 +0200 (CEST)
Message-ID: <4CA5FBCD.80501@ahsoftware.de>
Date: Fri, 01 Oct 2010 17:18:37 +0200
From: Alexander Holler <holler@ahsoftware.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <4CA4FBB6.4070809@stpeter.im> <201009302342.18960.justin@affinix.com> <4CA5D027.20109@ahsoftware.de> <11166.1285944897.096151@puncture>
In-Reply-To: <11166.1285944897.096151@puncture>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 15:18:06 -0000

Am 01.10.2010 16:54, schrieb Dave Cridland:
> On Fri Oct  1 13:12:23 2010, Alexander Holler wrote:
>> Hello,
>>
>> Am 01.10.2010 08:42, schrieb Justin Karneges:
>>> Instead of ordering by bare JID pairs or full JID pairs, the above text
>>> suggests ordering by streams at each hop. For example, if stanzas
>>> directed to
>>> user@example.com and user@example.com/resource would both be sent to
>>> the same
>>> client stream, then these stanzas should be delivered in order to
>>> that stream.
>>>
>>> The only critique of this approach has been that ordering by stream,
>>> instead
>>> of by bare JID, may end up producing unordered receipt if client
>>> connections
>>> disconnect and stanzas end up getting routed to alternate resources
>>> or offline
>>> storage. Dave believes it is not practical to try solving this.
>>
>> Ordering by bare JIDs isn't practical too if more than one server is
>> serving a domain. E.g. if user@domain/res1 is connected to
>> server1@domain and user@domain/res2 is connected to server2@domain.
>
> No, that shouldn't have an effect on anyone but the server for "domain",
> surely? (And for that server, it's essentially the same problem as for
> two resources connected to the same server).

I've tried to express that the promise of XCP "ordering by bare JID" is 
useless.
If two stanzas will get send out over two streams (e.g. two resources 
from the same user), nothing guarantees that those two stanzas are 
received by a server in the same chronological order as they are sent. 
I've used the example with two servers because I thought this will make 
it clearer.

Regards,

Alexander

From ben.schumacher@webex.com  Fri Oct  1 08:20:01 2010
Return-Path: <ben.schumacher@webex.com>
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 561D83A6F0E for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:20:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, 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 mMpcBM93F-ro for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:20:00 -0700 (PDT)
Received: from sj-iport-2.cisco.com (sj-iport-2.cisco.com [171.71.176.71]) by core3.amsl.com (Postfix) with ESMTP id 863BF3A6EFC for <xmpp@ietf.org>; Fri,  1 Oct 2010 08:20:00 -0700 (PDT)
Authentication-Results: sj-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqcFAMKYpUyrR7Hu/2dsb2JhbACUL4Ych2txql6cO4VEBIRRhWs
X-IronPort-AV: E=Sophos;i="4.57,267,1283731200"; d="scan'208";a="282388481"
Received: from sj-core-5.cisco.com ([171.71.177.238]) by sj-iport-2.cisco.com with ESMTP; 01 Oct 2010 15:20:49 +0000
Received: from horus.local (dhcp-64-101-72-217.cisco.com [64.101.72.217]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id o91FKmiL023734 for <xmpp@ietf.org>; Fri, 1 Oct 2010 15:20:49 GMT
Message-ID: <4CA5FC50.5020909@webex.com>
Date: Fri, 01 Oct 2010 09:20:48 -0600
From: Ben Schumacher <ben.schumacher@webex.com>
Organization: Cisco Systems, Inc.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CA4FBB6.4070809@stpeter.im>	<201009302342.18960.justin@affinix.com> <4CA5D027.20109@ahsoftware.de> <11166.1285944897.096151@puncture>
In-Reply-To: <11166.1285944897.096151@puncture>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 15:20:01 -0000

  On 10/1/10 8:54 AM, Dave Cridland wrote:
>> Am 01.10.2010 08:42, schrieb Justin Karneges:
>>> Instead of ordering by bare JID pairs or full JID pairs, the above text
>>> suggests ordering by streams at each hop.  For example, if stanzas 
>>> directed to
>>> user@example.com and user@example.com/resource would both be sent to 
>>> the same
>>> client stream, then these stanzas should be delivered in order to 
>>> that stream.
>>>
>>> The only critique of this approach has been that ordering by stream, 
>>> instead
>>> of by bare JID, may end up producing unordered receipt if client 
>>> connections
>>> disconnect and stanzas end up getting routed to alternate resources 
>>> or offline
>>> storage.  Dave believes it is not practical to try solving this.
>>
>> Ordering by bare JIDs isn't practical too if more than one server is 
>> serving a domain. E.g. if user@domain/res1 is connected to 
>> server1@domain and user@domain/res2 is connected to server2@domain.
>
>
> No, that shouldn't have an effect on anyone but the server for 
> "domain", surely? (And for that server, it's essentially the same 
> problem as for two resources connected to the same server).
>

Given that most stanzas intended for a given user are directed to a Bare 
JID (think <presence> and <message> stanzas here), how does an using 
this form of cluster ensure that the <presence> stanzas received from 
another users are delivered to each of the two clients in the order 
received. It would seem to me that you'd need some sort of queue (or a 
particle if you'd prefer) for handling stanzas to a Bare JID until you 
put those stanzas into a queue for the individual streams.

It would seem to me that what we want is in-order delivery to a Bare JID 
until the last branching point wherein a server determines that this 
stanza is destined to a specific stream. I believe this is consistent 
with the text you proposed, Dave, but I don't think the language is 
completely clear.

I don't, however, consider myself to be a technical wordsmith, so I'll 
leave revisions to the language to the more experienced.

Cheers,
Ben


From stpeter@stpeter.im  Fri Oct  1 08:32:28 2010
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 D2B533A6F61 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:32:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.554
X-Spam-Level: 
X-Spam-Status: No, score=-102.554 tagged_above=-999 required=5 tests=[AWL=0.045, 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 lcYFuPYMQdlI for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:32:27 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 25F7B3A6F5C for <xmpp@ietf.org>; Fri,  1 Oct 2010 08:32:27 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id BF06D40337; Fri,  1 Oct 2010 09:38:57 -0600 (MDT)
Message-ID: <4CA5FF38.6090604@stpeter.im>
Date: Fri, 01 Oct 2010 09:33:12 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Ben Schumacher <ben.schumacher@webex.com>
References: <4CA4FBB6.4070809@stpeter.im>	<201009302342.18960.justin@affinix.com>	<4CA5D027.20109@ahsoftware.de> <11166.1285944897.096151@puncture> <4CA5FC50.5020909@webex.com>
In-Reply-To: <4CA5FC50.5020909@webex.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 15:32:28 -0000

On 10/1/10 9:20 AM, Ben Schumacher wrote:
>  On 10/1/10 8:54 AM, Dave Cridland wrote:
>>> Am 01.10.2010 08:42, schrieb Justin Karneges:
>>>> Instead of ordering by bare JID pairs or full JID pairs, the above text
>>>> suggests ordering by streams at each hop.  For example, if stanzas
>>>> directed to
>>>> user@example.com and user@example.com/resource would both be sent to
>>>> the same
>>>> client stream, then these stanzas should be delivered in order to
>>>> that stream.
>>>>
>>>> The only critique of this approach has been that ordering by stream,
>>>> instead
>>>> of by bare JID, may end up producing unordered receipt if client
>>>> connections
>>>> disconnect and stanzas end up getting routed to alternate resources
>>>> or offline
>>>> storage.  Dave believes it is not practical to try solving this.
>>>
>>> Ordering by bare JIDs isn't practical too if more than one server is
>>> serving a domain. E.g. if user@domain/res1 is connected to
>>> server1@domain and user@domain/res2 is connected to server2@domain.
>>
>>
>> No, that shouldn't have an effect on anyone but the server for
>> "domain", surely? (And for that server, it's essentially the same
>> problem as for two resources connected to the same server).
> 
> Given that most stanzas intended for a given user are directed to a Bare
> JID (think <presence> and <message> stanzas here), how does an using
> this form of cluster ensure that the <presence> stanzas received from
> another users are delivered to each of the two clients in the order
> received. It would seem to me that you'd need some sort of queue (or a
> particle if you'd prefer) for handling stanzas to a Bare JID until you
> put those stanzas into a queue for the individual streams.
> 
> It would seem to me that what we want is in-order delivery to a Bare JID
> until the last branching point wherein a server determines that this
> stanza is destined to a specific stream. I believe this is consistent
> with the text you proposed, Dave, but I don't think the language is
> completely clear.
> 
> I don't, however, consider myself to be a technical wordsmith, so I'll
> leave revisions to the language to the more experienced.

Sure, we have some wordsmiths around here. :)

One pesky process point: Dave posted his proposed text to a non-IETF
list, so IETF Note Well rules did not apply...

http://www.ietf.org/about/note-well.html

Dave, if you have text to contribute, perhaps you could do so on this list.

Peter

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



From dave@cridland.net  Fri Oct  1 08:35:54 2010
Return-Path: <dave@cridland.net>
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 9814E3A6EFC for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:35:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.5
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 tagged_above=-999 required=5 tests=[AWL=0.099, BAYES_00=-2.599]
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 0ndTAPQV18W9 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:35:53 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id B57F43A6DED for <xmpp@ietf.org>; Fri,  1 Oct 2010 08:35:52 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 9CFB211680DA; Fri,  1 Oct 2010 16:36:40 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vnr2sfmHvL2b; Fri,  1 Oct 2010 16:36:36 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 6AD3C11680CA; Fri,  1 Oct 2010 16:36:36 +0100 (BST)
References: <4CA4FBB6.4070809@stpeter.im> <201009302342.18960.justin@affinix.com> <4CA5D027.20109@ahsoftware.de> <11166.1285944897.096151@puncture> <4CA5FC50.5020909@webex.com> <4CA5FF38.6090604@stpeter.im>
In-Reply-To: <4CA5FF38.6090604@stpeter.im>
MIME-Version: 1.0
Message-Id: <11166.1285947396.417913@puncture>
Date: Fri, 01 Oct 2010 16:36:36 +0100
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, XMPP Working Group <xmpp@ietf.org>, Ben Schumacher <ben.schumacher@webex.com>
Content-Type: text/plain; delsp="yes"; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8Bit
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 15:35:54 -0000

On Fri Oct  1 16:33:12 2010, Peter Saint-Andre wrote:
> On 10/1/10 9:20 AM, Ben Schumacher wrote:
> >  On 10/1/10 8:54 AM, Dave Cridland wrote:
> >>> Am 01.10.2010 08:42, schrieb Justin Karneges:
> >>>> Instead of ordering by bare JID pairs or full JID pairs, the  
> above text
> >>>> suggests ordering by streams at each hop.  For example, if  
> stanzas
> >>>> directed to
> >>>> user@example.com and user@example.com/resource would both be  
> sent to
> >>>> the same
> >>>> client stream, then these stanzas should be delivered in order  
> to
> >>>> that stream.
> >>>>
> >>>> The only critique of this approach has been that ordering by  
> stream,
> >>>> instead
> >>>> of by bare JID, may end up producing unordered receipt if  
> client
> >>>> connections
> >>>> disconnect and stanzas end up getting routed to alternate  
> resources
> >>>> or offline
> >>>> storage.  Dave believes it is not practical to try solving  
> this.
> >>>
> >>> Ordering by bare JIDs isn't practical too if more than one  
> server is
> >>> serving a domain. E.g. if user@domain/res1 is connected to
> >>> server1@domain and user@domain/res2 is connected to  
> server2@domain.
> >>
> >>
> >> No, that shouldn't have an effect on anyone but the server for
> >> "domain", surely? (And for that server, it's essentially the same
> >> problem as for two resources connected to the same server).
> >
> > Given that most stanzas intended for a given user are directed to  
> a Bare
> > JID (think <presence> and <message> stanzas here), how does an  
> using
> > this form of cluster ensure that the <presence> stanzas received  
> from
> > another users are delivered to each of the two clients in the  
> order
> > received. It would seem to me that you'd need some sort of queue  
> (or a
> > particle if you'd prefer) for handling stanzas to a Bare JID  
> until you
> > put those stanzas into a queue for the individual streams.
> >
> > It would seem to me that what we want is in-order delivery to a  
> Bare JID
> > until the last branching point wherein a server determines that  
> this
> > stanza is destined to a specific stream. I believe this is  
> consistent
> > with the text you proposed, Dave, but I don't think the language  
> is
> > completely clear.
> >
> > I don't, however, consider myself to be a technical wordsmith, so  
> I'll
> > leave revisions to the language to the more experienced.
> 
> Sure, we have some wordsmiths around here. :)
> 
> One pesky process point: Dave posted his proposed text to a non-IETF
> list, so IETF Note Well rules did not apply...
> 
> http://www.ietf.org/about/note-well.html
> 
> Dave, if you have text to contribute, perhaps you could do so on  
> this list.

Ah. Interesting point. By posting it there, I assumed copyright could  
be assigned to the XSF as required, but still, for completeness:

Servers MUST ensure in-order processing of the stanzas received on a  
stream. Servers MUST resolve any ambiguity caused by processing  
requests (for example, those sent to the bare jid of a connected  
client); in the case where the result of a request could have an  
effect on subsequent stanzas, servers MUST suspend processing of  
stanzas until the request is completed. Servers MUST ensure that any  
stanzas forwarded from a stream to a particular remote domain are  
forwarded in order - in particular, this implies that for any given  
inbound stanza that is addressed to a remote domain, there SHOULD be  
at most one outbound stream, used consistently.

What this means in practical terms:

1) If you get a vCard request for a bare jid, and a message to that  
same bare jid, you needn't block the entire stream while you pootle  
off to your database (or, if you're as hip as us, your ACP-142  
compliant X.500 directory) to fetch the info. Just kick of the vCard  
fetching, and forward the stanza to a suitable resource. If a sender  
cares about what the result of the vCard is prior to delivery of the  
message, they'd wait. And you certainly don't care - whatever their  
family name is, you're going to pick the same resource, and even if  
you waited, there's no certainty you'd manage to delivery the result  
before the message anyway.

2) If you get a XEP-0191 change request from a client, and, in the  
same TCP packet, a presence broadcast - hence both to the same bare  
jid - then absolutely you need to fully process the XEP-0191 request  
before the presence broadcast, because the order clearly matters.

3) Once you've forwarded a message, that counts as processing. So if  
two sequential messages require forwarding to two different streams,  
then you don't need to care about the order they're delivered. If two  
sequential messages require forwarding to the same stream, you  
forward them in turn (such that they'll arrive in-order).

3) If a MUC service is - sensibly - using a single stream to  
communicate with you, it all Just Worksâ„˘. If it doesn't use a  
single stream, it becomes their fault and not yours. (But note that a  
MUC service could use a single stream per-participant

4) If you use multiple streams to communicate with an entity (ie, two  
S2S streams which you randomly use either of to send to a remote full  
jid), then everything will break, and this is entirely your fault.  
You can, however, consistently use one of any number of streams to a  
remote domain for stanzas from a particular stream.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From ben.schumacher@webex.com  Fri Oct  1 08:50:40 2010
Return-Path: <ben.schumacher@webex.com>
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 CE91D3A6CEF for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:50:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, 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 FFne0rAQkiRw for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 08:50:40 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id 00F413A6E82 for <xmpp@ietf.org>; Fri,  1 Oct 2010 08:50:39 -0700 (PDT)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqcFAAagpUyrR7H+/2dsb2JhbACUL4Ych2txqnGcQIVEBIRRhWs
X-IronPort-AV: E=Sophos;i="4.57,267,1283731200"; d="scan'208";a="263379054"
Received: from sj-core-2.cisco.com ([171.71.177.254]) by sj-iport-5.cisco.com with ESMTP; 01 Oct 2010 15:51:28 +0000
Received: from horus.local (dhcp-64-101-72-217.cisco.com [64.101.72.217]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id o91FpSGo014551 for <xmpp@ietf.org>; Fri, 1 Oct 2010 15:51:28 GMT
Message-ID: <4CA60380.6030109@webex.com>
Date: Fri, 01 Oct 2010 09:51:28 -0600
From: Ben Schumacher <ben.schumacher@webex.com>
Organization: Cisco Systems, Inc.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CA4FBB6.4070809@stpeter.im>	<201009302342.18960.justin@affinix.com>	<4CA5D027.20109@ahsoftware.de> <11166.1285944897.096151@puncture> <4CA5FBCD.80501@ahsoftware.de>
In-Reply-To: <4CA5FBCD.80501@ahsoftware.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 15:50:40 -0000

  On 10/1/10 9:18 AM, Alexander Holler wrote:
> I've tried to express that the promise of XCP "ordering by bare JID" 
> is useless.
> If two stanzas will get send out over two streams (e.g. two resources 
> from the same user), nothing guarantees that those two stanzas are 
> received by a server in the same chronological order as they are sent. 
> I've used the example with two servers because I thought this will 
> make it clearer.
>

Alexander-

This is obviously true.

The expectation should be *from* a given stream -- i.e. if one user is 
connected to the network with two resources (meaning two different XMPP 
streams) and each resource produces a stanza to the same Bare JID then 
there can be no guarantee that they will be delivered in the order sent 
(too many variables). This sort of ordering will have to be provided for 
by some application logic, assuming this sort of synchronization is 
required.

However, if the first resource sends a second stanza across the stream 
to the same Bare JID, the server should ensure that those are processed 
in the order received on that stream.

Cheers,
Ben

From ben@nostrum.com  Fri Oct  1 09:09:37 2010
Return-Path: <ben@nostrum.com>
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 5E4C63A6F0E for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 09:09:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.584
X-Spam-Level: 
X-Spam-Status: No, score=-103.584 tagged_above=-999 required=5 tests=[AWL=1.015, BAYES_00=-2.599, GB_I_LETTER=-2, 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 SPio-971HoRm for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 09:09:35 -0700 (PDT)
Received: from nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by core3.amsl.com (Postfix) with ESMTP id A73713A6EE8 for <xmpp@ietf.org>; Fri,  1 Oct 2010 09:09:33 -0700 (PDT)
Received: from dn3-174.estacado.net (vicuna-alt.estacado.net [75.53.54.121]) (authenticated bits=0) by nostrum.com (8.14.3/8.14.3) with ESMTP id o91GAJV5049154 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <xmpp@ietf.org>; Fri, 1 Oct 2010 11:10:19 -0500 (CDT) (envelope-from ben@nostrum.com)
From: Ben Campbell <ben@nostrum.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 1 Oct 2010 11:10:19 -0500
References: <7C2DFE31-1BA8-488A-810A-B8522A066F8A@nostrum.com>
To: XMPP Working Group <xmpp@ietf.org>
Message-Id: <ADBAF4FC-32D1-45C2-B591-9D785B79A4F3@nostrum.com>
Mime-Version: 1.0 (Apple Message framework v1081)
X-Mailer: Apple Mail (2.1081)
Subject: [xmpp] Fwd: Publication Request for draft-ietf-xmpp-3920bis-16
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: Fri, 01 Oct 2010 16:09:37 -0000

FYI

Begin forwarded message:

> From: Ben Campbell <ben@nostrum.com>
> Date: September 30, 2010 2:11:30 PM CDT
> To: IESG Secretary <iesg-secretary@ietf.org>
> Cc: Joe Hildebrand <joe.hildebrand@webex.com>, Peter Saint-Andre =
<stpeter@stpeter.im>, Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
> Subject: Publication Request for draft-ietf-xmpp-3920bis-16
>=20
> This is a publication request for draft-ietf-xmpp-3920bis-16. The =
proto write-up is below. Note that this draft was inadvertently moved to =
the "publication requested" state, but that state should be correct =
after this request.
>=20
> Thanks!
>=20
> Ben.
>=20
> -----------------------
>=20
> PROTO writeup for =
http://tools.ietf.org/id/draft-ietf-xmpp-3920bis-16.txt: "Extensible =
Messaging and Presence Protocol (XMPP): Core"
>=20
>=20
>  (1.a)  Who is the Document Shepherd for this document?  Has the
>         Document Shepherd personally reviewed this version of the
>         document and, in particular, does he or she believe this
>         version is ready for forwarding to the IESG for publication?
>=20
> The document shepherd for this document is Ben Campbell.
>=20
> The document has been reviewed and is ready for forwarding to IESG for =
publication.
>=20
>=20
>  (1.b)  Has the document had adequate review both from key WG members
>         and from key non-WG members?  Does the Document Shepherd have
>         any concerns about the depth or breadth of the reviews that
>         have been performed?
>=20
> The document had multiple rounds of WGLC and considerable review from =
working group participants, many of which are implementors of the =
protocol. Commenters include (in no particular order) Justin Karneges, =
Matthew Wild, Curtis King, Kevin Smith, Philipp Hancke, Florian Zeitz, =
Waqas Hussain, Dave Cridland, Jehan Pages, Ralph Meijer, and others. =20
>=20
> The Document Shepherd does not have concerns about the depth or =
breadth of the reviews.
>=20
>=20
>  (1.c)  Does the Document Shepherd have concerns that the document
>         needs more review from a particular or broader perspective,
>         e.g., security, operational complexity, someone familiar with
>         AAA, internationalization, or XML?
>=20
> The document should undergo the usual Gen-ART and secdir reviews. But =
otherwise the Document Shepherd does not have concerns over the level =
and breadth of review for this document. This is a long document, and =
schedules for external reviews should keep that in mind.
>=20
>=20
>  (1.d)  Does the Document Shepherd have any specific concerns or
>         issues with this document that the Responsible Area Director
>         and/or the IESG should be aware of?  For example, perhaps he
>         or she is uncomfortable with certain parts of the document, or
>         has concerns whether there really is a need for it.  In any
>         event, if the WG has discussed those issues and has indicated
>         that it still wishes to advance the document, detail those
>         concerns here.  Has an IPR disclosure related to this document
>         been filed?  If so, please include a reference to the
>         disclosure and summarize the WG discussion and conclusion on
>         this issue.
>=20
>=20
> The document shepherd has no concerns with this document.
>=20
> There have been no IPR disclosures on this document. Disclosure number =
324 was filed on RFC3920, which this draft intends to obsolete.
>=20
>=20
>=20
>  (1.e)  How solid is the WG consensus behind this document?  Does it
>         represent the strong concurrence of a few individuals, with
>         others being silent, or does the WG as a whole understand and
>         agree with it?
>=20
> Among the people currently active in the WG there is a wide consensus =
behind the document. No significant objections have been raised to this =
version of the document.
>=20
>=20
>=20
>  (1.f)  Has anyone threatened an appeal or otherwise indicated extreme
>         discontent?  If so, please summarize the areas of conflict in
>         separate email messages to the Responsible Area Director.  (It
>         should be in a separate email because this questionnaire is
>         entered into the ID Tracker.)
>=20
> Nobody has threatened an appeal or otherwise indicated extreme =
discontent.
>=20
>=20
>  (1.g)  Has the Document Shepherd personally verified that the
>         document satisfies all ID nits?  (See
>         http://www.ietf.org/ID-Checklist.html and
>         http://tools.ietf.org/tools/idnits/.)  Boilerplate checks are
>         not enough; this check needs to be thorough.  Has the document
>         met all formal review criteria it needs to, such as the MIB
>         Doctor, media type, and URI type reviews?  If the document
>         does not already indicate its intended status at the top of
>         the first page, please indicate the intended status here.
>=20
> idnits 2.12.05 returns a few warnings that do not appear to be =
substantive. The Document Shepherd believes that the document contains =
all needed information.
>=20
>=20
>  (1.h)  Has the document split its references into normative and
>         informative?  Are there normative references to documents that
>         are not ready for advancement or are otherwise in an unclear
>         state?  If such normative references exist, what is the
>         strategy for their completion?  Are there normative references
>         that are downward references, as described in [RFC3967]?  If
>         so, list these downward references to support the Area
>         Director in the Last Call procedure for them [RFC3967].
>=20
> The draft contains both normative and informative references.=20
>=20
>=20
> The draft contains a normative reference to RFC 3447, which is an =
informational RFC. This RFC is a republication of the RSA algorithm =
specifications. This seems to fit both the letter and spirit of RFC =
3967. All other normatively referenced RFCs are either at least proposed =
standard or BCPs.=20
>=20
> The draft contains several normative references to ISO, Unicode =
Consortium, and WC3 documents.
>=20
> The draft contains a normative dependency on draft-ietf-xmpp-address. =
We expect that draft to progress together with this draft.
>=20
> The draft contains a normative dependency on =
draft-saintandre-tls-server-id-check, which is still in progress. We =
expect that draft to progress soon, and do not expect changes in that =
draft to force changes in this one. Draft-ietf-xmpp-3920bis should be =
held in the editors queue until approval of =
draft-saintandre-tls-server-id-check.
>=20
>=20
> The draft contains informative references to =
draft-ietf-newtrk-interop-reports, draft-ietf-tls-rfc4366-bis, and =
draft-ietf-xmpp-3921bis. It references the current version as of this =
writing, but if those drafts are revised prior to publication of this =
one, the references should be updated.
>=20
>=20
>  (1.i)  Has the Document Shepherd verified that the document's IANA
>         Considerations section exists and is consistent with the body
>         of the document?  If the document specifies protocol
>         extensions, are reservations requested in appropriate IANA
>         registries?  Are the IANA registries clearly identified?  If
>         the document creates a new registry, does it define the
>         proposed initial contents of the registry and an allocation
>         procedure for future registrations?  Does it suggest a
>         reasonable name for the new registry?  See [RFC2434].  If the
>         document describes an Expert Review process, has the Document
>         Shepherd conferred with the Responsible Area Director so that
>         the IESG can appoint the needed Expert during IESG Evaluation?
>=20
> The Document Editor believes that the IANA Consideration contains the =
appropriate information, and is consistent with the rest of the =
document.
>=20
>=20
>  (1.j)  Has the Document Shepherd verified that sections of the
>         document that are written in a formal language, such as XML
>         code, BNF rules, MIB definitions, etc., validate correctly in
>         an automated checker?
>=20
> The document contains a number of XML schemas, which have been =
mechanically verified using the W3C validator at =
http://www.w3.org/2001/03/webdata/xsv .
>=20
>=20
>  (1.k)  The IESG approval announcement includes a Document
>         Announcement Write-Up.  Please provide such a Document
>         Announcement Write-Up.  Recent examples can be found in the
>         "Action" announcements for approved documents.  The approval
>         announcement contains the following sections:
>=20
>         Technical Summary
>            Relevant content can frequently be found in the abstract
>            and/or introduction of the document.  If not, this may be
>            an indication that there are deficiencies in the abstract
>            or introduction.
>=20
> The Extensible Messaging and Presence Protocol (XMPP) is an =
application profile of the Extensible Markup Language (XML) that enables =
the near-real-time exchange of structured yet extensible data between =
any two or more network entities.  This document defines XMPP's core =
protocol methods: setup and teardown of XML streams, channel encryption, =
authentication, error handling, and communication primitives for =
messaging, network availability ("presence"), and request-response =
interactions.
>=20
> Since 2004 the Internet community has gained extensive implementation =
and deployment experience with XMPP, including formal interoperability =
testing carried out under the auspices of the XMPP Standards Foundation =
(XSF).  This document incorporates comprehensive feedback from software =
developers and service providers, including a number of =
backward-compatible modifications.  As a result, this document reflects =
the rough consensus of the Internet community regarding the core =
features of XMPP 1.0, thus obsoleting RFC 3920.
>=20
>=20
>         Working Group Summary
>            Was there anything in the WG process that is worth noting?
>            For example, was there controversy about particular points
>            or were there decisions where the consensus was
>            particularly rough?
>=20
> There is strong consensus in the working group to publish this =
document.
>=20
> There has been controversy over the use of dialback authentication in =
XMPP. RFC 3920 recommended against the use of dialback, but included it =
for backwards compatibility reasons. Since dialback continues to be in =
common use among XMPP implementations, some working group participants =
wished to keep it in this draft. Others believed that we should further =
discourage its use by removing it. The working group reached a rough =
consensus to remove it from this draft, but mention it (referencing =
XEP-0220) as something many implementations do, and allowed at a MAY =
level for interworking with implementations that are unable to use =
stronger authentication.
>=20
> There were concerns that the XMPP addressing format (aka JID) depend =
on internationalization technologies (stringprep) that are currently in =
flux, and may be in flux for some time. Rather than block progress on =
this draft, the working group chose to remove the JID definition to a =
separate draft (draft-ietf-xmpp-address-03). The referenced draft =
continues to use stringprep, but was separated out to make it easier to =
update in a "modular" fashion once work on a new internationalization =
approach is complete.=20
>=20
>         Document Quality
>            Are there existing implementations of the protocol?  Have a
>            significant number of vendors indicated their plan to
>            implement the specification?  Are there any reviewers that
>            merit special mention as having done a thorough review,
>            e.g., one that resulted in important changes or a
>            conclusion that the document had no substantive issues?  If
>            there was a MIB Doctor, Media Type, or other Expert Review,
>            what was its course (briefly)?  In the case of a Media Type
>            Review, on what date was the request posted?
>=20
> There are at least 25 server implementations, 50 library =
implementations, and 100 client implementations of the XMPP RFCs; a =
partial list is located at <http://xmpp.org/xmpp-software/> (that list =
does not include "software as a service" implementations hosted by =
service providers such as Google Talk). Several downloadable software
> implementations in each category have been closely tracking the =
changes between RFC 3920 and draft-ietf-xmpp-3920bis, and many others =
are currently being upgraded or are waiting until the replacement RFC is
> published before including the modifications in released software. =
Interoperability is continually being verified among implementation =
teams, over the XMPP network, and at more formal interoperability
> testing events sponsored by the XMPP Standards Foundation. It is =
expected that official implementation reports will be submitted within a =
year after publication of the revised XMPP RFCs.
>=20
>=20
>         Personnel
>            Who is the Document Shepherd for this document?  Who is the
>            Responsible Area Director?  If the document requires IANA
>            experts(s), insert 'The IANA Expert(s) for the registries
>            in this document are <TO BE ADDED BY THE AD>.'
>=20
> The document shepherd for this document is Ben Campbell.
>=20
> The responsible Area Director is Gonzalo Camarillo.
>=20
> The IANA Expert(s) for the registries in this document are <TO BE =
ADDED BY THE AD>.
>=20


From ben@nostrum.com  Fri Oct  1 09:09:51 2010
Return-Path: <ben@nostrum.com>
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 5CCED3A6CC0 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 09:09:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.634
X-Spam-Level: 
X-Spam-Status: No, score=-102.634 tagged_above=-999 required=5 tests=[AWL=-0.035, 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 lFMGW6Blpm8F for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 09:09:49 -0700 (PDT)
Received: from nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by core3.amsl.com (Postfix) with ESMTP id CB98B3A6C19 for <xmpp@ietf.org>; Fri,  1 Oct 2010 09:09:48 -0700 (PDT)
Received: from dn3-174.estacado.net (vicuna-alt.estacado.net [75.53.54.121]) (authenticated bits=0) by nostrum.com (8.14.3/8.14.3) with ESMTP id o91GAJV6049154 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for <xmpp@ietf.org>; Fri, 1 Oct 2010 11:10:35 -0500 (CDT) (envelope-from ben@nostrum.com)
From: Ben Campbell <ben@nostrum.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 1 Oct 2010 11:10:35 -0500
References: <1BA2919D-DA18-4380-8469-2E1993ABAEB9@nostrum.com>
To: XMPP Working Group <xmpp@ietf.org>
Message-Id: <FA3A70CE-2C7E-4E42-92C9-AF35264525CF@nostrum.com>
Mime-Version: 1.0 (Apple Message framework v1081)
X-Mailer: Apple Mail (2.1081)
Subject: [xmpp] Fwd: Publication Request for draft-ietf-xmpp-address
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: Fri, 01 Oct 2010 16:09:51 -0000

FYI

Begin forwarded message:

> From: Ben Campbell <ben@nostrum.com>
> Date: September 30, 2010 2:27:32 PM CDT
> To: IESG Secretary <iesg-secretary@ietf.org>, Gonzalo Camarillo =
<Gonzalo.Camarillo@ericsson.com>
> Cc: Joe Hildebrand <joe.hildebrand@webex.com>, Peter Saint-Andre =
<stpeter@stpeter.im>
> Subject: Publication Request for draft-ietf-xmpp-address
>=20
> This is a publication request for draft-ietf-xmpp-address. The proto =
write-up is below. Note that this draft was inadvertently moved to the =
"publication requested" state, but that state should be correct after =
this request.
>=20
> Thanks!
>=20
> Ben.
> --------------------------------
> PROTO writeup for =
http://tools.ietf.org/id/draft-ietf-xmpp-address-03.txt: "Extensible =
Messaging and Presence Protocol (XMPP): Address Format"
>=20
> (1.a)  Who is the Document Shepherd for this document?  Has the
>        Document Shepherd personally reviewed this version of the
>        document and, in particular, does he or she believe this
>        version is ready for forwarding to the IESG for publication?
>=20
> The document shepherd for this document is Ben Campbell.
>=20
> The document has been reviewed and is ready for forwarding to IESG for =
publication.
>=20
>=20
> (1.b)  Has the document had adequate review both from key WG members
>        and from key non-WG members?  Does the Document Shepherd have
>        any concerns about the depth or breadth of the reviews that
>        have been performed?
>=20
> The document has had adequate review from key participants. The =
Document Shepherd does not have concerns about the depth or breadth of =
the reviews.
>=20
>=20
> (1.c)  Does the Document Shepherd have concerns that the document
>        needs more review from a particular or broader perspective,
>        e.g., security, operational complexity, someone familiar with
>        AAA, internationalization, or XML?
>=20
> The document should undergo the usual Gen-ART and secdir reviews. But =
otherwise the Document Shepherd does not have concerns over the level =
and breadth of review for this document.
>=20
> (1.d)  Does the Document Shepherd have any specific concerns or
>        issues with this document that the Responsible Area Director
>        and/or the IESG should be aware of?  For example, perhaps he
>        or she is uncomfortable with certain parts of the document, or
>        has concerns whether there really is a need for it.  In any
>        event, if the WG has discussed those issues and has indicated
>        that it still wishes to advance the document, detail those
>        concerns here.  Has an IPR disclosure related to this document
>        been filed?  If so, please include a reference to the
>        disclosure and summarize the WG discussion and conclusion on
>        this issue.
>=20
>=20
> The document shepherd has no concerns with this document.
>=20
> There have been no IPR disclosures on this document. Disclosure number =
324 was filed on RFC3920, which this draft along with =
draft-ietf-xmpp-3920bis intend to obsolete.
>=20
>=20
>=20
> (1.e)  How solid is the WG consensus behind this document?  Does it
>        represent the strong concurrence of a few individuals, with
>        others being silent, or does the WG as a whole understand and
>        agree with it?
>=20
> Among the people currently active in the WG there is a wide consensus =
behind the document. No significant objections have been raised to this =
version of the document.
>=20
> (1.f)  Has anyone threatened an appeal or otherwise indicated extreme
>        discontent?  If so, please summarize the areas of conflict in
>        separate email messages to the Responsible Area Director.  (It
>        should be in a separate email because this questionnaire is
>        entered into the ID Tracker.)
>=20
> Nobody has threatened an appeal or otherwise indicated extreme =
discontent.
>=20
> (1.g)  Has the Document Shepherd personally verified that the
>        document satisfies all ID nits?  (See
>        http://www.ietf.org/ID-Checklist.html and
>        http://tools.ietf.org/tools/idnits/.)  Boilerplate checks are
>        not enough; this check needs to be thorough.  Has the document
>        met all formal review criteria it needs to, such as the MIB
>        Doctor, media type, and URI type reviews?  If the document
>        does not already indicate its intended status at the top of
>        the first page, please indicate the intended status here.
>=20
> idnits 2.12.05 returns a few warnings that do not appear to be =
substantive. The Document Shepherd believes that the document contains =
all needed information.
>=20
>  (1.h)  Has the document split its references into normative and
>        informative?  Are there normative references to documents that
>        are not ready for advancement or are otherwise in an unclear
>        state?  If such normative references exist, what is the
>        strategy for their completion?  Are there normative references
>        that are downward references, as described in [RFC3967]?  If
>        so, list these downward references to support the Area
>        Director in the Last Call procedure for them [RFC3967].
>=20
> The draft contains both normative and informative references.=20
>=20
> The draft contains a normative dependency on draft-ietf-xmpp-3920bis. =
We expect that draft to progress together with this draft.=20
>=20
> The draft contains normative dependencies on RFC 3490 and RFC 3491, =
which have been obsoleted by 5890 and 5891. The dependency on the =
obsolete versions is correct, as this draft continues to depend on =
IDNA-2003. Updating this spec to use IDNA-2008 and replacing the use of =
stringprep is expected as a future effort.
>=20
> The draft contains informative references to draft-ietf-idnabis-defs, =
draft-ietf-idnabis-protocol, and draft-ietf-newtrk-interop-reports. The =
referenced drafts were current as of this writing, but if they change =
prior to publication of this draft, the references should to be updated.
>=20
> (1.i)  Has the Document Shepherd verified that the document's IANA
>        Considerations section exists and is consistent with the body
>        of the document?  If the document specifies protocol
>        extensions, are reservations requested in appropriate IANA
>        registries?  Are the IANA registries clearly identified?  If
>        the document creates a new registry, does it define the
>        proposed initial contents of the registry and an allocation
>        procedure for future registrations?  Does it suggest a
>        reasonable name for the new registry?  See [RFC2434].  If the
>        document describes an Expert Review process, has the Document
>        Shepherd conferred with the Responsible Area Director so that
>        the IESG can appoint the needed Expert during IESG Evaluation?
>=20
> The Document Editor believes that the IANA Consideration contains the =
appropriate information, and is consistent with the rest of the =
document.
>=20
> (1.j)  Has the Document Shepherd verified that sections of the
>        document that are written in a formal language, such as XML
>        code, BNF rules, MIB definitions, etc., validate correctly in
>        an automated checker?
>=20
> The document contains ABNF, which has been mechanically verified with =
http://tools.ietf.org/tools/bap/abnf.cgi
>=20
> (1.k)  The IESG approval announcement includes a Document
>        Announcement Write-Up.  Please provide such a Document
>        Announcement Write-Up.  Recent examples can be found in the
>        "Action" announcements for approved documents.  The approval
>        announcement contains the following sections:
>=20
>        Technical Summary
>           Relevant content can frequently be found in the abstract
>           and/or introduction of the document.  If not, this may be
>           an indication that there are deficiencies in the abstract
>           or introduction.
>=20
> This document defines the format for addresses used in the Extensible =
Messaging and Presence Protocol (XMPP), including support for non-ASCII =
characters.
>=20
> As specified in RFC 3920, the XMPP address format re-uses the =
"stringprep" technology for preparation of non-ASCII characters, =
including the Nameprep profile for internationalized domain names, along =
with two XMPP-specific profiles for the localpart and resourcepart.  =
However, since the publication of RFC 3920, IDNA2003 has been superseded =
by IDNA2008 .  As a result, other protocols that use stringprep =
(including XMPP) have begun to migrate from stringprep toward more =
"modern" approaches.
>=20
> Because work on improved handling of internationalized addresses is =
currently in progress, specifying the XMPP address format in the =
specification that obsoletes RFC 3920 would unacceptably delay the =
revision process.  Therefore, this specification provides updated =
documentation of the XMPP address format (essentially copied from RFC =
3920), with the intent that it can be superseded once work on a new =
approach to internationalization is complete.
>=20
>        Working Group Summary
>           Was there anything in the WG process that is worth noting?
>           For example, was there controversy about particular points
>           or were there decisions where the consensus was
>           particularly rough?
>=20
> There is strong consensus in the working group to publish this =
document.
>=20
> There were concerns that the XMPP addressing format (aka JID) depend =
on internationalization technologies (stringprep) that are currently in =
flux, and may be in flux for some time. Rather than block progress on =
this draft, the working group chose to remove the JID definition to a =
separate draft (this document). This specification continues to use =
stringprep, but was separated out to make it easier to update in a =
"modular" fashion once work on a new internationalization approach is =
complete.=20
>=20
>        Document Quality
>           Are there existing implementations of the protocol?  Have a
>           significant number of vendors indicated their plan to
>           implement the specification?  Are there any reviewers that
>           merit special mention as having done a thorough review,
>           e.g., one that resulted in important changes or a
>           conclusion that the document had no substantive issues?  If
>           there was a MIB Doctor, Media Type, or other Expert Review,
>           what was its course (briefly)?  In the case of a Media Type
>           Review, on what date was the request posted?
>=20
> There are at least 25 server implementations, 50 library =
implementations, and 100 client implementations of the XMPP RFCs; a =
partial list is located at <http://xmpp.org/xmpp-software/> (that list =
does not include "software as a service" implementations hosted by =
service providers such as Google Talk). Several downloadable software
> implementations in each category have been closely tracking the =
changes between RFC 3920 and draft-ietf-xmpp-3920bis, and many others =
are currently being upgraded or are waiting until the replacement RFC is
> published before including the modifications in released software. =
Interoperability is continually being verified among implementation =
teams, over the XMPP network, and at more formal interoperability
> testing events sponsored by the XMPP Standards Foundation. It is =
expected that official implementation reports will be submitted within a =
year after publication of the revised XMPP RFCs.
>=20
>        Personnel
>           Who is the Document Shepherd for this document?  Who is the
>           Responsible Area Director?  If the document requires IANA
>           experts(s), insert 'The IANA Expert(s) for the registries
>           in this document are <TO BE ADDED BY THE AD>.'
>=20
> The document shepherd for this document is Ben Campbell.
>=20
> The responsible Area Director is Gonzalo Camarillo.
>=20
> The IANA Expert(s) for the registries in this document are <TO BE =
ADDED BY THE AD>.
>=20


From stpeter@stpeter.im  Fri Oct  1 09:25:52 2010
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 8546E3A6DAC for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 09:25:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.954
X-Spam-Level: 
X-Spam-Status: No, score=-101.954 tagged_above=-999 required=5 tests=[AWL=-0.555, BAYES_00=-2.599, J_CHICKENPOX_73=0.6, J_CHICKENPOX_83=0.6, 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 C6necG09+fPd for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 09:25:51 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 0189C3A6CEF for <xmpp@ietf.org>; Fri,  1 Oct 2010 09:25:51 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 13D6B40337; Fri,  1 Oct 2010 10:32:21 -0600 (MDT)
Message-ID: <4CA60BBB.4040902@stpeter.im>
Date: Fri, 01 Oct 2010 10:26:35 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <4CA4FBB6.4070809@stpeter.im> <201009302342.18960.justin@affinix.com> <4CA5D027.20109@ahsoftware.de> <11166.1285944897.096151@puncture> <4CA5FC50.5020909@webex.com> <4CA5FF38.6090604@stpeter.im> <11166.1285947396.417913@puncture>
In-Reply-To: <11166.1285947396.417913@puncture>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: Ben Schumacher <ben.schumacher@webex.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 16:25:52 -0000

On 10/1/10 9:36 AM, Dave Cridland wrote:

<snip/>

Dave, thanks for posting here.

The requirement for "in-order processing" comes from a very old layer of
XMPP archeology. Unfortunately, as these threads have uncovered, that
requirement has never been precisely specified. Here is my informal
understanding of the basic idea: we want to ensure that if Juliet is
having a conversation with Romeo, he will receive her messages in the
same order she sent them over the stream to her server (capulet.lit).

For the originating server, I think the rule means that if Juliet has
two devices that are connected to capulet.lit over two different streams
(identified by the "balcony" and "chamber" resources), her server is
*not* responsible for ensuring that outbound stanzas to
romeo@montague.lit are ordered across those two originating c2s streams,
because those are two different conversations. However, if she sends
three messages msg1, msg2, and msg3 from the "balcony" resource to
romeo@montague.net, then her server needs to (1) process those stanzas
in the order it received them over that single originating c2s stream
and (2) send them in that order when it routes them to Romeo's server
(montague.lit). My understanding of the intentions of Jeremie and the
early jabberd team is that this rule applied (on the originating server)
to destination addresses that were bare JIDs instead of full JIDs
(romeo@montague.lit, not romeo@montague.lit/foo), because the
originating entity could not know whether any outbound stanza would be
"forked" on the destination server. I further think this rule implies
that the originating server would try to do everything in its power to
preserve the order of stanzas sent by Juliet, including (if it has more
than one stream to montague.lit) making sure that it sends all stanzas
from juliet@capulet.lit/balcony to romeo@montague.net over a single s2s
stream.

For the destination server, I think the rule means that Romeo's server
needs to preserve the order of stanzas it receives over a single stream
from Juliet's server. If there are two streams from capulet.lit to
montague.lit then it does not need to preserve order across those
streams (e.g., if msg1, msg2, and msg3 comes across stream1 from
capulet.lit but msg4 comes across stream2 from capulet.lit then it is
*not* responsible for ensuring order across those two originating s2s
streams). However, it does need to preserve the order of stanzas that it
receives over stream1, so that it will deliver msg1, msg2, and msg3 to
Romeo in the order it received them from Juliet's server. It matters not
whether msg1 was addressed to Romeo's bare JID, msg2 to a full JID, and
msg3 to the bare JID again -- his server needs to deliver those messages
to any given resource of Romeo's in the order it received them over the
originating s2s stream. Thus here again ordering applies on a per-stream
basis, which for the destination server means both the originating s2s
stream and the destination c2s stream.

The same rules apply, mutatis mutandis, to the stanzas that a client
sends to its own server (with no "to" address, an address of the
account's bare JID, or an address of the server itself), which is why
the current text says:

   This includes stanzas sent by a client to its
   server for direct processing by the server (e.g., in-order processing
   of a roster get and initial presence as described in [XMPP-IM]).

At least, that's how I've always understood things. Do feel free to
disagree. :)

Now to wordsmithing...

> Servers MUST ensure in-order processing of the stanzas received on a
> stream.

I'd prefer "given stream" or "particular stream" or somesuch.

> Servers MUST resolve any ambiguity 

The phrase "resolve any ambiguity" is ambiguous to me. :)

> caused by processing requests
> (for example, those sent to the bare jid of a connected client); in the
> case where the result of a request could have an effect on subsequent
> stanzas, servers MUST suspend processing of stanzas until the request is
> completed. Servers MUST ensure that any stanzas forwarded 

I'd prefer "routed" because that's the term we use for sending a stanza
from one domain to another -- we've tended to avoid the term
"forwarding" because it evokes ideas of .forward files and such.

> from a stream
> to a particular remote domain are forwarded in order - in particular,
> this implies that for any given inbound stanza that is addressed to a
> remote domain, there SHOULD be at most one outbound stream, used
> consistently.

As above, I think this applies to a pair of originating full JID and
destination bare JID, not originating server and destination server.

> What this means in practical terms:
> 
> 1) If you get a vCard request for a bare jid, and a message to that same
> bare jid, you needn't block the entire stream while you pootle off to
> your database (or, if you're as hip as us, your ACP-142 compliant X.500
> directory) to fetch the info. Just kick of the vCard fetching, and
> forward 

"deliver"

> the stanza to a suitable resource. If a sender cares about what
> the result of the vCard is prior to delivery of the message, they'd
> wait. And you certainly don't care - whatever their family name is,
> you're going to pick the same resource, and even if you waited, there's
> no certainty you'd manage to delivery the result before the message anyway.

Agreed.

> 2) If you get a XEP-0191 change request from a client, and, in the same
> TCP packet, a presence broadcast - hence both to the same bare jid -
> then absolutely you need to fully process the XEP-0191 request before
> the presence broadcast, because the order clearly matters.

Agreed.

> 3) Once you've forwarded a message, that counts as processing. So if two
> sequential messages require forwarding to two different streams, then
> you don't need to care about the order they're delivered. If two
> sequential messages require forwarding to the same stream, you forward
> them in turn (such that they'll arrive in-order).

Yes, with s/forwarded/routed or delivered/ and s/message/stanza/ etc.

> 3) If a MUC service is - sensibly - using a single stream to communicate
> with you, it all Just Worksâ„˘. If it doesn't use a single stream, it
> becomes their fault and not yours. (But note that a MUC service could
> use a single stream per-participant

Agreed -- this is just an application of the general rule (process
in-order on a per-stream basis) to MUC.

> 4) If you use multiple streams to communicate with an entity (ie, two
> S2S streams which you randomly use either of to send to a remote full
> jid), then everything will break, and this is entirely your fault. You
> can, however, consistently use one of any number of streams to a remote
> domain for stanzas from a particular stream.

This seems in tension with the last sentence of your proposed text.
Perhaps it would help to clarify "inbound" and "outbound", or to use
different terms (because we often use those terms in relation to
stanzas, see for example the subscription sections in 3921bis).

Peter

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



From dave@cridland.net  Fri Oct  1 13:13:10 2010
Return-Path: <dave@cridland.net>
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 452CE3A6E0F for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 13:13:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.501
X-Spam-Level: 
X-Spam-Status: No, score=-2.501 tagged_above=-999 required=5 tests=[AWL=0.098,  BAYES_00=-2.599]
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 AASKR8v2zvE8 for <xmpp@core3.amsl.com>; Fri,  1 Oct 2010 13:13:06 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 88AC83A6D01 for <xmpp@ietf.org>; Fri,  1 Oct 2010 13:13:04 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 1563C11680D7; Fri,  1 Oct 2010 21:13:50 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EdNktGMwTzoi; Fri,  1 Oct 2010 21:13:47 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 71ACC11680CA; Fri,  1 Oct 2010 21:13:47 +0100 (BST)
References: <4CA4FBB6.4070809@stpeter.im> <201009302342.18960.justin@affinix.com> <4CA5D027.20109@ahsoftware.de> <11166.1285944897.096151@puncture> <4CA5FC50.5020909@webex.com> <4CA5FF38.6090604@stpeter.im> <11166.1285947396.417913@puncture> <4CA60BBB.4040902@stpeter.im>
In-Reply-To: <4CA60BBB.4040902@stpeter.im>
MIME-Version: 1.0
Message-Id: <11166.1285964027.454522@puncture>
Date: Fri, 01 Oct 2010 21:13:47 +0100
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, XMPP Working Group <xmpp@ietf.org>, Ben Schumacher <ben.schumacher@webex.com>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] "in-order processing"
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: Fri, 01 Oct 2010 20:13:10 -0000

On Fri Oct  1 17:26:35 2010, Peter Saint-Andre wrote:
> > Servers MUST resolve any ambiguity
> 
> The phrase "resolve any ambiguity" is ambiguous to me. :)
> 
> 
That's for servers to resolve.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From gonzalo.camarillo@ericsson.com  Sat Oct  2 09:25:27 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 F2CC13A6BF3 for <xmpp@core3.amsl.com>; Sat,  2 Oct 2010 09:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.4
X-Spam-Level: 
X-Spam-Status: No, score=-106.4 tagged_above=-999 required=5 tests=[AWL=0.199,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 XPRukLX1e5JZ for <xmpp@core3.amsl.com>; Sat,  2 Oct 2010 09:25:25 -0700 (PDT)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id 903F93A6EAA for <xmpp@ietf.org>; Sat,  2 Oct 2010 09:25:25 -0700 (PDT)
X-AuditID: c1b4fb3d-b7cbfae00000264e-c4-4ca75d27e3f3
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 7E.BD.09806.72D57AC4; Sat,  2 Oct 2010 18:26:15 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.170]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 2 Oct 2010 18:24:48 +0200
Received: from [131.160.126.197] ([131.160.126.197]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Sat, 2 Oct 2010 18:24:47 +0200
Message-ID: <4CA75CCF.8090108@ericsson.com>
Date: Sat, 02 Oct 2010 19:24:47 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: xmpp@ietf.org
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Oct 2010 16:24:47.0873 (UTC) FILETIME=[54BB6710:01CB624E]
X-Brightmail-Tracker: AAAAAA==
Subject: [xmpp] AD review: draft-ietf-xmpp-3920bis-16
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: Sat, 02 Oct 2010 16:25:27 -0000

Hi,

I have received a publication request for the following draft:

https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/

Below you can find my AD review. The draft has also received some
additional comments on the list in the last few days. I will leave it up
to the author to quickly address these comments in a new revision before
I start its IETF LC or to take all these comments as IETF LC comments.

Cheers,

Gonzalo


Page 10: it is not clear if SASL is mandatory and those servers will
need to be update, or if the Sever dialback protocol is an
option. What does this RFC recommend to do? What is the point of that
paragraph? The PROTO writeup mentions that the consensus was to keep
dialback at the MAY level. The text in the draft could be more clear
about that.

Section 3.2.1 describes the preferred process. Should we add a
normative statement such as "it is RECOMMENDED to use this process" to
capture the preference?

There are a few Overview sections that contain normative
statements. Is that the intention? I am asking because overview
sections are often intended to be non-normative descriptions on what
will be normatively specified in a different section.

Section 4.3, third bullet. Is that approach described somewhere else
or it is done in a proprietory way?

Section 4.8.1.4: first TCP connection refers to the
connection that *was established* first, right?

Section 8.4, second to last bullet (at the end of the section). The
text does not give any guidance on when the receiver should choose
ignoring the stanza or returning an error.

Section 9 mentions that the examples are non normative. However,
previous sections containing examples do not mention this. Stressing
this point also in previous sections may be useful.



From dave@cridland.net  Sat Oct  2 12:36:05 2010
Return-Path: <dave@cridland.net>
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 698333A6D11 for <xmpp@core3.amsl.com>; Sat,  2 Oct 2010 12:36:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.502
X-Spam-Level: 
X-Spam-Status: No, score=-2.502 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599]
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 vhrIQTgKA9sL for <xmpp@core3.amsl.com>; Sat,  2 Oct 2010 12:36:04 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 0B3143A6CDA for <xmpp@ietf.org>; Sat,  2 Oct 2010 12:36:03 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id CA8F311680D7; Sat,  2 Oct 2010 20:36:53 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xgpmFjxrbnER; Sat,  2 Oct 2010 20:36:50 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 6C27811680CA; Sat,  2 Oct 2010 20:36:50 +0100 (BST)
References: <4CA75CCF.8090108@ericsson.com>
In-Reply-To: <4CA75CCF.8090108@ericsson.com>
MIME-Version: 1.0
Message-Id: <11166.1286048210.430504@puncture>
Date: Sat, 02 Oct 2010 20:36:50 +0100
From: Dave Cridland <dave@cridland.net>
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-3920bis-16
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: Sat, 02 Oct 2010 19:36:05 -0000

On Sat Oct  2 17:24:47 2010, Gonzalo Camarillo wrote:
> Section 4.3, third bullet. Is that approach described somewhere else
> or it is done in a proprietory way?

XEP-0220 includes a "piggybacking" feature.

Also the bidirection S2S "future extension" has been accepted as a  
XEP, I believe.

> Section 4.8.1.4: first TCP connection refers to the
> connection that *was established* first, right?
> 
> 
No... "first" should be replaced with "same" in the first bullet.

In the second bullet, "first" should be replaced with "one", and  
"second" with "other, return".


> Section 8.4, second to last bullet (at the end of the section). The
> text does not give any guidance on when the receiver should choose
> ignoring the stanza or returning an error.
> 
> 
No, and it shouldn't - it's highly dependent on the application  
running over XMPP, the destination of the message, and so on. For  
instance, if the message is directed at a client, then the choice may  
depend on whether the sending client's bare jid was in the roster of  
the receiving client's account.

Trying to specify all possible cases will treble the size of the  
document, and if gets much longer people will naturally assume it's a  
SIP specification. ;-)


> Section 9 mentions that the examples are non normative. However,
> previous sections containing examples do not mention this. Stressing
> this point also in previous sections may be useful.

I'm a great fan of a document conventions section for points like  
these to be made. Typically, such sections also mention about line  
breaks not being for anything but clarity, the "S1:" prefices, etc.  
I'll draft such a section if there is interest in the group.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From dave@cridland.net  Sat Oct  2 12:46:24 2010
Return-Path: <dave@cridland.net>
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 7BE993A6D97 for <xmpp@core3.amsl.com>; Sat,  2 Oct 2010 12:46:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.502
X-Spam-Level: 
X-Spam-Status: No, score=-2.502 tagged_above=-999 required=5 tests=[AWL=0.097,  BAYES_00=-2.599]
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 0oUllGlm1jag for <xmpp@core3.amsl.com>; Sat,  2 Oct 2010 12:46:23 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 744F43A6D25 for <xmpp@ietf.org>; Sat,  2 Oct 2010 12:46:23 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id E417F11680D7; Sat,  2 Oct 2010 20:47:13 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rfuy+ZF2zaG8; Sat,  2 Oct 2010 20:47:11 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id E873911680CA; Sat,  2 Oct 2010 20:47:10 +0100 (BST)
References: <4CA75CCF.8090108@ericsson.com> <11166.1286048209.983880@puncture>
In-Reply-To: <11166.1286048209.983880@puncture>
MIME-Version: 1.0
Message-Id: <11166.1286048830.944720@puncture>
Date: Sat, 02 Oct 2010 20:47:10 +0100
From: Dave Cridland <dave@cridland.net>
To: Dave Cridland <dave@cridland.net>, Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-3920bis-16
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: Sat, 02 Oct 2010 19:46:24 -0000

On Sat Oct  2 20:36:49 2010, Dave Cridland wrote:
> On Sat Oct  2 17:24:47 2010, Gonzalo Camarillo wrote:
>> Section 4.3, third bullet. Is that approach described somewhere  
>> else
>> or it is done in a proprietory way?
> 
> XEP-0220 includes a "piggybacking" feature.

Oh, no, I misread this. (Thanks to Philip Hancke for pointing out my  
error).

This point relates to using multiple streams between two domains, and  
that's possible with no extensions, proprietary or otherwise. This  
isn't always a good idea, hence the spec includes <conflict/> for the  
receiver of multiple streams for a domain to reject it, but it's not  
given a pointer here. (Perhaps it should be).

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From gonzalo.camarillo@ericsson.com  Sun Oct  3 01:18:26 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 3E3F63A6CAD for <xmpp@core3.amsl.com>; Sun,  3 Oct 2010 01:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.402
X-Spam-Level: 
X-Spam-Status: No, score=-106.402 tagged_above=-999 required=5 tests=[AWL=0.197, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 fIc9oQ2pQVZA for <xmpp@core3.amsl.com>; Sun,  3 Oct 2010 01:18:25 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id B38813A6C84 for <xmpp@ietf.org>; Sun,  3 Oct 2010 01:18:24 -0700 (PDT)
X-AuditID: c1b4fb39-b7c6dae000006ad7-94-4ca83c8313ca
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id C5.A0.27351.38C38AC4; Sun,  3 Oct 2010 10:19:15 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Sun, 3 Oct 2010 10:19:15 +0200
Received: from [131.160.126.165] ([131.160.126.165]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Sun, 3 Oct 2010 10:19:15 +0200
Message-ID: <4CA81CB9.5020509@ericsson.com>
Date: Sun, 03 Oct 2010 09:03:37 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: xmpp@ietf.org
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 03 Oct 2010 08:19:15.0625 (UTC) FILETIME=[AAF8E190:01CB62D3]
X-Brightmail-Tracker: AAAAAA==
Subject: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Sun, 03 Oct 2010 08:18:26 -0000

Hi,

I have received a publication request for the following draft:

https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/

Below you can find my AD review.

Cheers,

Gonzalo


Section 1. The last paragraph talks about delays in the revision
process if the address format was specified in 3920bis. Since we are
progressing both drafts together, I do not understand what delays the
text is referring to. I understood the advantage of moving the address
format to a new draft was that such a draft (i.e., this draft) could
be revised at a later point without needing to revise the main spec
again. So, I thought the gains related to modularity, not to reducing
delays.

Section 2.1. I also made this comment on 3920bis. This overview
section contains normative language. I just want to make sure that
was the intention.



From gonzalo.camarillo@ericsson.com  Mon Oct  4 00:36:25 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 7CB1C3A6F3A for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 00:36:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.397
X-Spam-Level: 
X-Spam-Status: No, score=-106.397 tagged_above=-999 required=5 tests=[AWL=0.202, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 EQhFu-IlRlQk for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 00:36:24 -0700 (PDT)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id 713AF3A6E4B for <xmpp@ietf.org>; Mon,  4 Oct 2010 00:36:24 -0700 (PDT)
X-AuditID: c1b4fb3d-b7cbfae00000264e-58-4ca9842e7cca
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 27.B2.09806.E2489AC4; Mon,  4 Oct 2010 09:37:18 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 4 Oct 2010 09:37:17 +0200
Received: from [131.160.126.165] ([131.160.126.165]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 4 Oct 2010 09:37:17 +0200
Message-ID: <4CA9842A.2010507@ericsson.com>
Date: Mon, 04 Oct 2010 10:37:14 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <4CA75CCF.8090108@ericsson.com> <11166.1286048210.430504@puncture>
In-Reply-To: <11166.1286048210.430504@puncture>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 04 Oct 2010 07:37:17.0665 (UTC) FILETIME=[F8906D10:01CB6396]
X-Brightmail-Tracker: AAAAAA==
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 07:36:25 -0000

Hi Dave,

> Trying to specify all possible cases will treble the size of the  
> document, and if gets much longer people will naturally assume it's a  
> SIP specification. ;-)

that would be terrible!!! :o)

Cheers,

Gonzalo


From gonzalo.camarillo@ericsson.com  Mon Oct  4 01:39:06 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 CE8603A6C55 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 01:39:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.399
X-Spam-Level: 
X-Spam-Status: No, score=-106.399 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 4YmpmGh1YaEz for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 01:39:05 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id 8315A3A6C84 for <xmpp@ietf.org>; Mon,  4 Oct 2010 01:39:05 -0700 (PDT)
X-AuditID: c1b4fb39-b7c6dae000006ad7-25-4ca992dff0dd
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 6F.F9.27351.FD299AC4; Mon,  4 Oct 2010 10:39:59 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 4 Oct 2010 10:39:59 +0200
Received: from [131.160.126.165] ([131.160.126.165]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 4 Oct 2010 10:39:59 +0200
Message-ID: <4CA992DE.1040802@ericsson.com>
Date: Mon, 04 Oct 2010 11:39:58 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: "xmpp@ietf.org" <xmpp@ietf.org>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 04 Oct 2010 08:39:59.0191 (UTC) FILETIME=[BA9BBE70:01CB639F]
X-Brightmail-Tracker: AAAAAA==
Subject: [xmpp] AD review: draft-ietf-xmpp-3921bis-14
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, 04 Oct 2010 08:39:06 -0000

Hi,

I have received a publication request for the following draft:

https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/

I do not have any substantial comments on it. The only thing is that
Abstracts should be as stand alone as possible. That is why they do
not typically contain references. I would propose a change along these
lines:

OLD:
  in conformance with RFC 2779.

NEW:
  in conformance with the requirements in RFC 2779.

The editor can make this or a similar change if draft needs to be
revised at some point.

Cheers,

Gonzalo


From gonzalo.camarillo@ericsson.com  Mon Oct  4 01:42:02 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 074BB3A6F48 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 01:42:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.401
X-Spam-Level: 
X-Spam-Status: No, score=-106.401 tagged_above=-999 required=5 tests=[AWL=0.198, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 6VlwZ3zIodgL for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 01:42:01 -0700 (PDT)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id D80413A6C55 for <xmpp@ietf.org>; Mon,  4 Oct 2010 01:42:00 -0700 (PDT)
X-AuditID: c1b4fb3d-b7cbfae00000264e-4e-4ca9938f64e7
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id A0.80.09806.F8399AC4; Mon,  4 Oct 2010 10:42:55 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 4 Oct 2010 10:42:55 +0200
Received: from [131.160.126.165] ([131.160.126.165]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Mon, 4 Oct 2010 10:42:53 +0200
Message-ID: <4CA9938D.7070709@ericsson.com>
Date: Mon, 04 Oct 2010 11:42:53 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: xmpp@ietf.org
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 04 Oct 2010 08:42:54.0860 (UTC) FILETIME=[2350B4C0:01CB63A0]
X-Brightmail-Tracker: AAAAAA==
Subject: [xmpp] Advancing the XMPP trilogy: current status
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, 04 Oct 2010 08:42:02 -0000

Hi,

I am going to advance the XMPP trilogy in parallel. As you all know, the
three drafts are the following:

https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/
https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/
https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/

As soon as the editor addresses my AD review comments on the first two
and the chairs provide me with the PROTO writeup for the third one, I
will IETF Last Call them.

Cheers,

Gonzalo


From waqas20@gmail.com  Mon Oct  4 06:05:07 2010
Return-Path: <waqas20@gmail.com>
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 9F2493A6F9B for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 06:05:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.655
X-Spam-Level: 
X-Spam-Status: No, score=-2.655 tagged_above=-999 required=5 tests=[AWL=-0.056, BAYES_00=-2.599]
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 uClrpsM-GGGL for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 06:05:06 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 6475B3A6F87 for <xmpp@ietf.org>; Mon,  4 Oct 2010 06:05:06 -0700 (PDT)
Received: by qwc9 with SMTP id 9so3587425qwc.31 for <xmpp@ietf.org>; Mon, 04 Oct 2010 06:06:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=3dCaTZkDBEWoo3RK20mZiVs3Mq/yaRkuFFgNeF7E28M=; b=pb0crfA2EZ0yShZ0ijFESJy2QAGW7x19mGXgYto7Olef+QbkNLywU1LrBY3lQO7wtd xDypjdPrJzSAafQGrzZgQ3wS3g7cHQD1DMLieXpTXGTJQAv2e3ZPfRnVBktfVH3dghVS xc8Ior0v4Bvc2cJjWWGhzpfY7kFq1AvR6VbXU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=lAYx+EmKYVLYED6hVf+3FuhgLaw7OcfVbe/Z4ytQ2ebmwoDwOhPcsxelIKmd6qxKuO rkvCUgyqrVrxxVldFFP3KF5E6Pl7wVfSNKyhkDytl/8e3zVd5bLxp2Hbm8zfGWLHdh/e M9mHCLmAYv+N3hxRklW0zAn4AYI2A04oOU/KE=
Received: by 10.224.60.136 with SMTP id p8mr6843575qah.216.1286197554313; Mon, 04 Oct 2010 06:05:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.72.224 with HTTP; Mon, 4 Oct 2010 06:05:34 -0700 (PDT)
From: Waqas Hussain <waqas20@gmail.com>
Date: Mon, 4 Oct 2010 18:05:34 +0500
Message-ID: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com>
To: XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Subject: [xmpp] 3921bis and directed presence
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, 04 Oct 2010 13:05:07 -0000

Directed presence and it's interaction with other stanzas and state is
underspecified.

Things to consider:

1. How it interacts with incoming presence probes
2. How it interacts with subscription changes
3. How it interacts with outgoing directed presence and presence broadcasts
4. How it interacts with incoming presence
Extra 1: How the above interactions change when the remote JID is or
is not subscribed to the user
Extra 2: How the above interactions change with full JIDs (remote or
user's) vs bare JIDs (remote vs user's)

The following are some of the cases. The interactions are complex
enough that we can probably come up with more.

1. How it interacts with incoming presence probes

What is already specified: If we get a probe from a JID to which we
sent directed presence, we should reply with a blank available
presence.

What if the directed presence was sent to full JID A, but probe is
from full JID B, to either the local full JID? To the local bare JID?
What if the probe is from a full JID, and directed presence was sent
by two local resources to two different full JIDs?

2. How it interacts with subscription changes

Subscription changes often cause stanzas to be auto-sent. e.g.,
unavailable presence may be sent if we take remove a contact. But if
we have sent the contact a directed presence, do we clear that from
our directed presence tables? Or should we perhaps skip the
unavailable presence?

3. How it interacts with outgoing directed presence and presence broadcasts

Do we clear that directed presence from our local tables when a
directed presence had been sent, but now a presence is being sent as
part of a broadcast?
Do we clear all full JID in our directed presence tables if the user
sends an unavailable to a bare JID?

4. How it interacts with incoming presence

We should probably clear our local directed presence tables on getting
an unavailable presence from the remote JID. I don't think this is
specified, but seems obvious.
But what if the directed presence was to the bare JID, while the
unavailable if from a full JID? The opposite? What if both were full
JIDs?
What if we get an unavailable to the user's bare JID, but a directed
presence had been sent from a full JID which isn't available (hasn't
sent initial presence)? We shouldn't clear that directed presence
then?

5. How do we apply resource limits?

What do we do if the user is sending directed presence to a million
remote JIDs, leading to a huge table on the server?

The current implementation of the above in Prosody is a directed
presence table, maintained per local client session, which just stores
JIDs (without considering full vs. bare). We set entries on outgoing
directed presence, and clear them on outgoing directed unavailable
presence. I discussed this a bit with Dave Cridland, and it appears
M-Link pretty much does the same thing. This makes us compliant except
for the responding to probes part. I suspect doing The Right Thing(tm)
for all above cases is going to add quite some complexity.

--
Waqas Hussain

From stpeter@stpeter.im  Mon Oct  4 07:04:26 2010
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 58E353A6CAA for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 07:04:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.534
X-Spam-Level: 
X-Spam-Status: No, score=-102.534 tagged_above=-999 required=5 tests=[AWL=0.065, 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 toueHBMgPDnL for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 07:04:25 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id F2DF33A6F8D for <xmpp@ietf.org>; Mon,  4 Oct 2010 07:04:24 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5959340337 for <xmpp@ietf.org>; Mon,  4 Oct 2010 08:11:18 -0600 (MDT)
Message-ID: <4CA9DF0E.5000000@stpeter.im>
Date: Mon, 04 Oct 2010 08:05:02 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com> <4CA4D91E.3000508@stpeter.im>
In-Reply-To: <4CA4D91E.3000508@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 14:04:26 -0000

On 9/30/10 12:38 PM, Peter Saint-Andre wrote:
> On 9/29/10 4:21 PM, Jehan PagĂ¨s wrote:

<snip/>

>> 2/ section "4.1 Streams overview":
>>
>> Â«
>> The
>>    client initiates an XML stream by sending a stream header to the
>>    server, optionally preceded by a *text declaration* specifying the XML
>>    version and the character encoding supported (see Section 11.5 and
>>    Section 11.6).  Subject to local policies and service provisioning,
>>    the server then replies with a second XML stream back to the client,
>>    again optionally preceded by a *text declaration*.
>> Â»
>>
>> two times are used "text declaration" while "XML declaration" is the
>> right term to use
> 
> Correct.

Fixed in my working copy.

>> 3/ 11.5. Inclusion of XML Declaration:
>>
>> We just say to follow the rules of XML. I was wondering about the
>> SDDecl (Standalone Document Declaration). Shouldn't we precise that it
>> should not be included or always to "yes".
>> 
>> This seems obvious to me (because a XMPP stream does not include
>> anything external), but I wonder if we would not gain in clarity by
>> precising it.
> 
> (I like your new English verb "to precise"! :)
> 
> Section 11.1 of 3920bis-16 forbids external markup declarations and
> parameter entities in XMPP, so XMPP streams are always standalone='yes'.
> 
> The XML spec says:
> 
>    If there are no external markup declarations, the standalone
>    document declaration has no meaning.
> 
> Now, because there will never be external markup declarations in an XMPP
> stream, the standalone document declaration will never have any meaning.
> 
>> And especially: how do we react if someone send a SDDecl to "no" at
>> the beginning of a stream? Should we just ignore it or send a stream
>> error (which seems better to me, because if the entity really hopes us
>> to reach external declarations, it is obviously non compliant XMPP).
>> This should be added, I think.
> 
> Do we want to return an error in response to data that has no meaning?
> It seems fine to ignore such data. However, if a server wants to return
> a stream error then <bad-format/> seems like the right condition.

In my working copy, I've added the following paragraph to Section 11.5:

   Because external markup declarations are prohibited in XMPP (as
   described under Section 11.1), the standalone document declaration
   (matching production [32] content of [XML]) would have no meaning and
   therefore SHOULD NOT be included in an XML declaration sent over an
   XML stream.  If an XMPP entity receives an XML declaration containing
   a standalone document declaration set to a value of "no", the entity
   MUST either ignore the standalone document declaration or return a
   stream error (which SHOULD be <restricted-xml/>).

>> 4/ 4.7.2. Default Namespace:
>>
>> the definition and example of "prefix-free canonicalization" shows
>> that basically in such logics, the streams namespace is used as
>> default, which contradicts the rule (1) edicted just before:
>> Â« (1) the default namespace MUST be other than the
>>    streams namespace Â»
>>
>> I guess this should should be removed (or made clearer that this is
>> only one of the two possible namespace logics we use).
> 
> Hmm yes. I will look at that more closely, but I agree that we need to
> "precise" the description.

I'll post separately about this issue.

>> 5/ 4.7.4. Namespace Declarations and Prefixes:
>>
>> Â«
>>    By definition, the namespace declaration for the default namespace
>>    will not include a namespace prefix (e.g., "xmlns='jabber:client'").
>> Â»
>>
>> As this is indeed by definition, do we need to precise that? Actually
>> I think there are a lot of places we maybe over-precise stuffs which
>> are actually unneeded because they are already defined in the specs of
>> used technology, in particular related to XML. Though it might
>> contradict my point 3/.
> 
> The example is wrong there anyway, so I think it's fine to delete that text.

Done in my working copy.

Peter

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



From stpeter@stpeter.im  Mon Oct  4 07:33:40 2010
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 CB81A3A6F76 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 07:33:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.536
X-Spam-Level: 
X-Spam-Status: No, score=-102.536 tagged_above=-999 required=5 tests=[AWL=0.063, 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 n3Ta8NsWmbvc for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 07:33:39 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 5B87F3A6F9D for <xmpp@ietf.org>; Mon,  4 Oct 2010 07:33:39 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5819340337; Mon,  4 Oct 2010 08:40:33 -0600 (MDT)
Message-ID: <4CA9E5F9.8080209@stpeter.im>
Date: Mon, 04 Oct 2010 08:34:33 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
References: <4CA81CB9.5020509@ericsson.com>
In-Reply-To: <4CA81CB9.5020509@ericsson.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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, 04 Oct 2010 14:33:40 -0000

On 10/3/10 12:03 AM, Gonzalo Camarillo wrote:

> Section 1. The last paragraph talks about delays in the revision
> process if the address format was specified in 3920bis. Since we are
> progressing both drafts together, I do not understand what delays the
> text is referring to. I understood the advantage of moving the address
> format to a new draft was that such a draft (i.e., this draft) could
> be revised at a later point without needing to revise the main spec
> again. So, I thought the gains related to modularity, not to reducing
> delays.

The only reason we care about modularity here is that it might take
several years before the PRECIS WG defines an improved approach to
internationalization of non-DNS addresses (we saw how long it took to
revise IDNA2003), and we didn't want to hold up publication of 3920bis
that long because it contains a *lot* of improvements compared to 3920.

I've adjusted the introduction to draft-ietf-xmpp-address in my working
copy as follows:

###

   As specified in RFC 3920, the XMPP address format re-uses the
   "stringprep" technology for preparation of non-ASCII characters
   [STRINGPREP], including the Nameprep profile for internationalized
   domain names as specified in [NAMEPREP] and [IDNA2003] along with two
   XMPP-specific profiles for the localpart and resourcepart.  However,
   since the publication of RFC 3920, IDNA2003 has been superseded by
   IDNA2008 (see [IDNA-PROTO] and related documents).  As a result,
   other protocols that use stringprep (including XMPP) have begun to
   migrate from stringprep toward more "modern" approaches.

   However, work on improved handling of internationalized addresses is
   currently in progress within the PRECIS Working Group and might take
   several years to complete.  Because all other aspects of revised
   documentation for XMPP have been incorporated into [rfc3920bis], the
   XMPP Working Group decided to split the XMPP address format into a
   separate specification so as not to significantly delay publication
   of improved documentation for XMPP while awaiting the conclusion of
   work on improved handling of internationalized addresses.  This
   specification provides corrected documentation of the XMPP address
   format using the internationalization technologies available in 2004
   (when RFC 3920 was published), with the intent that this
   specification will be superseded as soon as work on a new approach to
   internationalization has been defined by the PRECIS Working Group.

###

Is that clearer?

> Section 2.1. I also made this comment on 3920bis. This overview
> section contains normative language. I just want to make sure that
> was the intention.

Yes, that is the intention.

Personally I see no reason why a section entitled "Overview" cannot be
normative, but if it's confusing then we could change the title to
something like "Fundamentals".

Peter

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



From stpeter@stpeter.im  Mon Oct  4 08:46:54 2010
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 DD5F13A6D33 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 08:46:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.537
X-Spam-Level: 
X-Spam-Status: No, score=-102.537 tagged_above=-999 required=5 tests=[AWL=0.062, 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 S1UFP-mRWMsv for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 08:46:53 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 1E9803A6C9D for <xmpp@ietf.org>; Mon,  4 Oct 2010 08:46:53 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 238AD40337 for <xmpp@ietf.org>; Mon,  4 Oct 2010 09:53:47 -0600 (MDT)
Message-ID: <4CA9F713.6080006@stpeter.im>
Date: Mon, 04 Oct 2010 09:47:31 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com>
In-Reply-To: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 15:46:55 -0000

On 9/29/10 4:21 PM, Jehan PagĂ¨s wrote:

> 4/ 4.7.2. Default Namespace:
> 
> the definition and example of "prefix-free canonicalization" shows
> that basically in such logics, the streams namespace is used as
> default, which contradicts the rule (1) edicted just before:
> Â« (1) the default namespace MUST be other than the
>    streams namespace Â»
> 
> I guess this should should be removed (or made clearer that this is
> only one of the two possible namespace logics we use).

This is a bit sticky but it is mostly a matter of nomenclature, because
we were inadvertently conflating the meaning of "default namespace" from
the "Namespaces in XML" specification with the 'jabber:client' and
'jabber:server' namespaces used in XMPP to define the data we typically
send in XMPP.

You are right that if "prefix-free canonicalization" is used at the
stream level (i.e., no <stream:stream/> or <stream:error/> prefixing),
the default namespace (as defined by the "Namespaces in XML" spec) is in
fact the streams namespace.

By contrast, if "prefix-free canonicalization" is *not* used at the
stream level then the default namespace is a namespace other than the
streams namespace. I propose that we call that other namespace the
"content namespace", and that we change most instances of "default
namespace" to "content namespace".

The impact of this change is mostly limited to Section 4.7, although it
also results in small changes to other sections.

Here is a revised Section 4.7 so you can see what I propose.

###

4.7.  Namespaces

   Readers are referred to the specification of XML namespaces
   [XML-NAMES] for a full understanding of the concepts used in this
   section, especially the concept of a "default namespace" as provided
   in Section 3 and Section 6.2 of that specification.

4.7.1.  Streams Namespace

   The root <stream/> element ("stream header") MUST be qualified by the
   namespace 'http://etherx.jabber.org/streams' (the "streams
   namespace").  If this rule is violated, the entity that receives the
   offending stream header MUST return a stream error to the sending
   entity, which SHOULD be <invalid-namespace/> (although some existing
   implementations send <bad-format/> instead).

4.7.2.  Content Namespace

   An entity MAY declare a "content namespace" as the default namespace
   for data sent over the stream (i.e., data other than elements
   qualified by the streams namespace).  If so, (1) the content
   namespace MUST be other than the streams namespace, and (2) the
   content namespace MUST be the same for the initial stream and the
   response stream so that both streams are qualified consistently.  The
   content namespace applies to all first-level child elements sent over
   the stream unless explicitly qualified by another namespace (i.e.,
   the content namespace is the default namespace).

   Alternatively (i.e., instead of declaring the content namespace as
   the default namespace), an entity MAY explicitly qualify the
   namespace for each first-level child element of the stream, using so-
   called "prefix-free canonicalization".  These two styles are shown in
   the following examples.

   When a content namespace is declared as the default namespace, in
   rough outline a stream will look something like the following.

   <stream:stream
       from='juliet@im.example.com'
       to='im.example.com'
       version='1.0'
       xml:lang='en'
       xmlns='jabber:client'
       xmlns:stream='http://etherx.jabber.org/streams'>
     <message>
       <body>foo</body>
     </message>
   </stream:stream>

   When a content namespace is not declared as the default namespace and
   so-called "prefix-free canonicalization" is used instead, in rough
   outline a stream will look something like the following.

   <stream
       from='juliet@im.example.com'
       to='im.example.com'
       version='1.0'
       xml:lang='en'
       xmlns='http://etherx.jabber.org/streams'>
     <message xmlns='jabber:client'>
       <body>foo</body>
     </message>
   </stream:stream>

   Historically, most XMPP implementations have used the content-
   namespace-as-default-namespace style rather than the prefix-free
   canonicalization style for stream headers; however, both styles are
   acceptable since they are semantically equivalent.

4.7.3.  Other Namespaces

   Either party to a stream MAY send data qualified by namespaces other
   than the content namespace and the streams namespace.  For example,
   this is how data related to TLS negotiation and SASL negotiation are
   exchanged, as well as XMPP extensions such as Server Dialback
   [XEP-0220] and Stream Management [XEP-0198].

      Interoperability Note: For historical reasons, some server
      implementations expect a declaration of the 'jabber:server:
      dialback' namespace on server-to-server streams; for details, see
      [XEP-0220].

4.7.4.  Namespace Declarations and Prefixes

   Because the content namespace is other than the streams namespace, if
   a content namespace is declared as the default namepsace then the
   following statements are true:

   1.  The stream header needs to contain a namespace declaration for
       both the content namespace and the streams namespace.

   2.  The streams namespace declaration needs to include a namespace
       prefix for the streams namespace.

      Interoperability Note: For historical reasons, an implementation
      MAY accept only the prefix 'stream' for the streams namespace
      (resulting in prefixed names such as <stream:stream> and <stream:
      features>).  If an entity receives a stream header with a streams
      namespace prefix it does not accept, it MUST return a stream error
      to the sending entity, which SHOULD be <bad-namespace-prefix/>
      (although some existing implementations send <bad-format/>
      instead).

   An implementation MUST NOT generate namespace prefixes for elements
   qualified by the content namespace if the content namespace is
   'jabber:client' or 'jabber:server'.

   Namespaces declared in a stream header MUST apply only to that stream
   (e.g., the 'jabber:server:dialback' namespace used in Server Dialback
   [XEP-0220]).  In particular, because XML stanzas intended for routing
   or delivery over streams with other entities will lose the namespace
   context declared in the header of the stream in which those stanzas
   originated, namespaces for extended content within such stanzas MUST
   NOT be declared in that stream header (see also Section 8.4).  If
   either party to a stream declares such namespaces, the other party to
   the stream SHOULD close the stream with a stream error of <invalid-
   namespace/>.  In any case, an entity MUST ensure that such namespaces
   are properly declared (according to this section) when routing or
   delivering stanzas originating from such a stream over streams with
   other entities.

4.7.5.  Mandatory-to-Implement Content Namespaces

   XMPP as defined in this specification uses two content namespaces:
   'jabber:client' and 'jabber:server'.  These namespaces are nearly
   identical but are used in different contexts (client-to-server
   communication for 'jabber:client' and server-to-server communication
   for 'jabber:server').  The only difference between the two is that
   the 'to' and 'from' attributes are OPTIONAL on stanzas sent over XML
   streams qualified by the 'jabber:client' namespace, whereas they are
   REQUIRED on stanzas sent over XML streams qualified by the 'jabber:
   server' namespace.  Support for these content namespaces implies
   support for the common attributes (Section 8.1) and basic semantics
   (Section 8.2) of all three core stanza types (message, presence, and
   IQ).

   An implementation MAY support content namespaces other than 'jabber:
   client' or 'jabber:server'.  However, because such namespaces would
   define applications other than XMPP, they are to be defined in
   separate specifications.

   An implementation MAY refuse to support any other content namespaces
   as default namespaces.  If an entity receives a first-level child
   element qualified by a content namespace it does not support, it MUST
   return an <invalid-namespace/> stream error.

   Client implementations MUST support the 'jabber:client' content
   namespace as a default namespace.

   Server implementations MUST support as default namespaces both the
   'jabber:client' content namespace (when the stream is used for
   communication between a client and a server) and the 'jabber:server'
   content namespace (when the stream is used for communication between
   two servers).

      Implementation Note: Because a client sends stanzas over a stream
      whose content namespace is 'jabber:client', if the server to which
      the client is connected needs to route a client-generated stanza
      to another server then it MUST "re-scope" the stanza so that its
      content namespace is 'jabber:server' (i.e., it MUST NOT send a
      stanza qualified by the 'jabber:client' namespace over a stream
      whose content namespace is 'jabber:server').  Similarly, a routing
      server MUST "re-scope" a stanza received over a server-to-server
      stream (whose content namespace is 'jabber:server') so that the
      stanza is qualified by the 'jabber:client' namespace before
      sending it over a client-to-server stream (whose content namespace
      is 'jabber:client').

###

From jehan.marmottard@gmail.com  Mon Oct  4 10:16:13 2010
Return-Path: <jehan.marmottard@gmail.com>
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 E971A3A7025 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 10:16:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level: 
X-Spam-Status: No, score=-1.997 tagged_above=-999 required=5 tests=[AWL=0.302,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 yd0rDR33dpVE for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 10:16:12 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id 66CBB3A705C for <xmpp@ietf.org>; Mon,  4 Oct 2010 10:14:54 -0700 (PDT)
Received: by iwn3 with SMTP id 3so8593684iwn.31 for <xmpp@ietf.org>; Mon, 04 Oct 2010 10:15:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+p3bW4tYAHv4IRbjK949RTOmi8tGTwJ5ADFA45TsM94=; b=gkMg1pfnlB/4o+iQexlpB+j1/iWDSDsBvIRkkAVsRFmSCGncGDObbJrtF1IWINTUPk cnvck2YzOSIo+vuNGa+NdQ5+Wia0BrGDla79Rd7xTh30xAHaPoX2Bu1/fXSO8SxiZIlS KfxiWg4uN4I5WgzRDiCFhB94l/Gn5jNGynjd8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=gz6FDHS9k5NcN9hvdzASMfLh64RQ1CbHrhp1+gJ1osG/sSEaqsU8xn4x+wwqbYH5mi fLxvQpTsmk9ezmr5dHwK7fV8XccLZTM6IPgzxBoy/pTmCPpL3hymde9peAXldOPgryUn YCRjXgU2wAFqVMSMTKtC9MLE0mxgXjd9m3GMo=
MIME-Version: 1.0
Received: by 10.231.190.149 with SMTP id di21mr10473515ibb.166.1286212546330;  Mon, 04 Oct 2010 10:15:46 -0700 (PDT)
Received: by 10.231.179.151 with HTTP; Mon, 4 Oct 2010 10:15:46 -0700 (PDT)
In-Reply-To: <4CA9DF0E.5000000@stpeter.im>
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com> <4CA4D91E.3000508@stpeter.im> <4CA9DF0E.5000000@stpeter.im>
Date: Tue, 5 Oct 2010 02:15:46 +0900
Message-ID: <AANLkTi=6zSOA0_buF9W3DHm+OnC1SbPZOhbyL+4qsRGL@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, xmpp@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 17:16:13 -0000

Hi,

finally I did not resist to check and read my emails, then make an
answer. :-D I am in Shanghai, China, at the Universal Exposition, and
let me tell you: it sucks like Hell (actually Hell is surely less
annoying and more ecological). I don't know how people comes here
willingly to be stuck their head all day with "country-publicity" and
"corporate/Coca-Cola-publicity" (not even talking about paying for
this...), all this happily waiting and pushed all day in various
waiting queues; not to take into account it takes place into
extraordinary expensive and eccentric buildings built only for a few
monthes (after they expelled thousands of people from their previous
homes that they destroyed "for the greater good") and made to be
destroyed as well after in the most unecological logics that could
ever be (all this by displaying great speeches about how ecological
they are).

No really some human logics will always escape me...

Anyway, below my answers:

On Mon, Oct 4, 2010 at 11:05 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 9/30/10 12:38 PM, Peter Saint-Andre wrote:
>> On 9/29/10 4:21 PM, Jehan Pag=E8s wrote:
>
> <snip/>
>
>>> 2/ section "4.1 Streams overview":
[...]
>>> two times are used "text declaration" while "XML declaration" is the
>>> right term to use
>>
>> Correct.
>
> Fixed in my working copy.

Cool.

>
>>> 3/ 11.5. Inclusion of XML Declaration:
>>>
>>> We just say to follow the rules of XML. I was wondering about the
>>> SDDecl (Standalone Document Declaration). Shouldn't we precise that it
>>> should not be included or always to "yes".
>>>
>>> This seems obvious to me (because a XMPP stream does not include
>>> anything external), but I wonder if we would not gain in clarity by
>>> precising it.
>>
>> (I like your new English verb "to precise"! :)
>>

Sorry I thought it was actual English. So apparently it is not. :-D

[...]

>>> And especially: how do we react if someone send a SDDecl to "no" at
>>> the beginning of a stream? Should we just ignore it or send a stream
>>> error (which seems better to me, because if the entity really hopes us
>>> to reach external declarations, it is obviously non compliant XMPP).
>>> This should be added, I think.
>>
>> Do we want to return an error in response to data that has no meaning?
>> It seems fine to ignore such data. However, if a server wants to return
>> a stream error then <bad-format/> seems like the right condition.
>
> In my working copy, I've added the following paragraph to Section 11.5:
>
> =A0 Because external markup declarations are prohibited in XMPP (as
> =A0 described under Section 11.1), the standalone document declaration
> =A0 (matching production [32] content of [XML]) would have no meaning and
> =A0 therefore SHOULD NOT be included in an XML declaration sent over an
> =A0 XML stream. =A0If an XMPP entity receives an XML declaration containi=
ng
> =A0 a standalone document declaration set to a value of "no", the entity
> =A0 MUST either ignore the standalone document declaration or return a
> =A0 stream error (which SHOULD be <restricted-xml/>).
>

Suits me well.

>>> 4/ 4.7.2. Default Namespace:
>>>
[...]
> I'll post separately about this issue.
>

So I will look at this answer separately. ;-)

>>> 5/ 4.7.4. Namespace Declarations and Prefixes:
>>>
>>> =AB
>>> =A0 =A0By definition, the namespace declaration for the default namespa=
ce
>>> =A0 =A0will not include a namespace prefix (e.g., "xmlns=3D'jabber:clie=
nt'").
>>> =BB
>>>
>>> As this is indeed by definition, do we need to precise that? Actually
>>> I think there are a lot of places we maybe over-precise stuffs which
>>> are actually unneeded because they are already defined in the specs of
>>> used technology, in particular related to XML. Though it might
>>> contradict my point 3/.
>>
>> The example is wrong there anyway, so I think it's fine to delete that t=
ext.
>
> Done in my working copy.
>

Nice.

Thanks for all.

Jehan

From jehan.marmottard@gmail.com  Mon Oct  4 10:37:48 2010
Return-Path: <jehan.marmottard@gmail.com>
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 16E9E3A6FE5 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 10:37:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.058
X-Spam-Level: 
X-Spam-Status: No, score=-2.058 tagged_above=-999 required=5 tests=[AWL=0.241,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 3z8b2AgHxuhY for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 10:37:46 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id B440E3A6FF8 for <xmpp@ietf.org>; Mon,  4 Oct 2010 10:37:38 -0700 (PDT)
Received: by iwn3 with SMTP id 3so8619232iwn.31 for <xmpp@ietf.org>; Mon, 04 Oct 2010 10:38:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+F8k7ecB1SIfH+nR9P5zZcA1FipwxqUYLbuQ8rzs7RE=; b=Mez5dQPL4Ev1mpqgcbBkTcxTY+wnwNmDqNpJr+N3u4AQ+dFDDbd2LaXEsW9iqRXv1+ M9z9tXaj0M7QCP8Y6Ybw+08KG6ze7OGidNLMA8Qeajd6HLf2kn+f+bwLMs2CLjwrbi1E GNNoDw+M+n6zCodm12oxCtdnB/AWn9eIR5vWU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=KYjpS12BFEUGiK+Ur+1uvCGYq1FI1juxU6nnRYCe2xHg3aJXAq5wapH/A4dBiCl5gM PXsop2P1lLLqSBlm8HMLwN3gx/MT6N87XuT0WYqKkjNs3FAUuUXexNw479POSY1v0AM8 JzucAy9r2v1Fa5SzrT3322JXZ2b3m/QOVJeXY=
MIME-Version: 1.0
Received: by 10.231.14.71 with SMTP id f7mr10452606iba.118.1286213904997; Mon, 04 Oct 2010 10:38:24 -0700 (PDT)
Received: by 10.231.179.151 with HTTP; Mon, 4 Oct 2010 10:38:24 -0700 (PDT)
In-Reply-To: <4CA9F713.6080006@stpeter.im>
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com> <4CA9F713.6080006@stpeter.im>
Date: Tue, 5 Oct 2010 02:38:24 +0900
Message-ID: <AANLkTin5GSSngj_O4usJzXtCGu3T+_bZjn7NVVMAMCj2@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, xmpp@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 17:37:48 -0000

Hi,

I read fast for now, so I might have corrections later. But the first
impression is good. Some notes below though:

On Tue, Oct 5, 2010 at 12:47 AM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 9/29/10 4:21 PM, Jehan Pag=E8s wrote:
>
>> 4/ 4.7.2. Default Namespace:
>>
>> the definition and example of "prefix-free canonicalization" shows
>> that basically in such logics, the streams namespace is used as
>> default, which contradicts the rule (1) edicted just before:
>> =AB (1) the default namespace MUST be other than the
>> =A0 =A0streams namespace =BB
>>
>> I guess this should should be removed (or made clearer that this is
>> only one of the two possible namespace logics we use).
>
> This is a bit sticky but it is mostly a matter of nomenclature, because
> we were inadvertently conflating the meaning of "default namespace" from
> the "Namespaces in XML" specification with the 'jabber:client' and
> 'jabber:server' namespaces used in XMPP to define the data we typically
> send in XMPP.
>
> You are right that if "prefix-free canonicalization" is used at the
> stream level (i.e., no <stream:stream/> or <stream:error/> prefixing),
> the default namespace (as defined by the "Namespaces in XML" spec) is in
> fact the streams namespace.
>
> By contrast, if "prefix-free canonicalization" is *not* used at the
> stream level then the default namespace is a namespace other than the
> streams namespace. I propose that we call that other namespace the
> "content namespace", and that we change most instances of "default
> namespace" to "content namespace".
>

I really like adding this new concept of "content namespace". I think
it clarify pretty much a lot of the descriptions.

> The impact of this change is mostly limited to Section 4.7, although it
> also results in small changes to other sections.
>
> Here is a revised Section 4.7 so you can see what I propose.
>
> ###
>
> 4.7. =A0Namespaces
>
> =A0 Readers are referred to the specification of XML namespaces
> =A0 [XML-NAMES] for a full understanding of the concepts used in this
> =A0 section, especially the concept of a "default namespace" as provided
> =A0 in Section 3 and Section 6.2 of that specification.
>
> 4.7.1. =A0Streams Namespace
>

Why do you call this "streamS namespace" (with a 'S') and not just
"stream namespace"?

> =A0 The root <stream/> element ("stream header") MUST be qualified by the
> =A0 namespace 'http://etherx.jabber.org/streams' (the "streams
> =A0 namespace"). =A0If this rule is violated, the entity that receives th=
e
> =A0 offending stream header MUST return a stream error to the sending
> =A0 entity, which SHOULD be <invalid-namespace/> (although some existing
> =A0 implementations send <bad-format/> instead).
>
> 4.7.2. =A0Content Namespace
>
> =A0 An entity MAY declare a "content namespace" as the default namespace
> =A0 for data sent over the stream (i.e., data other than elements
> =A0 qualified by the streams namespace). =A0If so, (1) the content
> =A0 namespace MUST be other than the streams namespace, and (2) the
> =A0 content namespace MUST be the same for the initial stream and the
> =A0 response stream so that both streams are qualified consistently. =A0T=
he
> =A0 content namespace applies to all first-level child elements sent over
> =A0 the stream unless explicitly qualified by another namespace (i.e.,
> =A0 the content namespace is the default namespace).
>
> =A0 Alternatively (i.e., instead of declaring the content namespace as
> =A0 the default namespace), an entity MAY explicitly qualify the
> =A0 namespace for each first-level child element of the stream, using so-
> =A0 called "prefix-free canonicalization". =A0These two styles are shown =
in
> =A0 the following examples.
>
> =A0 When a content namespace is declared as the default namespace, in
> =A0 rough outline a stream will look something like the following.
>
> =A0 <stream:stream
> =A0 =A0 =A0 from=3D'juliet@im.example.com'
> =A0 =A0 =A0 to=3D'im.example.com'
> =A0 =A0 =A0 version=3D'1.0'
> =A0 =A0 =A0 xml:lang=3D'en'
> =A0 =A0 =A0 xmlns=3D'jabber:client'
> =A0 =A0 =A0 xmlns:stream=3D'http://etherx.jabber.org/streams'>
> =A0 =A0 <message>
> =A0 =A0 =A0 <body>foo</body>
> =A0 =A0 </message>
> =A0 </stream:stream>
>
> =A0 When a content namespace is not declared as the default namespace and
> =A0 so-called "prefix-free canonicalization" is used instead, in rough
> =A0 outline a stream will look something like the following.
>
> =A0 <stream
> =A0 =A0 =A0 from=3D'juliet@im.example.com'
> =A0 =A0 =A0 to=3D'im.example.com'
> =A0 =A0 =A0 version=3D'1.0'
> =A0 =A0 =A0 xml:lang=3D'en'
> =A0 =A0 =A0 xmlns=3D'http://etherx.jabber.org/streams'>
> =A0 =A0 <message xmlns=3D'jabber:client'>
> =A0 =A0 =A0 <body>foo</body>
> =A0 =A0 </message>
> =A0 </stream:stream>
>
> =A0 Historically, most XMPP implementations have used the content-
> =A0 namespace-as-default-namespace style rather than the prefix-free
> =A0 canonicalization style for stream headers; however, both styles are
> =A0 acceptable since they are semantically equivalent.
>
> 4.7.3. =A0Other Namespaces
>
> =A0 Either party to a stream MAY send data qualified by namespaces other
> =A0 than the content namespace and the streams namespace. =A0For example,
> =A0 this is how data related to TLS negotiation and SASL negotiation are
> =A0 exchanged, as well as XMPP extensions such as Server Dialback
> =A0 [XEP-0220] and Stream Management [XEP-0198].
>
> =A0 =A0 =A0Interoperability Note: For historical reasons, some server
> =A0 =A0 =A0implementations expect a declaration of the 'jabber:server:
> =A0 =A0 =A0dialback' namespace on server-to-server streams; for details, =
see
> =A0 =A0 =A0[XEP-0220].
>
> 4.7.4. =A0Namespace Declarations and Prefixes
>
> =A0 Because the content namespace is other than the streams namespace, if
> =A0 a content namespace is declared as the default namepsace then the
> =A0 following statements are true:
>

Small typo: s/namepsace/namespace/

> =A0 1. =A0The stream header needs to contain a namespace declaration for
> =A0 =A0 =A0 both the content namespace and the streams namespace.
>
> =A0 2. =A0The streams namespace declaration needs to include a namespace
> =A0 =A0 =A0 prefix for the streams namespace.
>
> =A0 =A0 =A0Interoperability Note: For historical reasons, an implementati=
on
> =A0 =A0 =A0MAY accept only the prefix 'stream' for the streams namespace
> =A0 =A0 =A0(resulting in prefixed names such as <stream:stream> and <stre=
am:
> =A0 =A0 =A0features>). =A0If an entity receives a stream header with a st=
reams
> =A0 =A0 =A0namespace prefix it does not accept, it MUST return a stream e=
rror
> =A0 =A0 =A0to the sending entity, which SHOULD be <bad-namespace-prefix/>
> =A0 =A0 =A0(although some existing implementations send <bad-format/>
> =A0 =A0 =A0instead).
>
> =A0 An implementation MUST NOT generate namespace prefixes for elements
> =A0 qualified by the content namespace if the content namespace is
> =A0 'jabber:client' or 'jabber:server'.
>
> =A0 Namespaces declared in a stream header MUST apply only to that stream
> =A0 (e.g., the 'jabber:server:dialback' namespace used in Server Dialback
> =A0 [XEP-0220]). =A0In particular, because XML stanzas intended for routi=
ng
> =A0 or delivery over streams with other entities will lose the namespace
> =A0 context declared in the header of the stream in which those stanzas
> =A0 originated, namespaces for extended content within such stanzas MUST
> =A0 NOT be declared in that stream header (see also Section 8.4). =A0If
> =A0 either party to a stream declares such namespaces, the other party to
> =A0 the stream SHOULD close the stream with a stream error of <invalid-
> =A0 namespace/>. =A0In any case, an entity MUST ensure that such namespac=
es
> =A0 are properly declared (according to this section) when routing or
> =A0 delivering stanzas originating from such a stream over streams with
> =A0 other entities.
>
> 4.7.5. =A0Mandatory-to-Implement Content Namespaces
>
> =A0 XMPP as defined in this specification uses two content namespaces:
> =A0 'jabber:client' and 'jabber:server'. =A0These namespaces are nearly
> =A0 identical but are used in different contexts (client-to-server
> =A0 communication for 'jabber:client' and server-to-server communication
> =A0 for 'jabber:server'). =A0The only difference between the two is that
> =A0 the 'to' and 'from' attributes are OPTIONAL on stanzas sent over XML
> =A0 streams qualified by the 'jabber:client' namespace, whereas they are
> =A0 REQUIRED on stanzas sent over XML streams qualified by the 'jabber:
> =A0 server' namespace. =A0Support for these content namespaces implies
> =A0 support for the common attributes (Section 8.1) and basic semantics
> =A0 (Section 8.2) of all three core stanza types (message, presence, and
> =A0 IQ).
>
> =A0 An implementation MAY support content namespaces other than 'jabber:
> =A0 client' or 'jabber:server'. =A0However, because such namespaces would
> =A0 define applications other than XMPP, they are to be defined in
> =A0 separate specifications.
>
> =A0 An implementation MAY refuse to support any other content namespaces
> =A0 as default namespaces. =A0If an entity receives a first-level child
> =A0 element qualified by a content namespace it does not support, it MUST
> =A0 return an <invalid-namespace/> stream error.
>
> =A0 Client implementations MUST support the 'jabber:client' content
> =A0 namespace as a default namespace.
>
> =A0 Server implementations MUST support as default namespaces both the
> =A0 'jabber:client' content namespace (when the stream is used for
> =A0 communication between a client and a server) and the 'jabber:server'
> =A0 content namespace (when the stream is used for communication between
> =A0 two servers).
>
> =A0 =A0 =A0Implementation Note: Because a client sends stanzas over a str=
eam
> =A0 =A0 =A0whose content namespace is 'jabber:client', if the server to w=
hich
> =A0 =A0 =A0the client is connected needs to route a client-generated stan=
za
> =A0 =A0 =A0to another server then it MUST "re-scope" the stanza so that i=
ts
> =A0 =A0 =A0content namespace is 'jabber:server' (i.e., it MUST NOT send a
> =A0 =A0 =A0stanza qualified by the 'jabber:client' namespace over a strea=
m
> =A0 =A0 =A0whose content namespace is 'jabber:server'). =A0Similarly, a r=
outing
> =A0 =A0 =A0server MUST "re-scope" a stanza received over a server-to-serv=
er
> =A0 =A0 =A0stream (whose content namespace is 'jabber:server') so that th=
e
> =A0 =A0 =A0stanza is qualified by the 'jabber:client' namespace before
> =A0 =A0 =A0sending it over a client-to-server stream (whose content names=
pace
> =A0 =A0 =A0is 'jabber:client').
>
> ###
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp
>

No other remark for now. Look globally good, but as I said, I read
this all very fast.
Thanks for this awesome work, as always.

Jehan

From stpeter@stpeter.im  Mon Oct  4 10:48:33 2010
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 4325A3A700C for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 10:48:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.4
X-Spam-Level: 
X-Spam-Status: No, score=-102.4 tagged_above=-999 required=5 tests=[AWL=-0.101, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 ZP7qBb4lw7yX for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 10:48:31 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 6D6E43A7009 for <xmpp@ietf.org>; Mon,  4 Oct 2010 10:48:31 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id E8D2A40337; Mon,  4 Oct 2010 11:55:25 -0600 (MDT)
Message-ID: <4CAA13A4.6080105@stpeter.im>
Date: Mon, 04 Oct 2010 11:49:24 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com>	<4CA9F713.6080006@stpeter.im> <AANLkTin5GSSngj_O4usJzXtCGu3T+_bZjn7NVVMAMCj2@mail.gmail.com>
In-Reply-To: <AANLkTin5GSSngj_O4usJzXtCGu3T+_bZjn7NVVMAMCj2@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 17:48:33 -0000

On 10/4/10 11:38 AM, Jehan PagĂ¨s wrote:
> Hi,
> 
> I read fast for now, so I might have corrections later. But the first
> impression is good. Some notes below though:
> 
> On Tue, Oct 5, 2010 at 12:47 AM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
>> On 9/29/10 4:21 PM, Jehan PagĂ¨s wrote:
>>
>>> 4/ 4.7.2. Default Namespace:
>>>
>>> the definition and example of "prefix-free canonicalization" shows
>>> that basically in such logics, the streams namespace is used as
>>> default, which contradicts the rule (1) edicted just before:
>>> Â« (1) the default namespace MUST be other than the
>>>    streams namespace Â»
>>>
>>> I guess this should should be removed (or made clearer that this is
>>> only one of the two possible namespace logics we use).
>>
>> This is a bit sticky but it is mostly a matter of nomenclature, because
>> we were inadvertently conflating the meaning of "default namespace" from
>> the "Namespaces in XML" specification with the 'jabber:client' and
>> 'jabber:server' namespaces used in XMPP to define the data we typically
>> send in XMPP.
>>
>> You are right that if "prefix-free canonicalization" is used at the
>> stream level (i.e., no <stream:stream/> or <stream:error/> prefixing),
>> the default namespace (as defined by the "Namespaces in XML" spec) is in
>> fact the streams namespace.
>>
>> By contrast, if "prefix-free canonicalization" is *not* used at the
>> stream level then the default namespace is a namespace other than the
>> streams namespace. I propose that we call that other namespace the
>> "content namespace", and that we change most instances of "default
>> namespace" to "content namespace".
>>
> 
> I really like adding this new concept of "content namespace". I think
> it clarify pretty much a lot of the descriptions.

Super.

>> The impact of this change is mostly limited to Section 4.7, although it
>> also results in small changes to other sections.
>>
>> Here is a revised Section 4.7 so you can see what I propose.
>>
>> ###
>>
>> 4.7.  Namespaces
>>
>>   Readers are referred to the specification of XML namespaces
>>   [XML-NAMES] for a full understanding of the concepts used in this
>>   section, especially the concept of a "default namespace" as provided
>>   in Section 3 and Section 6.2 of that specification.
>>
>> 4.7.1.  Streams Namespace
>>
> 
> Why do you call this "streamS namespace" (with a 'S') and not just
> "stream namespace"?

Probably because the namespace is 'http://etherx.jabber.org/streams'
with an "s" on the end -- we called it the "streams namespace" in RFC
3920 and I didn't think to change it.

>>   The root <stream/> element ("stream header") MUST be qualified by the
>>   namespace 'http://etherx.jabber.org/streams' (the "streams
>>   namespace").  If this rule is violated, the entity that receives the
>>   offending stream header MUST return a stream error to the sending
>>   entity, which SHOULD be <invalid-namespace/> (although some existing
>>   implementations send <bad-format/> instead).
>>
>> 4.7.2.  Content Namespace
>>
>>   An entity MAY declare a "content namespace" as the default namespace
>>   for data sent over the stream (i.e., data other than elements
>>   qualified by the streams namespace).  If so, (1) the content
>>   namespace MUST be other than the streams namespace, and (2) the
>>   content namespace MUST be the same for the initial stream and the
>>   response stream so that both streams are qualified consistently.  The
>>   content namespace applies to all first-level child elements sent over
>>   the stream unless explicitly qualified by another namespace (i.e.,
>>   the content namespace is the default namespace).
>>
>>   Alternatively (i.e., instead of declaring the content namespace as
>>   the default namespace), an entity MAY explicitly qualify the
>>   namespace for each first-level child element of the stream, using so-
>>   called "prefix-free canonicalization".  These two styles are shown in
>>   the following examples.
>>
>>   When a content namespace is declared as the default namespace, in
>>   rough outline a stream will look something like the following.
>>
>>   <stream:stream
>>       from='juliet@im.example.com'
>>       to='im.example.com'
>>       version='1.0'
>>       xml:lang='en'
>>       xmlns='jabber:client'
>>       xmlns:stream='http://etherx.jabber.org/streams'>
>>     <message>
>>       <body>foo</body>
>>     </message>
>>   </stream:stream>
>>
>>   When a content namespace is not declared as the default namespace and
>>   so-called "prefix-free canonicalization" is used instead, in rough
>>   outline a stream will look something like the following.
>>
>>   <stream
>>       from='juliet@im.example.com'
>>       to='im.example.com'
>>       version='1.0'
>>       xml:lang='en'
>>       xmlns='http://etherx.jabber.org/streams'>
>>     <message xmlns='jabber:client'>
>>       <body>foo</body>
>>     </message>
>>   </stream:stream>
>>
>>   Historically, most XMPP implementations have used the content-
>>   namespace-as-default-namespace style rather than the prefix-free
>>   canonicalization style for stream headers; however, both styles are
>>   acceptable since they are semantically equivalent.
>>
>> 4.7.3.  Other Namespaces
>>
>>   Either party to a stream MAY send data qualified by namespaces other
>>   than the content namespace and the streams namespace.  For example,
>>   this is how data related to TLS negotiation and SASL negotiation are
>>   exchanged, as well as XMPP extensions such as Server Dialback
>>   [XEP-0220] and Stream Management [XEP-0198].
>>
>>      Interoperability Note: For historical reasons, some server
>>      implementations expect a declaration of the 'jabber:server:
>>      dialback' namespace on server-to-server streams; for details, see
>>      [XEP-0220].
>>
>> 4.7.4.  Namespace Declarations and Prefixes
>>
>>   Because the content namespace is other than the streams namespace, if
>>   a content namespace is declared as the default namepsace then the
>>   following statements are true:
>>
> 
> Small typo: s/namepsace/namespace/

Fixed.

>>   1.  The stream header needs to contain a namespace declaration for
>>       both the content namespace and the streams namespace.
>>
>>   2.  The streams namespace declaration needs to include a namespace
>>       prefix for the streams namespace.
>>
>>      Interoperability Note: For historical reasons, an implementation
>>      MAY accept only the prefix 'stream' for the streams namespace
>>      (resulting in prefixed names such as <stream:stream> and <stream:
>>      features>).  If an entity receives a stream header with a streams
>>      namespace prefix it does not accept, it MUST return a stream error
>>      to the sending entity, which SHOULD be <bad-namespace-prefix/>
>>      (although some existing implementations send <bad-format/>
>>      instead).
>>
>>   An implementation MUST NOT generate namespace prefixes for elements
>>   qualified by the content namespace if the content namespace is
>>   'jabber:client' or 'jabber:server'.
>>
>>   Namespaces declared in a stream header MUST apply only to that stream
>>   (e.g., the 'jabber:server:dialback' namespace used in Server Dialback
>>   [XEP-0220]).  In particular, because XML stanzas intended for routing
>>   or delivery over streams with other entities will lose the namespace
>>   context declared in the header of the stream in which those stanzas
>>   originated, namespaces for extended content within such stanzas MUST
>>   NOT be declared in that stream header (see also Section 8.4).  If
>>   either party to a stream declares such namespaces, the other party to
>>   the stream SHOULD close the stream with a stream error of <invalid-
>>   namespace/>.  In any case, an entity MUST ensure that such namespaces
>>   are properly declared (according to this section) when routing or
>>   delivering stanzas originating from such a stream over streams with
>>   other entities.
>>
>> 4.7.5.  Mandatory-to-Implement Content Namespaces
>>
>>   XMPP as defined in this specification uses two content namespaces:
>>   'jabber:client' and 'jabber:server'.  These namespaces are nearly
>>   identical but are used in different contexts (client-to-server
>>   communication for 'jabber:client' and server-to-server communication
>>   for 'jabber:server').  The only difference between the two is that
>>   the 'to' and 'from' attributes are OPTIONAL on stanzas sent over XML
>>   streams qualified by the 'jabber:client' namespace, whereas they are
>>   REQUIRED on stanzas sent over XML streams qualified by the 'jabber:
>>   server' namespace.  Support for these content namespaces implies
>>   support for the common attributes (Section 8.1) and basic semantics
>>   (Section 8.2) of all three core stanza types (message, presence, and
>>   IQ).
>>
>>   An implementation MAY support content namespaces other than 'jabber:
>>   client' or 'jabber:server'.  However, because such namespaces would
>>   define applications other than XMPP, they are to be defined in
>>   separate specifications.
>>
>>   An implementation MAY refuse to support any other content namespaces
>>   as default namespaces.  If an entity receives a first-level child
>>   element qualified by a content namespace it does not support, it MUST
>>   return an <invalid-namespace/> stream error.
>>
>>   Client implementations MUST support the 'jabber:client' content
>>   namespace as a default namespace.
>>
>>   Server implementations MUST support as default namespaces both the
>>   'jabber:client' content namespace (when the stream is used for
>>   communication between a client and a server) and the 'jabber:server'
>>   content namespace (when the stream is used for communication between
>>   two servers).
>>
>>      Implementation Note: Because a client sends stanzas over a stream
>>      whose content namespace is 'jabber:client', if the server to which
>>      the client is connected needs to route a client-generated stanza
>>      to another server then it MUST "re-scope" the stanza so that its
>>      content namespace is 'jabber:server' (i.e., it MUST NOT send a
>>      stanza qualified by the 'jabber:client' namespace over a stream
>>      whose content namespace is 'jabber:server').  Similarly, a routing
>>      server MUST "re-scope" a stanza received over a server-to-server
>>      stream (whose content namespace is 'jabber:server') so that the
>>      stanza is qualified by the 'jabber:client' namespace before
>>      sending it over a client-to-server stream (whose content namespace
>>      is 'jabber:client').
>>
>> ###
>> _______________________________________________
>> xmpp mailing list
>> xmpp@ietf.org
>> https://www.ietf.org/mailman/listinfo/xmpp
>>
> 
> No other remark for now. Look globally good, but as I said, I read
> this all very fast.
> Thanks for this awesome work, as always.

Sure thing. You'll have another chance to read over the text during IETF
Last Call.

Peter

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



From stpeter@stpeter.im  Mon Oct  4 11:06:25 2010
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 59FA73A6FEE for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 11:06:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.948
X-Spam-Level: 
X-Spam-Status: No, score=-101.948 tagged_above=-999 required=5 tests=[AWL=-0.549, BAYES_00=-2.599, J_CHICKENPOX_73=0.6, J_CHICKENPOX_83=0.6, 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 3pPvjiHI-zvz for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 11:06:24 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 065873A6FED for <xmpp@ietf.org>; Mon,  4 Oct 2010 11:06:24 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 0780E40337 for <xmpp@ietf.org>; Mon,  4 Oct 2010 12:13:18 -0600 (MDT)
Message-ID: <4CAA17D5.5090607@stpeter.im>
Date: Mon, 04 Oct 2010 12:07:17 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: XMPP Working Group <xmpp@ietf.org>
References: <4CA4FBB6.4070809@stpeter.im>	<201009302342.18960.justin@affinix.com>	<4CA5D027.20109@ahsoftware.de>	<11166.1285944897.096151@puncture> <4CA5FC50.5020909@webex.com>	<4CA5FF38.6090604@stpeter.im> <11166.1285947396.417913@puncture> <4CA60BBB.4040902@stpeter.im>
In-Reply-To: <4CA60BBB.4040902@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "in-order processing"
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, 04 Oct 2010 18:06:25 -0000

Proposed text at the end.

On 10/1/10 10:26 AM, Peter Saint-Andre wrote:
> On 10/1/10 9:36 AM, Dave Cridland wrote:
> 
> <snip/>
> 
> Dave, thanks for posting here.
> 
> The requirement for "in-order processing" comes from a very old layer of
> XMPP archeology. Unfortunately, as these threads have uncovered, that
> requirement has never been precisely specified. Here is my informal
> understanding of the basic idea: we want to ensure that if Juliet is
> having a conversation with Romeo, he will receive her messages in the
> same order she sent them over the stream to her server (capulet.lit).
> 
> For the originating server, I think the rule means that if Juliet has
> two devices that are connected to capulet.lit over two different streams
> (identified by the "balcony" and "chamber" resources), her server is
> *not* responsible for ensuring that outbound stanzas to
> romeo@montague.lit are ordered across those two originating c2s streams,
> because those are two different conversations. However, if she sends
> three messages msg1, msg2, and msg3 from the "balcony" resource to
> romeo@montague.net, then her server needs to (1) process those stanzas
> in the order it received them over that single originating c2s stream
> and (2) send them in that order when it routes them to Romeo's server
> (montague.lit). My understanding of the intentions of Jeremie and the
> early jabberd team is that this rule applied (on the originating server)
> to destination addresses that were bare JIDs instead of full JIDs
> (romeo@montague.lit, not romeo@montague.lit/foo), because the
> originating entity could not know whether any outbound stanza would be
> "forked" on the destination server. I further think this rule implies
> that the originating server would try to do everything in its power to
> preserve the order of stanzas sent by Juliet, including (if it has more
> than one stream to montague.lit) making sure that it sends all stanzas
> from juliet@capulet.lit/balcony to romeo@montague.net over a single s2s
> stream.
> 
> For the destination server, I think the rule means that Romeo's server
> needs to preserve the order of stanzas it receives over a single stream
> from Juliet's server. If there are two streams from capulet.lit to
> montague.lit then it does not need to preserve order across those
> streams (e.g., if msg1, msg2, and msg3 comes across stream1 from
> capulet.lit but msg4 comes across stream2 from capulet.lit then it is
> *not* responsible for ensuring order across those two originating s2s
> streams). However, it does need to preserve the order of stanzas that it
> receives over stream1, so that it will deliver msg1, msg2, and msg3 to
> Romeo in the order it received them from Juliet's server. It matters not
> whether msg1 was addressed to Romeo's bare JID, msg2 to a full JID, and
> msg3 to the bare JID again -- his server needs to deliver those messages
> to any given resource of Romeo's in the order it received them over the
> originating s2s stream. Thus here again ordering applies on a per-stream
> basis, which for the destination server means both the originating s2s
> stream and the destination c2s stream.
> 
> The same rules apply, mutatis mutandis, to the stanzas that a client
> sends to its own server (with no "to" address, an address of the
> account's bare JID, or an address of the server itself), which is why
> the current text says:
> 
>    This includes stanzas sent by a client to its
>    server for direct processing by the server (e.g., in-order processing
>    of a roster get and initial presence as described in [XMPP-IM]).
> 
> At least, that's how I've always understood things. Do feel free to
> disagree. :)
> 
> Now to wordsmithing...
> 
>> Servers MUST ensure in-order processing of the stanzas received on a
>> stream.
> 
> I'd prefer "given stream" or "particular stream" or somesuch.
> 
>> Servers MUST resolve any ambiguity 
> 
> The phrase "resolve any ambiguity" is ambiguous to me. :)
> 
>> caused by processing requests
>> (for example, those sent to the bare jid of a connected client); in the
>> case where the result of a request could have an effect on subsequent
>> stanzas, servers MUST suspend processing of stanzas until the request is
>> completed. Servers MUST ensure that any stanzas forwarded 
> 
> I'd prefer "routed" because that's the term we use for sending a stanza
> from one domain to another -- we've tended to avoid the term
> "forwarding" because it evokes ideas of .forward files and such.
> 
>> from a stream
>> to a particular remote domain are forwarded in order - in particular,
>> this implies that for any given inbound stanza that is addressed to a
>> remote domain, there SHOULD be at most one outbound stream, used
>> consistently.
> 
> As above, I think this applies to a pair of originating full JID and
> destination bare JID, not originating server and destination server.

Taking all these comments together and incorporating Dave's earlier
suggestion, I propose the following text. This is much longer than what
Dave proposed, but it's more thorough and precise. Besides, you do know
that I get paid per word, right? ;-)

###

10.1.  In-Order Processing

   An XMPP server MUST ensure in-order processing of the stanzas and
   other XML elements it receives over a given stream from a connected
   client or server (for purposes of this section we describe such a
   stream as an "input stream", in contrast to an "output stream" that a
   server would use to deliver data to a connected client or to route
   data to a remote server).

   In-order processing applies (a) to any XML elements used to negotiate
   and manage XML streams, and (b) to all uses of XML stanzas, including
   but not limited to the following:

   1.  Stanzas sent by a client to its server or to its own bare JID for
       direct processing by the server (e.g., in-order processing of a
       roster get and initial presence as described in [XMPP-IM]).

   2.  Stanzas sent by a connected client and intended for delivery to
       another entity associated with a local domain (e.g., stanzas
       addressed from <juliet@im.example.com> to
       <nurse@im.example.com>).  The server MUST ensure that it delivers
       stanzas addressed to the intended recipient in the order it
       receives them over the input stream, treating stanzas addressed
       to the bare JID and the full JID of the intended recipient as
       equivalent for delivery purposes.

   3.  Stanzas sent by a connected client and intended for delivery to
       an entity located at a remote domain (e.g., stanzas addressed
       from <juliet@im.example.com> to <romeo@example.net>).  The server
       MUST ensure that it routes stanzas addressed to the intended
       recipient in the order it receives them over the input stream,
       treating stanzas addressed to the bare JID and the full JID of
       the intended recipient as equivalent for delivery purposes.  To
       help ensure in-order processing, the server MUST route such
       stanzas over a single "output stream" to the remote domain,
       rather than sending some stanzas over one server-to-server stream
       and other stanzas over another server-to-server stream.

   4.  Stanzas sent by one server to another server for direct
       processing by the server that is hosting the remote domain (e.g.,
       stanzas addressed from <im.example.com> to <example.net>).

   5.  Stanzas routed from one server to another server for delivery to
       an entity associated with the remote domain (e.g., stanzas
       addressed from <juliet@im.example.com> to <romeo@example.net> and
       routed by <im.example.com> over a server-to-server stream to
       <example.net>).  The routing server MUST ensure that it routes
       stanzas addressed to the intended recipient in the order it
       receives them over the input stream, treating stanzas addressed
       to the bare JID and the full JID of the intended recipient as
       equivalent for delivery purposes.  To help ensure in-order
       processing, the server MUST route such stanzas over a single
       "output stream" to the remote domain, rather than sending some
       stanzas over one server-to-server stream and other stanzas over
       another server-to-server stream.

   If the server's processing of a particular request could have an
   effect on its processing of subsequent data it might receive over
   that input stream (e.g., enforcement of communication policies), it
   MUST suspend processing of subsequent data until it has processed the
   request.

   In-order processing applies only to a single input stream.  Therefore
   a server is not responsible for ensuring the coherence of data it
   receives across multiple input streams associated with the same local
   account (e.g., stanzas received over two different input streams from
   <juliet@im.example.com/balcony> and <juliet@im.example.com/chamber>)
   or the same remote domain (e.g., two different input streams
   negotiated by a remote domain; however, a server MAY return a
   <conflict> stream error to a remote domain that attempts to negotiate
   more than one stream, as described under Section 4.8.3.3).

###

/psa


From stpeter@stpeter.im  Mon Oct  4 11:15:38 2010
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 064AB3A6FD9 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 11:15:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.541
X-Spam-Level: 
X-Spam-Status: No, score=-102.541 tagged_above=-999 required=5 tests=[AWL=0.058, 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 1gF6DXoJEqbB for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 11:15:36 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id CABF43A6DE8 for <xmpp@ietf.org>; Mon,  4 Oct 2010 11:15:36 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2CECA40337 for <xmpp@ietf.org>; Mon,  4 Oct 2010 12:22:32 -0600 (MDT)
Message-ID: <4CAA19FE.4030405@stpeter.im>
Date: Mon, 04 Oct 2010 12:16:30 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CA75CCF.8090108@ericsson.com> <11166.1286048209.983880@puncture> <11166.1286048830.944720@puncture>
In-Reply-To: <11166.1286048830.944720@puncture>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 18:15:38 -0000

On 10/2/10 1:47 PM, Dave Cridland wrote:
> On Sat Oct  2 20:36:49 2010, Dave Cridland wrote:
>> On Sat Oct  2 17:24:47 2010, Gonzalo Camarillo wrote:
>>> Section 4.3, third bullet. Is that approach described somewhere else
>>> or it is done in a proprietory way?
>>
>> XEP-0220 includes a "piggybacking" feature.
> 
> Oh, no, I misread this. (Thanks to Philip Hancke for pointing out my
> error).
> 
> This point relates to using multiple streams between two domains, and
> that's possible with no extensions, proprietary or otherwise. This isn't
> always a good idea, hence the spec includes <conflict/> for the receiver
> of multiple streams for a domain to reject it, but it's not given a
> pointer here. (Perhaps it should be).

Done:

   o  Multiple streams over two or more TCP connections.  This approach
      is sometimes used for server-to-server communication between two
      large XMPP service providers; however, this can make it difficult
      to maintain coherence of data received over multiple streams in
      situations described under Section 10.1, which is why a server MAY
      return a <conflict> stream error to a remote domain that attempts
      to negotiate more than one stream (as described under
      Section 4.8.3.3).

/psa


From justin@affinix.com  Mon Oct  4 11:38:33 2010
Return-Path: <justin@affinix.com>
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 6E0A43A705D for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 11:38:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 UbHnBccnM43J for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 11:38:31 -0700 (PDT)
Received: from homiemail-a6.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by core3.amsl.com (Postfix) with ESMTP id BFACA3A708C for <xmpp@ietf.org>; Mon,  4 Oct 2010 11:35:10 -0700 (PDT)
Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 7B52659807E for <xmpp@ietf.org>; Mon,  4 Oct 2010 11:35:56 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=affinix.com; h=from:to:subject :date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=affinix.com; b=V vcq9sHLiTfq0WeCHcXXY4Iso7alhsnLkUXf51imhbFvvTqEJrkJufzX2RIe0GFxr a4VmowClzrxjCcf9S9bx7u9TTf8Og5ByGQk1H5b/K0z9tyjffspy4Q3SncrS7Wik 6DX7DDEepxMZVBKv1Pd2i+Cc1CmrI7Te96xSj4+nko=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=affinix.com; h=from:to :subject:date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; s=affinix.com; bh=s6bbkRM 3X5KCezqs/JxFWhsvIdg=; b=e7jVHuULrG541yCrYjC6Erohrl6w0RPlg+/C/1q XjcToQFRjypNnlw7b90ZUlLNRnk4CudgZsQDeZk+ggfPaIM9ztoljHZBtr58HrNc F+3BTUCfR5stco5QhjLINLzQy8T8/plI1MEzdxapdMiCNdrdQ8GQ9hnvqiQ6Fv1b D9eE=
Received: from purelace.localnet (andross.dreamhost.com [75.119.221.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: justin@affinix.com) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 63A7059807C for <xmpp@ietf.org>; Mon,  4 Oct 2010 11:35:56 -0700 (PDT)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Mon, 4 Oct 2010 11:35:55 -0700
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <4CA4FBB6.4070809@stpeter.im> <4CA60BBB.4040902@stpeter.im> <4CAA17D5.5090607@stpeter.im>
In-Reply-To: <4CAA17D5.5090607@stpeter.im>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201010041135.55690.justin@affinix.com>
Subject: Re: [xmpp] "in-order processing"
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, 04 Oct 2010 18:38:33 -0000

On Monday 04 October 2010 11:07:17 Peter Saint-Andre wrote:
> Proposed text at the end.

It's all so clear!  +1

From stpeter@stpeter.im  Mon Oct  4 14:19:41 2010
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 6B9013A70C4 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 14:19:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.542
X-Spam-Level: 
X-Spam-Status: No, score=-102.542 tagged_above=-999 required=5 tests=[AWL=0.057, 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 WC2GNYOnKjxv for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 14:19:39 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id D2C7B3A7098 for <xmpp@ietf.org>; Mon,  4 Oct 2010 14:19:39 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id F1E5540077; Mon,  4 Oct 2010 15:26:34 -0600 (MDT)
Message-ID: <4CAA4520.7000307@stpeter.im>
Date: Mon, 04 Oct 2010 15:20:32 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <4CA75CCF.8090108@ericsson.com> <11166.1286048210.430504@puncture>
In-Reply-To: <11166.1286048210.430504@puncture>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-3920bis-16
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, 04 Oct 2010 21:19:41 -0000

On 10/2/10 1:36 PM, Dave Cridland wrote:
> On Sat Oct  2 17:24:47 2010, Gonzalo Camarillo wrote:
>> Section 4.3, third bullet. Is that approach described somewhere else
>> or it is done in a proprietory way?
> 
> XEP-0220 includes a "piggybacking" feature.
> 
> Also the bidirection S2S "future extension" has been accepted as a XEP,
> I believe.

Yes, XEP-0288:

http://xmpp.org/extensions/xep-0288.html

>> Section 4.8.1.4: first TCP connection refers to the
>> connection that *was established* first, right?
>>
>>
> No... "first" should be replaced with "same" in the first bullet.
> 
> In the second bullet, "first" should be replaced with "one", and
> "second" with "other, return".

Fixed.

>> Section 8.4, second to last bullet (at the end of the section). The
>> text does not give any guidance on when the receiver should choose
>> ignoring the stanza or returning an error.
>>
>>
> No, and it shouldn't - it's highly dependent on the application running
> over XMPP, the destination of the message, and so on. For instance, if
> the message is directed at a client, then the choice may depend on
> whether the sending client's bare jid was in the roster of the receiving
> client's account.

To clarify matter, in my working copy I've tweaked the text as shown below.

Note: I've added a rule about how to handle a presence stanza whose only
child element is qualified by an unknown namespace; although that rule
is implicit in the rule about handling a message or presence stanza
containing data qualified by an unknown namespace, I now think it's
better to make the handling explicit because the text was a bit too
subtle before.

###

   If a recipient receives a stanza that contains an element or
   attribute it does not understand, it MUST NOT attempt to process that
   XML data and instead MUST proceed as follows.

   o  If an entity receives a message stanza whose only child element is
      qualified by a namespace it does not understand, then depending on
      the XMPP application it MUST either ignore the entire stanza or
      return a stanza error, which SHOULD be <service-unavailable/>.

   o  If an entity receives a presence stanza whose only child element
      is qualified by a namespace it does not understand, then it MUST
      ignore the child element by treating the presence stanza as if it
      contained no child element.

   o  If an entity receives a message or presence stanza that contains
      XML data qualified by a namespace it does not understand, then it
      MUST ignore the portion of the stanza qualified by the unknown
      namespace.

   o  If an entity receives an IQ stanza of type "get" or "set"
      containing a child element qualified by a namespace it does not
      understand, then the entity MUST return an IQ stanza of type
      "error" with an error condition of <service-unavailable/>.

###

>> Section 9 mentions that the examples are non normative. However,
>> previous sections containing examples do not mention this. Stressing
>> this point also in previous sections may be useful.
>
> I'm a great fan of a document conventions section for points like these
> to be made. Typically, such sections also mention about line breaks not
> being for anything but clarity, the "S1:" prefices, etc. I'll draft such
> a section if there is interest in the group.

In my working copy I've moved that sentence from Section 9 to Section
1.4, with the following changes:

   Readers need to be aware that the examples are not exhaustive and
   that, in examples for some protocol flows, the alternate steps shown
   would not necessarily be triggered by the exact data sent in the
   previous step; in all cases the protocol definitions provided in
   this document or in referenced specifications rule over any examples
   provided here.

/psa

From stpeter@stpeter.im  Mon Oct  4 14:36:18 2010
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 BC2F43A6DB3 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 14:36:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.543
X-Spam-Level: 
X-Spam-Status: No, score=-102.543 tagged_above=-999 required=5 tests=[AWL=0.056, 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 c87xYpJJVpuD for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 14:36:17 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 336053A6D97 for <xmpp@ietf.org>; Mon,  4 Oct 2010 14:36:17 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8FD3240077 for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:43:13 -0600 (MDT)
Message-ID: <4CAA4907.3050308@stpeter.im>
Date: Mon, 04 Oct 2010 15:37:11 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CA4FBB6.4070809@stpeter.im> <4CA60BBB.4040902@stpeter.im>	<4CAA17D5.5090607@stpeter.im> <201010041135.55690.justin@affinix.com>
In-Reply-To: <201010041135.55690.justin@affinix.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "in-order processing"
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, 04 Oct 2010 21:36:18 -0000

On 10/4/10 12:35 PM, Justin Karneges wrote:
> On Monday 04 October 2010 11:07:17 Peter Saint-Andre wrote:
>> Proposed text at the end.
> 
> It's all so clear!  +1

Super. I did notice one instance of redundant information, because the
following text needs to be only in bullet #5 and not also in bullet #3:

       The server
       MUST ensure that it routes stanzas addressed to the intended
       recipient in the order it receives them over the input stream,
       treating stanzas addressed to the bare JID and the full JID of
       the intended recipient as equivalent for delivery purposes.  To
       help ensure in-order processing, the server MUST route such
       stanzas over a single "output stream" to the remote domain,
       rather than sending some stanzas over one server-to-server stream
       and other stanzas over another server-to-server stream.

So I've removed that from bullet #3, leaving it only in bullet #5 (which
I've renumbered as #4). Thus:

###

   3.  Stanzas sent by a connected client and intended for delivery to
       an entity located at a remote domain (e.g., stanzas addressed
       from <juliet@im.example.com> to <romeo@example.net>).  See the
       next rule regarding routing of such stanzas to the remote domain.

   4.  Stanzas routed from one server to another server for delivery to
       an entity associated with the remote domain (e.g., stanzas
       addressed from <juliet@im.example.com> to <romeo@example.net> and
       routed by <im.example.com> over a server-to-server stream to
       <example.net>).  The routing server MUST ensure that it routes
       stanzas addressed to the intended recipient in the order it
       receives them over the input stream, treating stanzas addressed
       to the bare JID and the full JID of the intended recipient as
       equivalent for delivery purposes.  To help ensure in-order
       processing, the server MUST route such stanzas over a single
       "output stream" to the remote domain, rather than sending some
       stanzas over one server-to-server stream and other stanzas over
       another server-to-server stream.

###

/psa


From stpeter@stpeter.im  Mon Oct  4 14:47:16 2010
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 ED7CA3A6E87 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 14:47:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.543
X-Spam-Level: 
X-Spam-Status: No, score=-102.543 tagged_above=-999 required=5 tests=[AWL=0.056, 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 lY1q-YRnEKdt for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 14:47:14 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B299E3A6C9B for <xmpp@ietf.org>; Mon,  4 Oct 2010 14:47:14 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 04B3540077; Mon,  4 Oct 2010 15:54:10 -0600 (MDT)
Message-ID: <4CAA4B97.4000308@stpeter.im>
Date: Mon, 04 Oct 2010 15:48:07 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
References: <4CA992DE.1040802@ericsson.com>
In-Reply-To: <4CA992DE.1040802@ericsson.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-3921bis-14
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, 04 Oct 2010 21:47:16 -0000

On 10/4/10 2:39 AM, Gonzalo Camarillo wrote:
> Hi,
> 
> I have received a publication request for the following draft:
> 
> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/
> 
> I do not have any substantial comments on it. The only thing is that
> Abstracts should be as stand alone as possible. That is why they do
> not typically contain references. I would propose a change along these
> lines:
> 
> OLD:
>   in conformance with RFC 2779.
> 
> NEW:
>   in conformance with the requirements in RFC 2779.
> 
> The editor can make this or a similar change if draft needs to be
> revised at some point.

Done. Before IETF Last Call I'll publish a revised I-D (along with
3920bis and xmpp-address) to incorporate feedback from Waqas Hussain.

Peter

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



From justin@affinix.com  Mon Oct  4 15:10:50 2010
Return-Path: <justin@affinix.com>
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 7D8EC3A6CB0 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:10:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 Sv3wMeyEXzJM for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:10:45 -0700 (PDT)
Received: from homiemail-a14.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id F3B7C3A6EB7 for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:10:40 -0700 (PDT)
Received: from homiemail-a14.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a14.g.dreamhost.com (Postfix) with ESMTP id 4AC3B8C07F for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:11:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=affinix.com; h=from:to:subject :date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=affinix.com; b=t Zs8SXRKatLrYR4VjGJLYsFKM2ORWkJN/3YhC5zXMFxGfXqcL6HYbaJ9Kxal+KZcG omqLbgcLXcdH9AoYrX7GpqpFu4jS7qFcSx7OFPpM9Gv5g8tEOdyySbfBFy3QnUQK +UXpSwQOxYEUWpeE/0dT70lh/7wTycwmuhTAEOpeCw=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=affinix.com; h=from:to :subject:date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; s=affinix.com; bh=YeQiEtv Cd70YwjtSdHqIIcDA8Uw=; b=eG3grsKoEVJjMr2u1pAj3UVe+q5s21vegiisNB8 LBJa4EDQR9abyhgDs7AOhkC+wwNSi3Z0PmbJubQGAzv5hSlZt8fg8ip4lgmVktDP Nihwkc5JlfsI8oE1HSnIcwiXMCat2sc//7I/+nqu302ldbZoGyoSIHL+YWSvWwaE c/lM=
Received: from purelace.localnet (andross.dreamhost.com [75.119.221.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: justin@affinix.com) by homiemail-a14.g.dreamhost.com (Postfix) with ESMTPSA id 3F9A48C07E for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:11:30 -0700 (PDT)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Mon, 4 Oct 2010 15:11:28 -0700
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <4CA4FBB6.4070809@stpeter.im> <201010041135.55690.justin@affinix.com> <4CAA4907.3050308@stpeter.im>
In-Reply-To: <4CAA4907.3050308@stpeter.im>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201010041511.28136.justin@affinix.com>
Subject: Re: [xmpp] "in-order processing"
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, 04 Oct 2010 22:10:51 -0000

On Monday 04 October 2010 14:37:11 Peter Saint-Andre wrote:
> On 10/4/10 12:35 PM, Justin Karneges wrote:
> > On Monday 04 October 2010 11:07:17 Peter Saint-Andre wrote:
> >> Proposed text at the end.
> > 
> > It's all so clear!  +1
> 
> Super. I did notice one instance of redundant information, because the
> following text needs to be only in bullet #5 and not also in bullet #3:

I think you had it right the first time.  The bare jid rule needs to apply both 
at the s1->s2 (#3) hop as well as the s2->c2 hop (#5), since the second 
depends on the first being true.

-Justin

From ofergr@gmail.com  Mon Oct  4 15:28:55 2010
Return-Path: <ofergr@gmail.com>
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 178AA3A6EB2 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:28:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 rS8U8aY0M6k9 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:28:54 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id D1F663A6CB0 for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:28:53 -0700 (PDT)
Received: by wyi11 with SMTP id 11so6402604wyi.31 for <xmpp@ietf.org>; Mon, 04 Oct 2010 15:29:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=4zjMffpVcNPymD1OStnEYB3LgxlF/MPz2r0F+AWh8qY=; b=mhQrZZL2mXbUCfVNDMpXNHN8pge0CHUNzwUQmAzLRR7buraoXlMgclZUbwcX/yZokf hnQk0AFvnfYvZqbaWkFveE1JTfpUo5OCvcqbLxtso5zSB3CtOlAJWE2Vu8rNbQcTIP1c sEgY+ZweTwHHqoRxKkqpfVr02yOQ+QxM3uThQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=dmHk17px+B51StncSI0dmqZyfRT9EG0hOqsxAHavnizrqOvKeLJGO0LQibjwb1YDDV ws1IW7KE5Wn26kEwIby+pJmQm9lTz4qP9BuFk0ejUtqCO5CnVCpG1IUGTLzkca65PHVu 5L7MewU9dgGmZ+LjF6Til2MfrWs3tdqdRxWL8=
Received: by 10.216.0.76 with SMTP id 54mr8358094wea.49.1286231389545; Mon, 04 Oct 2010 15:29:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.216.165.7 with HTTP; Mon, 4 Oct 2010 15:29:29 -0700 (PDT)
From: Ofer Goren <ofergr@gmail.com>
Date: Tue, 5 Oct 2010 00:29:29 +0200
Message-ID: <AANLkTi=oMpKecjv+PeKzSv5Gma0kGfxot5Z3AsgGEvLb@mail.gmail.com>
To: xmpp@ietf.org
Content-Type: multipart/alternative; boundary=001485f626f012a5520491d21584
Subject: [xmpp] question about presence information differences between SIP and XMPP
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, 04 Oct 2010 22:31:47 -0000

--001485f626f012a5520491d21584
Content-Type: text/plain; charset=ISO-8859-1

 Hi.
 I'm trying to see if I understand RFC 3921 the way it should have:
RFC 3863 suggests that a presence infomration document can include number of
tuples, each tuple describing the current presence status of
each contact address that the reporting entity can be reached by.

However, in RFC 3921, describing presence in XMPP, it looks like each binded
resource has only one location it can be reached by. While a contact can be
connected to any number of resources (XMPP clients, for example), a stanza
sent from a resource will only include one availability status.

Am I correct, or can a resource send more that one presence information in a
single stanza? Is a stanza like a PIDF containing one and only one tupple?

Thank you.
Ofer.

--001485f626f012a5520491d21584
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr" id=3D"idOWAReplyText57282">
<div dir=3D"ltr"><font color=3D"#000000" size=3D"2" face=3D"Arial">Hi.</fon=
t></div></div>
<div dir=3D"ltr">
<div><font size=3D"2" face=3D"Arial">I&#39;m trying to see if I understand =
RFC 3921 the way=20
it should have:</font></div>
<div><font size=3D"2" face=3D"Arial">RFC 3863 suggests that a presence info=
mration=20
document can include number of tuples, each tuple describing the current=20
presence status=A0of each=A0contact=A0address that the reporting entity can=
 be reached=20
by.</font></div>
<div><font size=3D"2" face=3D"Arial"></font>=A0</div>
<div><font size=3D"2" face=3D"Arial">However, in RFC 3921, describing prese=
nce in XMPP,=20
it looks like each=A0binded resource has only one location it can be reache=
d by.=20
While=A0a contact can be connected to any number of resources=A0(XMPP clien=
ts, for=20
example), a stanza sent from a resource will only include one availability=
=20
status.</font></div>
<div><font size=3D"2" face=3D"Arial"></font>=A0</div>
<div><font size=3D"2" face=3D"Arial">Am I correct, or can a resource send m=
ore that one=20
presence information in a single stanza? Is a stanza like a PIDF containing=
 one=20
and only one tupple?</font></div>
<div><font size=3D"2" face=3D"Arial"></font>=A0</div>
<div><font size=3D"2" face=3D"Arial">Thank you.</font></div>
<div><font size=3D"2" face=3D"Arial">Ofer.</font></div></div></div>

--001485f626f012a5520491d21584--

From stpeter@stpeter.im  Mon Oct  4 15:36:55 2010
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 DF5923A6CB0 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:36:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.544
X-Spam-Level: 
X-Spam-Status: No, score=-102.544 tagged_above=-999 required=5 tests=[AWL=0.055, 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 h+AjJzTFfVkc for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:36:54 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 89DAE3A6CAB for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:36:53 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C5A6440077 for <xmpp@ietf.org>; Mon,  4 Oct 2010 16:43:49 -0600 (MDT)
Message-ID: <4CAA573B.2040906@stpeter.im>
Date: Mon, 04 Oct 2010 16:37:47 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com>
In-Reply-To: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 3921bis and directed presence
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, 04 Oct 2010 22:36:56 -0000

On 10/4/10 7:05 AM, Waqas Hussain wrote:
> Directed presence and it's interaction with other stanzas and state is
> underspecified.

Perhaps. I think that some of the matters you discuss here are best left
to the professional judgment of server developers.

> Things to consider:
> 
> 1. How it interacts with incoming presence probes
> 2. How it interacts with subscription changes
> 3. How it interacts with outgoing directed presence and presence broadcasts
> 4. How it interacts with incoming presence
> Extra 1: How the above interactions change when the remote JID is or
> is not subscribed to the user
> Extra 2: How the above interactions change with full JIDs (remote or
> user's) vs bare JIDs (remote vs user's)
> 
> The following are some of the cases. The interactions are complex
> enough that we can probably come up with more.
> 
> 1. How it interacts with incoming presence probes
> 
> What is already specified: If we get a probe from a JID to which we
> sent directed presence, we should reply with a blank available
> presence.
> 
> What if the directed presence was sent to full JID A, but probe is
> from full JID B, to either the local full JID? To the local bare JID?
> What if the probe is from a full JID, and directed presence was sent
> by two local resources to two different full JIDs?

I think it is fine to base these decisions on a bare JID in all cases
(if my client sent directed presence to full@domain/A but my server
receives the probe from full@domain/B then it's OK for my server to
reply to the probe, etc.). Do you think we need to spell out every
possible combination? Do you think there are security concerns about
authorization based on full JIDs vs. bare JIDs?

> 2. How it interacts with subscription changes
> 
> Subscription changes often cause stanzas to be auto-sent. e.g.,
> unavailable presence may be sent if we take remove a contact. But if
> we have sent the contact a directed presence, do we clear that from
> our directed presence tables? Or should we perhaps skip the
> unavailable presence?

If I have removed your authorization to see my presence, then my server
needs to send unavailable to you. Why would my having sent you directed
presence change that?

> 3. How it interacts with outgoing directed presence and presence broadcasts
> 
> Do we clear that directed presence from our local tables when a
> directed presence had been sent, but now a presence is being sent as
> part of a broadcast?

I think that broadcast presence trumps directed presence if you are in
my roster and authorized to receive broadcast presence from me. If you
are not authorized to receive broadbast presence from me (e.g., not in
my roster), then if I send broadcast presence of type "available" you
wouldn't receive that (since you're not authorized to receive it). The
only exception is presence of type unavailable.

> Do we clear all full JID in our directed presence tables if the user
> sends an unavailable to a bare JID?
> 
> 4. How it interacts with incoming presence
> 
> We should probably clear our local directed presence tables on getting
> an unavailable presence from the remote JID. I don't think this is
> specified, but seems obvious.
> But what if the directed presence was to the bare JID, while the
> unavailable if from a full JID? The opposite? What if both were full
> JIDs?
> What if we get an unavailable to the user's bare JID, but a directed
> presence had been sent from a full JID which isn't available (hasn't
> sent initial presence)? We shouldn't clear that directed presence
> then?
> 
> 5. How do we apply resource limits?
> 
> What do we do if the user is sending directed presence to a million
> remote JIDs, leading to a huge table on the server?
> 
> The current implementation of the above in Prosody is a directed
> presence table, maintained per local client session, which just stores
> JIDs (without considering full vs. bare). We set entries on outgoing
> directed presence, and clear them on outgoing directed unavailable
> presence. I discussed this a bit with Dave Cridland, and it appears
> M-Link pretty much does the same thing. This makes us compliant except
> for the responding to probes part. I suspect doing The Right Thing(tm)
> for all above cases is going to add quite some complexity.

Peter

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



From stpeter@stpeter.im  Mon Oct  4 15:37:17 2010
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 DD8103A6EA0 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:37:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.545
X-Spam-Level: 
X-Spam-Status: No, score=-102.545 tagged_above=-999 required=5 tests=[AWL=0.054, 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 6RQUZ1fErCGP for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:37:16 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id E93333A6CB0 for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:37:15 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 7347440077; Mon,  4 Oct 2010 16:44:12 -0600 (MDT)
Message-ID: <4CAA5752.30407@stpeter.im>
Date: Mon, 04 Oct 2010 16:38:10 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Justin Karneges <justin@affinix.com>
References: <4CA4FBB6.4070809@stpeter.im>	<201010041135.55690.justin@affinix.com>	<4CAA4907.3050308@stpeter.im> <201010041511.28136.justin@affinix.com>
In-Reply-To: <201010041511.28136.justin@affinix.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "in-order processing"
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, 04 Oct 2010 22:37:18 -0000

On 10/4/10 4:11 PM, Justin Karneges wrote:
> On Monday 04 October 2010 14:37:11 Peter Saint-Andre wrote:
>> On 10/4/10 12:35 PM, Justin Karneges wrote:
>>> On Monday 04 October 2010 11:07:17 Peter Saint-Andre wrote:
>>>> Proposed text at the end.
>>>
>>> It's all so clear!  +1
>>
>> Super. I did notice one instance of redundant information, because the
>> following text needs to be only in bullet #5 and not also in bullet #3:
> 
> I think you had it right the first time.  The bare jid rule needs to apply both 
> at the s1->s2 (#3) hop as well as the s2->c2 hop (#5), since the second 
> depends on the first being true.

I think we were both right. :) A few of the words were wrong in my
original version and it was unclear (even to me on re-reading what I'd
sent!) that #5 applied to the "delivering server" performing end
delivery to the intended recipient, not to the "routing server"
receiving a stanza from the sending client and routing it off to a
remote domain. And I do think there was one redundant sentence in #5.
Plus I prefer change the order of #4 and #5 so that the processing flow
is a bit clearer. Thus I've further tweaked the text as follows:

###

   In-order processing applies (a) to any XML elements used to negotiate
   and manage XML streams, and (b) to all uses of XML stanzas, including
   but not limited to the following:

   1.  Stanzas sent by a client to its server or to its own bare JID for
       direct processing by the server (e.g., in-order processing of a
       roster get and initial presence as described in [XMPP-IM]).

   2.  Stanzas sent by a connected client and intended for delivery to
       another entity associated with a local domain (e.g., stanzas
       addressed from <juliet@im.example.com> to
       <nurse@im.example.com>).  The server MUST ensure that it delivers
       stanzas addressed to the intended recipient in the order it
       receives them over the input stream from the sending client,
       treating stanzas addressed to the bare JID and the full JID of
       the intended recipient as equivalent for delivery purposes.

   3.  Stanzas sent by a connected client and intended for delivery to
       an entity located at a remote domain (e.g., stanzas addressed
       from <juliet@im.example.com> to <romeo@example.net>).  The
       routing server MUST ensure that it routes stanzas addressed to
       the intended recipient in the order it receives them over the
       input stream from the sending client, treating stanzas addressed
       to the bare JID and the full JID of the intended recipient as
       equivalent for routing purposes.  To help ensure in-order
       processing, the routing server MUST route such stanzas over a
       single output stream to the remote domain, rather than sending
       some stanzas over one server-to-server stream and other stanzas
       over another server-to-server stream.

   4.  Stanzas routed from one server to another server for delivery to
       an entity associated with the remote domain (e.g., stanzas
       addressed from <juliet@im.example.com> to <romeo@example.net> and
       routed by <im.example.com> over a server-to-server stream to
       <example.net>).  The delivering server MUST ensure that it
       delivers stanzas to the intended recipient in the order it
       receives them over the input stream from the routing server,
       treating stanzas addressed to the bare JID and the full JID of
       the intended recipient as equivalent for delivery purposes.

   5.  Stanzas sent by one server to another server for direct
       processing by the server that is hosting the remote domain (e.g.,
       stanzas addressed from <im.example.com> to <example.net>).

###

/psa



From stpeter@stpeter.im  Mon Oct  4 15:42:53 2010
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 2756E3A6EB2 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:42:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.545
X-Spam-Level: 
X-Spam-Status: No, score=-102.545 tagged_above=-999 required=5 tests=[AWL=0.054, 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 M--EvGUjm971 for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:42:51 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 9D4E43A6E1A for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:42:51 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 4EF7940077 for <xmpp@ietf.org>; Mon,  4 Oct 2010 16:49:48 -0600 (MDT)
Message-ID: <4CAA58A2.1090700@stpeter.im>
Date: Mon, 04 Oct 2010 16:43:46 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com> <4CAA573B.2040906@stpeter.im>
In-Reply-To: <4CAA573B.2040906@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 3921bis and directed presence
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, 04 Oct 2010 22:42:53 -0000

Oops, sent prematurely. More comments inline.

On 10/4/10 4:37 PM, Peter Saint-Andre wrote:
> On 10/4/10 7:05 AM, Waqas Hussain wrote:
>> Directed presence and it's interaction with other stanzas and state is
>> underspecified.
> 
> Perhaps. I think that some of the matters you discuss here are best left
> to the professional judgment of server developers.
> 
>> Things to consider:
>>
>> 1. How it interacts with incoming presence probes
>> 2. How it interacts with subscription changes
>> 3. How it interacts with outgoing directed presence and presence broadcasts
>> 4. How it interacts with incoming presence
>> Extra 1: How the above interactions change when the remote JID is or
>> is not subscribed to the user
>> Extra 2: How the above interactions change with full JIDs (remote or
>> user's) vs bare JIDs (remote vs user's)
>>
>> The following are some of the cases. The interactions are complex
>> enough that we can probably come up with more.
>>
>> 1. How it interacts with incoming presence probes
>>
>> What is already specified: If we get a probe from a JID to which we
>> sent directed presence, we should reply with a blank available
>> presence.
>>
>> What if the directed presence was sent to full JID A, but probe is
>> from full JID B, to either the local full JID? To the local bare JID?
>> What if the probe is from a full JID, and directed presence was sent
>> by two local resources to two different full JIDs?
> 
> I think it is fine to base these decisions on a bare JID in all cases
> (if my client sent directed presence to full@domain/A but my server
> receives the probe from full@domain/B then it's OK for my server to
> reply to the probe, etc.). Do you think we need to spell out every
> possible combination? Do you think there are security concerns about
> authorization based on full JIDs vs. bare JIDs?
> 
>> 2. How it interacts with subscription changes
>>
>> Subscription changes often cause stanzas to be auto-sent. e.g.,
>> unavailable presence may be sent if we take remove a contact. But if
>> we have sent the contact a directed presence, do we clear that from
>> our directed presence tables? Or should we perhaps skip the
>> unavailable presence?
> 
> If I have removed your authorization to see my presence, then my server
> needs to send unavailable to you. Why would my having sent you directed
> presence change that?
> 
>> 3. How it interacts with outgoing directed presence and presence broadcasts
>>
>> Do we clear that directed presence from our local tables when a
>> directed presence had been sent, but now a presence is being sent as
>> part of a broadcast?
> 
> I think that broadcast presence trumps directed presence if you are in
> my roster and authorized to receive broadcast presence from me. If you
> are not authorized to receive broadbast presence from me (e.g., not in
> my roster), then if I send broadcast presence of type "available" you
> wouldn't receive that (since you're not authorized to receive it). The
> only exception is presence of type unavailable.
> 
>> Do we clear all full JID in our directed presence tables if the user
>> sends an unavailable to a bare JID?

I think so.

>> 4. How it interacts with incoming presence
>>
>> We should probably clear our local directed presence tables on getting
>> an unavailable presence from the remote JID. I don't think this is
>> specified, but seems obvious.

I don't think you clear out your local directed presence tables here,
because directed presence is not necessarily bi-directional. Just clear
it when your client sends unavailable or goes offline.

>> But what if the directed presence was to the bare JID, while the
>> unavailable if from a full JID? The opposite? What if both were full
>> JIDs?

If you don't clear the table, there's no need to worry about these
scenarios.

>> What if we get an unavailable to the user's bare JID, but a directed
>> presence had been sent from a full JID which isn't available (hasn't
>> sent initial presence)? We shouldn't clear that directed presence
>> then?

I don't see a strong need to do so. Use your best judgment.

>> 5. How do we apply resource limits?
>>
>> What do we do if the user is sending directed presence to a million
>> remote JIDs, leading to a huge table on the server?

Nuke 'em. See Section 13.12 of 3920bis.

>> The current implementation of the above in Prosody is a directed
>> presence table, maintained per local client session, which just stores
>> JIDs (without considering full vs. bare). We set entries on outgoing
>> directed presence, and clear them on outgoing directed unavailable
>> presence. 

Yes, I would expect that many servers are implemented that way.

>> I discussed this a bit with Dave Cridland, and it appears
>> M-Link pretty much does the same thing. This makes us compliant except
>> for the responding to probes part. 

In what way are you not compliant?

>> I suspect doing The Right Thing(tm)
>> for all above cases is going to add quite some complexity.

That depends on what the right thing is. :)

Peter

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



From stpeter@stpeter.im  Mon Oct  4 15:44:11 2010
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 2F5C33A6DCE for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:44:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.546
X-Spam-Level: 
X-Spam-Status: No, score=-102.546 tagged_above=-999 required=5 tests=[AWL=0.053, 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 PKfK3q-itPXo for <xmpp@core3.amsl.com>; Mon,  4 Oct 2010 15:44:10 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 622E03A6EA9 for <xmpp@ietf.org>; Mon,  4 Oct 2010 15:44:10 -0700 (PDT)
Received: from moveme.cisco.com (72-163-0-129.cisco.com [72.163.0.129]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3451E40077; Mon,  4 Oct 2010 16:51:07 -0600 (MDT)
Message-ID: <4CAA58F1.9090609@stpeter.im>
Date: Mon, 04 Oct 2010 16:45:05 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Ofer Goren <ofergr@gmail.com>
References: <AANLkTi=oMpKecjv+PeKzSv5Gma0kGfxot5Z3AsgGEvLb@mail.gmail.com>
In-Reply-To: <AANLkTi=oMpKecjv+PeKzSv5Gma0kGfxot5Z3AsgGEvLb@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] question about presence information differences between SIP	and XMPP
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, 04 Oct 2010 22:44:11 -0000

On 10/4/10 4:29 PM, Ofer Goren wrote:
> Hi.
> I'm trying to see if I understand RFC 3921 the way it should have:
> RFC 3863 suggests that a presence infomration document can include
> number of tuples, each tuple describing the current presence status of
> each contact address that the reporting entity can be reached by.
>  
> However, in RFC 3921, describing presence in XMPP, it looks like
> each binded resource has only one location it can be reached by. While a
> contact can be connected to any number of resources (XMPP clients, for
> example), a stanza sent from a resource will only include one
> availability status.
>  
> Am I correct, or can a resource send more that one presence information
> in a single stanza? Is a stanza like a PIDF containing one and only one
> tupple?

Yes. XMPP and SIP differ in this way.

Peter

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



From gonzalo.camarillo@ericsson.com  Tue Oct  5 01:27:46 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 2172D3A6EE1 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 01:27:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.413
X-Spam-Level: 
X-Spam-Status: No, score=-106.413 tagged_above=-999 required=5 tests=[AWL=0.186, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 WWc1g9uCWQFS for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 01:27:44 -0700 (PDT)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id 4A8173A6CD5 for <xmpp@ietf.org>; Tue,  5 Oct 2010 01:27:44 -0700 (PDT)
X-AuditID: c1b4fb39-b7c6dae000006ad7-13-4caae1b85c88
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw9.se.ericsson.net (Symantec Mail Security) with SMTP id 8E.39.27351.8B1EAAC4; Tue,  5 Oct 2010 10:28:40 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Oct 2010 10:28:40 +0200
Received: from [131.160.126.165] ([131.160.126.165]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 5 Oct 2010 10:28:39 +0200
Message-ID: <4CAAE1B4.3010107@ericsson.com>
Date: Tue, 05 Oct 2010 11:28:36 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CA81CB9.5020509@ericsson.com> <4CA9E5F9.8080209@stpeter.im>
In-Reply-To: <4CA9E5F9.8080209@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 05 Oct 2010 08:28:39.0871 (UTC) FILETIME=[501D7CF0:01CB6467]
X-Brightmail-Tracker: AAAAAA==
Cc: "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Tue, 05 Oct 2010 08:27:46 -0000

Hi Peter,

thanks for your answers. Regarding the text in the Introduction:

>    the
>    XMPP Working Group decided to split the XMPP address format into a
>    separate specification so as not to significantly delay publication
>    of improved documentation for XMPP while awaiting the conclusion of
>    work on improved handling of internationalized addresses.

when I read this I understand that the address format part cannot
published until "the conclusion of work on improved handling of
internationalized addresses". So, we have moved the address format part
to a different spec that will be published later so that the rest of the
XMPP specs can be published sooner. However, that is not the case
because we are publishing the address format at the same time as the
other XMPP specs. So, to me, the advantage of moving the address format
to a different spec is not that it will speed up the publication of the
XMPP specs *now*. The advantage is that when the work on
internationalized addresses finishes, we will only need to revise the
address format RFC, and not the whole XMPP spec.

In any case, this is a minor point. Now that I have clarified my point,
feel free to edit the text as you see fit.

Regarding Overview sections with normative statements, I was referring
to the following document, which recommends not to include them.

http://tools.ietf.org/html/rfc4485#section-4.7

I realize the recommendation, while having a potential general
applicability, is given in the context of SIP extensions :o)

This document references RFC4101, which is mostly about non-normative
protocol overviews:

http://tools.ietf.org/html/rfc4101

In any case, this is a minor style-related point. If you think overview
sections containing normative statements are OK, feel free to not modify
them at all.

Thanks,

Gonzalo


On 04/10/2010 5:34 PM, Peter Saint-Andre wrote:
> On 10/3/10 12:03 AM, Gonzalo Camarillo wrote:
> 
>> Section 1. The last paragraph talks about delays in the revision
>> process if the address format was specified in 3920bis. Since we are
>> progressing both drafts together, I do not understand what delays the
>> text is referring to. I understood the advantage of moving the address
>> format to a new draft was that such a draft (i.e., this draft) could
>> be revised at a later point without needing to revise the main spec
>> again. So, I thought the gains related to modularity, not to reducing
>> delays.
> 
> The only reason we care about modularity here is that it might take
> several years before the PRECIS WG defines an improved approach to
> internationalization of non-DNS addresses (we saw how long it took to
> revise IDNA2003), and we didn't want to hold up publication of 3920bis
> that long because it contains a *lot* of improvements compared to 3920.
> 
> I've adjusted the introduction to draft-ietf-xmpp-address in my working
> copy as follows:
> 
> ###
> 
>    As specified in RFC 3920, the XMPP address format re-uses the
>    "stringprep" technology for preparation of non-ASCII characters
>    [STRINGPREP], including the Nameprep profile for internationalized
>    domain names as specified in [NAMEPREP] and [IDNA2003] along with two
>    XMPP-specific profiles for the localpart and resourcepart.  However,
>    since the publication of RFC 3920, IDNA2003 has been superseded by
>    IDNA2008 (see [IDNA-PROTO] and related documents).  As a result,
>    other protocols that use stringprep (including XMPP) have begun to
>    migrate from stringprep toward more "modern" approaches.
> 
>    However, work on improved handling of internationalized addresses is
>    currently in progress within the PRECIS Working Group and might take
>    several years to complete.  Because all other aspects of revised
>    documentation for XMPP have been incorporated into [rfc3920bis], the
>    XMPP Working Group decided to split the XMPP address format into a
>    separate specification so as not to significantly delay publication
>    of improved documentation for XMPP while awaiting the conclusion of
>    work on improved handling of internationalized addresses.  This
>    specification provides corrected documentation of the XMPP address
>    format using the internationalization technologies available in 2004
>    (when RFC 3920 was published), with the intent that this
>    specification will be superseded as soon as work on a new approach to
>    internationalization has been defined by the PRECIS Working Group.
> 
> ###
> 
> Is that clearer?
> 
>> Section 2.1. I also made this comment on 3920bis. This overview
>> section contains normative language. I just want to make sure that
>> was the intention.
> 
> Yes, that is the intention.
> 
> Personally I see no reason why a section entitled "Overview" cannot be
> normative, but if it's confusing then we could change the title to
> something like "Fundamentals".
> 
> Peter
> 


From stpeter@stpeter.im  Tue Oct  5 05:07:14 2010
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 D94563A6F38 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 05:07:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.539
X-Spam-Level: 
X-Spam-Status: No, score=-102.539 tagged_above=-999 required=5 tests=[AWL=0.060, 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 ps16+qw-ToQu for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 05:07:13 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 52EDD3A6F41 for <xmpp@ietf.org>; Tue,  5 Oct 2010 05:07:11 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D6AFD40074; Tue,  5 Oct 2010 06:14:11 -0600 (MDT)
Message-ID: <4CAB1527.3030200@stpeter.im>
Date: Tue, 05 Oct 2010 06:08:07 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
References: <4CA81CB9.5020509@ericsson.com> <4CA9E5F9.8080209@stpeter.im> <4CAAE1B4.3010107@ericsson.com>
In-Reply-To: <4CAAE1B4.3010107@ericsson.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Tue, 05 Oct 2010 12:07:15 -0000

On 10/5/10 2:28 AM, Gonzalo Camarillo wrote:
> Hi Peter,
> 
> thanks for your answers. Regarding the text in the Introduction:
> 
>>    the
>>    XMPP Working Group decided to split the XMPP address format into a
>>    separate specification so as not to significantly delay publication
>>    of improved documentation for XMPP while awaiting the conclusion of
>>    work on improved handling of internationalized addresses.
> 
> when I read this I understand that the address format part cannot
> published until "the conclusion of work on improved handling of
> internationalized addresses". So, we have moved the address format part
> to a different spec that will be published later so that the rest of the
> XMPP specs can be published sooner. However, that is not the case
> because we are publishing the address format at the same time as the
> other XMPP specs. So, to me, the advantage of moving the address format
> to a different spec is not that it will speed up the publication of the
> XMPP specs *now*. The advantage is that when the work on
> internationalized addresses finishes, we will only need to revise the
> address format RFC, and not the whole XMPP spec.
> 
> In any case, this is a minor point. Now that I have clarified my point,
> feel free to edit the text as you see fit.

OK. I still do think there are two factors here, because if waited 2
years (or whatever) to publish the one spec containing the protocol
definitions and the address format then we'd have people implementing to
RFC 3920 (and thus doing some things wrong) instead of 3920bis. It
seemed better to split the address spec out so that we wouldn't wait and
also because then we could revise the address spec independently.

> Regarding Overview sections with normative statements, I was referring
> to the following document, which recommends not to include them.
> 
> http://tools.ietf.org/html/rfc4485#section-4.7
> 
> I realize the recommendation, while having a potential general
> applicability, is given in the context of SIP extensions :o)

I see. That's similar to the "How It Works" sections in some XMPP
extension protocols (XEPs).

> This document references RFC4101, which is mostly about non-normative
> protocol overviews:
> 
> http://tools.ietf.org/html/rfc4101
> 
> In any case, this is a minor style-related point. If you think overview
> sections containing normative statements are OK, feel free to not modify
> them at all.

I'll look into changing these in the revised I-Ds coming this week.

Peter

From jehan.marmottard@gmail.com  Tue Oct  5 07:01:26 2010
Return-Path: <jehan.marmottard@gmail.com>
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 5EC483A6FA1 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:01:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[AWL=0.201,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 sUSsF9N+oucH for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:01:25 -0700 (PDT)
Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by core3.amsl.com (Postfix) with ESMTP id 67EA43A6F75 for <xmpp@ietf.org>; Tue,  5 Oct 2010 07:01:25 -0700 (PDT)
Received: by ywk9 with SMTP id 9so1634680ywk.31 for <xmpp@ietf.org>; Tue, 05 Oct 2010 07:02:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0ghELx5aXXPRgoGIhyV6jLYvUbyRRujmTNRuSj6NC5o=; b=OYMg7OEVpPnFlLIRofoUvXyqYwCTbDJRelNp6IeQ3LdIqvyAXuM5zVYt4zNuFUMvHS m+ISolG47si52VAq+a3oL8TOv80vaO5BI+li8V9imUpB6KCNBhIVNVpQjcCnqRieEo+M 5VCieLY9ba5YryZwg9N5X9PalsTDp2qUiUN3Q=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=TE40Kn691zZTwPGcTP7ySTucU0tFtCjNIPxBe1ILaMwuE0n6AyGrNFa4bUJBFk3KUk LGqiyj51+FAGa2dV4694/vZ0JH141lwYzS6o7aU4turTaDT6NSdGoPZ+hcNe6ZR1mJ77 QJjPl3h5Xr5uFWmP/Bn/26Cc1wamC8a+xsJB0=
MIME-Version: 1.0
Received: by 10.231.160.77 with SMTP id m13mr12205496ibx.22.1286287342793; Tue, 05 Oct 2010 07:02:22 -0700 (PDT)
Received: by 10.231.179.151 with HTTP; Tue, 5 Oct 2010 07:02:22 -0700 (PDT)
In-Reply-To: <4CA9E5F9.8080209@stpeter.im>
References: <4CA81CB9.5020509@ericsson.com> <4CA9E5F9.8080209@stpeter.im>
Date: Tue, 5 Oct 2010 23:02:22 +0900
Message-ID: <AANLkTimH10=OumpbhzSRJ5dBnSp=D7DDOkLDrTxyaafu@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Tue, 05 Oct 2010 14:01:26 -0000

Hi,

I have a related point to the discussion that I was planning to ask
right now as I am reading xmpp-address.
This is in particular about this:

On Mon, Oct 4, 2010 at 11:34 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
[...]
> I've adjusted the introduction to draft-ietf-xmpp-address in my working
> copy as follows:
>
> ###
>
> =A0 As specified in RFC 3920, the XMPP address format re-uses the
> =A0 "stringprep" technology for preparation of non-ASCII characters
> =A0 [STRINGPREP], including the Nameprep profile for internationalized
> =A0 domain names as specified in [NAMEPREP] and [IDNA2003] along with two
> =A0 XMPP-specific profiles for the localpart and resourcepart. =A0However=
,
> =A0 since the publication of RFC 3920, IDNA2003 has been superseded by
> =A0 IDNA2008 (see [IDNA-PROTO] and related documents). =A0As a result,
> =A0 other protocols that use stringprep (including XMPP) have begun to
> =A0 migrate from stringprep toward more "modern" approaches.
>

As you say, IDNA2008 is superseding IDNA 2003. Yet in xmpp-address, we
seem to mainly only deal about IDNA2003 (with just from time to time a
note about IDN2008). I haven't read either of them yet, so maybe there
are not that much difference, but still shouldn't we already move on
to discussing only of IDNA2008 in xmpp-address?
Thanks.

Jehan

From stpeter@stpeter.im  Tue Oct  5 07:16:17 2010
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 801023A6F92 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:16:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.386
X-Spam-Level: 
X-Spam-Status: No, score=-102.386 tagged_above=-999 required=5 tests=[AWL=-0.087, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 I05HzqpkO2f5 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:16:16 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 23A493A6F7E for <xmpp@ietf.org>; Tue,  5 Oct 2010 07:16:16 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D175940074; Tue,  5 Oct 2010 08:23:17 -0600 (MDT)
Message-ID: <4CAB3360.3000407@stpeter.im>
Date: Tue, 05 Oct 2010 08:17:04 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <4CA81CB9.5020509@ericsson.com>	<4CA9E5F9.8080209@stpeter.im> <AANLkTimH10=OumpbhzSRJ5dBnSp=D7DDOkLDrTxyaafu@mail.gmail.com>
In-Reply-To: <AANLkTimH10=OumpbhzSRJ5dBnSp=D7DDOkLDrTxyaafu@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Tue, 05 Oct 2010 14:16:17 -0000

On 10/5/10 8:02 AM, Jehan PagĂ¨s wrote:
> Hi,
> 
> I have a related point to the discussion that I was planning to ask
> right now as I am reading xmpp-address.
> This is in particular about this:
> 
> On Mon, Oct 4, 2010 at 11:34 PM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> [...]
>> I've adjusted the introduction to draft-ietf-xmpp-address in my working
>> copy as follows:
>>
>> ###
>>
>>   As specified in RFC 3920, the XMPP address format re-uses the
>>   "stringprep" technology for preparation of non-ASCII characters
>>   [STRINGPREP], including the Nameprep profile for internationalized
>>   domain names as specified in [NAMEPREP] and [IDNA2003] along with two
>>   XMPP-specific profiles for the localpart and resourcepart.  However,
>>   since the publication of RFC 3920, IDNA2003 has been superseded by
>>   IDNA2008 (see [IDNA-PROTO] and related documents).  As a result,
>>   other protocols that use stringprep (including XMPP) have begun to
>>   migrate from stringprep toward more "modern" approaches.
>>
> 
> As you say, IDNA2008 is superseding IDNA 2003. Yet in xmpp-address, we
> seem to mainly only deal about IDNA2003 (with just from time to time a
> note about IDN2008). I haven't read either of them yet, so maybe there
> are not that much difference, but still shouldn't we already move on
> to discussing only of IDNA2008 in xmpp-address?

This is a long story.

Basically, the XMPP WG decided to delay a complete overhaul of the
address definition until we can figure out how to fix the localpart and
the resourcepart, not just the domainpart. The XMPP WG could try to do
this work by itself, but various IETF participants had strong consensus
at the NEWPREP birds of a feather meeting earlier this year to do this
work in a coordinated fashion rather than having each community do this
work for their own technology (SASL, STORM, XMPP, LDAP, etc.) because
(1) those communities might lack the necessary internationalization
expertise and (2) it would be good to have a consistent approach to i18n
issues in the future. This consensus resulted in formation of the PRECIS
WG. Thus people who care about these issues really need to get active in
the PRECIS WG so it can finish its work. Once that is done, we can
replace the temporary draft-ietf-xmpp-address with a permanent solution
(or as permanent as anything can be in the i18n world). That permanent
solution can then be published as a new RFC or it can be folded back
into the core XMPP spec (I prefer the latter approach).

Hope that helps,

Peter

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



From jehan.marmottard@gmail.com  Tue Oct  5 07:43:29 2010
Return-Path: <jehan.marmottard@gmail.com>
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 A599A3A6F7A for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:43:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.127
X-Spam-Level: 
X-Spam-Status: No, score=-2.127 tagged_above=-999 required=5 tests=[AWL=0.172,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 qiNdLlBaJSuN for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:43:28 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id EE3263A6CAA for <xmpp@ietf.org>; Tue,  5 Oct 2010 07:43:25 -0700 (PDT)
Received: by iwn3 with SMTP id 3so10027844iwn.31 for <xmpp@ietf.org>; Tue, 05 Oct 2010 07:44:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=WBw9n678SVTWHe1mnV6HxR3KiUA4EChrAIAX7tsgKRY=; b=MrgeTgbb0WcLpTErzFWq/t/y0qmGFAW4/anWv7WC90g/cUysFZHYF/RgD1UqwF3vc8 aRN9ZgZPo/LwDh9+6btyy1NpWtufXhU44ExvMUdzk1LrmXiy2kFzR7YDgyOVViHBYBhU 587LC6bF22joDKBOHytdIb/ldshz7oygX8oEs=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=NL2QyOlLFBhFHi+xZQjVj+PZGP72GlIRqZ76yEMNZvKgqdHf+L6y/6fEPNrK3IYzBC bs27h+Q/T9PAu1fUHkoMAwMibQ/VvHLzAfwqqCsdP8/wf+Cp2D3zbO5HRPkVXssW1dMw whpIc6lZcAB5J2vqt8Hc0c2Td5k6nk53ciBGc=
MIME-Version: 1.0
Received: by 10.231.15.73 with SMTP id j9mr11828529iba.23.1286289857947; Tue, 05 Oct 2010 07:44:17 -0700 (PDT)
Received: by 10.231.179.151 with HTTP; Tue, 5 Oct 2010 07:44:17 -0700 (PDT)
In-Reply-To: <4CAB3360.3000407@stpeter.im>
References: <4CA81CB9.5020509@ericsson.com> <4CA9E5F9.8080209@stpeter.im> <AANLkTimH10=OumpbhzSRJ5dBnSp=D7DDOkLDrTxyaafu@mail.gmail.com> <4CAB3360.3000407@stpeter.im>
Date: Tue, 5 Oct 2010 23:44:17 +0900
Message-ID: <AANLkTink5dsbwAzVrX9hUNYKgtXDvymVVWQ6ODCgwQTs@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Tue, 05 Oct 2010 14:43:30 -0000

Hi,

2010/10/5 Peter Saint-Andre <stpeter@stpeter.im>:
> On 10/5/10 8:02 AM, Jehan Pag=E8s wrote:
[...]
>> As you say, IDNA2008 is superseding IDNA 2003. Yet in xmpp-address, we
>> seem to mainly only deal about IDNA2003 (with just from time to time a
>> note about IDN2008). I haven't read either of them yet, so maybe there
>> are not that much difference, but still shouldn't we already move on
>> to discussing only of IDNA2008 in xmpp-address?
>
> This is a long story.
>
> Basically, the XMPP WG decided to delay a complete overhaul of the
> address definition until we can figure out how to fix the localpart and
> the resourcepart, not just the domainpart. The XMPP WG could try to do
> this work by itself, but various IETF participants had strong consensus
> at the NEWPREP birds of a feather meeting earlier this year to do this
> work in a coordinated fashion rather than having each community do this
> work for their own technology (SASL, STORM, XMPP, LDAP, etc.) because
> (1) those communities might lack the necessary internationalization
> expertise and (2) it would be good to have a consistent approach to i18n
> issues in the future. This consensus resulted in formation of the PRECIS
> WG. Thus people who care about these issues really need to get active in
> the PRECIS WG so it can finish its work. Once that is done, we can
> replace the temporary draft-ietf-xmpp-address with a permanent solution
> (or as permanent as anything can be in the i18n world). That permanent
> solution can then be published as a new RFC or it can be folded back
> into the core XMPP spec (I prefer the latter approach).
>

Hum... but if at the end, each protocol/technology does that (folding
back into their own spec), at the beginning, everyone will have the
same spec at first; but with time, this "consistent" approach to
internationalized name might derive in every different spec, hence
become "not so consistent" in the end. I think that's the point of
having a single RFC for all so that each technologies simply have to
reference it (instead of copying it then modifying it).

So oppositely to you, I would prefer the single RFC approach, simply
referenced in xmpp-address (with possible clarification in how we use
this RFC for XMPP sake, but not rewriting it). But we are not here yet
anyway. I guess this might be rediscussed when the consensus will be
done. ;-)

> Hope that helps,
>

It does, thanks. Still for someone wishing to implement right now
something from this, what would you advise then? Should I focus on
IDNA2003 only for now?
Thanks.

Jehan

From stpeter@stpeter.im  Tue Oct  5 07:53:38 2010
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 D623A3A6CBE for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:53:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.384
X-Spam-Level: 
X-Spam-Status: No, score=-102.384 tagged_above=-999 required=5 tests=[AWL=-0.085, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, 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 6y5bStHJGoNb for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 07:53:34 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2ED2C3A6C91 for <xmpp@ietf.org>; Tue,  5 Oct 2010 07:53:34 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A9E2940074; Tue,  5 Oct 2010 09:00:35 -0600 (MDT)
Message-ID: <4CAB3C26.3060502@stpeter.im>
Date: Tue, 05 Oct 2010 08:54:30 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <4CA81CB9.5020509@ericsson.com>	<4CA9E5F9.8080209@stpeter.im>	<AANLkTimH10=OumpbhzSRJ5dBnSp=D7DDOkLDrTxyaafu@mail.gmail.com>	<4CAB3360.3000407@stpeter.im> <AANLkTink5dsbwAzVrX9hUNYKgtXDvymVVWQ6ODCgwQTs@mail.gmail.com>
In-Reply-To: <AANLkTink5dsbwAzVrX9hUNYKgtXDvymVVWQ6ODCgwQTs@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Tue, 05 Oct 2010 14:53:38 -0000

On 10/5/10 8:44 AM, Jehan PagĂ¨s wrote:
> Hi,
> 
> 2010/10/5 Peter Saint-Andre <stpeter@stpeter.im>:
>> On 10/5/10 8:02 AM, Jehan PagĂ¨s wrote:
> [...]
>>> As you say, IDNA2008 is superseding IDNA 2003. Yet in xmpp-address, we
>>> seem to mainly only deal about IDNA2003 (with just from time to time a
>>> note about IDN2008). I haven't read either of them yet, so maybe there
>>> are not that much difference, but still shouldn't we already move on
>>> to discussing only of IDNA2008 in xmpp-address?
>>
>> This is a long story.
>>
>> Basically, the XMPP WG decided to delay a complete overhaul of the
>> address definition until we can figure out how to fix the localpart and
>> the resourcepart, not just the domainpart. The XMPP WG could try to do
>> this work by itself, but various IETF participants had strong consensus
>> at the NEWPREP birds of a feather meeting earlier this year to do this
>> work in a coordinated fashion rather than having each community do this
>> work for their own technology (SASL, STORM, XMPP, LDAP, etc.) because
>> (1) those communities might lack the necessary internationalization
>> expertise and (2) it would be good to have a consistent approach to i18n
>> issues in the future. This consensus resulted in formation of the PRECIS
>> WG. Thus people who care about these issues really need to get active in
>> the PRECIS WG so it can finish its work. Once that is done, we can
>> replace the temporary draft-ietf-xmpp-address with a permanent solution
>> (or as permanent as anything can be in the i18n world). That permanent
>> solution can then be published as a new RFC or it can be folded back
>> into the core XMPP spec (I prefer the latter approach).
>>
> 
> Hum... but if at the end, each protocol/technology does that (folding
> back into their own spec), at the beginning, everyone will have the
> same spec at first; but with time, this "consistent" approach to
> internationalized name might derive in every different spec, hence
> become "not so consistent" in the end. I think that's the point of
> having a single RFC for all so that each technologies simply have to
> reference it (instead of copying it then modifying it).

I didn't say there would be a single RFC for internationalized strings
in SASL, iSCSI, LDAP, XMPP, etc. The PRECIS WG is trying to define a
common approach or framework that each technology can use by writing
their own specifications. See here:

http://tools.ietf.org/html/draft-blanchet-precis-problem-statement

http://tools.ietf.org/html/draft-blanchet-precis-framework

My input to that thought process was:

http://tools.ietf.org/html/draft-saintandre-xmpp-i18n-01

> So oppositely to you, I would prefer the single RFC approach, simply
> referenced in xmpp-address (with possible clarification in how we use
> this RFC for XMPP sake, but not rewriting it). But we are not here yet
> anyway. I guess this might be rediscussed when the consensus will be
> done. ;-)

Indeed it will.

>> Hope that helps,
>>
> 
> It does, thanks. Still for someone wishing to implement right now
> something from this, what would you advise then? Should I focus on
> IDNA2003 only for now?

Are you writing your own IDNA parser? Typically people use libidn.

Peter

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



From jehan.marmottard@gmail.com  Tue Oct  5 10:15:15 2010
Return-Path: <jehan.marmottard@gmail.com>
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 7D8053A6ED0 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 10:15:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.148
X-Spam-Level: 
X-Spam-Status: No, score=-2.148 tagged_above=-999 required=5 tests=[AWL=0.151,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 7ACOIE-1+cGl for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 10:14:51 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id ACBBA3A6FBD for <xmpp@ietf.org>; Tue,  5 Oct 2010 10:14:45 -0700 (PDT)
Received: by iwn3 with SMTP id 3so10201475iwn.31 for <xmpp@ietf.org>; Tue, 05 Oct 2010 10:15:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=L7xLjvbiOypDDNS88hAjsu+tE7oxvw9jntJQbrZV6js=; b=hiFuXZCXM6UaiRcuil94cr5+dYFb6ksdarnX9cQhhI9p7oPuF2x5sIDCq02elEdEgo atuCKQpoSZBzsm2j/LA5LkiyBAg3KmjtzFfNbKrnGbSXddcsfPFJkxcsePXigZ2ZEAWo lRziowLqddJmp+guKraWTq26ZfUDJvz9xaBkM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KMqtyzw7To2MxbQJ0B1vTD2D+zL1O/3Vcj3HqxphqJvR/wIYqoyvS7xmm5f28o7uKq Ve5BJM0rz3H01+baPcujKjVKtmb/Q6LzZxsW98f19JNrpqp+r/OZPwZvjmnM6NQQe1hu VDP0m6o4RZKl1tXBnkkyBfnbgzEKv4e1dyKGI=
MIME-Version: 1.0
Received: by 10.231.170.79 with SMTP id c15mr12458156ibz.82.1286298943629; Tue, 05 Oct 2010 10:15:43 -0700 (PDT)
Received: by 10.231.179.151 with HTTP; Tue, 5 Oct 2010 10:15:43 -0700 (PDT)
In-Reply-To: <4CAB3C26.3060502@stpeter.im>
References: <4CA81CB9.5020509@ericsson.com> <4CA9E5F9.8080209@stpeter.im> <AANLkTimH10=OumpbhzSRJ5dBnSp=D7DDOkLDrTxyaafu@mail.gmail.com> <4CAB3360.3000407@stpeter.im> <AANLkTink5dsbwAzVrX9hUNYKgtXDvymVVWQ6ODCgwQTs@mail.gmail.com> <4CAB3C26.3060502@stpeter.im>
Date: Wed, 6 Oct 2010 02:15:43 +0900
Message-ID: <AANLkTiniZ111r7K0fdZv+XS2pDvehJ7rXre4xJNMjaJ3@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] AD review: draft-ietf-xmpp-address-04
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: Tue, 05 Oct 2010 17:15:16 -0000

Hi,

2010/10/5 Peter Saint-Andre <stpeter@stpeter.im>:
> On 10/5/10 8:44 AM, Jehan Pag=E8s wrote:
>> Hum... but if at the end, each protocol/technology does that (folding
>> back into their own spec), at the beginning, everyone will have the
>> same spec at first; but with time, this "consistent" approach to
>> internationalized name might derive in every different spec, hence
>> become "not so consistent" in the end. I think that's the point of
>> having a single RFC for all so that each technologies simply have to
>> reference it (instead of copying it then modifying it).
>
> I didn't say there would be a single RFC for internationalized strings
> in SASL, iSCSI, LDAP, XMPP, etc. The PRECIS WG is trying to define a
> common approach or framework that each technology can use by writing
> their own specifications. See here:
>
> http://tools.ietf.org/html/draft-blanchet-precis-problem-statement
>
> http://tools.ietf.org/html/draft-blanchet-precis-framework
>
> My input to that thought process was:
>
> http://tools.ietf.org/html/draft-saintandre-xmpp-i18n-01
>

Ok I see better.

>
>>> Hope that helps,
>>>
>>
>> It does, thanks. Still for someone wishing to implement right now
>> something from this, what would you advise then? Should I focus on
>> IDNA2003 only for now?
>
> Are you writing your own IDNA parser? Typically people use libidn.
>

I don't really know what I am doing exactly. For now I was rather
beginning to study what should be done or not, what exists already,
etc. So yes I'll have a look at libidn then. :-)
Thanks.

Jehan

From stpeter@stpeter.im  Tue Oct  5 11:43:44 2010
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 60DDE3A70D8 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 11:43:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.549
X-Spam-Level: 
X-Spam-Status: No, score=-102.549 tagged_above=-999 required=5 tests=[AWL=0.050, 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 o6nxsfR7U09C for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 11:43:42 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2CC113A7001 for <xmpp@ietf.org>; Tue,  5 Oct 2010 11:43:42 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id E8F1640074 for <xmpp@ietf.org>; Tue,  5 Oct 2010 12:50:44 -0600 (MDT)
Message-ID: <4CAB7216.2090306@stpeter.im>
Date: Tue, 05 Oct 2010 12:44:38 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com>	<4CAA573B.2040906@stpeter.im> <4CAA58A2.1090700@stpeter.im>
In-Reply-To: <4CAA58A2.1090700@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 3921bis and directed presence
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: Tue, 05 Oct 2010 18:43:44 -0000

On 10/4/10 4:43 PM, Peter Saint-Andre wrote:
> Oops, sent prematurely. More comments inline.
> 
> On 10/4/10 4:37 PM, Peter Saint-Andre wrote:
>> On 10/4/10 7:05 AM, Waqas Hussain wrote:
>>> Directed presence and it's interaction with other stanzas and state is
>>> underspecified.
>>
>> Perhaps. I think that some of the matters you discuss here are best left
>> to the professional judgment of server developers.

I suggest:

###

4.6.  Directed Presence

   This section supplements and in some respects modifies the rules for
   client and server processing of presence notifications and presence
   probes, but only for the special case of directed presence.

4.6.1.  General Considerations

   In general, a client sends directed presence when it wishes to share
   availability information with an entity that is not subscribed to its
   presence, typically on a temporary basis.  Common uses of directed
   presence include casual one-to-one chat sessions as described under
   Section 5.1 and multi-user chat rooms as described in [XEP-0045].

   The temporary relationship established by sharing directed presence
   with another entity is secondary to the permanent relationship
   established through a presence subscription.  Therefore, the acts of
   creating, modifying, or cancelling a presence subscription MUST take
   precedence over the rules specified in the following subsections.
   For example, if a user shares directed presence with a contact but
   then adds the contact to the user's roster by completing the presence
   subscription "handshake", the user's server MUST treat the contact
   just as it would any normal subscriber.  Similarly, if a user then
   cancels the contact's subscription to the user's presence, the user's
   server MUST send unavailable presence to the contact (even if the
   user has sent directed presence to the contact).

###

>>> Things to consider:
>>>
>>> 1. How it interacts with incoming presence probes
>>> 2. How it interacts with subscription changes
>>> 3. How it interacts with outgoing directed presence and presence broadcasts
>>> 4. How it interacts with incoming presence
>>> Extra 1: How the above interactions change when the remote JID is or
>>> is not subscribed to the user
>>> Extra 2: How the above interactions change with full JIDs (remote or
>>> user's) vs bare JIDs (remote vs user's)
>>>
>>> The following are some of the cases. The interactions are complex
>>> enough that we can probably come up with more.
>>>
>>> 1. How it interacts with incoming presence probes
>>>
>>> What is already specified: If we get a probe from a JID to which we
>>> sent directed presence, we should reply with a blank available
>>> presence.
>>>
>>> What if the directed presence was sent to full JID A, but probe is
>>> from full JID B, to either the local full JID? To the local bare JID?
>>> What if the probe is from a full JID, and directed presence was sent
>>> by two local resources to two different full JIDs?
>>
>> I think it is fine to base these decisions on a bare JID in all cases
>> (if my client sent directed presence to full@domain/A but my server
>> receives the probe from full@domain/B then it's OK for my server to
>> reply to the probe, etc.). Do you think we need to spell out every
>> possible combination? Do you think there are security concerns about
>> authorization based on full JIDs vs. bare JIDs?

I suggest:

###

4.6.6.  Server Processing of Presence Probes

   If a user's client has sent directed presence to another entity
   (e.g., a one-to-one chat partner or a multi-user chat room), after
   some time the entity or its server might want to know if the client
   is still online.  This scenario is especially common in the case of
   multi-user chat rooms, in which the user might be a participant for a
   long period of time.  If the user's client goes offline without the
   chat room being informed (either by the client or the client's
   server), the user's representation in the room might become a "ghost"
   which appears to be participating but which in fact is no longer
   present in the room.  To detect such "ghosts", some multi-user chat
   room implementations send presence probes to users that have joined
   the room.

   In the case of directed presence, the probing entity SHOULD send the
   probe to the full JID from which it received directed presence, not
   the user's bare JID without a resourcepart, because the temporary
   "authorization" involved with directed presence is based on a full
   JID.  When the user's server receives a probe, it MUST first apply
   any logic associated with presence subscriptions as described under
   Section 4.3.2.  If the probing entity does not have a subscription to
   the user's presence, then the server MUST check if the user has sent
   directed presence to the entity during its current session; if so,
   the server SHOULD answer the probe with only mere presence of type
   "available" or "unavailable" (i.e., not including child elements) and
   only for that full JID (i.e., not for any other resources that might
   be currently associated with the user's bare JID).

###

>>> 2. How it interacts with subscription changes
>>>
>>> Subscription changes often cause stanzas to be auto-sent. e.g.,
>>> unavailable presence may be sent if we take remove a contact. But if
>>> we have sent the contact a directed presence, do we clear that from
>>> our directed presence tables? Or should we perhaps skip the
>>> unavailable presence?
>>
>> If I have removed your authorization to see my presence, then my server
>> needs to send unavailable to you. Why would my having sent you directed
>> presence change that?

See "General Considerations" above.

>>> 3. How it interacts with outgoing directed presence and presence broadcasts
>>>
>>> Do we clear that directed presence from our local tables when a
>>> directed presence had been sent, but now a presence is being sent as
>>> part of a broadcast?
>>
>> I think that broadcast presence trumps directed presence if you are in
>> my roster and authorized to receive broadcast presence from me. If you
>> are not authorized to receive broadbast presence from me (e.g., not in
>> my roster), then if I send broadcast presence of type "available" you
>> wouldn't receive that (since you're not authorized to receive it). The
>> only exception is presence of type unavailable.
>>
>>> Do we clear all full JID in our directed presence tables if the user
>>> sends an unavailable to a bare JID?
> 
> I think so.

I think this is covered by the "General Considerations".

>>> 4. How it interacts with incoming presence
>>>
>>> We should probably clear our local directed presence tables on getting
>>> an unavailable presence from the remote JID. I don't think this is
>>> specified, but seems obvious.
> 
> I don't think you clear out your local directed presence tables here,
> because directed presence is not necessarily bi-directional. Just clear
> it when your client sends unavailable or goes offline.
> 
>>> But what if the directed presence was to the bare JID, while the
>>> unavailable if from a full JID? The opposite? What if both were full
>>> JIDs?
> 
> If you don't clear the table, there's no need to worry about these
> scenarios.

Sorry, I wasn't thinking clearly. Yes, it makes sense to clear out the
table if you receive unavailable presence from the entity to which you
sent directed presence.

I propose adding the following paragraph to the "General Considerations":

   XMPP servers typically implement directed presence by keeping a list
   of the entities to which a user has sent directed presence during the
   user's current session, the clearing the list when the user goes
   offline.  The server MUST remove any entity to which the user sends
   directed unavailable presence and SHOULD remove any entity that sends
   unavailable presence to the user.

>>> What if we get an unavailable to the user's bare JID, but a directed
>>> presence had been sent from a full JID which isn't available (hasn't
>>> sent initial presence)? We shouldn't clear that directed presence
>>> then?
> 
> I don't see a strong need to do so. Use your best judgment.

I'm a bit confused about this scenario. Could you describe it in more
detail?

>>> 5. How do we apply resource limits?
>>>
>>> What do we do if the user is sending directed presence to a million
>>> remote JIDs, leading to a huge table on the server?
> 
> Nuke 'em. See Section 13.12 of 3920bis.
> 
>>> The current implementation of the above in Prosody is a directed
>>> presence table, maintained per local client session, which just stores
>>> JIDs (without considering full vs. bare). We set entries on outgoing
>>> directed presence, and clear them on outgoing directed unavailable
>>> presence. 
> 
> Yes, I would expect that many servers are implemented that way.
> 
>>> I discussed this a bit with Dave Cridland, and it appears
>>> M-Link pretty much does the same thing. This makes us compliant except
>>> for the responding to probes part. 
> 
> In what way are you not compliant?
> 
>>> I suspect doing The Right Thing(tm)
>>> for all above cases is going to add quite some complexity.
> 
> That depends on what the right thing is. :)

Perhaps the text proposed above gets us closer to the right thing.

Peter

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



From stpeter@stpeter.im  Tue Oct  5 13:47:44 2010
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 965383A6FDE for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 13:47:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.55
X-Spam-Level: 
X-Spam-Status: No, score=-102.55 tagged_above=-999 required=5 tests=[AWL=0.049, 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 NWk1H2371pm9 for <xmpp@core3.amsl.com>; Tue,  5 Oct 2010 13:47:43 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 34C083A6C4E for <xmpp@ietf.org>; Tue,  5 Oct 2010 13:47:43 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id E0BF540074 for <xmpp@ietf.org>; Tue,  5 Oct 2010 14:54:46 -0600 (MDT)
Message-ID: <4CAB8F28.4030507@stpeter.im>
Date: Tue, 05 Oct 2010 14:48:40 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com>	<4CAA573B.2040906@stpeter.im>	<4CAA58A2.1090700@stpeter.im> <4CAB7216.2090306@stpeter.im>
In-Reply-To: <4CAB7216.2090306@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 3921bis and directed presence
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: Tue, 05 Oct 2010 20:47:44 -0000

To summarize and for ease of review, here is the text I currently have
in my working copy...

###

4.6.  Directed Presence

   This section supplements the rules for client and server processing
   of presence notifications and presence probes, but only for the
   special case of directed presence.

4.6.1.  General Considerations

   In general, a client sends directed presence when it wishes to share
   availability information with an entity that is not subscribed to its
   presence, typically on a temporary basis.  Common uses of directed
   presence include casual one-to-one chat sessions as described under
   Section 5.1 and multi-user chat rooms as described in [XEP-0045].

   The temporary relationship established by sharing directed presence
   with another entity is secondary to the permanent relationship
   established through a presence subscription.  Therefore, the acts of
   creating, modifying, or cancelling a presence subscription MUST take
   precedence over the rules specified in the following subsections.
   For example, if a user shares directed presence with a contact but
   then adds the contact to the user's roster by completing the presence
   subscription "handshake", the user's server MUST treat the contact
   just as it would any normal subscriber as described under Section 3,
   for example by sending subsequent presence broadcasts to the contact.
   Similarly, if the user then cancels the contact's subscription to the
   user's presence, the user's server MUST handle the cancellation just
   as it normally would as described under Section 3.2, which includes
   sending unavailable presence to the contact even if the user has sent
   directed presence to the contact.

   XMPP servers typically implement directed presence by keeping a list
   of the entities (bare JIDs or full JIDs) to which a user has sent
   directed presence during the user's current session for a given
   resource (full JID), then clearing the list when the user goes
   offline.  The server MUST remove any entity to which the user sends
   directed unavailable presence and SHOULD remove any entity that sends
   unavailable presence to the user.

4.6.2.  Client Generation of Directed Presence

   As noted, directed presence is a client-generated presence stanza
   with a 'to' attribute whose value is the bare JID or full JID of the
   other entity and with either no 'type' attribute (indicating
   availability) or a 'type' attribute whose value is "unavailable".

4.6.3.  Server Processing of Outbound Directed Presence

   When the user's server receives a directed presence stanza, it SHOULD
   process it according to the following rules.

   1.  If the user sends directed available or unavailable presence to a
       contact that is in the user's roster with a subscription type of
       "from" or "both" after having sent initial presence and before
       sending unavailable presence broadcast (i.e., during the user's
       presence session), the user's server MUST locally deliver or
       remotely route the full XML of that presence stanza but SHOULD
       NOT otherwise modify the contact's status regarding presence
       broadcast (i.e., it SHOULD include the contact's JID in any
       subsequent presence broadcasts initiated by the user).

   2.  If the user sends directed presence to an entity that is not in
       the user's roster with a subscription type of "from" or "both"
       after having sent initial presence and before sending unavailable
       presence broadcast (i.e., during the user's presence session),
       the user's server MUST locally deliver or remotely route the full
       XML of that presence stanza to the entity but MUST NOT modify the
       contact's status regarding available presence broadcast (i.e., it
       MUST NOT include the entity's JID in any subsequent broadcasts of
       available presence initiated by the user); however, if the
       available resource from which the user sent the directed presence
       becomes unavailable, the user's server MUST route that
       unavailable presence to the entity (if the user has not yet sent
       directed unavailable presence to that entity).

   3.  If the user sends directed presence without first sending initial
       presence or after having sent unavailable presence broadcast
       (i.e., the resource is connected but not available), the user's
       server MUST treat the entity to which the user sends directed
       presence as in case #2 above.

4.6.4.  Server Processing of Inbound Directed Presence

   From the perspective of the contact's server, there is no significant
   difference between presence broadcast and directed presence, so the
   contact's server follows the rules for processing of inbound presence
   defined under Section 4.3.2, Section 4.4.3, and Section 4.5.3.

4.6.5.  Client Processing of Inbound Directed Presence

   From the perspective of the contact's client, there is no significant
   difference between presence broadcast and directed presence, so the
   contact's client follows the rules for processing of inbound presence
   defined under Section 4.4.3.

4.6.6.  Server Processing of Presence Probes

   If a user's client has sent directed presence to another entity
   (e.g., a one-to-one chat partner or a multi-user chat room), after
   some time the entity or its server might want to know if the client
   is still online.  This scenario is especially common in the case of
   multi-user chat rooms, in which the user might be a participant for a
   long period of time.  If the user's client goes offline without the
   chat room being informed (either by the client or the client's
   server), the user's representation in the room might become a "ghost"
   which appears to be participating but which in fact is no longer
   present in the room.  To detect such "ghosts", some multi-user chat
   room implementations send presence probes to users that have joined
   the room.

   In the case of directed presence, the probing entity SHOULD send the
   probe to the full JID from which it received directed presence, not
   the user's bare JID without a resourcepart, because the temporary
   "authorization" involved with directed presence is based on a full
   JID.  When the user's server receives a probe, it MUST first apply
   any logic associated with presence subscriptions as described under
   Section 4.3.2.  If the probing entity does not have a subscription to
   the user's presence, then the server MUST check if the user has sent
   directed presence to the entity during its current session; if so,
   the server SHOULD answer the probe with only mere presence of type
   "available" or "unavailable" (i.e., not including child elements) and
   only for that full JID (i.e., not for any other resources that might
   be currently associated with the user's bare JID).

###



From waqas20@gmail.com  Wed Oct  6 11:48:49 2010
Return-Path: <waqas20@gmail.com>
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 13E533A7187 for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 11:48:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.649
X-Spam-Level: 
X-Spam-Status: No, score=-2.649 tagged_above=-999 required=5 tests=[AWL=-0.050, BAYES_00=-2.599]
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 3XT3ObL93htB for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 11:48:48 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id EF1C53A7013 for <xmpp@ietf.org>; Wed,  6 Oct 2010 11:48:47 -0700 (PDT)
Received: by qwc9 with SMTP id 9so5176549qwc.31 for <xmpp@ietf.org>; Wed, 06 Oct 2010 11:49:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=eyu+aycgW6sPH5zoSow049suj8mVPNW9pvm8xRQUypM=; b=XuqxDvyYdpsOBHMyGSUjYAXQAfQyVkAA0LLGIA+vq18rX2g44vUPV7Vu+/2stCjHAk gYCeGV22i7ckbFjWrHbMb33P0wK1f0QnTLxQTu4boypPswtfakm0HKcQWsoyeLbnqnyB gSGUfSDqYQF/3TQza9ffXDfZr7xW7vXp0wm2s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=tskccBlxuAkBlBPHqIsHXis+wR/Pbs6GbEv8UwZEYqmJWA8XtYYTd8iMkh78F2TYGj WPY48ka/K7vf6F3yfhTXyfMDryfrs5v3NPdaRQf9Bq+sz49E++C8rRNMifniE2pFX+zl vNq1Dia8OaMDqYxogqLTr3TG4Q61Q5wogO9qY=
Received: by 10.224.3.3 with SMTP id 3mr9783657qal.181.1286390985297; Wed, 06 Oct 2010 11:49:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.72.224 with HTTP; Wed, 6 Oct 2010 11:49:25 -0700 (PDT)
In-Reply-To: <4CAB7216.2090306@stpeter.im>
References: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com> <4CAA573B.2040906@stpeter.im> <4CAA58A2.1090700@stpeter.im> <4CAB7216.2090306@stpeter.im>
From: Waqas Hussain <waqas20@gmail.com>
Date: Wed, 6 Oct 2010 23:49:25 +0500
Message-ID: <AANLkTim+QhCc0g0nCPmiVK_EJ7=5s9kjJafA0rDfwxAD@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and directed presence
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: Wed, 06 Oct 2010 18:48:49 -0000

On Tue, Oct 5, 2010 at 11:44 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:

>  In the case of directed presence, the probing entity SHOULD send the
>  probe to the full JID from which it received directed presence, not
>  the user's bare JID without a resourcepart, because the temporary
>  "authorization" involved with directed presence is based on a full
>  JID.  When the user's server receives a probe, it MUST first apply

Probes being to the full JID is good. Could we also have it be from
the full JID the directed presence was sent to?

>
> Sorry, I wasn't thinking clearly. Yes, it makes sense to clear out the
> table if you receive unavailable presence from the entity to which you
> sent directed presence.
>
> I propose adding the following paragraph to the "General Considerations":
>
> =A0 XMPP servers typically implement directed presence by keeping a list
> =A0 of the entities to which a user has sent directed presence during the
> =A0 user's current session, the clearing the list when the user goes
> =A0 offline. =A0The server MUST remove any entity to which the user sends
> =A0 directed unavailable presence and SHOULD remove any entity that sends
> =A0 unavailable presence to the user.
>

s/the clearing the/then clearing the/

"to which the user sends directed unavailable presence" - shouldn't
undirected unavailable presence also count? And perhaps undirected
available presence too. Directed presence state is effectively us
maintaining a local version of what the remote contact thinks our
presence is. So we should change our local state to match what the
remote user sees.

>>>> What if we get an unavailable to the user's bare JID, but a directed
>>>> presence had been sent from a full JID which isn't available (hasn't
>>>> sent initial presence)? We shouldn't clear that directed presence
>>>> then?
>>
>> I don't see a strong need to do so. Use your best judgment.
>
> I'm a bit confused about this scenario. Could you describe it in more
> detail?
>

Basically: If a resource which isn't available sends a directed
presence to a contact, and then the contact sends an unavailable
presence to the user's bare JID, should the resource's directed
presence table be cleared? The resource isn't available, so doesn't
actually get the unavailable presence. To maintain perfect consistency
in how both users see each other, perhaps that unavailable presence
should be sent to that resource, and directed presence cleared (i.e.,
broadcasts should take directed presence into account while
determining resource availability).

This may be too major a change at this point (it changes the
definition of AVAILABLE RESOURCE to take directed presence into
account).

>
> Perhaps the text proposed above gets us closer to the right thing.
>

+1

--
Waqas Hussain

From stpeter@stpeter.im  Wed Oct  6 12:28:58 2010
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 D1FBF3A71EE for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 12:28:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.55
X-Spam-Level: 
X-Spam-Status: No, score=-102.55 tagged_above=-999 required=5 tests=[AWL=0.049, 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 nUlwp8Jn3xsN for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 12:28:57 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id D759D3A71F8 for <xmpp@ietf.org>; Wed,  6 Oct 2010 12:28:50 -0700 (PDT)
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 7B53040074; Wed,  6 Oct 2010 13:36:01 -0600 (MDT)
Message-ID: <4CACCE2B.8040109@stpeter.im>
Date: Wed, 06 Oct 2010 13:29:47 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Waqas Hussain <waqas20@gmail.com>
References: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com> <4CAA573B.2040906@stpeter.im> <4CAA58A2.1090700@stpeter.im> <4CAB7216.2090306@stpeter.im> <AANLkTim+QhCc0g0nCPmiVK_EJ7=5s9kjJafA0rDfwxAD@mail.gmail.com>
In-Reply-To: <AANLkTim+QhCc0g0nCPmiVK_EJ7=5s9kjJafA0rDfwxAD@mail.gmail.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and directed presence
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: Wed, 06 Oct 2010 19:28:58 -0000

Hi Waqas, thanks for the feedback. Comments inline.

On 10/6/10 12:49 PM, Waqas Hussain wrote:
> On Tue, Oct 5, 2010 at 11:44 PM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> 
>>  In the case of directed presence, the probing entity SHOULD send the
>>  probe to the full JID from which it received directed presence, not
>>  the user's bare JID without a resourcepart, because the temporary
>>  "authorization" involved with directed presence is based on a full
>>  JID.  When the user's server receives a probe, it MUST first apply
> 
> Probes being to the full JID is good. Could we also have it be from
> the full JID the directed presence was sent to?

Changed in my working copy to:

   In the case of directed presence, the probing entity SHOULD send the
   probe from the JID that received directed presence (whether a full
   JID or a bare JID).  The probe SHOULD be sent to the user's full JID,
   not the user's bare JID without a resourcepart, because the temporary
   "authorization" involved with directed presence is based on the full
   JID from which the user sent directed presence to the probing entity.

My reasoning: the user might have sent directed presence to a bare JID,
not a full JID.

>> Sorry, I wasn't thinking clearly. Yes, it makes sense to clear out the
>> table if you receive unavailable presence from the entity to which you
>> sent directed presence.
>>
>> I propose adding the following paragraph to the "General Considerations":
>>
>>   XMPP servers typically implement directed presence by keeping a list
>>   of the entities to which a user has sent directed presence during the
>>   user's current session, the clearing the list when the user goes
>>   offline.  The server MUST remove any entity to which the user sends
>>   directed unavailable presence and SHOULD remove any entity that sends
>>   unavailable presence to the user.
>>
> 
> s/the clearing the/then clearing the/

Yep, I already found that one. :)

> "to which the user sends directed unavailable presence" - shouldn't
> undirected unavailable presence also count? 

Yes, that's what we mean by "clearing the list when the user goes
offline" (however, the user could go offline ungracefully).

I've clarified that thusly:

   XMPP servers typically implement directed presence by keeping a list
   of the entities (bare JIDs or full JIDs) to which a user has sent
   directed presence during the user's current session for a given
   resource (full JID), then clearing the list when the user goes
   offline (e.g., by sending a broadcast presence stanza of type
   "unavailable").

> And perhaps undirected
> available presence too. 

No, that doesn't modify the directed presence list -- unless an entity
in the directed presence list is subscribed to the user's presence, but
that's handled by this rule:

   The temporary relationship established by sharing directed presence
   with another entity is secondary to the permanent relationship
   established through a presence subscription.

> Directed presence state is effectively us
> maintaining a local version of what the remote contact thinks our
> presence is. So we should change our local state to match what the
> remote user sees.

Correct.

>>>>> What if we get an unavailable to the user's bare JID, but a directed
>>>>> presence had been sent from a full JID which isn't available (hasn't
>>>>> sent initial presence)? We shouldn't clear that directed presence
>>>>> then?
>>>
>>> I don't see a strong need to do so. Use your best judgment.
>>
>> I'm a bit confused about this scenario. Could you describe it in more
>> detail?
> 
> Basically: If a resource which isn't available sends a directed
> presence to a contact, and then the contact sends an unavailable
> presence to the user's bare JID, should the resource's directed
> presence table be cleared? 

Yes, but we already said that:

   The server MUST remove from the directed presence
   list (or its functional equivalent) any entity to which the user
   sends directed unavailable presence and SHOULD remove any entity that
   sends unavailable presence to the user.

> The resource isn't available, so doesn't
> actually get the unavailable presence. To maintain perfect consistency
> in how both users see each other, perhaps that unavailable presence
> should be sent to that resource, and directed presence cleared (i.e.,
> broadcasts should take directed presence into account while
> determining resource availability).
> 
> This may be too major a change at this point (it changes the
> definition of AVAILABLE RESOURCE to take directed presence into
> account).

The concept of an available resource governs server handling of presence
(and other) stanzas sent to the user's bare JID. Even if the resource
has not yet sent initial presence to the server (i.e., it's a connected
resource but not an available resource), it is the server's
responsibility to deliver stanzas that are addressed to the full JID of
that resource. Is that not sufficiently clear? Section 10.5.3.3 of
3920bis states:

   If the JID contained in the 'to' attribute is of the form
   <localpart@domainpart/resource> and there is a connected resource
   that exactly matches the full JID, the server SHOULD deliver the
   stanza to that connected resource.

Looking at that text afresh, I realize that it would be best to change
SHOULD to MUST -- after all, it's a core requirement of an XMPP server
to deliver stanzas. :) A client doesn't need to send presence to its
server (3921bis stuff) in order to send and receive stanzas.

Peter

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



From waqas20@gmail.com  Wed Oct  6 12:49:35 2010
Return-Path: <waqas20@gmail.com>
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 02D433A71E3 for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 12:49:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.644
X-Spam-Level: 
X-Spam-Status: No, score=-2.644 tagged_above=-999 required=5 tests=[AWL=-0.045, BAYES_00=-2.599]
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 IVSgo6c+fwpw for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 12:49:31 -0700 (PDT)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id A6B083A71C8 for <xmpp@ietf.org>; Wed,  6 Oct 2010 12:49:31 -0700 (PDT)
Received: by qyk8 with SMTP id 8so568728qyk.10 for <xmpp@ietf.org>; Wed, 06 Oct 2010 12:50:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=W1EgKr6VK9BsW/maEwe2DYF1NHBVShShqjLZgh/+Ulo=; b=orLDDxZ6ak+meFLA9dSnjIhS8PS2t/z9Ml2u6nzP2H0dmd2jdxEN427+5Wj09q62rf tQPawVUIe9l8VRCCKlClSF56a7q+ft5tuCiZ05RoF+/pUWiW2VT4YUMx3B5jyxND7xU+ ted+zEphPIIAlFItjZW01H6rQqG3Ve76rK4N4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=L4s5LTEyav6ri7e/raI23IRrSpbe8C7PD0CRN7I5KvtEkJCmNON+ZTr3m2mYsEh+Yb ky1X7WBybIUVkpXJpIuymD5jo1gvrv4Nu4nV1gGdZD9+VBehXBpRRJwQjJcfokB94FaE RI6Hdfx98lK1rHZdVvAXdfW3H9fosPB8woysU=
Received: by 10.229.236.133 with SMTP id kk5mr9026050qcb.191.1286394631884; Wed, 06 Oct 2010 12:50:31 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.72.224 with HTTP; Wed, 6 Oct 2010 12:50:11 -0700 (PDT)
In-Reply-To: <4CACCE2B.8040109@stpeter.im>
References: <AANLkTimfBtCXizsEuHSM5sVwXGfLHYXvKQKnbJLdMxHb@mail.gmail.com> <4CAA573B.2040906@stpeter.im> <4CAA58A2.1090700@stpeter.im> <4CAB7216.2090306@stpeter.im> <AANLkTim+QhCc0g0nCPmiVK_EJ7=5s9kjJafA0rDfwxAD@mail.gmail.com> <4CACCE2B.8040109@stpeter.im>
From: Waqas Hussain <waqas20@gmail.com>
Date: Thu, 7 Oct 2010 00:50:11 +0500
Message-ID: <AANLkTi=_MBLG=5VvgFfD=5H5cM3XQ+4itu7itnwq=W0T@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and directed presence
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: Wed, 06 Oct 2010 19:49:35 -0000

On Thu, Oct 7, 2010 at 12:29 AM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> Hi Waqas, thanks for the feedback. Comments inline.
>
> On 10/6/10 12:49 PM, Waqas Hussain wrote:
>> On Tue, Oct 5, 2010 at 11:44 PM, Peter Saint-Andre <stpeter@stpeter.im> =
wrote:
>>
>>> =A0In the case of directed presence, the probing entity SHOULD send the
>>> =A0probe to the full JID from which it received directed presence, not
>>> =A0the user's bare JID without a resourcepart, because the temporary
>>> =A0"authorization" involved with directed presence is based on a full
>>> =A0JID. =A0When the user's server receives a probe, it MUST first apply
>>
>> Probes being to the full JID is good. Could we also have it be from
>> the full JID the directed presence was sent to?
>
> Changed in my working copy to:
>
> =A0 In the case of directed presence, the probing entity SHOULD send the
> =A0 probe from the JID that received directed presence (whether a full
> =A0 JID or a bare JID). =A0The probe SHOULD be sent to the user's full JI=
D,
> =A0 not the user's bare JID without a resourcepart, because the temporary
> =A0 "authorization" involved with directed presence is based on the full
> =A0 JID from which the user sent directed presence to the probing entity.
>
> My reasoning: the user might have sent directed presence to a bare JID,
> not a full JID.
>
>>> Sorry, I wasn't thinking clearly. Yes, it makes sense to clear out the
>>> table if you receive unavailable presence from the entity to which you
>>> sent directed presence.
>>>
>>> I propose adding the following paragraph to the "General Considerations=
":
>>>
>>> =A0 XMPP servers typically implement directed presence by keeping a lis=
t
>>> =A0 of the entities to which a user has sent directed presence during t=
he
>>> =A0 user's current session, the clearing the list when the user goes
>>> =A0 offline. =A0The server MUST remove any entity to which the user sen=
ds
>>> =A0 directed unavailable presence and SHOULD remove any entity that sen=
ds
>>> =A0 unavailable presence to the user.
>>>
>>
>> s/the clearing the/then clearing the/
>
> Yep, I already found that one. :)
>
>> "to which the user sends directed unavailable presence" - shouldn't
>> undirected unavailable presence also count?
>
> Yes, that's what we mean by "clearing the list when the user goes
> offline" (however, the user could go offline ungracefully).
>
> I've clarified that thusly:
>
> =A0 XMPP servers typically implement directed presence by keeping a list
> =A0 of the entities (bare JIDs or full JIDs) to which a user has sent
> =A0 directed presence during the user's current session for a given
> =A0 resource (full JID), then clearing the list when the user goes
> =A0 offline (e.g., by sending a broadcast presence stanza of type
> =A0 "unavailable").
>
>> And perhaps undirected
>> available presence too.
>
> No, that doesn't modify the directed presence list -- unless an entity
> in the directed presence list is subscribed to the user's presence, but
> that's handled by this rule:
>
> =A0 The temporary relationship established by sharing directed presence
> =A0 with another entity is secondary to the permanent relationship
> =A0 established through a presence subscription.
>
>> Directed presence state is effectively us
>> maintaining a local version of what the remote contact thinks our
>> presence is. So we should change our local state to match what the
>> remote user sees.
>
> Correct.
>
>>>>>> What if we get an unavailable to the user's bare JID, but a directed
>>>>>> presence had been sent from a full JID which isn't available (hasn't
>>>>>> sent initial presence)? We shouldn't clear that directed presence
>>>>>> then?
>>>>
>>>> I don't see a strong need to do so. Use your best judgment.
>>>
>>> I'm a bit confused about this scenario. Could you describe it in more
>>> detail?
>>
>> Basically: If a resource which isn't available sends a directed
>> presence to a contact, and then the contact sends an unavailable
>> presence to the user's bare JID, should the resource's directed
>> presence table be cleared?
>
> Yes, but we already said that:
>
> =A0 The server MUST remove from the directed presence
> =A0 list (or its functional equivalent) any entity to which the user
> =A0 sends directed unavailable presence and SHOULD remove any entity that
> =A0 sends unavailable presence to the user.
>
>> The resource isn't available, so doesn't
>> actually get the unavailable presence. To maintain perfect consistency
>> in how both users see each other, perhaps that unavailable presence
>> should be sent to that resource, and directed presence cleared (i.e.,
>> broadcasts should take directed presence into account while
>> determining resource availability).
>>
>> This may be too major a change at this point (it changes the
>> definition of AVAILABLE RESOURCE to take directed presence into
>> account).
>
> The concept of an available resource governs server handling of presence
> (and other) stanzas sent to the user's bare JID. Even if the resource
> has not yet sent initial presence to the server (i.e., it's a connected
> resource but not an available resource), it is the server's
> responsibility to deliver stanzas that are addressed to the full JID of
> that resource. Is that not sufficiently clear? Section 10.5.3.3 of
> 3920bis states:
>
> =A0 If the JID contained in the 'to' attribute is of the form
> =A0 <localpart@domainpart/resource> and there is a connected resource
> =A0 that exactly matches the full JID, the server SHOULD deliver the
> =A0 stanza to that connected resource.
>
> Looking at that text afresh, I realize that it would be best to change
> SHOULD to MUST -- after all, it's a core requirement of an XMPP server
> to deliver stanzas. :) A client doesn't need to send presence to its
> server (3921bis stuff) in order to send and receive stanzas.
>
> Peter
>
> --
> Peter Saint-Andre
> https://stpeter.im/
>
>
>

Well, everything looks good :)

--
Waqas Hussain

From stpeter@stpeter.im  Wed Oct  6 13:05:23 2010
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 AA38A3A71DC for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 13:05:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.551
X-Spam-Level: 
X-Spam-Status: No, score=-102.551 tagged_above=-999 required=5 tests=[AWL=0.048, 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 M-0FTIplkDTr for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 13:05:22 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id EAECC3A7097 for <xmpp@ietf.org>; Wed,  6 Oct 2010 13:05:09 -0700 (PDT)
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 520CD40074; Wed,  6 Oct 2010 14:12:21 -0600 (MDT)
Message-ID: <4CACD6B1.9070709@stpeter.im>
Date: Wed, 06 Oct 2010 14:06:09 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
References: <4CA9938D.7070709@ericsson.com>
In-Reply-To: <4CA9938D.7070709@ericsson.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Advancing the XMPP trilogy: current status
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: Wed, 06 Oct 2010 20:05:23 -0000

On 10/4/10 2:42 AM, Gonzalo Camarillo wrote:
> Hi,
> 
> I am going to advance the XMPP trilogy in parallel. As you all know, the
> three drafts are the following:
> 
> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/
> https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/
> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/
> 
> As soon as the editor addresses my AD review comments on the first two
> and the chairs provide me with the PROTO writeup for the third one, I
> will IETF Last Call them.

AD review comments (and late WGLC feedback) have been addressed in the
revised I-Ds I've just submitted.

Peter

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



From root@core3.amsl.com  Wed Oct  6 13:15:04 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: xmpp@ietf.org
Delivered-To: xmpp@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 945FB3A720A; Wed,  6 Oct 2010 13:15:01 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20101006201502.945FB3A720A@core3.amsl.com>
Date: Wed,  6 Oct 2010 13:15:01 -0700 (PDT)
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-3920bis-17.txt
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: Wed, 06 Oct 2010 20:15:04 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Extensible Messaging and Presence Protocol Working Group of the IETF.


	Title           : Extensible Messaging and Presence Protocol (XMPP): Core
	Author(s)       : P. Saint-Andre
	Filename        : draft-ietf-xmpp-3920bis-17.txt
	Pages           : 187
	Date            : 2010-10-06

The Extensible Messaging and Presence Protocol (XMPP) is an
application profile of the Extensible Markup Language (XML) that
enables the near-real-time exchange of structured yet extensible data
between any two or more network entities.  This document defines
XMPP's core protocol methods: setup and teardown of XML streams,
channel encryption, authentication, error handling, and communication
primitives for messaging, network availability ("presence"), and
request-response interactions.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-xmpp-3920bis-17.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-xmpp-3920bis-17.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-10-06130326.I-D@ietf.org>


--NextPart--

From root@core3.amsl.com  Wed Oct  6 13:15:06 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: xmpp@ietf.org
Delivered-To: xmpp@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id CCB943A6FF3; Wed,  6 Oct 2010 13:15:03 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20101006201504.CCB943A6FF3@core3.amsl.com>
Date: Wed,  6 Oct 2010 13:15:03 -0700 (PDT)
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-address-05.txt
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: Wed, 06 Oct 2010 20:15:08 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Extensible Messaging and Presence Protocol Working Group of the IETF.


	Title           : Extensible Messaging and Presence Protocol (XMPP): Address Format
	Author(s)       : P. Saint-Andre
	Filename        : draft-ietf-xmpp-address-05.txt
	Pages           : 20
	Date            : 2010-10-06

This document defines the format for addresses used in the Extensible
Messaging and Presence Protocol (XMPP), including support for non-
ASCII characters.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-xmpp-address-05.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-xmpp-address-05.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-10-06130330.I-D@ietf.org>


--NextPart--

From root@core3.amsl.com  Wed Oct  6 13:15:11 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: xmpp@ietf.org
Delivered-To: xmpp@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id C56163A71CC; Wed,  6 Oct 2010 13:15:05 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20101006201508.C56163A71CC@core3.amsl.com>
Date: Wed,  6 Oct 2010 13:15:06 -0700 (PDT)
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-3921bis-15.txt
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: Wed, 06 Oct 2010 20:15:13 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Extensible Messaging and Presence Protocol Working Group of the IETF.


	Title           : Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence
	Author(s)       : P. Saint-Andre
	Filename        : draft-ietf-xmpp-3921bis-15.txt
	Pages           : 122
	Date            : 2010-10-06

This document defines extensions to core features of the Extensible
Messaging and Presence Protocol (XMPP) that provide basic instant
messaging (IM) and presence functionality in conformance with the
requirements in RFC 2779.  This document obsoletes RFC 3921.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-xmpp-3921bis-15.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-xmpp-3921bis-15.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-10-06130333.I-D@ietf.org>


--NextPart--

From stpeter@stpeter.im  Wed Oct  6 13:21:44 2010
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 6FC523A7117 for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 13:21:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.551
X-Spam-Level: 
X-Spam-Status: No, score=-102.551 tagged_above=-999 required=5 tests=[AWL=0.048, 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 7TV1yUggN00N for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 13:21:42 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 35F8D3A7004 for <xmpp@ietf.org>; Wed,  6 Oct 2010 13:21:42 -0700 (PDT)
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 D6A9040074; Wed,  6 Oct 2010 14:28:53 -0600 (MDT)
Message-ID: <4CACDA91.3060907@stpeter.im>
Date: Wed, 06 Oct 2010 14:22:41 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
References: <4CA9938D.7070709@ericsson.com> <4CACD6B1.9070709@stpeter.im>
In-Reply-To: <4CACD6B1.9070709@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Advancing the XMPP trilogy: current status
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: Wed, 06 Oct 2010 20:21:44 -0000

On 10/6/10 2:06 PM, Peter Saint-Andre wrote:
> On 10/4/10 2:42 AM, Gonzalo Camarillo wrote:
>> Hi,
>>
>> I am going to advance the XMPP trilogy in parallel. As you all know, the
>> three drafts are the following:
>>
>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/
>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/
>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/
>>
>> As soon as the editor addresses my AD review comments on the first two
>> and the chairs provide me with the PROTO writeup for the third one, I
>> will IETF Last Call them.
> 
> AD review comments (and late WGLC feedback) have been addressed in the
> revised I-Ds I've just submitted.

Oh, and diffs are here:

http://tools.ietf.org/rfcdiff?url2=draft-ietf-xmpp-3920bis-17
http://tools.ietf.org/rfcdiff?url2=draft-ietf-xmpp-address-05
http://tools.ietf.org/rfcdiff?url2=draft-ietf-xmpp-3921bis-15

Peter

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



From gonzalo.camarillo@ericsson.com  Wed Oct  6 23:50:14 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 4B8923A70E4 for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 23:50:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.432
X-Spam-Level: 
X-Spam-Status: No, score=-106.432 tagged_above=-999 required=5 tests=[AWL=0.167, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 A44zGSh3ilKd for <xmpp@core3.amsl.com>; Wed,  6 Oct 2010 23:50:13 -0700 (PDT)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id C8F843A6DFA for <xmpp@ietf.org>; Wed,  6 Oct 2010 23:50:12 -0700 (PDT)
X-AuditID: c1b4fb3d-b7cbfae00000264e-c3-4cad6de14c6d
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id AA.9C.09806.1ED6DAC4; Thu,  7 Oct 2010 08:51:14 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Oct 2010 08:51:14 +0200
Received: from [131.160.126.209] ([131.160.126.209]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Oct 2010 08:51:13 +0200
Message-ID: <4CAD6DE0.4020804@ericsson.com>
Date: Thu, 07 Oct 2010 09:51:12 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CA9938D.7070709@ericsson.com> <4CACD6B1.9070709@stpeter.im>
In-Reply-To: <4CACD6B1.9070709@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 07 Oct 2010 06:51:13.0490 (UTC) FILETIME=[083A0B20:01CB65EC]
X-Brightmail-Tracker: AAAAAA==
Cc: "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] Advancing the XMPP trilogy: current status
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: Thu, 07 Oct 2010 06:50:14 -0000

Hi Peter,

thanks for putting the new revision together. The next step is for me to
start their IETF LC. I will do that as soon as I have a minute.

Cheers,

Gonzalo

On 06/10/2010 11:06 PM, Peter Saint-Andre wrote:
> On 10/4/10 2:42 AM, Gonzalo Camarillo wrote:
>> Hi,
>>
>> I am going to advance the XMPP trilogy in parallel. As you all know, the
>> three drafts are the following:
>>
>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/
>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/
>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/
>>
>> As soon as the editor addresses my AD review comments on the first two
>> and the chairs provide me with the PROTO writeup for the third one, I
>> will IETF Last Call them.
> 
> AD review comments (and late WGLC feedback) have been addressed in the
> revised I-Ds I've just submitted.
> 
> Peter
> 


From gonzalo.camarillo@ericsson.com  Thu Oct  7 00:38:54 2010
Return-Path: <gonzalo.camarillo@ericsson.com>
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 90B053A6EF2 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 00:38:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.437
X-Spam-Level: 
X-Spam-Status: No, score=-106.437 tagged_above=-999 required=5 tests=[AWL=0.162, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, 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 tBxGjuRWni64 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 00:38:53 -0700 (PDT)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id 3BBE83A6E0A for <xmpp@ietf.org>; Thu,  7 Oct 2010 00:38:52 -0700 (PDT)
X-AuditID: c1b4fb3d-b7cbfae00000264e-19-4cad794a6e72
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 77.24.09806.A497DAC4; Thu,  7 Oct 2010 09:39:54 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Oct 2010 09:39:53 +0200
Received: from [131.160.126.209] ([131.160.126.209]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959);  Thu, 7 Oct 2010 09:39:53 +0200
Message-ID: <4CAD7949.9080200@ericsson.com>
Date: Thu, 07 Oct 2010 10:39:53 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CA9938D.7070709@ericsson.com> <4CACD6B1.9070709@stpeter.im> <4CAD6DE0.4020804@ericsson.com>
In-Reply-To: <4CAD6DE0.4020804@ericsson.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 07 Oct 2010 07:39:53.0784 (UTC) FILETIME=[D4DB8B80:01CB65F2]
X-Brightmail-Tracker: AAAAAA==
Cc: "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] Advancing the XMPP trilogy: current status
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: Thu, 07 Oct 2010 07:38:54 -0000

Hi,

I have just requested the three IETF LCs. They will start as soon as the
secretary gets to them.

By the way, next time you revise 3920bis check the ID nits and get rid
of the unused reference.

Cheers,

Gonzalo

On 07/10/2010 9:51 AM, Gonzalo Camarillo wrote:
> Hi Peter,
> 
> thanks for putting the new revision together. The next step is for me to
> start their IETF LC. I will do that as soon as I have a minute.
> 
> Cheers,
> 
> Gonzalo
> 
> On 06/10/2010 11:06 PM, Peter Saint-Andre wrote:
>> On 10/4/10 2:42 AM, Gonzalo Camarillo wrote:
>>> Hi,
>>>
>>> I am going to advance the XMPP trilogy in parallel. As you all know, the
>>> three drafts are the following:
>>>
>>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/
>>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/
>>> https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/
>>>
>>> As soon as the editor addresses my AD review comments on the first two
>>> and the chairs provide me with the PROTO writeup for the third one, I
>>> will IETF Last Call them.
>>
>> AD review comments (and late WGLC feedback) have been addressed in the
>> revised I-Ds I've just submitted.
>>
>> Peter
>>
> 
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp
> 


From holler@ahsoftware.de  Thu Oct  7 04:36:59 2010
Return-Path: <holler@ahsoftware.de>
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 20FE23A6F08 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 04:36:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.19
X-Spam-Level: 
X-Spam-Status: No, score=-0.19 tagged_above=-999 required=5 tests=[AWL=-0.300,  BAYES_00=-2.599, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_66=0.6]
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 Vwcs8VqyMOkr for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 04:36:58 -0700 (PDT)
Received: from mail.ahsoftware.de (h1047321.serverkompetenz.net [85.214.67.163]) by core3.amsl.com (Postfix) with ESMTP id 322C23A70FE for <xmpp@ietf.org>; Thu,  7 Oct 2010 04:36:58 -0700 (PDT)
Received: by mail.ahsoftware.de (Postfix, from userid 65534) id F2565598073; Thu,  7 Oct 2010 13:37:58 +0200 (CEST)
Received: from eiche.ahsoftware (p57B21492.dip0.t-ipconnect.de [87.178.20.146]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTP id E371759806E for <xmpp@ietf.org>; Thu,  7 Oct 2010 13:37:55 +0200 (CEST)
Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (Postfix) with ESMTP id 65ED63FCEF for <xmpp@ietf.org>; Thu,  7 Oct 2010 13:37:53 +0200 (CEST)
Message-ID: <4CADB110.3000200@ahsoftware.de>
Date: Thu, 07 Oct 2010 13:37:52 +0200
From: Alexander Holler <holler@ahsoftware.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [xmpp] 3921bis and client/server namespace transition
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: Thu, 07 Oct 2010 11:36:59 -0000

Hello,

in April there was a discussion about client/server namespace 
transitions in the mailing list xmpp-standards. While reading that 
discussion I was sure I had read something somewhere in one of the RFCs 
which is conflict with that (and explains why some servers might send 
stanzas with jabber:client namespace over a S2S-stream). Because I've 
just stumpled again over that, I thought I might suggest a change.

In many sections in 3921bis we can read something like:

"If the unavailable notification was gracefully received from the 
client, then the server MUST broadcast the full XML of the presence stanza."

(Just search for "full XML")

Maybe all occurences of "full XML" should be changed to "full XML 
without namespace". That would use the default namespace on every stream 
and one of the unnecessary occurences of the attribute xmlns would be 
removed.

Regards,

Alexander

From stpeter@stpeter.im  Thu Oct  7 05:03:48 2010
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 D130C3A6F20 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 05:03:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.536
X-Spam-Level: 
X-Spam-Status: No, score=-102.536 tagged_above=-999 required=5 tests=[AWL=0.063, 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 kufDZea7zLm3 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 05:03:45 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2CE773A6CAA for <xmpp@ietf.org>; Thu,  7 Oct 2010 05:03:45 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 85DD4400EE; Thu,  7 Oct 2010 06:11:01 -0600 (MDT)
Message-ID: <4CADB75D.9000509@stpeter.im>
Date: Thu, 07 Oct 2010 06:04:45 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
References: <4CA9938D.7070709@ericsson.com> <4CACD6B1.9070709@stpeter.im> <4CAD6DE0.4020804@ericsson.com> <4CAD7949.9080200@ericsson.com>
In-Reply-To: <4CAD7949.9080200@ericsson.com>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] Advancing the XMPP trilogy: current status
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: Thu, 07 Oct 2010 12:03:48 -0000

On 10/7/10 1:39 AM, Gonzalo Camarillo wrote:
> Hi,
> 
> I have just requested the three IETF LCs. They will start as soon as the
> secretary gets to them.

Thanks!

> By the way, next time you revise 3920bis check the ID nits and get rid
> of the unused reference.

Yeah I noticed that after I submitted. :(

Peter

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



From stpeter@stpeter.im  Thu Oct  7 05:15:24 2010
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 EAA823A7117 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 05:15:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.239
X-Spam-Level: 
X-Spam-Status: No, score=-102.239 tagged_above=-999 required=5 tests=[AWL=-0.240, BAYES_00=-2.599, J_CHICKENPOX_66=0.6, 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 QwPe5Wf4Tyfs for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 05:15:22 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id ED2653A70FC for <xmpp@ietf.org>; Thu,  7 Oct 2010 05:15:21 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id BFE8E400EE; Thu,  7 Oct 2010 06:22:38 -0600 (MDT)
Message-ID: <4CADBA17.2080802@stpeter.im>
Date: Thu, 07 Oct 2010 06:16:23 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Alexander Holler <holler@ahsoftware.de>
References: <4CADB110.3000200@ahsoftware.de>
In-Reply-To: <4CADB110.3000200@ahsoftware.de>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and client/server namespace transition
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: Thu, 07 Oct 2010 12:15:24 -0000

On 10/7/10 5:37 AM, Alexander Holler wrote:
> Hello,
> 
> in April there was a discussion about client/server namespace
> transitions in the mailing list xmpp-standards. While reading that
> discussion I was sure I had read something somewhere in one of the RFCs
> which is conflict with that (and explains why some servers might send
> stanzas with jabber:client namespace over a S2S-stream). 

Such servers behave incorrectly.

> Because I've
> just stumpled again over that, I thought I might suggest a change.
> 
> In many sections in 3921bis we can read something like:
> 
> "If the unavailable notification was gracefully received from the
> client, then the server MUST broadcast the full XML of the presence
> stanza."
> 
> (Just search for "full XML")
> 
> Maybe all occurences of "full XML" should be changed to "full XML
> without namespace". That would use the default namespace on every stream
> and one of the unnecessary occurences of the attribute xmlns would be
> removed.

Translation between "jabber:client" and "jabber:server" is a matter for
3920bis and is discussed there. XMPP consists of a protocol stack and we
assume that developers who are implementing things higher in the stack
have read the specs that define things lower in the stack. IMHO there is
no need to repeat rules from 3920bis in 3921bis. However, we could add a
note at the first occurrence to the effect that "of course, the server
will still need to transform the 'jabber:client' namespace to
'jabber:server' if it broadcasts the stanza over a server-to-server
stream, as you already know from your reading of [rfc3920bis], right?"

:)

But naturally this also applies to presence subscription stanzas,
messages, and everything else, so why repeat it in 3921bis only for
presence notifications?

Peter

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



From holler@ahsoftware.de  Thu Oct  7 05:42:27 2010
Return-Path: <holler@ahsoftware.de>
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 4F7BD3A6F3C for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 05:42:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.14
X-Spam-Level: 
X-Spam-Status: No, score=-0.14 tagged_above=-999 required=5 tests=[AWL=-0.250,  BAYES_00=-2.599, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, HOST_MISMATCH_NET=0.311, J_CHICKENPOX_52=0.6]
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 jUqz8GWaU55S for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 05:42:25 -0700 (PDT)
Received: from mail.ahsoftware.de (h1047321.serverkompetenz.net [85.214.67.163]) by core3.amsl.com (Postfix) with ESMTP id 72F093A6F1B for <xmpp@ietf.org>; Thu,  7 Oct 2010 05:42:24 -0700 (PDT)
Received: by mail.ahsoftware.de (Postfix, from userid 65534) id 67A4A598073; Thu,  7 Oct 2010 14:43:25 +0200 (CEST)
Received: from eiche.ahsoftware (p57B21492.dip0.t-ipconnect.de [87.178.20.146]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTP id 46BA559806E; Thu,  7 Oct 2010 14:43:22 +0200 (CEST)
Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (Postfix) with ESMTP id 646D1400DF; Thu,  7 Oct 2010 14:43:19 +0200 (CEST)
Message-ID: <4CADC067.4000906@ahsoftware.de>
Date: Thu, 07 Oct 2010 14:43:19 +0200
From: Alexander Holler <holler@ahsoftware.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CADB110.3000200@ahsoftware.de> <4CADBA17.2080802@stpeter.im>
In-Reply-To: <4CADBA17.2080802@stpeter.im>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and client/server namespace transition
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: Thu, 07 Oct 2010 12:42:27 -0000

Am 07.10.2010 14:16, schrieb Peter Saint-Andre:
> On 10/7/10 5:37 AM, Alexander Holler wrote:

>> In many sections in 3921bis we can read something like:
>>
>> "If the unavailable notification was gracefully received from the
>> client, then the server MUST broadcast the full XML of the presence
>> stanza."
>>
>> (Just search for "full XML")
>>
>> Maybe all occurences of "full XML" should be changed to "full XML
>> without namespace". That would use the default namespace on every stream
>> and one of the unnecessary occurences of the attribute xmlns would be
>> removed.
>
> Translation between "jabber:client" and "jabber:server" is a matter for
> 3920bis and is discussed there. XMPP consists of a protocol stack and we
> assume that developers who are implementing things higher in the stack
> have read the specs that define things lower in the stack. IMHO there is
> no need to repeat rules from 3920bis in 3921bis. However, we could add a
> note at the first occurrence to the effect that "of course, the server
> will still need to transform the 'jabber:client' namespace to
> 'jabber:server' if it broadcasts the stanza over a server-to-server
> stream, as you already know from your reading of [rfc3920bis], right?"
>
> :)
>
> But naturally this also applies to presence subscription stanzas,
> messages, and everything else, so why repeat it in 3921bis only for
> presence notifications?

I would prefer to clarify the (possible) conflict of the wording "full 
XML" in 3921bis with the above layer (3920), at least at the first 
occurenc of "full XML". Because I'm no native english speaker, I'm not 
very helpfull in searching another phrase, but for me "full XML" implies 
including the namespace (because of that "full").

If it would be clear to every reader the discussion (or warning) in 
xmpp-standards would'nt have been necessary.

Cross reading complicated standards like XMPP is hard enough, and such 
things like that (imho wrong) "full" doesn't make it easier. I know what 
is meant (and I have read 3921bis ;) ), but from an implementers point 
of view, this are things which may lead to errors in implementations and 
should, if possible, be avoided.

Regards,

Alexander

From stpeter@stpeter.im  Thu Oct  7 06:47:27 2010
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 A37613A702C for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 06:47:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.234
X-Spam-Level: 
X-Spam-Status: No, score=-102.234 tagged_above=-999 required=5 tests=[AWL=-0.235, BAYES_00=-2.599, J_CHICKENPOX_52=0.6, 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 6LBURpUpbjRu for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 06:47:26 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id DA0023A6F33 for <xmpp@ietf.org>; Thu,  7 Oct 2010 06:47:23 -0700 (PDT)
Received: from squire.local (dsl-251-87.dynamic-dsl.frii.net [216.17.251.87]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B131C400EE; Thu,  7 Oct 2010 07:54:40 -0600 (MDT)
Message-ID: <4CADCFA8.5020305@stpeter.im>
Date: Thu, 07 Oct 2010 07:48:24 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Alexander Holler <holler@ahsoftware.de>
References: <4CADB110.3000200@ahsoftware.de> <4CADBA17.2080802@stpeter.im> <4CADC067.4000906@ahsoftware.de>
In-Reply-To: <4CADC067.4000906@ahsoftware.de>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and client/server namespace transition
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: Thu, 07 Oct 2010 13:47:27 -0000

On 10/7/10 6:43 AM, Alexander Holler wrote:
> Am 07.10.2010 14:16, schrieb Peter Saint-Andre:
>> On 10/7/10 5:37 AM, Alexander Holler wrote:
> 
>>> In many sections in 3921bis we can read something like:
>>>
>>> "If the unavailable notification was gracefully received from the
>>> client, then the server MUST broadcast the full XML of the presence
>>> stanza."
>>>
>>> (Just search for "full XML")
>>>
>>> Maybe all occurences of "full XML" should be changed to "full XML
>>> without namespace". That would use the default namespace on every stream
>>> and one of the unnecessary occurences of the attribute xmlns would be
>>> removed.
>>
>> Translation between "jabber:client" and "jabber:server" is a matter for
>> 3920bis and is discussed there. XMPP consists of a protocol stack and we
>> assume that developers who are implementing things higher in the stack
>> have read the specs that define things lower in the stack. IMHO there is
>> no need to repeat rules from 3920bis in 3921bis. However, we could add a
>> note at the first occurrence to the effect that "of course, the server
>> will still need to transform the 'jabber:client' namespace to
>> 'jabber:server' if it broadcasts the stanza over a server-to-server
>> stream, as you already know from your reading of [rfc3920bis], right?"
>>
>> :)
>>
>> But naturally this also applies to presence subscription stanzas,
>> messages, and everything else, so why repeat it in 3921bis only for
>> presence notifications?
> 
> I would prefer to clarify the (possible) conflict of the wording "full
> XML" in 3921bis with the above layer (3920), at least at the first
> occurenc of "full XML". Because I'm no native english speaker, I'm not
> very helpfull in searching another phrase, but for me "full XML" implies
> including the namespace (because of that "full").
> 
> If it would be clear to every reader the discussion (or warning) in
> xmpp-standards would'nt have been necessary.
> 
> Cross reading complicated standards like XMPP is hard enough, and such
> things like that (imho wrong) "full" doesn't make it easier. I know what
> is meant (and I have read 3921bis ;) ), but from an implementers point
> of view, this are things which may lead to errors in implementations and
> should, if possible, be avoided.

How's this?

      Implementation Note: By "full XML" is meant the complete stanza
      from the opening <presence> tag to the closing </presence> tag,
      including all elements and attributes whether qualified by the
      content namespace or extended namespaces; however, in accordance
      with the rules defined in [XMPP-CORE], the contact's server will
      of course need to modify the content namespace from 'jabber:
      client' to 'jabber:server' if it sends the complete stanza over a
      server-to-server stream.

/psa



From iesg-secretary@ietf.org  Thu Oct  7 08:00:10 2010
Return-Path: <iesg-secretary@ietf.org>
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 EA8863A6F88; Thu,  7 Oct 2010 08:00:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 EAepQUBxqMhJ; Thu,  7 Oct 2010 08:00:09 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 141993A6F96; Thu,  7 Oct 2010 08:00:09 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
X-Test-IDTracker: no
Message-ID: <20101007150009.11182.13606.idtracker@localhost>
Date: Thu, 07 Oct 2010 08:00:09 -0700
Cc: xmpp@ietf.org
Subject: [xmpp] Last Call: <draft-ietf-xmpp-3920bis-17.txt> (Extensible Messaging and	Presence Protocol (XMPP): Core) to Proposed Standard
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: Thu, 07 Oct 2010 15:00:10 -0000

The IESG has received a request from the Extensible Messaging and
Presence Protocol WG (xmpp) to consider the following document:
- 'Extensible Messaging and Presence Protocol (XMPP): Core'
  <draft-ietf-xmpp-3920bis-17.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2010-10-21. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

In particular, this document contains a normative reference to a document of
lower maturity level:

RFC 3447: Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography 
Specifications Version 2.1

The IESG is interested in community feedback on whether this
downward reference is appropriate.

The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-xmpp-3920bis/


No IPR declarations were found that appear related to this I-D.

From iesg-secretary@ietf.org  Thu Oct  7 08:02:06 2010
Return-Path: <iesg-secretary@ietf.org>
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 1D2D43A7253; Thu,  7 Oct 2010 08:02:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 Vx6kg7BN2Msu; Thu,  7 Oct 2010 08:02:05 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 424B93A6F6C; Thu,  7 Oct 2010 08:02:05 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
X-Test-IDTracker: no
Message-ID: <20101007150205.11104.17966.idtracker@localhost>
Date: Thu, 07 Oct 2010 08:02:05 -0700
Cc: xmpp@ietf.org
Subject: [xmpp] Last Call: <draft-ietf-xmpp-3921bis-15.txt> (Extensible Messaging and	Presence Protocol (XMPP): Instant Messaging and Presence) to	Proposed Standard
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: Thu, 07 Oct 2010 15:02:06 -0000

The IESG has received a request from the Extensible Messaging and
Presence Protocol WG (xmpp) to consider the following document:
- 'Extensible Messaging and Presence Protocol (XMPP): Instant Messaging
   and Presence'
  <draft-ietf-xmpp-3921bis-15.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2010-10-21. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-xmpp-3921bis/


No IPR declarations were found that appear related to this I-D.

From iesg-secretary@ietf.org  Thu Oct  7 08:03:28 2010
Return-Path: <iesg-secretary@ietf.org>
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 E54AB3A6FCC; Thu,  7 Oct 2010 08:03:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 kRrm3BZAauwW; Thu,  7 Oct 2010 08:03:28 -0700 (PDT)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E74E33A6F48; Thu,  7 Oct 2010 08:03:27 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
X-Test-IDTracker: no
Message-ID: <20101007150327.9457.67111.idtracker@localhost>
Date: Thu, 07 Oct 2010 08:03:27 -0700
Cc: xmpp@ietf.org
Subject: [xmpp] Last Call: <draft-ietf-xmpp-address-05.txt> (Extensible Messaging and	Presence Protocol (XMPP): Address Format) to Proposed Standard
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: Thu, 07 Oct 2010 15:03:29 -0000

The IESG has received a request from the Extensible Messaging and
Presence Protocol WG (xmpp) to consider the following document:
- 'Extensible Messaging and Presence Protocol (XMPP): Address Format'
  <draft-ietf-xmpp-address-05.txt> as a Proposed Standard

The IESG plans to make a decision in the next few weeks, and solicits
final comments on this action. Please send substantive comments to the
ietf@ietf.org mailing lists by 2010-10-21. Exceptionally, comments may be
sent to iesg@ietf.org instead. In either case, please retain the
beginning of the Subject line to allow automated sorting.

The file can be obtained via
https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/

IESG discussion can be tracked via
https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/


No IPR declarations were found that appear related to this I-D.

From holler@ahsoftware.de  Thu Oct  7 09:08:34 2010
Return-Path: <holler@ahsoftware.de>
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 F30363A6F48 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 09:08:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.404
X-Spam-Level: 
X-Spam-Status: No, score=-0.404 tagged_above=-999 required=5 tests=[AWL=0.086,  BAYES_00=-2.599, HELO_EQ_DE=0.35, HELO_MISMATCH_DE=1.448, HOST_MISMATCH_NET=0.311]
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 KfgeM-6nrYID for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 09:08:33 -0700 (PDT)
Received: from mail.ahsoftware.de (h1047321.serverkompetenz.net [85.214.67.163]) by core3.amsl.com (Postfix) with ESMTP id 13C123A6F29 for <xmpp@ietf.org>; Thu,  7 Oct 2010 09:08:33 -0700 (PDT)
Received: by mail.ahsoftware.de (Postfix, from userid 65534) id 57A14598073; Thu,  7 Oct 2010 18:09:34 +0200 (CEST)
Received: from eiche.ahsoftware (p57B21492.dip0.t-ipconnect.de [87.178.20.146]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.ahsoftware.de (Postfix) with ESMTP id 14F9759806E; Thu,  7 Oct 2010 18:09:29 +0200 (CEST)
Received: from krabat.ahsoftware (krabat.ahsoftware [192.168.207.2]) by eiche.ahsoftware (Postfix) with ESMTP id 3C2A53FC64; Thu,  7 Oct 2010 18:09:27 +0200 (CEST)
Message-ID: <4CADF0B6.2000302@ahsoftware.de>
Date: Thu, 07 Oct 2010 18:09:26 +0200
From: Alexander Holler <holler@ahsoftware.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CADB110.3000200@ahsoftware.de> <4CADBA17.2080802@stpeter.im> <4CADC067.4000906@ahsoftware.de> <4CADCFA8.5020305@stpeter.im>
In-Reply-To: <4CADCFA8.5020305@stpeter.im>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and client/server namespace transition
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: Thu, 07 Oct 2010 16:08:34 -0000

Am 07.10.2010 15:48, schrieb Peter Saint-Andre:
>
> How's this?
>
>        Implementation Note: By "full XML" is meant the complete stanza
>        from the opening<presence>  tag to the closing</presence>  tag,
>        including all elements and attributes whether qualified by the
>        content namespace or extended namespaces; however, in accordance
>        with the rules defined in [XMPP-CORE], the contact's server will
>        of course need to modify the content namespace from 'jabber:
>        client' to 'jabber:server' if it sends the complete stanza over a
>        server-to-server stream.
>
> /psa

That would be a nice note. Thanks a lot. ;)

Regards,

Alexander

From stpeter@stpeter.im  Thu Oct  7 09:10:22 2010
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 2DB103A6F29 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 09:10:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.551
X-Spam-Level: 
X-Spam-Status: No, score=-102.551 tagged_above=-999 required=5 tests=[AWL=0.048, 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 SozEB5ps84d0 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 09:10:20 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 7FA493A6E6D for <xmpp@ietf.org>; Thu,  7 Oct 2010 09:10:20 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5EBD440337; Thu,  7 Oct 2010 10:17:38 -0600 (MDT)
Message-ID: <4CADF12A.2030507@stpeter.im>
Date: Thu, 07 Oct 2010 10:11:22 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Alexander Holler <holler@ahsoftware.de>
References: <4CADB110.3000200@ahsoftware.de> <4CADBA17.2080802@stpeter.im> <4CADC067.4000906@ahsoftware.de> <4CADCFA8.5020305@stpeter.im> <4CADF0B6.2000302@ahsoftware.de>
In-Reply-To: <4CADF0B6.2000302@ahsoftware.de>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 3921bis and client/server namespace transition
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: Thu, 07 Oct 2010 16:10:22 -0000

On 10/7/10 10:09 AM, Alexander Holler wrote:
> Am 07.10.2010 15:48, schrieb Peter Saint-Andre:
>>
>> How's this?
>>
>>        Implementation Note: By "full XML" is meant the complete stanza
>>        from the opening<presence>  tag to the closing</presence>  tag,
>>        including all elements and attributes whether qualified by the
>>        content namespace or extended namespaces; however, in accordance
>>        with the rules defined in [XMPP-CORE], the contact's server will
>>        of course need to modify the content namespace from 'jabber:
>>        client' to 'jabber:server' if it sends the complete stanza over a
>>        server-to-server stream.
>>
>> /psa
> 
> That would be a nice note. Thanks a lot. ;)

Consider it done (with some words removed to make it more succinct).

Peter

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



From stpeter@stpeter.im  Thu Oct  7 15:06:38 2010
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 8F1413A6E2C for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 15:06:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.556
X-Spam-Level: 
X-Spam-Status: No, score=-102.556 tagged_above=-999 required=5 tests=[AWL=0.043, 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 RQldT1fQLUJ9 for <xmpp@core3.amsl.com>; Thu,  7 Oct 2010 15:06:37 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 37A693A6E30 for <xmpp@ietf.org>; Thu,  7 Oct 2010 15:06:37 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 63DDF403DF for <xmpp@ietf.org>; Thu,  7 Oct 2010 16:13:57 -0600 (MDT)
Message-ID: <4CAE44AB.6060602@stpeter.im>
Date: Thu, 07 Oct 2010 16:07:39 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: [xmpp] next steps
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: Thu, 07 Oct 2010 22:06:38 -0000

Because some folks on this list are new to IETF process, I figured I'd
provide a brief description of where we go from here.

1. Gonzalo Camarillo, the responsible Area Director, has issued an IETF
Last Call on our three main documents. Because these I-Ds are the
product of an IETF Working Group, the IETF Last Call will last two
weeks. This is essentially your last opportunity to provide feedback!

2. During IETF Last Call, the documents will be reviewed by several
cross-area teams within the IETF, including the "GEN-ART" review team
and the Security Directorate. We'll expect at least some feedback from
those teams. And at this stage anyone in the Internet community can
provide feedback as well.

3. After IETF Last Call, your friendly document editor will work as fast
as possible to address any feedback we've received.

4. The documents will then be scheduled for disussion during an IESG
telechat. There are upcoming telechats on October 28, November 18,
December 2, and December 16. Before the telechat, all the members of the
Internet Engineering Steering Group will review the specs and also
provide feedback (well, except for me, because I'll recuse myself). If
there are "DISCUSSES" and "COMMENTS" lodged then your document editor
will need to address those, as well.

5. Assuming the documents are approved by the IESG, they will then be
handed off to the RFC Editor team for final copy editing, proofreading,
reference checking, etc. In particular, the documents will not be
published as RFCs until all normative references have also advanced;
this includes especially draft-saintandre-tls-server-id-check, which is
on a parallel track to consideration by the IESG (I'm working to push
out a revised version of that one in the next few days).

As you can see, because there are still many steps left in the process,
it might be a few months before these "bis" drafts are published as
RFCs. That gives you all plenty of time to bring your implementations
into conformance. ;-)

Just so you know!

Peter

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



From stpeter@stpeter.im  Tue Oct 12 06:30:44 2010
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 D87F03A696C for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 06:30:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.537
X-Spam-Level: 
X-Spam-Status: No, score=-102.537 tagged_above=-999 required=5 tests=[AWL=0.062, 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 RsXYmw+Xbiwn for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 06:30:40 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 1824A3A6988 for <xmpp@ietf.org>; Tue, 12 Oct 2010 06:30:32 -0700 (PDT)
Received: from squire.local (dsl-140-58.dynamic-dsl.frii.net [216.17.140.58]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 86F3840337 for <xmpp@ietf.org>; Tue, 12 Oct 2010 07:38:28 -0600 (MDT)
Message-ID: <4CB46341.4030309@stpeter.im>
Date: Tue, 12 Oct 2010 07:31:45 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: [xmpp] service name(s) and SRVName in certs
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: Tue, 12 Oct 2010 13:30:45 -0000

RFC 3920 registered two ports, 5222 and 5269, for the services
xmpp-client and xmpp-server. As previously discussed on this list, in
RFC 3920 we did not explicitly register those service names (only the
ports), but we could do that now according to the procedures defined here:

https://datatracker.ietf.org/doc/draft-ietf-tsvwg-iana-ports/

The service names are re-used for purposes of certificate issuance and
validation as defined in RFC 4985. Therefore a certificate to be used at
an XMPP service that offers both c2s and s2s connections would include
*two* SRVNames:

_xmpp-client.example.com
_xmpp-server.example.com

Is that confusing for CAs, service providers, and client developers?
Would it be easier (from the certificate perspective) to register a new
service name of "xmpp", so that we would have only one SRVName form?

_xmpp.example.com

Naturally, that in itself might be confusing, because I could see people
adding _xmpp._tcp.example.com to their DNS SRV records. Ouch!

Therefore, I think it is better to *not* register the plain "xmpp"
service name.

However, I will follow up with the IANA regarding updated registration
of the xmpp-client and xmpp-server names.

Finally, I think we need to clarify in 3920bis that a certificate would
include two SRV-IDs, one for xmpp-client and one for xmpp-server. The
right place seems to be Section 13.7.1.2.1 (the examples in Section
13.7.1.2.2 are correct, but I think we need to add a few words about
this in Section 13.7.1.2.1, too).

Peter

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



From rbarnes@bbn.com  Tue Oct 12 06:41:20 2010
Return-Path: <rbarnes@bbn.com>
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 32B353A6981 for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 06:41:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.388
X-Spam-Level: 
X-Spam-Status: No, score=-102.388 tagged_above=-999 required=5 tests=[AWL=0.211, 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 aUX-oArtVya7 for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 06:41:18 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by core3.amsl.com (Postfix) with ESMTP id 81A9C3A6916 for <xmpp@ietf.org>; Tue, 12 Oct 2010 06:38:54 -0700 (PDT)
Received: from [192.1.255.215] (port=59494 helo=col-dhcp-192-1-255-215.bbn.com) by smtp.bbn.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1P5f36-000Ahq-Ho; Tue, 12 Oct 2010 09:37:49 -0400
Message-Id: <4C1192F0-8957-4C29-9B90-495D6B7F86F1@bbn.com>
From: "Richard L. Barnes" <rbarnes@bbn.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CB46341.4030309@stpeter.im>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Tue, 12 Oct 2010 09:37:46 -0400
References: <4CB46341.4030309@stpeter.im>
X-Mailer: Apple Mail (2.936)
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] service name(s) and SRVName in certs
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: Tue, 12 Oct 2010 13:41:20 -0000

I agree that adding an _xmpp service seems unnecessary and confusing,  
much more so than having two SRVNames.  Certificates commonly have  
multiple names in them; SRVNames are just another type of name.

--Richard



On Oct 12, 2010, at 9:31 AM, Peter Saint-Andre wrote:

> RFC 3920 registered two ports, 5222 and 5269, for the services
> xmpp-client and xmpp-server. As previously discussed on this list, in
> RFC 3920 we did not explicitly register those service names (only the
> ports), but we could do that now according to the procedures defined  
> here:
>
> https://datatracker.ietf.org/doc/draft-ietf-tsvwg-iana-ports/
>
> The service names are re-used for purposes of certificate issuance and
> validation as defined in RFC 4985. Therefore a certificate to be  
> used at
> an XMPP service that offers both c2s and s2s connections would include
> *two* SRVNames:
>
> _xmpp-client.example.com
> _xmpp-server.example.com
>
> Is that confusing for CAs, service providers, and client developers?
> Would it be easier (from the certificate perspective) to register a  
> new
> service name of "xmpp", so that we would have only one SRVName form?
>
> _xmpp.example.com
>
> Naturally, that in itself might be confusing, because I could see  
> people
> adding _xmpp._tcp.example.com to their DNS SRV records. Ouch!
>
> Therefore, I think it is better to *not* register the plain "xmpp"
> service name.
>
> However, I will follow up with the IANA regarding updated registration
> of the xmpp-client and xmpp-server names.
>
> Finally, I think we need to clarify in 3920bis that a certificate  
> would
> include two SRV-IDs, one for xmpp-client and one for xmpp-server. The
> right place seems to be Section 13.7.1.2.1 (the examples in Section
> 13.7.1.2.2 are correct, but I think we need to add a few words about
> this in Section 13.7.1.2.1, too).
>
> Peter
>
> -- 
> Peter Saint-Andre
> https://stpeter.im/
>
>
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp


From stpeter@stpeter.im  Tue Oct 12 08:03:31 2010
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 9EDEC3A63EB for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 08:03:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.538
X-Spam-Level: 
X-Spam-Status: No, score=-102.538 tagged_above=-999 required=5 tests=[AWL=0.061, 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 GAwMVtcDyksE for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 08:03:30 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id CE4743A69BA for <xmpp@ietf.org>; Tue, 12 Oct 2010 08:03:30 -0700 (PDT)
Received: from squire.local (dsl-140-58.dynamic-dsl.frii.net [216.17.140.58]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5079F40337; Tue, 12 Oct 2010 09:11:27 -0600 (MDT)
Message-ID: <4CB4790B.9080509@stpeter.im>
Date: Tue, 12 Oct 2010 09:04:43 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Philipp Hancke <fippo@goodadvice.pages.de>
References: <20100924190002.2FA9A3A6A43@core3.amsl.com> <4C9CFC1C.6000302@goodadvice.pages.de> <4C9D037C.9000201@stpeter.im> <4CB3650D.2040906@goodadvice.pages.de>
In-Reply-To: <4CB3650D.2040906@goodadvice.pages.de>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] I-D Action:draft-ietf-xmpp-3920bis-16.txt
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: Tue, 12 Oct 2010 15:03:31 -0000

[cc'ing xmpp@ietf.org for full disclosure]

On 10/11/10 1:27 PM, Philipp Hancke wrote:
> Am 24.09.2010 22:01, schrieb Peter Saint-Andre:
>> On 9/24/10 1:29 PM, Philipp Hancke wrote:
>>> You might replace the handwaving in the implementation note in 4.3 with
>>> a reference if you get the XMPP Editor to assign a XEP number to the
>>> bidi thing.
>>
>> Good point, I'll do that once a XEP number is assigned.
> 
> The current text about that in -17 sounds... strange - mostly because of
> the out-of-scope stuff which imo is obsolete because we have the reference.
> 
> What about:
>       Implementation Note: For historical reasons, a server-to-server
>       session always uses two TCP connections. While that approach
>       remains the standard behaviour described in this document,
>       extensions such as [XEP-0288] allow servers to negotiate the use
>       of a single TCP connection for bidirectional stanza exchange.

Yes, that's better -- I've updated my working copy. Thanks for the
proposed text.

/psa



From stpeter@stpeter.im  Tue Oct 12 08:24:09 2010
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 70E223A69AC for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 08:24:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.539
X-Spam-Level: 
X-Spam-Status: No, score=-102.539 tagged_above=-999 required=5 tests=[AWL=0.060, 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 v0EfHF3gxT9l for <xmpp@core3.amsl.com>; Tue, 12 Oct 2010 08:24:08 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id E8CB93A699E for <xmpp@ietf.org>; Tue, 12 Oct 2010 08:24:07 -0700 (PDT)
Received: from squire.local (dsl-140-58.dynamic-dsl.frii.net [216.17.140.58]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 9F8B440337 for <xmpp@ietf.org>; Tue, 12 Oct 2010 09:32:04 -0600 (MDT)
Message-ID: <4CB47DE0.2020401@stpeter.im>
Date: Tue, 12 Oct 2010 09:25:20 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CB46341.4030309@stpeter.im>
In-Reply-To: <4CB46341.4030309@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] service name(s) and SRVName in certs
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: Tue, 12 Oct 2010 15:24:09 -0000

On 10/12/10 7:31 AM, Peter Saint-Andre wrote:

> However, I will follow up with the IANA regarding updated registration
> of the xmpp-client and xmpp-server names.

In my working copy I've updated Section 14.7 as follows...

###

14.7.  Port Numbers and Service Names

   The IANA has registered "xmpp-client" and "xmpp-server" as keywords
   for [TCP] ports 5222 and 5269 respectively.  In accordance with
   [IANA-PORTS], this document updates the existing registration, as
   follows.

   Service Name:  xmpp-client
   Transport Protocol:  TCP
   Description:  A service offering support for connections by XMPP
      client applications
   Registrant:  IETF XMPP Working Group
   Contact:  IESG, <iesg@ietf.org>
   Reference:  XXXX
   Port Number:  5222

   Service Name:  xmpp-server
   Transport Protocol:  TCP
   Description:  A service offering support for connections by XMPP
      server applications
   Registrant:  IETF XMPP Working Group
   Contact:  IESG, <iesg@ietf.org>
   Reference:  XXXX
   Port Number:  5269

###

> Finally, I think we need to clarify in 3920bis that a certificate would
> include two SRV-IDs, one for xmpp-client and one for xmpp-server. The
> right place seems to be Section 13.7.1.2.1 (the examples in Section
> 13.7.1.2.2 are correct, but I think we need to add a few words about
> this in Section 13.7.1.2.1, too).

In my working copy I've updated Section 13.7.1.2.1 as follows (note that
I broke out the text into bullets points to improve readability, and
also removed mention of the CN-ID identifier type because that is
covered by draft-saintandre-tls-server-id-check)...

###

13.7.1.2.1.  Rules

   In a digital certificate to be presented by an XMPP server (i.e., a
   SERVER CERTIFICATE), it is RECOMMENDED for the certificate to include
   one or more JIDs (i.e., domainparts) associated with domains serviced
   at the server.  The rules and guidelines defined in [TLS-CERTS] apply
   to XMPP server certificates, with the following supplemental rules
   for XMPP:

   o  Support for the DNS-ID identifier type [PKIX] is REQUIRED in XMPP
      client and server software implementations.  Certification
      authorities that issue XMPP-specific certificates MUST support the
      DNS-ID identifier type.  Service providers SHOULD include the
      DNS-ID identifier type in certificate requests.

   o  Support for the SRV-ID identifier type [PKIX-SRV] is REQUIRED for
      XMPP client and server software implementations (XMPP client
      implementations need to support only the "_xmpp-client" service
      type, whereas XMPP server implementations need to support both the
      "_xmpp-client" and "_xmpp-server" service types).  Certification
      authorities that issue XMPP-specific certificates SHOULD support
      the SRV-ID identifier type.  Service providers SHOULD include the
      SRV-ID identifier type in certificate requests.

   o  Support for the XmppAddr identifier type (specified under
      Section 13.7.1.4) is encouraged in XMPP client and server software
      implementations for the sake of backward-compatibility, but is no
      longer encouraged in certificates issued by certification
      authorities or requested by service providers.

###

/psa


From mrex@sap.com  Thu Oct  7 20:00:08 2010
Return-Path: <mrex@sap.com>
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 E06383A67D9; Thu,  7 Oct 2010 20:00:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.871
X-Spam-Level: 
X-Spam-Status: No, score=-9.871 tagged_above=-999 required=5 tests=[AWL=0.378,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
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 7fsFJhbgMu2t; Thu,  7 Oct 2010 20:00:04 -0700 (PDT)
Received: from smtpde02.sap-ag.de (smtpde02.sap-ag.de [155.56.68.140]) by core3.amsl.com (Postfix) with ESMTP id 6E4173A67B1; Thu,  7 Oct 2010 20:00:03 -0700 (PDT)
Received: from mail.sap.corp by smtpde02.sap-ag.de (26) with ESMTP id o98317rm024407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Oct 2010 05:01:07 +0200 (MEST)
From: Martin Rex <mrex@sap.com>
Message-Id: <201010080301.o983162x025990@fs4113.wdf.sap.corp>
To: iesg-secretary@ietf.org (The IESG)
Date: Fri, 8 Oct 2010 05:01:05 +0200 (MEST)
In-Reply-To: <20101007150009.11182.13606.idtracker@localhost> from "The IESG" at Oct 7, 10 08:00:09 am
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Scanner: Virus Scanner virwal05
X-SAP: out
X-Mailman-Approved-At: Tue, 12 Oct 2010 14:06:27 -0700
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-3920bis-17.txt> (Extensible Messaging and
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
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: Fri, 08 Oct 2010 03:00:09 -0000

The IESG wrote:
> 
> The IESG has received a request from the Extensible Messaging and
> Presence Protocol WG (xmpp) to consider the following document:
> - 'Extensible Messaging and Presence Protocol (XMPP): Core'
>   <draft-ietf-xmpp-3920bis-17.txt> as a Proposed Standard
> 
> In particular, this document contains a normative reference to a document of
> lower maturity level:
> 
> RFC 3447: Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography 
> Specifications Version 2.1


To me, it looks like this document is INFORMATIONAL, published in 2003,
and the Abstract of this document clearly states

http://tools.ietf.org/html/rfc3447#abstract

   This memo represents a republication of PKCS #1 v2.1 from RSA
   Laboratories' Public-Key Cryptography Standards (PKCS) series, and
   change control is retained within the PKCS process.  The body of this
   document is taken directly from the PKCS #1 v2.1 document, with
   certain corrections made during the publication process.

So the document is as mature as it can get.


I'm currently a little confused about CMS (rfc-5652) which appears to
be at the highest possible maturity level (STANDARD).  CMS lists PKCS#1
only as informative reference, although it is entirely impossible
to do CMS SignedData and CMS EncryptedData with RSA keypairs without
using PKCS#1.  :)


Seeing this question on the mailing list, I'm getting the impression
that some formal processes might have edges that would benefit from an
encounter with Mr. Grinder.  ;-)



-Martin

From jehan.marmottard@gmail.com  Fri Oct 15 07:35:25 2010
Return-Path: <jehan.marmottard@gmail.com>
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 2AA793A6AAD for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 07:35:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.165
X-Spam-Level: 
X-Spam-Status: No, score=-2.165 tagged_above=-999 required=5 tests=[AWL=0.134,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 Ohzoeaxo+3yc for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 07:35:23 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by core3.amsl.com (Postfix) with ESMTP id 72C1D3A6CAA for <xmpp@ietf.org>; Fri, 15 Oct 2010 07:35:23 -0700 (PDT)
Received: by gxk8 with SMTP id 8so421383gxk.31 for <xmpp@ietf.org>; Fri, 15 Oct 2010 07:36:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=4KYjGYGJYLuXEBngildGGfhi17IWNHMBvtWTwS671dM=; b=e4Tv3qPSjQqaaKyBv9rN7fE/b5UEws2FQWDXzeuug0UMqLxpPbQc699s1Fa30uyXaM 0svxbS2uYuQBlzw/t1W1nrFueQ0Vbw1ucPXe7vgp06kO18mb8n8NjQqbrNBbSQFmQ3sW 0lUEa5JZTlYLEz+0WTvT2eX5ZxGZEfkt9UKNo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Hux2zJb3frebMdr+radj1iweMU4OleownvWs2fhnwJlUN9ogQdjl4sKkRHLSDTXruE oQuq6/b0Hgl+3Kf802GXHC/WYqBZg6tbyZnpypYXlduDUsGJGz8X5N8rVnXafIACFjHO vvTDgjEKzxL5vyk0UZbsAoOFC8S7Fbl6Pf9SM=
MIME-Version: 1.0
Received: by 10.231.148.83 with SMTP id o19mr725226ibv.112.1287153404207; Fri, 15 Oct 2010 07:36:44 -0700 (PDT)
Received: by 10.231.85.147 with HTTP; Fri, 15 Oct 2010 07:36:44 -0700 (PDT)
In-Reply-To: <20101007150327.9457.67111.idtracker@localhost>
References: <20101007150327.9457.67111.idtracker@localhost>
Date: Fri, 15 Oct 2010 23:36:44 +0900
Message-ID: <AANLkTi=AtJwPcKEeHZbQGTooJU0MqBo58iH3-pYP3Bh4@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: XMPP <xmpp@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-address-05.txt> (Extensible Messaging and Presence Protocol (XMPP): Address Format) to Proposed Standard
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: Fri, 15 Oct 2010 14:35:25 -0000

Hi,

my few remarks:

1)
2.4 Resourcepart

=AB
 When an XMPP address does not include a resourcepart (i.e., when it
   is of the form <domainpart> or <localpart@domainpart>), it is
   referred to as a BARE JID.  When an XMPP address includes a
   resourcepart (i.e., when it is of the form <domain/resource> or
   <localpart@domain/resource>), is referred to as a FULL JID.
=BB

To remain consistent in the naming, "<domain/resource>" should be
replaced by <domainpart/resourcepart> and <localpart@domain/resource>
by <localpart@domainpart/resourcepart>.

2) 4.3 Confusable characters

=AB
  A localpart can be employed as one part of an entity's address in
   XMPP.  One common usage is as the username of an instant messaging
   user; another is as the name of a multi-user chat room; and many
   other kinds of entities could use localparts as part of their
   addresses.  The security of such services could be compromised based
   on different interpretations of the internationalized localpart; for
   example, a user entering a single internationalized localpart could
   access another user's account information, or a user could gain
   access to a hidden or otherwise restricted chat room or service.
=BB

I don't really get the example. How can anyone access another user's
account information (or a hidden/restricted chat room) by using
internationalized characters?

=AB
   A resourcepart can be employed as one part of an entity's address in
   XMPP.  One common usage is as the name for an instant messaging
   user's connected resource; another is as the nickname of a user in a
   multi-user chat room; and many other kinds of entities could use
   resourceparts as part of their addresses.  The security of such
   services could be compromised based on different interpretations of
   the internationalized resourcepart; for example, a user could attempt
   to initiate multiple connections with the same name, or a user could
   send a message to someone other than the intended recipient in a
   multi-user chat room.
=BB

This too, what do you mean multiple connections with the same name?
That's the point (or at least one of the points) of the resourcepart:
having multiple connection possible with a single bare JID. Unless you
mean that several full JID might "LOOK" similar (while they are not,
because using different characters but with a very similar graphical
representation?), so speaking of JID mimicking. Actually the use of
"name" here is not very precise. What do we call a "name" in this RFC?
We deal with localpart/domainpart/resourcepart forming JIDs, not with
"names".

Anyway I think this would deserve better text...

3) The next section "4.4 Address Spoofing" could be merged with the
previous "4.3 Confusable characters", don't you think? In particular
with "4.4.2 Address Mimicking" because the issue of confusable
characters is about mimicking addresses. Or is there any other
security issue with confusable characters (maybe related to the
examples I did not get in my previous point, when it was written it
could be used to access user's information or hidden chatroom...)?

4) 4.4.2 Address Mimicking

I have nothing against paypal but that's still an existing company.
Couldn't we use some more neutral name than paypal@example.org for our
mimicked JID example? I understand it is a good example as mimicked
address could typically be used to scam people into giving money but I
still think a RFC should avoid such real-company example if possible
(unless it really has some importance as an historical event to
report, or at least if the company had any role in the writing of the
RFC, which is not the case here).

To keep the same l/1 example, any name with 'l' inside will make it:
Alice@example.org/A1ice@example.org.

We don't have the "company dedicated to transfer money" example, but I
guess implementers know and understand all the possible uses of
address mimicking (this one and all the others), and we can still add
an explicit note to explain how important this is.

5) Still 4.4.2 Address Mimicking:

The recommendation to XMPP applications to present differently =ABJID
that mixes characters from more than one character set or that uses
characters outside the normal range of the user's preferred
language(s)=BB is good. I think we could add a second recommendation
intended to XMPP service providers though.

We could advise them than they should make limitations to their
authorized character sets (or the possibilities of mixing them) in the
localpart/resourcepart when it is relevant to their service context.
For instance a French-only service would be wise to allow only
characters in the French character set (or more globally occidental
character sets) because if the whole service is only in French, they
are not likely to get users using Asian (or whatever else) characters.
Or allowing everything (for very international XMPP services) but not
authorizing character set mixes (or only some kind of mixes which can
be relevant) in order to avoid one type of mimicking we wrote about.
Etc.

Basically a XMPP service provider should take the security
responsability on their part of the network (which is
localpart/resourcepart) that Top Level Domains also deal with (not all
unfortunately) for domain names (domainpart). Of course when relevant.

I remember we had a talk about making a XEP detailing such possible
recommendations and how to limit known security issues (in particular
using all the knowledge of previous bad experience that the Internet,
and the Web in particular, has had) but we can already make a generic
recommendation about this in xmpp-address (and we can later link to
the detailed XEP as well when this one is written).

That's all I see for now.
Bye.

Jehan

On Fri, Oct 8, 2010 at 12:03 AM, The IESG <iesg-secretary@ietf.org> wrote:
>
> The IESG has received a request from the Extensible Messaging and
> Presence Protocol WG (xmpp) to consider the following document:
> - 'Extensible Messaging and Presence Protocol (XMPP): Address Format'
> =A0<draft-ietf-xmpp-address-05.txt> as a Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits
> final comments on this action. Please send substantive comments to the
> ietf@ietf.org mailing lists by 2010-10-21. Exceptionally, comments may be
> sent to iesg@ietf.org instead. In either case, please retain the
> beginning of the Subject line to allow automated sorting.
>
> The file can be obtained via
> https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/
>
> IESG discussion can be tracked via
> https://datatracker.ietf.org/doc/draft-ietf-xmpp-address/
>
>
> No IPR declarations were found that appear related to this I-D.
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp
>

From jehan.marmottard@gmail.com  Fri Oct 15 09:01:08 2010
Return-Path: <jehan.marmottard@gmail.com>
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 6666F3A6CE4 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 09:01:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.178
X-Spam-Level: 
X-Spam-Status: No, score=-2.178 tagged_above=-999 required=5 tests=[AWL=0.121,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 L5L43HDGlZfB for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 09:01:07 -0700 (PDT)
Received: from mail-gy0-f172.google.com (mail-gy0-f172.google.com [209.85.160.172]) by core3.amsl.com (Postfix) with ESMTP id 172033A6CB4 for <xmpp@ietf.org>; Fri, 15 Oct 2010 09:01:07 -0700 (PDT)
Received: by gyc15 with SMTP id 15so469959gyc.31 for <xmpp@ietf.org>; Fri, 15 Oct 2010 09:02:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=mxNgYxt5eDgrQ/FQ93v0c8nTCl4cykxPN2qIfkBXKOw=; b=Xd8we0mr7arSGsYJ5z9liViS5y+51zYpFUWPgJK5pWii+UINmnHdKOK7zLAN14fPP3 nTS2uQudW2tN2g98cAzyfHOrnwOnTD9qNJDBm13RYHKM3V+alsE9ru7T8t1IZ2gwLwVR MWnmnDSGRZcjHgvmQSov0rqaphxK/d6n1cK+c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=WFriQrd7FjBOKoxdmObLziLeuLELQbf5Ww5dzIDkHvReY9ge3u0NorsV7n/7COFkeB 2t1JnkRY8i8MJIYQN40nfnS9Nq77J++K90rZn8/O6pZPsIc8PdE1G9sx6aiCF/zSsGso r1WAzxsd2boeGJx/coHd5B2WC3J4zZMpsZk80=
MIME-Version: 1.0
Received: by 10.42.192.145 with SMTP id dq17mr727742icb.253.1287158548223; Fri, 15 Oct 2010 09:02:28 -0700 (PDT)
Received: by 10.231.85.147 with HTTP; Fri, 15 Oct 2010 09:02:27 -0700 (PDT)
In-Reply-To: <20101007150009.11182.13606.idtracker@localhost>
References: <20101007150009.11182.13606.idtracker@localhost>
Date: Sat, 16 Oct 2010 01:02:27 +0900
Message-ID: <AANLkTinjcXL28AgB0gGYoqwz-qsdVM+JzRF_aqMr6-W7@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: XMPP <xmpp@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-3920bis-17.txt> (Extensible Messaging and Presence Protocol (XMPP): Core) to Proposed Standard
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: Fri, 15 Oct 2010 16:01:08 -0000

Hi,

On Fri, Oct 8, 2010 at 12:00 AM, The IESG <iesg-secretary@ietf.org> wrote:
>
> The IESG has received a request from the Extensible Messaging and
> Presence Protocol WG (xmpp) to consider the following document:
> - 'Extensible Messaging and Presence Protocol (XMPP): Core'
> =A0<draft-ietf-xmpp-3920bis-17.txt> as a Proposed Standard
>
> The IESG plans to make a decision in the next few weeks, and solicits
> final comments on this action. Please send substantive comments to the
> ietf@ietf.org mailing lists by 2010-10-21. Exceptionally, comments may be
> sent to iesg@ietf.org instead. In either case, please retain the
> beginning of the Subject line to allow automated sorting.
>

A few remarks I just noted:

1) 3.2.4 Use of SRV Records with Add-On Services

=AB
If an entity from a remote domain
   wishes to use such add-on services, it would generate an appropriate
   XML stanza and the remote domain itself would attempt to resolve the
   service's hostname via an SRV lookup on resource records such as
   "_xmpp-server._tcp.conference.example.net." or "_xmpp-
   server._tcp.muc.example.com.".
=BB

"remote domain" should be replaced by "remote server" (or remote
service), at least in the second instance: "the remote server itself
would attempt to resolve the service hostname". Because a "domain"
does not resolve another domain (but a server does, or more
"abstractly" a service does, but really "domain" is just technically
wrong).

It could be then:

=AB
If an entity from a remote domain
   wishes to use such add-on services, it would generate an appropriate
   XML stanza and the associated remote server itself would attempt to
resolve the
   service's hostname via an SRV lookup on resource records such as
   "_xmpp-server._tcp.conference.example.net." or "_xmpp-
   server._tcp.muc.example.com.".
=BB

2) Moreover the plural is used "add-on services", then singular:
"service's hostname". So if I remember correctly my English lessons
from school (at least for this, I think I do), it should be "services'
hostnames" (should "hostname" be pluralized as well?), or else our
example is about one service: "use such add-on service".

(sorry for this non-technical one)

3) 4.1 Streams Overview

The streams are represented as unidirectional so the initial stream
and the response stream (even though they actually typically use the
same tcp connection) are considered as separate. As explained for
instance by this text:

=AB
The initial stream enables unidirectional
      communication from the initiating entity to the receiving entity;
      in order to enable exchange of stanzas from the receiving entity
      to the initiating entity, the receiving entity MUST negotiate a
      stream in the opposite direction (the "response stream").
=BB

But the "Figure 2: A Simplified Stream" shows stanzas from both the
initial and response stream (as we can read an iq with to=3D"bar" and
another with from=3D"bar"). So this figure (even though "simplified")
contradicts the 2-stream model and should be adapted.

4) 9.2 Server-to-Server Examples

=AB
Note how Server1 declares the content namespace "jabber:
   server" as the default namespace and prefixes for stream-related
   elements, whereas Server2 uses prefix-free canonicalization.
=BB

But, in "4.7.2 Content Namespace" has been edicted the rule:
=AB
(2) the
   content namespace MUST be the same for the initial stream and the
   response stream so that both streams are qualified consistently
=BB

So it is contradictory to me, unless we meant that IF the response
stream uses also the content namespace, it must be the same, but it
MAY still use the prefix-free canonicalization instead. Anyway
something is unclear and has to be fixed somewhere.

For the fix, if it was depending only on me, I would remove this rule
(2) in 4.7.2 and not change the example of section 9.2, because the
reality is that most (any?) XMPP implementation nowadays uses real XML
parsers keeping memory of namespace contexts (and if not, I would
advise they should) and won't get lost anyway by different entities
using different namespace default/declaration, etc. So the example in
9.2 should be anyway no problem for nowaydays servers... I hope. For
me all our rules for namespace-prefix specific naming, and default,
etc. are just silly (but we already had this discussion. I just wanted
to write it again to mark my point. Maybe after some years, more and
more people will agree to this. :p).
But if you prefer, you can also change the example. Or else there is
no contradiction, hence I will read with great pleasure the
explanation. :-)

That's all for now, I think.
Bye.

Jehan

From stpeter@stpeter.im  Fri Oct 15 09:46:55 2010
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 9CAC83A6AFB for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 09:46:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.255
X-Spam-Level: 
X-Spam-Status: No, score=-103.255 tagged_above=-999 required=5 tests=[AWL=0.744, BAYES_00=-2.599, GB_I_LETTER=-2, J_CHICKENPOX_23=0.6, 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 6MIh8LRy79KT for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 09:46:54 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 144023A6AFA for <xmpp@ietf.org>; Fri, 15 Oct 2010 09:46:54 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 425B340337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 10:55:14 -0600 (MDT)
Message-ID: <4CB885CE.2070905@stpeter.im>
Date: Fri, 15 Oct 2010 10:48:14 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <20101007150327.9457.67111.idtracker@localhost> <AANLkTi=AtJwPcKEeHZbQGTooJU0MqBo58iH3-pYP3Bh4@mail.gmail.com>
In-Reply-To: <AANLkTi=AtJwPcKEeHZbQGTooJU0MqBo58iH3-pYP3Bh4@mail.gmail.com>
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="------------ms070804030903010501020209"
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-address-05.txt> (Extensible Messaging and Presence Protocol (XMPP): Address Format) to Proposed Standard
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: Fri, 15 Oct 2010 16:46:55 -0000

This is a cryptographically signed message in MIME format.

--------------ms070804030903010501020209
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 8:36 AM, Jehan Pag=C3=A8s wrote:
> Hi,
>=20
> my few remarks:
>=20
> 1)
> 2.4 Resourcepart
>=20
> =C2=AB
>  When an XMPP address does not include a resourcepart (i.e., when it
>    is of the form <domainpart> or <localpart@domainpart>), it is
>    referred to as a BARE JID.  When an XMPP address includes a
>    resourcepart (i.e., when it is of the form <domain/resource> or
>    <localpart@domain/resource>), is referred to as a FULL JID.
> =C2=BB
>=20
> To remain consistent in the naming, "<domain/resource>" should be
> replaced by <domainpart/resourcepart> and <localpart@domain/resource>
> by <localpart@domainpart/resourcepart>.

Good catch. I also found some instances (in 3920bis and 3921bis) of
domain/resource, domainpart/resource, node@domain, etc. Fixed in all case=
s.

> 2) 4.3 Confusable characters
>=20
> =C2=AB
>   A localpart can be employed as one part of an entity's address in
>    XMPP.  One common usage is as the username of an instant messaging
>    user; another is as the name of a multi-user chat room; and many
>    other kinds of entities could use localparts as part of their
>    addresses.  The security of such services could be compromised based=

>    on different interpretations of the internationalized localpart; for=

>    example, a user entering a single internationalized localpart could
>    access another user's account information, or a user could gain
>    access to a hidden or otherwise restricted chat room or service.
> =C2=BB
>=20
> I don't really get the example. How can anyone access another user's
> account information (or a hidden/restricted chat room) by using
> internationalized characters?

If a malicious application could fool you into thinking that "a" (U+0061
=3D LATIN SMALL LETTER A) and "=D0=B0" (U+0430 =3D CYRILLIC SMALL LETTER =
A) are
the same thing, then it is possible that you could be misdirected to an
account other than jehan@pages.fr or whatever.

> =C2=AB
>    A resourcepart can be employed as one part of an entity's address in=

>    XMPP.  One common usage is as the name for an instant messaging
>    user's connected resource; another is as the nickname of a user in a=

>    multi-user chat room; and many other kinds of entities could use
>    resourceparts as part of their addresses.  The security of such
>    services could be compromised based on different interpretations of
>    the internationalized resourcepart; for example, a user could attemp=
t
>    to initiate multiple connections with the same name, or a user could=

>    send a message to someone other than the intended recipient in a
>    multi-user chat room.
> =C2=BB
>=20
> This too, what do you mean multiple connections with the same name?
> That's the point (or at least one of the points) of the resourcepart:
> having multiple connection possible with a single bare JID. Unless you
> mean that several full JID might "LOOK" similar (while they are not,
> because using different characters but with a very similar graphical
> representation?), so speaking of JID mimicking.=20

Exactly.

The resourcepart of jdev@conference.jabber.org/jehan uses all ASCII
characters.

The resourcepart of jdev@conference.jabber.org/jeh=D0=B0n uses Cyrillic
characters for the vowels.

Now I try to send a private message to you in the jdev room, but I
choose the occupant with a resourcepart containing Cyrillic vowels.

It could be a problem, no?

> Actually the use of
> "name" here is not very precise. What do we call a "name" in this RFC?
> We deal with localpart/domainpart/resourcepart forming JIDs, not with
> "names".

People often use addresses to name things, such as the "jehan" occupant
of the jdev chatroom.

> Anyway I think this would deserve better text...

Proposed text is always welcome. Personally I don't see a problem with
the current text, so I'm not going to propose any changes.

> 3) The next section "4.4 Address Spoofing" could be merged with the
> previous "4.3 Confusable characters", don't you think? In particular
> with "4.4.2 Address Mimicking" because the issue of confusable
> characters is about mimicking addresses. Or is there any other
> security issue with confusable characters (maybe related to the
> examples I did not get in my previous point, when it was written it
> could be used to access user's information or hidden chatroom...)?

There might be some overlap between the two sections. I'll look at them
in more depth over the weekend.

> 4) 4.4.2 Address Mimicking
>=20
> I have nothing against paypal but that's still an existing company.
> Couldn't we use some more neutral name than paypal@example.org for our
> mimicked JID example?=20

It is a very common example when people talk about typejacking.

> I understand it is a good example as mimicked
> address could typically be used to scam people into giving money but I
> still think a RFC should avoid such real-company example if possible
> (unless it really has some importance as an historical event to
> report, or at least if the company had any role in the writing of the
> RFC, which is not the case here).
>
> To keep the same l/1 example, any name with 'l' inside will make it:
> Alice@example.org/A1ice@example.org.

I see no problem with the example, but I can change it to ju1iet instead
(Alice is so boring).

> We don't have the "company dedicated to transfer money" example, but I
> guess implementers know and understand all the possible uses of
> address mimicking (this one and all the others), and we can still add
> an explicit note to explain how important this is.

I see no need for such a note.

> 5) Still 4.4.2 Address Mimicking:
>=20
> The recommendation to XMPP applications to present differently =C2=ABJI=
D
> that mixes characters from more than one character set or that uses
> characters outside the normal range of the user's preferred
> language(s)=C2=BB is good. I think we could add a second recommendation=

> intended to XMPP service providers though.
>=20
> We could advise them than they should make limitations to their
> authorized character sets (or the possibilities of mixing them) in the
> localpart/resourcepart when it is relevant to their service context.
> For instance a French-only service would be wise to allow only
> characters in the French character set (or more globally occidental
> character sets) because if the whole service is only in French, they
> are not likely to get users using Asian (or whatever else) characters.
> Or allowing everything (for very international XMPP services) but not
> authorizing character set mixes (or only some kind of mixes which can
> be relevant) in order to avoid one type of mimicking we wrote about.
> Etc.
>=20
> Basically a XMPP service provider should take the security
> responsability on their part of the network (which is
> localpart/resourcepart) that Top Level Domains also deal with (not all
> unfortunately) for domain names (domainpart). Of course when relevant.
>=20
> I remember we had a talk about making a XEP detailing such possible
> recommendations and how to limit known security issues (in particular
> using all the knowledge of previous bad experience that the Internet,
> and the Web in particular, has had) but we can already make a generic
> recommendation about this in xmpp-address (and we can later link to
> the detailed XEP as well when this one is written).

Well, as I said during the previous discussion, an XMPP server
deployment that allows registration of new accounts serves a function
similar to a DNS domain name registry or DNS zone administrator, so it
might be appropriate to adapt some text from Section 4.3 of RFC 5891 and
Section 3.2 of RFC 5894. Another weekend task. :)

> That's all I see for now.

Thanks for the continued feedback.

/psa




--------------ms070804030903010501020209
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGcPo
98K4TJf8FHo+UA9EOVDp/W7fCqKT4sXk/XkCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8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kiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAYa9r3s9XnVYjquACZG/6JYSXavj/NFcL1xRJMJMkIj8Y7HaSS9N0FVS8L
B3wg+lJMi7WyD4+5+FABTPBrzsRnYWEOomHTfZI6t/nu4Z8mfil05KUK5RbRdA5bnw4xD3L1
qIy2AQliRVhrcOkMWtI4pb4geYIygQgL1L+Ltvck4Vjm9N5ylASOEsPAjyZErs1xyA8ftFCG
3fjbpMqpn7DK+Y0tsjSHBF/HlzFPLhV5rZRlndh2Ndebj69wX2A8d+qis8DvynWR2PAYhbOr
jqPccvPfkEzmGUltUNVgMy8TePXQO9On2MKoVmaWqY4pRMKamLOtIG0PhLpgE1LM8oWWAAAA
AAAA
--------------ms070804030903010501020209--

From mwild1@gmail.com  Fri Oct 15 10:34:30 2010
Return-Path: <mwild1@gmail.com>
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 767DD3A6953 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 10:34:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 U5IBKBgxyYvA for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 10:34:28 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by core3.amsl.com (Postfix) with ESMTP id 0F2623A6A90 for <xmpp@ietf.org>; Fri, 15 Oct 2010 10:34:28 -0700 (PDT)
Received: by pwj8 with SMTP id 8so436869pwj.31 for <xmpp@ietf.org>; Fri, 15 Oct 2010 10:35:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=mEDCXRLB4ve17FAHJYKrmTTlxWLm5M0hD/18fcNdjxk=; b=iHeEZguWmJOi+MapMlncsj8f0xhAEFylDjg7plJaAIkBWlyi1/8rrqfYGCtmhGxYIW 9s90nujoM1f5gV57OdTUhz1S1LeYRu/MDzVMsuHRDto0kX1iWqDqt9dtfAWCiwRoyPAX B9w3Jx1Td02x/z24FE4E7a2QRI/x7aPnmY7h0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=g/xGUc7G7rEnvu+bro8971bOiHwUqI6O1fR8vs29gMKGHFiB9FEvTIyo0N2snzob51 zW6anwSR2FGVEhaP5UVXYXyGRCYTChSN7prkQnG1hz+iTQ59u3iLslpOYZ5owYDdGXkR /Lh7suh9U8iryuzXJHFP029NAXxN4KNKyX6Cw=
Received: by 10.142.140.14 with SMTP id n14mr889588wfd.21.1287164149903; Fri, 15 Oct 2010 10:35:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.207.66 with HTTP; Fri, 15 Oct 2010 10:35:29 -0700 (PDT)
From: Matthew Wild <mwild1@gmail.com>
Date: Fri, 15 Oct 2010 18:35:29 +0100
Message-ID: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>
To: XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; charset=UTF-8
Subject: [xmpp] 'to' attribute on stanzas from server->client
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: Fri, 15 Oct 2010 17:34:30 -0000

I should probably have posted this a while back, but I managed to
convince myself it was a non-issue. Unfortunately it cropped up again
today, so I thought I'd raise it here and let others see what they
think.

The specs are, I think, largely silent on what the 'to' address should
be on stanzas sent from the server to the client. I (naturally)
believe that Prosody's current handling is sensible in all places, but
since it isn't defined by the specs I keep being questioned on it by
client developers (a bug was even filed today).

There are a number of issues that get raised:

1) The spec says that if a stanza received from the client has no 'to'
address then it is addressed to the user's "account". Prosody replies
to such stanzas without a 'from' address, to mirror the request. It
also doesn't stamp a 'to' on the stanza. Since these stanzas are never
routed that seems superflous to me.

2) When a stanza is received to the bare JID, should the 'to' address
be rewritten for the full JID of each session it gets delivered to? We
don't rewrite.

3) Similarly, when a stanza comes in to a full JID for a resource that
is not online, should we rewrite the 'to' to the bare JID?

4) Finally, closely related to #2 and #3, the bug filed with us today
concerned messages in offline storage. Should they preserve the
original 'to', or get rewritten to the bare JID, or the full JID that
just came online?

Now my personal view on this is: why on earth do clients *care* what
the 'to' address is?! They received the stanza, the server delivered
it to them because it believed that was the right thing to do. The
client already knows it's full JID... what IS the problem?

To answer that I think the problem is simply that the rules are not
(clearly) specified.

Additonally I think preserving the original 'to' in all cases allows
clients to detect stanzas that were addressed to other resources for
example. I don't have a use case for this, but it seems more useful
than 1) stripping 'to' entirely or 2) always rewriting it to the
client's full JID, which the client knows full well already.

I think this may touch both 3920bis and 3921bis, but I haven't studied
them extensively yet in this light. I can do so and give proposed text
if it would be helpful.

Thoughts?

Matthew

From stpeter@stpeter.im  Fri Oct 15 12:48:15 2010
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 7F9CC3A6A43 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 12:48:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.56
X-Spam-Level: 
X-Spam-Status: No, score=-102.56 tagged_above=-999 required=5 tests=[AWL=0.039, 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 naR4mmzTLNgf for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 12:48:13 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 11CA33A69AF for <xmpp@ietf.org>; Fri, 15 Oct 2010 12:48:12 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id F269640337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 13:56:33 -0600 (MDT)
Message-ID: <4CB8B04D.7030900@stpeter.im>
Date: Fri, 15 Oct 2010 13:49:33 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>
In-Reply-To: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>
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="------------ms060207040201090506030004"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Fri, 15 Oct 2010 19:48:15 -0000

This is a cryptographically signed message in MIME format.

--------------ms060207040201090506030004
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 11:35 AM, Matthew Wild wrote:
> I should probably have posted this a while back, but I managed to
> convince myself it was a non-issue. Unfortunately it cropped up again
> today, so I thought I'd raise it here and let others see what they
> think.
>=20
> The specs are, I think, largely silent on what the 'to' address should
> be on stanzas sent from the server to the client. I (naturally)
> believe that Prosody's current handling is sensible in all places, but
> since it isn't defined by the specs I keep being questioned on it by
> client developers (a bug was even filed today).
>=20
> There are a number of issues that get raised:
>=20
> 1) The spec says that if a stanza received from the client has no 'to'
> address then it is addressed to the user's "account".=20

By which we mean implicitly to the user's bare JID.

> Prosody replies
> to such stanzas without a 'from' address, to mirror the request. It
> also doesn't stamp a 'to' on the stanza. Since these stanzas are never
> routed that seems superflous to me.

Seems sensible.

> 2) When a stanza is received to the bare JID, should the 'to' address
> be rewritten for the full JID of each session it gets delivered to? We
> don't rewrite.

It depends.

If the client sends a message stanza to the bare JID of its account,
that message will be processed just like any other message to the bare
JID (e.g., it might end up being delivered to all resources, a few
resources, one resource, or even no resource). When the server delivers
the stanza, it retains the 'to' address of the original stanza.

If the client sends a presence stanza to the bare JID of its account,
the presence stanza will be broadcast to all interested resources, but
the 'to' address of the original stanza will be retained (just as for
any presence stanza sent to the bare JID).

If the client sends an IQ get or set to the bare JID of its account, it
seems to me that the 'from' address of that IQ get or set is implicitly
the full JID of the sending client, so the 'to' address of the IQ result
or error that the server sends in response would be the full JID.

> 3) Similarly, when a stanza comes in to a full JID for a resource that
> is not online, should we rewrite the 'to' to the bare JID?

If I understand this scenario correctly, the client is sending a stanza
to one of its own full JIDs, but the destination resource is now gone.
Correct? If so, it seems to me that the 'to' address of the error stanza
that the server delivers to the sending client would be the full JID of
the sending client -- the fact that the destination resource is gone
doesn't change the full JID of the sending client.

> 4) Finally, closely related to #2 and #3, the bug filed with us today
> concerned messages in offline storage. Should they preserve the
> original 'to', or get rewritten to the bare JID, or the full JID that
> just came online?

IMHO it is best to keep the original message just as it was (there is no
reason to modify the 'to' address, and it might even be helpful for the
client that finally receives the message from offline storage to know
the destination JID intended by sending entity.

> Now my personal view on this is: why on earth do clients *care* what
> the 'to' address is?! They received the stanza, the server delivered
> it to them because it believed that was the right thing to do. The
> client already knows it's full JID... what IS the problem?
>=20
> To answer that I think the problem is simply that the rules are not
> (clearly) specified.
>=20
> Additonally I think preserving the original 'to' in all cases allows
> clients to detect stanzas that were addressed to other resources for
> example. I don't have a use case for this, but it seems more useful
> than 1) stripping 'to' entirely or 2) always rewriting it to the
> client's full JID, which the client knows full well already.

Agreed.

> I think this may touch both 3920bis and 3921bis, but I haven't studied
> them extensively yet in this light. I can do so and give proposed text
> if it would be helpful.

I think the explanations I wrote above provide the skeleton for proposed
text. I'd be happy to work with you on wordsmithing.

Peter

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




--------------ms060207040201090506030004
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/c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@cridland.net>
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 979FF3A6A9D for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:14:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.507
X-Spam-Level: 
X-Spam-Status: No, score=-2.507 tagged_above=-999 required=5 tests=[AWL=0.092,  BAYES_00=-2.599]
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 JsY9c4wgRlxw for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:14:03 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id DAB4E3A6916 for <xmpp@ietf.org>; Fri, 15 Oct 2010 13:14:02 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 9AFB311680DA; Fri, 15 Oct 2010 21:15:22 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16Z+p0waB0j9; Fri, 15 Oct 2010 21:15:18 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id D7B9B11680CA; Fri, 15 Oct 2010 21:15:17 +0100 (BST)
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>
In-Reply-To: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <24655.1287173717.881056@puncture>
Date: Fri, 15 Oct 2010 21:15:17 +0100
From: Dave Cridland <dave@cridland.net>
To: Matthew Wild <mwild1@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Fri, 15 Oct 2010 20:14:04 -0000

On Fri Oct 15 18:35:29 2010, Matthew Wild wrote:
> The specs are, I think, largely silent on what the 'to' address  
> should
> be on stanzas sent from the server to the client.

Agreed - 8.1.1 talks about client-to-server and server-to-server, but  
not server-to-client.

> 1) The spec says that if a stanza received from the client has no  
> 'to'
> address then it is addressed to the user's "account". Prosody  
> replies
> to such stanzas without a 'from' address, to mirror the request. It
> also doesn't stamp a 'to' on the stanza. Since these stanzas are  
> never
> routed that seems superflous to me.

We stamp with the full jid of the session - if it has one - on any  
stanza we generate to a client. Obviously with XEP-0078 responses,  
that's not the case - I think we don't stamp, but I'd have to check.


> 2) When a stanza is received to the bare JID, should the 'to'  
> address
> be rewritten for the full JID of each session it gets delivered to?  
> We
> don't rewrite.
> 
> 
The spec sayeth thou SHALT NOT:

   In all cases, the server MUST NOT rewrite the 'to' attribute (i.e.,
   it MUST leave it as <user@domain> rather than change it to
   <user@domain/resource>).


> 3) Similarly, when a stanza comes in to a full JID for a resource  
> that
> is not online, should we rewrite the 'to' to the bare JID?
> 
> 
I was expecting this to be SHALT NOT again, but I can't find a  
similar paragraph to the above.


> 4) Finally, closely related to #2 and #3, the bug filed with us  
> today
> concerned messages in offline storage. Should they preserve the
> original 'to', or get rewritten to the bare JID, or the full JID  
> that
> just came online?
> 
> 
Pass. I think at that point anything is reasonable, since this is a  
redelivery.


> Now my personal view on this is: why on earth do clients *care* what
> the 'to' address is?! They received the stanza, the server delivered
> it to them because it believed that was the right thing to do. The
> client already knows it's full JID... what IS the problem?
> 
> 
Some people have too much time?

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From florob@babelmonkeys.de  Fri Oct 15 13:40:16 2010
Return-Path: <florob@babelmonkeys.de>
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 CA1D33A6D0F for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:40:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.529
X-Spam-Level: 
X-Spam-Status: No, score=-1.529 tagged_above=-999 required=5 tests=[AWL=0.720,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 KFef4HvIh6qR for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:40:15 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id B87813A6CE2 for <xmpp@ietf.org>; Fri, 15 Oct 2010 13:40:15 -0700 (PDT)
Received: from xdsl-81-173-172-80.netcologne.de ([81.173.172.80] helo=[192.168.0.38]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1P6r5s-00061E-Pz for xmpp@ietf.org; Fri, 15 Oct 2010 22:41:36 +0200
Message-ID: <4CB8BC7A.6010904@babelmonkeys.de>
Date: Fri, 15 Oct 2010 22:41:30 +0200
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im>
In-Reply-To: <4CB8B04D.7030900@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Fri, 15 Oct 2010 20:40:16 -0000

On 2010-10-15 21:49, Peter Saint-Andre wrote:
> If the client sends a presence stanza to the bare JID of its account,
> the presence stanza will be broadcast to all interested resources, but
> the 'to' address of the original stanza will be retained (just as for
> any presence stanza sent to the bare JID).
> 
Okay, now you thoroughly confused me (which might be me, because that
has happened too often lately, but still):
If presence is send without a 'to' attr (as it normally is) it is
broadcast to all interested resources with those resources full JID as
'to' addr.
Now no 'to' attr implies to bare JID, why would the 'to' addr of the
original stanza be retained when this is made explicit?


>> 4) Finally, closely related to #2 and #3, the bug filed with us today
>> concerned messages in offline storage. Should they preserve the
>> original 'to', or get rewritten to the bare JID, or the full JID that
>> just came online?
> 
> IMHO it is best to keep the original message just as it was (there is no
> reason to modify the 'to' address, and it might even be helpful for the
> client that finally receives the message from offline storage to know
> the destination JID intended by sending entity.
> 
+1

>> Now my personal view on this is: why on earth do clients *care* what
>> the 'to' address is?! They received the stanza, the server delivered
>> it to them because it believed that was the right thing to do. The
>> client already knows it's full JID... what IS the problem?
>>
>> To answer that I think the problem is simply that the rules are not
>> (clearly) specified.
>>
>> Additonally I think preserving the original 'to' in all cases allows
>> clients to detect stanzas that were addressed to other resources for
>> example. I don't have a use case for this, but it seems more useful
>> than 1) stripping 'to' entirely or 2) always rewriting it to the
>> client's full JID, which the client knows full well already.
> 
> Agreed.
> 
I'm not sure I agree. To turn this around: "Why would a client parse
something that was addressed to someone else?".
E.g. I have previously mentioned the social network that tells a client
one JID during resource binding, but uses a completely different one for
everything else. If clients were to ignore the 'to' attribute this would
be valid (well doable) behavior and I personally think that's quite bad.
Also almost all clients utterly fail against that service (at least for
the roster get, not sure if we have text that causes this), so that
change wouldn't be documenting the "status quo".
It's probably sensible to define that stanzas that have a 'to' attribute
where the bare portion of the JID matches MUST be handled.

--
Florian Zeitz

From stpeter@stpeter.im  Fri Oct 15 13:51:12 2010
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 0FA703A6CE2 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:51:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.561
X-Spam-Level: 
X-Spam-Status: No, score=-102.561 tagged_above=-999 required=5 tests=[AWL=0.038, 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 szkBrN3jBaZ8 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:51:10 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B12A73A6C9C for <xmpp@ietf.org>; Fri, 15 Oct 2010 13:51:09 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 0D72040337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 14:59:30 -0600 (MDT)
Message-ID: <4CB8BF0D.7000405@stpeter.im>
Date: Fri, 15 Oct 2010 14:52:29 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im> <4CB8BC7A.6010904@babelmonkeys.de>
In-Reply-To: <4CB8BC7A.6010904@babelmonkeys.de>
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="------------ms040006000401010701090109"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Fri, 15 Oct 2010 20:51:12 -0000

This is a cryptographically signed message in MIME format.

--------------ms040006000401010701090109
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 2:41 PM, Florian Zeitz wrote:
> On 2010-10-15 21:49, Peter Saint-Andre wrote:
>> If the client sends a presence stanza to the bare JID of its account,
>> the presence stanza will be broadcast to all interested resources, but=

>> the 'to' address of the original stanza will be retained (just as for
>> any presence stanza sent to the bare JID).
>>
> Okay, now you thoroughly confused me (which might be me, because that
> has happened too often lately, but still):
> If presence is send without a 'to' attr (as it normally is) it is
> broadcast to all interested resources with those resources full JID as
> 'to' addr.
> Now no 'to' attr implies to bare JID, why would the 'to' addr of the
> original stanza be retained when this is made explicit?

If Romeo sends directed presence from <romeo@montague.lit> to
<juliet@capulet.lit> and she has multiple interested resources (say,
"balcony" and "chamber"), her server will broadcast the directed
presence to all of those resources but it won't change the 'to' address
for those delivered stanzas, instead the 'to' will be her bare JID.

Now, why would things be any different if Juliet sends directed presence
from <juliet@capulet.lit/balcony> to her bare JID? I grant that it's
silly to send directed presence to your bare JID, but I think such a
stanza would be handled just like any other directed presence stanza.

>>> 4) Finally, closely related to #2 and #3, the bug filed with us today=

>>> concerned messages in offline storage. Should they preserve the
>>> original 'to', or get rewritten to the bare JID, or the full JID that=

>>> just came online?
>>
>> IMHO it is best to keep the original message just as it was (there is =
no
>> reason to modify the 'to' address, and it might even be helpful for th=
e
>> client that finally receives the message from offline storage to know
>> the destination JID intended by sending entity.
>>
> +1
>=20
>>> Now my personal view on this is: why on earth do clients *care* what
>>> the 'to' address is?! They received the stanza, the server delivered
>>> it to them because it believed that was the right thing to do. The
>>> client already knows it's full JID... what IS the problem?
>>>
>>> To answer that I think the problem is simply that the rules are not
>>> (clearly) specified.
>>>
>>> Additonally I think preserving the original 'to' in all cases allows
>>> clients to detect stanzas that were addressed to other resources for
>>> example. I don't have a use case for this, but it seems more useful
>>> than 1) stripping 'to' entirely or 2) always rewriting it to the
>>> client's full JID, which the client knows full well already.
>>
>> Agreed.
>>
> I'm not sure I agree. To turn this around: "Why would a client parse
> something that was addressed to someone else?".

By "someone else" do you mean the bare JID or a resource other than the
one bound for this client?

> E.g. I have previously mentioned the social network that tells a client=

> one JID during resource binding, but uses a completely different one fo=
r
> everything else. If clients were to ignore the 'to' attribute this woul=
d
> be valid (well doable) behavior and I personally think that's quite bad=
=2E
> Also almost all clients utterly fail against that service (at least for=

> the roster get, not sure if we have text that causes this), so that
> change wouldn't be documenting the "status quo".
> It's probably sensible to define that stanzas that have a 'to' attribut=
e
> where the bare portion of the JID matches MUST be handled.

That seems reasonable, although I'm trying to come up with exceptions
and counter-examples so I think SHOULD might be enough.

Peter

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




--------------ms040006000401010701090109
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfIti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RNvva+546BnbiQRX+GWB
x4t3hp3AryyHdDHBL2AkVaW7zvFfteMjhsqDM9TVpQtkmEnflmO6XYVAKianqv7323OKstPL
Aym60ClZlny7copDcO6mGb7XAqcGKl+I+L7ElVgKL2OuRmOXagdWQURYl9ZC3ry9MdMaAAAA
AAAA
--------------ms040006000401010701090109--

From stpeter@stpeter.im  Fri Oct 15 13:52:37 2010
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 9B06E3A6CE2 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:52:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.561
X-Spam-Level: 
X-Spam-Status: No, score=-102.561 tagged_above=-999 required=5 tests=[AWL=0.038, 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 lGRl-97gbW93 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 13:52:36 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B345B3A6AF4 for <xmpp@ietf.org>; Fri, 15 Oct 2010 13:52:36 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8566140337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 15:00:58 -0600 (MDT)
Message-ID: <4CB8BF65.6010303@stpeter.im>
Date: Fri, 15 Oct 2010 14:53:57 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de> <4CB8BF0D.7000405@stpeter.im>
In-Reply-To: <4CB8BF0D.7000405@stpeter.im>
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="------------ms090906080605000804030004"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Fri, 15 Oct 2010 20:52:37 -0000

This is a cryptographically signed message in MIME format.

--------------ms090906080605000804030004
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 2:52 PM, Peter Saint-Andre wrote:

> If Romeo sends directed presence from <romeo@montague.lit> to

Sorry, that should have been <romeo@montague.lit/orchard> or somesuch.




--------------ms090906080605000804030004
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0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CLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCf1HIxp5HOO7yAWhrECXqBzBoyebd9sirBRk1g0lYPb0I52CX41jfhwTFN
XCsAckOw+t2Y0UsZYLEUn+66nTAt3cWc4WmcCNHYye0tVW7BfYIa50wxxlgMm2cQ8eMNopXd
QKa/fWyr0WfeEGjJaUWwBTMKuvpcrzynlp7YSOTPCTlppg07R9cMlNglYnDN3E0yqnKsXYU1
LMR/J3qpq7bzFePJahqX//4zvu2FRZ8xmGZw7MmHuTUh4UkOp2xAj2VGDE1NLNVCZORUrNNR
3pgsNQ2MNIIy1dR7EdvWr+1n5HIR4sISOLuS5hz9bZ4kdVCLnyhFL33LFG8WCbXy6C7BAAAA
AAAA
--------------ms090906080605000804030004--

From stpeter@stpeter.im  Fri Oct 15 14:07:59 2010
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 5C5F33A6D17 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 14:07:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.561
X-Spam-Level: 
X-Spam-Status: No, score=-102.561 tagged_above=-999 required=5 tests=[AWL=0.038, 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 1WEKLdkR2vO1 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 14:07:57 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 157353A6D0F for <xmpp@ietf.org>; Fri, 15 Oct 2010 14:07:57 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D85F240337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 15:16:18 -0600 (MDT)
Message-ID: <4CB8C2FD.50907@stpeter.im>
Date: Fri, 15 Oct 2010 15:09:17 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <20101007150009.11182.13606.idtracker@localhost> <AANLkTinjcXL28AgB0gGYoqwz-qsdVM+JzRF_aqMr6-W7@mail.gmail.com>
In-Reply-To: <AANLkTinjcXL28AgB0gGYoqwz-qsdVM+JzRF_aqMr6-W7@mail.gmail.com>
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="------------ms060006040808050700060204"
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-3920bis-17.txt> (Extensible Messaging and Presence Protocol (XMPP): Core) to Proposed Standard
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: Fri, 15 Oct 2010 21:07:59 -0000

This is a cryptographically signed message in MIME format.

--------------ms060006040808050700060204
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 10:02 AM, Jehan Pag=C3=A8s wrote:

> 1) 3.2.4 Use of SRV Records with Add-On Services
>=20
> =C2=AB If an entity from a remote domain wishes to use such add-on
> services, it would generate an appropriate XML stanza and the remote
> domain itself would attempt to resolve the service's hostname via an
> SRV lookup on resource records such as=20
> "_xmpp-server._tcp.conference.example.net." or "_xmpp-=20
> server._tcp.muc.example.com.". =C2=BB
>=20
> "remote domain" should be replaced by "remote server" (or remote=20
> service), at least in the second instance: "the remote server itself=20
> would attempt to resolve the service hostname". Because a "domain"=20
> does not resolve another domain (but a server does, or more=20
> "abstractly" a service does, but really "domain" is just technically=20
> wrong).

It's a small point, but you're right.

> It could be then:
>=20
> =C2=AB If an entity from a remote domain wishes to use such add-on
> services, it would generate an appropriate XML stanza and the
> associated remote server itself would attempt to resolve the=20
> service's hostname via an SRV lookup on resource records such as=20
> "_xmpp-server._tcp.conference.example.net." or "_xmpp-=20
> server._tcp.muc.example.com.". =C2=BB

I now have:

   If an entity associated with a remote
   XMPP server wishes to use such an add-on service, it would generate
   an appropriate XML stanza and the remote server would attempt to
   resolve the add-on service's DNS domain name via an SRV lookup on
   resource records such as "_xmpp-server._tcp.conference.example.net."
   or "_xmpp-server._tcp.muc.example.com.".

> 2) Moreover the plural is used "add-on services", then singular:=20
> "service's hostname". So if I remember correctly my English lessons=20
> from school (at least for this, I think I do), it should be
> "services' hostnames" (should "hostname" be pluralized as well?), or
> else our example is about one service: "use such add-on service".
>=20
> (sorry for this non-technical one)

Fixed.

> 3) 4.1 Streams Overview
>=20
> The streams are represented as unidirectional so the initial stream=20
> and the response stream (even though they actually typically use the=20
> same tcp connection) are considered as separate. As explained for=20
> instance by this text:
>=20
> =C2=AB The initial stream enables unidirectional communication from the=

> initiating entity to the receiving entity; in order to enable
> exchange of stanzas from the receiving entity to the initiating
> entity, the receiving entity MUST negotiate a stream in the opposite
> direction (the "response stream"). =C2=BB
>=20
> But the "Figure 2: A Simplified Stream" shows stanzas from both the=20
> initial and response stream (as we can read an iq with to=3D"bar" and=20
> another with from=3D"bar"). So this figure (even though "simplified")=20
> contradicts the 2-stream model and should be adapted.

Sure, I've cleaned up the ASCII art to show two streams...

###

   In essence, then, one XML stream functions as an envelope for the XML
   stanzas sent during a session and another XML stream functions as an
   envelope for the XML stanzas received during a session.  We can
   represent this in a simplistic fashion as follows.

   +--------------------+--------------------+
   | INITIAL STREAM     |  RESPONSE STREAM   |
   +--------------------+--------------------+
   | <stream>           |                    |
   |--------------------|--------------------|
   |                    | <stream>           |
   |--------------------|--------------------|
   | <presence>         |                    |
   |   <show/>          |                    |
   | </presence>        |                    |
   |--------------------|--------------------|
   | <message to=3D'foo'> |                    |
   |   <body/>          |                    |
   | </message>         |                    |
   |--------------------|--------------------|
   | <iq to=3D'bar'       |                    |
   |     type=3D'get'>    |                    |
   |   <query/>         |                    |
   | </iq>              |                    |
   |--------------------|--------------------|
   |                    | <iq from=3D'bar'     |
   |                    |     type=3D'result'> |
   |                    |   <query/>         |
   |                    | </iq>              |
   |--------------------|--------------------|
   | [ ... ]            |                    |
   |--------------------|--------------------|
   |                    | [ ... ]            |
   |--------------------|--------------------|
   | </stream>          |                    |
   |--------------------|--------------------|
   |                    | </stream>          |
   +--------------------+--------------------+

                Figure 2: A Simplistic View of Two Streams


###

> 4) 9.2 Server-to-Server Examples
>=20
> =C2=AB Note how Server1 declares the content namespace "jabber: server"=
 as
> the default namespace and prefixes for stream-related elements,
> whereas Server2 uses prefix-free canonicalization. =C2=BB
>=20
> But, in "4.7.2 Content Namespace" has been edicted the rule: =C2=AB (2)=

> the content namespace MUST be the same for the initial stream and
> the response stream so that both streams are qualified consistently=20
> =C2=BB
>=20
> So it is contradictory to me, unless we meant that IF the response=20
> stream uses also the content namespace, it must be the same, but it=20
> MAY still use the prefix-free canonicalization instead. Anyway=20
> something is unclear and has to be fixed somewhere.

Yes, "if". That's what 4.7.2 already says:

   An entity MAY declare a "content namespace" as the default namespace
   for data sent over the stream (i.e., data other than elements
   qualified by the streams namespace).  If so, (1) the content
   namespace MUST be other than the streams namespace, and (2) the
   content namespace MUST be the same for the initial stream and the
   response stream so that both streams are qualified consistently.

The first two words of the second sentence are "If so, ..."

> For the fix, if it was depending only on me, I would remove this
> rule (2) in 4.7.2 and not change the example of section 9.2, because
> the reality is that most (any?) XMPP implementation nowadays uses
> real XML parsers keeping memory of namespace contexts (and if not, I
> would advise they should) and won't get lost anyway by different
> entities using different namespace default/declaration, etc. So the
> example in 9.2 should be anyway no problem for nowaydays servers... I
> hope. For me all our rules for namespace-prefix specific naming, and
> default, etc. are just silly (but we already had this discussion. I
> just wanted to write it again to mark my point. Maybe after some
> years, more and more people will agree to this. :p). But if you
> prefer, you can also change the example. Or else there is no
> contradiction, hence I will read with great pleasure the explanation.
> :-)

See above.

Peter

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




--------------ms060006040808050700060204
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBM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W50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCf5VPPPwdevZsA/dkfcVnKIlpjnCFIMxaXbWRbbhHDjU8jC6HVCkk7AFGL
607t7uYE3e0pqpEA87DK6Zvq6dSYUu7p4Qy1+k4zfHjFEO3SyAw0QHqzC7mgCKCsKeHbznWK
GP+QaMITdAYNNJlF0/mSajGaoPubtY6Kfmkz7piMNvS9DFaicIs7NOa99aciwclP9K17tiZD
n4u0RqoPrehZBAMSecAjPKdkkK7RksN84v+2xsvFXIDNN+8siWqx/MhLYTnwIDXAG3Aj8Wpt
0HnXxBFEZoLDtcLCFDW6cjErfHF/z0/7JFda24PIM9rB64VJYUyYPEcznrWBvJ18eCVsAAAA
AAAA
--------------ms060006040808050700060204--

From florob@babelmonkeys.de  Fri Oct 15 14:12:20 2010
Return-Path: <florob@babelmonkeys.de>
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 A43433A6D1B for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 14:12:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.709
X-Spam-Level: 
X-Spam-Status: No, score=-1.709 tagged_above=-999 required=5 tests=[AWL=0.540,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 N1dijp5Lfl9z for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 14:12:19 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 6EBFE3A6BCC for <xmpp@ietf.org>; Fri, 15 Oct 2010 14:12:19 -0700 (PDT)
Received: from xdsl-81-173-172-80.netcologne.de ([81.173.172.80] helo=[192.168.0.38]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1P6rav-0006MN-D7 for xmpp@ietf.org; Fri, 15 Oct 2010 23:13:41 +0200
Message-ID: <4CB8C3FF.1050800@babelmonkeys.de>
Date: Fri, 15 Oct 2010 23:13:35 +0200
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de> <4CB8BF0D.7000405@stpeter.im>
In-Reply-To: <4CB8BF0D.7000405@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Fri, 15 Oct 2010 21:12:20 -0000

On 2010-10-15 22:52, Peter Saint-Andre wrote:
> If Romeo sends directed presence from <romeo@montague.lit> to
> <juliet@capulet.lit> and she has multiple interested resources (say,
> "balcony" and "chamber"), her server will broadcast the directed
> presence to all of those resources but it won't change the 'to' address
> for those delivered stanzas, instead the 'to' will be her bare JID.
> 
> Now, why would things be any different if Juliet sends directed presence
> from <juliet@capulet.lit/balcony> to her bare JID? I grant that it's
> silly to send directed presence to your bare JID, but I think such a
> stanza would be handled just like any other directed presence stanza.
> 
That seems to have mostly been me misremembering. I had thought we
specify that no 'to' always implies "To the users bare JID". In fact
that's only the case for <message/> though, so that's alright.

>> I'm not sure I agree. To turn this around: "Why would a client parse
>> something that was addressed to someone else?".
> 
> By "someone else" do you mean the bare JID or a resource other than the
> one bound for this client?
> 
Your choice really. I think a stanza to a "wrong" bare JID should only
have been delivered to you in error, so why handle it. But I'd not be
surprised if someone chose to argue the same for the bound resource.
Personally I think "ignoring" (where the '"' is large enough to allow
"ignore" to be defined as: display the message and note that it was
originally addressed to another resource) the resource is fine though.

>> E.g. I have previously mentioned the social network that tells a client
>> one JID during resource binding, but uses a completely different one for
>> everything else. If clients were to ignore the 'to' attribute this would
>> be valid (well doable) behavior and I personally think that's quite bad.
>> Also almost all clients utterly fail against that service (at least for
>> the roster get, not sure if we have text that causes this), so that
>> change wouldn't be documenting the "status quo".
>> It's probably sensible to define that stanzas that have a 'to' attribute
>> where the bare portion of the JID matches MUST be handled.
> 
> That seems reasonable, although I'm trying to come up with exceptions
> and counter-examples so I think SHOULD might be enough.
> 
That would be fine with me.

Florian

From stpeter@stpeter.im  Fri Oct 15 14:58:04 2010
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 B39D73A6AC2 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 14:58:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.562
X-Spam-Level: 
X-Spam-Status: No, score=-103.562 tagged_above=-999 required=5 tests=[AWL=1.037, BAYES_00=-2.599, GB_I_LETTER=-2, 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 KeqUpV8hWr9D for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 14:57:59 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C7B3B3A6AC4 for <xmpp@ietf.org>; Fri, 15 Oct 2010 14:57:56 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8DF3740337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 16:06:18 -0600 (MDT)
Message-ID: <4CB8CEB4.9000601@stpeter.im>
Date: Fri, 15 Oct 2010 15:59:16 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <20101007150327.9457.67111.idtracker@localhost>	<AANLkTi=AtJwPcKEeHZbQGTooJU0MqBo58iH3-pYP3Bh4@mail.gmail.com> <4CB885CE.2070905@stpeter.im>
In-Reply-To: <4CB885CE.2070905@stpeter.im>
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="------------ms070103050802090003070108"
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-address-05.txt> (Extensible Messaging and Presence Protocol (XMPP): Address Format) to Proposed Standard
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: Fri, 15 Oct 2010 21:58:05 -0000

This is a cryptographically signed message in MIME format.

--------------ms070103050802090003070108
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 10:48 AM, Peter Saint-Andre wrote:
> On 10/15/10 8:36 AM, Jehan Pag=C3=A8s wrote:

<snip/>

>> 3) The next section "4.4 Address Spoofing" could be merged with the
>> previous "4.3 Confusable characters", don't you think? In particular
>> with "4.4.2 Address Mimicking" because the issue of confusable
>> characters is about mimicking addresses. Or is there any other
>> security issue with confusable characters (maybe related to the
>> examples I did not get in my previous point, when it was written it
>> could be used to access user's information or hidden chatroom...)?
>=20
> There might be some overlap between the two sections. I'll look at them=

> in more depth over the weekend.

I took another look at this and there is indeed quite a bit of overlap.
I think the text about confusable characters can be folded into the
section on address mimicking. I've done that in my working copy (see
proposed text at the bottom of this message).

>> 5) Still 4.4.2 Address Mimicking:
>>
>> The recommendation to XMPP applications to present differently =C2=ABJ=
ID
>> that mixes characters from more than one character set or that uses
>> characters outside the normal range of the user's preferred
>> language(s)=C2=BB is good. I think we could add a second recommendatio=
n
>> intended to XMPP service providers though.
>>
>> We could advise them than they should make limitations to their
>> authorized character sets (or the possibilities of mixing them) in the=

>> localpart/resourcepart when it is relevant to their service context.
>> For instance a French-only service would be wise to allow only
>> characters in the French character set (or more globally occidental
>> character sets) because if the whole service is only in French, they
>> are not likely to get users using Asian (or whatever else) characters.=

>> Or allowing everything (for very international XMPP services) but not
>> authorizing character set mixes (or only some kind of mixes which can
>> be relevant) in order to avoid one type of mimicking we wrote about.
>> Etc.
>>
>> Basically a XMPP service provider should take the security
>> responsability on their part of the network (which is
>> localpart/resourcepart) that Top Level Domains also deal with (not all=

>> unfortunately) for domain names (domainpart). Of course when relevant.=

>>
>> I remember we had a talk about making a XEP detailing such possible
>> recommendations and how to limit known security issues (in particular
>> using all the knowledge of previous bad experience that the Internet,
>> and the Web in particular, has had) but we can already make a generic
>> recommendation about this in xmpp-address (and we can later link to
>> the detailed XEP as well when this one is written).
>=20
> Well, as I said during the previous discussion, an XMPP server
> deployment that allows registration of new accounts serves a function
> similar to a DNS domain name registry or DNS zone administrator, so it
> might be appropriate to adapt some text from Section 4.3 of RFC 5891 an=
d
> Section 3.2 of RFC 5894. Another weekend task. :)

I've looked at this topic, as well. The paste below contains proposed
text, mostly adapted from those RFCs.

(Note: the section number changed...)

###

5.3.2.  Address Mimicking

   Address mimicking occurs when an entity provides legitimate
   authentication credentials for and sends XML stanzas from an account
   whose JID appears to a human user to be the same as another JID.  For
   example, in some XMPP clients the address "ju1iet@example.org"
   (spelled with the number one as the third character of the localpart)
   might appear to be the same as "juliet@example.org (spelled with the
   lower-case version of the letter "L"), especially on casual visual
   inspection; this phenomenon is sometimes called "typejacking".  A
   more sophisticated example of address mimicking might involve the use
   of characters from outside the US-ASCII range, such as the Cherokee
   characters U+13DA U+13A2 U+13B5 U+13AC U+13A2 U+13AC U+13D2 instead
   of the US-ASCII characters "STPETER".

   In some examples of address mimicking, it is unlikely that the
   average user could tell the difference between the real JID and the
   fake JID.  (Indeed, there is no way to distinguish with full
   certainty which is the fake JID and which is the real JID; in some
   communication contexts, the JID with Cherokee characters might be the
   real JID and the JID with US-ASCII characters might thus appear to be
   the fake JID.)  Because JIDs can contain almost any Unicode
   character, it can be relatively easy to mimic some JIDs in XMPP
   systems.  The possibility of address mimicking introduces security
   vulnerabilities of the kind that have also plagued the World Wide
   Web, specifically the phenomenon known as phishing.

   These problems arise because Unicode and ISO/IEC 10646 repertoires
   have many characters that look similar (so-called "confusable
   characters" or "confusables").  In many cases, users of security
   protocols might perform visual matching, such as when comparing the
   names of trusted third parties.  Because it is impossible to map
   similar-looking characters without a great deal of context (such as
   knowing the fonts used), stringprep and stringprep-based technologies
   such as Nameprep, Nodeprep, and Resourceprep do nothing to map
   similar-looking characters together, nor do they prohibit some
   characters because they look like others.  As a result, XMPP
   localparts and resourceparts could contain confusable characters,
   resulting in JIDs that appear to mimick other JIDs.  In particular:

   o  A localpart can be employed as one part of an entity's address in
      XMPP.  One common usage is as the username of an instant messaging
      user; another is as the name of a multi-user chat room; and many
      other kinds of entities could use localparts as part of their
      addresses.  The security of such services could be compromised
      based on different interpretations of the internationalized
      localpart; for example, a user entering a single internationalized
      localpart could access another user's account information, or a
      user could gain access to a hidden or otherwise restricted chat
      room or service.

   o  A resourcepart can be employed as one part of an entity's address
      in XMPP.  One common usage is as the name for an instant messaging
      user's connected resource; another is as the nickname of a user in
      a multi-user chat room; and many other kinds of entities could use
      resourceparts as part of their addresses.  The security of such
      services could be compromised based on different interpretations
      of the internationalized resourcepart; for example, a user could
      attempt to initiate multiple connections with the same name, or a
      user could send a message to someone other than the intended
      recipient in a multi-user chat room.

   Despite the fact that some specific suggestions about identification
   and handling of confusable characters appear in the Unicode Security
   Considerations [UNICODE-SEC], it is also true (as noted in
   [IDNA-DEFS]) that "there are no comprehensive technical solutions to
   the problems of confusable characters".  Mimicked JIDs that involve
   characters from only one character set or from the character set
   typically employed by a particular user are not easy to combat (e.g.,
   the simple typejacking attack previously described, which relies on a
   surface similarity between the characters "1" and "l" in some
   presentations).  However, mimicked addresses that involve characters
   from more than one character set, or from a character set not
   typically employed by a particular user, can be mitigated somewhat
   through the application of appropriate registration policies at XMPP
   services and presentation policies in XMPP client software
   implementations.  Therefore the following policies are encouraged:

   1.  Because an XMPP service that allows registration of XMPP user
       accounts (localparts) plays a role similar to that of a registry
       for DNS domain names, such a service SHOULD establish a policy
       about the ranges of characters it will allow in localparts at the
       service.  Such a policy is likely to be informed by the languages
       and the scripts that are used to write registered account names;
       in particular, to reduce confusion, the service MAY forbid
       registration of XMPP localparts that contain characters from more
       than one script and to restrict registrations to characters drawn
       from a very small number of scripts (e.g., scripts that are well-
       understood by the administrators of the service).  For related
       considerations in the context of domain name registration, refer
       to Section 4.3 of [IDNA-PROTO] and Section 3.2 of
       [IDNA-RATIONALE].  Note well that wethods for enforcing such
       restrictions are out of scope for this document.

   2.  Because every human user of an XMPP client presumably has a
       preferred language (or, in some cases, a small set of preferred
       languages), an XMPP client SHOULD gather that information either
       explicitly from the user or implicitly via the operating system
       of the user's device.  Furthermore, because every language has a
       range (or a small set of ranges) of characters normally used to
       represent that language in textual form, an XMPP client SHOULD
       warn the user when presenting a JID that mixes characters from
       more than one character set or that uses characters outside the
       normal range of the user's preferred language(s).  This
       recommendation is not intended to discourage communication across
       language communities; instead, it recognizes the existence of
       such language communities and encourages due caution when
       presenting unfamiliar character sets to human users.

###

/psa



--------------ms070103050802090003070108
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ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7l3PCFGeCWG/x540LMRVJFGE
7HHJRX0yjmT/psZNEhIlLV/EGoZFZoAoh8RMHBL/dgzDquoHNQYWGMH5Qkly4Q5X48+tAAAA
AAAA
--------------ms070103050802090003070108--

From stpeter@stpeter.im  Fri Oct 15 19:30:13 2010
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 3238C3A6B0C for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 19:30:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.543
X-Spam-Level: 
X-Spam-Status: No, score=-103.543 tagged_above=-999 required=5 tests=[AWL=1.056, BAYES_00=-2.599, GB_I_LETTER=-2, 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 znH+LlAVrVC8 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 19:30:09 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C587C3A6805 for <xmpp@ietf.org>; Fri, 15 Oct 2010 19:30:08 -0700 (PDT)
Received: from squire.local (dsl-228-91.dynamic-dsl.frii.net [216.17.228.91]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 282B640337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 20:38:29 -0600 (MDT)
Message-ID: <4CB90E7E.70805@stpeter.im>
Date: Fri, 15 Oct 2010 20:31:26 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <20101007150327.9457.67111.idtracker@localhost>	<AANLkTi=AtJwPcKEeHZbQGTooJU0MqBo58iH3-pYP3Bh4@mail.gmail.com>	<4CB885CE.2070905@stpeter.im> <4CB8CEB4.9000601@stpeter.im>
In-Reply-To: <4CB8CEB4.9000601@stpeter.im>
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="------------ms090408090106000409070001"
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-address-05.txt> (Extensible Messaging and Presence Protocol (XMPP): Address Format) to Proposed Standard
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: Sat, 16 Oct 2010 02:30:13 -0000

This is a cryptographically signed message in MIME format.

--------------ms090408090106000409070001
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 3:59 PM, Peter Saint-Andre wrote:

<snip/>

> The paste below contains proposed text.
>=20
> (Note: the section number changed...)
>=20
> ###
>=20
> 5.3.2.  Address Mimicking
>=20
>    Address mimicking occurs when an entity provides legitimate
>    authentication credentials for and sends XML stanzas from an account=

>    whose JID appears to a human user to be the same as another JID.  Fo=
r
>    example, in some XMPP clients the address "ju1iet@example.org"
>    (spelled with the number one as the third character of the localpart=
)
>    might appear to be the same as "juliet@example.org (spelled with the=

>    lower-case version of the letter "L"), especially on casual visual
>    inspection; this phenomenon is sometimes called "typejacking".  A
>    more sophisticated example of address mimicking might involve the us=
e
>    of characters from outside the US-ASCII range, such as the Cherokee
>    characters U+13DA U+13A2 U+13B5 U+13AC U+13A2 U+13AC U+13D2 instead
>    of the US-ASCII characters "STPETER".
>=20
>    In some examples of address mimicking, it is unlikely that the
>    average user could tell the difference between the real JID and the
>    fake JID.  (Indeed, there is no way to distinguish with full
>    certainty which is the fake JID and which is the real JID; in some
>    communication contexts, the JID with Cherokee characters might be th=
e
>    real JID and the JID with US-ASCII characters might thus appear to b=
e
>    the fake JID.)  Because JIDs can contain almost any Unicode
>    character, it can be relatively easy to mimic some JIDs in XMPP
>    systems.  The possibility of address mimicking introduces security
>    vulnerabilities of the kind that have also plagued the World Wide
>    Web, specifically the phenomenon known as phishing.
>=20
>    These problems arise because Unicode and ISO/IEC 10646 repertoires
>    have many characters that look similar (so-called "confusable
>    characters" or "confusables").  In many cases, users of security
>    protocols might perform visual matching, such as when comparing the
>    names of trusted third parties.  Because it is impossible to map
>    similar-looking characters without a great deal of context (such as
>    knowing the fonts used), stringprep and stringprep-based technologie=
s
>    such as Nameprep, Nodeprep, and Resourceprep do nothing to map
>    similar-looking characters together, nor do they prohibit some
>    characters because they look like others.  As a result, XMPP
>    localparts and resourceparts could contain confusable characters,
>    resulting in JIDs that appear to mimick other JIDs.  In particular:
>=20
>    o  A localpart can be employed as one part of an entity's address in=

>       XMPP.  One common usage is as the username of an instant messagin=
g
>       user; another is as the name of a multi-user chat room; and many
>       other kinds of entities could use localparts as part of their
>       addresses.  The security of such services could be compromised
>       based on different interpretations of the internationalized
>       localpart; for example, a user entering a single internationalize=
d
>       localpart could access another user's account information, or a
>       user could gain access to a hidden or otherwise restricted chat
>       room or service.
>=20
>    o  A resourcepart can be employed as one part of an entity's address=

>       in XMPP.  One common usage is as the name for an instant messagin=
g
>       user's connected resource; another is as the nickname of a user i=
n
>       a multi-user chat room; and many other kinds of entities could us=
e
>       resourceparts as part of their addresses.  The security of such
>       services could be compromised based on different interpretations
>       of the internationalized resourcepart; for example, a user could
>       attempt to initiate multiple connections with the same name, or a=

>       user could send a message to someone other than the intended
>       recipient in a multi-user chat room.
>=20
>    Despite the fact that some specific suggestions about identification=

>    and handling of confusable characters appear in the Unicode Security=

>    Considerations [UNICODE-SEC], it is also true (as noted in
>    [IDNA-DEFS]) that "there are no comprehensive technical solutions to=

>    the problems of confusable characters".  Mimicked JIDs that involve
>    characters from only one character set or from the character set
>    typically employed by a particular user are not easy to combat (e.g.=
,
>    the simple typejacking attack previously described, which relies on =
a
>    surface similarity between the characters "1" and "l" in some
>    presentations).  However, mimicked addresses that involve characters=

>    from more than one character set, or from a character set not
>    typically employed by a particular user, can be mitigated somewhat
>    through the application of appropriate registration policies at XMPP=

>    services and presentation policies in XMPP client software
>    implementations.  Therefore the following policies are encouraged:
>=20
>    1.  Because an XMPP service that allows registration of XMPP user
>        accounts (localparts) plays a role similar to that of a registry=

>        for DNS domain names, such a service SHOULD establish a policy
>        about the ranges of characters it will allow in localparts at th=
e
>        service.  Such a policy is likely to be informed by the language=
s
>        and the scripts that are used to write registered account names;=

>        in particular, to reduce confusion, the service MAY forbid
>        registration of XMPP localparts that contain characters from mor=
e
>        than one script and to restrict registrations to characters draw=
n
>        from a very small number of scripts (e.g., scripts that are well=
-
>        understood by the administrators of the service).  For related
>        considerations in the context of domain name registration, refer=

>        to Section 4.3 of [IDNA-PROTO] and Section 3.2 of
>        [IDNA-RATIONALE].  Note well that wethods for enforcing such
>        restrictions are out of scope for this document.
>=20
>    2.  Because every human user of an XMPP client presumably has a
>        preferred language (or, in some cases, a small set of preferred
>        languages), an XMPP client SHOULD gather that information either=

>        explicitly from the user or implicitly via the operating system
>        of the user's device.  Furthermore, because every language has a=

>        range (or a small set of ranges) of characters normally used to
>        represent that language in textual form, an XMPP client SHOULD
>        warn the user when presenting a JID that mixes characters from
>        more than one character set or that uses characters outside the
>        normal range of the user's preferred language(s).  This
>        recommendation is not intended to discourage communication acros=
s
>        language communities; instead, it recognizes the existence of
>        such language communities and encourages due caution when
>        presenting unfamiliar character sets to human users.
>=20
> ###

Sorry, folks, I wrote some of that in a hurry. On re-reading it I found
a few things that were not quite right. Also, I checked the terminology
against the Unicode spec, resulting in a few additional changes (e.g.,
"character set" to "script" and "range of characters" to "block").
Revised text follows.

###

6.3.2.  Address Mimicking

   Address mimicking occurs when an entity provides legitimate
   authentication credentials for and sends XML stanzas from an account
   whose JID appears to a human user to be the same as another JID.  For
   example, in some XMPP clients the address "ju1iet@example.org"
   (spelled with the number one as the third character of the localpart)
   might appear to be the same as "juliet@example.org (spelled with the
   lower-case version of the letter "L"), especially on casual visual
   inspection; this phenomenon is sometimes called "typejacking".  A
   more sophisticated example of address mimicking might involve the use
   of characters from outside the familiar Latin extended-A block of
   Unicode code points, such as the characters U+13DA U+13A2 U+13B5
   U+13AC U+13A2 U+13AC U+13D2 from the Cherokee block instead of the
   similar-looking US-ASCII characters "STPETER".

   In some examples of address mimicking, it is unlikely that the
   average user could tell the difference between the real JID and the
   fake JID.  (Indeed, there is no programmatic way to distinguish with
   full certainty which is the fake JID and which is the real JID; in
   some communication contexts, the JID formed of Cherokee characters
   might be the real JID and the JID formed of US-ASCII characters might
   thus appear to be the fake JID.)  Because JIDs can contain almost any
   properly-encoded Unicode code point, it can be relatively easy to
   mimic some JIDs in XMPP systems.  The possibility of address
   mimicking introduces security vulnerabilities of the kind that have
   also plagued the World Wide Web, specifically the phenomenon known as
   phishing.

   These problems arise because Unicode and ISO/IEC 10646 repertoires
   have many characters that look similar (so-called "confusable
   characters" or "confusables").  In many cases, XMPP users might
   perform visual matching, such as when comparing the JIDs of
   communication partners.  Because it is impossible to map similar-
   looking characters without a great deal of context (such as knowing
   the fonts used), stringprep and stringprep-based technologies such as
   Nameprep, Nodeprep, and Resourceprep do nothing to map similar-
   looking characters together, nor do they prohibit some characters
   because they look like others.  As a result, XMPP localparts and
   resourceparts could contain confusable characters, producing JIDs
   that appear to mimic other JIDs and thus leading to security
   vulnerabilities such as the following:

   o  A localpart can be employed as one part of an entity's address in
      XMPP.  One common usage is as the username of an instant messaging
      user; another is as the name of a multi-user chat room; and many
      other kinds of entities could use localparts as part of their
      addresses.  The security of such services could be compromised
      based on different interpretations of the internationalized
      localpart; for example, a user entering a single internationalized
      localpart could access another user's account information, or a
      user could gain access to a hidden or otherwise restricted chat
      room or service.

   o  A resourcepart can be employed as one part of an entity's address
      in XMPP.  One common usage is as the name for an instant messaging
      user's connected resource; another is as the nickname of a user in
      a multi-user chat room; and many other kinds of entities could use
      resourceparts as part of their addresses.  The security of such
      services could be compromised based on different interpretations
      of the internationalized resourcepart; for example, a user could
      attempt to bind multiple resources with the same name, or a user
      could send a message to someone other than the intended recipient
      in a multi-user chat room.

   Despite the fact that some specific suggestions about identification
   and handling of confusable characters appear in the Unicode Security
   Considerations [UNICODE-SEC], it is also true (as noted in
   [IDNA-DEFS]) that "there are no comprehensive technical solutions to
   the problems of confusable characters".  Mimicked JIDs that involve
   characters from only one script, or from the script typically
   employed by a particular user or community of language users, are not
   easy to combat (e.g., the simple typejacking attack previously
   described, which relies on a surface similarity between the
   characters "1" and "l" in some presentations).  However, mimicked
   addresses that involve characters from more than one script, or from
   a script not typically employed by a particular user or community of
   language users, can be mitigated somewhat through the application of
   appropriate registration policies at XMPP services and presentation
   policies in XMPP client software.  Therefore the following policies
   are encouraged:

   1.  Because an XMPP service that allows registration of XMPP user
       accounts (localparts) plays a role similar to that of a registry
       for DNS domain names, such a service SHOULD establish a policy
       about the scripts or blocks of characters it will allow in
       localparts at the service.  Such a policy is likely to be
       informed by the languages and scripts that are used to write
       registered account names; in particular, to reduce confusion, the
       service MAY forbid registration of XMPP localparts that contain
       characters from more than one script and to restrict
       registrations to characters drawn from a very small number of
       scripts (e.g., scripts that are well-understood by the
       administrators of the service).  For related considerations in
       the context of domain name registration, refer to Section 4.3 of
       [IDNA-PROTO] and Section 3.2 of [IDNA-RATIONALE].  Note well that
       methods for enforcing such restrictions are out of scope for this
       document.

   2.  Because every human user of an XMPP client presumably has a
       preferred language (or, in some cases, a small set of preferred
       languages), an XMPP client SHOULD gather that information either
       explicitly from the user or implicitly via the operating system
       of the user's device.  Furthermore, because most languages are
       typically represented by a single script (or a small set of
       scripts) and most scripts are typically contained in one or more
       blocks of characters, an XMPP client SHOULD warn the user when
       presenting a JID that mixes characters from more than one script
       or block, or that uses characters outside the normal range of the
       user's preferred language(s).  This recommendation is not
       intended to discourage communication across different communities
       of language users; instead, it recognizes the existence of such
       communities and encourages due caution when presenting unfamiliar
       scripts or characters to human users.

###

/psa




--------------ms090408090106000409070001
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/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H+RNDWOryR+ngcZ3S0GIeIAAAA
AAAA
--------------ms090408090106000409070001--

From stpeter@stpeter.im  Fri Oct 15 20:44:18 2010
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 409D33A6A3F for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 20:44:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.558
X-Spam-Level: 
X-Spam-Status: No, score=-102.558 tagged_above=-999 required=5 tests=[AWL=0.041, 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 zIGsQZ48Zatv for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 20:44:16 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 87DBB3A6B54 for <xmpp@ietf.org>; Fri, 15 Oct 2010 20:44:15 -0700 (PDT)
Received: from squire.local (dsl-228-91.dynamic-dsl.frii.net [216.17.228.91]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D2A0A40337; Fri, 15 Oct 2010 21:52:38 -0600 (MDT)
Message-ID: <4CB91FD7.4060801@stpeter.im>
Date: Fri, 15 Oct 2010 21:45:27 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <24655.1287173717.881056@puncture>
In-Reply-To: <24655.1287173717.881056@puncture>
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="------------ms090309030809070400070501"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sat, 16 Oct 2010 03:44:18 -0000

This is a cryptographically signed message in MIME format.

--------------ms090309030809070400070501
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 2:15 PM, Dave Cridland wrote:
> On Fri Oct 15 18:35:29 2010, Matthew Wild wrote:
>> The specs are, I think, largely silent on what the 'to' address should=

>> be on stanzas sent from the server to the client.
>=20
> Agreed - 8.1.1 talks about client-to-server and server-to-server, but
> not server-to-client.
>=20
>> 1) The spec says that if a stanza received from the client has no 'to'=

>> address then it is addressed to the user's "account". Prosody replies
>> to such stanzas without a 'from' address, to mirror the request. It
>> also doesn't stamp a 'to' on the stanza. Since these stanzas are never=

>> routed that seems superflous to me.
>=20
> We stamp with the full jid of the session - if it has one - on any
> stanza we generate to a client. Obviously with XEP-0078 responses,
> that's not the case - I think we don't stamp, but I'd have to check.
>=20
>=20
>> 2) When a stanza is received to the bare JID, should the 'to' address
>> be rewritten for the full JID of each session it gets delivered to? We=

>> don't rewrite.
>>
>>
> The spec sayeth thou SHALT NOT:
>=20
>   In all cases, the server MUST NOT rewrite the 'to' attribute (i.e.,
>   it MUST leave it as <user@domain> rather than change it to
>   <user@domain/resource>).
>=20
>=20
>> 3) Similarly, when a stanza comes in to a full JID for a resource that=

>> is not online, should we rewrite the 'to' to the bare JID?
>>
>>
> I was expecting this to be SHALT NOT again, but I can't find a similar
> paragraph to the above.

How about this?

###

8.1.1.1.  Client-to-Server Streams

   The following rules apply to inclusion of the 'to' attribute in
   stanzas sent from the client to the server over an XML stream
   qualified by the 'jabber:client' namespace.

   1.  A stanza with a specific intended recipient (e.g., a conversation
       partner, a remote service, the server itself, even another
       resource associated with the user's bare JID) MUST possess a 'to'
       attribute whose value is an XMPP address.

   2.  A stanza sent from a client to a server for direct processing by
       the server as described in [XMPP-IM] for rosters (e.g., presence
       sent to the server for broadcasting to other entities) MUST NOT
       possess a 'to' attribute.

   The following rules apply to inclusion of the 'to' attribute in
   stanzas sent from the server to the client over an XML stream
   qualified by the 'jabber:client' namespace.

   1.  If the server has received the stanza from another connected
       client or from another server, the server MUST NOT modify the
       'to' address before delivering the stanza to the client.

   2.  If the server has itself generated the stanza (e.g., a response
       to an IQ stanza of type "get" or "set", even if the stanza did
       not include a 'to' address), the stanza SHOULD include a 'to'
       address, which MUST be the full JID of the client.

###

/psa



--------------ms090309030809070400070501
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVB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HJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB5aiqgBETnth0+eqYSydt2FKvUI+ehLHz0a95upvpXdY9xTmvdhkzHLYjI
B1y0tvkaBZ5e14426RTpIXO/i9YVAgxdT5ZQT7Zxp8CAn8Iu+kqZ0uliSzq3WekRtJDUZMXo
f2DQUErKsEvs5zBIuuwotem+SjG5Gzg8zB1ljRg02CfdPQdh7MLoiuShFtwlp47zzgSPg09j
3e8IaUJfuf5WzH2m3huVOy0Wb9XFJWLfw6b5D2v28BshdWzio3EK1MzfjT/P1qznY5WJiGj1
fITzGvYvs5Z/Vreqk5c6GSS1HdN/6+VmPCoOFRr8YcDqaKdJgDK2mi9wEYiBAzAEknOEAAAA
AAAA
--------------ms090309030809070400070501--

From stpeter@stpeter.im  Fri Oct 15 20:59:23 2010
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 378BF3A6A7A for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 20:59:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.558
X-Spam-Level: 
X-Spam-Status: No, score=-102.558 tagged_above=-999 required=5 tests=[AWL=0.041, 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 W8MbH4SIzNah for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 20:59:22 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id F1B043A686A for <xmpp@ietf.org>; Fri, 15 Oct 2010 20:59:21 -0700 (PDT)
Received: from squire.local (dsl-251-156.dynamic-dsl.frii.net [216.17.251.156]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C449D40337 for <xmpp@ietf.org>; Fri, 15 Oct 2010 22:07:45 -0600 (MDT)
Message-ID: <4CB9236A.3080506@stpeter.im>
Date: Fri, 15 Oct 2010 22:00:42 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im> <4CB8C3FF.1050800@babelmonkeys.de>
In-Reply-To: <4CB8C3FF.1050800@babelmonkeys.de>
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="------------ms030204010308060404050805"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sat, 16 Oct 2010 03:59:23 -0000

This is a cryptographically signed message in MIME format.

--------------ms030204010308060404050805
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 3:13 PM, Florian Zeitz wrote:

>>> E.g. I have previously mentioned the social network that tells a clie=
nt
>>> one JID during resource binding, but uses a completely different one =
for
>>> everything else. If clients were to ignore the 'to' attribute this wo=
uld
>>> be valid (well doable) behavior and I personally think that's quite b=
ad.
>>> Also almost all clients utterly fail against that service (at least f=
or
>>> the roster get, not sure if we have text that causes this), so that
>>> change wouldn't be documenting the "status quo".
>>> It's probably sensible to define that stanzas that have a 'to' attrib=
ute
>>> where the bare portion of the JID matches MUST be handled.
>>
>> That seems reasonable, although I'm trying to come up with exceptions
>> and counter-examples so I think SHOULD might be enough.
>>
> That would be fine with me.

We don't have any text right now in 3920bis about client handling of
incoming stanzas. Currently we assume that the client trusts the server
to not deliver stanzas that are intended for another account. This
client checking of the 'to' address seems like a faux security measure
to me ("protecting" the client against stanzas that were originally
addressed a different authorized resource of the same account). Do we
really need to add some text saying "there's no need for the client to
check the 'to' address of stanzas it receives from the server"? I mean,
if your server is sending you malicious stanzas of some kind (which it
could easily do by rewriting every 'to' address anyway!), then you have
much bigger problems.

That said, I suppose we could add a short paragraph to the Security
Considerations about the extent to which the client can or should trust
the server.

Peter

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




--------------ms030204010308060404050805
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLE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iG
9w0BAQEFAASCAQByrHheCDXaM+/o9+nfnTnotbTbzATghIs2+c3W/xWIhiRWRh7kHocZx+jL
94RkclR3Er6CbXfSIeRc9MCnjTdEVS7njdHQts/1juRTM9Bbpvl+A/wldMUXYet9VFcOXMv2
CKa/95Ix1UlBzcXa00vi6Ca1SVK1IcyoQDpzYaL+YRWM8AgrY4ZdjOC36LMO4ZkV05iPOvzR
76jVAs4SeyckhwSGF+oprIgGYMLVZYGVrg47OpLGLw7RubHShv+WrZ0C9dx9yY0lPnutXY+i
5/lx3dZZ+Qsut2jucClwLzyU9Gw4Q2rtoEOnrWl5jVEudZTp2xmr1xnU/oWjOVITZTMbAAAA
AAAA
--------------ms030204010308060404050805--

From mwild1@gmail.com  Fri Oct 15 21:04:45 2010
Return-Path: <mwild1@gmail.com>
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 ADEFD3A6A7A for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:04:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 fxI0fZrz0B38 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:04:44 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 772D13A686A for <xmpp@ietf.org>; Fri, 15 Oct 2010 21:04:44 -0700 (PDT)
Received: by vws12 with SMTP id 12so729697vws.31 for <xmpp@ietf.org>; Fri, 15 Oct 2010 21:06:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=lIo4B+EfjwiXIsMhbiNVJXs8gilqCILTjBV5EjemDfs=; b=OONEKs/8uv1tcYuLYoHapJmVP8N+bjsRCJfiUp6WO16rvFSXA26/W0RtLu9EhjOAz7 MPFNfPeoKN0M9mDRkeIK2WJB599iCnMM+0/5fdz0EWKmfuvaRC641p4hgnMuT3/rGzRg LOXaDFejDyNIt4aFWcX4OWJP18hJUvV7H28TM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=JxG+FFU/YXLQow/vzgIBrhkjcjzG+d403+gOpxAR3M3vf6olCWqZzG1jsvJ2uhRQ72 3wg1C80TY+cKWGbHud02T4Yi6+MRtvsYLTQTWCvDYvJhxKEDQ1vZkw5OK/GDHYoTI3XQ j3CmLwhTShD99SO3rLZXdRuiOWmZ950Y74n0M=
Received: by 10.220.194.137 with SMTP id dy9mr190008vcb.242.1287201966970; Fri, 15 Oct 2010 21:06:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.207.66 with HTTP; Fri, 15 Oct 2010 21:05:46 -0700 (PDT)
In-Reply-To: <4CB91FD7.4060801@stpeter.im>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <24655.1287173717.881056@puncture> <4CB91FD7.4060801@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Sat, 16 Oct 2010 05:05:46 +0100
Message-ID: <AANLkTi=zQhzt+Jp2SU2-Bs-GHAwCHyyNcaaj-H+EU_Qb@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sat, 16 Oct 2010 04:04:45 -0000

I probably shouldn't be responding to emails at this time of the
night/morning, but here goes...

On 16 October 2010 04:45, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 10/15/10 2:15 PM, Dave Cridland wrote:
>> On Fri Oct 15 18:35:29 2010, Matthew Wild wrote:
>>> The specs are, I think, largely silent on what the 'to' address should
>>> be on stanzas sent from the server to the client.
>>
>> Agreed - 8.1.1 talks about client-to-server and server-to-server, but
>> not server-to-client.
>>
>>> 1) The spec says that if a stanza received from the client has no 'to'
>>> address then it is addressed to the user's "account". Prosody replies
>>> to such stanzas without a 'from' address, to mirror the request. It
>>> also doesn't stamp a 'to' on the stanza. Since these stanzas are never
>>> routed that seems superflous to me.
>>
>> We stamp with the full jid of the session - if it has one - on any
>> stanza we generate to a client. Obviously with XEP-0078 responses,
>> that's not the case - I think we don't stamp, but I'd have to check.
>>
>>
>>> 2) When a stanza is received to the bare JID, should the 'to' address
>>> be rewritten for the full JID of each session it gets delivered to? We
>>> don't rewrite.
>>>
>>>
>> The spec sayeth thou SHALT NOT:
>>
>> =C2=A0 In all cases, the server MUST NOT rewrite the 'to' attribute (i.e=
.,
>> =C2=A0 it MUST leave it as <user@domain> rather than change it to
>> =C2=A0 <user@domain/resource>).
>>
>>
>>> 3) Similarly, when a stanza comes in to a full JID for a resource that
>>> is not online, should we rewrite the 'to' to the bare JID?
>>>
>>>
>> I was expecting this to be SHALT NOT again, but I can't find a similar
>> paragraph to the above.
>
> How about this?
>
> ###
>
> 8.1.1.1. =C2=A0Client-to-Server Streams
>
> =C2=A0 The following rules apply to inclusion of the 'to' attribute in
> =C2=A0 stanzas sent from the client to the server over an XML stream
> =C2=A0 qualified by the 'jabber:client' namespace.
>
> =C2=A0 1. =C2=A0A stanza with a specific intended recipient (e.g., a conv=
ersation
> =C2=A0 =C2=A0 =C2=A0 partner, a remote service, the server itself, even a=
nother
> =C2=A0 =C2=A0 =C2=A0 resource associated with the user's bare JID) MUST p=
ossess a 'to'
> =C2=A0 =C2=A0 =C2=A0 attribute whose value is an XMPP address.
>
> =C2=A0 2. =C2=A0A stanza sent from a client to a server for direct proces=
sing by
> =C2=A0 =C2=A0 =C2=A0 the server as described in [XMPP-IM] for rosters (e.=
g., presence
> =C2=A0 =C2=A0 =C2=A0 sent to the server for broadcasting to other entitie=
s) MUST NOT
> =C2=A0 =C2=A0 =C2=A0 possess a 'to' attribute.
>
> =C2=A0 The following rules apply to inclusion of the 'to' attribute in
> =C2=A0 stanzas sent from the server to the client over an XML stream
> =C2=A0 qualified by the 'jabber:client' namespace.
>
> =C2=A0 1. =C2=A0If the server has received the stanza from another connec=
ted
> =C2=A0 =C2=A0 =C2=A0 client or from another server, the server MUST NOT m=
odify the
> =C2=A0 =C2=A0 =C2=A0 'to' address before delivering the stanza to the cli=
ent.
>

+1.

> =C2=A0 2. =C2=A0If the server has itself generated the stanza (e.g., a re=
sponse
> =C2=A0 =C2=A0 =C2=A0 to an IQ stanza of type "get" or "set", even if the =
stanza did
> =C2=A0 =C2=A0 =C2=A0 not include a 'to' address), the stanza SHOULD inclu=
de a 'to'
> =C2=A0 =C2=A0 =C2=A0 address, which MUST be the full JID of the client.
>

+0.5

I would rather we specify allowed behaviour than not, but I'm still
not convinced that including 'to' in these cases ought to be a SHOULD.
After all, this is completely superfluous information - the client
already knows its JID. I would rather it be treated more like the
'from' attribute, and implicitly the receiving client's full JID if
missing. Anyone with me?

Matthew

From stpeter@stpeter.im  Fri Oct 15 21:14:57 2010
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 516D53A6A11 for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:14:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.559
X-Spam-Level: 
X-Spam-Status: No, score=-102.559 tagged_above=-999 required=5 tests=[AWL=0.040, 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 wST9SI8LozMh for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:14:55 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C18993A6874 for <xmpp@ietf.org>; Fri, 15 Oct 2010 21:14:55 -0700 (PDT)
Received: from squire.local (dsl-251-156.dynamic-dsl.frii.net [216.17.251.156]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 7EBCD40337; Fri, 15 Oct 2010 22:23:19 -0600 (MDT)
Message-ID: <4CB92710.3040804@stpeter.im>
Date: Fri, 15 Oct 2010 22:16:16 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <24655.1287173717.881056@puncture> <4CB91FD7.4060801@stpeter.im> <AANLkTi=zQhzt+Jp2SU2-Bs-GHAwCHyyNcaaj-H+EU_Qb@mail.gmail.com>
In-Reply-To: <AANLkTi=zQhzt+Jp2SU2-Bs-GHAwCHyyNcaaj-H+EU_Qb@mail.gmail.com>
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="------------ms010807060306050307060708"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sat, 16 Oct 2010 04:14:57 -0000

This is a cryptographically signed message in MIME format.

--------------ms010807060306050307060708
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 10:05 PM, Matthew Wild wrote:
> I probably shouldn't be responding to emails at this time of the
> night/morning,=20

No, you SHOULD NOT!

> but here goes...
>=20
> On 16 October 2010 04:45, Peter Saint-Andre <stpeter@stpeter.im> wrote:=

>> On 10/15/10 2:15 PM, Dave Cridland wrote:
>>> On Fri Oct 15 18:35:29 2010, Matthew Wild wrote:
>>>> The specs are, I think, largely silent on what the 'to' address shou=
ld
>>>> be on stanzas sent from the server to the client.
>>>
>>> Agreed - 8.1.1 talks about client-to-server and server-to-server, but=

>>> not server-to-client.
>>>
>>>> 1) The spec says that if a stanza received from the client has no 't=
o'
>>>> address then it is addressed to the user's "account". Prosody replie=
s
>>>> to such stanzas without a 'from' address, to mirror the request. It
>>>> also doesn't stamp a 'to' on the stanza. Since these stanzas are nev=
er
>>>> routed that seems superflous to me.
>>>
>>> We stamp with the full jid of the session - if it has one - on any
>>> stanza we generate to a client. Obviously with XEP-0078 responses,
>>> that's not the case - I think we don't stamp, but I'd have to check.
>>>
>>>
>>>> 2) When a stanza is received to the bare JID, should the 'to' addres=
s
>>>> be rewritten for the full JID of each session it gets delivered to? =
We
>>>> don't rewrite.
>>>>
>>>>
>>> The spec sayeth thou SHALT NOT:
>>>
>>>   In all cases, the server MUST NOT rewrite the 'to' attribute (i.e.,=

>>>   it MUST leave it as <user@domain> rather than change it to
>>>   <user@domain/resource>).
>>>
>>>
>>>> 3) Similarly, when a stanza comes in to a full JID for a resource th=
at
>>>> is not online, should we rewrite the 'to' to the bare JID?
>>>>
>>>>
>>> I was expecting this to be SHALT NOT again, but I can't find a simila=
r
>>> paragraph to the above.
>>
>> How about this?
>>
>> ###
>>
>> 8.1.1.1.  Client-to-Server Streams
>>
>>   The following rules apply to inclusion of the 'to' attribute in
>>   stanzas sent from the client to the server over an XML stream
>>   qualified by the 'jabber:client' namespace.
>>
>>   1.  A stanza with a specific intended recipient (e.g., a conversatio=
n
>>       partner, a remote service, the server itself, even another
>>       resource associated with the user's bare JID) MUST possess a 'to=
'
>>       attribute whose value is an XMPP address.
>>
>>   2.  A stanza sent from a client to a server for direct processing by=

>>       the server as described in [XMPP-IM] for rosters (e.g., presence=

>>       sent to the server for broadcasting to other entities) MUST NOT
>>       possess a 'to' attribute.
>>
>>   The following rules apply to inclusion of the 'to' attribute in
>>   stanzas sent from the server to the client over an XML stream
>>   qualified by the 'jabber:client' namespace.
>>
>>   1.  If the server has received the stanza from another connected
>>       client or from another server, the server MUST NOT modify the
>>       'to' address before delivering the stanza to the client.
>>
>=20
> +1.
>=20
>>   2.  If the server has itself generated the stanza (e.g., a response
>>       to an IQ stanza of type "get" or "set", even if the stanza did
>>       not include a 'to' address), the stanza SHOULD include a 'to'
>>       address, which MUST be the full JID of the client.
>>
>=20
> +0.5
>=20
> I would rather we specify allowed behaviour than not, but I'm still
> not convinced that including 'to' in these cases ought to be a SHOULD.
> After all, this is completely superfluous information - the client
> already knows its JID. I would rather it be treated more like the
> 'from' attribute, and implicitly the receiving client's full JID if
> missing. Anyone with me?

It is indeed superflous information, so MAY is probably more appropriate:=


   2.  If the server has itself generated the stanza (e.g., a response
       to an IQ stanza of type "get" or "set", even if the stanza did
       not include a 'to' address), the stanza MAY include a 'to'
       address, which MUST be the full JID of the client; however, if
       the stanza does not include a 'to' address then the client MUST
       treat it as if the 'to' address were included with a value of
       the client's full JID.

Yes, no, maybe?

/psa


--------------ms010807060306050307060708
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrP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V8U6Eccu/oXW2L/2j+AqHspTNztC7PY/2Ja4LwIwAluqgRpHPl2ctAmAAAA
AAAA
--------------ms010807060306050307060708--

From mwild1@gmail.com  Fri Oct 15 21:19:22 2010
Return-Path: <mwild1@gmail.com>
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 390143A68BE for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 SURe+OY4MbVN for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:19:21 -0700 (PDT)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 2BA503A686A for <xmpp@ietf.org>; Fri, 15 Oct 2010 21:19:21 -0700 (PDT)
Received: by vws12 with SMTP id 12so736376vws.31 for <xmpp@ietf.org>; Fri, 15 Oct 2010 21:20:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=KHUA0RFeypYumcEYjNixDd5rXnR0rC/2qyWLmu0Mh/I=; b=w4FgAveTPH1kzlvHPOReIrW36IWqrwFvU7BHGeijMnnuTn8skyQDryjKQpUzyUg+qI cGv0w+wDzfYtsrsSq/sa1Gahc6KJHSe7mQEVjwrzZpU+g89BVeuyMpSAk5by6PNNf89l orxVm4JZeguDprQtCoG21SsX2T/nWz/ZA0xwA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=rGC7d7W2dhAZvqVh5ArTpdwP44jy/x+M1L1XWIx98mzMDqGQb2AxGufsT3isR22gMU MC+7D+lXqRmUvJNaJFC87VFno4lJMYP6VM2G5/KmHirndCLuhOnP0DenwSvjJMm7gxw8 joVRsVBgxAh5+uOG6FyS/hvurxAntq/84fb0k=
Received: by 10.220.189.137 with SMTP id de9mr204392vcb.75.1287202843725; Fri, 15 Oct 2010 21:20:43 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.207.66 with HTTP; Fri, 15 Oct 2010 21:20:23 -0700 (PDT)
In-Reply-To: <4CB92710.3040804@stpeter.im>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <24655.1287173717.881056@puncture> <4CB91FD7.4060801@stpeter.im> <AANLkTi=zQhzt+Jp2SU2-Bs-GHAwCHyyNcaaj-H+EU_Qb@mail.gmail.com> <4CB92710.3040804@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Sat, 16 Oct 2010 05:20:23 +0100
Message-ID: <AANLkTinsVUbWFto6h2V0d3S8qdUg+1dJcPVoBzYmiLtu@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sat, 16 Oct 2010 04:19:22 -0000

On 16 October 2010 05:16, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 10/15/10 10:05 PM, Matthew Wild wrote:
>> I probably shouldn't be responding to emails at this time of the
>> night/morning,
>
> No, you SHOULD NOT!
>
>> but here goes...
>>
>> On 16 October 2010 04:45, Peter Saint-Andre <stpeter@stpeter.im> wrote:
>>> On 10/15/10 2:15 PM, Dave Cridland wrote:
>>>> On Fri Oct 15 18:35:29 2010, Matthew Wild wrote:
>>>>> The specs are, I think, largely silent on what the 'to' address shoul=
d
>>>>> be on stanzas sent from the server to the client.
>>>>
>>>> Agreed - 8.1.1 talks about client-to-server and server-to-server, but
>>>> not server-to-client.
>>>>
>>>>> 1) The spec says that if a stanza received from the client has no 'to=
'
>>>>> address then it is addressed to the user's "account". Prosody replies
>>>>> to such stanzas without a 'from' address, to mirror the request. It
>>>>> also doesn't stamp a 'to' on the stanza. Since these stanzas are neve=
r
>>>>> routed that seems superflous to me.
>>>>
>>>> We stamp with the full jid of the session - if it has one - on any
>>>> stanza we generate to a client. Obviously with XEP-0078 responses,
>>>> that's not the case - I think we don't stamp, but I'd have to check.
>>>>
>>>>
>>>>> 2) When a stanza is received to the bare JID, should the 'to' address
>>>>> be rewritten for the full JID of each session it gets delivered to? W=
e
>>>>> don't rewrite.
>>>>>
>>>>>
>>>> The spec sayeth thou SHALT NOT:
>>>>
>>>> =C2=A0 In all cases, the server MUST NOT rewrite the 'to' attribute (i=
.e.,
>>>> =C2=A0 it MUST leave it as <user@domain> rather than change it to
>>>> =C2=A0 <user@domain/resource>).
>>>>
>>>>
>>>>> 3) Similarly, when a stanza comes in to a full JID for a resource tha=
t
>>>>> is not online, should we rewrite the 'to' to the bare JID?
>>>>>
>>>>>
>>>> I was expecting this to be SHALT NOT again, but I can't find a similar
>>>> paragraph to the above.
>>>
>>> How about this?
>>>

>>> =C2=A0 2. =C2=A0If the server has itself generated the stanza (e.g., a =
response
>>> =C2=A0 =C2=A0 =C2=A0 to an IQ stanza of type "get" or "set", even if th=
e stanza did
>>> =C2=A0 =C2=A0 =C2=A0 not include a 'to' address), the stanza SHOULD inc=
lude a 'to'
>>> =C2=A0 =C2=A0 =C2=A0 address, which MUST be the full JID of the client.
>>>
>>
>> +0.5
>>
>> I would rather we specify allowed behaviour than not, but I'm still
>> not convinced that including 'to' in these cases ought to be a SHOULD.
>> After all, this is completely superfluous information - the client
>> already knows its JID. I would rather it be treated more like the
>> 'from' attribute, and implicitly the receiving client's full JID if
>> missing. Anyone with me?
>
> It is indeed superflous information, so MAY is probably more appropriate:
>
> =C2=A0 2. =C2=A0If the server has itself generated the stanza (e.g., a re=
sponse
> =C2=A0 =C2=A0 =C2=A0 to an IQ stanza of type "get" or "set", even if the =
stanza did
> =C2=A0 =C2=A0 =C2=A0 not include a 'to' address), the stanza MAY include =
a 'to'
> =C2=A0 =C2=A0 =C2=A0 address, which MUST be the full JID of the client; h=
owever, if
> =C2=A0 =C2=A0 =C2=A0 the stanza does not include a 'to' address then the =
client MUST
> =C2=A0 =C2=A0 =C2=A0 treat it as if the 'to' address were included with a=
 value of
> =C2=A0 =C2=A0 =C2=A0 the client's full JID.
>
> Yes, no, maybe?
>

+another 0.5, thanks!

It must be a good sign when we're down to nit-picking on these trivialities=
 :)

Good night!

From stpeter@stpeter.im  Fri Oct 15 21:25:04 2010
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 0660D3A686A for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:25:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.559
X-Spam-Level: 
X-Spam-Status: No, score=-102.559 tagged_above=-999 required=5 tests=[AWL=0.040, 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 HGAI3NNOGltq for <xmpp@core3.amsl.com>; Fri, 15 Oct 2010 21:25:02 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B043C3A6A79 for <xmpp@ietf.org>; Fri, 15 Oct 2010 21:25:02 -0700 (PDT)
Received: from squire.local (dsl-251-156.dynamic-dsl.frii.net [216.17.251.156]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 887AA40337; Fri, 15 Oct 2010 22:33:26 -0600 (MDT)
Message-ID: <4CB9296F.1020707@stpeter.im>
Date: Fri, 15 Oct 2010 22:26:23 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <24655.1287173717.881056@puncture> <4CB91FD7.4060801@stpeter.im> <AANLkTi=zQhzt+Jp2SU2-Bs-GHAwCHyyNcaaj-H+EU_Qb@mail.gmail.com> <4CB92710.3040804@stpeter.im> <AANLkTinsVUbWFto6h2V0d3S8qdUg+1dJcPVoBzYmiLtu@mail.gmail.com>
In-Reply-To: <AANLkTinsVUbWFto6h2V0d3S8qdUg+1dJcPVoBzYmiLtu@mail.gmail.com>
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="------------ms040202080105040200080503"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sat, 16 Oct 2010 04:25:04 -0000

This is a cryptographically signed message in MIME format.

--------------ms040202080105040200080503
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/15/10 10:20 PM, Matthew Wild wrote:
> On 16 October 2010 05:16, Peter Saint-Andre <stpeter@stpeter.im> wrote:=

>> On 10/15/10 10:05 PM, Matthew Wild wrote:
>>> I probably shouldn't be responding to emails at this time of the
>>> night/morning,
>>
>> No, you SHOULD NOT!
>>
>>> but here goes...
>>>
>>> On 16 October 2010 04:45, Peter Saint-Andre <stpeter@stpeter.im> wrot=
e:
>>>> On 10/15/10 2:15 PM, Dave Cridland wrote:
>>>>> On Fri Oct 15 18:35:29 2010, Matthew Wild wrote:
>>>>>> The specs are, I think, largely silent on what the 'to' address sh=
ould
>>>>>> be on stanzas sent from the server to the client.
>>>>>
>>>>> Agreed - 8.1.1 talks about client-to-server and server-to-server, b=
ut
>>>>> not server-to-client.
>>>>>
>>>>>> 1) The spec says that if a stanza received from the client has no =
'to'
>>>>>> address then it is addressed to the user's "account". Prosody repl=
ies
>>>>>> to such stanzas without a 'from' address, to mirror the request. I=
t
>>>>>> also doesn't stamp a 'to' on the stanza. Since these stanzas are n=
ever
>>>>>> routed that seems superflous to me.
>>>>>
>>>>> We stamp with the full jid of the session - if it has one - on any
>>>>> stanza we generate to a client. Obviously with XEP-0078 responses,
>>>>> that's not the case - I think we don't stamp, but I'd have to check=
=2E
>>>>>
>>>>>
>>>>>> 2) When a stanza is received to the bare JID, should the 'to' addr=
ess
>>>>>> be rewritten for the full JID of each session it gets delivered to=
? We
>>>>>> don't rewrite.
>>>>>>
>>>>>>
>>>>> The spec sayeth thou SHALT NOT:
>>>>>
>>>>>   In all cases, the server MUST NOT rewrite the 'to' attribute (i.e=
=2E,
>>>>>   it MUST leave it as <user@domain> rather than change it to
>>>>>   <user@domain/resource>).
>>>>>
>>>>>
>>>>>> 3) Similarly, when a stanza comes in to a full JID for a resource =
that
>>>>>> is not online, should we rewrite the 'to' to the bare JID?
>>>>>>
>>>>>>
>>>>> I was expecting this to be SHALT NOT again, but I can't find a simi=
lar
>>>>> paragraph to the above.
>>>>
>>>> How about this?
>>>>
>=20
>>>>   2.  If the server has itself generated the stanza (e.g., a respons=
e
>>>>       to an IQ stanza of type "get" or "set", even if the stanza did=

>>>>       not include a 'to' address), the stanza SHOULD include a 'to'
>>>>       address, which MUST be the full JID of the client.
>>>>
>>>
>>> +0.5
>>>
>>> I would rather we specify allowed behaviour than not, but I'm still
>>> not convinced that including 'to' in these cases ought to be a SHOULD=
=2E
>>> After all, this is completely superfluous information - the client
>>> already knows its JID. I would rather it be treated more like the
>>> 'from' attribute, and implicitly the receiving client's full JID if
>>> missing. Anyone with me?
>>
>> It is indeed superflous information, so MAY is probably more appropria=
te:
>>
>>   2.  If the server has itself generated the stanza (e.g., a response
>>       to an IQ stanza of type "get" or "set", even if the stanza did
>>       not include a 'to' address), the stanza MAY include a 'to'
>>       address, which MUST be the full JID of the client; however, if
>>       the stanza does not include a 'to' address then the client MUST
>>       treat it as if the 'to' address were included with a value of
>>       the client's full JID.
>>
>> Yes, no, maybe?
>>
>=20
> +another 0.5, thanks!

Let's see...

  0.5
+ 0.5
=3D 1.0

> It must be a good sign when we're down to nit-picking on these triviali=
ties :)

It's a sign that we're obsessive about XMPP. Perhaps that's not a good
thing. ;-)

> Good night!

Isn't it almost morning for you?!?

Peter

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


--------------ms040202080105040200080503
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGcPo
98K4TJf8FHo+UA9EOVDp/W7fCqKT4sXk/XkCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7iZySlyShhEcCy3T8LvSs3D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xAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQABfuqsgj9G1EYUr1pL2lqljblldxyL41xkRP6SC3qhkqbwO/SjnhTqYR1q
dhl+t8sBW221abRB/kJBvtky6H3s8TLqeIWYgn6Iz/xs1nKOb6RwSswR/Ec27n7kdB3U0sS/
bbsFWg5WSZubN9//ClS00qzVlc2lRR3HPL7FBNlfimrCQyjMur7l6SVqbggbXAsC84lWCRjO
O5FkXsigjBcOGdvM7DiaVTSFKx9oJsPb7XAvX/6c84Ck4LeRvuEPkb21ng+HKIP/hffv+Rt4
R2w+y/GVk5OwzU1Hqc16H4UveEuv5Kv/6pb8h309mB91TqqhCcH8fFfItxKx+7IOH1zbAAAA
AAAA
--------------ms040202080105040200080503--

From florob@babelmonkeys.de  Sat Oct 16 05:17:06 2010
Return-Path: <florob@babelmonkeys.de>
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 AFE3D3A68B1 for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 05:17:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.817
X-Spam-Level: 
X-Spam-Status: No, score=-1.817 tagged_above=-999 required=5 tests=[AWL=0.432,  BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 8SYhhvrAPCPB for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 05:17:05 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 8F0673A6BF2 for <xmpp@ietf.org>; Sat, 16 Oct 2010 05:17:05 -0700 (PDT)
Received: from xdsl-81-173-169-27.netcologne.de ([81.173.169.27] helo=[192.168.0.38]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1P75iV-0006OT-SN for xmpp@ietf.org; Sat, 16 Oct 2010 14:18:27 +0200
Message-ID: <4CB9980D.8020602@babelmonkeys.de>
Date: Sat, 16 Oct 2010 14:18:21 +0200
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de> <4CB9236A.3080506@stpeter.im>
In-Reply-To: <4CB9236A.3080506@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sat, 16 Oct 2010 12:17:06 -0000

Am 16.10.2010 06:00, schrieb Peter Saint-Andre:
> On 10/15/10 3:13 PM, Florian Zeitz wrote:
> 
>>>> E.g. I have previously mentioned the social network that tells a client
>>>> one JID during resource binding, but uses a completely different one for
>>>> everything else. If clients were to ignore the 'to' attribute this would
>>>> be valid (well doable) behavior and I personally think that's quite bad.
>>>> Also almost all clients utterly fail against that service (at least for
>>>> the roster get, not sure if we have text that causes this), so that
>>>> change wouldn't be documenting the "status quo".
>>>> It's probably sensible to define that stanzas that have a 'to' attribute
>>>> where the bare portion of the JID matches MUST be handled.
>>>
>>> That seems reasonable, although I'm trying to come up with exceptions
>>> and counter-examples so I think SHOULD might be enough.
>>>
>> That would be fine with me.
> 
> We don't have any text right now in 3920bis about client handling of
> incoming stanzas. Currently we assume that the client trusts the server
> to not deliver stanzas that are intended for another account. This
> client checking of the 'to' address seems like a faux security measure
> to me ("protecting" the client against stanzas that were originally
> addressed a different authorized resource of the same account). Do we
> really need to add some text saying "there's no need for the client to
> check the 'to' address of stanzas it receives from the server"? I mean,
> if your server is sending you malicious stanzas of some kind (which it
> could easily do by rewriting every 'to' address anyway!), then you have
> much bigger problems.
> 
My concern was actually different. A client developer could guess that
it's "okay" to check the 'to' address (for whatever reason). After
having slept over it I'm actually convinced that it is in fact safe to
ignore this. However that you *have to* ignore it (or at least not check
against the full JID) is not entirely clear IMHO.
The text proposed in the other branch of this thread addresses this to
some extent (albeit implicitly).
However if people are writing bug reports against servers about this it
might be worth a Implemenation Note.

--
Florian Zeitz

From jehan.marmottard@gmail.com  Sat Oct 16 06:35:23 2010
Return-Path: <jehan.marmottard@gmail.com>
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 165853A6ADB for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 06:35:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.189
X-Spam-Level: 
X-Spam-Status: No, score=-2.189 tagged_above=-999 required=5 tests=[AWL=0.110,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 MUcKYdLBNyXw for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 06:35:21 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id A0EFC3A69F0 for <xmpp@ietf.org>; Sat, 16 Oct 2010 06:35:14 -0700 (PDT)
Received: by iwn10 with SMTP id 10so2370813iwn.31 for <xmpp@ietf.org>; Sat, 16 Oct 2010 06:36:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tvHg46A50Izwu0J5jiXmJc53r+hb3LFVRicF/kzEhOI=; b=HBZw/vyacZoVtkE+hL21H5B99y1O2LOnBiml61nrtv3SpVSRElIcUuZYJBAvHVS53D DFtRjcUJaRN0sq34z/9P4tVYIdHh9bCqomv195gmslIOvybhR982k8Hs/Vler2+GYTlE Wh24e5qAt3BVEhyw6xveeDVM2yOJr7I6YrQgk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=cqci2C7NtzaW17Nw531tJ3cxkToCrj+Iefh+6gCW+uIztctl2LyJBgv0VgczOPq+x/ pDtDjc7gKvscDglNIn1tBhYVQh5g9ZKOd7vCCMSibUcnHQ0JNqEE2yqORrl8eWB9Xw64 Ikt7GO61PzzCxr2946c4cHnJor1YPD9LJr7lU=
MIME-Version: 1.0
Received: by 10.42.208.146 with SMTP id gc18mr1327314icb.468.1287236198186; Sat, 16 Oct 2010 06:36:38 -0700 (PDT)
Received: by 10.231.85.147 with HTTP; Sat, 16 Oct 2010 06:36:38 -0700 (PDT)
In-Reply-To: <4CB8C2FD.50907@stpeter.im>
References: <20101007150009.11182.13606.idtracker@localhost> <AANLkTinjcXL28AgB0gGYoqwz-qsdVM+JzRF_aqMr6-W7@mail.gmail.com> <4CB8C2FD.50907@stpeter.im>
Date: Sat, 16 Oct 2010 22:36:38 +0900
Message-ID: <AANLkTimVJRj_Peb1mH3nbmv5=4wvSG5RA5ZMZ-52U=R8@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-3920bis-17.txt> (Extensible Messaging and Presence Protocol (XMPP): Core) to Proposed Standard
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: Sat, 16 Oct 2010 13:35:23 -0000

Hi,

On Sat, Oct 16, 2010 at 6:09 AM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 10/15/10 10:02 AM, Jehan Pag=E8s wrote:
>
>> 1) 3.2.4 Use of SRV Records with Add-On Services
>>
>> =AB If an entity from a remote domain wishes to use such add-on
>> services, it would generate an appropriate XML stanza and the remote
>> domain itself would attempt to resolve the service's hostname via an
>> SRV lookup on resource records such as
>> "_xmpp-server._tcp.conference.example.net." or "_xmpp-
>> server._tcp.muc.example.com.". =BB
>>
>> "remote domain" should be replaced by "remote server" (or remote
>> service), at least in the second instance: "the remote server itself
>> would attempt to resolve the service hostname". Because a "domain"
>> does not resolve another domain (but a server does, or more
>> "abstractly" a service does, but really "domain" is just technically
>> wrong).
>
> It's a small point, but you're right.
>
>> It could be then:
>>
>> =AB If an entity from a remote domain wishes to use such add-on
>> services, it would generate an appropriate XML stanza and the
>> associated remote server itself would attempt to resolve the
>> service's hostname via an SRV lookup on resource records such as
>> "_xmpp-server._tcp.conference.example.net." or "_xmpp-
>> server._tcp.muc.example.com.". =BB
>
> I now have:
>
> =A0 If an entity associated with a remote
> =A0 XMPP server wishes to use such an add-on service, it would generate
> =A0 an appropriate XML stanza and the remote server would attempt to
> =A0 resolve the add-on service's DNS domain name via an SRV lookup on
> =A0 resource records such as "_xmpp-server._tcp.conference.example.net."
> =A0 or "_xmpp-server._tcp.muc.example.com.".
>

Nice.

>> 2) Moreover the plural is used "add-on services", then singular:
>> "service's hostname". So if I remember correctly my English lessons
>> from school (at least for this, I think I do), it should be
>> "services' hostnames" (should "hostname" be pluralized as well?), or
>> else our example is about one service: "use such add-on service".
>>
>> (sorry for this non-technical one)
>
> Fixed.
>

Indeed.

>> 3) 4.1 Streams Overview
>>
>> The streams are represented as unidirectional so the initial stream
>> and the response stream (even though they actually typically use the
>> same tcp connection) are considered as separate. As explained for
>> instance by this text:
>>
>> =AB The initial stream enables unidirectional communication from the
>> initiating entity to the receiving entity; in order to enable
>> exchange of stanzas from the receiving entity to the initiating
>> entity, the receiving entity MUST negotiate a stream in the opposite
>> direction (the "response stream"). =BB
>>
>> But the "Figure 2: A Simplified Stream" shows stanzas from both the
>> initial and response stream (as we can read an iq with to=3D"bar" and
>> another with from=3D"bar"). So this figure (even though "simplified")
>> contradicts the 2-stream model and should be adapted.
>
> Sure, I've cleaned up the ASCII art to show two streams...
>
> ###
>
> =A0 In essence, then, one XML stream functions as an envelope for the XML
> =A0 stanzas sent during a session and another XML stream functions as an
> =A0 envelope for the XML stanzas received during a session. =A0We can
> =A0 represent this in a simplistic fashion as follows.
>
> =A0 +--------------------+--------------------+
> =A0 | INITIAL STREAM =A0 =A0 | =A0RESPONSE STREAM =A0 |
> =A0 +--------------------+--------------------+
> =A0 | <stream> =A0 =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 |--------------------|--------------------|
> =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| <stream> =A0 =A0 =A0 =A0 =
=A0 |
> =A0 |--------------------|--------------------|
> =A0 | <presence> =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 | =A0 <show/> =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0|
> =A0 | </presence> =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 |--------------------|--------------------|
> =A0 | <message to=3D'foo'> | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0|
> =A0 | =A0 <body/> =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0|
> =A0 | </message> =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 |--------------------|--------------------|
> =A0 | <iq to=3D'bar' =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 | =A0 =A0 type=3D'get'> =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 | =A0 <query/> =A0 =A0 =A0 =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 | </iq> =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0|
> =A0 |--------------------|--------------------|
> =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| <iq from=3D'bar' =A0 =A0 |
> =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 type=3D'result'> |
> =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| =A0 <query/> =A0 =A0 =A0 =
=A0 |
> =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| </iq> =A0 =A0 =A0 =A0 =A0 =
=A0 =A0|
> =A0 |--------------------|--------------------|
> =A0 | [ ... ] =A0 =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0|
> =A0 |--------------------|--------------------|
> =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| [ ... ] =A0 =A0 =A0 =A0 =
=A0 =A0|
> =A0 |--------------------|--------------------|
> =A0 | </stream> =A0 =A0 =A0 =A0 =A0| =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0|
> =A0 |--------------------|--------------------|
> =A0 | =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0| </stream> =A0 =A0 =A0 =A0 =
=A0|
> =A0 +--------------------+--------------------+
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Figure 2: A Simplistic View of Two Streams
>
>
> ###
>

Seems good to me.

>> 4) 9.2 Server-to-Server Examples
>>
>> =AB Note how Server1 declares the content namespace "jabber: server" as
>> the default namespace and prefixes for stream-related elements,
>> whereas Server2 uses prefix-free canonicalization. =BB
>>
>> But, in "4.7.2 Content Namespace" has been edicted the rule: =AB (2)
>> the content namespace MUST be the same for the initial stream and
>> the response stream so that both streams are qualified consistently
>> =BB
>>
>> So it is contradictory to me, unless we meant that IF the response
>> stream uses also the content namespace, it must be the same, but it
>> MAY still use the prefix-free canonicalization instead. Anyway
>> something is unclear and has to be fixed somewhere.
>
> Yes, "if". That's what 4.7.2 already says:
>
> =A0 An entity MAY declare a "content namespace" as the default namespace
> =A0 for data sent over the stream (i.e., data other than elements
> =A0 qualified by the streams namespace). =A0If so, (1) the content
> =A0 namespace MUST be other than the streams namespace, and (2) the
> =A0 content namespace MUST be the same for the initial stream and the
> =A0 response stream so that both streams are qualified consistently.
>
> The first two words of the second sentence are "If so, ..."
>
>> For the fix, if it was depending only on me, I would remove this
>> rule (2) in 4.7.2 and not change the example of section 9.2, because
>> the reality is that most (any?) XMPP implementation nowadays uses
>> real XML parsers keeping memory of namespace contexts (and if not, I
>> would advise they should) and won't get lost anyway by different
>> entities using different namespace default/declaration, etc. So the
>> example in 9.2 should be anyway no problem for nowaydays servers... I
>> hope. For me all our rules for namespace-prefix specific naming, and
>> default, etc. are just silly (but we already had this discussion. I
>> just wanted to write it again to mark my point. Maybe after some
>> years, more and more people will agree to this. :p). But if you
>> prefer, you can also change the example. Or else there is no
>> contradiction, hence I will read with great pleasure the explanation.
>> :-)
>
> See above.
>

Hum... Ok. That still looks strange to me, but probably is it only me.
:-) Fine for me anyway.

Thanks.

Jehan

From jehan.marmottard@gmail.com  Sat Oct 16 06:57:16 2010
Return-Path: <jehan.marmottard@gmail.com>
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 5BEB03A6ADC for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 06:57:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.898
X-Spam-Level: 
X-Spam-Status: No, score=-2.898 tagged_above=-999 required=5 tests=[AWL=0.801,  BAYES_00=-2.599, GB_I_LETTER=-2, J_CHICKENPOX_23=0.6, MIME_8BIT_HEADER=0.3]
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 izkOHPpkAvOa for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 06:57:15 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id CF2153A6AA7 for <xmpp@ietf.org>; Sat, 16 Oct 2010 06:57:14 -0700 (PDT)
Received: by iwn10 with SMTP id 10so2390514iwn.31 for <xmpp@ietf.org>; Sat, 16 Oct 2010 06:58:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9ZJwSGHGR0HSxCu5rpkes8+cdLZcSF6lDUHwmjvTMgc=; b=Xun8NmmShesQcjXKwgqPalLGnMZoiC+Pjwy89nKNyvTTSIsFujbl/DSq0U6SXlL+hJ x3FflGrC3sfX4v9cpCY4ocvo6zIkfJPhxhu6bmYplvbk1Kt2OOUJDBlh4JOPzJ1T9I0u cASPDMxXlHdBu/OxZtdwtva36Wl/ruKvWeN94=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=bfrniTZ5BtSQdou0FR2zDbRQ/LasZY3vpiLtsK/jFh1xelRA9eROhYk2thJEvBD9WK 5ySGD/aFFmIser2i9YrE4co/BQuEVuVe6yipKwNMr8uawLHgLrJ//3CnZpvg1iK8sH8b yilqPAjkCtOwdq9NOARP/kT+yLObpEBOdsbp8=
MIME-Version: 1.0
Received: by 10.42.216.129 with SMTP id hi1mr1424425icb.399.1287237514177; Sat, 16 Oct 2010 06:58:34 -0700 (PDT)
Received: by 10.231.85.147 with HTTP; Sat, 16 Oct 2010 06:58:34 -0700 (PDT)
In-Reply-To: <4CB885CE.2070905@stpeter.im>
References: <20101007150327.9457.67111.idtracker@localhost> <AANLkTi=AtJwPcKEeHZbQGTooJU0MqBo58iH3-pYP3Bh4@mail.gmail.com> <4CB885CE.2070905@stpeter.im>
Date: Sat, 16 Oct 2010 22:58:34 +0900
Message-ID: <AANLkTin+0J7E1ot68Oxvg4x8t8GBj585TnsmyOHLmi1r@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, XMPP <xmpp@ietf.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] Last Call: <draft-ietf-xmpp-address-05.txt> (Extensible Messaging and Presence Protocol (XMPP): Address Format) to Proposed Standard
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: Sat, 16 Oct 2010 13:57:16 -0000

Hi,

On Sat, Oct 16, 2010 at 1:48 AM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 10/15/10 8:36 AM, Jehan Pag=C3=A8s wrote:
>> To remain consistent in the naming, "<domain/resource>" should be
>> replaced by <domainpart/resourcepart> and <localpart@domain/resource>
>> by <localpart@domainpart/resourcepart>.
>
> Good catch. I also found some instances (in 3920bis and 3921bis) of
> domain/resource, domainpart/resource, node@domain, etc. Fixed in all case=
s.
>

Cool.

>> 2) 4.3 Confusable characters
>>
>> =C2=AB
>> =C2=A0 A localpart can be employed as one part of an entity's address in
>> =C2=A0 =C2=A0XMPP. =C2=A0One common usage is as the username of an insta=
nt messaging
>> =C2=A0 =C2=A0user; another is as the name of a multi-user chat room; and=
 many
>> =C2=A0 =C2=A0other kinds of entities could use localparts as part of the=
ir
>> =C2=A0 =C2=A0addresses. =C2=A0The security of such services could be com=
promised based
>> =C2=A0 =C2=A0on different interpretations of the internationalized local=
part; for
>> =C2=A0 =C2=A0example, a user entering a single internationalized localpa=
rt could
>> =C2=A0 =C2=A0access another user's account information, or a user could =
gain
>> =C2=A0 =C2=A0access to a hidden or otherwise restricted chat room or ser=
vice.
>> =C2=BB
>>
>> I don't really get the example. How can anyone access another user's
>> account information (or a hidden/restricted chat room) by using
>> internationalized characters?
>
> If a malicious application could fool you into thinking that "a" (U+0061
> =3D LATIN SMALL LETTER A) and "=D0=B0" (U+0430 =3D CYRILLIC SMALL LETTER =
A) are
> the same thing, then it is possible that you could be misdirected to an
> account other than jehan@pages.fr or whatever.
>

Ok so basically a derived usage of address mimicking.

>> =C2=AB
>> =C2=A0 =C2=A0A resourcepart can be employed as one part of an entity's a=
ddress in
>> =C2=A0 =C2=A0XMPP. =C2=A0One common usage is as the name for an instant =
messaging
>> =C2=A0 =C2=A0user's connected resource; another is as the nickname of a =
user in a
>> =C2=A0 =C2=A0multi-user chat room; and many other kinds of entities coul=
d use
>> =C2=A0 =C2=A0resourceparts as part of their addresses. =C2=A0The securit=
y of such
>> =C2=A0 =C2=A0services could be compromised based on different interpreta=
tions of
>> =C2=A0 =C2=A0the internationalized resourcepart; for example, a user cou=
ld attempt
>> =C2=A0 =C2=A0to initiate multiple connections with the same name, or a u=
ser could
>> =C2=A0 =C2=A0send a message to someone other than the intended recipient=
 in a
>> =C2=A0 =C2=A0multi-user chat room.
>> =C2=BB
>>
>> This too, what do you mean multiple connections with the same name?
>> That's the point (or at least one of the points) of the resourcepart:
>> having multiple connection possible with a single bare JID. Unless you
>> mean that several full JID might "LOOK" similar (while they are not,
>> because using different characters but with a very similar graphical
>> representation?), so speaking of JID mimicking.
>
> Exactly.
>
> The resourcepart of jdev@conference.jabber.org/jehan uses all ASCII
> characters.
>
> The resourcepart of jdev@conference.jabber.org/jeh=D0=B0n uses Cyrillic
> characters for the vowels.
>
> Now I try to send a private message to you in the jdev room, but I
> choose the occupant with a resourcepart containing Cyrillic vowels.
>
> It could be a problem, no?
>
>> Actually the use of
>> "name" here is not very precise. What do we call a "name" in this RFC?
>> We deal with localpart/domainpart/resourcepart forming JIDs, not with
>> "names".
>
> People often use addresses to name things, such as the "jehan" occupant
> of the jdev chatroom.
>
>> Anyway I think this would deserve better text...
>
> Proposed text is always welcome. Personally I don't see a problem with
> the current text, so I'm not going to propose any changes.

Ok. I saw there was other answer-email changing this section, so I
will look at them first and see if I still want to propose other text
for this specific part. :-)

>
>> 3) The next section "4.4 Address Spoofing" could be merged with the
>> previous "4.3 Confusable characters", don't you think? In particular
>> with "4.4.2 Address Mimicking" because the issue of confusable
>> characters is about mimicking addresses. Or is there any other
>> security issue with confusable characters (maybe related to the
>> examples I did not get in my previous point, when it was written it
>> could be used to access user's information or hidden chatroom...)?
>
> There might be some overlap between the two sections. I'll look at them
> in more depth over the weekend.

Yes I saw the other emails answer this more deeply. I will have a look at t=
hat.

>> 4) 4.4.2 Address Mimicking
>>
>> I have nothing against paypal but that's still an existing company.
>> Couldn't we use some more neutral name than paypal@example.org for our
>> mimicked JID example?
>
> It is a very common example when people talk about typejacking.

Ok. Just to say.

>>
>> To keep the same l/1 example, any name with 'l' inside will make it:
>> Alice@example.org/A1ice@example.org.
>
> I see no problem with the example, but I can change it to ju1iet instead
> (Alice is so boring).

Juliet works fine with me (though she speaks endlessly about this
"Romeo". That's annoying too ;-).

>> We don't have the "company dedicated to transfer money" example, but I
>> guess implementers know and understand all the possible uses of
>> address mimicking (this one and all the others), and we can still add
>> an explicit note to explain how important this is.
>
> I see no need for such a note.
>

Me neither really. No prob then.

>> 5) Still 4.4.2 Address Mimicking:
>>
>> The recommendation to XMPP applications to present differently =C2=ABJID
>> that mixes characters from more than one character set or that uses
>> characters outside the normal range of the user's preferred
>> language(s)=C2=BB is good. I think we could add a second recommendation
>> intended to XMPP service providers though.
>>
>> We could advise them than they should make limitations to their
>> authorized character sets (or the possibilities of mixing them) in the
>> localpart/resourcepart when it is relevant to their service context.
>> For instance a French-only service would be wise to allow only
>> characters in the French character set (or more globally occidental
>> character sets) because if the whole service is only in French, they
>> are not likely to get users using Asian (or whatever else) characters.
>> Or allowing everything (for very international XMPP services) but not
>> authorizing character set mixes (or only some kind of mixes which can
>> be relevant) in order to avoid one type of mimicking we wrote about.
>> Etc.
>>
>> Basically a XMPP service provider should take the security
>> responsability on their part of the network (which is
>> localpart/resourcepart) that Top Level Domains also deal with (not all
>> unfortunately) for domain names (domainpart). Of course when relevant.
>>
>> I remember we had a talk about making a XEP detailing such possible
>> recommendations and how to limit known security issues (in particular
>> using all the knowledge of previous bad experience that the Internet,
>> and the Web in particular, has had) but we can already make a generic
>> recommendation about this in xmpp-address (and we can later link to
>> the detailed XEP as well when this one is written).
>
> Well, as I said during the previous discussion, an XMPP server
> deployment that allows registration of new accounts serves a function
> similar to a DNS domain name registry or DNS zone administrator, so it
> might be appropriate to adapt some text from Section 4.3 of RFC 5891 and
> Section 3.2 of RFC 5894. Another weekend task. :)

I saw you made answer-emails related to that. I will have a look at them so=
on.

>> That's all I see for now.
>
> Thanks for the continued feedback.
>

You are welcome. That's also for myself. ;-)
Thanks also for the feedback processing. ;-)

Jehan

From stpeter@stpeter.im  Sat Oct 16 19:10:57 2010
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 B31843A68D5 for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 19:10:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.56
X-Spam-Level: 
X-Spam-Status: No, score=-102.56 tagged_above=-999 required=5 tests=[AWL=0.039, 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 ceYcVvlpLVHU for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 19:10:32 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 62EA13A6856 for <xmpp@ietf.org>; Sat, 16 Oct 2010 19:10:31 -0700 (PDT)
Received: from squire.local (dsl-251-156.dynamic-dsl.frii.net [216.17.251.156]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 223CC400EE for <xmpp@ietf.org>; Sat, 16 Oct 2010 20:19:02 -0600 (MDT)
Message-ID: <4CBA5B6A.10809@stpeter.im>
Date: Sat, 16 Oct 2010 20:11:54 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de>	<4CB9236A.3080506@stpeter.im> <4CB9980D.8020602@babelmonkeys.de>
In-Reply-To: <4CB9980D.8020602@babelmonkeys.de>
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="------------ms050609000200060405070902"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 02:10:57 -0000

This is a cryptographically signed message in MIME format.

--------------ms050609000200060405070902
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/16/10 6:18 AM, Florian Zeitz wrote:
> Am 16.10.2010 06:00, schrieb Peter Saint-Andre:
>> On 10/15/10 3:13 PM, Florian Zeitz wrote:
>>
>>>>> E.g. I have previously mentioned the social network that tells a cl=
ient
>>>>> one JID during resource binding, but uses a completely different on=
e for
>>>>> everything else. If clients were to ignore the 'to' attribute this =
would
>>>>> be valid (well doable) behavior and I personally think that's quite=
 bad.
>>>>> Also almost all clients utterly fail against that service (at least=
 for
>>>>> the roster get, not sure if we have text that causes this), so that=

>>>>> change wouldn't be documenting the "status quo".
>>>>> It's probably sensible to define that stanzas that have a 'to' attr=
ibute
>>>>> where the bare portion of the JID matches MUST be handled.
>>>>
>>>> That seems reasonable, although I'm trying to come up with exception=
s
>>>> and counter-examples so I think SHOULD might be enough.
>>>>
>>> That would be fine with me.
>>
>> We don't have any text right now in 3920bis about client handling of
>> incoming stanzas. Currently we assume that the client trusts the serve=
r
>> to not deliver stanzas that are intended for another account. This
>> client checking of the 'to' address seems like a faux security measure=

>> to me ("protecting" the client against stanzas that were originally
>> addressed a different authorized resource of the same account). Do we
>> really need to add some text saying "there's no need for the client to=

>> check the 'to' address of stanzas it receives from the server"? I mean=
,
>> if your server is sending you malicious stanzas of some kind (which it=

>> could easily do by rewriting every 'to' address anyway!), then you hav=
e
>> much bigger problems.
>>
> My concern was actually different. A client developer could guess that
> it's "okay" to check the 'to' address (for whatever reason). After
> having slept over it I'm actually convinced that it is in fact safe to
> ignore this. However that you *have to* ignore it (or at least not chec=
k
> against the full JID) is not entirely clear IMHO.
> The text proposed in the other branch of this thread addresses this to
> some extent (albeit implicitly).
> However if people are writing bug reports against servers about this it=

> might be worth a Implemenation Note.

Look, it's fine for someone to write a paranoid client. I happen to
think it's stupid to do so, because if you don't trust your server at
such a fundamental level then you have bigger problems, but I don't
think we can say that a client MUST NOT try to check the 'to' address of
incoming stanzas. However, I think we could say something like this:

   Implementation Note: Because it is the server's responsibility to
   deliver only stanzas that were addressed to the client's full JID or
   the user's bare JID, there is no need for the client to check the
   'to' address of incoming stanzas.

/psa


--------------ms050609000200060405070902
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQ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lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAelD4bIn+lUq3tIj2j8s4zgQIxKzrd2pxiIn9NIsEKFsnOBla+4uS99VRo
2zZ4PPYAYqrMCxMEw/hxRDlePospcx9UPd+BR26i4ZkxSLh/p1E5GaQ7uYeRYn267thLUhTG
eNM/ssnfxEN84OvO/7wPF+JSihjOnHRj/S0Bb8rgi+qFcXvnMYMaRw7SHCwYtKTT5fHB6UOg
OYF91UjG6leRURY12YojuYIHhU+RC2voIC+FEPBCbTH0OwXaV4PDmDLSJTaeLNLk32QW9T9Z
EDFqPJfY+XeiUmuODW4UzSecb7gOS/iTEgvr+TnTfmDdgGEAJqKo0VlwBWamAoFTuToWAAAA
AAAA
--------------ms050609000200060405070902--

From stpeter@stpeter.im  Sat Oct 16 19:52:57 2010
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 76EF93A69DF for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 19:52:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.56
X-Spam-Level: 
X-Spam-Status: No, score=-102.56 tagged_above=-999 required=5 tests=[AWL=0.039, 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 KCYAAFHtA6F7 for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 19:52:55 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id BDBB53A63D2 for <xmpp@ietf.org>; Sat, 16 Oct 2010 19:52:54 -0700 (PDT)
Received: from squire.local (dsl-251-156.dynamic-dsl.frii.net [216.17.251.156]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C2395400EE for <xmpp@ietf.org>; Sat, 16 Oct 2010 21:01:25 -0600 (MDT)
Message-ID: <4CBA6551.1000709@stpeter.im>
Date: Sat, 16 Oct 2010 20:54:09 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CAE44AB.6060602@stpeter.im>
In-Reply-To: <4CAE44AB.6060602@stpeter.im>
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="------------ms060804020508050603050400"
Subject: Re: [xmpp] next steps
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: Sun, 17 Oct 2010 02:52:57 -0000

This is a cryptographically signed message in MIME format.

--------------ms060804020508050603050400
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

A further note about the schedule: Gonzalo issued the IETF Last Calls on
October 7 and they expire on October 21. The cut-off date for submitting
revised Internet-Drafts before IETF 79 is October 25 at 24:00 UTC.
Therefore I plan to submit 3920bis-18, address-06, and 3921bis-16
sometime between the end of the Last Calls and the cut-off date
(probably on Monday, October 25).

On 10/7/10 4:07 PM, Peter Saint-Andre wrote:
> Because some folks on this list are new to IETF process, I figured I'd
> provide a brief description of where we go from here.
>=20
> 1. Gonzalo Camarillo, the responsible Area Director, has issued an IETF=

> Last Call on our three main documents. Because these I-Ds are the
> product of an IETF Working Group, the IETF Last Call will last two
> weeks. This is essentially your last opportunity to provide feedback!
>=20
> 2. During IETF Last Call, the documents will be reviewed by several
> cross-area teams within the IETF, including the "GEN-ART" review team
> and the Security Directorate. We'll expect at least some feedback from
> those teams. And at this stage anyone in the Internet community can
> provide feedback as well.
>=20
> 3. After IETF Last Call, your friendly document editor will work as fas=
t
> as possible to address any feedback we've received.
>=20
> 4. The documents will then be scheduled for disussion during an IESG
> telechat. There are upcoming telechats on October 28, November 18,
> December 2, and December 16. Before the telechat, all the members of th=
e
> Internet Engineering Steering Group will review the specs and also
> provide feedback (well, except for me, because I'll recuse myself). If
> there are "DISCUSSES" and "COMMENTS" lodged then your document editor
> will need to address those, as well.
>=20
> 5. Assuming the documents are approved by the IESG, they will then be
> handed off to the RFC Editor team for final copy editing, proofreading,=

> reference checking, etc. In particular, the documents will not be
> published as RFCs until all normative references have also advanced;
> this includes especially draft-saintandre-tls-server-id-check, which is=

> on a parallel track to consideration by the IESG (I'm working to push
> out a revised version of that one in the next few days).
>=20
> As you can see, because there are still many steps left in the process,=

> it might be a few months before these "bis" drafts are published as
> RFCs. That gives you all plenty of time to bring your implementations
> into conformance. ;-)
>=20
> Just so you know!
>=20
> Peter
>=20


--------------ms060804020508050603050400
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ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NV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBhZdmG3GjZXAFyJxr5VwrGpQjrIukG451lYZ8c37OJ0YJRbcvOD0Mau7UB
cuOvzjFiY/gHCqtPeYqGRfFMiuo7FCt+KAQBOsM/z/2zX8Kd+gpTEp36vQg+4yfNJhNxoj0l
bVdp2lLrKRPbOJp1LyAGcnBDZ2l+8uxpCEEPFSZGEWV1guThUqscvnd5LhahphnRCfhkw+Hb
Q6FjEEhTO8G9iYVOG/eiuOtMn+xU37jF6sLuHQSEtgIuwAjZyUDG1xVCkyanwsSf5UC6lItV
7zlUHzg26Ow8GzaksWfBCd8+bCEXSvY0dWGtQBw0H6IU11b0Hv/8qGjCRoHuCeGRKR0kAAAA
AAAA
--------------ms060804020508050603050400--

From paul@darkrain42.org  Sat Oct 16 22:00:25 2010
Return-Path: <paul@darkrain42.org>
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 CCE9A3A686A for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 22:00:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 xnOVE-HTL5Ib for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 22:00:17 -0700 (PDT)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id 2F78E3A68BE for <xmpp@ietf.org>; Sat, 16 Oct 2010 22:00:17 -0700 (PDT)
Received: from [10.0.0.94] (68-118-35-134.static.mdfd.or.charter.com [68.118.35.134]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id 491A4806D for <xmpp@ietf.org>; Sat, 16 Oct 2010 22:01:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1287291701; bh=yQx98hgf7LEKG1gzEBm/uNtKDBt0gu9Jj04nyYV1ktk=; l=2583; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:DomainKey-Signature; b=ITSo3ZSFaJ9YldOYujYc5b4mXGc7nUMDYDW5adndwi2Eev42CZZl87uqikTGCiyhM Txl6GG1cohXxDzskJDGSua2QFqfucC196LFSF1Fi/HxBwI7UYitvEr/rV+DOazE5rb B9sUlwKjUyKQ9WaEk0bM3nJ/D6WABBPMABiD6B1mpSDXnYcLtyH06Ydn5OosKpxlLH xsIB40ca7THqM30AVvCaX+MOKlKnqQRqz2OgP/CGkaPsYrPG7HCQZH5PYgwq4zaxBB Naz6/svIJ5n1b2NE91aq7Hb9ZyQyDQ1Nk/JxZ5N9iVCNZe8gKBARSNt9ADwdWybY+A oXNnYOeDx+pDA==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=bzbijy5ieVxymxTVc+Szdhb3NnEcuvSQ8tG21e/WRil/4rgt8Nqdcmz/ELxGOEJbq 3f4pT3fRHcYjYTSPhc1pA8F8fbBassDsyHAvTm5hS300/vPZLkSwkiNPIPS4+hI1rQN 0DWZH7I55SSMuX1ZtfkSxrds8+K+y0FglmBug/t5jSF+fl0ZaksWD4kKyiMSCW1cfqf OzUlG4BElsvlbTyDfABBa/7Lv/ga/qNP/BFk3r5Y+N7/T6pUBDqCux9hRmgcap/xpF6 1sqOALZ8dqJwoyhPH+Gfoik5QCT5Wj7QecQfMQympZ/2v9FMj+Qi2w8P3qihvlBeAST RlMyNuxSg==
Message-ID: <4CBA832F.7000303@darkrain42.org>
Date: Sat, 16 Oct 2010 22:01:35 -0700
From: Paul Aurich <paul@darkrain42.org>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im> <4CB8BC7A.6010904@babelmonkeys.de>
In-Reply-To: <4CB8BC7A.6010904@babelmonkeys.de>
X-Enigmail-Version: 1.1.1
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigBD7CD6B9C4946DB3709833D8"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 05:00:25 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigBD7CD6B9C4946DB3709833D8
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2010-10-15 13:41, Florian Zeitz wrote:
> E.g. I have previously mentioned the social network that tells a client=

> one JID during resource binding, but uses a completely different one fo=
r
> everything else. If clients were to ignore the 'to' attribute this woul=
d
> be valid (well doable) behavior and I personally think that's quite bad=
=2E
> Also almost all clients utterly fail against that service (at least for=

> the roster get, not sure if we have text that causes this), so that
> change wouldn't be documenting the "status quo".

For what it's worth, my recollection of the issue with the social
network-that-we're-not-naming-and-shaming was that they stamped their IQ
response with a "from" attribute of what *they* thought the bare JID of
the account was (which wasn't what they told the client it was during
session binding), and clients validate that someone sending them roster
stanzas is allowed to do so (i.e. is from the account's bare JID or the
full JID of this session, the later option due to a quirk in RFC3921, IIR=
C).

At least, that was the primary issue with Pidgin (I can't think of any
specific places we validate the "to" attribute).

~Paul


--------------enigBD7CD6B9C4946DB3709833D8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJMuoMzAAoJEEkfeuGm+zD37YYP/0IbjKD/bPvRuSfRZ8XJavCa
8f2YDVusv8Cgq07BHzb3w0SR2210b4asZLlYd1nqEuBPaLABM+J0fu1OkzOS4J44
GYlmzPVDyVRVSxeaZ5mCj38+JXR5FyqMS5B/6xxW2VFHWcQ02GE28zjNQXlKozar
r+l+yPLFClAi0oxMJUdqag54xDnXdfON3smEdqTCsa/ZQByu6yGSaUlOD4Pks+uK
n9D3AkB8OeymJZ0kfMYPR6OlLsfxQRBCIzMd+R6lwhd7SXLNQnqeOe9FWaRyjqul
ebkr/w5PT0QfpBXuUMkYO109o0LDq7fiiL6q1tQsQykJCz3PkbMKHbx6nOWd/Ehq
OnuonbLiGzl/4W+JlapNajZd9PJnQc76xxUzaM4y7jJsv7VcNS/+C6iMduZo7TSl
/Knqhg0KT+QzWBNgZudMSOyut/H61zDIrCQ0H0A+4q13RVMk61ERAnZfPTgnd5TB
wvvHG0kTCwUaxdT5+Dj9oG2Agl3c+OuMQKVXpxUdoNWwgF9HglUkubAQn2lcVLg9
pbB9mg9JeWB8zka7jCgKDriSo2YsLI9B7tOTk6hbylTYwAInmzNJUPzaymsGcNm7
+LIvYwD0IS1TbM1WnEY3PWoFskErd1nhgx2I6gHCjq0zTxx3yN/CMaZxZa+e3PZ8
1ZdPjhmXj14yF80SukSq
=ulhi
-----END PGP SIGNATURE-----

--------------enigBD7CD6B9C4946DB3709833D8--

From paul@darkrain42.org  Sat Oct 16 22:00:32 2010
Return-Path: <paul@darkrain42.org>
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 D5A2F3A6A95 for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 22:00:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 aWNLucbgd4M1 for <xmpp@core3.amsl.com>; Sat, 16 Oct 2010 22:00:31 -0700 (PDT)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id 021823A686A for <xmpp@ietf.org>; Sat, 16 Oct 2010 22:00:30 -0700 (PDT)
Received: from [10.0.0.94] (68-118-35-134.static.mdfd.or.charter.com [68.118.35.134]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id 2CBB3806D for <xmpp@ietf.org>; Sat, 16 Oct 2010 22:01:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1287291713; bh=boWLiz2cRJkzWRRamNcCmyxMsB5bMZ8xIqD1SKHYrU0=; l=3113; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:DomainKey-Signature; b=clws1LUp34qr7T5GePR1uMuoZ0sdi93qE4DGO45S+6Zl3n4uxyYzXjCZmot0qAOPy dwR2Bp1Wj6rIu9lLTKfKCkUT7OkU0hpbqaFZ1hWVx13MPvhvg7VsPnh3ch4azic3rg nvzAwCveuUZfkf1MpjheOZ2XCkIona4HxyHA+MRyMAYs1F1tjQDWArYkFD+z8x/ZFP EPI83iNRRx7tnVmtTe6bkj95iK6GCqqOK8hEtcFXW2e0jC4vHT0ASQGQGPTAgNAEmy 26qesW267TinUjO5ezzkHHjigdca/N42M/SPyMWHNn74ga0jr2QhU1C4vPn8I6HboT fTQSqJMdL1agg==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=Mvyy3fss+qThLr3yUGEfLbh/4vcPP4pTlc4lGSZOpxvzCkpmW+4c7cyPrcfYqvePp ijFMgjnSkfOmsn2SH2h1VmcWiN6QMJUVtdAvwdmvOQ672AQwS27aDHPuYsFGUpuFV+b Lwr08h3SBYH9Y6zZkho1VnMZrVFjXB6vZzCXlMjlw9Y8xrM++oe9UL33U8+BDPZoGJn +7ViQUrdr3PCGlKUWIjcHEx179+5ZL3bcUp3+7kfFeiYBec8ylC3EKeMJZf5eKgyZEO Wtz9z5//XCvw22ZmhkEHsuH9yq0rlZX+p24+UCsb+Q54RvGn6ozJcAeR/3yb3NUP1xe djtq79QQQ==
Message-ID: <4CBA833F.5080904@darkrain42.org>
Date: Sat, 16 Oct 2010 22:01:51 -0700
From: Paul Aurich <paul@darkrain42.org>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de>	<4CB9236A.3080506@stpeter.im>	<4CB9980D.8020602@babelmonkeys.de> <4CBA5B6A.10809@stpeter.im>
In-Reply-To: <4CBA5B6A.10809@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0B17C5A75066A132589BEC60"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 05:00:33 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0B17C5A75066A132589BEC60
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2010-10-16 19:11, Peter Saint-Andre wrote:
> On 10/16/10 6:18 AM, Florian Zeitz wrote:
>> My concern was actually different. A client developer could guess that=

>> it's "okay" to check the 'to' address (for whatever reason). After
>> having slept over it I'm actually convinced that it is in fact safe to=

>> ignore this. However that you *have to* ignore it (or at least not che=
ck
>> against the full JID) is not entirely clear IMHO.
>> The text proposed in the other branch of this thread addresses this to=

>> some extent (albeit implicitly).
>> However if people are writing bug reports against servers about this i=
t
>> might be worth a Implemenation Note.
>=20
> Look, it's fine for someone to write a paranoid client. I happen to
> think it's stupid to do so, because if you don't trust your server at
> such a fundamental level then you have bigger problems, but I don't
> think we can say that a client MUST NOT try to check the 'to' address o=
f
> incoming stanzas.

+1 to both points, although I personally wouldn't complain about
strongly discouraging them unless they can quote all three RFCs from
memory *in verse* ;)

> However, I think we could say something like this:
>=20
>    Implementation Note: Because it is the server's responsibility to
>    deliver only stanzas that were addressed to the client's full JID or=

>    the user's bare JID, there is no need for the client to check the
>    'to' address of incoming stanzas.

I may have missed part of the conversation where it was decided the
server /should/ alter the 'to', but what about the case where the server
is delivering a message from offline storage that was originally
addressed to a difference resource?

~Paul


--------------enig0B17C5A75066A132589BEC60
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJMuoM/AAoJEEkfeuGm+zD3P7AQAKYQdbrUkDvAD/rDDDmW1ORw
qrSgSWPEC9o/k/P/OdE+Dfzb1Etm2scy5nhwc25TL5f8Ei+GjwNm+kPYVsGrIVx5
+xm7vwSkfTc7gfXQER8/qeP5g18aFc7BflDr3o67T56d5KumJONxXxi4EPfheI1q
iVdWFEXWTRjyONgWcpXU88opXiOiCFYOQ7bmBuQGgcP75YcizR0wt98fnxMG4gnm
67BGoVw/UYUYxyg8rBYCGmrFQvDrZ65CS3fXeuKdCdjqt7Iye9sXQC//1/INm9iT
44+uVIHxMo/3tEIH4MDRC53tMmBSKZ1xGLwP+pPZQKK7PRPqRy6KQZEQUc+tnwJB
x1F3+MsOoTpWLASQQio9h82+wNajQCgk0xdnmx3RCPvHHobch23EYJ05i+51W4jq
5D1xQjv35lr6TIW+rKOOuD2sV94Ol4uYy071qFZMX1NRFn2Z/X4MxUEq3By2TfYT
5TGl6K6YbdLM5geF45VE7Iuq6adCg0jgQDKTQkA2XwaJxOXkmwbWCEhuW2CodsPW
etrwXwWfIbCXlxzROPid6mQwt6B0mAJZhDchMP+L+gMzgU/h48ZcKWV1pMZcZVcA
yTcQOC5paQz4gWH72XKoyS495N1VU4EjHr4fHMBapOfpWlopH/Lmo3MdGPT1WQoX
5O3Fk+Fw4MJRYY4odvj7
=GLxB
-----END PGP SIGNATURE-----

--------------enig0B17C5A75066A132589BEC60--

From florob@babelmonkeys.de  Sun Oct 17 05:33:48 2010
Return-Path: <florob@babelmonkeys.de>
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 4E1BD3A6A09 for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 05:33:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 yMPealfr4m-9 for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 05:33:47 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 73AAC3A699E for <xmpp@ietf.org>; Sun, 17 Oct 2010 05:33:47 -0700 (PDT)
Received: from xdsl-213-196-240-206.netcologne.de ([213.196.240.206] helo=[192.168.0.38]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1P7SSG-0006rP-3C for xmpp@ietf.org; Sun, 17 Oct 2010 14:35:12 +0200
Message-ID: <4CBAED78.6030105@babelmonkeys.de>
Date: Sun, 17 Oct 2010 14:35:04 +0200
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de> <4CBA832F.7000303@darkrain42.org>
In-Reply-To: <4CBA832F.7000303@darkrain42.org>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 12:33:48 -0000

Am 17.10.2010 07:01, schrieb Paul Aurich:
> On 2010-10-15 13:41, Florian Zeitz wrote:
>> E.g. I have previously mentioned the social network that tells a client
>> one JID during resource binding, but uses a completely different one for
>> everything else. If clients were to ignore the 'to' attribute this would
>> be valid (well doable) behavior and I personally think that's quite bad.
>> Also almost all clients utterly fail against that service (at least for
>> the roster get, not sure if we have text that causes this), so that
>> change wouldn't be documenting the "status quo".
> 
> For what it's worth, my recollection of the issue with the social
> network-that-we're-not-naming-and-shaming was that they stamped their IQ
> response with a "from" attribute of what *they* thought the bare JID of
> the account was (which wasn't what they told the client it was during
> session binding), and clients validate that someone sending them roster
> stanzas is allowed to do so (i.e. is from the account's bare JID or the
> full JID of this session, the later option due to a quirk in RFC3921, IIRC).
> 
> At least, that was the primary issue with Pidgin (I can't think of any
> specific places we validate the "to" attribute).
> 
> ~Paul
> 

That is absolutely correct. Large parts of that mail really fall in the
"things I shouldn't have written" category. Sleep deprived and bad cold
is not a good combination it seems.
Sorry for that.

--
Florian Zeitz

From florob@babelmonkeys.de  Sun Oct 17 06:03:44 2010
Return-Path: <florob@babelmonkeys.de>
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 3EE993A6A09 for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 06:03:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 yAkZsfPzSufE for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 06:03:43 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 524FF3A68AE for <xmpp@ietf.org>; Sun, 17 Oct 2010 06:03:43 -0700 (PDT)
Received: from xdsl-213-196-240-206.netcologne.de ([213.196.240.206] helo=[192.168.0.38]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1P7SvF-00079Y-20 for xmpp@ietf.org; Sun, 17 Oct 2010 15:05:09 +0200
Message-ID: <4CBAF47D.4080003@babelmonkeys.de>
Date: Sun, 17 Oct 2010 15:05:01 +0200
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de>	<4CB9236A.3080506@stpeter.im>	<4CB9980D.8020602@babelmonkeys.de>	<4CBA5B6A.10809@stpeter.im> <4CBA833F.5080904@darkrain42.org>
In-Reply-To: <4CBA833F.5080904@darkrain42.org>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 13:03:44 -0000

Am 17.10.2010 07:01, schrieb Paul Aurich:
> On 2010-10-16 19:11, Peter Saint-Andre wrote:
>> On 10/16/10 6:18 AM, Florian Zeitz wrote:
>>> My concern was actually different. A client developer could guess that
>>> it's "okay" to check the 'to' address (for whatever reason). After
>>> having slept over it I'm actually convinced that it is in fact safe to
>>> ignore this. However that you *have to* ignore it (or at least not check
>>> against the full JID) is not entirely clear IMHO.
>>> The text proposed in the other branch of this thread addresses this to
>>> some extent (albeit implicitly).
>>> However if people are writing bug reports against servers about this it
>>> might be worth a Implemenation Note.
>>
>> Look, it's fine for someone to write a paranoid client. I happen to
>> think it's stupid to do so, because if you don't trust your server at
>> such a fundamental level then you have bigger problems, but I don't
>> think we can say that a client MUST NOT try to check the 'to' address of
>> incoming stanzas.
> 
> +1 to both points, although I personally wouldn't complain about
> strongly discouraging them unless they can quote all three RFCs from
> memory *in verse* ;)
> 
I also agree. If it wasn't clear: By now I'm also definitely against
adding any normative text about this.

>> However, I think we could say something like this:
>>
>>    Implementation Note: Because it is the server's responsibility to
>>    deliver only stanzas that were addressed to the client's full JID or
>>    the user's bare JID, there is no need for the client to check the
>>    'to' address of incoming stanzas.
> 
> I may have missed part of the conversation where it was decided the
> server /should/ alter the 'to', but what about the case where the server
> is delivering a message from offline storage that was originally
> addressed to a difference resource?
> 
An implementation note would be nice (as I said before), however I'd
suggest:
   Implementation Note: Because it is the server's responsibility to
   deliver only stanzas that were addressed appropriately, there is no
   need for the client to check the 'to' address of incoming stanzas.
   As the 'to' address may be a full JID different to the client's due
   to e.g. offline message delivery it is in fact suggested to check at
   most the bare portion of the 'to' address.

--
Florian Zeitz

From stpeter@stpeter.im  Sun Oct 17 08:22:13 2010
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 28AF03A6A48 for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 08:22:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.561
X-Spam-Level: 
X-Spam-Status: No, score=-102.561 tagged_above=-999 required=5 tests=[AWL=0.038, 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 sXXbhXAXBGhC for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 08:22:11 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id AB3B83A6984 for <xmpp@ietf.org>; Sun, 17 Oct 2010 08:22:11 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8E02B400EE; Sun, 17 Oct 2010 09:30:46 -0600 (MDT)
Message-ID: <4CBB14F7.2060609@stpeter.im>
Date: Sun, 17 Oct 2010 09:23:35 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Florian Zeitz <florob@babelmonkeys.de>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de>	<4CB9236A.3080506@stpeter.im>	<4CB9980D.8020602@babelmonkeys.de>	<4CBA5B6A.10809@stpeter.im>	<4CBA833F.5080904@darkrain42.org> <4CBAF47D.4080003@babelmonkeys.de>
In-Reply-To: <4CBAF47D.4080003@babelmonkeys.de>
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="------------ms040000000601040804070707"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 15:22:13 -0000

This is a cryptographically signed message in MIME format.

--------------ms040000000601040804070707
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/17/10 7:05 AM, Florian Zeitz wrote:
> Am 17.10.2010 07:01, schrieb Paul Aurich:
>> On 2010-10-16 19:11, Peter Saint-Andre wrote:
>>> On 10/16/10 6:18 AM, Florian Zeitz wrote:
>>>> My concern was actually different. A client developer could guess th=
at
>>>> it's "okay" to check the 'to' address (for whatever reason). After
>>>> having slept over it I'm actually convinced that it is in fact safe =
to
>>>> ignore this. However that you *have to* ignore it (or at least not c=
heck
>>>> against the full JID) is not entirely clear IMHO.
>>>> The text proposed in the other branch of this thread addresses this =
to
>>>> some extent (albeit implicitly).
>>>> However if people are writing bug reports against servers about this=
 it
>>>> might be worth a Implemenation Note.
>>>
>>> Look, it's fine for someone to write a paranoid client. I happen to
>>> think it's stupid to do so, because if you don't trust your server at=

>>> such a fundamental level then you have bigger problems, but I don't
>>> think we can say that a client MUST NOT try to check the 'to' address=
 of
>>> incoming stanzas.
>>
>> +1 to both points, although I personally wouldn't complain about
>> strongly discouraging them unless they can quote all three RFCs from
>> memory *in verse* ;)
>>
> I also agree. If it wasn't clear: By now I'm also definitely against
> adding any normative text about this.
>=20
>>> However, I think we could say something like this:
>>>
>>>    Implementation Note: Because it is the server's responsibility to
>>>    deliver only stanzas that were addressed to the client's full JID =
or
>>>    the user's bare JID, there is no need for the client to check the
>>>    'to' address of incoming stanzas.
>>
>> I may have missed part of the conversation where it was decided the
>> server /should/ alter the 'to', but what about the case where the serv=
er
>> is delivering a message from offline storage that was originally
>> addressed to a difference resource?

Offline storage is out of scope for rfc3920bis and 3921bis -- we simply
reference XEP-0160 for details:

http://xmpp.org/extensions/xep-0160.html

> An implementation note would be nice (as I said before), however I'd
> suggest:
>    Implementation Note: Because it is the server's responsibility to
>    deliver only stanzas that were addressed appropriately, there is no
>    need for the client to check the 'to' address of incoming stanzas.
>    As the 'to' address may be a full JID different to the client's due
>    to e.g. offline message delivery it is in fact suggested to check at=

>    most the bare portion of the 'to' address.

Thanks for the proposed text. I'd phrase it like so:

   Implementation Note: Because it is the server's responsibility to
   deliver only stanzas that were addressed appropriately, there is no
   need for the client to check the 'to' address of incoming stanzas.
   Because the 'to' address might be the user's bare JID, the client's
   current full JID, or even a full JID with a different resourcepart
   (e.g., in the case of so-called "offline messages" as described in
   [XEP-01060]), if the client does check the 'to' address then it is
   suggested to check at most the bare JID portion, not the full JID.

/psa





--------------ms040000000601040804070707
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGcPo
98K4TJf8FHo+UA9EOVDp/W7fCqKT4sXk/XkC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SIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQA16pWCtKAnqOw9C64TFdP0nuX49nb39Lq+n+yT9ta/wKbGaumndDXmXyK4
fzuuOo4tmAGs2e1K/V085CyiQxTLi3GqhA1U1RLLGJRaXPIcvwwDJ6hMXDdcWJQxp/OgQgI6
4QyXtq+ulHXlUxzOMNAxHyluhMMdi8hzJOnZ8LbCiOuO3eHZV1H6iT+phswyhjC1G2pQ0Anq
kDDpNfQRnY4BYQkgYsD8Z4eyg210f3GvYFUhM86HNvovg8FesnPVQqLaNn8iHWUC4F3o2mxn
zK+X+rdNna3ZTod6kxRSS+BDU1Q93KNt2rktzc2QRiGWTsRZYQGRw8N8+thWcnM+ZUwJAAAA
AAAA
--------------ms040000000601040804070707--

From stpeter@stpeter.im  Sun Oct 17 08:25:16 2010
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 A54583A6B72 for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 08:25:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.561
X-Spam-Level: 
X-Spam-Status: No, score=-102.561 tagged_above=-999 required=5 tests=[AWL=0.038, 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 nMAZT6kfZbpn for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 08:25:14 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2DD813A6B6E for <xmpp@ietf.org>; Sun, 17 Oct 2010 08:25:14 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 9507D400EE for <xmpp@ietf.org>; Sun, 17 Oct 2010 09:33:49 -0600 (MDT)
Message-ID: <4CBB15AF.6010900@stpeter.im>
Date: Sun, 17 Oct 2010 09:26:39 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de>	<4CB9236A.3080506@stpeter.im>	<4CB9980D.8020602@babelmonkeys.de>	<4CBA5B6A.10809@stpeter.im>	<4CBA833F.5080904@darkrain42.org>	<4CBAF47D.4080003@babelmonkeys.de> <4CBB14F7.2060609@stpeter.im>
In-Reply-To: <4CBB14F7.2060609@stpeter.im>
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="------------ms060509070407040906060008"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 15:25:16 -0000

This is a cryptographically signed message in MIME format.

--------------ms060509070407040906060008
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/17/10 9:23 AM, Peter Saint-Andre wrote:

>    Implementation Note: Because it is the server's responsibility to
>    deliver only stanzas that were addressed appropriately, there is no
>    need for the client to check the 'to' address of incoming stanzas.
>    Because the 'to' address might be the user's bare JID, the client's
>    current full JID, or even a full JID with a different resourcepart
>    (e.g., in the case of so-called "offline messages" as described in
>    [XEP-01060]), if the client does check the 'to' address then it is
>    suggested to check at most the bare JID portion, not the full JID.

Well, except for the typo. :)




--------------ms060509070407040906060008
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx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iG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCdf+ZqtDbAVnbQgcHqt2XJWbL+nvy0jhG7CDB7VLcuG9ZbMBnMc6M0x3Xz
rVpXISOaxmhE4kP4YHzuKLGxpRMm7xdlBgKW9kIyzi5Z5X6E/bZbxmuAzlJ9LrsB18gRMvXB
M8e9rLcIBjniJxqjr6w1HbfrSZCqdoKkgvC2qTbj9I29dh0IHEho6mqF3n9HFT/jqxFZ43ie
/B4rg23cq4F2y18hB0sAQG12b7UFZ/fYaKV/yLopPBjOh2NeLlrxiogSn54O2NKagXXW85fX
TWj/FXoz6yYRC/VQfL5svChV/xc0hEraCyfAMf8H5r0DzOvxkmhFD5ZeXJzgDPwgOOc2AAAA
AAAA
--------------ms060509070407040906060008--

From florob@babelmonkeys.de  Sun Oct 17 08:58:15 2010
Return-Path: <florob@babelmonkeys.de>
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 A19803A6B33 for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 08:58:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level: 
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
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 GtyvkP+b8Aag for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 08:58:14 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id AA89D3A6983 for <xmpp@ietf.org>; Sun, 17 Oct 2010 08:58:14 -0700 (PDT)
Received: from xdsl-213-196-240-206.netcologne.de ([213.196.240.206] helo=[192.168.0.38]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1P7Ve7-0000WL-Qd for xmpp@ietf.org; Sun, 17 Oct 2010 17:59:39 +0200
Message-ID: <4CBB1D66.6060608@babelmonkeys.de>
Date: Sun, 17 Oct 2010 17:59:34 +0200
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100922 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de>	<4CB9236A.3080506@stpeter.im>	<4CB9980D.8020602@babelmonkeys.de>	<4CBA5B6A.10809@stpeter.im>	<4CBA833F.5080904@darkrain42.org>	<4CBAF47D.4080003@babelmonkeys.de>	<4CBB14F7.2060609@stpeter.im> <4CBB15AF.6010900@stpeter.im>
In-Reply-To: <4CBB15AF.6010900@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Sun, 17 Oct 2010 15:58:15 -0000

Am 17.10.2010 17:26, schrieb Peter Saint-Andre:
> On 10/17/10 9:23 AM, Peter Saint-Andre wrote:
> 
>>    Implementation Note: Because it is the server's responsibility to
>>    deliver only stanzas that were addressed appropriately, there is no
>>    need for the client to check the 'to' address of incoming stanzas.
>>    Because the 'to' address might be the user's bare JID, the client's
>>    current full JID, or even a full JID with a different resourcepart
>>    (e.g., in the case of so-called "offline messages" as described in
>>    [XEP-01060]), if the client does check the 'to' address then it is
>>    suggested to check at most the bare JID portion, not the full JID.
> 
> Well, except for the typo. :)
> 

Sounds good. Thank you.

From paul@darkrain42.org  Sun Oct 17 18:23:04 2010
Return-Path: <paul@darkrain42.org>
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 055F23A6AE8 for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 18:23:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599]
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 rCSK-+wVA4LR for <xmpp@core3.amsl.com>; Sun, 17 Oct 2010 18:23:02 -0700 (PDT)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id 8CC7F3A6A63 for <xmpp@ietf.org>; Sun, 17 Oct 2010 18:23:02 -0700 (PDT)
Received: from [192.168.1.153] (c-24-19-135-94.hsd1.wa.comcast.net [24.19.135.94]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id 88730806D for <xmpp@ietf.org>; Sun, 17 Oct 2010 18:24:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1287365068; bh=ZxEoiFsgSh+kRmsMDM8WNVXhJoyRaVXxqIUSdSdGGJo=; l=2206; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:DomainKey-Signature; b=Qudrg0JR3fZLV8hjK9aw7SNSgRCnFcxl26//pkr41pNIWvKECnoOO7CU92mtpa70Z VW6tSvZeFu7nSc+9kirpRh42RhbUqb5VREYe+285DgizEiIVt1ROJtBIvIu03OZuVe /VeohLoX2/jxsn0IG8iiEzkDOz3Ol3VmEMmZ8y4BLbEulifCcmZk9JqQD0K0VlwHuN Zh4En3RxmxD5e3sOGbQf7uZBrJMFBnXiJsXBVr+bzLLyLVGYgOQ8UXXNHyhHMRXl7c 0HsUvzPdxC6J8c1+JUwVgA+0hISfEeg0y9fB+cwaRQ9+obloN8qJa56mEnnSw2vo1L zjdASry6zucpQ==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=pV0poZ3jvt9ngaphJyj6fbxv8AGWK5ciQjM7uB9fxhxiXLScq9MliNPdRm5FUsRCi D3kFxdiT46gNkHKdFiaO4F289yadAFm8wFkAxmCeGP5XPWxvyCm5YiohahvW+d8PlMT h0iy3BDWzwZB5uHRLereZI4ro9TsJw3wRHpiQceogRtBTU2My4oJnfufLiOaF6NDi9l NZgWz45YU+IQiAjDeCi7VN7enUOa1nyZkjGp22jk4HPP20HhLHGxU3SlQJM2iadd2WO 9nIFcmUJGECGwylq1Ir+1MC96oOsdNEo78sXHS1ggPsJsLQ+xnQJbqGeGR6uQ+xu7ix /BEjxKmdA==
Message-ID: <4CBBA1C7.9030001@darkrain42.org>
Date: Sun, 17 Oct 2010 18:24:23 -0700
From: Paul Aurich <paul@darkrain42.org>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: XMPP Working Group <xmpp@ietf.org>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com>	<4CB8B04D.7030900@stpeter.im>	<4CB8BC7A.6010904@babelmonkeys.de>	<4CB8BF0D.7000405@stpeter.im>	<4CB8C3FF.1050800@babelmonkeys.de>	<4CB9236A.3080506@stpeter.im>	<4CB9980D.8020602@babelmonkeys.de>	<4CBA5B6A.10809@stpeter.im>	<4CBA833F.5080904@darkrain42.org>	<4CBAF47D.4080003@babelmonkeys.de>	<4CBB14F7.2060609@stpeter.im>	<4CBB15AF.6010900@stpeter.im> <4CBB1D66.6060608@babelmonkeys.de>
In-Reply-To: <4CBB1D66.6060608@babelmonkeys.de>
X-Enigmail-Version: 1.1.1
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig491DEF0BAC8F44FF464FE4F1"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 01:23:04 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig491DEF0BAC8F44FF464FE4F1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2010-10-17 08:59, Florian Zeitz wrote:
> Am 17.10.2010 17:26, schrieb Peter Saint-Andre:
>> On 10/17/10 9:23 AM, Peter Saint-Andre wrote:
>>
>>>    Implementation Note: Because it is the server's responsibility to
>>>    deliver only stanzas that were addressed appropriately, there is n=
o
>>>    need for the client to check the 'to' address of incoming stanzas.=

>>>    Because the 'to' address might be the user's bare JID, the client'=
s
>>>    current full JID, or even a full JID with a different resourcepart=

>>>    (e.g., in the case of so-called "offline messages" as described in=

>>>    [XEP-01060]), if the client does check the 'to' address then it is=

>>>    suggested to check at most the bare JID portion, not the full JID.=

>>
>> Well, except for the typo. :)
>=20
> Sounds good. Thank you.

Same here.


--------------enig491DEF0BAC8F44FF464FE4F1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJMu6HKAAoJEEkfeuGm+zD3wJ4QAMV0M72GY9dbk5NSDgX88fR7
qpDfXZCGn5swkgDTdGIkUUSV23NvlFHN5pEKsiIF4m65B6GtPUMvw6sYx0haWjhV
P+nh62blaJwkhX3r7hjwhw/AsEzuuWh8gczrLR1rwosNmojpBF/eOcphR7r+WxfA
fJvXLyNTNJ0vwOdcXcCgCE2n5j3qNUbYKN5NYlRkmB1LMqcvfgCZV10Si+MsL3bs
o8DNvdk05NKu3trguqfV2xlNk5m0EAxI5hgttcST7wMlXx44aaMl36EfD/byFNFB
UA6Xph4ekctlQzJyU7i4rHeCGpRTPDEQNzw+D2Ryp52Xt1ExGWtN6PmIICI5eJer
ULm1gLpiFKA/qoeU/Pgyk2KtR5dzIy/VfKNlQLgdoFo51rqnu8k7tUMZBoF/ez5E
kQx9nZB6KNPbS+1Y7TshPJMwMj9hNm1/fsdzMb+QSQNh2jCzp1pTtlBV9XumcWCp
rbTGIS1c08Tn9Fzc4hz4Usvuoo0yTGp0MGHgCehZgZ9wz0C4tjiluDx6mGcNRVJr
pWjWVfd40B+7iciC5ofJlguI0A8GmOqqg4CHtnnnybsrk74C2l7LJ9ibATKi2UFi
HT3XgNINqlLG8dCjQNdCYry0LoKFxSiSjz/xptPwiYH0inoTqzwjpaDv3KJ7+8Tw
AAJI1NOdoLsQGzIOnHHl
=Y/af
-----END PGP SIGNATURE-----

--------------enig491DEF0BAC8F44FF464FE4F1--

From mwild1@gmail.com  Mon Oct 18 05:00:58 2010
Return-Path: <mwild1@gmail.com>
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 36FBE3A6D9A for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 05:00:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 yJPJfrKqxsAR for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 05:00:57 -0700 (PDT)
Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by core3.amsl.com (Postfix) with ESMTP id 5B61C3A6DA2 for <xmpp@ietf.org>; Mon, 18 Oct 2010 05:00:57 -0700 (PDT)
Received: by pxi1 with SMTP id 1so152290pxi.31 for <xmpp@ietf.org>; Mon, 18 Oct 2010 05:02:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=uWkTJEnP25Lt3AnWgTci8zl5Y2yOFwsoP+BT/K3nSBI=; b=ma0LoE9Ru4jQv9WnK13zW7aDhkxy5eCCjUh1YUsb1NNVFrjAri1zLmNkSsLgZ301UO hZ6vtGEckQ3BYvHVg+vC0EIyW/iETNCHP+6f11tkPHrInxtt6NjOJy/Iy+eC+KYefXf9 dyIn/o/TYVL8Z2yVJt8Us51D7JTJAu98KPTXM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ul6/OwqQSzfU7WksQMnoxJFS9lqOlMW9J4RNeBayuCfYLkEBaKVf+vPZG6RS0UXkd1 eNZkBo5Y16KshLGnbEvK35Gt+vzSWNUCvATd6lqtoZ9vUe2cbJPIQ/zT9FoiM66re6bB SrR7BVqQoufiF6EN2gjU6QswsbMZu4fkqyElU=
Received: by 10.142.178.4 with SMTP id a4mr3261664wff.274.1287403345552; Mon, 18 Oct 2010 05:02:25 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.207.66 with HTTP; Mon, 18 Oct 2010 05:02:04 -0700 (PDT)
In-Reply-To: <4CBBA1C7.9030001@darkrain42.org>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <4CB8BC7A.6010904@babelmonkeys.de> <4CB8BF0D.7000405@stpeter.im> <4CB8C3FF.1050800@babelmonkeys.de> <4CB9236A.3080506@stpeter.im> <4CB9980D.8020602@babelmonkeys.de> <4CBA5B6A.10809@stpeter.im> <4CBA833F.5080904@darkrain42.org> <4CBAF47D.4080003@babelmonkeys.de> <4CBB14F7.2060609@stpeter.im> <4CBB15AF.6010900@stpeter.im> <4CBB1D66.6060608@babelmonkeys.de> <4CBBA1C7.9030001@darkrain42.org>
From: Matthew Wild <mwild1@gmail.com>
Date: Mon, 18 Oct 2010 13:02:04 +0100
Message-ID: <AANLkTikp09gF6YewRfGx4bD-YPZGVAvgj2OrEP7KNESc@mail.gmail.com>
To: Paul Aurich <paul@darkrain42.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 12:00:58 -0000

On 18 October 2010 02:24, Paul Aurich <paul@darkrain42.org> wrote:
> On 2010-10-17 08:59, Florian Zeitz wrote:
>> Am 17.10.2010 17:26, schrieb Peter Saint-Andre:
>>> On 10/17/10 9:23 AM, Peter Saint-Andre wrote:
>>>
>>>> =C2=A0 =C2=A0Implementation Note: Because it is the server's responsib=
ility to
>>>> =C2=A0 =C2=A0deliver only stanzas that were addressed appropriately, t=
here is no
>>>> =C2=A0 =C2=A0need for the client to check the 'to' address of incoming=
 stanzas.
>>>> =C2=A0 =C2=A0Because the 'to' address might be the user's bare JID, th=
e client's
>>>> =C2=A0 =C2=A0current full JID, or even a full JID with a different res=
ourcepart
>>>> =C2=A0 =C2=A0(e.g., in the case of so-called "offline messages" as des=
cribed in
>>>> =C2=A0 =C2=A0[XEP-01060]), if the client does check the 'to' address t=
hen it is
>>>> =C2=A0 =C2=A0suggested to check at most the bare JID portion, not the =
full JID.
>>>
>>> Well, except for the typo. :)
>>
>> Sounds good. Thank you.
>
> Same here.
>

And here too :)

Matthew

From dave@cridland.net  Mon Oct 18 05:30:11 2010
Return-Path: <dave@cridland.net>
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 5F80B3A6D9A for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 05:30:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.507
X-Spam-Level: 
X-Spam-Status: No, score=-2.507 tagged_above=-999 required=5 tests=[AWL=0.092,  BAYES_00=-2.599]
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 LoM1Bo1NKvLJ for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 05:30:07 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id C48353A6ADC for <xmpp@ietf.org>; Mon, 18 Oct 2010 05:30:06 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 9636611680E2; Mon, 18 Oct 2010 13:31:31 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qsAlSDm2v6dY; Mon, 18 Oct 2010 13:31:27 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id ABF5511680CA; Mon, 18 Oct 2010 13:31:27 +0100 (BST)
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im>
In-Reply-To: <4CB8B04D.7030900@stpeter.im>
MIME-Version: 1.0
Message-Id: <2633.1287405087.683587@puncture>
Date: Mon, 18 Oct 2010 13:31:27 +0100
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 12:30:11 -0000

On Fri Oct 15 20:49:33 2010, Peter Saint-Andre wrote:
> On 10/15/10 11:35 AM, Matthew Wild wrote:
> > Prosody replies
> > to such stanzas without a 'from' address, to mirror the request.  
> It
> > also doesn't stamp a 'to' on the stanza. Since these stanzas are  
> never
> > routed that seems superflous to me.
> 
> Seems sensible.

Are we really sure that not having a to on a S2C stanza is sensible?

I don't have any strong feelings, but I'm concerned that if there  
exist clients which choke on this, I'd rather err on the side of  
caution and mandate that we do.

I think Prosody is unique in this behaviour outside XEP-0078 code, so  
I suspect it might be easier to "fix" Prosody rather than "fix" the  
clients.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From dave@cridland.net  Mon Oct 18 05:31:25 2010
Return-Path: <dave@cridland.net>
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 E7E4A3A6C1F for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 05:31:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.508
X-Spam-Level: 
X-Spam-Status: No, score=-2.508 tagged_above=-999 required=5 tests=[AWL=0.091,  BAYES_00=-2.599]
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 g7ArUWydzsAA for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 05:31:24 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id AB75E3A6A9E for <xmpp@ietf.org>; Mon, 18 Oct 2010 05:31:23 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 6052D11680E5; Mon, 18 Oct 2010 13:32:51 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 328E16zM7YXL; Mon, 18 Oct 2010 13:32:47 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 4343F11680E2; Mon, 18 Oct 2010 13:32:47 +0100 (BST)
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <4CB8BC7A.6010904@babelmonkeys.de> <4CB8BF0D.7000405@stpeter.im> <4CB8C3FF.1050800@babelmonkeys.de> <4CB9236A.3080506@stpeter.im> <4CB9980D.8020602@babelmonkeys.de> <4CBA5B6A.10809@stpeter.im> <4CBA833F.5080904@darkrain42.org> <4CBAF47D.4080003@babelmonkeys.de> <4CBB14F7.2060609@stpeter.im> <4CBB15AF.6010900@stpeter.im> <4CBB1D66.6060608@babelmonkeys.de> <4CBBA1C7.9030001@darkrain42.org> <AANLkTikp09gF6YewRfGx4bD-YPZGVAvgj2OrEP7KNESc@mail.gmail.com>
In-Reply-To: <AANLkTikp09gF6YewRfGx4bD-YPZGVAvgj2OrEP7KNESc@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <2633.1287405167.270017@puncture>
Date: Mon, 18 Oct 2010 13:32:47 +0100
From: Dave Cridland <dave@cridland.net>
To: Matthew Wild <mwild1@gmail.com>, XMPP Working Group <xmpp@ietf.org>, Paul Aurich <paul@darkrain42.org>
Content-Type: text/plain; delsp="yes"; charset="iso-8859-1"; format="flowed"
Content-Transfer-Encoding: 8Bit
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 12:31:25 -0000

On Mon Oct 18 13:02:04 2010, Matthew Wild wrote:
> On 18 October 2010 02:24, Paul Aurich <paul@darkrain42.org> wrote:
> > On 2010-10-17 08:59, Florian Zeitz wrote:
> >> Am 17.10.2010 17:26, schrieb Peter Saint-Andre:
> >>> On 10/17/10 9:23 AM, Peter Saint-Andre wrote:
> >>>
> >>>>    Implementation Note: Because it is the server's  
> responsibility to
> >>>>    deliver only stanzas that were addressed appropriately,  
> there is no
> >>>>    need for the client to check the 'to' address of incoming  
> stanzas.
> >>>>    Because the 'to' address might be the user's bare JID, the  
> client's
> >>>>    current full JID, or even a full JID with a different  
> resourcepart
> >>>>    (e.g., in the case of so-called "offline messages" as  
> described in
> >>>>    [XEP-01060]), if the client does check the 'to' address  
> then it is
> >>>>    suggested to check at most the bare JID portion, not the  
> full JID.
> >>>
> >>> Well, except for the typo. :)
> >>
> >> Sounds good. Thank you.
> >
> > Same here.
> >
> 
> And here too :)

I had to check I'd not missed ~800 XEPs being published over the  
weekend.

I'm basically happy with this, though.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From stpeter@stpeter.im  Mon Oct 18 09:28:34 2010
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 C45013A6A09 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 09:28:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.569
X-Spam-Level: 
X-Spam-Status: No, score=-102.569 tagged_above=-999 required=5 tests=[AWL=0.030, 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 nPKp0z-2fEZl for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 09:28:33 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 913093A6AE4 for <xmpp@ietf.org>; Mon, 18 Oct 2010 09:28:33 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A23D540074; Mon, 18 Oct 2010 10:37:16 -0600 (MDT)
Message-ID: <4CBC7608.7040307@stpeter.im>
Date: Mon, 18 Oct 2010 10:30:00 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <2633.1287405087.683587@puncture>
In-Reply-To: <2633.1287405087.683587@puncture>
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="------------ms030905080802060105060002"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 16:28:34 -0000

This is a cryptographically signed message in MIME format.

--------------ms030905080802060105060002
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/18/10 6:31 AM, Dave Cridland wrote:
> On Fri Oct 15 20:49:33 2010, Peter Saint-Andre wrote:
>> On 10/15/10 11:35 AM, Matthew Wild wrote:
>> > Prosody replies
>> > to such stanzas without a 'from' address, to mirror the request. It
>> > also doesn't stamp a 'to' on the stanza. Since these stanzas are nev=
er
>> > routed that seems superflous to me.
>>
>> Seems sensible.
>=20
> Are we really sure that not having a to on a S2C stanza is sensible?
>=20
> I don't have any strong feelings, but I'm concerned that if there exist=

> clients which choke on this, I'd rather err on the side of caution and
> mandate that we do.
>=20
> I think Prosody is unique in this behaviour outside XEP-0078 code, so I=

> suspect it might be easier to "fix" Prosody rather than "fix" the clien=
ts.

I would guess that most early servers (and probably many recent ones)
simply swap the 'to' and 'from' attributes when replying to stanzas like
IQs used for service discovery and roster management. Thus I'd expect
that most clients already handle "s2c" stanzas with no 'to' address.

Peter

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




--------------ms030905080802060105060002
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/o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VeXKJkyvcdicCAAAA
AAAA
--------------ms030905080802060105060002--

From mwild1@gmail.com  Mon Oct 18 09:54:18 2010
Return-Path: <mwild1@gmail.com>
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 5709D3A6DE8 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 09:54:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 eQ3LVjrJljk2 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 09:54:17 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 45C113A6DE5 for <xmpp@ietf.org>; Mon, 18 Oct 2010 09:54:17 -0700 (PDT)
Received: by wyb29 with SMTP id 29so1473197wyb.31 for <xmpp@ietf.org>; Mon, 18 Oct 2010 09:55:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=QFFUPSf95feu3AhnVOCU3yKb5HSqqXPlAOnTpf6LAw0=; b=bzZEafZO0yLNTP9QS4QkaqWm5TONukZCn3a7URAkVCV9vyVehU9BpECJ7S39qJrwxK RQb0SqHhKYICvJqXGH7RFvHLmtmu3h8yqv6vAsf55J0xLz/Yvrc5p9fQefYNmFinznCe sZIrlZ/0e0+IdO04zIYC+uQcbyAov2Uqh1MuQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=gMuTYOOF9DENQjussYXF3tyjLcr8MJy+GUgCKiGNkWl/gM/cA1X2TBFeh6Ok8Bz9se 2/xklEJLwt0JZdpg6Zpjj5l+c23ncI0N2I4W6D4fD4WFba1L+plQRA1PVYre2QFvJFoD Mp+lH83BtIAqDCBvD7NDCvT+1lvR6CgWy3yUw=
Received: by 10.227.128.197 with SMTP id l5mr4829066wbs.179.1287420945290; Mon, 18 Oct 2010 09:55:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.207.66 with HTTP; Mon, 18 Oct 2010 09:55:24 -0700 (PDT)
In-Reply-To: <2633.1287405087.683587@puncture>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <2633.1287405087.683587@puncture>
From: Matthew Wild <mwild1@gmail.com>
Date: Mon, 18 Oct 2010 17:55:24 +0100
Message-ID: <AANLkTik=b-fsxSvDn7dt=sajzZZBXuH-kiLe1a1XXHPP@mail.gmail.com>
To: Dave Cridland <dave@cridland.net>
Content-Type: text/plain; charset=UTF-8
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 16:54:18 -0000

On 18 October 2010 13:31, Dave Cridland <dave@cridland.net> wrote:
> On Fri Oct 15 20:49:33 2010, Peter Saint-Andre wrote:
>>
>> On 10/15/10 11:35 AM, Matthew Wild wrote:
>> > Prosody replies
>> > to such stanzas without a 'from' address, to mirror the request. It
>> > also doesn't stamp a 'to' on the stanza. Since these stanzas are never
>> > routed that seems superflous to me.
>>
>> Seems sensible.
>
> Are we really sure that not having a to on a S2C stanza is sensible?
>
> I don't have any strong feelings, but I'm concerned that if there exist
> clients which choke on this, I'd rather err on the side of caution and
> mandate that we do.
>
> I think Prosody is unique in this behaviour outside XEP-0078 code, so I
> suspect it might be easier to "fix" Prosody rather than "fix" the clients.
>

This is hardly a widespread issue, in fact I can't name any clients
that are broken now - as far as I know the only actual report of a
broken client in use was Jappix, and the developers have fixed that (I
still have no idea why they were checking it, but they now implicitly
set it to their JID if it is missing).

The other reports tend to be from people writing their own libraries
or working with low-level ones. Frankly I don't mind these people
learning that they really have no need to check the 'to' as a client
in XMPP. As far as I'm concerned the spec is simply clarifying the
current state of things.

Matthew

From stpeter@stpeter.im  Mon Oct 18 10:04:14 2010
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 EA8433A6B8B for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 10:04:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.569
X-Spam-Level: 
X-Spam-Status: No, score=-102.569 tagged_above=-999 required=5 tests=[AWL=0.030, 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 4f-P74e8i3z3 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 10:04:12 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 540303A6DB0 for <xmpp@ietf.org>; Mon, 18 Oct 2010 10:04:12 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id EC9F840074; Mon, 18 Oct 2010 11:12:51 -0600 (MDT)
Message-ID: <4CBC7E5E.30801@stpeter.im>
Date: Mon, 18 Oct 2010 11:05:34 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <2633.1287405087.683587@puncture> <AANLkTik=b-fsxSvDn7dt=sajzZZBXuH-kiLe1a1XXHPP@mail.gmail.com>
In-Reply-To: <AANLkTik=b-fsxSvDn7dt=sajzZZBXuH-kiLe1a1XXHPP@mail.gmail.com>
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="------------ms020403010007020301020103"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 17:04:15 -0000

This is a cryptographically signed message in MIME format.

--------------ms020403010007020301020103
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/18/10 10:55 AM, Matthew Wild wrote:
> On 18 October 2010 13:31, Dave Cridland <dave@cridland.net> wrote:
>> On Fri Oct 15 20:49:33 2010, Peter Saint-Andre wrote:
>>>
>>> On 10/15/10 11:35 AM, Matthew Wild wrote:
>>>> Prosody replies
>>>> to such stanzas without a 'from' address, to mirror the request. It
>>>> also doesn't stamp a 'to' on the stanza. Since these stanzas are nev=
er
>>>> routed that seems superflous to me.
>>>
>>> Seems sensible.
>>
>> Are we really sure that not having a to on a S2C stanza is sensible?
>>
>> I don't have any strong feelings, but I'm concerned that if there exis=
t
>> clients which choke on this, I'd rather err on the side of caution and=

>> mandate that we do.
>>
>> I think Prosody is unique in this behaviour outside XEP-0078 code, so =
I
>> suspect it might be easier to "fix" Prosody rather than "fix" the clie=
nts.
>>
>=20
> This is hardly a widespread issue, in fact I can't name any clients
> that are broken now - as far as I know the only actual report of a
> broken client in use was Jappix, and the developers have fixed that (I
> still have no idea why they were checking it, but they now implicitly
> set it to their JID if it is missing).
>=20
> The other reports tend to be from people writing their own libraries
> or working with low-level ones. Frankly I don't mind these people
> learning that they really have no need to check the 'to' as a client
> in XMPP. As far as I'm concerned the spec is simply clarifying the
> current state of things.

That's my understanding as well.

Peter

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




--------------ms020403010007020301020103
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ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gNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQC1ML32J2qq5D9hG298qQfnRq8bxCLBjsJyF5+FG/J3OhR53lu4LBGnmCdw
P1XXPdXxrd4z66KbsxQTMSOz4d+wIin60/+ICMlK5c+KR5nX3LU7rXRebqcC8HgjQZjDRm/a
vSDftuS56c9dyp2eVBQFEpbXFzkia2mQE2hNwJdywSj/2T0uC84byAz4dGQMZ628gvd6sQRd
wMcOGeLk4dvwjQg/VLjNXoozpf8nvdtAJPxQBfP3Twsxh0Ddw0Bc9WVDS08PY+Q/qSs8v/Y/
ieGdPXAEgM0Ixp/C40cOr5IBhNza5rea/yvoFVt0KCpjhI5inMtg/MImHTmiPD2PG6VaAAAA
AAAA
--------------ms020403010007020301020103--

From mwild1@gmail.com  Mon Oct 18 10:07:38 2010
Return-Path: <mwild1@gmail.com>
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 15E7F3A69FF for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 10:07:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 i30GP7yA-MaD for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 10:07:36 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by core3.amsl.com (Postfix) with ESMTP id 9C7A13A6A2D for <xmpp@ietf.org>; Mon, 18 Oct 2010 10:07:34 -0700 (PDT)
Received: by pwj8 with SMTP id 8so276292pwj.31 for <xmpp@ietf.org>; Mon, 18 Oct 2010 10:09:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=88ETcRsKfAppN82hOmjRH3oSViMNCvhtwycqTiXuJeg=; b=UdkfksEFRNHzImB/jtjkcualV0ZtXwJSGKEGGNlHUtgG4QJICIHk3p1E3KSBdzQaqy t4hGy1Jy0hJuLOW7tFCO5UUt5IEq4Oxcc8c0uscHCRNc6bQdPom90fFxbCgstdbNUhJn ncezSOmtlY+WFVR4/LsQpHTRciuc3pNennXLU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=jjQB6mmnEplVfnGqz23A1rdmKLXLMY4jLy+ZdMspCPTzeVrZS88DpcJ7okzRnyL95O +DXTOH708AnsLXaY3tbbmXxbEqWixAzErbwcQAQ8lQ2ox2zCJmhxpBMkAT6QcfSa1AjC iEseaMG+RTSt4UwAs11+hn9fkHB+VlR6bvH1A=
Received: by 10.143.42.12 with SMTP id u12mr1742435wfj.133.1287421743555; Mon, 18 Oct 2010 10:09:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.207.66 with HTTP; Mon, 18 Oct 2010 10:08:42 -0700 (PDT)
In-Reply-To: <4CBC7608.7040307@stpeter.im>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <2633.1287405087.683587@puncture> <4CBC7608.7040307@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Mon, 18 Oct 2010 18:08:42 +0100
Message-ID: <AANLkTi=04HFwhTxe4d9sFD7K0OFyr1k6V0MfWVtfa-N=@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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, 18 Oct 2010 17:07:38 -0000

On 18 October 2010 17:30, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 10/18/10 6:31 AM, Dave Cridland wrote:
>> On Fri Oct 15 20:49:33 2010, Peter Saint-Andre wrote:
>>> On 10/15/10 11:35 AM, Matthew Wild wrote:
>>> > Prosody replies
>>> > to such stanzas without a 'from' address, to mirror the request. It
>>> > also doesn't stamp a 'to' on the stanza. Since these stanzas are never
>>> > routed that seems superflous to me.
>>>
>>> Seems sensible.
>>
>> Are we really sure that not having a to on a S2C stanza is sensible?
>>
>> I don't have any strong feelings, but I'm concerned that if there exist
>> clients which choke on this, I'd rather err on the side of caution and
>> mandate that we do.
>>
>> I think Prosody is unique in this behaviour outside XEP-0078 code, so I
>> suspect it might be easier to "fix" Prosody rather than "fix" the clients.
>
> I would guess that most early servers (and probably many recent ones)
> simply swap the 'to' and 'from' attributes when replying to stanzas like
> IQs used for service discovery and roster management. Thus I'd expect
> that most clients already handle "s2c" stanzas with no 'to' address.
>

Indeed, this is why Prosody doesn't include a "to" in such requests.
Rather than special-casing things like XEP-0077/78 we only stamp the
'from' on a stanza prior to routing. Since private requests to the
server are never routed as such, but responded to directly, they don't
reach the stamping and pre-routing validity checks (has the client
bound a resource, etc.).

Largely unrelated to the issue at hand, but justifcation for Prosody's
behaviour: Prosody deals with all "private" requests prior to routing.
This allows us to cleanly separate routed stanzas from
client-generated "private" stanzas. This completely removes the
possibility of clients requesting other clients' rosters, or (as a
hypothetical example *cough*) modifying other users' passwords.

Regards,
Matthew

From stpeter@stpeter.im  Mon Oct 18 14:15:30 2010
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 112A03A6BE7 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 14:15:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.562
X-Spam-Level: 
X-Spam-Status: No, score=-102.562 tagged_above=-999 required=5 tests=[AWL=0.037, 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 Xl0074wrCRqz for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 14:15:28 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 9258B3A6BCB for <xmpp@ietf.org>; Mon, 18 Oct 2010 14:15:28 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2B6D940074 for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:24:13 -0600 (MDT)
Message-ID: <4CBCB948.6030402@stpeter.im>
Date: Mon, 18 Oct 2010 15:16:56 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
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="------------ms020601040509030902020205"
Subject: [xmpp] 3920bis: truth in advertising
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, 18 Oct 2010 21:15:30 -0000

This is a cryptographically signed message in MIME format.

--------------ms020601040509030902020205
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Something has been nagging at me. In 3920bis we talk about how TLS helps
to ensure confidentiality and integrity at the stream level, but we
don't mention that per-stream encryption does not ensure end-to-end
protection of stanzas. I think it would be appropriate to call out that
fact so we don't lead people astray (and I would expect the reviewer
from the security directorate to do so anyway, so we might as well be
proactive). Here is proposed text for a new security note that I suggest
we add to Section 13.4 ("Confidentiality and Integrity"):

      Security Note: The use of TLS in XMPP applies to a single stream.
      Because XMPP is typically deployed using a distributed client-
      server architecture (as explained under Section 2.5), a stanza
      might traverse multiple streams, and not all of those streams
      might be TLS-protected.  For example, a stanza sent from a client
      with a session at one server (e.g., <romeo@example.net/orchard>)
      and intended for delivery to a client with a session at another
      server (e.g., <juliet@example.com/balcony>) will traverse three
      streams: the stream from the sender's client to its server, the
      stream from the sender's server to the recipient's server, and the
      stream from the recipient's server to the recipient's client.
      Furthermore, the stanza will be processed as cleartext within the
      sender's server and the recipient's server.  Therefore, even if
      the stream from the sender's client to its server is protected,
      the confidentiality and integrity of a stanza sent over that
      protected stream cannot be guaranteed when the stanza is processed
      by the sender's server, sent from the sender's server to the
      recipient's server, processed by the recipient's server, or sent
      from the recipient's server to the recipient's client.  Only a
      robust technology for end-to-end encryption could ensure the
      confidentiality and integrity of a stanza as it traverses all of
      the "hops" along a communication path.  Unfortunately, the XMPP
      community has so far failed to produce an end-to-end encryption
      technology that might be suitable for widespread implementation
      and deployment, and definition of such a technology is out of
      scope for this document.

/psa



--------------ms020601040509030902020205
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7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npNgG/eg8ZldLp1lmErAAAA
AAAA
--------------ms020601040509030902020205--

From rbarnes@bbn.com  Mon Oct 18 14:42:56 2010
Return-Path: <rbarnes@bbn.com>
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 833873A6BE8 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 14:42:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.398
X-Spam-Level: 
X-Spam-Status: No, score=-102.398 tagged_above=-999 required=5 tests=[AWL=0.201, 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 p-us1tr6yRsT for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 14:42:55 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) by core3.amsl.com (Postfix) with ESMTP id 54D4D3A6B8F for <xmpp@ietf.org>; Mon, 18 Oct 2010 14:42:55 -0700 (PDT)
Received: from [192.1.255.215] (port=63153 helo=col-dhcp-192-1-255-215.bbn.com) by smtp.bbn.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1P7xVI-000639-6B; Mon, 18 Oct 2010 17:44:24 -0400
Message-Id: <52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com>
From: "Richard L. Barnes" <rbarnes@bbn.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CBCB948.6030402@stpeter.im>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Mon, 18 Oct 2010 17:44:23 -0400
References: <4CBCB948.6030402@stpeter.im>
X-Mailer: Apple Mail (2.936)
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] 3920bis: truth in advertising
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, 18 Oct 2010 21:42:56 -0000

As someone who is scheduled to do a SECDIR review on this document,  
that makes sense to me. It clearly documents what you do and don't get  
from the TLS protections in XMPP (in the 3920bis sense).  The one  
thing you might add is pointer(s) to some of the potential solutions,  
e.g., RFC 3923 or maybe XEP-0285.

--Richard


On Oct 18, 2010, at 5:16 PM, Peter Saint-Andre wrote:

> Something has been nagging at me. In 3920bis we talk about how TLS  
> helps
> to ensure confidentiality and integrity at the stream level, but we
> don't mention that per-stream encryption does not ensure end-to-end
> protection of stanzas. I think it would be appropriate to call out  
> that
> fact so we don't lead people astray (and I would expect the reviewer
> from the security directorate to do so anyway, so we might as well be
> proactive). Here is proposed text for a new security note that I  
> suggest
> we add to Section 13.4 ("Confidentiality and Integrity"):
>
>      Security Note: The use of TLS in XMPP applies to a single stream.
>      Because XMPP is typically deployed using a distributed client-
>      server architecture (as explained under Section 2.5), a stanza
>      might traverse multiple streams, and not all of those streams
>      might be TLS-protected.  For example, a stanza sent from a client
>      with a session at one server (e.g., <romeo@example.net/orchard>)
>      and intended for delivery to a client with a session at another
>      server (e.g., <juliet@example.com/balcony>) will traverse three
>      streams: the stream from the sender's client to its server, the
>      stream from the sender's server to the recipient's server, and  
> the
>      stream from the recipient's server to the recipient's client.
>      Furthermore, the stanza will be processed as cleartext within the
>      sender's server and the recipient's server.  Therefore, even if
>      the stream from the sender's client to its server is protected,
>      the confidentiality and integrity of a stanza sent over that
>      protected stream cannot be guaranteed when the stanza is  
> processed
>      by the sender's server, sent from the sender's server to the
>      recipient's server, processed by the recipient's server, or sent
>      from the recipient's server to the recipient's client.  Only a
>      robust technology for end-to-end encryption could ensure the
>      confidentiality and integrity of a stanza as it traverses all of
>      the "hops" along a communication path.  Unfortunately, the XMPP
>      community has so far failed to produce an end-to-end encryption
>      technology that might be suitable for widespread implementation
>      and deployment, and definition of such a technology is out of
>      scope for this document.
>
> /psa
>
>
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp


From stpeter@stpeter.im  Mon Oct 18 15:02:47 2010
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 B0C903A69AD for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:02:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.563
X-Spam-Level: 
X-Spam-Status: No, score=-102.563 tagged_above=-999 required=5 tests=[AWL=0.036, 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 GRkZhbQxYUpm for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:02:46 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 9B4923A6B8F for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:02:46 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B176D40074; Mon, 18 Oct 2010 16:11:31 -0600 (MDT)
Message-ID: <4CBCC45E.7080001@stpeter.im>
Date: Mon, 18 Oct 2010 16:04:14 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <4CBCB948.6030402@stpeter.im> <52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com>
In-Reply-To: <52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com>
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="------------ms060301010603040906070308"
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] 3920bis: truth in advertising
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, 18 Oct 2010 22:02:47 -0000

This is a cryptographically signed message in MIME format.

--------------ms060301010603040906070308
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Potential solutions? There are so many! In roughly chronological order
they are:

1. XEP-0027

2. RFC 3923

3. Off-The-Record Messaging (not XMPP-specific)

4. XEP-0116

5. xmlenc / xmldsig (supposedly in use but never documented)

6. draft-meyer-xmpp-e2e-encryption

7. draft-miller-3923bis

8. XEP-0285

I realize that the great thing about standards is that there are so many
to choose from, but this is getting ridiculous. I'd prefer not to point
out this embarrassment of failures. :)

On 10/18/10 3:44 PM, Richard L. Barnes wrote:
> As someone who is scheduled to do a SECDIR review on this document, tha=
t
> makes sense to me. It clearly documents what you do and don't get from
> the TLS protections in XMPP (in the 3920bis sense).  The one thing you
> might add is pointer(s) to some of the potential solutions, e.g., RFC
> 3923 or maybe XEP-0285.
>=20
> --Richard
>=20
>=20
> On Oct 18, 2010, at 5:16 PM, Peter Saint-Andre wrote:
>=20
>> Something has been nagging at me. In 3920bis we talk about how TLS hel=
ps
>> to ensure confidentiality and integrity at the stream level, but we
>> don't mention that per-stream encryption does not ensure end-to-end
>> protection of stanzas. I think it would be appropriate to call out tha=
t
>> fact so we don't lead people astray (and I would expect the reviewer
>> from the security directorate to do so anyway, so we might as well be
>> proactive). Here is proposed text for a new security note that I sugge=
st
>> we add to Section 13.4 ("Confidentiality and Integrity"):
>>
>>      Security Note: The use of TLS in XMPP applies to a single stream.=

>>      Because XMPP is typically deployed using a distributed client-
>>      server architecture (as explained under Section 2.5), a stanza
>>      might traverse multiple streams, and not all of those streams
>>      might be TLS-protected.  For example, a stanza sent from a client=

>>      with a session at one server (e.g., <romeo@example.net/orchard>)
>>      and intended for delivery to a client with a session at another
>>      server (e.g., <juliet@example.com/balcony>) will traverse three
>>      streams: the stream from the sender's client to its server, the
>>      stream from the sender's server to the recipient's server, and th=
e
>>      stream from the recipient's server to the recipient's client.
>>      Furthermore, the stanza will be processed as cleartext within the=

>>      sender's server and the recipient's server.  Therefore, even if
>>      the stream from the sender's client to its server is protected,
>>      the confidentiality and integrity of a stanza sent over that
>>      protected stream cannot be guaranteed when the stanza is processe=
d
>>      by the sender's server, sent from the sender's server to the
>>      recipient's server, processed by the recipient's server, or sent
>>      from the recipient's server to the recipient's client.  Only a
>>      robust technology for end-to-end encryption could ensure the
>>      confidentiality and integrity of a stanza as it traverses all of
>>      the "hops" along a communication path.  Unfortunately, the XMPP
>>      community has so far failed to produce an end-to-end encryption
>>      technology that might be suitable for widespread implementation
>>      and deployment, and definition of such a technology is out of
>>      scope for this document.
>>
>> /psa
>>


--------------ms060301010603040906070308
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGcPo
98K4TJf8FHo+UA9EOVDp/W7fCqKT4sXk/XkCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgE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BzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQChRmgpjY+t9+z+lDu8rOWtuB3iceKkGUDK/6jP1BvH+4skNbhPhDj3Dm5Z
GABps2UYlyp2e5HVPbGA0D5woPt2qvw5uPk46AJD+WiteNbNCH42vQHCXrkilFGoAWsOmvTc
EcLDcEB0In53rs5yLs9qpXT2PVDiILrgsABwVjQ6fL6UJdM8wzLfEccWIY03n1YDGgCr+6G4
qJ6wI/U8WBZYdgVSpvQpjxhwZL8D6uIbdwl5pEwl5fFU6qSjG1BkSm6xBccwmoT/edlOqNT0
Hnmu8ZNZZmcIs8Ek+piNGItL+AsIRlIEqsACtLRjhUG4C4E5KIMCbGXAacuro/0+9dkIAAAA
AAAA
--------------ms060301010603040906070308--

From rbarnes@bbn.com  Mon Oct 18 15:09:05 2010
Return-Path: <rbarnes@bbn.com>
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 B4B763A6C0E for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:09:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.4
X-Spam-Level: 
X-Spam-Status: No, score=-102.4 tagged_above=-999 required=5 tests=[AWL=0.199,  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 rTlgb-4A42t3 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:09:04 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by core3.amsl.com (Postfix) with ESMTP id 9CD093A6B8F for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:09:04 -0700 (PDT)
Received: from [192.1.255.215] (port=63454 helo=col-dhcp-192-1-255-215.bbn.com) by smtp.bbn.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1P7xub-00038A-M2; Mon, 18 Oct 2010 18:10:33 -0400
Message-Id: <43EB8829-33D3-4C86-94B6-92FF5A1B0748@bbn.com>
From: "Richard L. Barnes" <rbarnes@bbn.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CBCC45E.7080001@stpeter.im>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Mon, 18 Oct 2010 18:10:33 -0400
References: <4CBCB948.6030402@stpeter.im> <52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com> <4CBCC45E.7080001@stpeter.im>
X-Mailer: Apple Mail (2.936)
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] 3920bis: truth in advertising
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, 18 Oct 2010 22:09:05 -0000

Well, ok, but it still seems like there should be *something* positive  
to say :)  Maybe you could say what sort of thing would need to be  
implemented, e.g., object encryption of stanzas or some sort of secure  
channel riding on top of the various XMPP streams.



On Oct 18, 2010, at 6:04 PM, Peter Saint-Andre wrote:

> Potential solutions? There are so many! In roughly chronological order
> they are:
>
> 1. XEP-0027
>
> 2. RFC 3923
>
> 3. Off-The-Record Messaging (not XMPP-specific)
>
> 4. XEP-0116
>
> 5. xmlenc / xmldsig (supposedly in use but never documented)
>
> 6. draft-meyer-xmpp-e2e-encryption
>
> 7. draft-miller-3923bis
>
> 8. XEP-0285
>
> I realize that the great thing about standards is that there are so  
> many
> to choose from, but this is getting ridiculous. I'd prefer not to  
> point
> out this embarrassment of failures. :)
>
> On 10/18/10 3:44 PM, Richard L. Barnes wrote:
>> As someone who is scheduled to do a SECDIR review on this document,  
>> that
>> makes sense to me. It clearly documents what you do and don't get  
>> from
>> the TLS protections in XMPP (in the 3920bis sense).  The one thing  
>> you
>> might add is pointer(s) to some of the potential solutions, e.g., RFC
>> 3923 or maybe XEP-0285.
>>
>> --Richard
>>
>>
>> On Oct 18, 2010, at 5:16 PM, Peter Saint-Andre wrote:
>>
>>> Something has been nagging at me. In 3920bis we talk about how TLS  
>>> helps
>>> to ensure confidentiality and integrity at the stream level, but we
>>> don't mention that per-stream encryption does not ensure end-to-end
>>> protection of stanzas. I think it would be appropriate to call out  
>>> that
>>> fact so we don't lead people astray (and I would expect the reviewer
>>> from the security directorate to do so anyway, so we might as well  
>>> be
>>> proactive). Here is proposed text for a new security note that I  
>>> suggest
>>> we add to Section 13.4 ("Confidentiality and Integrity"):
>>>
>>>     Security Note: The use of TLS in XMPP applies to a single  
>>> stream.
>>>     Because XMPP is typically deployed using a distributed client-
>>>     server architecture (as explained under Section 2.5), a stanza
>>>     might traverse multiple streams, and not all of those streams
>>>     might be TLS-protected.  For example, a stanza sent from a  
>>> client
>>>     with a session at one server (e.g., <romeo@example.net/orchard>)
>>>     and intended for delivery to a client with a session at another
>>>     server (e.g., <juliet@example.com/balcony>) will traverse three
>>>     streams: the stream from the sender's client to its server, the
>>>     stream from the sender's server to the recipient's server, and  
>>> the
>>>     stream from the recipient's server to the recipient's client.
>>>     Furthermore, the stanza will be processed as cleartext within  
>>> the
>>>     sender's server and the recipient's server.  Therefore, even if
>>>     the stream from the sender's client to its server is protected,
>>>     the confidentiality and integrity of a stanza sent over that
>>>     protected stream cannot be guaranteed when the stanza is  
>>> processed
>>>     by the sender's server, sent from the sender's server to the
>>>     recipient's server, processed by the recipient's server, or sent
>>>     from the recipient's server to the recipient's client.  Only a
>>>     robust technology for end-to-end encryption could ensure the
>>>     confidentiality and integrity of a stanza as it traverses all of
>>>     the "hops" along a communication path.  Unfortunately, the XMPP
>>>     community has so far failed to produce an end-to-end encryption
>>>     technology that might be suitable for widespread implementation
>>>     and deployment, and definition of such a technology is out of
>>>     scope for this document.
>>>
>>> /psa
>>>
>


From stpeter@stpeter.im  Mon Oct 18 15:17:54 2010
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 CC58D3A6C0D for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:17:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.563
X-Spam-Level: 
X-Spam-Status: No, score=-102.563 tagged_above=-999 required=5 tests=[AWL=0.036, 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 GTxDyMx2vrKE for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:17:53 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 471203A6AB6 for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:17:53 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 33AD640074; Mon, 18 Oct 2010 16:26:38 -0600 (MDT)
Message-ID: <4CBCC7E9.6060603@stpeter.im>
Date: Mon, 18 Oct 2010 16:19:21 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <4CBCB948.6030402@stpeter.im> <52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com> <4CBCC45E.7080001@stpeter.im> <43EB8829-33D3-4C86-94B6-92FF5A1B0748@bbn.com>
In-Reply-To: <43EB8829-33D3-4C86-94B6-92FF5A1B0748@bbn.com>
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="------------ms020300050005080008020704"
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] 3920bis: truth in advertising
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, 18 Oct 2010 22:17:54 -0000

This is a cryptographically signed message in MIME format.

--------------ms020300050005080008020704
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Ah, so much is captured in that little word "should". :)

But seriously, we could add an informative reference to:

http://tools.ietf.org/html/draft-ietf-xmpp-e2e-requirements

Which is, itself, expired! But we'll restart that work once we've
completed our revisions to 3920/3921, I'd imagine...

On 10/18/10 4:10 PM, Richard L. Barnes wrote:
> Well, ok, but it still seems like there should be *something* positive
> to say :)  Maybe you could say what sort of thing would need to be
> implemented, e.g., object encryption of stanzas or some sort of secure
> channel riding on top of the various XMPP streams.
>=20
>=20
>=20
> On Oct 18, 2010, at 6:04 PM, Peter Saint-Andre wrote:
>=20
>> Potential solutions? There are so many! In roughly chronological order=

>> they are:
>>
>> 1. XEP-0027
>>
>> 2. RFC 3923
>>
>> 3. Off-The-Record Messaging (not XMPP-specific)
>>
>> 4. XEP-0116
>>
>> 5. xmlenc / xmldsig (supposedly in use but never documented)
>>
>> 6. draft-meyer-xmpp-e2e-encryption
>>
>> 7. draft-miller-3923bis
>>
>> 8. XEP-0285
>>
>> I realize that the great thing about standards is that there are so ma=
ny
>> to choose from, but this is getting ridiculous. I'd prefer not to poin=
t
>> out this embarrassment of failures. :)
>>
>> On 10/18/10 3:44 PM, Richard L. Barnes wrote:
>>> As someone who is scheduled to do a SECDIR review on this document, t=
hat
>>> makes sense to me. It clearly documents what you do and don't get fro=
m
>>> the TLS protections in XMPP (in the 3920bis sense).  The one thing yo=
u
>>> might add is pointer(s) to some of the potential solutions, e.g., RFC=

>>> 3923 or maybe XEP-0285.
>>>
>>> --Richard
>>>
>>>
>>> On Oct 18, 2010, at 5:16 PM, Peter Saint-Andre wrote:
>>>
>>>> Something has been nagging at me. In 3920bis we talk about how TLS
>>>> helps
>>>> to ensure confidentiality and integrity at the stream level, but we
>>>> don't mention that per-stream encryption does not ensure end-to-end
>>>> protection of stanzas. I think it would be appropriate to call out t=
hat
>>>> fact so we don't lead people astray (and I would expect the reviewer=

>>>> from the security directorate to do so anyway, so we might as well b=
e
>>>> proactive). Here is proposed text for a new security note that I
>>>> suggest
>>>> we add to Section 13.4 ("Confidentiality and Integrity"):
>>>>
>>>>     Security Note: The use of TLS in XMPP applies to a single stream=
=2E
>>>>     Because XMPP is typically deployed using a distributed client-
>>>>     server architecture (as explained under Section 2.5), a stanza
>>>>     might traverse multiple streams, and not all of those streams
>>>>     might be TLS-protected.  For example, a stanza sent from a clien=
t
>>>>     with a session at one server (e.g., <romeo@example.net/orchard>)=

>>>>     and intended for delivery to a client with a session at another
>>>>     server (e.g., <juliet@example.com/balcony>) will traverse three
>>>>     streams: the stream from the sender's client to its server, the
>>>>     stream from the sender's server to the recipient's server, and t=
he
>>>>     stream from the recipient's server to the recipient's client.
>>>>     Furthermore, the stanza will be processed as cleartext within th=
e
>>>>     sender's server and the recipient's server.  Therefore, even if
>>>>     the stream from the sender's client to its server is protected,
>>>>     the confidentiality and integrity of a stanza sent over that
>>>>     protected stream cannot be guaranteed when the stanza is process=
ed
>>>>     by the sender's server, sent from the sender's server to the
>>>>     recipient's server, processed by the recipient's server, or sent=

>>>>     from the recipient's server to the recipient's client.  Only a
>>>>     robust technology for end-to-end encryption could ensure the
>>>>     confidentiality and integrity of a stanza as it traverses all of=

>>>>     the "hops" along a communication path.  Unfortunately, the XMPP
>>>>     community has so far failed to produce an end-to-end encryption
>>>>     technology that might be suitable for widespread implementation
>>>>     and deployment, and definition of such a technology is out of
>>>>     scope for this document.
>>>>
>>>> /psa
>>>>


--------------ms020300050005080008020704
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoA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vU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCHE3fpnlU06hkmLXrZXdKVHPpB28PRNshj91zzwu9ja4vQ347iG2xtkZYW
26J5ViZAkyyyFhDWDkVd9Bu2tE1vzv55jy578kO35LDJ1UScyeMCbZb60Z29q7bajpjUrD1Z
A+woN7FTMyapKtr+MY0pKYGGTbo7KOa78CtHywQ8O32fHHLrj8bitOivPu2oPQYXx1IMICMi
wDL4IKhNWJhDL7fyU9fHOJTEyUcyFc4qerwhgBOa5LrBP6jINh1Ykeo1pLZBMdL4SXcDothK
MU/MvgthdAi6dtY0TSToZDvgksclCqjQdpovNlXDYI776COEufJmAK/wul66vvca3iUdAAAA
AAAA
--------------ms020300050005080008020704--

From justin@affinix.com  Mon Oct 18 15:21:11 2010
Return-Path: <justin@affinix.com>
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 0715B3A6AB6 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:21:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
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 U6sIlcIN-jKh for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:21:08 -0700 (PDT)
Received: from homiemail-a14.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by core3.amsl.com (Postfix) with ESMTP id D47A43A6BFB for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:21:07 -0700 (PDT)
Received: from homiemail-a14.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a14.g.dreamhost.com (Postfix) with ESMTP id 27EAA8C090 for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:22:37 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=affinix.com; h=from:to:subject :date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=affinix.com; b=h auACVgT5HxI72fOZ8YczZtQkV9DMThSrMFC27mZC+E+bpPCqVf/um1GAclgX7RIN pKL6Uo2u4Pjjbcr2ArsUIMq8tn728hNxRF4SevXn24dcBdB7cWU0oFpvPqxBEsnh eRjmrmQkNCFOGq5CkmxGCzSCFmEZhm34SxU4lKnAAs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=affinix.com; h=from:to :subject:date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; s=affinix.com; bh=51IaVhX gjflWJunUDdvsLr/Vs0M=; b=YL9lJbU2E9SpCkGAbQ4t4hpWZX9UWQeE2LxpTJ0 ZBFfpeLy5lkJiDMZrck/MCsfIK6HECxdxh2DSqVu1T7TOGUStN2xsElpjobMx2zp O2x0nmgvNDHfOCoeFe23hUpOUXsSBMo5MksNMiLFBKaCrfAW5BxviYvxpsnUHbxS 0edQ=
Received: from purelace.localnet (andross.dreamhost.com [75.119.221.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: justin@affinix.com) by homiemail-a14.g.dreamhost.com (Postfix) with ESMTPSA id 054B08C071 for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:22:37 -0700 (PDT)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Mon, 18 Oct 2010 15:22:36 -0700
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <4CBCB948.6030402@stpeter.im> <52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com> <4CBCC45E.7080001@stpeter.im>
In-Reply-To: <4CBCC45E.7080001@stpeter.im>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201010181522.36419.justin@affinix.com>
Subject: Re: [xmpp] 3920bis: truth in advertising
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, 18 Oct 2010 22:21:11 -0000

On Monday 18 October 2010 15:04:14 Peter Saint-Andre wrote:
> Potential solutions? There are so many! In roughly chronological order
> they are:
> 
> 1. XEP-0027
> 
> 2. RFC 3923
> 
> 3. Off-The-Record Messaging (not XMPP-specific)
> 
> 4. XEP-0116
> 
> 5. xmlenc / xmldsig (supposedly in use but never documented)
> 
> 6. draft-meyer-xmpp-e2e-encryption
> 
> 7. draft-miller-3923bis
> 
> 8. XEP-0285
> 
> I realize that the great thing about standards is that there are so many
> to choose from, but this is getting ridiculous. I'd prefer not to point
> out this embarrassment of failures. :)

And don't forget:
  http://xmpp.org/extensions/inbox/secure.html

;)

From stpeter@stpeter.im  Mon Oct 18 15:23:17 2010
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 9B2063A6C26 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:23:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.564
X-Spam-Level: 
X-Spam-Status: No, score=-102.564 tagged_above=-999 required=5 tests=[AWL=0.035, 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 6YmLa1-NDJuY for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 15:23:16 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C0D423A6C0D for <xmpp@ietf.org>; Mon, 18 Oct 2010 15:23:16 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 43C2940074 for <xmpp@ietf.org>; Mon, 18 Oct 2010 16:32:02 -0600 (MDT)
Message-ID: <4CBCC92D.7080609@stpeter.im>
Date: Mon, 18 Oct 2010 16:24:45 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CBCB948.6030402@stpeter.im>	<52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com>	<4CBCC45E.7080001@stpeter.im> <201010181522.36419.justin@affinix.com>
In-Reply-To: <201010181522.36419.justin@affinix.com>
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="------------ms030500060107000202070700"
Subject: Re: [xmpp] 3920bis: truth in advertising
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, 18 Oct 2010 22:23:17 -0000

This is a cryptographically signed message in MIME format.

--------------ms030500060107000202070700
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/18/10 4:22 PM, Justin Karneges wrote:

> And don't forget:
>   http://xmpp.org/extensions/inbox/secure.html

Indeed! Anyone else have proposals? :)

/psa



--------------ms030500060107000202070700
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9T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OpZPF1
wC9KaUO3bajSUzi6RWew2TOZVliGPvzIA0ZEOIgWDOX+x68JxsrP/oknUJwsg/ZmO/tIHb/j
4Nwo5yp71dfA+qPNVPh9mJaU60QAKKYNtAaObSQc1yACByaFupk41u/dWyF/6KAEYewyBzmC
HNo+vZfJ0viZoUW3dzsSB8QtORhdPyULKiyPwhCfHw87W87BFKw23HqOTbRCWOnaVTCGt0Qx
fzsGT4uxOAIrjADn3pmVGJc2cVtDn4pmPI+74jQH1Wuy06OnzUCKU93h1MV6IGyP8n0tAAAA
AAAA
--------------ms030500060107000202070700--

From paul@darkrain42.org  Mon Oct 18 22:04:56 2010
Return-Path: <paul@darkrain42.org>
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 72C403A6C12 for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 22:04:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level: 
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=0.150,  BAYES_00=-2.599]
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 mluqeBAcglpQ for <xmpp@core3.amsl.com>; Mon, 18 Oct 2010 22:03:40 -0700 (PDT)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id AF95D3A6BF8 for <xmpp@ietf.org>; Mon, 18 Oct 2010 22:03:33 -0700 (PDT)
Received: from [192.168.1.153] (c-24-19-135-94.hsd1.wa.comcast.net [24.19.135.94]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id 76A32806D;  Mon, 18 Oct 2010 22:05:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1287464702; bh=yqjEQgsj8Z4EcjC3S0PkgG6l/g3sywBekc71C2JJuLY=; l=1564; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:DomainKey-Signature; b=JAsW1KledcHoy7EN9XObCEg18wyokI8ygN9cG8lB/tZjmBGjsGZXEIWa3iP6cYEMU qlG1ycMG5P7LPdCZv5ZjjOxOW6b394Sm1Xc3WJSi8LSyAJAYzFtlw1jVrpiauNDUwl qmyivmR3rnEWFVvmiGYrqPNL0p7e/afOcZZ3EQNKSZ61eLpW/HPbDApYvuzTt7jKfN uCKJTu0OfUW8em4vP91hHZPuUVQ61kEQffXwaxtpvAlLSLDpZbyWYtkli+SzFP/Hkq xI+g2JMHmDQoaiYAXDpIpQVpzxuXHkSK74N+VSUqLdVMRFO47ztkBcADlGvNwuMn8a Gf4JNRVst7fRw==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=fejBzTX2+zTmlzpdKC7mIdysDAirPqNhb0C/xjuJbNFXCfYB3gcjjcM5aQI2obJH4 6qN6whL+2HepQjSJXue8c8aj1xBph5iQQIzp8ONPzSBfXmlmX9jzXmGbV+cY5jf6Not br01txg6K46j3mXDZhM0YBPsBpll4VtRnMHYR51Ft1EuWA0cx1KDuaifk2naKYQ95zN LBm5c5tDBzGVsXN2EhTDNuGsw/5FROAc5/pmo6QKDVBplEewx+PLxvHukWxvG3QBRUT OGA0mkZ4sQmAZkSSn2NGD2NDbgjddRAaqjryLbSVd0QqSxmMmXo7OS2zJrGiQ2bZw77 mO7jZkxXw==
Message-ID: <4CBD26F8.5020900@darkrain42.org>
Date: Mon, 18 Oct 2010 22:04:56 -0700
From: Paul Aurich <paul@darkrain42.org>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <4CB8BC7A.6010904@babelmonkeys.de> <4CB8BF0D.7000405@stpeter.im> <4CB8C3FF.1050800@babelmonkeys.de> <4CB9236A.3080506@stpeter.im> <4CB9980D.8020602@babelmonkeys.de> <4CBA5B6A.10809@stpeter.im> <4CBA833F.5080904@darkrain42.org> <4CBAF47D.4080003@babelmonkeys.de> <4CBB14F7.2060609@stpeter.im> <4CBB15AF.6010900@stpeter.im> <4CBB1D66.6060608@babelmonkeys.de> <4CBBA1C7.9030001@darkrain42.org> <AANLkTikp09gF6YewRfGx4bD-YPZGVAvgj2OrEP7KNESc@mail.gmail.com> <2633.1287405167.270017@puncture>
In-Reply-To: <2633.1287405167.270017@puncture>
X-Enigmail-Version: 1.1.1
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigC7116812C6CD09AF26CF9786"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Tue, 19 Oct 2010 05:05:14 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC7116812C6CD09AF26CF9786
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 2010-10-18 05:32, Dave Cridland wrote:
> I had to check I'd not missed ~800 XEPs being published over the weeken=
d.

Should the XSF start planning for the X1K problem? ;)

~Paul


--------------enigC7116812C6CD09AF26CF9786
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJMvSb7AAoJEEkfeuGm+zD3b+UP/2yenmS+Mg2HQrMnbIjQKjBp
oCYdD2EuSMEQFNUuHaAWAS3caMXbYm+rw0tRKZoriM4KJDAsMetPHpAp707bahIh
4kGIMNhofkB/2AeKacBlRTYhZrUiVwk2IXymIMoz6Kb5201CLHYUg2L2LlpfC22u
CSh08iluCRQ+7ETsWshQxQg47cS6B7GmtaJ7XQUi+XhYdcohAuQ/9+8uo+rf6MXh
Z09qS06trfietGodEP4ksKSnKAq1NliaThacf58/NVdbx6LBLuXvybEGGt70akQs
SUnk/fjSONUPQjTGHUT1Cvdlx8gFi//Q29ABs4Jzq0OAi4KkzyG+/o+Qq6WSZOBq
gmUuoeUuzqLGL9Th/f/NmN5l+GAr3ie6agTY2gTwh55gInUMphSlX70y/TcGEwj9
dKzikdZgOWf9P0XdhFP9QcF6zjHIDapZrqWOCn/lFqx17Euvj5z3yLgFdppVVfhe
f/qU6g8kCdpwjEOSdG5JVD1eeRRymxE6K0s/P4E1xVRjZtws6sFJqC6k5CZbf+Jz
pcst3pRoxQXW4XODzMW4skdLGnUgA/dJaKYwxYKxPktL49H5sSEolO2dWiEaCIm7
8JyN0L4qGdzsZlNJzuqnF6HC4ldXn+WsGLyzlFq/g5B3Hv5MJY0yRASIFv82DqrE
lrMSZGsBn8lLv5FirsB1
=1d5Q
-----END PGP SIGNATURE-----

--------------enigC7116812C6CD09AF26CF9786--

From dave@cridland.net  Tue Oct 19 01:04:40 2010
Return-Path: <dave@cridland.net>
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 6F9013A6C3F for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 01:04:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.509
X-Spam-Level: 
X-Spam-Status: No, score=-2.509 tagged_above=-999 required=5 tests=[AWL=0.090,  BAYES_00=-2.599]
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 T5ZFCbZ+YtXl for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 01:04:39 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 192823A6BAD for <xmpp@ietf.org>; Tue, 19 Oct 2010 01:04:39 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 9815411680E2; Tue, 19 Oct 2010 09:06:08 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wyajpZXei7mB; Tue, 19 Oct 2010 09:06:04 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 7589E11680CA; Tue, 19 Oct 2010 09:06:04 +0100 (BST)
References: <4CBCB948.6030402@stpeter.im> <52ED8365-D0C1-4C2D-BCDC-83F454A40828@bbn.com> <4CBCC45E.7080001@stpeter.im> <201010181522.36419.justin@affinix.com> <4CBCC92D.7080609@stpeter.im>
In-Reply-To: <4CBCC92D.7080609@stpeter.im>
MIME-Version: 1.0
Message-Id: <2633.1287475564.464745@puncture>
Date: Tue, 19 Oct 2010 09:06:04 +0100
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] 3920bis: truth in advertising
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: Tue, 19 Oct 2010 08:04:40 -0000

On Mon Oct 18 23:24:45 2010, Peter Saint-Andre wrote:
> On 10/18/10 4:22 PM, Justin Karneges wrote:
> 
> > And don't forget:
> >   http://xmpp.org/extensions/inbox/secure.html
> 
> Indeed! Anyone else have proposals? :)

I think that having a failed E2E encryption proposal is just a rite  
of passage for an XMPP expert. It's probably a requirement for a  
position in the XSF.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From dave@cridland.net  Tue Oct 19 02:37:15 2010
Return-Path: <dave@cridland.net>
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 937D13A63EC for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 02:37:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.509
X-Spam-Level: 
X-Spam-Status: No, score=-2.509 tagged_above=-999 required=5 tests=[AWL=0.090,  BAYES_00=-2.599]
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 vCz2GN1m9Gjq for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 02:37:14 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id D2C543A657C for <xmpp@ietf.org>; Tue, 19 Oct 2010 02:37:13 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 777CA11680E3; Tue, 19 Oct 2010 10:38:43 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fHUaJ6NXHfjn; Tue, 19 Oct 2010 10:38:36 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 8BAD311680CA; Tue, 19 Oct 2010 10:38:36 +0100 (BST)
References: <AANLkTikFGbJfET+Cx_cwnoZf1FzYjZENmB18zu8baYeP@mail.gmail.com> <4CB8B04D.7030900@stpeter.im> <4CB8BC7A.6010904@babelmonkeys.de> <4CB8BF0D.7000405@stpeter.im> <4CB8C3FF.1050800@babelmonkeys.de> <4CB9236A.3080506@stpeter.im> <4CB9980D.8020602@babelmonkeys.de> <4CBA5B6A.10809@stpeter.im> <4CBA833F.5080904@darkrain42.org> <4CBAF47D.4080003@babelmonkeys.de> <4CBB14F7.2060609@stpeter.im> <4CBB15AF.6010900@stpeter.im> <4CBB1D66.6060608@babelmonkeys.de> <4CBBA1C7.9030001@darkrain42.org> <AANLkTikp09gF6YewRfGx4bD-YPZGVAvgj2OrEP7KNESc@mail.gmail.com> <2633.1287405167.270017@puncture> <4CBD26F8.5020900@darkrain42.org>
In-Reply-To: <4CBD26F8.5020900@darkrain42.org>
MIME-Version: 1.0
Message-Id: <2633.1287481116.570598@puncture>
Date: Tue, 19 Oct 2010 10:38:36 +0100
From: Dave Cridland <dave@cridland.net>
To: Paul Aurich <paul@darkrain42.org>, Matthew Wild <mwild1@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] 'to' attribute on stanzas from server->client
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: Tue, 19 Oct 2010 09:37:15 -0000

On Tue Oct 19 06:04:56 2010, Paul Aurich wrote:
> On 2010-10-18 05:32, Dave Cridland wrote:
> > I had to check I'd not missed ~800 XEPs being published over the  
> weekend.
> 
> Should the XSF start planning for the X1K problem? ;)

The XSF's preferred citation style is 4 digits, allowing for another  
9721 XEPs before we hit a problem. Nevertheless, our finest minds are  
feverishly working on the problem.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From jehan.marmottard@gmail.com  Tue Oct 19 14:46:51 2010
Return-Path: <jehan.marmottard@gmail.com>
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 7F69D3A68AE for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 14:46:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.26
X-Spam-Level: 
X-Spam-Status: No, score=-2.26 tagged_above=-999 required=5 tests=[AWL=0.039,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 1-ZomDUmEmcY for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 14:46:49 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id E36173A67B8 for <xmpp@ietf.org>; Tue, 19 Oct 2010 14:46:48 -0700 (PDT)
Received: by iwn10 with SMTP id 10so3259505iwn.31 for <xmpp@ietf.org>; Tue, 19 Oct 2010 14:48:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UWtsiiVRyrllqDDZbXDrHw2UrTHF+xWfhe6sf7MLGIY=; b=xN5Ih4l5pGCtHnBeQoa1PuKLu1eI/zQ0F5Xc+t3ugBQgMYNeXCWpvmVAgNPUc1ueX0 dc+5RMJrY+D24D46J6wxAba0t011OmjbaKdHNL1NCq+fNWXTSmCxtKrKYzUY7TV7biGo XBx4CNseMhoapbXtZ5viq40fYjuyMIi4fEWWc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=RN9i5okUv5TWSnfVRi1kPrFneEZ/pja8liP2KciDRE9x/huKhexXhAPrMlFyVi2lxl FQNFQMiiXtaxWChMBI0GZQnCwcQ/DZkRoGNRj+BmgVJ3l/0Zq7hvhxiDfS/AydnBJZe3 uJyuXwvm6Kv2DN3qsxhPi+iq3H82wxPReXngQ=
MIME-Version: 1.0
Received: by 10.231.161.16 with SMTP id p16mr5477832ibx.61.1287524900229; Tue, 19 Oct 2010 14:48:20 -0700 (PDT)
Received: by 10.231.152.71 with HTTP; Tue, 19 Oct 2010 14:48:20 -0700 (PDT)
In-Reply-To: <4CA9F713.6080006@stpeter.im>
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com> <4CA9F713.6080006@stpeter.im>
Date: Wed, 20 Oct 2010 06:48:20 +0900
Message-ID: <AANLkTikSsuum-8Xt25z0z=y_FPd1iaP7m_JRmnyDEfpX@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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: Tue, 19 Oct 2010 21:46:51 -0000

Hi,

I'd like to come back on the definition of prefix-free
canonicalization and its example:

On Tue, Oct 5, 2010 at 12:47 AM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
[...]
> 4.7.2. =A0Content Namespace
>
[...]
> =A0 Alternatively (i.e., instead of declaring the content namespace as
> =A0 the default namespace), an entity MAY explicitly qualify the
> =A0 namespace for each first-level child element of the stream, using so-
> =A0 called "prefix-free canonicalization". =A0These two styles are shown =
in
> =A0 the following examples.

Here what I would understand is that there is no default namespace at
all. In particular we write that we would explicity qualify the
namespace for "each first-level chilf element of the stream". We
didn't write "each stanza", so I would say we apply this also for
instance to stream elements (stream errors or features for instance).
So basically no ' xmlns=3D"whatever" ' at all in the stream start tag.

But the example says otherwise as our default namespace is the streams
namespace:

>
> =A0 When a content namespace is not declared as the default namespace and
> =A0 so-called "prefix-free canonicalization" is used instead, in rough
> =A0 outline a stream will look something like the following.
>
> =A0 <stream
> =A0 =A0 =A0 from=3D'juliet@im.example.com'
> =A0 =A0 =A0 to=3D'im.example.com'
> =A0 =A0 =A0 version=3D'1.0'
> =A0 =A0 =A0 xml:lang=3D'en'
> =A0 =A0 =A0 xmlns=3D'http://etherx.jabber.org/streams'>
> =A0 =A0 <message xmlns=3D'jabber:client'>
> =A0 =A0 =A0 <body>foo</body>
> =A0 =A0 </message>
> =A0 </stream:stream>
>

So for this example to correspond, the text should rather read something li=
ke:

=AB
   Alternatively (i.e., instead of declaring the content namespace as
   the default namespace), an entity MAY declare the streams
   namespace as the default namespace, thus explicitly qualify the
   namespace for each other first-level child element of the stream,
   using so-called "prefix-free canonicalization".  These two styles are
   shown in the following examples.
=BB

What do you think?
Thanks.

Jehan

From dave@cridland.net  Tue Oct 19 15:22:51 2010
Return-Path: <dave@cridland.net>
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 2D02E3A6910 for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 15:22:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.36
X-Spam-Level: 
X-Spam-Status: No, score=-2.36 tagged_above=-999 required=5 tests=[AWL=-0.061,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 hKVUhYmwWaA8 for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 15:22:49 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 140293A68A8 for <xmpp@ietf.org>; Tue, 19 Oct 2010 15:22:48 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id A4BCF11680E2; Tue, 19 Oct 2010 23:24:17 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pr-rDRuFaqJV; Tue, 19 Oct 2010 23:24:13 +0100 (BST)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 0992A11680CA; Tue, 19 Oct 2010 23:24:13 +0100 (BST)
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com> <4CA9F713.6080006@stpeter.im> <AANLkTikSsuum-8Xt25z0z=y_FPd1iaP7m_JRmnyDEfpX@mail.gmail.com>
In-Reply-To: <AANLkTikSsuum-8Xt25z0z=y_FPd1iaP7m_JRmnyDEfpX@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <23849.1287527053.023020@puncture>
Date: Tue, 19 Oct 2010 23:24:13 +0100
From: Dave Cridland <dave@cridland.net>
To: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>, XMPP Working Group <xmpp@ietf.org>, Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; delsp="yes"; charset="iso-8859-1"; format="flowed"
Content-Transfer-Encoding: 8Bit
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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: Tue, 19 Oct 2010 22:22:51 -0000

On Tue Oct 19 22:48:20 2010, Jehan Pagčs wrote:
> Hi,
> 
> I'd like to come back on the definition of prefix-free
> canonicalization and its example:
> 
> On Tue, Oct 5, 2010 at 12:47 AM, Peter Saint-Andre  
> <stpeter@stpeter.im> wrote:
> [...]
> > 4.7.2.  Content Namespace
> >
> [...]
> >   Alternatively (i.e., instead of declaring the content namespace  
> as
> >   the default namespace), an entity MAY explicitly qualify the
> >   namespace for each first-level child element of the stream,  
> using so-
> >   called "prefix-free canonicalization".  These two styles are  
> shown in
> >   the following examples.
> 
> Here what I would understand is that there is no default namespace  
> at
> all. In particular we write that we would explicity qualify the
> namespace for "each first-level chilf element of the stream". We
> didn't write "each stanza", so I would say we apply this also for
> instance to stream elements (stream errors or features for  
> instance).
> So basically no ' xmlns="whatever" ' at all in the stream start tag.
> 
> 
That's not what it says. It says no "content namespace" - by which I  
understand it to mean "jabber:client" or "jabber:server", for example.

So the example is exactly as I'd expect.

FWIW, I'm not a fan of such usage, as it prevents use of a single  
port to handle clients and servers (and XEP-0114 components), but I'm  
doing the work to handle this in M-Link, so I'm not going to object.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From jehan.marmottard@gmail.com  Tue Oct 19 15:44:24 2010
Return-Path: <jehan.marmottard@gmail.com>
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 4B2DF3A6846 for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 15:44:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.263
X-Spam-Level: 
X-Spam-Status: No, score=-2.263 tagged_above=-999 required=5 tests=[AWL=0.036,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 uMtgITNXJ6zu for <xmpp@core3.amsl.com>; Tue, 19 Oct 2010 15:44:23 -0700 (PDT)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by core3.amsl.com (Postfix) with ESMTP id 3587C3A6804 for <xmpp@ietf.org>; Tue, 19 Oct 2010 15:44:23 -0700 (PDT)
Received: by gxk8 with SMTP id 8so1816863gxk.31 for <xmpp@ietf.org>; Tue, 19 Oct 2010 15:45:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2KQxBTCQ/QBTWqv26OPyJOOzpwTFU+7bSkq0aAqLWBY=; b=aBJQMI22YI+GiYIkIz9VAuIWJ3NCwLuUF5miuiyPT6QWWerPw60ewmH01wcxyPTqR4 gWTFNeyza/0dFUAJ32mI57PpbfZdRw/2bC89oEb9O6EgjXeKv53wZuDYj5O+IE70zxB8 QeuCI+rmzKNTjt6N2IzPMSvG4j8gZrgl6EWdA=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=rXBPmDoR6gDuBNE5NbTSxJoJHzoGeCVco+MH0Sq4o7cYhquEGX8XNooCVrv2IAJmSk 2pcL7Z8laLlFZAlA2gbxT/NszeT1HO3XeD1Hz4mr2Eng5hhE/8V1j93d9QL/Xv9LENBR s7tT2fvRFh90fDc+7KyN+KuSnhqAXck1snE38=
MIME-Version: 1.0
Received: by 10.42.171.71 with SMTP id i7mr2341945icz.10.1287528354606; Tue, 19 Oct 2010 15:45:54 -0700 (PDT)
Received: by 10.231.152.71 with HTTP; Tue, 19 Oct 2010 15:45:54 -0700 (PDT)
In-Reply-To: <23849.1287527053.023020@puncture>
References: <AANLkTinYjrsi=9DtWszO+nHvdXoRUnmHpMeUik-yaWPg@mail.gmail.com> <4CA9F713.6080006@stpeter.im> <AANLkTikSsuum-8Xt25z0z=y_FPd1iaP7m_JRmnyDEfpX@mail.gmail.com> <23849.1287527053.023020@puncture>
Date: Wed, 20 Oct 2010 07:45:54 +0900
Message-ID: <AANLkTi=qEBgcbO-2wtMc_qHjYWFGozmYyZq_Pv+OH3Ni@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Dave Cridland <dave@cridland.net>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] A few fixes to draft-ietf-xmpp-3920bis-16
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: Tue, 19 Oct 2010 22:44:24 -0000

Hi,

On Wed, Oct 20, 2010 at 7:24 AM, Dave Cridland <dave@cridland.net> wrote:
> On Tue Oct 19 22:48:20 2010, Jehan Pag=C4=8Ds wrote:
>>
>> Hi,
>>
>> I'd like to come back on the definition of prefix-free
>> canonicalization and its example:
>>
>> On Tue, Oct 5, 2010 at 12:47 AM, Peter Saint-Andre <stpeter@stpeter.im>
>> wrote:
>> [...]
>> > 4.7.2. =C2=A0Content Namespace
>> >
>> [...]
>> > =C2=A0 Alternatively (i.e., instead of declaring the content namespace=
 as
>> > =C2=A0 the default namespace), an entity MAY explicitly qualify the
>> > =C2=A0 namespace for each first-level child element of the stream, usi=
ng so-
>> > =C2=A0 called "prefix-free canonicalization". =C2=A0These two styles a=
re shown in
>> > =C2=A0 the following examples.
>>
>> Here what I would understand is that there is no default namespace at
>> all. In particular we write that we would explicity qualify the
>> namespace for "each first-level chilf element of the stream". We
>> didn't write "each stanza", so I would say we apply this also for
>> instance to stream elements (stream errors or features for instance).
>> So basically no ' xmlns=3D"whatever" ' at all in the stream start tag.
>>
>>
> That's not what it says. It says no "content namespace" - by which I
> understand it to mean "jabber:client" or "jabber:server", for example.
>
> So the example is exactly as I'd expect.
>

Hum... Ok. I still think it to be a little unclear, but if I might
consider the example to clarify this, so why not...

> FWIW, I'm not a fan of such usage, as it prevents use of a single port to
> handle clients and servers (and XEP-0114 components), but I'm doing the w=
ork
> to handle this in M-Link, so I'm not going to object.

So what is your solution to this for information? If someone sets the
streams namespace as the default one, how do you detect it is a
server, a component or a client in M-Link?
Do you use the "from" information (mandatory for a server in
particular), checking if there is a localpart (but is that all that
relevant, in particular for the components entities?)?
Your workaround to such usage would be interesting.

Thanks.

Jehan

From stpeter@stpeter.im  Wed Oct 20 05:36:16 2010
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 6EA143A696F for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 05:36:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.566
X-Spam-Level: 
X-Spam-Status: No, score=-102.566 tagged_above=-999 required=5 tests=[AWL=0.033, 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 ORtKjq3LBvmg for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 05:36:14 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 3DCEA3A697A for <xmpp@ietf.org>; Wed, 20 Oct 2010 05:34:23 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id BF32940074 for <xmpp@ietf.org>; Wed, 20 Oct 2010 06:43:20 -0600 (MDT)
Message-ID: <4CBEE222.50809@stpeter.im>
Date: Wed, 20 Oct 2010 06:35:46 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CAE44AB.6060602@stpeter.im> <4CBA6551.1000709@stpeter.im>
In-Reply-To: <4CBA6551.1000709@stpeter.im>
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="------------ms090607020404040703060408"
Subject: Re: [xmpp] next steps
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: Wed, 20 Oct 2010 12:36:16 -0000

This is a cryptographically signed message in MIME format.

--------------ms090607020404040703060408
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

And a further note. :)

The deeper we progress in the publication process, the less time we have
for discussion (yes, we could keep talking about these specs forever,
but at some point we need to declare *this* set of revisions done, with
the understanding that we might collect errata and implementation
reports over the next ~12 months and then publish a further revision).
IETF folks (e.g., our WG chairs and responsible AD) also prefer to see
smaller and smaller diffs as we get later in the process -- we don't
want to be making major changes close to the release date! In the
interest of full disclosure, I have generated diffs between the versions
that were submitted for IETF Last Call and my current working copies.
Please check these for sanity and compare them to the list discussion. I
would prefer not to make further changes between now and Monday's cutoff
date, but if you have any significant concerns then please do raise them
as soon as possible.

http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18-from-17.diff.h=
tml

http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06-from-05.diff.h=
tml

http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16-from-15.diff.h=
tml

For reference, my current working copies are here:

http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18.txt
http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18.html

http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06.txt
http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06.html

http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16.txt
http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16.html

Thanks!

Peter

On 10/16/10 8:54 PM, Peter Saint-Andre wrote:
> A further note about the schedule: Gonzalo issued the IETF Last Calls o=
n
> October 7 and they expire on October 21. The cut-off date for submittin=
g
> revised Internet-Drafts before IETF 79 is October 25 at 24:00 UTC.
> Therefore I plan to submit 3920bis-18, address-06, and 3921bis-16
> sometime between the end of the Last Calls and the cut-off date
> (probably on Monday, October 25).
>=20
> On 10/7/10 4:07 PM, Peter Saint-Andre wrote:
>> Because some folks on this list are new to IETF process, I figured I'd=

>> provide a brief description of where we go from here.
>>
>> 1. Gonzalo Camarillo, the responsible Area Director, has issued an IET=
F
>> Last Call on our three main documents. Because these I-Ds are the
>> product of an IETF Working Group, the IETF Last Call will last two
>> weeks. This is essentially your last opportunity to provide feedback!
>>
>> 2. During IETF Last Call, the documents will be reviewed by several
>> cross-area teams within the IETF, including the "GEN-ART" review team
>> and the Security Directorate. We'll expect at least some feedback from=

>> those teams. And at this stage anyone in the Internet community can
>> provide feedback as well.
>>
>> 3. After IETF Last Call, your friendly document editor will work as fa=
st
>> as possible to address any feedback we've received.
>>
>> 4. The documents will then be scheduled for disussion during an IESG
>> telechat. There are upcoming telechats on October 28, November 18,
>> December 2, and December 16. Before the telechat, all the members of t=
he
>> Internet Engineering Steering Group will review the specs and also
>> provide feedback (well, except for me, because I'll recuse myself). If=

>> there are "DISCUSSES" and "COMMENTS" lodged then your document editor
>> will need to address those, as well.
>>
>> 5. Assuming the documents are approved by the IESG, they will then be
>> handed off to the RFC Editor team for final copy editing, proofreading=
,
>> reference checking, etc. In particular, the documents will not be
>> published as RFCs until all normative references have also advanced;
>> this includes especially draft-saintandre-tls-server-id-check, which i=
s
>> on a parallel track to consideration by the IESG (I'm working to push
>> out a revised version of that one in the next few days).
>>
>> As you can see, because there are still many steps left in the process=
,
>> it might be a few months before these "bis" drafts are published as
>> RFCs. That gives you all plenty of time to bring your implementations
>> into conformance. ;-)
>>
>> Just so you know!
>>
>> Peter
>>


--------------ms090607020404040703060408
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwx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WF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBX0c57jwTxEdTdtWx7aMBJ2ZeKU3rGKuAP4kmKBCstuwtn9sTAc0Ubb7nQ
VMD0TOV6Lu07lQcR0/RiF0tW47yFa0HnVE5gL9Q9CVKLadSPwGEA4iozMTvLi576W3J6mhvg
95h6NfbJjybVJmJfb1pzeUCtQfKIDscTd6JLynYcWJKCWxiQJGHXJ4AUuJQmiXJzOYvLcMei
aABrNgUHVKvEX1LlIj0ysvHlG09A0vpHoc7djHlpgYac9TgVUDzGM1M9Lq+3P/bF4+xVg71A
dKJV9pVaVYAB6o15vzxBuMPzMbu0fjNLIluAa301lE3a7P+Skk2RaPd/4l3lt3g4vyfiAAAA
AAAA
--------------ms090607020404040703060408--

From mamille2@cisco.com  Wed Oct 20 10:05:37 2010
Return-Path: <mamille2@cisco.com>
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 16CAA3A68D5 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:05:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 XPBTp2p6khbc for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:05:36 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id E6B443A68A4 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:05:35 -0700 (PDT)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAAu/vkyrR7Hu/2dsb2JhbAChRnGjCZxVhUoEhFWFdg
X-IronPort-AV: E=Sophos;i="4.57,356,1283731200"; d="scan'208";a="272720028"
Received: from sj-core-5.cisco.com ([171.71.177.238]) by sj-iport-5.cisco.com with ESMTP; 20 Oct 2010 17:06:53 +0000
Received: from sjc-vpn2-1241.cisco.com (sjc-vpn2-1241.cisco.com [10.21.116.217]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id o9KH6rAE013409 for <xmpp@ietf.org>; Wed, 20 Oct 2010 17:06:53 GMT
From: Matthew Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Wed, 20 Oct 2010 11:06:52 -0600
Message-Id: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>
To: XMPP Working Group <xmpp@ietf.org>
Mime-Version: 1.0 (Apple Message framework v1081)
X-Mailer: Apple Mail (2.1081)
Subject: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 17:05:37 -0000

I could be reading things wrong, but I believe RFC 3920 (specifically =
section 4.7.3) is violating XML 1.0[1].

In section 3[2], it states the following:

This specification does not constrain the application semantics, use, or =
(beyond syntax) names of the element types and attributes, except that =
names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are =
reserved for standardization in this or future versions of this =
specification.

Given that, the stream error condition <xml-not-well-formed/> from 4.7.3 =
would be violating this rule.  Note that this also applies to 3920bis.

I'm not sure anyone's actually seen this, and I only discovered it as QA =
was filling in the corners of our latest work.  I'm also not sure what =
to do about this, either.  We could change this to "not-well-formed" or =
something like that in the bis drafts, but it could be a problem for =
implementations against the current spec.  Then again, this is a =
stream-level, non-recoverable error, so maybe it doesn't get encountered =
this way (-:


Thoughts?

- m&m

[1] Extensible Markup Language (XML) 1.0 (Fifth Edition) =
<http://www.w3.org/TR/2008/REC-xml-20081126/>=

From ben.schumacher@webex.com  Wed Oct 20 10:12:20 2010
Return-Path: <ben.schumacher@webex.com>
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 025563A68DA for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:12:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, 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 Q9VCd7Mb16m9 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:12:17 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id 4B7D73A68A4 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:12:17 -0700 (PDT)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlQGAEDAvkyrR7Hu/2dsb2JhbACTWo1rcaMMnFGFSgSEVYV2
X-IronPort-AV: E=Sophos;i="4.57,356,1283731200"; d="scan'208";a="272726942"
Received: from sj-core-5.cisco.com ([171.71.177.238]) by sj-iport-5.cisco.com with ESMTP; 20 Oct 2010 17:13:50 +0000
Received: from horus.local (sjc-vpn2-1531.cisco.com [10.21.117.251]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id o9KHDoLC020282 for <xmpp@ietf.org>; Wed, 20 Oct 2010 17:13:51 GMT
Message-ID: <4CBF234E.7020409@webex.com>
Date: Wed, 20 Oct 2010 11:13:50 -0600
From: Ben Schumacher <ben.schumacher@webex.com>
Organization: Cisco Systems, Inc.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: xmpp@ietf.org
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>
In-Reply-To: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 17:12:20 -0000

On 10/20/10 11:06 AM, Matthew Miller wrote:
> I could be reading things wrong, but I believe RFC 3920 (specifically section 4.7.3) is violating XML 1.0[1].
>
> In section 3[2], it states the following:
>
> This specification does not constrain the application semantics, use, or (beyond syntax) names of the element types and attributes, except that names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are reserved for standardization in this or future versions of this specification.
>
> Given that, the stream error condition<xml-not-well-formed/>  from 4.7.3 would be violating this rule.  Note that this also applies to 3920bis.
>
> I'm not sure anyone's actually seen this, and I only discovered it as QA was filling in the corners of our latest work.  I'm also not sure what to do about this, either.  We could change this to "not-well-formed" or something like that in the bis drafts, but it could be a problem for implementations against the current spec.  Then again, this is a stream-level, non-recoverable error, so maybe it doesn't get encountered this way (-:
>
>
> Thoughts?
>
> - m&m
>
> [1] Extensible Markup Language (XML) 1.0 (Fifth Edition)<http://www.w3.org/TR/2008/REC-xml-20081126/>

[2] Section 3 Logical Structures 
<http://www.w3.org/TR/2008/REC-xml-20081126/#sec-logical-struct>

Cheers,
Ben

From k.i.smith@gmail.com  Wed Oct 20 10:27:51 2010
Return-Path: <k.i.smith@gmail.com>
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 DFC6F3A69EE for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:27:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 JSRxwyN7OYAg for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:27:51 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 05F013A68F6 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:27:50 -0700 (PDT)
Received: by qwc9 with SMTP id 9so2643330qwc.31 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:29:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=RzQIzHGs3S9oKKycPv1RS+k4G1ngwtLRzs3Cvdn1cF4=; b=KaaWMoVapOazoIC3lp81gHtWl35zENgeQScIAgDLQneGOO3D4b3dg9Xq2KTTTf1c7Y dXDYtDgq/qh1HZf2GUi5Bm+xDx3LQrUOFw/TVX3sdNUUS0e+FTFvZ40ryc8O8WgQbg4L LSK/Ph1eJ2y19DrTiJBzvemIlvUB1pEkC8lWo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=aFe9TYWLxWIkWeKuMzRHk9ti2Sm+4PH8Pa8NTaAZdyB5w52I44RQuYlcgZtJLtotFh ZuxI+d/5pXK2E/TDI3DH7XmoXl4R0ZSxnlX5x4a4/SlPUSrk0XKM0QeAFutbeQEOggNH niOzK8Kw8HO64dCpLpFm8sjvij0kFJ1GyGNK8=
MIME-Version: 1.0
Received: by 10.224.96.167 with SMTP id h39mr2487375qan.214.1287595764330; Wed, 20 Oct 2010 10:29:24 -0700 (PDT)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.211 with HTTP; Wed, 20 Oct 2010 10:29:24 -0700 (PDT)
In-Reply-To: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>
Date: Wed, 20 Oct 2010 18:29:24 +0100
X-Google-Sender-Auth: CPnlkqzLxHyB7bCdaQELLYxZhLI
Message-ID: <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Matthew Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: kevin@kismith.co.uk
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: Wed, 20 Oct 2010 17:27:52 -0000

On Wed, Oct 20, 2010 at 6:06 PM, Matthew Miller <mamille2@cisco.com> wrote:
> I could be reading things wrong, but I believe RFC 3920 (specifically sec=
tion 4.7.3) is violating XML 1.0[1].
>
> In section 3[2], it states the following:
>
> This specification does not constrain the application semantics, use, or =
(beyond syntax) names of the element types and attributes, except that name=
s beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are reserved for =
standardization in this or future versions of this specification.
>
> Given that, the stream error condition <xml-not-well-formed/> from 4.7.3 =
would be violating this rule. =A0Note that this also applies to 3920bis.
>
> I'm not sure anyone's actually seen this, and I only discovered it as QA =
was filling in the corners of our latest work. =A0I'm also not sure what to=
 do about this, either. =A0We could change this to "not-well-formed" or som=
ething like that in the bis drafts, but it could be a problem for implement=
ations against the current spec. =A0Then again, this is a stream-level, non=
-recoverable error, so maybe it doesn't get encountered this way (-:

There's a train of thought that says that sending something the entity
won't understand in response to invalid XML is poetic justice :)

/K

From mamille2@cisco.com  Wed Oct 20 10:28:52 2010
Return-Path: <mamille2@cisco.com>
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 3CEE03A68BA for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:28:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 yE3KztvF-keI for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:28:50 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id 9F7523A68B8 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:28:50 -0700 (PDT)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlQGAMXDvkyrR7H+/2dsb2JhbACTX41rcaMQnFSFSgSEVYV2
X-IronPort-AV: E=Sophos;i="4.57,356,1283731200"; d="scan'208";a="272739161"
Received: from sj-core-2.cisco.com ([171.71.177.254]) by sj-iport-5.cisco.com with ESMTP; 20 Oct 2010 17:30:24 +0000
Received: from sjc-vpn2-1241.cisco.com (sjc-vpn2-1241.cisco.com [10.21.116.217]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id o9KHUNkl004860; Wed, 20 Oct 2010 17:30:24 GMT
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Matthew Miller <mamille2@cisco.com>
In-Reply-To: <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>
Date: Wed, 20 Oct 2010 11:30:23 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <E904B5F6-2841-4D2F-A288-9F66CFB8292F@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>
To: kevin@kismith.co.uk
X-Mailer: Apple Mail (2.1081)
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 17:28:52 -0000

On Oct 20, 2010, at 11:29, Kevin Smith wrote:

> On Wed, Oct 20, 2010 at 6:06 PM, Matthew Miller <mamille2@cisco.com> =
wrote:
>> I could be reading things wrong, but I believe RFC 3920 (specifically =
section 4.7.3) is violating XML 1.0[1].
>>=20
>> In section 3[2], it states the following:
>>=20
>> This specification does not constrain the application semantics, use, =
or (beyond syntax) names of the element types and attributes, except =
that names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are =
reserved for standardization in this or future versions of this =
specification.
>>=20
>> Given that, the stream error condition <xml-not-well-formed/> from =
4.7.3 would be violating this rule.  Note that this also applies to =
3920bis.
>>=20
>> I'm not sure anyone's actually seen this, and I only discovered it as =
QA was filling in the corners of our latest work.  I'm also not sure =
what to do about this, either.  We could change this to =
"not-well-formed" or something like that in the bis drafts, but it could =
be a problem for implementations against the current spec.  Then again, =
this is a stream-level, non-recoverable error, so maybe it doesn't get =
encountered this way (-:
>=20
> There's a train of thought that says that sending something the entity
> won't understand in response to invalid XML is poetic justice :)

I was thinking exactly that myself, about 3 seconds after I sent this =
email (-:

- m&m=

From stpeter@stpeter.im  Wed Oct 20 10:45:26 2010
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 04AB83A69E7 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:45:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.558
X-Spam-Level: 
X-Spam-Status: No, score=-102.558 tagged_above=-999 required=5 tests=[AWL=0.041, 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 XcHfDaXgBhEF for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:45:25 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 071473A6961 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:45:25 -0700 (PDT)
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 EDE0540074; Wed, 20 Oct 2010 11:54:23 -0600 (MDT)
Message-ID: <4CBF2B0A.5070603@stpeter.im>
Date: Wed, 20 Oct 2010 11:46:50 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: kevin@kismith.co.uk
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>
In-Reply-To: <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>
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="------------ms070801060307070801010103"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 17:45:26 -0000

This is a cryptographically signed message in MIME format.

--------------ms070801060307070801010103
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/20/10 11:29 AM, Kevin Smith wrote:
> On Wed, Oct 20, 2010 at 6:06 PM, Matthew Miller <mamille2@cisco.com>
> wrote:
>> I could be reading things wrong, but I believe RFC 3920
>> (specifically section 4.7.3) is violating XML 1.0[1].
>>=20
>> In section 3[2], it states the following:
>>=20
>> This specification does not constrain the application semantics,
>> use, or (beyond syntax) names of the element types and attributes,
>> except that names beginning with a match to
>> (('X'|'x')('M'|'m')('L'|'l')) are reserved for standardization in
>> this or future versions of this specification.
>>=20
>> Given that, the stream error condition <xml-not-well-formed/> from
>> 4.7.3 would be violating this rule.  Note that this also applies to
>> 3920bis.
>>=20
>> I'm not sure anyone's actually seen this, and I only discovered it
>> as QA was filling in the corners of our latest work.  I'm also not
>> sure what to do about this, either.  We could change this to
>> "not-well-formed" or something like that in the bis drafts, but it
>> could be a problem for implementations against the current spec.
>> Then again, this is a stream-level, non-recoverable error, so maybe
>> it doesn't get encountered this way (-:
>=20
> There's a train of thought that says that sending something the
> entity won't understand in response to invalid XML is poetic justice
> :)

That's classic. :)

But it seems bad for our profile of XML to violate the XML spec, no?


--------------ms070801060307070801010103
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+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LTGGJMirVNuB4GZflYU/aUqvAQyYQzEQMwXf/YpN5lAAAA
AAAA
--------------ms070801060307070801010103--

From jehan.marmottard@gmail.com  Wed Oct 20 10:47:08 2010
Return-Path: <jehan.marmottard@gmail.com>
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 892963A68F8 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:47:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level: 
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2, MIME_8BIT_HEADER=0.3]
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 feIUDfMWbEW3 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:47:07 -0700 (PDT)
Received: from mail-gw0-f44.google.com (mail-gw0-f44.google.com [74.125.83.44]) by core3.amsl.com (Postfix) with ESMTP id 7BD013A693C for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:47:07 -0700 (PDT)
Received: by gwaa18 with SMTP id a18so1240101gwa.31 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:48:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Bm5AyVuSPL4OMIQK7OXcQfpMSRVgILyXkghvS2mJj+E=; b=MFOB6Bq5KlAIsUhRqfXkWk3oJnyAtIOCblH7VDCiNoY0PSH+dH81E0YFSl2V+JL+xx +urrhawTD5Hufetplm+nzOqAZ30sOmZtgWGCmdvR/7LfOANYaCcV+IDC1giVyE8ATDdW M8nyd0dL72+DGm6pVzjq1OL6BY/0zGjmYU2eE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xnsk7QamcuQZFnOFI+2bRS6uLWb+sHZsy3BqQLGydj9ILfNpbdkzoxuW0RlcpWS1mE Q5M/NZinI4dnX7pS1MuqVvv//Af+NL8ZO/PbByKnjd2/DW7kpv1lJYn/q9Y4RuxZpHIu c5kHZ4Cehic8Ae0DWV9pdq1ypYPl97z6AShgw=
MIME-Version: 1.0
Received: by 10.42.178.2 with SMTP id bk2mr77416icb.452.1287596920555; Wed, 20 Oct 2010 10:48:40 -0700 (PDT)
Received: by 10.231.152.71 with HTTP; Wed, 20 Oct 2010 10:48:40 -0700 (PDT)
In-Reply-To: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>
Date: Thu, 21 Oct 2010 02:48:40 +0900
Message-ID: <AANLkTin-tf9K=zboS0GnooOn5n28P4r_0F_F=iyiUU2c@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Matthew Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 17:47:08 -0000

Hi,

On Thu, Oct 21, 2010 at 2:06 AM, Matthew Miller <mamille2@cisco.com> wrote:
> I could be reading things wrong, but I believe RFC 3920 (specifically sec=
tion 4.7.3) is violating XML 1.0[1].
>
> In section 3[2], it states the following:
>
> This specification does not constrain the application semantics, use, or =
(beyond syntax) names of the element types and attributes, except that name=
s beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are reserved for =
standardization in this or future versions of this specification.
>
> Given that, the stream error condition <xml-not-well-formed/> from 4.7.3 =
would be violating this rule. =A0Note that this also applies to 3920bis.
>

>From what I know, this would have been absolutely true only if we
didn't use the namespace RFC. But in our case, as we use namespace, it
is true and false depending on if we use this element with a default
namespace or prefixed.

See http://www.w3.org/TR/xml-names/#ns-decl ("Namespace constraint:
Reserved Prefixes and Namespace Names" part) where only the prefixes
"xml*" are forbidden, and there is no "constraint" on localparts, only
an advice not to make them "xml*" as well:

=AB
Though they are not themselves reserved, it is inadvisable to use
prefixed names whose LocalPart begins with the letters x, m, l, in any
case combination, as these names would be reserved if used without a
prefix.
=BB

So it means that the element xml-not-well-formed is authorized (though
unadvised) because it is under the namespace
'urn:ietf:params:xml:ns:xmpp-streams'.

But then it seems to mean that we must *always* write this error with a pre=
fix.
Then the example in 4.8.3.25 is actually wrong because it falls into
reserved names:

=AB
<stream:error>
        <xml-not-well-formed
            xmlns=3D'urn:ietf:params:xml:ns:xmpp-streams'/>
      </stream:error>
      </stream:stream>
=BB

This is the only case (unless there are other similarly named elements
in our RFC in "xml*"?) where we cannot use the default namespace
feature and where we MUST use declared namespace prefix. we have hence
to replace this example by something like this:

=AB
<stream:error>
        <xmpp-streams:xml-not-well-formed
            xmlns:xmpp-streams=3D'urn:ietf:params:xml:ns:xmpp-streams'/>
      </stream:error>
      </stream:stream>
=BB

Or of course we can just change this localpart because it is annoying
for nothing that interesting.

> I'm not sure anyone's actually seen this, and I only discovered it as QA =
was filling in the corners of our latest work. =A0I'm also not sure what to=
 do about this, either. =A0We could change this to "not-well-formed" or som=
ething like that in the bis drafts, but it could be a problem for implement=
ations against the current spec. =A0Then again, this is a stream-level, non=
-recoverable error, so maybe it doesn't get encountered this way (-:
>
>
> Thoughts?
>

Nice catch. :-)
> - m&m

Bye.

Jehan

From mamille2@cisco.com  Wed Oct 20 10:53:51 2010
Return-Path: <mamille2@cisco.com>
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 CD1CD3A68F8 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:53:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.449
X-Spam-Level: 
X-Spam-Status: No, score=-11.449 tagged_above=-999 required=5 tests=[AWL=0.850, BAYES_00=-2.599, GB_I_LETTER=-2, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
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 GHAWCgMRcfU6 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:53:50 -0700 (PDT)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id CEB693A6879 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:53:50 -0700 (PDT)
Authentication-Results: sj-iport-5.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAJbJvkyrR7H+/2dsb2JhbAChTnGjLJxUhUoEhFWFdg
X-IronPort-AV: E=Sophos;i="4.57,356,1283731200"; d="scan'208";a="272757153"
Received: from sj-core-2.cisco.com ([171.71.177.254]) by sj-iport-5.cisco.com with ESMTP; 20 Oct 2010 17:55:24 +0000
Received: from sjc-vpn2-1241.cisco.com (sjc-vpn2-1241.cisco.com [10.21.116.217]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id o9KHtNS1001673; Wed, 20 Oct 2010 17:55:24 GMT
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=iso-8859-1
From: Matthew Miller <mamille2@cisco.com>
In-Reply-To: <AANLkTin-tf9K=zboS0GnooOn5n28P4r_0F_F=iyiUU2c@mail.gmail.com>
Date: Wed, 20 Oct 2010 11:55:23 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <E8BAD531-72AF-4FE6-A1EF-5EC5E1FB53FE@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTin-tf9K=zboS0GnooOn5n28P4r_0F_F=iyiUU2c@mail.gmail.com>
To: =?iso-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
X-Mailer: Apple Mail (2.1081)
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 17:53:51 -0000

On Oct 20, 2010, at 11:48, Jehan Pag=E8s wrote:

> Hi,
>=20
> On Thu, Oct 21, 2010 at 2:06 AM, Matthew Miller <mamille2@cisco.com> =
wrote:
>> I could be reading things wrong, but I believe RFC 3920 (specifically =
section 4.7.3) is violating XML 1.0[1].
>>=20
>> In section 3[2], it states the following:
>>=20
>> This specification does not constrain the application semantics, use, =
or (beyond syntax) names of the element types and attributes, except =
that names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are =
reserved for standardization in this or future versions of this =
specification.
>>=20
>> Given that, the stream error condition <xml-not-well-formed/> from =
4.7.3 would be violating this rule.  Note that this also applies to =
3920bis.
>>=20
>=20
> =46rom what I know, this would have been absolutely true only if we
> didn't use the namespace RFC. But in our case, as we use namespace, it
> is true and false depending on if we use this element with a default
> namespace or prefixed.
>=20
> See http://www.w3.org/TR/xml-names/#ns-decl ("Namespace constraint:
> Reserved Prefixes and Namespace Names" part) where only the prefixes
> "xml*" are forbidden, and there is no "constraint" on localparts, only
> an advice not to make them "xml*" as well:
>=20
> =AB
> Though they are not themselves reserved, it is inadvisable to use
> prefixed names whose LocalPart begins with the letters x, m, l, in any
> case combination, as these names would be reserved if used without a
> prefix.
> =BB
>=20
> So it means that the element xml-not-well-formed is authorized (though
> unadvised) because it is under the namespace
> 'urn:ietf:params:xml:ns:xmpp-streams'.
>=20
> But then it seems to mean that we must *always* write this error with =
a prefix.
> Then the example in 4.8.3.25 is actually wrong because it falls into
> reserved names:
>=20
> =AB
> <stream:error>
>        <xml-not-well-formed
>            xmlns=3D'urn:ietf:params:xml:ns:xmpp-streams'/>
>      </stream:error>
>      </stream:stream>
> =BB
>=20
> This is the only case (unless there are other similarly named elements
> in our RFC in "xml*"?) where we cannot use the default namespace
> feature and where we MUST use declared namespace prefix. we have hence
> to replace this example by something like this:
>=20
> =AB
> <stream:error>
>        <xmpp-streams:xml-not-well-formed
>            xmlns:xmpp-streams=3D'urn:ietf:params:xml:ns:xmpp-streams'/>
>      </stream:error>
>      </stream:stream>
> =BB
>=20
> Or of course we can just change this localpart because it is annoying
> for nothing that interesting.


Since there's other places in RFC 3920 (I can't recall them right now) =
that recommend against prefixes different from what's defined in these =
specs, it's a bit of a catch-22.

I did read and consider that section of namespaces in xml, but thought =
recommending a prefix for error conditions would create bigger problems =
than fixing this one name...


- m&m


From stpeter@stpeter.im  Wed Oct 20 10:58:31 2010
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 209F63A6986 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:58:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.558
X-Spam-Level: 
X-Spam-Status: No, score=-102.558 tagged_above=-999 required=5 tests=[AWL=0.041, 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 xfSeEWI4VM6D for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 10:58:30 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 1ECE23A6978 for <xmpp@ietf.org>; Wed, 20 Oct 2010 10:58:30 -0700 (PDT)
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 7F92140074; Wed, 20 Oct 2010 12:07:29 -0600 (MDT)
Message-ID: <4CBF2E21.4030106@stpeter.im>
Date: Wed, 20 Oct 2010 12:00:01 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Matthew Miller <mamille2@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTin-tf9K=zboS0GnooOn5n28P4r_0F_F=iyiUU2c@mail.gmail.com> <E8BAD531-72AF-4FE6-A1EF-5EC5E1FB53FE@cisco.com>
In-Reply-To: <E8BAD531-72AF-4FE6-A1EF-5EC5E1FB53FE@cisco.com>
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="------------ms040504000102030805040002"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 17:58:31 -0000

This is a cryptographically signed message in MIME format.

--------------ms040504000102030805040002
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/20/10 11:55 AM, Matthew Miller wrote:

> I did read and consider that section of namespaces in xml, but
> thought recommending a prefix for error conditions would create
> bigger problems than fixing this one name...

I'd be in favor of fixing this one name:

<not-well-formed xmlns=3D'urn:ietf:params:xml:ns:xmpp-streams'/>

/psa




--------------ms040504000102030805040002
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMz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gNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQA9lxxFYeyrtAy74jwEWuBPHHuvmuyVR12sYi2oj576HoGRaychfNGDVJ+F
VJQBuzasqdvFrRlSJH/XgYGbxuBjUe7IZiZZ5w8bLWFsOKMK2mHUWcFMnPjAqEF58xJzvLbj
bgYS8Pm5mapk3QnmmYr75tG54Lfc5COyevRWh2+Lzlvzy7ZWiqWOaytdDv/xxaWHN6920SRs
MqM/obQU+jerRu+cj0ro6ScOMfSV95wclKqnv2Te2WxAMADzwDq9JIJFt7MQbb0t2pRoV4Qy
k9YhRzNkL87SAmgK97AMfXTvaHLWK2ePprRy+bj/a48mRJSLMnyI3F/N7A5uG60KpCx2AAAA
AAAA
--------------ms040504000102030805040002--

From jehan.marmottard@gmail.com  Wed Oct 20 11:03:04 2010
Return-Path: <jehan.marmottard@gmail.com>
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 7EBE83A690A for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 11:03:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.265
X-Spam-Level: 
X-Spam-Status: No, score=-3.265 tagged_above=-999 required=5 tests=[AWL=1.034,  BAYES_00=-2.599, GB_I_LETTER=-2, MIME_8BIT_HEADER=0.3]
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 PoevHct-OLo1 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 11:03:03 -0700 (PDT)
Received: from mail-iw0-f172.google.com (mail-iw0-f172.google.com [209.85.214.172]) by core3.amsl.com (Postfix) with ESMTP id 5C5593A68B0 for <xmpp@ietf.org>; Wed, 20 Oct 2010 11:03:03 -0700 (PDT)
Received: by iwn10 with SMTP id 10so4460376iwn.31 for <xmpp@ietf.org>; Wed, 20 Oct 2010 11:04:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=kNC5X330SHhIcbDdha46Q0xkK15bdsXlcne2L8gGBsw=; b=rpjBp1wKeFkHCJO9A4ZwtV2ntbwOP/wSd0loS4qz92U5rNHsIFIeJuNNFQNAFiZeLs 878BOIMP/lav1tnXq+P4tCqlD6cqEdj4LyPS6WlU/p/Y5ne0UuKOUrfPeky2mCqrONJ+ /iWxFJnVLJBmjsk5K5Xy07AD84K7jfd/6ESQE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZEZRFcJbBTd6T1t0EshE8OtN0KDA5GC6DCLflEag7Y3gkK+0VBX+T3Pbvx5lXTnEP3 tpxmui23gYZNIAx4i90zPI7SkwcMOPDjlJX3BBQLgggidTQ/JKjsjEtedjSkxMSKD9DL PTnyB716JIf960/dLWUj4zZQ23BWOT+BBfnGk=
MIME-Version: 1.0
Received: by 10.231.171.3 with SMTP id f3mr6623489ibz.145.1287597873499; Wed, 20 Oct 2010 11:04:33 -0700 (PDT)
Received: by 10.231.152.71 with HTTP; Wed, 20 Oct 2010 11:04:33 -0700 (PDT)
In-Reply-To: <E8BAD531-72AF-4FE6-A1EF-5EC5E1FB53FE@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTin-tf9K=zboS0GnooOn5n28P4r_0F_F=iyiUU2c@mail.gmail.com> <E8BAD531-72AF-4FE6-A1EF-5EC5E1FB53FE@cisco.com>
Date: Thu, 21 Oct 2010 03:04:33 +0900
Message-ID: <AANLkTinycJQd_=9e2-y2U4cck10XgoWOZ+sk29b_58=P@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Matthew Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 18:03:04 -0000

Hi,

2010/10/21 Matthew Miller <mamille2@cisco.com>:
>
> On Oct 20, 2010, at 11:48, Jehan Pag=E8s wrote:
>>> Given that, the stream error condition <xml-not-well-formed/> from 4.7.=
3 would be violating this rule. =A0Note that this also applies to 3920bis.
>>>
>>
>> From what I know, this would have been absolutely true only if we
>> didn't use the namespace RFC. But in our case, as we use namespace, it
>> is true and false depending on if we use this element with a default
>> namespace or prefixed.
>>
>> See http://www.w3.org/TR/xml-names/#ns-decl ("Namespace constraint:
>> Reserved Prefixes and Namespace Names" part) where only the prefixes
>> "xml*" are forbidden, and there is no "constraint" on localparts, only
>> an advice not to make them "xml*" as well:
>>
>> =AB
>> Though they are not themselves reserved, it is inadvisable to use
>> prefixed names whose LocalPart begins with the letters x, m, l, in any
>> case combination, as these names would be reserved if used without a
>> prefix.
>> =BB
>>
>> So it means that the element xml-not-well-formed is authorized (though
>> unadvised) because it is under the namespace
>> 'urn:ietf:params:xml:ns:xmpp-streams'.
>>
>> But then it seems to mean that we must *always* write this error with a =
prefix.
>> Then the example in 4.8.3.25 is actually wrong because it falls into
>> reserved names:
>>
>> =AB
>> <stream:error>
>> =A0 =A0 =A0 =A0<xml-not-well-formed
>> =A0 =A0 =A0 =A0 =A0 =A0xmlns=3D'urn:ietf:params:xml:ns:xmpp-streams'/>
>> =A0 =A0 =A0</stream:error>
>> =A0 =A0 =A0</stream:stream>
>> =BB
>>
>> This is the only case (unless there are other similarly named elements
>> in our RFC in "xml*"?) where we cannot use the default namespace
>> feature and where we MUST use declared namespace prefix. we have hence
>> to replace this example by something like this:
>>
>> =AB
>> <stream:error>
>> =A0 =A0 =A0 =A0<xmpp-streams:xml-not-well-formed
>> =A0 =A0 =A0 =A0 =A0 =A0xmlns:xmpp-streams=3D'urn:ietf:params:xml:ns:xmpp=
-streams'/>
>> =A0 =A0 =A0</stream:error>
>> =A0 =A0 =A0</stream:stream>
>> =BB
>>
>> Or of course we can just change this localpart because it is annoying
>> for nothing that interesting.
>
>
> Since there's other places in RFC 3920 (I can't recall them right now) th=
at recommend against prefixes different from what's defined in these specs,=
 it's a bit of a catch-22.
>
> I did read and consider that section of namespaces in xml, but thought re=
commending a prefix for error conditions would create bigger problems than =
fixing this one name...
>

Probably. It is surely advisable to fix this name rather than using a
prefix. Moreover even if we were not fully violating the XML spec in
the end, it is still always better to follow the XML spec's advices,
and then stay further possible from actual probable violation.
Bye.

Jehan

From k.i.smith@gmail.com  Wed Oct 20 11:05:04 2010
Return-Path: <k.i.smith@gmail.com>
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 475413A690A for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 11:05:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 jNrZm1+Dqv-X for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 11:05:01 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id E22733A68C8 for <xmpp@ietf.org>; Wed, 20 Oct 2010 11:04:57 -0700 (PDT)
Received: by qwc9 with SMTP id 9so2676805qwc.31 for <xmpp@ietf.org>; Wed, 20 Oct 2010 11:06:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=JpVenzheGmznRF7sDVOw4716M1syP+h5m69p4ySmQ78=; b=mP4Hz7kjgaMV8wvJlgcrBFxUfQ05tWo+mO3N9yAJXvZIt9gszpqNgjL+tBDBKF/Moe AI4Kx+yyJS6nP/EUCjoJf2xeHDgcjIY8Gt+ddlWWoqcauOY0YsFKEWVlTEPFmYCERDiF ghHm4HLV4ENVl3yLy/3NmpSPcCGziXxzcsmTU=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=UystcjV4SNomHQ3nmA71WjBZLCHHv+EimlxbxnuXipaRYtE9IGkfPvLfY+CnUSXltK vyAR5KN76mVXiNC5Q5nZjet4dqRXt0036S3dCIgBwVKhRv1R1FUEJNJ8tNfj/T5Ocmqd 9o1JsXiZxHX4nFWImwVnhWz6vazJMIiLl28ao=
MIME-Version: 1.0
Received: by 10.224.28.77 with SMTP id l13mr5796390qac.218.1287597991211; Wed, 20 Oct 2010 11:06:31 -0700 (PDT)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.211 with HTTP; Wed, 20 Oct 2010 11:06:31 -0700 (PDT)
In-Reply-To: <4CBF2B0A.5070603@stpeter.im>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com> <4CBF2B0A.5070603@stpeter.im>
Date: Wed, 20 Oct 2010 19:06:31 +0100
X-Google-Sender-Auth: FQBig6YI-sPCtE4THnMJqEcyKxY
Message-ID: <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: kevin@kismith.co.uk
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: Wed, 20 Oct 2010 18:05:04 -0000

On Wed, Oct 20, 2010 at 6:46 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 10/20/10 11:29 AM, Kevin Smith wrote:
>> On Wed, Oct 20, 2010 at 6:06 PM, Matthew Miller <mamille2@cisco.com>
>> wrote:
>>> I could be reading things wrong, but I believe RFC 3920
>>> (specifically section 4.7.3) is violating XML 1.0[1].
>>>
>>> In section 3[2], it states the following:
>>>
>>> This specification does not constrain the application semantics,
>>> use, or (beyond syntax) names of the element types and attributes,
>>> except that names beginning with a match to
>>> (('X'|'x')('M'|'m')('L'|'l')) are reserved for standardization in
>>> this or future versions of this specification.
>>>
>>> Given that, the stream error condition <xml-not-well-formed/> from
>>> 4.7.3 would be violating this rule. =A0Note that this also applies to
>>> 3920bis.
>>>
>>> I'm not sure anyone's actually seen this, and I only discovered it
>>> as QA was filling in the corners of our latest work. =A0I'm also not
>>> sure what to do about this, either. =A0We could change this to
>>> "not-well-formed" or something like that in the bis drafts, but it
>>> could be a problem for implementations against the current spec.
>>> Then again, this is a stream-level, non-recoverable error, so maybe
>>> it doesn't get encountered this way (-:
>>
>> There's a train of thought that says that sending something the
>> entity won't understand in response to invalid XML is poetic justice
>> :)
>
> That's classic. :)
>
> But it seems bad for our profile of XML to violate the XML spec, no?

I mis-expressed myself. Changing this in bis to something legal that
legacy clients sending illegal protocols won't understand seems like a
fine option.

i.e. we should change to something like not-well-formed, and let
broken clients get a different error from the one they weren't
expecting.

/K

From stpeter@stpeter.im  Wed Oct 20 11:19:33 2010
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 7377C3A6827 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 11:19:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.559
X-Spam-Level: 
X-Spam-Status: No, score=-102.559 tagged_above=-999 required=5 tests=[AWL=0.040, 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 Risylh9AeWdL for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 11:19:32 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 58F8D3A67EF for <xmpp@ietf.org>; Wed, 20 Oct 2010 11:19:32 -0700 (PDT)
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 E06D240074 for <xmpp@ietf.org>; Wed, 20 Oct 2010 12:28:31 -0600 (MDT)
Message-ID: <4CBF3310.8060801@stpeter.im>
Date: Wed, 20 Oct 2010 12:21:04 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
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="------------ms080005050902070402000807"
Subject: [xmpp] Fwd: [certid] Fwd: I-D Action:draft-saintandre-tls-server-id-check-10.txt
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: Wed, 20 Oct 2010 18:19:33 -0000

This is a cryptographically signed message in MIME format.

--------------ms080005050902070402000807
Content-Type: multipart/mixed;
 boundary="------------010909080002020709080801"

This is a multi-part message in MIME format.
--------------010909080002020709080801
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

FYI.

-------- Original Message --------
Subject: [certid] Fwd: I-D
Action:draft-saintandre-tls-server-id-check-10.txt
Date: Wed, 20 Oct 2010 10:36:05 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
To: IETF cert-based identity <certid@ietf.org>

Finally! The diff is here:

http://tools.ietf.org/rfcdiff?url2=3Ddraft-saintandre-tls-server-id-check=
-10

-------- Original Message --------
Subject: I-D Action:draft-saintandre-tls-server-id-check-10.txt
Date: Wed, 20 Oct 2010 09:30:02 -0700 (PDT)
From: Internet-Drafts@ietf.org
Reply-To: internet-drafts@ietf.org
To: i-d-announce@ietf.org

A New Internet-Draft is available from the on-line Internet-Drafts
directories.

	Title           : Representation and Verification of Domain-Based
Application Service Identity within Internet Public Key Infrastructure
Using X.509 (PKIX) Certificates in the Context of Transport Layer
Security (TLS)
	Author(s)       : P. Saint-Andre, J. Hodges
	Filename        : draft-saintandre-tls-server-id-check-10.txt
	Pages           : 46
	Date            : 2010-10-20

Many application technologies enable a secure connection between two
entities by means of Internet Public Key Infrastructure Using X.509
(PKIX) certificates in the context of Transport Layer Security (TLS).
This document specifies best current practices for representing and
verifying the identity of application services in such interactions.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-saintandre-tls-server-id-check-=
10.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.



--------------010909080002020709080801
Content-Type: Message/External-body;
 name="draft-saintandre-tls-server-id-check-10.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="draft-saintandre-tls-server-id-check-10.txt"

Content-Type: text/plain
Content-ID: <2010-10-20092452.I-D@ietf.org>




--------------010909080002020709080801
Content-Type: text/plain;
 name="Attached Message Part"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Attached Message Part"

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KSS1ELUFu
bm91bmNlIG1haWxpbmcgbGlzdApJLUQtQW5ub3VuY2VAaWV0Zi5vcmcKaHR0cHM6Ly93d3cu
aWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9pLWQtYW5ub3VuY2UKSW50ZXJuZXQtRHJhZnQg
ZGlyZWN0b3JpZXM6IGh0dHA6Ly93d3cuaWV0Zi5vcmcvc2hhZG93Lmh0bWwKb3IgZnRwOi8v
ZnRwLmlldGYub3JnL2lldGYvMXNoYWRvdy1zaXRlcy50eHQKCg==
--------------010909080002020709080801
Content-Type: text/plain;
 name="Attached Message Part"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Attached Message Part"

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KY2VydGlk
IG1haWxpbmcgbGlzdApjZXJ0aWRAaWV0Zi5vcmcKaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFp
bG1hbi9saXN0aW5mby9jZXJ0aWQKCg==
--------------010909080002020709080801--

--------------ms080005050902070402000807
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkg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LtrB8V1lLS3vuzU9LE5r93iEZOrGA6bfJUAqHliwEhq
Y1TpEs+8TMU8fvJEwfwyl/G112Zqte79y+CL5PI+OogJGthiosem56mhkVBjPcM2pVL+p0io
ULbCqLrepAUHtKf65gkTlOSX8ZCOK4P8Bil8iCWIXGLD03JdeMAwKE/iGOG/J5I6cZ/WECph
/kpBPDFZLb011sgUOkScVM7wP6e+4ms7xx7QAPi7TIvOnSbD/UoXt9kgYxBaeJ7cBLXlAAAA
AAAA
--------------ms080005050902070402000807--

From stpeter@stpeter.im  Wed Oct 20 12:27:49 2010
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 BA1C33A686D for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:27:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.56
X-Spam-Level: 
X-Spam-Status: No, score=-102.56 tagged_above=-999 required=5 tests=[AWL=0.039, 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 DehB36eCFkVm for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:27:48 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 526723A68AB for <xmpp@ietf.org>; Wed, 20 Oct 2010 12:27:48 -0700 (PDT)
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 0D20040074; Wed, 20 Oct 2010 13:36:47 -0600 (MDT)
Message-ID: <4CBF4310.8060804@stpeter.im>
Date: Wed, 20 Oct 2010 13:29:20 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: kevin@kismith.co.uk
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>	<4CBF2B0A.5070603@stpeter.im> <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com>
In-Reply-To: <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com>
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="------------ms000304080301080302080400"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 19:27:49 -0000

This is a cryptographically signed message in MIME format.

--------------ms000304080301080302080400
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/20/10 12:06 PM, Kevin Smith wrote:
> On Wed, Oct 20, 2010 at 6:46 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>> On 10/20/10 11:29 AM, Kevin Smith wrote:
>>> On Wed, Oct 20, 2010 at 6:06 PM, Matthew Miller <mamille2@cisco.com>
>>> wrote:
>>>> I could be reading things wrong, but I believe RFC 3920
>>>> (specifically section 4.7.3) is violating XML 1.0[1].
>>>>
>>>> In section 3[2], it states the following:
>>>>
>>>> This specification does not constrain the application semantics,
>>>> use, or (beyond syntax) names of the element types and attributes,
>>>> except that names beginning with a match to
>>>> (('X'|'x')('M'|'m')('L'|'l')) are reserved for standardization in
>>>> this or future versions of this specification.
>>>>
>>>> Given that, the stream error condition <xml-not-well-formed/> from
>>>> 4.7.3 would be violating this rule.  Note that this also applies to
>>>> 3920bis.
>>>>
>>>> I'm not sure anyone's actually seen this, and I only discovered it
>>>> as QA was filling in the corners of our latest work.  I'm also not
>>>> sure what to do about this, either.  We could change this to
>>>> "not-well-formed" or something like that in the bis drafts, but it
>>>> could be a problem for implementations against the current spec.
>>>> Then again, this is a stream-level, non-recoverable error, so maybe
>>>> it doesn't get encountered this way (-:
>>>
>>> There's a train of thought that says that sending something the
>>> entity won't understand in response to invalid XML is poetic justice
>>> :)
>>
>> That's classic. :)
>>
>> But it seems bad for our profile of XML to violate the XML spec, no?
>=20
> I mis-expressed myself. Changing this in bis to something legal that
> legacy clients sending illegal protocols won't understand seems like a
> fine option.
>=20
> i.e. we should change to something like not-well-formed, and let
> broken clients get a different error from the one they weren't
> expecting.

:)

I propose the following changes:

1. Change the name of the error condition to "not-well-formed".

2. Add the following interoperability note to Section 4.8.3.13 (the
section number changes because the stream error conditions are listed
alphabetically)...

      Interoperability Note: In RFC 3920, the name of this error
      condition was "xml-not-well-formed" instead of "not-well-formed".
      The name was changed because the element name <xml-not-well-
      formed/> violates the constraint from Section 3 of [XML] that
      "names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are
      reserved for standardization in this or future versions of this
      specification".

3. Add the following line to Appendix D ("Differences from RFC 3920")...

   o  Changed the name of the <xml-not-well-formed/> stream error
      condition to <not-well-formed/> for compliance with the XML
      specification.

/psa



--------------ms000304080301080302080400
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment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VQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAwhvBMXuYE6O9r86nfKF9VYhIGwgVIWLmXt8hSikdDSk29chESCY9a7QIG
9crbIO92ielhgDw6qeDh9xWA+neVNcmnAOZOgOi03cXoV2LSOH2hyhNG4g7ZQHt+suWadjph
1GaJqgl2+/eTgjcmGRDgMaZwiJZHzWM/tx1l2FrP8vEKBm5JjxhY9YmixRkXO1go7FaSeDLb
Neoq2ZP5zdEZAsIjiBhelrA0fF/iVc7Zzs4EVC6jR2L9UxtNzB76ihtW4+OKbrRLvB1PUOkU
Iu2VBd5+Y9Ypw6WhlX51NldtGbzAbEGe19wFRIg115wEyqs/jm+xyegiLW/YkD3hX2jdAAAA
AAAA
--------------ms000304080301080302080400--

From mamille2@cisco.com  Wed Oct 20 12:29:09 2010
Return-Path: <mamille2@cisco.com>
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 59CF63A68A0 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:29:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.882
X-Spam-Level: 
X-Spam-Status: No, score=-10.882 tagged_above=-999 required=5 tests=[AWL=-0.283, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 nTxualbBbfQG for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:29:08 -0700 (PDT)
Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by core3.amsl.com (Postfix) with ESMTP id EAE983A686A for <xmpp@ietf.org>; Wed, 20 Oct 2010 12:29:07 -0700 (PDT)
Authentication-Results: sj-iport-4.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEANvfvkyrR7H+/2dsb2JhbAChT3GjKpxQhUoEhFWFdg
X-IronPort-AV: E=Sophos;i="4.57,356,1283731200"; d="scan'208";a="204010161"
Received: from sj-core-2.cisco.com ([171.71.177.254]) by sj-iport-4.cisco.com with ESMTP; 20 Oct 2010 19:30:41 +0000
Received: from sjc-vpn2-1241.cisco.com (sjc-vpn2-1241.cisco.com [10.21.116.217]) by sj-core-2.cisco.com (8.13.8/8.14.3) with ESMTP id o9KJUexW003524; Wed, 20 Oct 2010 19:30:41 GMT
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Matthew Miller <mamille2@cisco.com>
In-Reply-To: <4CBF4310.8060804@stpeter.im>
Date: Wed, 20 Oct 2010 13:30:40 -0600
Content-Transfer-Encoding: 7bit
Message-Id: <FA7E4EE9-E7EF-4E83-B57E-DFC25372EFBB@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>	<4CBF2B0A.5070603@stpeter.im> <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 19:29:09 -0000

On Oct 20, 2010, at 13:29, Peter Saint-Andre wrote:

> 
> I propose the following changes:
> 
> 1. Change the name of the error condition to "not-well-formed".
> 
> 2. Add the following interoperability note to Section 4.8.3.13 (the
> section number changes because the stream error conditions are listed
> alphabetically)...
> 
>      Interoperability Note: In RFC 3920, the name of this error
>      condition was "xml-not-well-formed" instead of "not-well-formed".
>      The name was changed because the element name <xml-not-well-
>      formed/> violates the constraint from Section 3 of [XML] that
>      "names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are
>      reserved for standardization in this or future versions of this
>      specification".
> 
> 3. Add the following line to Appendix D ("Differences from RFC 3920")...
> 
>   o  Changed the name of the <xml-not-well-formed/> stream error
>      condition to <not-well-formed/> for compliance with the XML
>      specification.
> 
> /psa

+1

- m&m

From k.i.smith@gmail.com  Wed Oct 20 12:33:10 2010
Return-Path: <k.i.smith@gmail.com>
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 5D9BD3A6847 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:33:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
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 Sl29AW8j1UPW for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:33:08 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 12ED53A6838 for <xmpp@ietf.org>; Wed, 20 Oct 2010 12:33:07 -0700 (PDT)
Received: by qwc9 with SMTP id 9so2777615qwc.31 for <xmpp@ietf.org>; Wed, 20 Oct 2010 12:34:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=yME2REDbcsiyt8LeHGuhMkcTAz84Lr8gByPkpuLuRIY=; b=EwARB0LLK0W2Dp3BQUYnRNQZ7hZ1WU6Yu22rjEOCfyEk+lmeB28qzQiUAO6lGXY17t SpEIyC56ay2RevTWARwQIWgsHV+PJ3yAkOgfcwbPDoHV6uLlqddtmpffTrWi6IfEn7+Q N1/Tw5dsCXM0Yf0UC+FihkvDaOb8GyBj3Fb6s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=AJOAhLqqJMGYwr1fr7E7ivv8+z61mX8J0aQUrmzd+Cfyk04ZvFyEA+F3327BQtboGO Oeylj5un1qDjvdiwS6kHhCpGP58zDtAIip2QPvab9hJihg5HezP6KEthIllrWD32IA1c 5J+3ojBZOeAnEH9FvJRGXSFq7POkdzS9JPndk=
MIME-Version: 1.0
Received: by 10.229.215.19 with SMTP id hc19mr6853721qcb.107.1287603253062; Wed, 20 Oct 2010 12:34:13 -0700 (PDT)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.211 with HTTP; Wed, 20 Oct 2010 12:34:13 -0700 (PDT)
In-Reply-To: <FA7E4EE9-E7EF-4E83-B57E-DFC25372EFBB@cisco.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com> <4CBF2B0A.5070603@stpeter.im> <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im> <FA7E4EE9-E7EF-4E83-B57E-DFC25372EFBB@cisco.com>
Date: Wed, 20 Oct 2010 20:34:13 +0100
X-Google-Sender-Auth: BVc0eDwF2SsdGpWsphwEgMH7Udw
Message-ID: <AANLkTiny5q0Bhwhr5msvBgWm9U3RM10qDLKxROwUSa6q@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Matthew Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: kevin@kismith.co.uk
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: Wed, 20 Oct 2010 19:33:10 -0000

On Wed, Oct 20, 2010 at 8:30 PM, Matthew Miller <mamille2@cisco.com> wrote:
>
> On Oct 20, 2010, at 13:29, Peter Saint-Andre wrote:
>
>>
>> I propose the following changes:
>>
>> 1. Change the name of the error condition to "not-well-formed".
>>
>> 2. Add the following interoperability note to Section 4.8.3.13 (the
>> section number changes because the stream error conditions are listed
>> alphabetically)...
>>
>> =A0 =A0 =A0Interoperability Note: In RFC 3920, the name of this error
>> =A0 =A0 =A0condition was "xml-not-well-formed" instead of "not-well-form=
ed".
>> =A0 =A0 =A0The name was changed because the element name <xml-not-well-
>> =A0 =A0 =A0formed/> violates the constraint from Section 3 of [XML] that
>> =A0 =A0 =A0"names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')=
) are
>> =A0 =A0 =A0reserved for standardization in this or future versions of th=
is
>> =A0 =A0 =A0specification".
>>
>> 3. Add the following line to Appendix D ("Differences from RFC 3920")...
>>
>> =A0 o =A0Changed the name of the <xml-not-well-formed/> stream error
>> =A0 =A0 =A0condition to <not-well-formed/> for compliance with the XML
>> =A0 =A0 =A0specification.
>>
>> /psa
>
> +1

+1

/K

From ben.schumacher@webex.com  Wed Oct 20 12:51:52 2010
Return-Path: <ben.schumacher@webex.com>
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 014ED3A68E8 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:51:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -110.599
X-Spam-Level: 
X-Spam-Status: No, score=-110.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, 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 jBXeNYjH2m2l for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 12:51:45 -0700 (PDT)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 9F92F3A68A0 for <xmpp@ietf.org>; Wed, 20 Oct 2010 12:51:45 -0700 (PDT)
Authentication-Results: sj-iport-6.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AlYGAAPlvkyrRN+J/2dsb2JhbACDHpBHhiCHS3GjPYopkiiBIoM0dASEVYV2
X-IronPort-AV: E=Sophos;i="4.57,356,1283731200"; d="scan'208";a="607094723"
Received: from sj-core-3.cisco.com ([171.68.223.137]) by sj-iport-6.cisco.com with ESMTP; 20 Oct 2010 19:53:19 +0000
Received: from horus.local (dhcp-64-101-72-217.cisco.com [64.101.72.217]) by sj-core-3.cisco.com (8.13.8/8.14.3) with ESMTP id o9KJrJPM000081 for <xmpp@ietf.org>; Wed, 20 Oct 2010 19:53:19 GMT
Message-ID: <4CBF48AF.7020808@webex.com>
Date: Wed, 20 Oct 2010 13:53:19 -0600
From: Ben Schumacher <ben.schumacher@webex.com>
Organization: Cisco Systems, Inc.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: xmpp@ietf.org
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>	<4CBF2B0A.5070603@stpeter.im>	<AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im>
In-Reply-To: <4CBF4310.8060804@stpeter.im>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 19:51:52 -0000

On 10/20/10 1:29 PM, Peter Saint-Andre wrote:
> I propose the following changes:
>
> 1. Change the name of the error condition to "not-well-formed".
>
> 2. Add the following interoperability note to Section 4.8.3.13 (the
> section number changes because the stream error conditions are listed
> alphabetically)...
>
>        Interoperability Note: In RFC 3920, the name of this error
>        condition was "xml-not-well-formed" instead of "not-well-formed".
>        The name was changed because the element name<xml-not-well-
>        formed/>  violates the constraint from Section 3 of [XML] that
>        "names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are
>        reserved for standardization in this or future versions of this
>        specification".
>
> 3. Add the following line to Appendix D ("Differences from RFC 3920")...
>
>     o  Changed the name of the<xml-not-well-formed/>  stream error
>        condition to<not-well-formed/>  for compliance with the XML
>        specification.
>
I like it.
-Ben


From stpeter@stpeter.im  Wed Oct 20 13:21:16 2010
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 552943A68F8 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 13:21:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.56
X-Spam-Level: 
X-Spam-Status: No, score=-102.56 tagged_above=-999 required=5 tests=[AWL=0.039, 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 u0MfxD19ImnY for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 13:21:15 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 876C93A68E8 for <xmpp@ietf.org>; Wed, 20 Oct 2010 13:21:15 -0700 (PDT)
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 CA1F840074 for <xmpp@ietf.org>; Wed, 20 Oct 2010 14:30:15 -0600 (MDT)
Message-ID: <4CBF4F97.8060302@stpeter.im>
Date: Wed, 20 Oct 2010 14:22:47 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: xmpp@ietf.org
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>	<4CBF2B0A.5070603@stpeter.im>	<AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com>	<4CBF4310.8060804@stpeter.im> <4CBF48AF.7020808@webex.com>
In-Reply-To: <4CBF48AF.7020808@webex.com>
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="------------ms070800030102050906070506"
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 20:21:16 -0000

This is a cryptographically signed message in MIME format.

--------------ms070800030102050906070506
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/20/10 1:53 PM, Ben Schumacher wrote:

> I like it.

I can't say I like it -- I wish we'd found this bug in 2003 :) -- but
this fix will at least plug the hole...




--------------ms070800030102050906070506
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C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/7YedvacIH2Qs1as2H+ZEUjNIpOyEArmmtQskQWtI6nRAe/tbU
y0A+g8DZQb2A3NzTxLUuFSWdjtBVVQ6dvjjR6zaV9Q8NxWlPAlaacpMA65RLDQJTddjxAAAA
AAAA
--------------ms070800030102050906070506--

From ben.schumacher@webex.com  Wed Oct 20 13:28:30 2010
Return-Path: <ben.schumacher@webex.com>
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 9F3903A6911 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 13:28:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level: 
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[AWL=-4.000, 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 AgfedUmN5BzE for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 13:28:29 -0700 (PDT)
Received: from ams-iport-2.cisco.com (ams-iport-2.cisco.com [144.254.224.141]) by core3.amsl.com (Postfix) with ESMTP id 91C273A63CB for <xmpp@ietf.org>; Wed, 20 Oct 2010 13:28:29 -0700 (PDT)
Authentication-Results: ams-iport-2.cisco.com; dkim=neutral (message not signed) header.i=none
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqoFAOvtvkyQ/khMgWdsb2JhbACDHpBHhiCHSxUBARYiIqMsiimSJoEigzR0BIRVhXY
X-IronPort-AV: E=Sophos;i="4.57,356,1283731200"; d="scan'208";a="11701593"
Received: from ams-core-3.cisco.com ([144.254.72.76]) by ams-iport-2.cisco.com with ESMTP; 20 Oct 2010 20:30:02 +0000
Received: from horus.local (dhcp-64-101-72-217.cisco.com [64.101.72.217]) by ams-core-3.cisco.com (8.14.3/8.14.3) with ESMTP id o9KKU212008134 for <xmpp@ietf.org>; Wed, 20 Oct 2010 20:30:02 GMT
Message-ID: <4CBF5149.8030204@webex.com>
Date: Wed, 20 Oct 2010 14:30:01 -0600
From: Ben Schumacher <ben.schumacher@webex.com>
Organization: Cisco Systems, Inc.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: xmpp@ietf.org
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>	<4CBF2B0A.5070603@stpeter.im>	<AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com>	<4CBF4310.8060804@stpeter.im>	<4CBF48AF.7020808@webex.com> <4CBF4F97.8060302@stpeter.im>
In-Reply-To: <4CBF4F97.8060302@stpeter.im>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 20:28:30 -0000

On 10/20/10 2:22 PM, Peter Saint-Andre wrote:
>> I like it.
> I can't say I like it -- I wish we'd found this bug in 2003 :) -- but
> this fix will at least plug the hole...

Well you can at least like that it's getting fixed.

The advantage of having a larger following for XMPP is that we end up 
with more eyes and that ought to increase the chances of catching these 
sorts of things. The scope of this problem is extremely narrow -- just 
be glad that we didn't end up with something like encouraging prefixing 
of XMPP streams with "xmlstream". ;)

Ben

From fippo@mail.symlynx.com  Wed Oct 20 13:51:46 2010
Return-Path: <fippo@mail.symlynx.com>
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 B0F193A68D2; Wed, 20 Oct 2010 13:51:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599]
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 RkIdP-Kj+zhE; Wed, 20 Oct 2010 13:51:45 -0700 (PDT)
Received: from lo.psyced.org (lost.IN.psyced.org [188.40.42.221]) by core3.amsl.com (Postfix) with ESMTP id D369F3A68C2; Wed, 20 Oct 2010 13:51:44 -0700 (PDT)
Received: from [192.168.178.24] (p548BF91D.dip.t-dialin.net [84.139.249.29]) (authenticated bits=0) by lo.psyced.org (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9KKr1j8009306 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Oct 2010 22:53:14 +0200
Message-ID: <4CBF56A9.1090503@mail.symlynx.com>
Date: Wed, 20 Oct 2010 22:52:57 +0200
From: Philipp Hancke <fippo@mail.symlynx.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8
MIME-Version: 1.0
To: XMPP Working Group <xmpp@ietf.org>
References: <4CBF3310.8060801@stpeter.im>
In-Reply-To: <4CBF3310.8060801@stpeter.im>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: certid@ietf.org
Subject: Re: [xmpp] Fwd: [certid] Fwd: I-D	Action:draft-saintandre-tls-server-id-check-10.txt
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: Wed, 20 Oct 2010 20:51:46 -0000

There is a minor problem with that from the XMPP-s2s POV: it does not 
(explicitly) cover the case where a server verifies the identity of a 
peer server (see rfc3920bis 6.2.4 or the s2s section of XEP 0178 for 
details).

AFAICS, the only difference is that the reference identifier is supplied 
by the peer instead of being constructed as described in section 4.2.

Therefore, I'd propose adding the following note to the end of section 4.1:
Note: Some application protocols such as XMPP perform the procedure 
described in this section when verifiying a server identity in a 
certificate presented by a TLS client. By this, and in contrast to the 
procedure described in the next subsection, the reference identifier is 
supplied by the peer (TLS client). Except for this and the inverted 
client-server role, the verification process remains unchanged.

cheers

philipp

From ben@nostrum.com  Wed Oct 20 15:05:15 2010
Return-Path: <ben@nostrum.com>
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 444CB3A695D for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 15:05:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.604
X-Spam-Level: 
X-Spam-Status: No, score=-102.604 tagged_above=-999 required=5 tests=[AWL=-0.004, BAYES_00=-2.599, SPF_PASS=-0.001, 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 rqMqz9CKUI48 for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 15:05:14 -0700 (PDT)
Received: from nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by core3.amsl.com (Postfix) with ESMTP id E3AE53A68C0 for <xmpp@ietf.org>; Wed, 20 Oct 2010 15:05:13 -0700 (PDT)
Received: from dn3-174.estacado.net (vicuna-alt.estacado.net [75.53.54.121]) (authenticated bits=0) by nostrum.com (8.14.3/8.14.3) with ESMTP id o9KM6keT034191 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 20 Oct 2010 17:06:46 -0500 (CDT) (envelope-from ben@nostrum.com)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Ben Campbell <ben@nostrum.com>
In-Reply-To: <4CBF4310.8060804@stpeter.im>
Date: Wed, 20 Oct 2010 17:06:45 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <6A91EE31-D6E3-48BA-A666-6D15BAACE379@nostrum.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>	<4CBF2B0A.5070603@stpeter.im> <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
Received-SPF: pass (nostrum.com: 75.53.54.121 is authenticated by a trusted mechanism)
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 22:05:15 -0000

On Oct 20, 2010, at 2:29 PM, Peter Saint-Andre wrote:

[...]

>=20
> :)
>=20
> I propose the following changes:
>=20
> 1. Change the name of the error condition to "not-well-formed".
>=20
> 2. Add the following interoperability note to Section 4.8.3.13 (the
> section number changes because the stream error conditions are listed
> alphabetically)...
>=20
>      Interoperability Note: In RFC 3920, the name of this error
>      condition was "xml-not-well-formed" instead of "not-well-formed".
>      The name was changed because the element name <xml-not-well-
>      formed/> violates the constraint from Section 3 of [XML] that
>      "names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) =
are
>      reserved for standardization in this or future versions of this
>      specification".
>=20
> 3. Add the following line to Appendix D ("Differences from RFC =
3920")...
>=20
>   o  Changed the name of the <xml-not-well-formed/> stream error
>      condition to <not-well-formed/> for compliance with the XML
>      specification.
>=20
> /psa
>=20

Are we talking about making this change in 3920bis?

Given that this draft is almost through IETF LC, do we really want to =
add scope by finding new things in 3920 to fix?



From stpeter@stpeter.im  Wed Oct 20 15:12:20 2010
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 835BB3A699D for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 15:12:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.561
X-Spam-Level: 
X-Spam-Status: No, score=-102.561 tagged_above=-999 required=5 tests=[AWL=0.038, 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 BB4zCPPRQuNE for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 15:12:11 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 0EE6F3A6977 for <xmpp@ietf.org>; Wed, 20 Oct 2010 15:12:10 -0700 (PDT)
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 8760E40074; Wed, 20 Oct 2010 16:21:11 -0600 (MDT)
Message-ID: <4CBF6996.7090802@stpeter.im>
Date: Wed, 20 Oct 2010 16:13:42 -0600
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.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Ben Campbell <ben@nostrum.com>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com>	<4CBF2B0A.5070603@stpeter.im> <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im> <6A91EE31-D6E3-48BA-A666-6D15BAACE379@nostrum.com>
In-Reply-To: <6A91EE31-D6E3-48BA-A666-6D15BAACE379@nostrum.com>
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="------------ms090508070508000504010105"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] RFC 3920 violates XML 1.0?
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: Wed, 20 Oct 2010 22:12:21 -0000

This is a cryptographically signed message in MIME format.

--------------ms090508070508000504010105
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/20/10 4:06 PM, Ben Campbell wrote:
>=20
> On Oct 20, 2010, at 2:29 PM, Peter Saint-Andre wrote:
>=20
> [...]
>=20
>>=20
>> :)
>>=20
>> I propose the following changes:
>>=20
>> 1. Change the name of the error condition to "not-well-formed".
>>=20
>> 2. Add the following interoperability note to Section 4.8.3.13
>> (the section number changes because the stream error conditions are
>> listed alphabetically)...
>>=20
>> Interoperability Note: In RFC 3920, the name of this error=20
>> condition was "xml-not-well-formed" instead of "not-well-formed".=20
>> The name was changed because the element name <xml-not-well-=20
>> formed/> violates the constraint from Section 3 of [XML] that=20
>> "names beginning with a match to (('X'|'x')('M'|'m')('L'|'l')) are=20
>> reserved for standardization in this or future versions of this=20
>> specification".
>>=20
>> 3. Add the following line to Appendix D ("Differences from RFC
>> 3920")...
>>=20
>> o  Changed the name of the <xml-not-well-formed/> stream error=20
>> condition to <not-well-formed/> for compliance with the XML=20
>> specification.
>>=20
>> /psa
>>=20
>=20
> Are we talking about making this change in 3920bis?
>=20
> Given that this draft is almost through IETF LC, do we really want to
> add scope by finding new things in 3920 to fix?

We don't *want* to, but continuing to allow nonconformance with the XML
spec when we're defining an application of XML seems like a bad idea.

Peter

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




--------------ms090508070508000504010105
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-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BQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAjFDqAZoNiw5gYHavFTmhvZYbUNJHhCCDW/3O653lTRgWnznTTrneqiAyu
hOj64t3zJHQzWFIoG/aUr3LW1KHsajjYex6t3sp2QI0mAXbs6OsSCOZ0iYyN9K5fagPluqBT
X378cFcp9lD66WrW5wPWJUGvBIVujOcuMzmEg9OvyRCpQGqM9hvtY/hR351puSu99ygs2nDM
U7rFka6cCSTl4WGhS/dR4vOhB7j+aS0SJ+44gEpmJxiYyAKnSD4kGVkPo1rITyktMtZRcwhG
E+BzvTtzzkU/h19wxEdF4KOqYLiGbSHJB03e6BnPi7Ebf+C7ssQfBYJz9YSb5x2g28DcAAAA
AAAA
--------------ms090508070508000504010105--

From ben@nostrum.com  Wed Oct 20 15:17:11 2010
Return-Path: <ben@nostrum.com>
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 219AB3A695D for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 15:17:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.603
X-Spam-Level: 
X-Spam-Status: No, score=-102.603 tagged_above=-999 required=5 tests=[AWL=-0.003, BAYES_00=-2.599, SPF_PASS=-0.001, 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 q9DzZTqB06lI for <xmpp@core3.amsl.com>; Wed, 20 Oct 2010 15:17:07 -0700 (PDT)
Received: from nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by core3.amsl.com (Postfix) with ESMTP id C1D873A6977 for <xmpp@ietf.org>; Wed, 20 Oct 2010 15:17:06 -0700 (PDT)
Received: from dn3-174.estacado.net (vicuna-alt.estacado.net [75.53.54.121]) (authenticated bits=0) by nostrum.com (8.14.3/8.14.3) with ESMTP id o9KMIddj035104 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 20 Oct 2010 17:18:39 -0500 (CDT) (envelope-from ben@nostrum.com)
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Ben Campbell <ben@nostrum.com>
In-Reply-To: <4CBEE222.50809@stpeter.im>
Date: Wed, 20 Oct 2010 17:18:39 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <C3CA5BDB-D2CE-4C14-9597-75E92E41B702@nostrum.com>
References: <4CAE44AB.6060602@stpeter.im> <4CBA6551.1000709@stpeter.im> <4CBEE222.50809@stpeter.im>
To: XMPP Working Group <xmpp@ietf.org>
X-Mailer: Apple Mail (2.1081)
Received-SPF: pass (nostrum.com: 75.53.54.121 is authenticated by a trusted mechanism)
Subject: Re: [xmpp] next steps
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: Wed, 20 Oct 2010 22:17:11 -0000

I'd like to second this.=20

Technically, when we submitted the publication request to the IESG, that =
meant the working group felt that it was finished with the drafts, =
modulo any issues found in the IETF last call or AD review.=20

In reality, the working group has continued to work on the drafts. =
That's mostly okay, as we can just treat the additional working group =
feedback as IETF LC feedback. But we should avoid substantive post =
pubreq changes unless we can articulate a good reason. By "good reason", =
I'm talking about "things are broken" reasons, not "we thought of a way =
to make it a little better" reasons. If the IESG feels like too many =
changes have occurred post publication request, they could in fact toss =
it back to us and start the process over (I'm not saying I think we've =
reached that point, just that it's something to watch out for.) =20

Sometimes the hardest part of the process in knowing when we're done.

Thanks!

Ben.

On Oct 20, 2010, at 7:35 AM, Peter Saint-Andre wrote:

> And a further note. :)
>=20
> The deeper we progress in the publication process, the less time we =
have
> for discussion (yes, we could keep talking about these specs forever,
> but at some point we need to declare *this* set of revisions done, =
with
> the understanding that we might collect errata and implementation
> reports over the next ~12 months and then publish a further revision).
> IETF folks (e.g., our WG chairs and responsible AD) also prefer to see
> smaller and smaller diffs as we get later in the process -- we don't
> want to be making major changes close to the release date! In the
> interest of full disclosure, I have generated diffs between the =
versions
> that were submitted for IETF Last Call and my current working copies.
> Please check these for sanity and compare them to the list discussion. =
I
> would prefer not to make further changes between now and Monday's =
cutoff
> date, but if you have any significant concerns then please do raise =
them
> as soon as possible.
>=20
> =
http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18-from-17.diff.ht=
ml
>=20
> =
http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06-from-05.diff.ht=
ml
>=20
> =
http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16-from-15.diff.ht=
ml
>=20
> For reference, my current working copies are here:
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18.txt
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18.html
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06.txt
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06.html
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16.txt
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16.html
>=20
> Thanks!
>=20
> Peter
>=20
> On 10/16/10 8:54 PM, Peter Saint-Andre wrote:
>> A further note about the schedule: Gonzalo issued the IETF Last Calls =
on
>> October 7 and they expire on October 21. The cut-off date for =
submitting
>> revised Internet-Drafts before IETF 79 is October 25 at 24:00 UTC.
>> Therefore I plan to submit 3920bis-18, address-06, and 3921bis-16
>> sometime between the end of the Last Calls and the cut-off date
>> (probably on Monday, October 25).
>>=20
>> On 10/7/10 4:07 PM, Peter Saint-Andre wrote:
>>> Because some folks on this list are new to IETF process, I figured =
I'd
>>> provide a brief description of where we go from here.
>>>=20
>>> 1. Gonzalo Camarillo, the responsible Area Director, has issued an =
IETF
>>> Last Call on our three main documents. Because these I-Ds are the
>>> product of an IETF Working Group, the IETF Last Call will last two
>>> weeks. This is essentially your last opportunity to provide =
feedback!
>>>=20
>>> 2. During IETF Last Call, the documents will be reviewed by several
>>> cross-area teams within the IETF, including the "GEN-ART" review =
team
>>> and the Security Directorate. We'll expect at least some feedback =
from
>>> those teams. And at this stage anyone in the Internet community can
>>> provide feedback as well.
>>>=20
>>> 3. After IETF Last Call, your friendly document editor will work as =
fast
>>> as possible to address any feedback we've received.
>>>=20
>>> 4. The documents will then be scheduled for disussion during an IESG
>>> telechat. There are upcoming telechats on October 28, November 18,
>>> December 2, and December 16. Before the telechat, all the members of =
the
>>> Internet Engineering Steering Group will review the specs and also
>>> provide feedback (well, except for me, because I'll recuse myself). =
If
>>> there are "DISCUSSES" and "COMMENTS" lodged then your document =
editor
>>> will need to address those, as well.
>>>=20
>>> 5. Assuming the documents are approved by the IESG, they will then =
be
>>> handed off to the RFC Editor team for final copy editing, =
proofreading,
>>> reference checking, etc. In particular, the documents will not be
>>> published as RFCs until all normative references have also advanced;
>>> this includes especially draft-saintandre-tls-server-id-check, which =
is
>>> on a parallel track to consideration by the IESG (I'm working to =
push
>>> out a revised version of that one in the next few days).
>>>=20
>>> As you can see, because there are still many steps left in the =
process,
>>> it might be a few months before these "bis" drafts are published as
>>> RFCs. That gives you all plenty of time to bring your =
implementations
>>> into conformance. ;-)
>>>=20
>>> Just so you know!
>>>=20
>>> Peter
>>>=20
>=20
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp


From stpeter@stpeter.im  Fri Oct 22 14:57:33 2010
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 B8C8528C0CE for <xmpp@core3.amsl.com>; Fri, 22 Oct 2010 14:57:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.595
X-Spam-Level: 
X-Spam-Status: No, score=-102.595 tagged_above=-999 required=5 tests=[AWL=0.004, 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 gQKqrT8zuVxj for <xmpp@core3.amsl.com>; Fri, 22 Oct 2010 14:57:32 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B8EF83A6981 for <xmpp@ietf.org>; Fri, 22 Oct 2010 14:57:32 -0700 (PDT)
Received: from dhcp-64-101-72-171.cisco.com (dhcp-64-101-72-171.cisco.com [64.101.72.171]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5378C40BB9 for <xmpp@ietf.org>; Fri, 22 Oct 2010 16:06:49 -0600 (MDT)
Message-ID: <4CC2092E.3030807@stpeter.im>
Date: Fri, 22 Oct 2010 15:59:10 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
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="------------ms060803020200090003000209"
Subject: [xmpp] Fwd: Re: [precis] XMPP addresses
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: Fri, 22 Oct 2010 21:57:33 -0000

This is a cryptographically signed message in MIME format.

--------------ms060803020200090003000209
Content-Type: multipart/mixed;
 boundary="------------040204010805020109030808"

This is a multi-part message in MIME format.
--------------040204010805020109030808
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

FYI, I have updated my individual draft about JID internationalization.
This document has two audiences: the PRECIS WG and the XMPP WG. If we
are ever going to obsolete draft-ietf-xmpp-address (legacy stringprep
stuff), we'll need to have input from the PRECIS WG and consensus here.
I'll be presenting about this during the PRECIS session at IETF 79 and
feedback is welcome on this list before then (or after if you can't find
the time). I'd be especially interested in having a few people in the
XMPP WG read not only this document but also *all* of the referenced
specifications, because as I've discovered it takes a long time to
understand i18n issues (not that I claim to fully understand them
myself). We need more i18n clue in our community, and I hope this
document gets us started down that path.

Rant over. :)

/psa

-------- Original Message --------
Subject: Re: [precis] XMPP addresses
Date: Fri, 22 Oct 2010 15:52:25 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
To: precis@ietf.org

On 10/22/10 9:29 AM, Andrew Sullivan wrote:
> On Fri, Oct 22, 2010 at 09:20:58AM -0600, Peter Saint-Andre wrote:
>> Would it be helpful for me to update my old draft on XMPP addresses fo=
r
>> discussion in Beijing?
>=20
> It would be to me, anyway.

Ask, and ye shall receive! :)

http://www.ietf.org/id/draft-saintandre-xmpp-i18n-02.txt



--------------040204010805020109030808
Content-Type: text/plain;
 name="Attached Message Part"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="Attached Message Part"

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHJlY2lz
IG1haWxpbmcgbGlzdApwcmVjaXNAaWV0Zi5vcmcKaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFp
bG1hbi9saXN0aW5mby9wcmVjaXMKCg==
--------------040204010805020109030808--

--------------ms060803020200090003000209
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZW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w0BAQEFAASCAQBsgin0lCer1fmDU+MEJ9yzKgGppgtvyzhiqdUFTAU3j6OOOJmyutCwgqVN
0vuJV+Cor8rUQZS2/g/jYtrJ2BZ0Pc1rQmMvYbyfa/+7ClnoSQIEOE42XhjlCYRCCJvSY0N0
DKFX+PlzPQ+6SLdHccji9XMfhNFBzeleuPvP3MR9quIKnRnMgZy0YZ9d17q9vZDKI7dLCfeE
AIHQMzSzchj9eQvDHF/nct8X5BWV5Z07eSX6VL1DWZgu32V/R2LAonWeFJTTxTroZUaMpE+p
9rQANv8sh2+KXLWjJ0mQKHeZrG50BRmq/0cA0IeOfU3wcv+9lgb2G35jJrkCpVhG8XRNAAAA
AAAA
--------------ms060803020200090003000209--

From stpeter@stpeter.im  Mon Oct 25 05:12:27 2010
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 A32FF3A69E2; Mon, 25 Oct 2010 05:12:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.567
X-Spam-Level: 
X-Spam-Status: No, score=-102.567 tagged_above=-999 required=5 tests=[AWL=0.032, 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 XTZ57XTDQFJe; Mon, 25 Oct 2010 05:12:22 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 7521C3A6A0E; Mon, 25 Oct 2010 05:12:14 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 9065D40D1E; Mon, 25 Oct 2010 06:21:42 -0600 (MDT)
Message-ID: <4CC5747E.4080006@stpeter.im>
Date: Mon, 25 Oct 2010 06:13:50 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: Philipp Hancke <fippo@mail.symlynx.com>
References: <4CBF3310.8060801@stpeter.im> <4CBF56A9.1090503@mail.symlynx.com>
In-Reply-To: <4CBF56A9.1090503@mail.symlynx.com>
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="------------ms010200060906080708060001"
Cc: certid@ietf.org, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] Fwd: [certid] Fwd:	I-D	Action:draft-saintandre-tls-server-id-check-10.txt
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, 25 Oct 2010 12:12:27 -0000

This is a cryptographically signed message in MIME format.

--------------ms010200060906080708060001
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/20/10 2:52 PM, Philipp Hancke wrote:
> There is a minor problem with that from the XMPP-s2s POV: it does not
> (explicitly) cover the case where a server verifies the identity of a
> peer server (see rfc3920bis 6.2.4 or the s2s section of XEP 0178 for
> details).
>=20
> AFAICS, the only difference is that the reference identifier is supplie=
d
> by the peer instead of being constructed as described in section 4.2.
>=20
> Therefore, I'd propose adding the following note to the end of section =
4.1:
> Note: Some application protocols such as XMPP perform the procedure
> described in this section when verifiying a server identity in a
> certificate presented by a TLS client. By this, and in contrast to the
> procedure described in the next subsection, the reference identifier is=

> supplied by the peer (TLS client). Except for this and the inverted
> client-server role, the verification process remains unchanged.

Thanks for the proposed text. I suggest the following tweaks:

   Note: In some application protocols, the procedure described in this
   section can be performed by an application server acting as a TLS
   client when verifying a server-to-server connection, not only by an
   application client when verifying a client-to-server (e.g, this is
   true of XMPP).  In this case, the application server verifies
   the identity of the peer server that is attempting to connect and
   thereore the reference identifier is in essence supplied by the
   peer server (e.g., as triggered by a request to send a message from
   an associated with the peer server to an entity associated with the
   application service).  Other than the source of the reference
   identifier and the inverted roles of the TLS client and TLS server,
   the verification process remains unchanged.

/psa



--------------ms010200060906080708060001
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALm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wWyszzutXKz21vHg0c8RWlithnlxAyEi3ptaCn02SrxoJ4OTuJG
APbwViFdDqcDW5yisCpqAjo4u6BIaB3vNveNqRWU5jKlL2zqWXZ4v/DQEC/Qrh+XApOdY/KE
h1ovbHoM5YZZ1JqcAyIVJ2sv7iR4U1ACh3UNNIAUFb6/qclEQm8dltlhvUUNjTFABNHFAAAA
AAAA
--------------ms010200060906080708060001--

From stpeter@stpeter.im  Mon Oct 25 06:43:44 2010
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 F42273A69B1; Mon, 25 Oct 2010 06:43:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.568
X-Spam-Level: 
X-Spam-Status: No, score=-102.568 tagged_above=-999 required=5 tests=[AWL=0.031, 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 Ea58pvSfPCGg; Mon, 25 Oct 2010 06:43:43 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 0337D3A6A1B; Mon, 25 Oct 2010 06:42:29 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id F0F6E40D1E; Mon, 25 Oct 2010 07:51:18 -0600 (MDT)
Message-ID: <4CC5897C.3080600@stpeter.im>
Date: Mon, 25 Oct 2010 07:43:24 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: Philipp Hancke <fippo@mail.symlynx.com>
References: <4CBF3310.8060801@stpeter.im> <4CBF56A9.1090503@mail.symlynx.com> <4CC5747E.4080006@stpeter.im>
In-Reply-To: <4CC5747E.4080006@stpeter.im>
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="------------ms070907080005080102010206"
Cc: certid@ietf.org, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] Fwd: [certid]	Fwd:	I-D	Action:draft-saintandre-tls-server-id-check-10.txt
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, 25 Oct 2010 13:43:44 -0000

This is a cryptographically signed message in MIME format.

--------------ms070907080005080102010206
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/25/10 6:13 AM, Peter Saint-Andre wrote:
> On 10/20/10 2:52 PM, Philipp Hancke wrote:
>> There is a minor problem with that from the XMPP-s2s POV: it does not
>> (explicitly) cover the case where a server verifies the identity of a
>> peer server (see rfc3920bis 6.2.4 or the s2s section of XEP 0178 for
>> details).
>>
>> AFAICS, the only difference is that the reference identifier is suppli=
ed
>> by the peer instead of being constructed as described in section 4.2.
>>
>> Therefore, I'd propose adding the following note to the end of section=
 4.1:
>> Note: Some application protocols such as XMPP perform the procedure
>> described in this section when verifiying a server identity in a
>> certificate presented by a TLS client. By this, and in contrast to the=

>> procedure described in the next subsection, the reference identifier i=
s
>> supplied by the peer (TLS client). Except for this and the inverted
>> client-server role, the verification process remains unchanged.
>=20
> Thanks for the proposed text. I suggest the following tweaks:
>=20
>    Note: In some application protocols, the procedure described in this=

>    section can be performed by an application server acting as a TLS
>    client when verifying a server-to-server connection, not only by an
>    application client when verifying a client-to-server (e.g, this is
>    true of XMPP).  In this case, the application server verifies
>    the identity of the peer server that is attempting to connect and
>    thereore the reference identifier is in essence supplied by the
>    peer server (e.g., as triggered by a request to send a message from
>    an associated with the peer server to an entity associated with the
>    application service).  Other than the source of the reference
>    identifier and the inverted roles of the TLS client and TLS server,
>    the verification process remains unchanged.

Oops, there were some typos and missing words. That's what I get for
replying to email while eating breakfast at 6 AM. Corrected text:

###

   Note:  In some application protocols, the procedure described in
   this section can be performed by an application server acting as a
   TLS client when verifying a server-to-server connection, not only by
   an application client when verifying a client-to-server connection
   (e.g, this is true of XMPP).  In this case, the application server
   verifies the identity of the peer server that is attempting to
   connect and therefore the reference identifier is in essence
   supplied by the peer server (e.g., as triggered by a request to send
   a message from an entity associated with the peer server to an
   entity associated with the application service).  Other than the
   source of the reference identifier and the inverted roles of the TLS
   client and TLS server, the verification process remains unchanged.

###

/psa



--------------ms070907080005080102010206
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMM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SBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQATDExqXjn73YPApBjzmICczrGaJ/bB/pL2YGc49vIpX1EmE3UO/FI8vnko
te0TtR0C16bffUdoxwM7WsXjw91GesNg5zXEAs1fqDrDufQJRWl+I7iD7hdhibqX8j/wZRHR
slsZ+TukDLdMe33mUlxLTMxAu8ljNiBpqY9uzQ/59/1nUs0m79BXiN6wJGImFyW7pSPHJB1t
uitD8fiVrQiZabzbF//0Liwmbf3jOgs2QKS/JihwxOJSTpDrG6SMZV/Uury3fgjoq1cphqjz
kiAGx2A9cZ/MXND0TkioI3+ZUKVUYDMd5dAbfmWFOjryxXSDGd6mCxZFvg7Yzi61U6rrAAAA
AAAA
--------------ms070907080005080102010206--

From stpeter@stpeter.im  Mon Oct 25 09:38:02 2010
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 A26023A6A11 for <xmpp@core3.amsl.com>; Mon, 25 Oct 2010 09:38:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.595
X-Spam-Level: 
X-Spam-Status: No, score=-102.595 tagged_above=-999 required=5 tests=[AWL=0.004, 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 irOOGDDCMMPD for <xmpp@core3.amsl.com>; Mon, 25 Oct 2010 09:38:00 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B2CDC3A68D2 for <xmpp@ietf.org>; Mon, 25 Oct 2010 09:38:00 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 9B45640D1E for <xmpp@ietf.org>; Mon, 25 Oct 2010 10:47:38 -0600 (MDT)
Message-ID: <4CC5B2CF.1000405@stpeter.im>
Date: Mon, 25 Oct 2010 10:39:43 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CAE44AB.6060602@stpeter.im> <4CBA6551.1000709@stpeter.im> <4CBEE222.50809@stpeter.im>
In-Reply-To: <4CBEE222.50809@stpeter.im>
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="------------ms070200090605010802090907"
Subject: Re: [xmpp] next steps
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, 25 Oct 2010 16:38:02 -0000
X-List-Received-Date: Mon, 25 Oct 2010 16:38:02 -0000

This is a cryptographically signed message in MIME format.

--------------ms070200090605010802090907
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I've submitted updated drafts:

http://www.ietf.org/id/draft-ietf-xmpp-3920bis-18.txt

http://www.ietf.org/id/draft-ietf-xmpp-3921bis-16.txt

http://www.ietf.org/id/draft-ietf-xmpp-address-06.txt

Diffs are here:

http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-xmpp-3920bis-18.txt

http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-xmpp-3921bis-16.txt

http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-xmpp-address-06.txt

Hopefully these can get scheduled for one of the IESG telechats before
the end of the year (November 18, December 2, December 16). :)

On 10/20/10 6:35 AM, Peter Saint-Andre wrote:
> And a further note. :)
>=20
> The deeper we progress in the publication process, the less time we hav=
e
> for discussion (yes, we could keep talking about these specs forever,
> but at some point we need to declare *this* set of revisions done, with=

> the understanding that we might collect errata and implementation
> reports over the next ~12 months and then publish a further revision).
> IETF folks (e.g., our WG chairs and responsible AD) also prefer to see
> smaller and smaller diffs as we get later in the process -- we don't
> want to be making major changes close to the release date! In the
> interest of full disclosure, I have generated diffs between the version=
s
> that were submitted for IETF Last Call and my current working copies.
> Please check these for sanity and compare them to the list discussion. =
I
> would prefer not to make further changes between now and Monday's cutof=
f
> date, but if you have any significant concerns then please do raise the=
m
> as soon as possible.
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18-from-17.diff=
=2Ehtml
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06-from-05.diff=
=2Ehtml
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16-from-15.diff=
=2Ehtml
>=20
> For reference, my current working copies are here:
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18.txt
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3920bis-18.html
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06.txt
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-address-06.html
>=20
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16.txt
> http://xmpp.org/internet-drafts/draft-ietf-xmpp-3921bis-16.html
>=20
> Thanks!
>=20
> Peter
>=20
> On 10/16/10 8:54 PM, Peter Saint-Andre wrote:
>> A further note about the schedule: Gonzalo issued the IETF Last Calls =
on
>> October 7 and they expire on October 21. The cut-off date for submitti=
ng
>> revised Internet-Drafts before IETF 79 is October 25 at 24:00 UTC.
>> Therefore I plan to submit 3920bis-18, address-06, and 3921bis-16
>> sometime between the end of the Last Calls and the cut-off date
>> (probably on Monday, October 25).
>>
>> On 10/7/10 4:07 PM, Peter Saint-Andre wrote:
>>> Because some folks on this list are new to IETF process, I figured I'=
d
>>> provide a brief description of where we go from here.
>>>
>>> 1. Gonzalo Camarillo, the responsible Area Director, has issued an IE=
TF
>>> Last Call on our three main documents. Because these I-Ds are the
>>> product of an IETF Working Group, the IETF Last Call will last two
>>> weeks. This is essentially your last opportunity to provide feedback!=

>>>
>>> 2. During IETF Last Call, the documents will be reviewed by several
>>> cross-area teams within the IETF, including the "GEN-ART" review team=

>>> and the Security Directorate. We'll expect at least some feedback fro=
m
>>> those teams. And at this stage anyone in the Internet community can
>>> provide feedback as well.
>>>
>>> 3. After IETF Last Call, your friendly document editor will work as f=
ast
>>> as possible to address any feedback we've received.
>>>
>>> 4. The documents will then be scheduled for disussion during an IESG
>>> telechat. There are upcoming telechats on October 28, November 18,
>>> December 2, and December 16. Before the telechat, all the members of =
the
>>> Internet Engineering Steering Group will review the specs and also
>>> provide feedback (well, except for me, because I'll recuse myself). I=
f
>>> there are "DISCUSSES" and "COMMENTS" lodged then your document editor=

>>> will need to address those, as well.
>>>
>>> 5. Assuming the documents are approved by the IESG, they will then be=

>>> handed off to the RFC Editor team for final copy editing, proofreadin=
g,
>>> reference checking, etc. In particular, the documents will not be
>>> published as RFCs until all normative references have also advanced;
>>> this includes especially draft-saintandre-tls-server-id-check, which =
is
>>> on a parallel track to consideration by the IESG (I'm working to push=

>>> out a revised version of that one in the next few days).
>>>
>>> As you can see, because there are still many steps left in the proces=
s,
>>> it might be a few months before these "bis" drafts are published as
>>> RFCs. That gives you all plenty of time to bring your implementations=

>>> into conformance. ;-)
>>>
>>> Just so you know!
>>>
>>> Peter
>>>


--------------ms070200090605010802090907
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGcPo
98K4TJf8FHo+UA9EOVDp/W7fCqKT4sXk/XkCAwEAAaOCAa0wggGpMA8GA1UdEwEB/wQFMAMB
Af8wDgYDVR0PAQH/BAQDAgEGMB0GA1UdDgQWBBR7iZySlyShhEcCy3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BAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCzTYptUt9tO2NevFUmukEUUPB9+N9wtDCElhld2xF7bKgobIB4Jh06Ctdd
JXBwAXebjzmDP2ptF7q09n7ha71LQPZeL7ly+1RvCZWAnuzwx+HbpPM1r4fVHUvi+WDxPcmO
IiFm/yITrNAdnsFFIhRrgV4mIrRRO4O/ZBrYpIAYWy3wodJ29hwbXSUS2WEzgoV/ob+TGD6o
NsOoHXuofEaoj4RdfJwv2nGdLmU5VL/VVblj9aROEmJLl62owgu1ahVPL+2giFpUi+YIp7lY
SIhuHCD4p5W0FwDaTzY3UfDcaQkQukw8gz93XI8Y4j6q4o+vWx2yd1pGRh93CCXobKOrAAAA
AAAA
--------------ms070200090605010802090907--

From root@core3.amsl.com  Mon Oct 25 09:45:04 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: xmpp@ietf.org
Delivered-To: xmpp@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 831653A6AB7; Mon, 25 Oct 2010 09:45:03 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20101025164503.831653A6AB7@core3.amsl.com>
Date: Mon, 25 Oct 2010 09:45:03 -0700 (PDT)
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-3920bis-18.txt
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, 25 Oct 2010 16:45:04 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Extensible Messaging and Presence Protocol Working Group of the IETF.


	Title           : Extensible Messaging and Presence Protocol (XMPP): Core
	Author(s)       : P. Saint-Andre
	Filename        : draft-ietf-xmpp-3920bis-18.txt
	Pages           : 189
	Date            : 2010-10-25

The Extensible Messaging and Presence Protocol (XMPP) is an
application profile of the Extensible Markup Language (XML) that
enables the near-real-time exchange of structured yet extensible data
between any two or more network entities.  This document defines
XMPP's core protocol methods: setup and teardown of XML streams,
channel encryption, authentication, error handling, and communication
primitives for messaging, network availability ("presence"), and
request-response interactions.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-xmpp-3920bis-18.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-xmpp-3920bis-18.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-10-25093134.I-D@ietf.org>


--NextPart--

From root@core3.amsl.com  Mon Oct 25 09:45:05 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: xmpp@ietf.org
Delivered-To: xmpp@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id BCF833A6ACF; Mon, 25 Oct 2010 09:45:04 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20101025164504.BCF833A6ACF@core3.amsl.com>
Date: Mon, 25 Oct 2010 09:45:04 -0700 (PDT)
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-3921bis-16.txt
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, 25 Oct 2010 16:45:05 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Extensible Messaging and Presence Protocol Working Group of the IETF.


	Title           : Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence
	Author(s)       : P. Saint-Andre
	Filename        : draft-ietf-xmpp-3921bis-16.txt
	Pages           : 122
	Date            : 2010-10-25

This document defines extensions to core features of the Extensible
Messaging and Presence Protocol (XMPP) that provide basic instant
messaging (IM) and presence functionality in conformance with the
requirements in RFC 2779.  This document obsoletes RFC 3921.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-xmpp-3921bis-16.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-xmpp-3921bis-16.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-10-25093139.I-D@ietf.org>


--NextPart--

From root@core3.amsl.com  Mon Oct 25 09:45:07 2010
Return-Path: <root@core3.amsl.com>
X-Original-To: xmpp@ietf.org
Delivered-To: xmpp@core3.amsl.com
Received: by core3.amsl.com (Postfix, from userid 0) id 3BC513A6A9E; Mon, 25 Oct 2010 09:45:05 -0700 (PDT)
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
Content-Type: Multipart/Mixed; Boundary="NextPart"
Mime-Version: 1.0
Message-Id: <20101025164506.3BC513A6A9E@core3.amsl.com>
Date: Mon, 25 Oct 2010 09:45:05 -0700 (PDT)
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-address-06.txt
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, 25 Oct 2010 16:45:07 -0000

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Extensible Messaging and Presence Protocol Working Group of the IETF.


	Title           : Extensible Messaging and Presence Protocol (XMPP): Address Format
	Author(s)       : P. Saint-Andre
	Filename        : draft-ietf-xmpp-address-06.txt
	Pages           : 22
	Date            : 2010-10-25

This document defines the format for addresses used in the Extensible
Messaging and Presence Protocol (XMPP), including support for non-
ASCII characters.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-xmpp-address-06.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Message/External-body;
	name="draft-ietf-xmpp-address-06.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID: <2010-10-25093155.I-D@ietf.org>


--NextPart--

From stpeter@stpeter.im  Mon Oct 25 20:50:13 2010
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 D393A3A6887 for <xmpp@core3.amsl.com>; Mon, 25 Oct 2010 20:50:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.567
X-Spam-Level: 
X-Spam-Status: No, score=-102.567 tagged_above=-999 required=5 tests=[AWL=0.032, 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 BgBmea4nBXFC for <xmpp@core3.amsl.com>; Mon, 25 Oct 2010 20:50:10 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 080213A68E6 for <xmpp@ietf.org>; Mon, 25 Oct 2010 20:50:10 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5680D40D1E for <xmpp@ietf.org>; Mon, 25 Oct 2010 21:59:51 -0600 (MDT)
Message-ID: <4CC6505A.10507@stpeter.im>
Date: Mon, 25 Oct 2010 21:51:54 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
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="------------ms040801060705030401020608"
Subject: [xmpp] Fwd: SECDIR review of draft-ietf-xmpp-address-05.txt
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: Tue, 26 Oct 2010 03:50:13 -0000

This is a cryptographically signed message in MIME format.

--------------ms040801060705030401020608
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

FYI. I'll start working on this tomorrow, and will cc xmpp@ietf.org on
replies.

/psa

-------- Original Message --------
Subject: SECDIR review of draft-ietf-xmpp-address-05.txt
Date: Mon, 25 Oct 2010 22:08:16 -0400
From: Richard L. Barnes <rbarnes@bbn.com>
To: iesg@ietf.org, secdir@ietf.org,  draft-ietf-xmpp-address@tools.ietf.o=
rg

I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the IESG.
 These comments were written primarily for the benefit of the security
area directors.  Document editors and WG chairs should treat these
comments just like any other last call comments.

This document describes a data structure for addressing XMPP resources.
 As such, it has the potential to create authentication issues, in
particular related to spoofing and mimicry of addresses.  The document
does a good job of describing these risks and available mitigations, but
could use a little bit of clarification on a few points.

Detailed comments follow.

--Richard




Major issues:

General: It's not clear to me from the text in this document JIDs differ
from XMPP URIs.  My na=C3=AFve assumption would be that an XMPP URI would=

simply be a JID with the scheme "xmpp:" prepended, but the last
paragraph of Section 2.1 made me uncertain about this.  (I have not
checked RFC 5122 to verify whether this is the case syntactically.)
Since many client applications will have to convert from XMPP URIs to
JIDs -- and because this is a security-sensitive operation -- it seems
like it would be helpful for this document to specify conversions
between XMPP URIs and JIDs, even if only by reference to RFC 5122.

S4.3:
It seems like there should be some discussion here about how entities
that create JIDs can help mitigate issues of confusability.  For
example, the existence of confusable characters in the domainpart is
mitigated by proper registry policies (which I presume could be
incorporated by reference to some IDNA documents).  Localparts and
resourceparts are not constrained  to be domain names, but they are
controlled or at least approved by a server, so the server can apply
similar policies to these parts.

S4.4.1 P2:
The observation that only part of an identifier can be authenticated is
a good one to make, but there's one subtlety: The remote server is
actually authoritative for the localpart and resourcepart of the JID, so
the fact that the remote domain has assigned a particular 'from' address
effectively authenticates those fields when the domain is authenticated.
 It might help to note that end-to-end authentication of XMPP stanzas
could help mitigate this risk, since it would require the rogue server
to generate false credentials in addition to modifying 'from' addresses.


Minor issues:

S2.2 P2: For clarity, I would change the "SHOULD be an FQDN, can be an
IP address or unqualified host name" to "MUST be an FQDN, IPv4 address
literal, IPv6 address literal, or unqualified host name".  If the
intention here is that unqualified host names should have the same
syntax as FQDNs, then that should be stated.

S2.2 P3: Not clear why this is a "Note:" paragraph, especially since it
has "MUST" requirements in it.






--------------ms040801060705030401020608
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ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gCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAvZMZW33IvdAe4FtS/G+IqydUV9bhzIU54xsHT2s+qNCHISXlB4M/1vQdr
TsF6ibXbOaimRWClAcGc5x7wNJpQzPuj9Xf9/HyzD+605Vn5rC5mMeKrMPUiFy5JE7gkEV3u
7kmWEuDw8Xt+SoOA9SDzBpnDeK9kqRVq7ypSQkI3qkzK5OvZdiM6swWc/xwAm99Nbb8taF5j
do7UqzYfbJNN8D/pY0EmJdiqv12g7+L6RAROCyt/Uqpvy3jmtlDRnacjdZik6hHR94TL8I9z
BqAycTlF+HzzlBeUGf2RcMbDLorRkfYg94IfZ5Hy/uZfMoCfq6KZ+aZ/+q4c8ZpPjfpkAAAA
AAAA
--------------ms040801060705030401020608--

From stpeter@stpeter.im  Mon Oct 25 20:51:24 2010
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 14ED23A6910 for <xmpp@core3.amsl.com>; Mon, 25 Oct 2010 20:51:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.567
X-Spam-Level: 
X-Spam-Status: No, score=-102.567 tagged_above=-999 required=5 tests=[AWL=0.032, 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 F8+H4FJuhP0W for <xmpp@core3.amsl.com>; Mon, 25 Oct 2010 20:51:22 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id D6BC63A68EF for <xmpp@ietf.org>; Mon, 25 Oct 2010 20:51:22 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3C7A140D1E for <xmpp@ietf.org>; Mon, 25 Oct 2010 22:01:04 -0600 (MDT)
Message-ID: <4CC650A3.5000402@stpeter.im>
Date: Mon, 25 Oct 2010 21:53:07 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
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="------------ms070303010706000207070005"
Subject: [xmpp] Fwd: SECDIR review of draft-ietf-xmpp-3921bis-15.txt
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: Tue, 26 Oct 2010 03:51:24 -0000

This is a cryptographically signed message in MIME format.

--------------ms070303010706000207070005
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

And another review. Richard is also on the hook for a review of 3920bis,
but evidently he's not finished with that one yet. :)

/psa

-------- Original Message --------
Subject: SECDIR review of draft-ietf-xmpp-3921bis-15.txt
Date: Mon, 25 Oct 2010 22:08:19 -0400
From: Richard L. Barnes <rbarnes@bbn.com>
To: iesg@ietf.org, secdir@ietf.org,  draft-ietf-xmpp-3921bis@tools.ietf.o=
rg

I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the IESG.
 These comments were written primarily for the benefit of the security
area directors.  Document editors and WG chairs should treat these
comments just like any other last call comments.

This document describes an instant-messaging and presence system based
on the core system of exchanging XML stanzas described in RFC 3920 and
draft-ietf-xmpp-3920bis.  As the document rightly notes, the underlying
transport protocol addresses most of the security considerations for
this document, and that document seems to have a thorough discussion of
security considerations (although I have not done a thorough review). In
general, I think that the security considerations in this document
adequately describe the additional risks posed by the instant-messaging-
and presence-specific parts of the protocol (beyond those of the base
protocol), and corresponding mitigations.

One thing that might merit clarification: The overriding
application-layer security concern here is the proper routing of
presence and instant messaging stanzas through the XMPP system.
(Underlying communications security concerns are addressed by the core
spec.)  For the most part, these concerns with requirements on servers
to act in certain ways on behalf of the user.  It could be helpful to
the reader to re-state some of the communications patterns from Section
13.1 of draft-ietf-xmpp-3920bis and comment on the particular roles that
the entities play in the context of instant messaging and presence
(e.g., routing unicast <message> stanzas, fan-out of broadcast presence
messages).

--Richard


--------------ms070303010706000207070005
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcn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lY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAQNSnmXG7FA8gkkEx2QZDHxfrnLbPAOnVGh027EcAtZ44ucyWB7o+3tWhX
I9jzCyXMrM2oxg94nysTvvTOC4l7zsmdfzrHLKmx2c9oUFier5O6wdubS9z1xI4iEnCrsz19
R6WWdtE753IqDsU/VQjvhgU+xXINxOV8ublgmBmmISqj1cQt7qK1FUst+LLnH/pNIsZX5YZE
eglAaGMdusHvUj/fiMML7hfgTYqf4M/yy5K4t7jacrWThjFq+eYnx4V5chePWgjpapUzzAzk
Z9pvQGPUGK3F9HH8PAIec+kO62tT33d+ewK0WtdLKKOPRn5r6VAtwAVyhwByA+hjPI3oAAAA
AAAA
--------------ms070303010706000207070005--

From stpeter@stpeter.im  Mon Oct 25 21:08:26 2010
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 AA8843A684C; Mon, 25 Oct 2010 21:08:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.567
X-Spam-Level: 
X-Spam-Status: No, score=-102.567 tagged_above=-999 required=5 tests=[AWL=0.032, 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 ur5i4Xl4xTBd; Mon, 25 Oct 2010 21:08:25 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 526F73A683A; Mon, 25 Oct 2010 21:08:25 -0700 (PDT)
Received: from squire.local (dsl-179-124.dynamic-dsl.frii.net [216.17.179.124]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 788FA40D1E; Mon, 25 Oct 2010 22:18:06 -0600 (MDT)
Message-ID: <4CC654A1.7020502@stpeter.im>
Date: Mon, 25 Oct 2010 22:10:09 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <4CC63813.5070101@bbn.com>
In-Reply-To: <4CC63813.5070101@bbn.com>
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="------------ms010703080903010906020308"
Cc: draft-ietf-xmpp-3921bis@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SECDIR review of draft-ietf-xmpp-3921bis-15.txt
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: Tue, 26 Oct 2010 04:08:26 -0000

This is a cryptographically signed message in MIME format.

--------------ms010703080903010906020308
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks for the review. One comment inline.

On 10/25/10 8:08 PM, Richard L. Barnes wrote:
> I have reviewed this document as part of the security directorate's
> ongoing effort to review all IETF documents being processed by the IESG=
=2E
>  These comments were written primarily for the benefit of the security
> area directors.  Document editors and WG chairs should treat these
> comments just like any other last call comments.
>=20
> This document describes an instant-messaging and presence system based
> on the core system of exchanging XML stanzas described in RFC 3920 and
> draft-ietf-xmpp-3920bis.  As the document rightly notes, the underlying=

> transport protocol addresses most of the security considerations for
> this document, and that document seems to have a thorough discussion of=

> security considerations (although I have not done a thorough review). I=
n
> general, I think that the security considerations in this document
> adequately describe the additional risks posed by the instant-messaging=
-
> and presence-specific parts of the protocol (beyond those of the base
> protocol), and corresponding mitigations.
>=20
> One thing that might merit clarification: The overriding
> application-layer security concern here is the proper routing of
> presence and instant messaging stanzas through the XMPP system.
> (Underlying communications security concerns are addressed by the core
> spec.)  For the most part, these concerns with requirements on servers
> to act in certain ways on behalf of the user.  It could be helpful to
> the reader to re-state some of the communications patterns from Section=

> 13.1 of draft-ietf-xmpp-3920bis and comment on the particular roles tha=
t
> the entities play in the context of instant messaging and presence
> (e.g., routing unicast <message> stanzas, fan-out of broadcast presence=

> messages).

Although in general I'm not a fan of repeating material that is already
covered by a referenced specification, I agree that it might be
appropriate to provide a reminder about the underlying architecture of
XMPP and its implications for the security of various IM-related and
presence-related interactions. I'll reply again once I have investigated
the best location for such a reminder and have formulated proposed text.

Peter

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




--------------ms010703080903010906020308
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0a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lcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCiv3T/PU4QLtkeXFsHWempqqpIGk+KwmGI41hs0R0NaeYitSrRM4DxDpZ+
jV59BpH4VpWJExt45VH/AfvR9tHQhdfD+TT9fSjMKEXT9xJ+4Vk1gNU+567vPwKZJTsyq3Gv
paPluTuwnxho5S5JgMBnYYe4IsZZ6c+M77gUJYfbpR3SS3i/eVOAQG3G9yH1rkLPumFLdDUJ
RIaDTPqCVg83pDkhWY3no0/G/Sn41GtkYLAXZfZNckA8xC+FDGdrPn3NgH7Mrs6UKwm8wBue
RSMY+MUsQBaTd620tv/7g6J2mpffkazWCEX9SVxsA1RytHrDGHEjuDC9bTw54ZOyX1M6AAAA
AAAA
--------------ms010703080903010906020308--

From stpeter@stpeter.im  Tue Oct 26 09:58:00 2010
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 40BA93A698F; Tue, 26 Oct 2010 09:58:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.559
X-Spam-Level: 
X-Spam-Status: No, score=-102.559 tagged_above=-999 required=5 tests=[AWL=0.040, 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 BPZnqZGn110I; Tue, 26 Oct 2010 09:57:58 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 6A8BF3A6939; Tue, 26 Oct 2010 09:57:58 -0700 (PDT)
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 9CEAE40D1E; Tue, 26 Oct 2010 11:07:43 -0600 (MDT)
Message-ID: <4CC708FF.5070801@stpeter.im>
Date: Tue, 26 Oct 2010 10:59:43 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <4CC63813.5070101@bbn.com> <4CC654A1.7020502@stpeter.im>
In-Reply-To: <4CC654A1.7020502@stpeter.im>
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="------------ms060108050408090502020002"
Cc: draft-ietf-xmpp-3921bis@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SECDIR review of draft-ietf-xmpp-3921bis-15.txt
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: Tue, 26 Oct 2010 16:58:00 -0000

This is a cryptographically signed message in MIME format.

--------------ms060108050408090502020002
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/25/10 10:10 PM, Peter Saint-Andre wrote:
> Thanks for the review. One comment inline.
>=20
> On 10/25/10 8:08 PM, Richard L. Barnes wrote:
>> I have reviewed this document as part of the security directorate's
>> ongoing effort to review all IETF documents being processed by the IES=
G.
>>  These comments were written primarily for the benefit of the security=

>> area directors.  Document editors and WG chairs should treat these
>> comments just like any other last call comments.
>>
>> This document describes an instant-messaging and presence system based=

>> on the core system of exchanging XML stanzas described in RFC 3920 and=

>> draft-ietf-xmpp-3920bis.  As the document rightly notes, the underlyin=
g
>> transport protocol addresses most of the security considerations for
>> this document, and that document seems to have a thorough discussion o=
f
>> security considerations (although I have not done a thorough review). =
In
>> general, I think that the security considerations in this document
>> adequately describe the additional risks posed by the instant-messagin=
g-
>> and presence-specific parts of the protocol (beyond those of the base
>> protocol), and corresponding mitigations.
>>
>> One thing that might merit clarification: The overriding
>> application-layer security concern here is the proper routing of
>> presence and instant messaging stanzas through the XMPP system.
>> (Underlying communications security concerns are addressed by the core=

>> spec.)  For the most part, these concerns with requirements on servers=

>> to act in certain ways on behalf of the user.  It could be helpful to
>> the reader to re-state some of the communications patterns from Sectio=
n
>> 13.1 of draft-ietf-xmpp-3920bis and comment on the particular roles th=
at
>> the entities play in the context of instant messaging and presence
>> (e.g., routing unicast <message> stanzas, fan-out of broadcast presenc=
e
>> messages).
>=20
> Although in general I'm not a fan of repeating material that is already=

> covered by a referenced specification, I agree that it might be
> appropriate to provide a reminder about the underlying architecture of
> XMPP and its implications for the security of various IM-related and
> presence-related interactions. I'll reply again once I have investigate=
d
> the best location for such a reminder and have formulated proposed text=
=2E

Does the following text (to be added to the Security Considerations
section of 3920bis) address your concern?

###

   Section 13.1 of [XMPP-CORE] outlines the architectural roles of
   clients and servers in typical deployments of XMPP, and discusses the
   security properties associated with those roles.  These roles have an
   impact on the security of instant messages, presence subscriptons,
   and presence notifications as described in this document.  In
   essence, an XMPP user registers (or has provisioned) an account on an
   XMPP server and therefore places some level of trust in the server to
   complete various tasks on the user's behalf, enforce security
   policies, etc.  Thus it is the server's responsibility to:

   1.  Preferably mandate the use of channel encryption for
       communication with local clients and remote servers.

   2.  Authenticate any client that wishes to access the user's account.

   3.  Process XML stanzas to and from clients that have authenticated
       as the user (specifically with regard to instant messaging and
       presence functionality, store the user's roster, process inbound
       and outbound subscription requests and responses, generate and
       handle presence probes, broadcast outbound presence
       notifications, route outbound messages, and deliver inbound
       messages and presence notifications).

   As discussed in Sections 13.1 and 13.4 of [XMPP-CORE], even if the
   server fulfills the foregoing responsibilities, the client does not
   have any assurance that stanzas it might exchange with other clients
   (whether on the same server or a remote server) are protected for all
   hops along the XMPP communication path, or within the server itself.
   It is the responsibility of the client to use an appropriate
   technology for encryption and signing of XML stanzas if it wishes to
   ensure end-to-end confidentiality and integrity of its
   communications.

###

Peter

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




--------------ms060108050408090502020002
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7Q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VaRQEWcViC4LG
V39CGALAWgzAJDYxcwtM088uKJgLl7JgU+SYnJOgryPv0eucDXIDckkIMYgygaeBBb80WC7h
e+ziq93czk6hEobTHFSJYLKBq3j1tLE7rZx+INTna2pGXoYpjIC6ekqYZ0Q2k65XsF3dAAAA
AAAA
--------------ms060108050408090502020002--

From stpeter@stpeter.im  Tue Oct 26 14:09:27 2010
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 538FD3A68FD; Tue, 26 Oct 2010 14:09:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.595
X-Spam-Level: 
X-Spam-Status: No, score=-102.595 tagged_above=-999 required=5 tests=[AWL=0.004, 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 jQPqRYgdfK4O; Tue, 26 Oct 2010 14:09:25 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 06CA83A6804; Tue, 26 Oct 2010 14:09:25 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 69D2A40D1E; Tue, 26 Oct 2010 15:19:11 -0600 (MDT)
Message-ID: <4CC743EE.6090703@stpeter.im>
Date: Tue, 26 Oct 2010 15:11:10 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <4CC63810.2030809@bbn.com>
In-Reply-To: <4CC63810.2030809@bbn.com>
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="------------ms000706070402090606080209"
Cc: draft-ietf-xmpp-address@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SECDIR review of draft-ietf-xmpp-address-05.txt
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: Tue, 26 Oct 2010 21:09:27 -0000

This is a cryptographically signed message in MIME format.

--------------ms000706070402090606080209
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

[Copying xmpp@ietf.org to keep the WG in the loop...]

Thanks for the review.

Please be aware that you reviewed draft-ietf-xmpp-address-05, but based
on further discussion in the XMPP WG we published -06 right before the
October 25 cutoff, and I think -06 includes text that might address some
of your concerns (details below). A diff is here:

http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-xmpp-address-06.txt

On 10/25/10 8:08 PM, Richard L. Barnes wrote:
> I have reviewed this document as part of the security directorate's
> ongoing effort to review all IETF documents being processed by the IESG=
=2E
>  These comments were written primarily for the benefit of the security
> area directors.  Document editors and WG chairs should treat these
> comments just like any other last call comments.
>=20
> This document describes a data structure for addressing XMPP resources.=

>  As such, it has the potential to create authentication issues, in
> particular related to spoofing and mimicry of addresses.  The document
> does a good job of describing these risks and available mitigations, bu=
t
> could use a little bit of clarification on a few points.
>=20
> Detailed comments follow.
>=20
> --Richard
>=20
>=20
>=20
>=20
> Major issues:
>=20
> General: It's not clear to me from the text in this document JIDs diffe=
r
> from XMPP URIs.  My na=C3=AFve assumption would be that an XMPP URI wou=
ld
> simply be a JID with the scheme "xmpp:" prepended,=20

Correct. There are complexities involved when the JID contains
characters outside the ASCII range, which is why RFC 5122 says to
convert the URI to an IRI before extracting the JID.

> but the last
> paragraph of Section 2.1 made me uncertain about this.  (I have not
> checked RFC 5122 to verify whether this is the case syntactically.)

Is this revised text clearer?

   For the purpose of communication over an XMPP network (e.g., in the
   'to' or 'from' address of an XMPP stanza), an entity's address MUST
   be represented as a JID, not as a Uniform Resource Identifier [URI]
   or Internationalized Resource Identifier [IRI].  An XMPP URI or IRI
   [XMPP-URI] is in essence a JID prepended with 'xmpp:', but the native
   addressing format used in XMPP is that of a mere JID without a URI
   scheme.  ([XMPP-URI] is provided only for identification and
   interaction outside the context of XMPP itself, for example when
   linking to a JID from a web page.)

> Since many client applications will have to convert from XMPP URIs to
> JIDs -- and because this is a security-sensitive operation -- it seems
> like it would be helpful for this document to specify conversions
> between XMPP URIs and JIDs, even if only by reference to RFC 5122.

I agree that we need to somewhere describe how a JID can be securely
extracted from an XMPP URI, and I think RFC 5122 handles that fairly
well at the moment. If the matter is not clear in RFC 5122, then it
needs to be clarified in 5122bis -- RFC 5122 will be revised anyway once
we supersede the address spec you've reviewed, once 3987bis is
published, etc. Because this (temporary) address spec mentions XMPP
URIs/IRIs only to say that they are explicitly out of scope for XMPP
itself and must not be used as the address format for communication over
an XMPP network, I think it's not proper to introduce dependencies on
RFC 5122 in the core specification.

However, we might want to add the following sentence at the end of the
revised paragraph quoted above:

   See [XMPP-URI] for a description of the process for securely
   extracting a JID from an XMPP URI or IRI.

> S4.3:
> It seems like there should be some discussion here about how entities
> that create JIDs can help mitigate issues of confusability.  For
> example, the existence of confusable characters in the domainpart is
> mitigated by proper registry policies (which I presume could be
> incorporated by reference to some IDNA documents).  Localparts and
> resourceparts are not constrained  to be domain names, but they are
> controlled or at least approved by a server, so the server can apply
> similar policies to these parts.

The XMPP community is just beginning to get a handle on these issues. I
agree that an XMPP server functions as a registry of sorts: a registry
of localparts associated with accounts. See for instance the last
paragraph here:

http://tools.ietf.org/html/draft-saintandre-xmpp-i18n-02#section-2

Similarly, an XMPP groupchat service functions as kind of registry for
temporary resourceparts, and in some cases even permanent resourceparts:

http://xmpp.org/extensions/xep-0045.html#register

With the understanding that usernames can be provisioned and not
registered directly by a user, I'll point out that the "in-band
registration" protocol (XEP-0077) traditionally used for registration of
an account at an XMPP server has included absolutely no support for
registration *policies* (e.g., disallowing symbol characters in the
localpart), because the XMPP community was blithely unaware of possible
problems with the lack of such policies. This is something that needs to
be remedied, but it has not been remedied yet. I'm hoping that work on
the successor to the address spec you've reviewed will lead to at least
some solutions to these problems, and the individual I-D that I
mentioned above is an attempt at starting that conversation.

That said, I think draft-ietf-xmpp-address-06 (you reviewed -05)
includes some text that might address your concern, to wit:

###

   Despite the fact that some specific suggestions about identification
   and handling of confusable characters appear in the Unicode Security
   Considerations [UNICODE-SEC], it is also true (as noted in
   [IDNA-DEFS]) that "there are no comprehensive technical solutions to
   the problems of confusable characters".  Mimicked JIDs that involve
   characters from only one script, or from the script typically
   employed by a particular user or community of language users, are not
   easy to combat (e.g., the simple typejacking attack previously
   described, which relies on a surface similarity between the
   characters "1" and "l" in some presentations).  However, mimicked
   addresses that involve characters from more than one script, or from
   a script not typically employed by a particular user or community of
   language users, can be mitigated somewhat through the application of
   appropriate registration policies at XMPP services and presentation
   policies in XMPP client software.  Therefore the following policies
   are encouraged:

   1.  Because an XMPP service that allows registration of XMPP user
       accounts (localparts) plays a role similar to that of a registry
       for DNS domain names, such a service SHOULD establish a policy
       about the scripts or blocks of characters it will allow in
       localparts at the service.  Such a policy is likely to be
       informed by the languages and scripts that are used to write
       registered account names; in particular, to reduce confusion, the
       service MAY forbid registration of XMPP localparts that contain
       characters from more than one script and to restrict
       registrations to characters drawn from a very small number of
       scripts (e.g., scripts that are well-understood by the
       administrators of the service).  For related considerations in
       the context of domain name registration, refer to Section 4.3 of
       [IDNA-PROTO] and Section 3.2 of [IDNA-RATIONALE].  Note well that
       methods for enforcing such restrictions are out of scope for this
       document.

   2.  Because every human user of an XMPP client presumably has a
       preferred language (or, in some cases, a small set of preferred
       languages), an XMPP client SHOULD gather that information either
       explicitly from the user or implicitly via the operating system
       of the user's device.  Furthermore, because most languages are
       typically represented by a single script (or a small set of
       scripts) and most scripts are typically contained in one or more
       blocks of characters, an XMPP client SHOULD warn the user when
       presenting a JID that mixes characters from more than one script
       or block, or that uses characters outside the normal range of the
       user's preferred language(s).  This recommendation is not
       intended to discourage communication across different communities
       of language users; instead, it recognizes the existence of such
       communities and encourages due caution when presenting unfamiliar
       scripts or characters to human users.

###

Does that help?

> S4.4.1 P2:
> The observation that only part of an identifier can be authenticated is=

> a good one to make, but there's one subtlety: The remote server is
> actually authoritative for the localpart and resourcepart of the JID, s=
o
> the fact that the remote domain has assigned a particular 'from' addres=
s
> effectively authenticates those fields when the domain is authenticated=
=2E
>  It might help to note that end-to-end authentication of XMPP stanzas
> could help mitigate this risk, since it would require the rogue server
> to generate false credentials in addition to modifying 'from' addresses=
=2E
>=20
>=20
> Minor issues:
>=20
> S2.2 P2: For clarity, I would change the "SHOULD be an FQDN, can be an
> IP address or unqualified host name" to "MUST be an FQDN, IPv4 address
> literal, IPv6 address literal, or unqualified host name".  If the
> intention here is that unqualified host names should have the same
> syntax as FQDNs, then that should be stated.

I take it you mean something like the following edited text:

###

   The domainpart for every XMPP service MUST be a fully qualified
   domain name ("FQDN"; see [DNS]), IPv4 address, IPv6 address, or
   unqualifed hostname (i.e., a text label that is resolvable on
   a local network).

      Interoperability Note: Domainparts that are IP addresses might
      not be accepted by other services for the sake of server-to-server
      communication, and domainparts that are unqualified
      hostnames cannot be used on public networks because they are
      resolvable only on a local network.

###

Is that what you were looking for?

> S2.2 P3: Not clear why this is a "Note:" paragraph, especially since it=

> has "MUST" requirements in it.

I've removed the "Implementation Note:" string at the beginning of that
paragraph.

Thanks again for the review.

Peter

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




--------------ms000706070402090606080209
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGcPo
98K4TJf8FHo+U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YJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBR+7kws+tUs+wNxrfCbaYFJ043NPjBJvCzkVMr+iJWLI9kYUSVpDQEpbZZ
UomyeHqkFXLVbuPTBCBcUtROYjjIwTJoXVjUg50bPnWwoDY09rAW1+7EjtIE28BPwtNbYBxQ
Zo0kBIe2TYJmNSr51UCcAskkIjRgKGnOLN7EC3mT9RjgbmzQaCsTJU6+QOm0lTWCqwzuV5rp
UtUaec1Tux4TwCqZYJKW0UnNiJxqW821xzymgj2652ljV6vbu5fvPXyudypiHRJuio6utSo2
A+Wok1d3thIQ4E54KGF0fmgOh7jtk6GMbX5nrVztjJSONFJQpIF3DX5BfDl11YDROFGmAAAA
AAAA
--------------ms000706070402090606080209--

From rbarnes@bbn.com  Tue Oct 26 14:46:07 2010
Return-Path: <rbarnes@bbn.com>
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 7D2BF3A696D; Tue, 26 Oct 2010 14:46:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.408
X-Spam-Level: 
X-Spam-Status: No, score=-102.408 tagged_above=-999 required=5 tests=[AWL=0.191, 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 7pkPVHBjOs7R; Tue, 26 Oct 2010 14:46:06 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by core3.amsl.com (Postfix) with ESMTP id 3A94D3A680B; Tue, 26 Oct 2010 14:46:06 -0700 (PDT)
Received: from [192.1.255.215] (port=51411 helo=col-dhcp-192-1-255-215.bbn.com) by smtp.bbn.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1PArN4-000LpW-7w; Tue, 26 Oct 2010 17:47:54 -0400
Message-Id: <EB0EE632-EEC3-4A3B-BEDC-FF3E6CD08123@bbn.com>
From: "Richard L. Barnes" <rbarnes@bbn.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CC743EE.6090703@stpeter.im>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Tue, 26 Oct 2010 17:47:52 -0400
References: <4CC63810.2030809@bbn.com> <4CC743EE.6090703@stpeter.im>
X-Mailer: Apple Mail (2.936)
Cc: draft-ietf-xmpp-address@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SECDIR review of draft-ietf-xmpp-address-05.txt
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: Tue, 26 Oct 2010 21:46:07 -0000

> Is this revised text clearer?
>
>   For the purpose of communication over an XMPP network (e.g., in the
>   'to' or 'from' address of an XMPP stanza), an entity's address MUST
>   be represented as a JID, not as a Uniform Resource Identifier [URI]
>   or Internationalized Resource Identifier [IRI].  An XMPP URI or IRI
>   [XMPP-URI] is in essence a JID prepended with 'xmpp:', but the  
> native
>   addressing format used in XMPP is that of a mere JID without a URI
>   scheme.  ([XMPP-URI] is provided only for identification and
>   interaction outside the context of XMPP itself, for example when
>   linking to a JID from a web page.)

Yes, that is better, especially with the revision below.


> However, we might want to add the following sentence at the end of the
> revised paragraph quoted above:
>
>   See [XMPP-URI] for a description of the process for securely
>   extracting a JID from an XMPP URI or IRI.

After taking a better look at RFC 5122, I agree that that sentence is  
all that's needed.


>
>> S4.3:
>> It seems like there should be some discussion here about how entities
>> that create JIDs can help mitigate issues of confusability.  For
>> example, the existence of confusable characters in the domainpart is
>> mitigated by proper registry policies (which I presume could be
>> incorporated by reference to some IDNA documents).  Localparts and
>> resourceparts are not constrained  to be domain names, but they are
>> controlled or at least approved by a server, so the server can apply
>> similar policies to these parts.
>
> That said, I think draft-ietf-xmpp-address-06 (you reviewed -05)
> includes some text that might address your concern, to wit:
>
> ###
> ...
> ###
>
> Does that help?

That's exactly what I was looking for!  Presumably the same  
considerations apply to resourceparts, so perhaps just one more  
sentence establishing that equivalence would be in order.



>
>> S4.4.1 P2:
>> The observation that only part of an identifier can be  
>> authenticated is
>> a good one to make, but there's one subtlety: The remote server is
>> actually authoritative for the localpart and resourcepart of the  
>> JID, so
>> the fact that the remote domain has assigned a particular 'from'  
>> address
>> effectively authenticates those fields when the domain is  
>> authenticated.
>> It might help to note that end-to-end authentication of XMPP stanzas
>> could help mitigate this risk, since it would require the rogue  
>> server
>> to generate false credentials in addition to modifying 'from'  
>> addresses.

Any thoughts on this issue?



>> Minor issues:
>>
>> S2.2 P2: For clarity, I would change the "SHOULD be an FQDN, can be  
>> an
>> IP address or unqualified host name" to "MUST be an FQDN, IPv4  
>> address
>> literal, IPv6 address literal, or unqualified host name".  If the
>> intention here is that unqualified host names should have the same
>> syntax as FQDNs, then that should be stated.
>
> I take it you mean something like the following edited text:
>
> ###
>
>   The domainpart for every XMPP service MUST be a fully qualified
>   domain name ("FQDN"; see [DNS]), IPv4 address, IPv6 address, or
>   unqualifed hostname (i.e., a text label that is resolvable on
>   a local network).
>
>      Interoperability Note: Domainparts that are IP addresses might
>      not be accepted by other services for the sake of server-to- 
> server
>      communication, and domainparts that are unqualified
>      hostnames cannot be used on public networks because they are
>      resolvable only on a local network.
>
> ###
>
> Is that what you were looking for?

Yes.




>> S2.2 P3: Not clear why this is a "Note:" paragraph, especially  
>> since it
>> has "MUST" requirements in it.
>
> I've removed the "Implementation Note:" string at the beginning of  
> that
> paragraph.

Ok.

From stpeter@stpeter.im  Tue Oct 26 15:07:37 2010
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 32CF43A6897; Tue, 26 Oct 2010 15:07:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.595
X-Spam-Level: 
X-Spam-Status: No, score=-102.595 tagged_above=-999 required=5 tests=[AWL=0.004, 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 KmDNO9cFeCCF; Tue, 26 Oct 2010 15:07:35 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id A8A4E3A680B; Tue, 26 Oct 2010 15:07:35 -0700 (PDT)
Received: from dhcp-64-101-72-188.cisco.com (dhcp-64-101-72-188.cisco.com [64.101.72.188]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2021D40D1F; Tue, 26 Oct 2010 16:17:23 -0600 (MDT)
Message-ID: <4CC75191.4010106@stpeter.im>
Date: Tue, 26 Oct 2010 16:09:21 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <4CC63810.2030809@bbn.com> <4CC743EE.6090703@stpeter.im> <EB0EE632-EEC3-4A3B-BEDC-FF3E6CD08123@bbn.com>
In-Reply-To: <EB0EE632-EEC3-4A3B-BEDC-FF3E6CD08123@bbn.com>
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="------------ms040907010308030600020302"
Cc: draft-ietf-xmpp-address@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SECDIR review of draft-ietf-xmpp-address-05.txt
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: Tue, 26 Oct 2010 22:07:37 -0000

This is a cryptographically signed message in MIME format.

--------------ms040907010308030600020302
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/26/10 3:47 PM, Richard L. Barnes wrote:

<snip/>

>>> S4.3: It seems like there should be some discussion here about
>>> how entities that create JIDs can help mitigate issues of
>>> confusability.  For example, the existence of confusable
>>> characters in the domainpart is mitigated by proper registry
>>> policies (which I presume could be incorporated by reference to
>>> some IDNA documents).  Localparts and resourceparts are not
>>> constrained  to be domain names, but they are controlled or at
>>> least approved by a server, so the server can apply similar
>>> policies to these parts.
>>=20
>> That said, I think draft-ietf-xmpp-address-06 (you reviewed -05)=20
>> includes some text that might address your concern, to wit:
>>=20
>> ### ... ###
>>=20
>> Does that help?
>=20
> That's exactly what I was looking for!  Presumably the same=20
> considerations apply to resourceparts, so perhaps just one more
> sentence establishing that equivalence would be in order.

See the antepenultimate sentence of this adjusted paragraph:

###

   1.  Because an XMPP service that allows registration of XMPP user
       accounts (localparts) plays a role similar to that of a registry
       for DNS domain names, such a service SHOULD establish a policy
       about the scripts or blocks of characters it will allow in
       localparts at the service.  Such a policy is likely to be
       informed by the languages and scripts that are used to write
       registered account names; in particular, to reduce confusion, the
       service MAY forbid registration of XMPP localparts that contain
       characters from more than one script and to restrict
       registrations to characters drawn from a very small number of
       scripts (e.g., scripts that are well-understood by the
       administrators of the service).  Such policies are also
       appropriate for XMPP services that allow temporary or permanent
       registration of XMPP resourceparts, e.g., during resource binding
       [XMPP] or upon joining an XMPP-based chat room [XEP-0045].  For
       related considerations in the context of domain name
       registration, refer to Section 4.3 of [IDNA-PROTO] and Section
       3.2 of [IDNA-RATIONALE].  Note well that methods for enforcing
       such restrictions are out of scope for this document.

###

>>> S4.4.1 P2: The observation that only part of an identifier can be
>>> authenticated is a good one to make, but there's one subtlety:
>>> The remote server is actually authoritative for the localpart and
>>> resourcepart of the JID, so the fact that the remote domain has
>>> assigned a particular 'from' address effectively authenticates
>>> those fields when the domain is authenticated. It might help to
>>> note that end-to-end authentication of XMPP stanzas could help
>>> mitigate this risk, since it would require the rogue server to
>>> generate false credentials in addition to modifying 'from'
>>> addresses.
>=20
> Any thoughts on this issue?

Sorry, I was going to scroll up to that part of the email before hitting
send. :)

I suggest the following modified text:

###

   Address forging is difficult in XMPP systems, given the requirement
   for sending servers to stamp 'from' addresses and for receiving
   servers to verify sending domains via server-to-server authentication
   (see [XMPP]).  However, address forging is possible if:

   o  A poorly implemented server ignores the requirement for stamping
      the 'from' address.  This would enable any entity that
      authenticated with the server to send stanzas from any
      localpart@domainpart as long as the domainpart matches the sending
      domain of the server.

   o  An actively malicious server generates stanzas on behalf of any
      registered account.

   Therefore, an entity outside the security perimeter of a particular
   server cannot reliably distinguish between bare JIDs of the form
   <localpart@domainpart> at that server and thus can authenticate only
   the domainpart of such JIDs with any level of assurance.  This
   specification does not define methods for discovering or
   counteracting such poorly implemented or rogue servers.  However, the
   end-to-end authentication or signing of XMPP stanzas could help to
   mitigate this risk, since it would require the rogue server to
   generate false credentials in addition to modifying 'from' addresses.

###

Hopefully by the time we supersede the address spec, we will have
developed a technology for end-to-end signing and encryption of XMPP
stanzas, which we can reference from the foregoing paragraph.

Peter

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




--------------ms040907010308030600020302
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRp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dpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBE92wibNv3Hkpp6cjycU/28xWotkT9dRKIrX3zxRaaNRqLYWxdbGaMOECJ
YCyejYjnmriDF19nnLR64g4V5sWXkznkA//3/5BuABfg2Z9VWzpdEAJeyI6CmL609GG/ZOGw
Ph9Ewm5iga12ImeNVJtbU+5DtTxkDWSKvqa3QoLMs2aBtUYcmtyL/MQAi9eiBXpW/YQ2g6Sr
8KuBKUS5dLbtMszCIEgZ7g4aZIZAiW32lGQxQBZyr4IomsZSsmWNjdLVCozVI689amMIa8GL
KDLhZ18V5wRXOEC9Bvp+jJ3mabX1C0Ao1ZaHeaoPP1tXG9cCXGKZViiIuUEbdFm5oMwlAAAA
AAAA
--------------ms040907010308030600020302--

From rbarnes@bbn.com  Tue Oct 26 15:11:20 2010
Return-Path: <rbarnes@bbn.com>
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 1D4613A68FD; Tue, 26 Oct 2010 15:11:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.409
X-Spam-Level: 
X-Spam-Status: No, score=-102.409 tagged_above=-999 required=5 tests=[AWL=0.190, 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 rIXr+ODEijlR; Tue, 26 Oct 2010 15:11:15 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.1.81]) by core3.amsl.com (Postfix) with ESMTP id 0D5E13A68D2; Tue, 26 Oct 2010 15:11:13 -0700 (PDT)
Received: from [192.1.255.215] (port=51620 helo=col-dhcp-192-1-255-215.bbn.com) by smtp.bbn.com with esmtp (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1PArlN-000MIE-18; Tue, 26 Oct 2010 18:13:01 -0400
Message-Id: <F7BB29AE-509E-4BEC-BEA9-DA8091DB5261@bbn.com>
From: "Richard L. Barnes" <rbarnes@bbn.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CC75191.4010106@stpeter.im>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Tue, 26 Oct 2010 18:12:59 -0400
References: <4CC63810.2030809@bbn.com> <4CC743EE.6090703@stpeter.im> <EB0EE632-EEC3-4A3B-BEDC-FF3E6CD08123@bbn.com> <4CC75191.4010106@stpeter.im>
X-Mailer: Apple Mail (2.936)
Cc: draft-ietf-xmpp-address@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SECDIR review of draft-ietf-xmpp-address-05.txt
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: Tue, 26 Oct 2010 22:11:20 -0000

On Oct 26, 2010, at 6:09 PM, Peter Saint-Andre wrote:

> On 10/26/10 3:47 PM, Richard L. Barnes wrote:
>
> <snip/>
>
>>>> S4.3: It seems like there should be some discussion here about
>>>> how entities that create JIDs can help mitigate issues of
>>>> confusability.  For example, the existence of confusable
>>>> characters in the domainpart is mitigated by proper registry
>>>> policies (which I presume could be incorporated by reference to
>>>> some IDNA documents).  Localparts and resourceparts are not
>>>> constrained  to be domain names, but they are controlled or at
>>>> least approved by a server, so the server can apply similar
>>>> policies to these parts.
>>>
>>> That said, I think draft-ietf-xmpp-address-06 (you reviewed -05)
>>> includes some text that might address your concern, to wit:
>>>
>>> ### ... ###
>>>
>>> Does that help?
>>
>> That's exactly what I was looking for!  Presumably the same
>> considerations apply to resourceparts, so perhaps just one more
>> sentence establishing that equivalence would be in order.
>
> See the antepenultimate sentence of this adjusted paragraph:
>
> ###
>
>   1.  Because an XMPP service that allows registration of XMPP user
>       accounts (localparts) plays a role similar to that of a registry
>       for DNS domain names, such a service SHOULD establish a policy
>       about the scripts or blocks of characters it will allow in
>       localparts at the service.  Such a policy is likely to be
>       informed by the languages and scripts that are used to write
>       registered account names; in particular, to reduce confusion,  
> the
>       service MAY forbid registration of XMPP localparts that contain
>       characters from more than one script and to restrict
>       registrations to characters drawn from a very small number of
>       scripts (e.g., scripts that are well-understood by the
>       administrators of the service).  Such policies are also
>       appropriate for XMPP services that allow temporary or permanent
>       registration of XMPP resourceparts, e.g., during resource  
> binding
>       [XMPP] or upon joining an XMPP-based chat room [XEP-0045].  For
>       related considerations in the context of domain name
>       registration, refer to Section 4.3 of [IDNA-PROTO] and Section
>       3.2 of [IDNA-RATIONALE].  Note well that methods for enforcing
>       such restrictions are out of scope for this document.
>
> ###

Perfect.


>
>>>> S4.4.1 P2: The observation that only part of an identifier can be
>>>> authenticated is a good one to make, but there's one subtlety:
>>>> The remote server is actually authoritative for the localpart and
>>>> resourcepart of the JID, so the fact that the remote domain has
>>>> assigned a particular 'from' address effectively authenticates
>>>> those fields when the domain is authenticated. It might help to
>>>> note that end-to-end authentication of XMPP stanzas could help
>>>> mitigate this risk, since it would require the rogue server to
>>>> generate false credentials in addition to modifying 'from'
>>>> addresses.
>>
>> Any thoughts on this issue?
>
> Sorry, I was going to scroll up to that part of the email before  
> hitting
> send. :)
>
> I suggest the following modified text:
>
> ###
>
>   Address forging is difficult in XMPP systems, given the requirement
>   for sending servers to stamp 'from' addresses and for receiving
>   servers to verify sending domains via server-to-server  
> authentication
>   (see [XMPP]).  However, address forging is possible if:
>
>   o  A poorly implemented server ignores the requirement for stamping
>      the 'from' address.  This would enable any entity that
>      authenticated with the server to send stanzas from any
>      localpart@domainpart as long as the domainpart matches the  
> sending
>      domain of the server.
>
>   o  An actively malicious server generates stanzas on behalf of any
>      registered account.
>
>   Therefore, an entity outside the security perimeter of a particular
>   server cannot reliably distinguish between bare JIDs of the form
>   <localpart@domainpart> at that server and thus can authenticate only
>   the domainpart of such JIDs with any level of assurance.  This
>   specification does not define methods for discovering or
>   counteracting such poorly implemented or rogue servers.  However,  
> the
>   end-to-end authentication or signing of XMPP stanzas could help to
>   mitigate this risk, since it would require the rogue server to
>   generate false credentials in addition to modifying 'from'  
> addresses.
>
> ###
>
> Hopefully by the time we supersede the address spec, we will have
> developed a technology for end-to-end signing and encryption of XMPP
> stanzas, which we can reference from the foregoing paragraph.

Hope springs eternal :)

Revised text is fine.

Thanks for responding quickly.

--Richard





From AVSHALOM@il.ibm.com  Wed Oct 27 06:19:17 2010
Return-Path: <AVSHALOM@il.ibm.com>
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 1799E3A686D for <xmpp@core3.amsl.com>; Wed, 27 Oct 2010 06:19:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.322
X-Spam-Level: 
X-Spam-Status: No, score=-6.322 tagged_above=-999 required=5 tests=[AWL=0.276,  BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
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 y0FYUF-tGDeD for <xmpp@core3.amsl.com>; Wed, 27 Oct 2010 06:19:16 -0700 (PDT)
Received: from mtagate2.de.ibm.com (mtagate2.de.ibm.com [195.212.17.162]) by core3.amsl.com (Postfix) with ESMTP id E1B243A6A18 for <xmpp@ietf.org>; Wed, 27 Oct 2010 06:19:15 -0700 (PDT)
Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.1/8.13.1) with ESMTP id o9RDL2tN019659 for <xmpp@ietf.org>; Wed, 27 Oct 2010 13:21:02 GMT
Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o9RDL26D4120664 for <xmpp@ietf.org>; Wed, 27 Oct 2010 15:21:02 +0200
Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o9RDL1vk032605 for <xmpp@ietf.org>; Wed, 27 Oct 2010 15:21:01 +0200
Received: from d12mc102.megacenter.de.ibm.com (d12nrml1506.megacenter.de.ibm.com [9.149.164.56] (may be forged)) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id o9RDL1Cb032602 for <xmpp@ietf.org>; Wed, 27 Oct 2010 15:21:01 +0200
In-Reply-To: <4CBF6996.7090802@stpeter.im>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com>	<AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com> <4CBF2B0A.5070603@stpeter.im>	<AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im>	<6A91EE31-D6E3-48BA-A666-6D15BAACE379@nostrum.com> <4CBF6996.7090802@stpeter.im>
To: <xmpp@ietf.org>
MIME-Version: 1.0
X-KeepSent: 87FEEF52:CF55C12E-C22577C9:0049244C; type=4; name=$KeepSent
X-Mailer: Lotus Notes Build V852_06292010 June 29, 2010
From: Avshalom Houri <AVSHALOM@il.ibm.com>
Message-ID: <OF87FEEF52.CF55C12E-ONC22577C9.0049244C-C22577C9.00495634@il.ibm.com>
Date: Wed, 27 Oct 2010 15:21:01 +0200
X-MIMETrack: Serialize by Router on D12MC102/12/M/IBM(Release 8.5.1FP2|March 17, 2010) at 27/10/2010 15:21:01, Serialize complete at 27/10/2010 15:21:01
Content-Type: multipart/alternative; boundary="=_alternative 004953CBC22577C9_="
Subject: [xmpp] Empty <features>
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: Wed, 27 Oct 2010 13:19:17 -0000

This is a multipart message in MIME format.
--=_alternative 004953CBC22577C9_=
Content-Type: text/plain; charset="US-ASCII"

In draft-ietf-xmpp-3920bis-18, is it correct to assume that Server 2 can 
not send empty <features> in:

9.2.2.  SASL

   Step 8: Server2 sends a response stream header to Server1 along with
   available stream features (including a preference for the SASL
   EXTERNAL mechanism):


tnx
Avshalom
--=_alternative 004953CBC22577C9_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">In draft-ietf-xmpp-3920bis-18, is it correct
to assume that Server 2 can not send empty &lt;features&gt; in:</font>
<br>
<br><font size=2 face="Courier New">9.2.2. &nbsp;SASL</font>
<br>
<br><font size=2 face="Courier New">&nbsp; &nbsp;Step 8: Server2 sends
a response stream header to Server1 along with</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;available stream features
(including a preference for the SASL</font>
<br><font size=2 face="Courier New">&nbsp; &nbsp;EXTERNAL mechanism):</font>
<br>
<br>
<br><font size=2 face="sans-serif">tnx</font>
<br><font size=2 face="sans-serif">Avshalom</font>
--=_alternative 004953CBC22577C9_=--

From dave@cridland.net  Wed Oct 27 07:56:06 2010
Return-Path: <dave@cridland.net>
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 027D23A6A39 for <xmpp@core3.amsl.com>; Wed, 27 Oct 2010 07:56:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.512
X-Spam-Level: 
X-Spam-Status: No, score=-2.512 tagged_above=-999 required=5 tests=[AWL=0.087,  BAYES_00=-2.599]
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 F8adcrZhkwTW for <xmpp@core3.amsl.com>; Wed, 27 Oct 2010 07:56:04 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 8ED9D3A697C for <xmpp@ietf.org>; Wed, 27 Oct 2010 07:56:04 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id C78F311680EC; Wed, 27 Oct 2010 15:57:53 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F9vytpFQSUlA; Wed, 27 Oct 2010 15:57:48 +0100 (BST)
Received: from Sputnik (invsysm1.dave.cridland.net [217.155.137.57]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 4BDDF11680CA; Wed, 27 Oct 2010 15:57:48 +0100 (BST)
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com> <4CBF2B0A.5070603@stpeter.im> <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im> <6A91EE31-D6E3-48BA-A666-6D15BAACE379@nostrum.com> <4CBF6996.7090802@stpeter.im> <OF87FEEF52.CF55C12E-ONC22577C9.0049244C-C22577C9.00495634@il.ibm.com>
In-Reply-To: <OF87FEEF52.CF55C12E-ONC22577C9.0049244C-C22577C9.00495634@il.ibm.com>
MIME-Version: 1.0
Message-Id: <25029.1288191468.118603@Sputnik>
Date: Wed, 27 Oct 2010 15:57:48 +0100
From: Dave Cridland <dave@cridland.net>
To: Avshalom Houri <AVSHALOM@il.ibm.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] Empty <features>
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: Wed, 27 Oct 2010 14:56:06 -0000

On Wed Oct 27 14:21:01 2010, Avshalom Houri wrote:
> In draft-ietf-xmpp-3920bis-18, is it correct to assume that Server  
> 2 can
> not send empty <features> in:
> 
> 9.2.2.  SASL
> 
>    Step 8: Server2 sends a response stream header to Server1 along  
> with
>    available stream features (including a preference for the SASL
>    EXTERNAL mechanism):

I don't think so, no.

To clarify, I think that if there are no available features, a  
responder MUST include an empty features element to indicate this.

However, I'm also aware that an empty features can confuse clients -  
luckily this should never occur except in the case of odd server  
behaviour.

In the case of C2S, I'd expect there to be resource binding or SASL  
at any given point.

In the case of S2S, I'd expect that a server would respond with an  
empty stream features list only if SASL had already been negotiated,  
or wasn't supported, and dialback was also disabled.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

From jehan.marmottard@gmail.com  Wed Oct 27 11:13:10 2010
Return-Path: <jehan.marmottard@gmail.com>
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 9FD1B3A69A0 for <xmpp@core3.amsl.com>; Wed, 27 Oct 2010 11:13:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.33
X-Spam-Level: 
X-Spam-Status: No, score=-2.33 tagged_above=-999 required=5 tests=[AWL=-0.031,  BAYES_00=-2.599, MIME_8BIT_HEADER=0.3]
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 DGxsvAK94b2O for <xmpp@core3.amsl.com>; Wed, 27 Oct 2010 11:13:09 -0700 (PDT)
Received: from mail-ew0-f44.google.com (mail-ew0-f44.google.com [209.85.215.44]) by core3.amsl.com (Postfix) with ESMTP id 741433A6803 for <xmpp@ietf.org>; Wed, 27 Oct 2010 11:13:09 -0700 (PDT)
Received: by ewy27 with SMTP id 27so575085ewy.31 for <xmpp@ietf.org>; Wed, 27 Oct 2010 11:14:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=VeH6Zym461SBEMg06AsOg/AqzeMl2bKv6uvUi5k7ht0=; b=UPxsH4tXu27nMZthbUguVXdwi0QOAyX2VGCRcc5bZNKPFORxv+DLpNljqKDADDoJWR AGc4CBWDVwxvi0E+3MHEq6iNacOyOQ3Y+obIBAkvSRyx4Rp9io0nxfxMyjzdorcrTrE6 YXjh+rgWtt1/eS3U1Q3ovFH7NTC/WhUilY8c4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Dwat1kMZGq9X7mrNepPb2OY9sAGXeHdCY+IKV5T0wtoU3C337qz14+ZzpHlRu7uNj8 r8G4SOinSPg7FRxuFSwOgBRsJc8FvKwQokhxf6zOwD1oeXNKCrWZ2jKIngaiPpCJ4zc+ WSTuPowbKQMLhNbJXaRuSK4i8Ao+rel4K5/Hg=
MIME-Version: 1.0
Received: by 10.216.157.72 with SMTP id n50mr1255848wek.4.1288203299044; Wed, 27 Oct 2010 11:14:59 -0700 (PDT)
Received: by 10.216.133.136 with HTTP; Wed, 27 Oct 2010 11:14:58 -0700 (PDT)
In-Reply-To: <25029.1288191468.118603@Sputnik>
References: <842AFFB7-5E43-42A9-967A-5A934574370E@cisco.com> <AANLkTinpxMS2aVf78rzCZBnY4bsvo3u3MFOtZjhEQTj0@mail.gmail.com> <4CBF2B0A.5070603@stpeter.im> <AANLkTi=C5+g=vJYkNYuTffKRkXHmMLU9wHu41aQXcbKX@mail.gmail.com> <4CBF4310.8060804@stpeter.im> <6A91EE31-D6E3-48BA-A666-6D15BAACE379@nostrum.com> <4CBF6996.7090802@stpeter.im> <OF87FEEF52.CF55C12E-ONC22577C9.0049244C-C22577C9.00495634@il.ibm.com> <25029.1288191468.118603@Sputnik>
Date: Thu, 28 Oct 2010 03:14:58 +0900
Message-ID: <AANLkTinJuQ-Nhsx7mzTYWwKXWKODp5E39ndYY=VHTTVk@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Dave Cridland <dave@cridland.net>, Avshalom Houri <AVSHALOM@il.ibm.com>,  XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] Empty <features>
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: Wed, 27 Oct 2010 18:13:10 -0000

Hi,

On Wed, Oct 27, 2010 at 11:57 PM, Dave Cridland <dave@cridland.net> wrote:
> On Wed Oct 27 14:21:01 2010, Avshalom Houri wrote:
>>
>> In draft-ietf-xmpp-3920bis-18, is it correct to assume that Server 2 can
>> not send empty <features> in:
>>
>> 9.2.2. =A0SASL
>>
>> =A0 Step 8: Server2 sends a response stream header to Server1 along with
>> =A0 available stream features (including a preference for the SASL
>> =A0 EXTERNAL mechanism):
>
> I don't think so, no.
>
> To clarify, I think that if there are no available features, a responder
> MUST include an empty features element to indicate this.
>
> However, I'm also aware that an empty features can confuse clients - luck=
ily
> this should never occur except in the case of odd server behaviour.
>
> In the case of C2S, I'd expect there to be resource binding or SASL at an=
y
> given point.
>
> In the case of S2S, I'd expect that a server would respond with an empty
> stream features list only if SASL had already been negotiated, or wasn't
> supported, and dialback was also disabled.
>
> Dave.

Actually sending an empty stream <features> (along with sending only
voluntary features) is the way to indicate that the stream has been
negotiated and that both entity are now allowed to transmit stanzas.
So yes, you can send empty stream features, and in some cases (no
features are anymore negotiable), you must.
Cf.

=AB
4.2.5.  Completion of Stream Negotiation

The receiving entity indicates completion of the stream negotiation
   process by sending to the initiating entity either an empty
   <features/> element or a <features/> element that contains only
   voluntary features
=BB

Bye.

Jehan

From stpeter@stpeter.im  Thu Oct 28 11:29:29 2010
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 97C573A69B3 for <xmpp@core3.amsl.com>; Thu, 28 Oct 2010 11:29:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.593
X-Spam-Level: 
X-Spam-Status: No, score=-102.593 tagged_above=-999 required=5 tests=[AWL=0.006, 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 KmLOZOzRfnKe for <xmpp@core3.amsl.com>; Thu, 28 Oct 2010 11:29:26 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id A4A953A683E for <xmpp@ietf.org>; Thu, 28 Oct 2010 11:29:26 -0700 (PDT)
Received: from squire.local (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 4881140BB9 for <xmpp@ietf.org>; Thu, 28 Oct 2010 12:39:28 -0600 (MDT)
Message-ID: <4CC9C174.6090807@stpeter.im>
Date: Thu, 28 Oct 2010 12:31:16 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
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="------------ms070103020202080500030708"
Subject: [xmpp] Fwd: SecDir review of draft-ietf-xmpp-3920bis-17
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: Thu, 28 Oct 2010 18:29:29 -0000

This is a cryptographically signed message in MIME format.

--------------ms070103020202080500030708
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

FYI. As with the other reviews I shall copy xmpp@ietf.org on my reply.

/psa

-------- Original Message --------
Subject: SecDir review of draft-ietf-xmpp-3920bis-17
Date: Thu, 28 Oct 2010 12:28:13 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
To: secdir@ietf.org, draft-ietf-xmpp-3920bis.all@tools.ietf.org,
iesg@ietf.org

I have reviewed this document as part of the security directorate's
ongoing effort to review all IETF documents being processed by the IESG.
These comments were written primarily for the benefit of the security
area directors.  Document editors and WG chairs should treat these
comments just like any other last call comments.

The document updates RFC 3920, which is the definition of the core XMPP
real-time messaging protocol. It should be noted the instant messaging
and presence are layered on top of this protocol, and specified separatel=
y.

General

The document is initially intimidating, because of its length. But it is
extremely well written (for which I would like to thank the editor) and
well organized. So overall, a good read.

I have not found anything that I consider a glaring security hole. But
this is a layered security architecture (application layer =3D=3D XMPP co=
re
=3D=3D SASL =3D=3D TLS) which is not easy to do right. Hence the large nu=
mber of
comments and questions below.

I also appreciate the open discussion of the existing implementations
and their security issues (e.g. "server dialback", shiver). I hope this
document results in a security improvement in real deployments.

Detailed Comments

Note: these comments are based on rev -17 of the draft. This only
matters as far as section numbers, with the only security-relevant
change in -18 being a useful note on end-to-end protection.

- 1.3: Implementation note: I suggest adding something like "Solutions
specified in this document offer a significantly better level of security=
=2E"
- 3.3: why do we not recommend to use TLS (stateless) session resumption
for reconnection?
- 4.2.5 the access control rule at the bottom of this section makes
sense. Why why does it explicitly not apply to elements other than XML
stanzas? Are there cases where you negotiate TLS with someone other than
the server? You can even imagine weird tunneling attacks using this
"feature".
- 4.2.5: "other than itself" - am I really allowed to send "message"
stanzas from one resource of a JID to another resource of the same JID,
before feature negotiation and before TLS negotiation?
- 4.2.6: why do we even allow non-SASL protected server-to-server
communication?
- 4.3: How is TLS negotiated for the additional streams? How is it bound
to the SASL negotiation that (apparently) only takes place once?
- 4.4: this section appears to tie the two streams in the opposite
directions together - when you close one you expect the other guy to
close the other ASAP. But what is the behavior for "multiple streams
over multiple connections" (Sec. 4.3)?
- 4.4: what about orderly tear-down of the TLS association ("closure
alert")?
- 4.8.3.12: does not-authorized only refer to stream-level, rather than
stanza-level errors? Are there cases when I am authorized to send some
stanza types but not others?
- 4.8.3.14 remote-connection-failed has dubious security benefit (why
tell the world that your RADIUS server is down), compared to reusing
internal-error.
- 4.8.3.16: shouldn't we say that "reset" (when the stream is encrypted)
also applies to the higher layers, i.e. encryption and authentication
should be performed again?
- 4.8.3.18: what are the security implications of a "redirect"? Should
the client apply the same policy, e.g. for using TLS, as for the
original server? Which "to" identity to use? Can redirection occur
before the recipient is even authenticated?
- 4.9: Don't we resend the "stream" header again after completing the
TLS negotiation (Sec. 4.2.3).
- 5.3.5: the text mentions that client certificates are "sufficiently
rare", which is a pity because they do make sense for server-to-server
interaction. So I suggest to promote renegotiation from OPTIONAL to
RECOMMENDED.
- 5.3.6: extensions may be out of scope. But I think we need to include
a few words re: the TLS version, at least to prohibit SSL 3.0.
- 5.4.1: don't you have to declare version >=3D 1.0 if you simply support=

this draft? Same question in 6.4.1.
- 5.4.3.1: why is the initiator required to present a certificate "So
that mutual authentication will be possible"? There are many other ways
of ensuring mutual auth. I suggest to reword as "mutual certificate
authentication".
- Global replace TLS "cipher" -> "ciphersuite".
- 5.4.3.1, bullet 5: actually, based on the "from" attribute that the
receiving entity has just sent.
- 5.4.3.3: where do we say that both sides must validate the "to" and
"from" identities in view of the identities presented at the TLS layer
(if any)?
- 6.3.2: do you restart the stream twice, once after TLS and once after
SASL??
- 6.3.3: shouldn't we simply "MUST NOT" the PLAIN mechanism?
- 6.3.7: and what is the identity used for server-to-server auth? Also,
it is very uncommon to consider the password as part of the identity.
- 6.4.4: isn't it inconsistent that SASL aborts are converted into XMPP
failures, but TLS failures are not?
- 7.7.2.2: the preferred option #1, while reasonable in itself, does not
allow the client to determine its own policy (whether it wants multiple
sessions from multiple devices or not).
- 8.1.1.2: any validated domain -> any validated subdomain.
- 8.3.1, rule #2: if the error is a result of something gone bad with
the addresses, then simply swapping "to" and "from" may not be
appropriate, and may even be a security issue.
- Same, rule #6, the recipient MUST NOT include the original XML if it's
not well formed, right?
- 8.3.2: MUST NOT... be presented to the human user - this is impossible
to enforce, and most likely will not be followed. Moreover, there's a
reason why we include a language tag. I suggest to tone it down a bit.
- 8.3.3.11: what are "improper credentials"? It sounds like we are not
differentiating the conditions of authentication failure vs.
authorization failure.
- 8.3.3.14: the "security note" doesn't makes sense to me - no matter
what error code is returned, the sender has gained information that we
don't want to provide. The note should say something along the lines of:
such services must not be available to entities that cannot be trusted
with knowing the status of an arbitrary recipient. See also 8.3.3.20.
- 8.3.3.15: Are there no security implications to redirection at the
stanza level?
- 8.3.3.18: The "wait" error type might not be appropriate for some
situations, e.g. authentication issues.
- 8.3.3.21: do you explain anywhere what is the difference between
"prior registration" and "prior subscription"?
- 9.1.1, step 7: this is utterly trivial, but please mention that the
new "stream" element is sent over TLS.
- 9.1.5: as I noted in Sec. 4.4, the TLS connection needs to be closed
as well.
- 10.2: "try many different resources", I suppose it is typically fewer
than 10 per JID, which does not make the attack uninteresting.
- 10.4.2: if the protocol supports routing, shouldn't we mention that
there are cases where the IQ stanza will be forwarded to another server,
not the one mentioned in the "To" header? And what about loop prevention?=

- 10.5.3.3: this is a strange rule. Does it mean that if I'm using a
desktop (/desktop) and a mobile (/mobile), and I'm connected to the
desktop, I cannot have messages targeted at my mobile be deferred (and
stored somewhere) until I connect from that device?
- 13.4: "for the ensuring" -> "for ensuring" (or: to ensure).
- 13.4: the security note is confusing, because it is unclear whether it
has any normative status. Otherwise, it is almost trivial: of course you
can provide these guarantees by different means.
- 13.4: the cipher suites are not just "nun-null". They MUST provide
both confidentiality and integrity.
- 13.6: the out-of-band trust chain rule may be practical for
server-to-server connections, but probably not for large client
deployments and when certificates are sometimes rolled over.
- 13.7: terminology: "mutual authentication" describes authentication
with client certs, just as much as it describes the server presenting a
cert and the client authenticating with SASL. This also applies to 5.4.3.=

- 13.7.1.1: The word "issuer" is ambiguous. It usually refers to a
person/organization, but here you use it to refer to the certificate
itself. How about replacing the heading of the second list by: "the
following rules apply to issuer certificates, used to sign XMPP
end-entity certificates"?
- 13.7.1.1: it's strange to specify the hash algorithm, but not the
signature algorithm (RSA-512 anyone?)
- 13.7.1.1: what are "access certificates"? Neither 5280 nor Google can
help... And how can an issuer cert NOT be marked with the CA bit?
- 13.7.1.1: and most important, is the "relying party" (e.g. the client)
required to check all these rules and fail validation if any of them is
not met?
- 13.7.1.2.2: enabling entity -> enabling entities.
- 13.7.1.4: "conjuction" misspelled.
- 13.7.2: "An implementation MUST enable a human user to view
information about the certification path." I'm afraid this is security
theater, because 99.5% of your target population cannot understand this
information.
- 13.7.2.2.1: "MUST either validate" - incomplete sentence (and
actually, at a sensitive point in the text).
- 13.7.2.2.1, subcase #3: please mention that some servers will simply
fail validation at this point, subject to their policy. I.e., some might
insist on correct client certs.
- 13.7.2.3: "periodically query OCSP" - is there any guidance about the
period? Is a recommended period specified in the cert or communicated by
the OCSP responder?
- 13.7.2: a silly question, but anyway: where do you say that the
client's cert is correlated with the client's JID, as it appears in the
=46rom line (when setting up the original stream and/or when setting the
stream anew after TLS negotiation)? And vice versa, for the server cert
and the client's To header.
- 13.8: I suggest to add (here or elsewhere): "All password-based
mechanisms are susceptible to password guessing attacks, and therefore
the authenticator MUST implement common rate-limiting mitigations."
- 13.8: "For both confidentiality and authentication with passwords" -
here you don't specify a TLS ciphersuite.
- 13.8: the note kind of implies that PLAIN is preferable to DIGEST-MD5,
which is clearly not the case.
- 13.9.4: why is SASL-PLAIN singled out here? Other mechanisms are
susceptible to off-line password guessing when used without TLS
confidentiality, which is not a trivial attack but still a significant ri=
sk.
- 13.11: all three examples of "service unavailable" can be ruled out on
an operational server. Are there no better examples?
- 15: The sasl-whitespace "feature" is not really a feature, because
you'd fail any interoperability if you send whitespace during the SASL
phase, right? Similarly tls-whitespace.
- 15: if we insist on PLAIN, I would expect a security-mti-auth-order
feature, where the proposals are ordered right (i.e. with PLAIN at the en=
d).
- 15: why is confidentiality-only a MUST? Is it widely deployed? Is it
required for backward compatibility? By the way, please expand the
acronym MTI somewhere.
- 15: and hey, there's no feature defined for TLS+SCRAM+? Isn't this the
one we want/expect to be deployed?
- 15: stanza-* features - if you have an XML schema, can't you just say
that conformance to the schema is REQUIRED and eliminate all this stuff?
Given that these are MUSTs, not SHOULDs, a formal specification is so
much easier to validate. This does *not* contradict the fact that
runtime validation is optional.
- 15: I would expect one or a few features around validation of
identities at the various layers, since we're spending much of the
document on this issue. "tls-certs" is an important piece of that, but
not the whole thing.


--------------ms070103020202080500030708
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBA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GBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCNItSoku9ml1ivYs6LjBkLJDpQWkfVlU60V1zxS9H1QlqHYQiZd5TbPAQi
o22blHctxnPsT59d2PYlyz3b1ni5hOfuBMFpsPzUGGATYEyWE/wevwNpgkzbjx+zPYC7WCga
Ih+PIXiaTNLhfwxxxYfLj14lDFIxx/CVtq78d0O1np35TvVsG4R+fEiXUzY72eXsA8DO1qXm
HwDjgBbG9ka5LK7Lsqy3oGaXI63pp0ja5l1vh4Wrkjnqp52JhubvsGPDZhpZ/1FXZVEx1HRT
t+wmFcbc/i0XzqfKu8nRJcWb5u2GKJxNXzB9AT7sqCLwijFIlFCFh7bF/d+6tJTL30ZGAAAA
AAAA
--------------ms070103020202080500030708--

From stpeter@stpeter.im  Thu Oct 28 20:59:29 2010
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 2FD473A69FA; Thu, 28 Oct 2010 20:59:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.569
X-Spam-Level: 
X-Spam-Status: No, score=-102.569 tagged_above=-999 required=5 tests=[AWL=0.030, 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 o9674M9fU3De; Thu, 28 Oct 2010 20:59:26 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 27A623A680E; Thu, 28 Oct 2010 20:59:26 -0700 (PDT)
Received: from squire.local (dsl-251-219.dynamic-dsl.frii.net [216.17.251.219]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C939840BB9; Thu, 28 Oct 2010 22:09:29 -0600 (MDT)
Message-ID: <4CCA470B.20601@stpeter.im>
Date: Thu, 28 Oct 2010 22:01:15 -0600
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.11) Gecko/20101013 Thunderbird/3.1.5
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com>
In-Reply-To: <4CC9503D.2000809@gmail.com>
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="------------ms070600050905090708010909"
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
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: Fri, 29 Oct 2010 03:59:29 -0000

This is a cryptographically signed message in MIME format.

--------------ms070600050905090708010909
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Thanks for your careful and thorough review. To maintain forward
momentum, this is Part 1 of my reply, up through the end of Section 4. I
shall endeavor to reply regarding the remainder of your review in the
next 24-48 hours.

[Copying xmpp@ietf.org to keep the WG in the loop...]

On 10/28/10 4:28 AM, Yaron Sheffer wrote:
> I have reviewed this document as part of the security directorate's
> ongoing effort to review all IETF documents being processed by the IESG=
=2E
> These comments were written primarily for the benefit of the security
> area directors.  Document editors and WG chairs should treat these
> comments just like any other last call comments.
>=20
> The document updates RFC 3920, which is the definition of the core XMPP=

> real-time messaging protocol. It should be noted the instant messaging
> and presence are layered on top of this protocol, and specified separat=
ely.
>=20
> General
>=20
> The document is initially intimidating, because of its length. But it i=
s
> extremely well written (for which I would like to thank the editor) and=

> well organized. So overall, a good read.

Thanks.

> I have not found anything that I consider a glaring security hole. But
> this is a layered security architecture (application layer =3D=3D XMPP =
core
> =3D=3D SASL =3D=3D TLS) which is not easy to do right. Hence the large =
number of
> comments and questions below.
>=20
> I also appreciate the open discussion of the existing implementations
> and their security issues (e.g. "server dialback", shiver). I hope this=

> document results in a security improvement in real deployments.

We hope so!

> Detailed Comments
>=20
> Note: these comments are based on rev -17 of the draft. This only
> matters as far as section numbers, with the only security-relevant
> change in -18 being a useful note on end-to-end protection.
>=20
> - 1.3: Implementation note: I suggest adding something like "Solutions
> specified in this document offer a significantly better level of securi=
ty."

True. In my working I've added this sentence (including a forward
reference to the discussion of strong security):

   The solutions specified in this document offer a significantly
   stronger level of security (see also Section 13.6).

> - 3.3: why do we not recommend to use TLS (stateless) session resumptio=
n
> for reconnection?

Your suggestion is a good one.

The XMPP WG and broader XMPP developer community have had some
discussions about methods for "quick reconnect". These would involve the
use of TLS session resumption, pipelining of requests from the
initiating entity to the receiving entity, perhaps some SASL tricks (see
for example draft-cridland-sasl-tls-sessions-00), etc. Those discussions
are rather preliminary at this time, however I think we can safely
recommend the use TLS session resumption.

I propose that we add the following paragraph at the end of Section 3.3:

   It is RECOMMENDED to make use of TLS session resumption [TLS-RESUME]
   when reconnecting.  A future version of this document, or a separate
   specification, might provide more detailed guidelines regarding
   methods for speeding the reconnection process.

> - 4.2.5 the access control rule at the bottom of this section makes
> sense. Why why does it explicitly not apply to elements other than XML
> stanzas? Are there cases where you negotiate TLS with someone other tha=
n
> the server? You can even imagine weird tunneling attacks using this
> "feature".
> - 4.2.5: "other than itself" - am I really allowed to send "message"
> stanzas from one resource of a JID to another resource of the same JID,=

> before feature negotiation and before TLS negotiation?

I now see that the following paragraph is poorly phrased:

   The initiating entity MUST NOT attempt to send XML stanzas
   (Section 8) to entities other than itself (i.e., the client's
   connected resource or any other authenticated resource of the
   client's account) or the server to which it is connected until stream
   negotiation has been completed.  Even if the initiating entity does
   attempt to do so, the receiving entity MUST NOT accept such stanzas
   and MUST return a <not-authorized/> stream error.  This rule applies
   to XML stanzas only (i.e., <message/>, <presence/>, and <iq/>
   elements qualified by the content namespace) and not to XML elements
   used for stream negotiation (e.g., elements used to complete TLS
   negotiation (Section 5) or SASL negotiation (Section 6)).

There are several points that could be clarified here:

1. You can't send non-stanzas to other entities because (as XMPP is
currently defined) only stanzas have 'to' addresses. The XML elements
that we use for things like TLS negotiation and SASL negotiation are not
addressable to other entities (e.g., a remote server or client) but only
to the server to which a client has connected, so we don't need to
mention them in this paragraph.

2. However, that's contingent on how XMPP is currently defined, i.e., we
assume that there are only stanzas and stream-negotiation elements. This
leaves a bit of a loophole for elements that don't fit in either of
those buckets, e.g., sending <foo:bar to=3D'baz'/> from the client. Is th=
e
server supposed to route or deliver that element to baz? I would say no.
Someone could write a server that allows the communication of arbitrary
XML elements over XML streams, but that's not what 3920bis defines. So I
think we need to tighten that up, although this paragraph is not the
place to do so (I think it belongs in Section 4.7.3 "Other Namespaces").

3. Yes, a server might allow a client to communicate with its bare JID
or other full JIDs after it has authenticated but before it has bound a
resource (e.g., to send a service discovery request so it can discover
which other resources are currently connected). This is not an important
"feature" by any means, but as far as I can see it does not open any
security holes as long as the server requires authentication first. Thus
the phrase "until stream negotiation has been completed" in the quoted
paragraph is misleading.

Taking these considerations together, I propose the following modified
paragraph at the end of Section 4.2.5:

   An initiating entity MUST NOT attempt to send data to entities
   other than itself (i.e., the bare JID of the user's account) or the
   server to which it has connected until it has authenticated with the
   receiving entity.  If the initiating entity attempts to do so, the
   receiving entity MUST NOT accept such data and MUST close the stream
   with a <not-authorized/> stream error.

Then I propose that we modify Section 4.7.4 as follows:

###

4.7.3.  Other Namespaces

   Either party to a stream MAY send data qualified by namespaces other
   than the content namespace and the streams namespace.  For example,
   this is how data related to TLS negotiation and SASL negotiation are
   exchanged, as well as XMPP extensions such as Stream Management
   [XEP-0198] and Server Dialback [XEP-0220].  (For historical reasons,
   some server implementations expect a declaration of the 'jabber:
   server:dialback' namespace on server-to-server streams, as explained
   in [XEP-0220].)

   However, an XMPP server MUST NOT route or deliver data received over
   an input stream if that data is (a) qualified by another namespace
   and (b) addressed to an entity other than the server, unless the
   other party to the output stream over which the server would send the
   data has explicitly negotiated or advertised support for receiving
   arbitrary data from the server.  This rule is included because XMPP
   is designed for the exchange of XML stanzas (not arbitrary XML data),
   and because allowing an entity to send arbitrary data to other
   entities could significantly increase the potential for exchanging
   malicious information.  As an example of this rule, the server
   hosting the example.net domain would not route the following first-
   level XML element from <romeo@example.net> to <juliet@example.com>:

     <ns1:foo xmlns:ns1=3D'http://example.org/ns1'
              from=3D'romeo@example.net/resource1'
              to=3D'juliet@example.com'>
       <ns1:bar/>
     </ns1:foo>

   This rule also applies to first-level elements that look like stanzas
   but that are improperly namespaced and therefore really are not
   stanzas at all (see also Section 4.7.4), for example:

     <ns2:message xmlns:pre=3D'http://example.org/ns2'
                  from=3D'romeo@example.net/resource1'
                  to=3D'juliet@example.com'>
       <body>hi</body>
     </ns2:message>

   Upon receiving arbitrary first-level XML elements over an input
   stream, a server MUST either ignore the data or return a stream
   error, which SHOULD be <unsupported-stanza-type/>.

###

> - 4.2.6: why do we even allow non-SASL protected server-to-server
> communication?

Because, in practice, most existing services end up using Server
Dialback, not TLS + SASL EXTERNAL with PKIX certificates.

> - 4.3: How is TLS negotiated for the additional streams?=20

Each stream is separately secured.

> How is it bound
> to the SASL negotiation that (apparently) only takes place once?

It isn't, because each stream is separately secured (preferably by means
of TLS + SASL).

I propose that we clarify these matters by modifying the following
paragraphs from Section 4.3 ("Directionality"):

###

4.3.  Directionality

   An XML stream is always unidirectional, by which is meant that XML
   stanzas can be sent in only one direction over the stream (either
   from the initiating entity to the receiving entity or from the
   receiving entity to the initiating entity).

   Depending on the type of session that has been negotiated and the
   nature of the entities involved, the entities might use:

   o  Two streams over a single TCP connection, where the security
      context negotiated for the first stream is applied to the second
      stream.  This is typical for client-to-server sessions, and a
      server MUST allow a client to use the same TCP connection for both
      streams.

   o  Two streams over two TCP connections, where each stream is
      separately secured.  In this approach, one TCP connection is used
      for the stream in which stanzas are sent from the initiating
      entity to the receiving entity, and the other TCP connection is
      used for the stream in which stanzas are sent from the receiving
      entity to the initiating entity.  This is typical for server-to-
      server sessions.

   o  Multiple streams over two or more TCP connections, where each
      stream is separately secured.  This approach is sometimes used for
      server-to-server communication between two large XMPP service
      providers; however, this can make it difficult to maintain
      coherence of data received over multiple streams in situations
      described under Section 10.1, which is why a server MAY return a
      <conflict> stream error to a remote server that attempts to
      negotiate more than one stream (as described under
      Section 4.8.3.3).

   This concept of directionality applies only to stanzas and explicitly
   does not apply to first-level children of the stream root that are
   used to bootstrap or manage the stream (e.g., first-level elements
   used for TLS negotiation, SASL negotiation, Server Dialback
   [XEP-0220], and Stream Management [XEP-0198]).

   The foregoing considerations imply that while completing STARTTLS
   negotiation (Section 5) and SASL negotiation (Section 6) two servers
   would use one TCP connection, but after the stream negotiation
   process is done that original TCP connection would be used only for
   the initiating server to send XML stanzas to the receiving server.
   In order for the receiving server to send XML stanzas to the
   initiating server, the receiving server would need to reverse the
   roles and negotiate an XML stream from the receiving server to the
   initiating server over a separate TCP connection.

###

> - 4.4: this section appears to tie the two streams in the opposite
> directions together - when you close one you expect the other guy to
> close the other ASAP. But what is the behavior for "multiple streams
> over multiple connections" (Sec. 4.3)?

That is an excellent question. Section 4.4 currently assumes that there
is a defined pairing of streams because that is what happens in well
over 99% of the cases (I'd venture to guess that using multiple streams
over multiple TCP connections is extremely rare and happens only for
some high-volume server-to-server links). IMHO we don't have enough
experience with this case to recommend server behavior, although it
would be good to gather feedback from any service providers who are
using multiple streams over multiple TCP connections. Therefore I
propose that we modify Section 4.4 as follows:

###

   If the parties are using either two streams over a single TCP
   connection or two streams over two TCP connections, the entity that
   sends the closing stream tag SHOULD behave as follows:

   1.  Wait for the other party to also close its stream before
       terminating the underlying TCP connection(s); this gives the
       other party an opportunity to finish transmitting any data in the
       opposite direction before the TCP connection(s) is terminated.

   2.  Refrain from initiating the sending of further data over that
       stream but continue to process data sent by the other entity
       (and, if necessary, react to such data).

   3.  Consider both streams to be void if the other party does not send
       its closing stream tag within a reasonable amount of time (where
       the definition of "reasonable" is a matter of implementation or
       deployment).

   4.  After receiving a reciprocal closing stream tag from the other
       party or waiting a reasonable amount of time with no response,
       terminate the underlying TCP connection(s).

   If the parties are using multiple streams over multiple TCP
   connections, there is no defined pairing of streams and therefore the
   behavior is a matter for implementation.

###

> - 4.4: what about orderly tear-down of the TLS association ("closure
> alert")?

Sending of the closure alert is mandated by RFC 4346. Do you think it is
necessary (or would be helpful) to call it out in the specification of
an application protocol that re-use TLS?

I note that Section 7.2.1 ("Closure Alerts") of RFC 4346 states in part:

   If the application protocol using TLS provides that any data may be
   carried over the underlying transport after the TLS connection is
   closed, the TLS implementation must receive the responding
   close_notify alert before indicating to the application layer that
   the TLS connection has ended.  If the application protocol will not
   transfer any additional data, but will only close the underlying
   transport connection, then the implementation MAY choose to close the
   transport without waiting for the responding close_notify.  No part
   of this standard should be taken to dictate the manner in which a
   usage profile for TLS manages its data transport, including when
   connections are opened or closed.

I note also that rule #2 in Section 4.4 of 3920bis states:

   2.  Refrain from initiating the sending of further data over that
       stream but continue to process data sent by the other entity
       (and, if necessary, react to such data).

This implies that the entity that is closing the stream might send more
data and certaily might receive data (on the other stream). Thus I think
we do need to clarify use of closure alerts. I propose adding the
following security note to Section 4.4:

      Security Note: In accordance with Section 7.2.1 of [TLS], to help
      prevent a truncation attack the party that is closing the stream
      MUST send a TLS close_notify alert and MUST receive a responding
      close_notify alert from the other party before closing the
      underlying TCP connection(s).

> - 4.8.3.12: does not-authorized only refer to stream-level, rather than=

> stanza-level errors? Are there cases when I am authorized to send some
> stanza types but not others?

There are three <not-authorized/> error conditions, each qualified by a
different namespace:

1. The stream error condition is triggered by trying to send data before
completing authentication.

2. The SASL error condition is triggered by providing a bad username or
incorrect credentials.

3. The stream error condition is triggered by attempting to complete an
application-layer action that requires authentication (e.g., attempting
to join a password-protected chatroom without providing the password).

A server could restrict a user's ability to send different types of
stanzas (e.g., a presence-only XMPP service could return a stanza error
if a user attempts to send a <message/> stanza, but in that case it's a
service-wide policy and the <not-allowed/> stanza error condition is
more appropriate). In general, the <not-authorized/> stanza error
condition implies that the sender could do *something* to modify the
data it sent in order to prove that it is in fact authorized to perform
the action requested in the stanza (e.g., include a password in the
chatroom join request).

> - 4.8.3.14 remote-connection-failed has dubious security benefit (why
> tell the world that your RADIUS server is down), compared to reusing
> internal-error.

It's not an internal error because the source of the failure is a remote
entity. As far as I know, this error condition has been used only in the
context of server dialback (in the case where a stream error occurs
between the Receiving Server and the Authoritative Server), but we've
tried to scrub the-protocol-that-shall-not-be-named from 3920bis
wherever possible; doing so in here has led to confusion on your part so
I propose that we might want to modify the description, as so:

   The server is unable to properly connect to a remote entity that is
   needed for authentication or authorization (e.g., in certain
   scenarios related to Server Dialback [XEP-0220]); this condition is
   not to be used when the cause of the error is within the
   administrative domain of the XMPP service provider, in which case the
   <internal-server-error/> condition is more appropriate.

> - 4.8.3.16: shouldn't we say that "reset" (when the stream is encrypted=
)
> also applies to the higher layers, i.e. encryption and authentication
> should be performed again?

Good point. I propose that we modify the description as follows:

   The server is closing the stream because it has new (typically
   security-critical) features to offer, because the keys or
   certificates used to establish a secure context for the stream have
   expired or have been revoked during the life of the stream
   (Section 13.7.2.3), because the TLS sequence number has wrapped
   (Section 5.3.5), etc.  The reset applies to the stream and to any
   security context established for that stream (e.g., via TLS and
   SASL), which means that encryption and authentication need to be
   negotiated again for the new stream (e.g., TLS session resumption
   cannot be used).

> - 4.8.3.18: what are the security implications of a "redirect"?=20

Of <see-other-host/>? Seemingly underspecified. :(

> Should
> the client apply the same policy, e.g. for using TLS, as for the
> original server?=20

Yes.

> Which "to" identity to use?=20

The 'to' address of the initial stream header would still be the DNS
domain name of the XMPP service to which the initiating entity is trying
to connect (see also draft-saintandre-tls-server-id-check).

> Can redirection occur
> before the recipient is even authenticated?

Yes.

I propose that we modify the description as follows:

   The server will not provide service to the initiating entity but is
   redirecting traffic to another host under the administrative control
   of the same service provider.  The XML character data of the <see-
   other-host/> element returned by the server MUST specify the
   alternate hostname or IP address at which to connect, which MUST be a
   valid domainpart or a domainpart plus port number (separated by the
   ':' character in the form "domainpart:port").  If the domainpart is
   the same as the source domain, derived domain, or resolved IP address
   to which the initiating entity originally connected (differing only
   by the port number), then the initiating entity SHOULD simply attempt
   to reconnect at that address.  Otherwise, the initiating entity MUST
   resolve the hostname specified in the <see-other-host/> element as
   described under Section 3.2.

I also propose that we add the following paragraph to the end of the
section:

   When negotiating a stream with the host to which it has been
   redirected, the initiating entity MUST apply the same policies it
   would have applied to the original connection attempt (e.g., a policy
   requiring TLS), MUST specify the same 'to' address on the initial
   stream header, and MUST verify the identity of the new host using the
   same reference identifier(s) it would have used for the original
   connection attempt (in accordance with [TLS-CERTS].  Even if
   receiving entity returns a <see-other-host/> error before the
   confidentiality and integrity of the stream have been established
   (thus introducing the possibility of a denial of service attack), the
   fact that the initiating entity needs to verify the identity of the
   XMPP service based on the same reference identifiers implies that the
   initiating entity will not connect to a malicious entity; however, to
   reduce the possibility of a denial of service attack, the receiving
   entity SHOULD NOT return a <see-other-host/> error until after the
   stream has been protected (e.g., via TLS).

> - 4.9: Don't we resend the "stream" header again after completing the
> TLS negotiation (Sec. 4.2.3).

For sure. I propose that we change this:

   [ ... channel encryption ... ]

   [ ... authentication ... ]

   [ ... resource binding ... ]

to:

   [ ... stream negotiation ... ]

### END OF PART 1 ###




--------------ms070600050905090708010909
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKlAinvVeL
ZOVfItiuP1aRHL530E7QUc9icCwL33+PH+Js1HAh8CgWFl34sOxx1FJyS/C4VLPRsqDfP72j
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYhqYb1+PPOLkYBbkRIrPMg3dLEdKmXIYJYXDH+mB/V/
jLo73/Kb7h/rNoNg/oHHSv5Jolyvp5IY2btfcTBfW/telEFj5rDTX2juTvZ3Qhf3XQX5ca3Q
7A10zrUV/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmG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CSqGSIb3
DQEJDzFSMFAwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBGUzbsB8s9UU5j2utJ/+/q3/ZOPjOniqF7+MpKMWjULVeTVyCD+RxY6Bpq
hLxX/ZLHficwNNwKagv+h6KMfcbTEbjidOFUU/EWLjCwNq0Tuy9ls2kTZp3QrWO/U0QmKY30
5PRHUzSSEBM9vJMaGfPkfnwpTgkX4YhoiZZ/XnG0DaoN5dE12EE9B+dmNyI2uM8EfQl2jiPO
+fuTWgBLq79OqKwLowfHuZDjpf3w2HOJ1n50Xm7SqDjP0CBeWKI74JernvOBDuZ903eZMCvn
cQDAudIXGeDfJ+BOYh8trEkG3UwRRo1UA2FdXHAR8VZcsdd3IhVhoIpLNg6g3mo6+WK2AAAA
AAAA
--------------ms070600050905090708010909--

From stpeter@stpeter.im  Fri Oct 29 07:18:13 2010
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 01C083A69C0; Fri, 29 Oct 2010 07:18:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.569
X-Spam-Level: 
X-Spam-Status: No, score=-102.569 tagged_above=-999 required=5 tests=[AWL=0.030, 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 sw6ZnErT3syV; Fri, 29 Oct 2010 07:18:11 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 521733A67E3; Fri, 29 Oct 2010 07:18:08 -0700 (PDT)
Received: from squire.local (dsl-251-219.dynamic-dsl.frii.net [216.17.251.219]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A80AE40BB9; Fri, 29 Oct 2010 08:28:15 -0600 (MDT)
Message-ID: <4CCAD810.4060508@stpeter.im>
Date: Fri, 29 Oct 2010 08:20:00 -0600
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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com> <4CCA470B.20601@stpeter.im> <4CCA7BED.1020907@gmail.com>
In-Reply-To: <4CCA7BED.1020907@gmail.com>
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="------------ms070005020305010703010505"
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
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: Fri, 29 Oct 2010 14:18:13 -0000

This is a cryptographically signed message in MIME format.

--------------ms070005020305010703010505
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Yaron, a few additional comments and text proposals inline.

On 10/29/10 1:46 AM, Yaron Sheffer wrote:
> Hi Peter,
>=20
> On 10/29/2010 06:01 AM, Peter Saint-Andre wrote:
>> Thanks for your careful and thorough review. To maintain forward
>> momentum, this is Part 1 of my reply, up through the end of Section 4.=
 I
>> shall endeavor to reply regarding the remainder of your review in the
>> next 24-48 hours.
>>
> Thanks a lot for using my comments and misunderstandings to improve the=

> document.
>=20
> I have removed pieces of this mail where I fully accept your
> response/changes.
>=20
>>> - 4.3: How is TLS negotiated for the additional streams?
>>
>> Each stream is separately secured.
>>
>>> How is it bound
>>> to the SASL negotiation that (apparently) only takes place once?
>>
>> It isn't, because each stream is separately secured (preferably by mea=
ns
>> of TLS + SASL).
>>
>> I propose that we clarify these matters by modifying the following
>> paragraphs from Section 4.3 ("Directionality"):
>>
>> ###
>>
>> 4.3.  Directionality
>>
>>     An XML stream is always unidirectional, by which is meant that XML=

>>     stanzas can be sent in only one direction over the stream (either
>>     from the initiating entity to the receiving entity or from the
>>     receiving entity to the initiating entity).
>>
>>     Depending on the type of session that has been negotiated and the
>>     nature of the entities involved, the entities might use:
>>
>>     o  Two streams over a single TCP connection, where the security
>>        context negotiated for the first stream is applied to the secon=
d
>>        stream.  This is typical for client-to-server sessions, and a
>>        server MUST allow a client to use the same TCP connection for b=
oth
>>        streams.
>>
>>     o  Two streams over two TCP connections, where each stream is
>>        separately secured.  In this approach, one TCP connection is us=
ed
>>        for the stream in which stanzas are sent from the initiating
>>        entity to the receiving entity, and the other TCP connection is=

>>        used for the stream in which stanzas are sent from the receivin=
g
>>        entity to the initiating entity.  This is typical for server-to=
-
>>        server sessions.
>>
>>     o  Multiple streams over two or more TCP connections, where each
>>        stream is separately secured.  This approach is sometimes used =
for
>>        server-to-server communication between two large XMPP service
>>        providers; however, this can make it difficult to maintain
>>        coherence of data received over multiple streams in situations
>>        described under Section 10.1, which is why a server MAY return =
a
>>        <conflict>  stream error to a remote server that attempts to
>>        negotiate more than one stream (as described under
>>        Section 4.8.3.3).
>>
>>     This concept of directionality applies only to stanzas and explici=
tly
>>     does not apply to first-level children of the stream root that are=

>>     used to bootstrap or manage the stream (e.g., first-level elements=

>>     used for TLS negotiation, SASL negotiation, Server Dialback
>>     [XEP-0220], and Stream Management [XEP-0198]).
>>
>>     The foregoing considerations imply that while completing STARTTLS
>>     negotiation (Section 5) and SASL negotiation (Section 6) two serve=
rs
>>     would use one TCP connection, but after the stream negotiation
>>     process is done that original TCP connection would be used only fo=
r
>>     the initiating server to send XML stanzas to the receiving server.=

>>     In order for the receiving server to send XML stanzas to the
>>     initiating server, the receiving server would need to reverse the
>>     roles and negotiate an XML stream from the receiving server to the=

>>     initiating server over a separate TCP connection.
>>
> Perhaps add a final sentence: "This separate TCP connection is then
> secured using a new round of TLS and/or SASL negotiation."

Yes, that's good. Paragraph updated with your text.

>> ###
>>
>>> - 4.8.3.18: what are the security implications of a "redirect"?
>>
>> Of<see-other-host/>? Seemingly underspecified. :(
>>
>>> Should
>>> the client apply the same policy, e.g. for using TLS, as for the
>>> original server?
>>
>> Yes.
>>
>>> Which "to" identity to use?
>>
>> The 'to' address of the initial stream header would still be the DNS
>> domain name of the XMPP service to which the initiating entity is tryi=
ng
>> to connect (see also draft-saintandre-tls-server-id-check).
>>
>>> Can redirection occur
>>> before the recipient is even authenticated?
>>
>> Yes.
>>
>> I propose that we modify the description as follows:
>>
>>     The server will not provide service to the initiating entity but i=
s
>>     redirecting traffic to another host under the administrative contr=
ol
>>     of the same service provider.  The XML character data of the<see-
>>     other-host/>  element returned by the server MUST specify the
>>     alternate hostname or IP address at which to connect, which MUST b=
e a
>>     valid domainpart or a domainpart plus port number (separated by th=
e
>>     ':' character in the form "domainpart:port").  If the domainpart i=
s
>>     the same as the source domain, derived domain, or resolved IP addr=
ess
>>     to which the initiating entity originally connected (differing onl=
y
>>     by the port number), then the initiating entity SHOULD simply atte=
mpt
>>     to reconnect at that address.  Otherwise, the initiating entity MU=
ST
>>     resolve the hostname specified in the<see-other-host/>  element as=

>>     described under Section 3.2.
>>
>> I also propose that we add the following paragraph to the end of the
>> section:
>>
>>     When negotiating a stream with the host to which it has been
>>     redirected, the initiating entity MUST apply the same policies it
>>     would have applied to the original connection attempt (e.g., a pol=
icy
>>     requiring TLS), MUST specify the same 'to' address on the initial
>>     stream header, and MUST verify the identity of the new host using =
the
>>     same reference identifier(s) it would have used for the original
>>     connection attempt (in accordance with [TLS-CERTS].  Even if
>>     receiving entity returns a<see-other-host/>  error before the
>>     confidentiality and integrity of the stream have been established
>>     (thus introducing the possibility of a denial of service attack), =
the
>>     fact that the initiating entity needs to verify the identity of th=
e
>>     XMPP service based on the same reference identifiers implies that =
the
>>     initiating entity will not connect to a malicious entity; however,=
 to
>>     reduce the possibility of a denial of service attack, the receivin=
g
>>     entity SHOULD NOT return a<see-other-host/>  error until after the=

>>     stream has been protected (e.g., via TLS).
>>
> ... and the sending entity SHOULD maintain a running redirect counter,
> and give up after a certain number of successive redirects.
>=20
> Also, the mitigation you propose in the last sentence only helps if "An=

> entity MAY have a policy where it only accepts <see-other-host> element=
s
> from authenticated peers.

Thanks. I propose that we change this paragraph to:

   When negotiating a stream with the host to which it has been
   redirected, the initiating entity MUST apply the same policies it
   would have applied to the original connection attempt (e.g., a policy
   requiring TLS), MUST specify the same 'to' address on the initial
   stream header, and MUST verify the identity of the new host using the
   same reference identifier(s) it would have used for the original
   connection attempt (in accordance with [TLS-CERTS].  Even if
   receiving entity returns a <see-other-host/> error before the
   confidentiality and integrity of the stream have been established
   (thus introducing the possibility of a denial of service attack), the
   fact that the initiating entity needs to verify the identity of the
   XMPP service based on the same reference identifiers implies that the
   initiating entity will not connect to a malicious entity; however, to
   reduce the possibility of a denial of service attack, the receiving
   entity SHOULD NOT return a <see-other-host/> error until after the
   stream has been protected (e.g., via TLS) and the receiving entity
   MAY have a policy of following redirects only if it has authenticated
   the receiving entity.  In addition, the initiating entity SHOULD give
   up after a certain number of successive redirects (e.g., at least 2
   but no more than 5).

>>> - 4.9: Don't we resend the "stream" header again after completing the=

>>> TLS negotiation (Sec. 4.2.3).
>>
>> For sure. I propose that we change this:
>>
>>     [ ... channel encryption ... ]
>>
>>     [ ... authentication ... ]
>>
>>     [ ... resource binding ... ]
>>
>> to:
>>
>>     [ ... stream negotiation ... ]
>>
> I'm not sure. Since we start the example with two <stream> elements, it=

> would make sense to show the additional (4?) <stream> elements further
> down. Although the "simple" examples would no longer fit a page. Maybe
> add a "really simple" example with no security?

These examples are included to provide a high-level illustration of what
a session would look like, so I think eliding the whole stream
negotiation process is fine. However, I think it would be good to add a
forward reference to Section 9 so that the reader knows where to go for
detailed examples. Thus propose modifying the first paragraph of Section
4.9 as follows:

   This section contains two highly simplified examples of a stream-
   based connection between a client and a server; these examples are
   included for the purpose of illustrating the concepts introduced thus
   far, but the reader needs to be aware that these examples elide many
   details (see Section 9 for more complete examples).

Peter

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




--------------ms070005020305010703010505
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqG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aWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCjhJTVa7prCPwSx0+o1VaEwrj13cokHUeJ8s1EQvcAL4uis/uEKjYQKVzu
YvM02uj0yiy7EINZuyVYEZDQpCJHoB4MAGBFC+YoocP58dAvGbcVVSvte6Q+QE9hPOjOPYi4
XUse+BI1WqKila3ey7Srqr2Gk0gJSKZIai1PGsXRezSV3qKY4tXIWL0HdUlOgqmtaa72yuDK
rnPjHVfEWgq+QNrrX8cWDJau6/zqLpWPqS+6bt2PE26b//vh/atNKjLt0Av+XGC62zoAGjgJ
03bmVM2zpqOy/9EVExqdoNEHlrKnpY1nYixuXLr4m7onMfg4HeGrZavzRBN49fiu/YSdAAAA
AAAA
--------------ms070005020305010703010505--

From stpeter@stpeter.im  Fri Oct 29 07:40:10 2010
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 76A8D3A69CB; Fri, 29 Oct 2010 07:40:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.569
X-Spam-Level: 
X-Spam-Status: No, score=-102.569 tagged_above=-999 required=5 tests=[AWL=0.030, 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 g8yMWcqlooAw; Fri, 29 Oct 2010 07:40:08 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 9E6EC3A6A10; Fri, 29 Oct 2010 07:40:06 -0700 (PDT)
Received: from squire.local (dsl-251-219.dynamic-dsl.frii.net [216.17.251.219]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 6F83040BB9; Fri, 29 Oct 2010 08:50:14 -0600 (MDT)
Message-ID: <4CCADD37.7070402@stpeter.im>
Date: Fri, 29 Oct 2010 08:41:59 -0600
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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com> <4CCA470B.20601@stpeter.im> <4CCA7BED.1020907@gmail.com> <4CCAD810.4060508@stpeter.im> <4CCAD98E.1040300@gmail.com>
In-Reply-To: <4CCAD98E.1040300@gmail.com>
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="------------ms070706020401050000000805"
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
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: Fri, 29 Oct 2010 14:40:10 -0000

This is a cryptographically signed message in MIME format.

--------------ms070706020401050000000805
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Excellent. I'll try to finish Part 2 today.

On 10/29/10 8:26 AM, Yaron Sheffer wrote:
> Hi Peter,
>=20
> I'm fine with your proposals.
>=20
> Thanks,
>     Yaron
>=20
> On 10/29/2010 04:20 PM, Peter Saint-Andre wrote:
>> Hi Yaron, a few additional comments and text proposals inline.
>>
>> On 10/29/10 1:46 AM, Yaron Sheffer wrote:
>>> Hi Peter,
>>>
>>> On 10/29/2010 06:01 AM, Peter Saint-Andre wrote:
>>>> Thanks for your careful and thorough review. To maintain forward
>>>> momentum, this is Part 1 of my reply, up through the end of Section
>>>> 4. I
>>>> shall endeavor to reply regarding the remainder of your review in th=
e
>>>> next 24-48 hours.
>>>>
>>> Thanks a lot for using my comments and misunderstandings to improve t=
he
>>> document.
>>>
>>> I have removed pieces of this mail where I fully accept your
>>> response/changes.
>>>
>>>>> - 4.3: How is TLS negotiated for the additional streams?
>>>>
>>>> Each stream is separately secured.
>>>>
>>>>> How is it bound
>>>>> to the SASL negotiation that (apparently) only takes place once?
>>>>
>>>> It isn't, because each stream is separately secured (preferably by
>>>> means
>>>> of TLS + SASL).
>>>>
>>>> I propose that we clarify these matters by modifying the following
>>>> paragraphs from Section 4.3 ("Directionality"):
>>>>
>>>> ###
>>>>
>>>> 4.3.  Directionality
>>>>
>>>>      An XML stream is always unidirectional, by which is meant that =
XML
>>>>      stanzas can be sent in only one direction over the stream (eith=
er
>>>>      from the initiating entity to the receiving entity or from the
>>>>      receiving entity to the initiating entity).
>>>>
>>>>      Depending on the type of session that has been negotiated and t=
he
>>>>      nature of the entities involved, the entities might use:
>>>>
>>>>      o  Two streams over a single TCP connection, where the security=

>>>>         context negotiated for the first stream is applied to the
>>>> second
>>>>         stream.  This is typical for client-to-server sessions, and =
a
>>>>         server MUST allow a client to use the same TCP connection
>>>> for both
>>>>         streams.
>>>>
>>>>      o  Two streams over two TCP connections, where each stream is
>>>>         separately secured.  In this approach, one TCP connection is=

>>>> used
>>>>         for the stream in which stanzas are sent from the initiating=

>>>>         entity to the receiving entity, and the other TCP connection=
 is
>>>>         used for the stream in which stanzas are sent from the
>>>> receiving
>>>>         entity to the initiating entity.  This is typical for
>>>> server-to-
>>>>         server sessions.
>>>>
>>>>      o  Multiple streams over two or more TCP connections, where eac=
h
>>>>         stream is separately secured.  This approach is sometimes
>>>> used for
>>>>         server-to-server communication between two large XMPP servic=
e
>>>>         providers; however, this can make it difficult to maintain
>>>>         coherence of data received over multiple streams in situatio=
ns
>>>>         described under Section 10.1, which is why a server MAY
>>>> return a
>>>>         <conflict>   stream error to a remote server that attempts t=
o
>>>>         negotiate more than one stream (as described under
>>>>         Section 4.8.3.3).
>>>>
>>>>      This concept of directionality applies only to stanzas and
>>>> explicitly
>>>>      does not apply to first-level children of the stream root that =
are
>>>>      used to bootstrap or manage the stream (e.g., first-level eleme=
nts
>>>>      used for TLS negotiation, SASL negotiation, Server Dialback
>>>>      [XEP-0220], and Stream Management [XEP-0198]).
>>>>
>>>>      The foregoing considerations imply that while completing STARTT=
LS
>>>>      negotiation (Section 5) and SASL negotiation (Section 6) two
>>>> servers
>>>>      would use one TCP connection, but after the stream negotiation
>>>>      process is done that original TCP connection would be used only=

>>>> for
>>>>      the initiating server to send XML stanzas to the receiving serv=
er.
>>>>      In order for the receiving server to send XML stanzas to the
>>>>      initiating server, the receiving server would need to reverse t=
he
>>>>      roles and negotiate an XML stream from the receiving server to =
the
>>>>      initiating server over a separate TCP connection.
>>>>
>>> Perhaps add a final sentence: "This separate TCP connection is then
>>> secured using a new round of TLS and/or SASL negotiation."
>>
>> Yes, that's good. Paragraph updated with your text.
>>
>>>> ###
>>>>
>>>>> - 4.8.3.18: what are the security implications of a "redirect"?
>>>>
>>>> Of<see-other-host/>? Seemingly underspecified. :(
>>>>
>>>>> Should
>>>>> the client apply the same policy, e.g. for using TLS, as for the
>>>>> original server?
>>>>
>>>> Yes.
>>>>
>>>>> Which "to" identity to use?
>>>>
>>>> The 'to' address of the initial stream header would still be the DNS=

>>>> domain name of the XMPP service to which the initiating entity is
>>>> trying
>>>> to connect (see also draft-saintandre-tls-server-id-check).
>>>>
>>>>> Can redirection occur
>>>>> before the recipient is even authenticated?
>>>>
>>>> Yes.
>>>>
>>>> I propose that we modify the description as follows:
>>>>
>>>>      The server will not provide service to the initiating entity
>>>> but is
>>>>      redirecting traffic to another host under the administrative
>>>> control
>>>>      of the same service provider.  The XML character data of the<se=
e-
>>>>      other-host/>   element returned by the server MUST specify the
>>>>      alternate hostname or IP address at which to connect, which
>>>> MUST be a
>>>>      valid domainpart or a domainpart plus port number (separated by=

>>>> the
>>>>      ':' character in the form "domainpart:port").  If the
>>>> domainpart is
>>>>      the same as the source domain, derived domain, or resolved IP
>>>> address
>>>>      to which the initiating entity originally connected (differing
>>>> only
>>>>      by the port number), then the initiating entity SHOULD simply
>>>> attempt
>>>>      to reconnect at that address.  Otherwise, the initiating entity=

>>>> MUST
>>>>      resolve the hostname specified in the<see-other-host/> =20
>>>> element as
>>>>      described under Section 3.2.
>>>>
>>>> I also propose that we add the following paragraph to the end of the=

>>>> section:
>>>>
>>>>      When negotiating a stream with the host to which it has been
>>>>      redirected, the initiating entity MUST apply the same policies =
it
>>>>      would have applied to the original connection attempt (e.g., a
>>>> policy
>>>>      requiring TLS), MUST specify the same 'to' address on the initi=
al
>>>>      stream header, and MUST verify the identity of the new host
>>>> using the
>>>>      same reference identifier(s) it would have used for the origina=
l
>>>>      connection attempt (in accordance with [TLS-CERTS].  Even if
>>>>      receiving entity returns a<see-other-host/>   error before the
>>>>      confidentiality and integrity of the stream have been establish=
ed
>>>>      (thus introducing the possibility of a denial of service
>>>> attack), the
>>>>      fact that the initiating entity needs to verify the identity of=

>>>> the
>>>>      XMPP service based on the same reference identifiers implies
>>>> that the
>>>>      initiating entity will not connect to a malicious entity;
>>>> however, to
>>>>      reduce the possibility of a denial of service attack, the
>>>> receiving
>>>>      entity SHOULD NOT return a<see-other-host/>   error until after=

>>>> the
>>>>      stream has been protected (e.g., via TLS).
>>>>
>>> ... and the sending entity SHOULD maintain a running redirect counter=
,
>>> and give up after a certain number of successive redirects.
>>>
>>> Also, the mitigation you propose in the last sentence only helps if "=
An
>>> entity MAY have a policy where it only accepts<see-other-host>  eleme=
nts
>>> from authenticated peers.
>>
>> Thanks. I propose that we change this paragraph to:
>>
>>     When negotiating a stream with the host to which it has been
>>     redirected, the initiating entity MUST apply the same policies it
>>     would have applied to the original connection attempt (e.g., a pol=
icy
>>     requiring TLS), MUST specify the same 'to' address on the initial
>>     stream header, and MUST verify the identity of the new host using =
the
>>     same reference identifier(s) it would have used for the original
>>     connection attempt (in accordance with [TLS-CERTS].  Even if
>>     receiving entity returns a<see-other-host/>  error before the
>>     confidentiality and integrity of the stream have been established
>>     (thus introducing the possibility of a denial of service attack), =
the
>>     fact that the initiating entity needs to verify the identity of th=
e
>>     XMPP service based on the same reference identifiers implies that =
the
>>     initiating entity will not connect to a malicious entity; however,=
 to
>>     reduce the possibility of a denial of service attack, the receivin=
g
>>     entity SHOULD NOT return a<see-other-host/>  error until after the=

>>     stream has been protected (e.g., via TLS) and the receiving entity=

>>     MAY have a policy of following redirects only if it has authentica=
ted
>>     the receiving entity.  In addition, the initiating entity SHOULD g=
ive
>>     up after a certain number of successive redirects (e.g., at least =
2
>>     but no more than 5).
>>
>>>>> - 4.9: Don't we resend the "stream" header again after completing t=
he
>>>>> TLS negotiation (Sec. 4.2.3).
>>>>
>>>> For sure. I propose that we change this:
>>>>
>>>>      [ ... channel encryption ... ]
>>>>
>>>>      [ ... authentication ... ]
>>>>
>>>>      [ ... resource binding ... ]
>>>>
>>>> to:
>>>>
>>>>      [ ... stream negotiation ... ]
>>>>
>>> I'm not sure. Since we start the example with two<stream>  elements, =
it
>>> would make sense to show the additional (4?)<stream>  elements furthe=
r
>>> down. Although the "simple" examples would no longer fit a page. Mayb=
e
>>> add a "really simple" example with no security?
>>
>> These examples are included to provide a high-level illustration of wh=
at
>> a session would look like, so I think eliding the whole stream
>> negotiation process is fine. However, I think it would be good to add =
a
>> forward reference to Section 9 so that the reader knows where to go fo=
r
>> detailed examples. Thus propose modifying the first paragraph of Secti=
on
>> 4.9 as follows:
>>
>>     This section contains two highly simplified examples of a stream-
>>     based connection between a client and a server; these examples are=

>>     included for the purpose of illustrating the concepts introduced t=
hus
>>     far, but the reader needs to be aware that these examples elide ma=
ny
>>     details (see Section 9 for more complete examples).
>>
>> Peter
>>


--------------ms070706020401050000000805
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALmjSW4SPiDKl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MoyUSIqmKzfmeNbc0+M5YaXn1duW2QztqWluVuy
/xTD3VshHY9JSV88RRoqni6W5PjQtQFuEJ1vuJf/xRZVEyTbL772+WGdkt5TZCweKFaEcNru
XHVwsHaRBOCIkzjgedxR/Qt6r6xaKJzfS8MC5UvCJuySL3F7PSDqrFyw9fUN06M7/gntAAAA
AAAA
--------------ms070706020401050000000805--

From stpeter@stpeter.im  Fri Oct 29 11:30:33 2010
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 4B7793A6A4E; Fri, 29 Oct 2010 11:30:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.593
X-Spam-Level: 
X-Spam-Status: No, score=-102.593 tagged_above=-999 required=5 tests=[AWL=0.006, 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 0oGs961vXcsF; Fri, 29 Oct 2010 11:30:28 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 72E713A6A43; Fri, 29 Oct 2010 11:30:28 -0700 (PDT)
Received: from squire.local (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 1523140BB9; Fri, 29 Oct 2010 12:40:36 -0600 (MDT)
Message-ID: <4CCB1334.3030203@stpeter.im>
Date: Fri, 29 Oct 2010 12:32:20 -0600
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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com>
In-Reply-To: <4CC9503D.2000809@gmail.com>
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="------------ms020301030306050504050409"
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
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: Fri, 29 Oct 2010 18:30:33 -0000

This is a cryptographically signed message in MIME format.

--------------ms020301030306050504050409
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

This is Part 2 of my reply, from the start of Section 5 through the end
of Section 9. I should be able to address the remainder (Section 10
through Section 15) in Part 3.

On 10/28/10 4:28 AM, Yaron Sheffer wrote:

> - 5.3.5: the text mentions that client certificates are "sufficiently
> rare", which is a pity because they do make sense for server-to-server
> interaction. So I suggest to promote renegotiation from OPTIONAL to
> RECOMMENDED.

A bit of background: by client certificates we mean end-user
certificates (XMPP client, not TLS client). PKIX certificates are more
common for XMPP servers, but unfortunately they are still far from
ubiquitous. The XMPP Standards Foundation even ran an intermediate CA
for a few years (under the StartCom root) to help seed the network,
which helped us work out bugs in many codebases but still didn't result
in wide adoption. Many service admins still think that PKI is "too hard"
or "too expensive" (despite the fact that our ICA gave out free
certificates, and StartCom continues to do so).

The XMPP WG had a discussion about TLS renegotiation, starting here:

http://www.ietf.org/mail-archive/web/xmpp/current/msg01146.html

At one point we banned TLS renegotiation entirely, then we weighed the
benefits and the costs (including code complexity) and concluded that it
was appropriate to make support strictly optional in XMPP, given how
rarely it would be needed. Simon Josefsson suggested during the WG
discussion that we document our reasons, which we've done in Section
5.3.5. If you do not find those reasons compelling, the WG needs to
either explain itself more clearly or realize that it is wrong. :)

> - 5.3.6: extensions may be out of scope. But I think we need to include=

> a few words re: the TLS version, at least to prohibit SSL 3.0.

In fact, discussions within the XMPP WG are what led to this:

https://datatracker.ietf.org/doc/draft-ietf-tls-ssl2-must-not/

However, it seems there is not yet consensus to prohibit SSL 3.0 in the
TLS WG. Are you suggesting that the XMPP WG go where the TLS WG has not
gone?

> - 5.4.1: don't you have to declare version >=3D 1.0 if you simply suppo=
rt
> this draft? Same question in 6.4.1.

Yes. The mentions in 5.4.1 and 6.4.1 are artifacts of RFC 3920, when the
'version' attribute was new. I've removed those clauses in both sections.=


> - 5.4.3.1: why is the initiator required to present a certificate "So
> that mutual authentication will be possible"? There are many other ways=

> of ensuring mutual auth. I suggest to reword as "mutual certificate
> authentication".

Done.

> - Global replace TLS "cipher" -> "ciphersuite".

Done.

> - 5.4.3.1, bullet 5: actually, based on the "from" attribute that the
> receiving entity has just sent.

You refer to this text:

   5.  The receiving entity SHOULD choose which certificate to present
       based on the 'to' attribute of the initial stream header.

I'm not quite sure about your recommendation. Practically speaking I
think it doesn't make a difference, because the two will be the same
unless the receiving entity does not service the domainpart specified by
the initiating entity (in which case the parties won't end up
negotiating TLS anyway, since the receiving entity will close the
stream). However, the 'to' address of the initial stream header seems
like a "purer" indication of the initiating entity's "reference
identifier" (in the language of [TLS-CERTS]).

> - 5.4.3.3: where do we say that both sides must validate the "to" and
> "from" identities in view of the identities presented at the TLS layer
> (if any)?

Section 13.7.2 ("Certificate Validation"). There is a forward reference
in bullet 4 of Section 5.4.3.3:

   4.  The initiating entity MUST validate the certificate to determine
       if the TLS negotiation will succeed; see Section 13.7.2 regarding
       certificate validation procedures.

Perhaps it would be easier to read if we switched bullets 4 and 5 in
that section?

Also, the bullet about validation probably also needs to say that if the
initiating entity presents a certificate then the receiving entity needs
to also perform validation. Do you agree?

> - 6.3.2: do you restart the stream twice, once after TLS and once after=

> SASL??

Yes. We defined it that way in RFC 3920 because it was our understanding
of TLS and SASL that we needed to flush the previous security context in
both cases because either one of those technologies might result in
negotiation of a security layer. If we were defining things anew at this
point, we would probably remove the stream restarts, but I think it's
probably too late to do that now. (Perhaps that will be part of our work
on "quick reconnect" or streamlined stream negotiation.)

> - 6.3.3: shouldn't we simply "MUST NOT" the PLAIN mechanism?

Yes. Done.

> - 6.3.7: and what is the identity used for server-to-server auth? Also,=

> it is very uncommon to consider the password as part of the identity.

I think we acquired this notion from a misreading of RFC 4422. Looking
at that specification again, I see that it refers to "credentials" as
consisting (in some SASL mechanisms) of a simple username / password,
whereas the authentication identity would be the simple username. I
propose modifying the offending paragraph as follows:

   Some SASL mechanisms (e.g., CRAM-MD5, DIGEST-MD5, and SCRAM) specify
   that the authentication identity used in the context of such
   mechanisms is a "simple user name" (see Section 2 of [SASL] as well
   as [SASLPREP]).  The exact form of the simple user name in any
   particular mechanism or deployment thereof is a local matter, and a
   simple user name does not necessarily map to an application
   identifier such as a JID or JID component (e.g., a localpart).
   However, in the absence of local information provided by the server,
   an XMPP client SHOULD assume that the authentication identity for
   such a SASL mechanism is a simple user name equal to the localpart of
   the user's JID.

> - 6.4.4: isn't it inconsistent that SASL aborts are converted into XMPP=

> failures, but TLS failures are not?

I don't think so. TLS is a layer unto itself, and the STARTTLS feature
in XMPP is merely a way of triggering the underlying TLS negotiation (we
don't represent all the TLS bits in XMPP syntax). By contrast, there is
no special SASL layer to invoke, so all of the protocol bits to
negotiate SASL happen using XMPP syntax.

> - 7.7.2.2: the preferred option #1, while reasonable in itself, does no=
t
> allow the client to determine its own policy (whether it wants multiple=

> sessions from multiple devices or not).

If the client wants multiple sessions from multiple devices, it can
generate a unique resourcepart for each device or ask the server to do
so on its behalf.

> - 8.1.1.2: any validated domain -> any validated subdomain.

We've gone through some effort to scrub the term "subdomain" from the
spec (you'll notice it was used more frequently in RFC 3920) because of
ambiguities surrounding that term. This is connected to the common XMPP
practice of server-side components that offer services in addition to or
on top of the core XMPP router. Consider an XMPP service whose canonical
DNS domain name is "im.example.com"; that service might offer add-on
services such as groupchat rooms (say, "rooms.example.com") and
publish-subscribe (say, "pubsub.example.com"). Nothing says that such
add-on services need to be subdomains of the canonical DNS domain name
for the service, but RFC 3920 implied such a necessity, leading to
confusion among server developers and service administrators.

> - 8.3.1, rule #2: if the error is a result of something gone bad with
> the addresses, then simply swapping "to" and "from" may not be
> appropriate, and may even be a security issue.

I suppose that is possible. I propose modifying the rule as follows:

   2.  The error stanza SHOULD simply swap the 'from' and 'to' addresses
       from the generated stanza, unless doing so would result in an
       information leak (see under Section 13.10) or other breach of
       security.

> - Same, rule #6, the recipient MUST NOT include the original XML if it'=
s
> not well formed, right?

True. Or if it is otherwise harmful. I propose modifying the rule as
follows:

   6.  The entity that returns an error stanza MAY include the original
       XML sent so that the sender can inspect and, if necessary,
       correct the XML before attempting to resend (however, this is a
       courtesy only and the originating entity MUST NOT depend on
       receiving the original payload); naturally, the entity MUST NOT
       include the original data if it not well-formed XML, violates the
       XML restrictions of XMPP (see under Section 11.1, or is otherwise
       harmful (e.g, exceeds a size limit).

> - 8.3.2: MUST NOT... be presented to the human user - this is impossibl=
e
> to enforce, and most likely will not be followed. Moreover, there's a
> reason why we include a language tag. I suggest to tone it down a bit.

I suppose SHOULD NOT is fine. The error message shown to the user is
supposed to be based on the defined condition, not some random text
placed in the <text/> element (even if language-tagged).

> - 8.3.3.11: what are "improper credentials"? It sounds like we are not
> differentiating the conditions of authentication failure vs.
> authorization failure.

As an example, if a client attempts to join a password-protected
chatroom without providing a password, the chatroom service will return
a <not-authorized/> stanza error. It will return the same error if the
client attempts to join a password-protected chatroom but provides the
wrong password. Is there a need to differentiate between these two cases?=


> - 8.3.3.14: the "security note" doesn't makes sense to me - no matter
> what error code is returned, the sender has gained information that we
> don't want to provide. The note should say something along the lines of=
:
> such services must not be available to entities that cannot be trusted
> with knowing the status of an arbitrary recipient. See also 8.3.3.20.

It's not necessarily true that the sender has gained information that we
don't want to provide. In RFC 3920 (and 3920bis), we have the concept of
presence subscriptions. If the sender is authorized to know the
recipient's network availability (via presence subscription), then it is
perfectly legitimate for the recipient's server to tell the sender that
the recipient is now offline. Perhaps a reference to 3920bis would clear
this up. I propose modifying the note as follows:

      Security Note: An application MUST NOT return this error if doing
      so would provide information about the intended recipient's
      network availability to an entity that is not authorized to know
      such information (for details, refer to the discussion of presence
      subscriptions in [XMPP-IM]); instead it MUST return a <service-
      unavailable/> stanza error.

> - 8.3.3.15: Are there no security implications to redirection at the
> stanza level?

Good point, there certainly might be. If the sender is attempting to
join a chatroom at rooms.example.com and the service redirects the
request to conference.example.net, the client might want to ask the
sender if the redirect is acceptable before proceeding (e.g., because
the redirected service might have different security policies). I
propose adding the following security note:

      Security Note: An application receiving a stanza-level redirect
      SHOULD warn a human user of the redirection attempt and request
      approval before proceeding to communicated with the entity whose
      URI or IRI is contained in the XML character data of the
      <redirect/> element, because that entity might have a different
      identity or might enforce different security policies.  However,
      the end-to-end authentication or signing of XMPP stanzas could
      help to mitigate this risk, since it would enable the sender to
      determine if the entity to which it has been redirected has the
      same identity as the entity it originally attempted to contact.

> - 8.3.3.18: The "wait" error type might not be appropriate for some
> situations, e.g. authentication issues.

True. I propose changing it to:

   A remote server or service specified as part or all of the JID of the
   intended recipient (or needed to fulfill a request) was resolved but
   communications could not be established within a reasonable amount of
   time (e.g., an XML stream cannot be established at the resolved IP
   address and port, or an XML stream can be established but stream
   negotiation fails because of problems with TLS, SASL, Server
   Dialback, etc.); the associated error type SHOULD be "wait" (unless
   the error is of a more permanent nature, e.g., the remote server is
   found but it cannot be authenticated or it violates security
   policies).

> - 8.3.3.21: do you explain anywhere what is the difference between
> "prior registration" and "prior subscription"?

That's really an issue for various XMPP applications. One such
application is IM and presence (3920bis), where we have the concept of
subscriptions. Another application in which we have subscriptions is
publish-subscribe <http://xmpp.org/extensions/xep-0060.html>. An example
of registration can be found in the multi-user chat extension
<http://xmpp.org/extensions/xep-0045.html> or in the older "gateway"
that we used to maintain for connecting to legacy IM services. I don't
see much reason to describe all those differences in 3920bis, but we can
add a sentence or two about it if that would be helpful.

> - 9.1.1, step 7: this is utterly trivial, but please mention that the
> new "stream" element is sent over TLS.

Changed to:

   Step 7: If TLS negotiation is successful, client initiates a new
   stream to server over the TLS-protected TCP connection:

(also changed in 9.2.1)

> - 9.1.5: as I noted in Sec. 4.4, the TLS connection needs to be closed
> as well.

Changed in my working copy to:

   The client now sends a TLS close_notify alert, receives a responding
   close_notify alert from the server, and then terminates the
   underlying TCP connection.

(also in 9.2.5 with "Server1" and "Server2")

### END OF PART 2 ###



--------------ms020301030306050504050409
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNp
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MB4XDTA3
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQQKEw1T
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZXJ0aWZpY2F0ZSBTaWdu
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW1hcnkgSW50ZXJtZWRpYXRlIENs
a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xQ3Q+z5loL487LXqp2A08xFwoC
+MHNN4Q//WwZBtXaRMiy/unDnuO13I2+GHKSArdDCeoyiM7LoyVK1qKC6UqRXhtfn/y0o5Rj
jKhK/9H+gi0YDrPp/q2APeb9VcfegEgLOJejXO2XYTr5ag1P38vKHb0I6wVBPqwv6P9i4+wb
Hvy6ZmV3CjuIvAFllIh6ytkJA2RJKIO+jyHPizkGFGP/2U8uUE+kqCiTxdOsEDHwaJVZAAAA
AAAA
--------------ms020301030306050504050409--

From yaronf.ietf@gmail.com  Fri Oct 29 00:45:08 2010
Return-Path: <yaronf.ietf@gmail.com>
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 138773A6A20; Fri, 29 Oct 2010 00:45:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, 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 Ak33X1kCx+ha; Fri, 29 Oct 2010 00:45:06 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 7E1613A6A1E; Fri, 29 Oct 2010 00:45:05 -0700 (PDT)
Received: by wyb28 with SMTP id 28so2782627wyb.31 for <multiple recipients>; Fri, 29 Oct 2010 00:46:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ee5A7RDh3NHt5FjaofZVxZjZkFZYf/NmYr/d4TO/1nU=; b=GxxTwiDNF4DqcyEiLIOeUDR0rxk0GwJ8CGp0OeuoP4Kp194QDbc7nkeXF7kLqBYTaa 5eEfVJb3SEUebQFQKMZivZ8lEBPta+TK8uEIYKDkwLzg1JhE2saUVLioqfXwTqzGb7lP mxdrm9eVPbL93PekSewdJCGZ1N2JLAHEuhvlM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=KncPMx/DiRqC91q/9R0XRv3tR/60Rw+GtM/ZLZcf3k8Xcw8QO1XS//LU/tJi2DQEr8 Su0tUxptgBmKPFQCzYdRChyzrDVIFXqpQJMtbYgQ7LTiDcL5NRdQoSVtT5lDc5SF/Zzu M7hNttTZQz1gOJH65oo6C+W6xjXdZxl2/wXKk=
Received: by 10.227.127.79 with SMTP id f15mr3482005wbs.93.1288338418841; Fri, 29 Oct 2010 00:46:58 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-179-22-84.red.bezeqint.net [79.179.22.84]) by mx.google.com with ESMTPS id a17sm1776806wbe.12.2010.10.29.00.46.55 (version=SSLv3 cipher=RC4-MD5); Fri, 29 Oct 2010 00:46:56 -0700 (PDT)
Message-ID: <4CCA7BED.1020907@gmail.com>
Date: Fri, 29 Oct 2010 09:46:53 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101006 Lightning/1.0b2 Thunderbird/3.1.5
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCA470B.20601@stpeter.im>
In-Reply-To: <4CCA470B.20601@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Fri, 29 Oct 2010 12:39:35 -0700
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
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: Fri, 29 Oct 2010 07:45:08 -0000

Hi Peter,

On 10/29/2010 06:01 AM, Peter Saint-Andre wrote:
> Thanks for your careful and thorough review. To maintain forward
> momentum, this is Part 1 of my reply, up through the end of Section 4. I
> shall endeavor to reply regarding the remainder of your review in the
> next 24-48 hours.
>
Thanks a lot for using my comments and misunderstandings to improve the 
document.

I have removed pieces of this mail where I fully accept your 
response/changes.

>> - 4.3: How is TLS negotiated for the additional streams?
>
> Each stream is separately secured.
>
>> How is it bound
>> to the SASL negotiation that (apparently) only takes place once?
>
> It isn't, because each stream is separately secured (preferably by means
> of TLS + SASL).
>
> I propose that we clarify these matters by modifying the following
> paragraphs from Section 4.3 ("Directionality"):
>
> ###
>
> 4.3.  Directionality
>
>     An XML stream is always unidirectional, by which is meant that XML
>     stanzas can be sent in only one direction over the stream (either
>     from the initiating entity to the receiving entity or from the
>     receiving entity to the initiating entity).
>
>     Depending on the type of session that has been negotiated and the
>     nature of the entities involved, the entities might use:
>
>     o  Two streams over a single TCP connection, where the security
>        context negotiated for the first stream is applied to the second
>        stream.  This is typical for client-to-server sessions, and a
>        server MUST allow a client to use the same TCP connection for both
>        streams.
>
>     o  Two streams over two TCP connections, where each stream is
>        separately secured.  In this approach, one TCP connection is used
>        for the stream in which stanzas are sent from the initiating
>        entity to the receiving entity, and the other TCP connection is
>        used for the stream in which stanzas are sent from the receiving
>        entity to the initiating entity.  This is typical for server-to-
>        server sessions.
>
>     o  Multiple streams over two or more TCP connections, where each
>        stream is separately secured.  This approach is sometimes used for
>        server-to-server communication between two large XMPP service
>        providers; however, this can make it difficult to maintain
>        coherence of data received over multiple streams in situations
>        described under Section 10.1, which is why a server MAY return a
>        <conflict>  stream error to a remote server that attempts to
>        negotiate more than one stream (as described under
>        Section 4.8.3.3).
>
>     This concept of directionality applies only to stanzas and explicitly
>     does not apply to first-level children of the stream root that are
>     used to bootstrap or manage the stream (e.g., first-level elements
>     used for TLS negotiation, SASL negotiation, Server Dialback
>     [XEP-0220], and Stream Management [XEP-0198]).
>
>     The foregoing considerations imply that while completing STARTTLS
>     negotiation (Section 5) and SASL negotiation (Section 6) two servers
>     would use one TCP connection, but after the stream negotiation
>     process is done that original TCP connection would be used only for
>     the initiating server to send XML stanzas to the receiving server.
>     In order for the receiving server to send XML stanzas to the
>     initiating server, the receiving server would need to reverse the
>     roles and negotiate an XML stream from the receiving server to the
>     initiating server over a separate TCP connection.
>
Perhaps add a final sentence: "This separate TCP connection is then 
secured using a new round of TLS and/or SASL negotiation."
> ###
>
>> - 4.8.3.18: what are the security implications of a "redirect"?
>
> Of<see-other-host/>? Seemingly underspecified. :(
>
>> Should
>> the client apply the same policy, e.g. for using TLS, as for the
>> original server?
>
> Yes.
>
>> Which "to" identity to use?
>
> The 'to' address of the initial stream header would still be the DNS
> domain name of the XMPP service to which the initiating entity is trying
> to connect (see also draft-saintandre-tls-server-id-check).
>
>> Can redirection occur
>> before the recipient is even authenticated?
>
> Yes.
>
> I propose that we modify the description as follows:
>
>     The server will not provide service to the initiating entity but is
>     redirecting traffic to another host under the administrative control
>     of the same service provider.  The XML character data of the<see-
>     other-host/>  element returned by the server MUST specify the
>     alternate hostname or IP address at which to connect, which MUST be a
>     valid domainpart or a domainpart plus port number (separated by the
>     ':' character in the form "domainpart:port").  If the domainpart is
>     the same as the source domain, derived domain, or resolved IP address
>     to which the initiating entity originally connected (differing only
>     by the port number), then the initiating entity SHOULD simply attempt
>     to reconnect at that address.  Otherwise, the initiating entity MUST
>     resolve the hostname specified in the<see-other-host/>  element as
>     described under Section 3.2.
>
> I also propose that we add the following paragraph to the end of the
> section:
>
>     When negotiating a stream with the host to which it has been
>     redirected, the initiating entity MUST apply the same policies it
>     would have applied to the original connection attempt (e.g., a policy
>     requiring TLS), MUST specify the same 'to' address on the initial
>     stream header, and MUST verify the identity of the new host using the
>     same reference identifier(s) it would have used for the original
>     connection attempt (in accordance with [TLS-CERTS].  Even if
>     receiving entity returns a<see-other-host/>  error before the
>     confidentiality and integrity of the stream have been established
>     (thus introducing the possibility of a denial of service attack), the
>     fact that the initiating entity needs to verify the identity of the
>     XMPP service based on the same reference identifiers implies that the
>     initiating entity will not connect to a malicious entity; however, to
>     reduce the possibility of a denial of service attack, the receiving
>     entity SHOULD NOT return a<see-other-host/>  error until after the
>     stream has been protected (e.g., via TLS).
>
... and the sending entity SHOULD maintain a running redirect counter, 
and give up after a certain number of successive redirects.

Also, the mitigation you propose in the last sentence only helps if "An 
entity MAY have a policy where it only accepts <see-other-host> elements 
from authenticated peers.

>> - 4.9: Don't we resend the "stream" header again after completing the
>> TLS negotiation (Sec. 4.2.3).
>
> For sure. I propose that we change this:
>
>     [ ... channel encryption ... ]
>
>     [ ... authentication ... ]
>
>     [ ... resource binding ... ]
>
> to:
>
>     [ ... stream negotiation ... ]
>
I'm not sure. Since we start the example with two <stream> elements, it 
would make sense to show the additional (4?) <stream> elements further 
down. Although the "simple" examples would no longer fit a page. Maybe 
add a "really simple" example with no security?

> ### END OF PART 1 ###
>
>
>

From yaronf.ietf@gmail.com  Fri Oct 29 07:24:42 2010
Return-Path: <yaronf.ietf@gmail.com>
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 390E33A689D; Fri, 29 Oct 2010 07:24:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[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 1c+VDa1FcLsR; Fri, 29 Oct 2010 07:24:38 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 47DC13A686D; Fri, 29 Oct 2010 07:24:37 -0700 (PDT)
Received: by wyb28 with SMTP id 28so3193640wyb.31 for <multiple recipients>; Fri, 29 Oct 2010 07:26:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OX6xqPlAyy0QXwmSF2cWSKN/ezd2zny2426/I8WFYLM=; b=pcZqI9O8PPykURoLAwqAeCu32iVqgBJo70Jxl1/H/AQSifU5VWW/9+v87G4ybjBOZt xuKS///N+0dewvzffJw8ZWM0SDxayZEpmvr1DIs3jnjSCGQqYejI6ZPrKCO2/tNaenfC cN8JRTj8GCgRM1w8PxQDI3vilMTE+nleqOG+s=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=E2Irq2sZgWO80y0yqqcS4EZZvdr+T0K4vsWIHWrvRuikku8eMrDBC/xffrn/qDvyxd TTzgIefQpbX+h+vn9OU0VT+/wAnXtAgdB9DQImId51bsXDjOIGwpbcv7jyC3W5Ddgf1k 8qnQv6nRBdsu24Nv3w9YnHzPzfBt1QPX2e6Sw=
Received: by 10.227.143.146 with SMTP id v18mr758235wbu.63.1288362391200; Fri, 29 Oct 2010 07:26:31 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-179-22-84.red.bezeqint.net [79.179.22.84]) by mx.google.com with ESMTPS id a17sm2114235wbe.0.2010.10.29.07.26.25 (version=SSLv3 cipher=RC4-MD5); Fri, 29 Oct 2010 07:26:28 -0700 (PDT)
Message-ID: <4CCAD98E.1040300@gmail.com>
Date: Fri, 29 Oct 2010 16:26:22 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101006 Lightning/1.0b2 Thunderbird/3.1.5
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCA470B.20601@stpeter.im> <4CCA7BED.1020907@gmail.com> <4CCAD810.4060508@stpeter.im>
In-Reply-To: <4CCAD810.4060508@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Fri, 29 Oct 2010 12:39:35 -0700
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
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: Fri, 29 Oct 2010 14:24:42 -0000

Hi Peter,

I'm fine with your proposals.

Thanks,
	Yaron

On 10/29/2010 04:20 PM, Peter Saint-Andre wrote:
> Hi Yaron, a few additional comments and text proposals inline.
>
> On 10/29/10 1:46 AM, Yaron Sheffer wrote:
>> Hi Peter,
>>
>> On 10/29/2010 06:01 AM, Peter Saint-Andre wrote:
>>> Thanks for your careful and thorough review. To maintain forward
>>> momentum, this is Part 1 of my reply, up through the end of Section 4. I
>>> shall endeavor to reply regarding the remainder of your review in the
>>> next 24-48 hours.
>>>
>> Thanks a lot for using my comments and misunderstandings to improve the
>> document.
>>
>> I have removed pieces of this mail where I fully accept your
>> response/changes.
>>
>>>> - 4.3: How is TLS negotiated for the additional streams?
>>>
>>> Each stream is separately secured.
>>>
>>>> How is it bound
>>>> to the SASL negotiation that (apparently) only takes place once?
>>>
>>> It isn't, because each stream is separately secured (preferably by means
>>> of TLS + SASL).
>>>
>>> I propose that we clarify these matters by modifying the following
>>> paragraphs from Section 4.3 ("Directionality"):
>>>
>>> ###
>>>
>>> 4.3.  Directionality
>>>
>>>      An XML stream is always unidirectional, by which is meant that XML
>>>      stanzas can be sent in only one direction over the stream (either
>>>      from the initiating entity to the receiving entity or from the
>>>      receiving entity to the initiating entity).
>>>
>>>      Depending on the type of session that has been negotiated and the
>>>      nature of the entities involved, the entities might use:
>>>
>>>      o  Two streams over a single TCP connection, where the security
>>>         context negotiated for the first stream is applied to the second
>>>         stream.  This is typical for client-to-server sessions, and a
>>>         server MUST allow a client to use the same TCP connection for both
>>>         streams.
>>>
>>>      o  Two streams over two TCP connections, where each stream is
>>>         separately secured.  In this approach, one TCP connection is used
>>>         for the stream in which stanzas are sent from the initiating
>>>         entity to the receiving entity, and the other TCP connection is
>>>         used for the stream in which stanzas are sent from the receiving
>>>         entity to the initiating entity.  This is typical for server-to-
>>>         server sessions.
>>>
>>>      o  Multiple streams over two or more TCP connections, where each
>>>         stream is separately secured.  This approach is sometimes used for
>>>         server-to-server communication between two large XMPP service
>>>         providers; however, this can make it difficult to maintain
>>>         coherence of data received over multiple streams in situations
>>>         described under Section 10.1, which is why a server MAY return a
>>>         <conflict>   stream error to a remote server that attempts to
>>>         negotiate more than one stream (as described under
>>>         Section 4.8.3.3).
>>>
>>>      This concept of directionality applies only to stanzas and explicitly
>>>      does not apply to first-level children of the stream root that are
>>>      used to bootstrap or manage the stream (e.g., first-level elements
>>>      used for TLS negotiation, SASL negotiation, Server Dialback
>>>      [XEP-0220], and Stream Management [XEP-0198]).
>>>
>>>      The foregoing considerations imply that while completing STARTTLS
>>>      negotiation (Section 5) and SASL negotiation (Section 6) two servers
>>>      would use one TCP connection, but after the stream negotiation
>>>      process is done that original TCP connection would be used only for
>>>      the initiating server to send XML stanzas to the receiving server.
>>>      In order for the receiving server to send XML stanzas to the
>>>      initiating server, the receiving server would need to reverse the
>>>      roles and negotiate an XML stream from the receiving server to the
>>>      initiating server over a separate TCP connection.
>>>
>> Perhaps add a final sentence: "This separate TCP connection is then
>> secured using a new round of TLS and/or SASL negotiation."
>
> Yes, that's good. Paragraph updated with your text.
>
>>> ###
>>>
>>>> - 4.8.3.18: what are the security implications of a "redirect"?
>>>
>>> Of<see-other-host/>? Seemingly underspecified. :(
>>>
>>>> Should
>>>> the client apply the same policy, e.g. for using TLS, as for the
>>>> original server?
>>>
>>> Yes.
>>>
>>>> Which "to" identity to use?
>>>
>>> The 'to' address of the initial stream header would still be the DNS
>>> domain name of the XMPP service to which the initiating entity is trying
>>> to connect (see also draft-saintandre-tls-server-id-check).
>>>
>>>> Can redirection occur
>>>> before the recipient is even authenticated?
>>>
>>> Yes.
>>>
>>> I propose that we modify the description as follows:
>>>
>>>      The server will not provide service to the initiating entity but is
>>>      redirecting traffic to another host under the administrative control
>>>      of the same service provider.  The XML character data of the<see-
>>>      other-host/>   element returned by the server MUST specify the
>>>      alternate hostname or IP address at which to connect, which MUST be a
>>>      valid domainpart or a domainpart plus port number (separated by the
>>>      ':' character in the form "domainpart:port").  If the domainpart is
>>>      the same as the source domain, derived domain, or resolved IP address
>>>      to which the initiating entity originally connected (differing only
>>>      by the port number), then the initiating entity SHOULD simply attempt
>>>      to reconnect at that address.  Otherwise, the initiating entity MUST
>>>      resolve the hostname specified in the<see-other-host/>   element as
>>>      described under Section 3.2.
>>>
>>> I also propose that we add the following paragraph to the end of the
>>> section:
>>>
>>>      When negotiating a stream with the host to which it has been
>>>      redirected, the initiating entity MUST apply the same policies it
>>>      would have applied to the original connection attempt (e.g., a policy
>>>      requiring TLS), MUST specify the same 'to' address on the initial
>>>      stream header, and MUST verify the identity of the new host using the
>>>      same reference identifier(s) it would have used for the original
>>>      connection attempt (in accordance with [TLS-CERTS].  Even if
>>>      receiving entity returns a<see-other-host/>   error before the
>>>      confidentiality and integrity of the stream have been established
>>>      (thus introducing the possibility of a denial of service attack), the
>>>      fact that the initiating entity needs to verify the identity of the
>>>      XMPP service based on the same reference identifiers implies that the
>>>      initiating entity will not connect to a malicious entity; however, to
>>>      reduce the possibility of a denial of service attack, the receiving
>>>      entity SHOULD NOT return a<see-other-host/>   error until after the
>>>      stream has been protected (e.g., via TLS).
>>>
>> ... and the sending entity SHOULD maintain a running redirect counter,
>> and give up after a certain number of successive redirects.
>>
>> Also, the mitigation you propose in the last sentence only helps if "An
>> entity MAY have a policy where it only accepts<see-other-host>  elements
>> from authenticated peers.
>
> Thanks. I propose that we change this paragraph to:
>
>     When negotiating a stream with the host to which it has been
>     redirected, the initiating entity MUST apply the same policies it
>     would have applied to the original connection attempt (e.g., a policy
>     requiring TLS), MUST specify the same 'to' address on the initial
>     stream header, and MUST verify the identity of the new host using the
>     same reference identifier(s) it would have used for the original
>     connection attempt (in accordance with [TLS-CERTS].  Even if
>     receiving entity returns a<see-other-host/>  error before the
>     confidentiality and integrity of the stream have been established
>     (thus introducing the possibility of a denial of service attack), the
>     fact that the initiating entity needs to verify the identity of the
>     XMPP service based on the same reference identifiers implies that the
>     initiating entity will not connect to a malicious entity; however, to
>     reduce the possibility of a denial of service attack, the receiving
>     entity SHOULD NOT return a<see-other-host/>  error until after the
>     stream has been protected (e.g., via TLS) and the receiving entity
>     MAY have a policy of following redirects only if it has authenticated
>     the receiving entity.  In addition, the initiating entity SHOULD give
>     up after a certain number of successive redirects (e.g., at least 2
>     but no more than 5).
>
>>>> - 4.9: Don't we resend the "stream" header again after completing the
>>>> TLS negotiation (Sec. 4.2.3).
>>>
>>> For sure. I propose that we change this:
>>>
>>>      [ ... channel encryption ... ]
>>>
>>>      [ ... authentication ... ]
>>>
>>>      [ ... resource binding ... ]
>>>
>>> to:
>>>
>>>      [ ... stream negotiation ... ]
>>>
>> I'm not sure. Since we start the example with two<stream>  elements, it
>> would make sense to show the additional (4?)<stream>  elements further
>> down. Although the "simple" examples would no longer fit a page. Maybe
>> add a "really simple" example with no security?
>
> These examples are included to provide a high-level illustration of what
> a session would look like, so I think eliding the whole stream
> negotiation process is fine. However, I think it would be good to add a
> forward reference to Section 9 so that the reader knows where to go for
> detailed examples. Thus propose modifying the first paragraph of Section
> 4.9 as follows:
>
>     This section contains two highly simplified examples of a stream-
>     based connection between a client and a server; these examples are
>     included for the purpose of illustrating the concepts introduced thus
>     far, but the reader needs to be aware that these examples elide many
>     details (see Section 9 for more complete examples).
>
> Peter
>

From stpeter@stpeter.im  Fri Oct 29 22:04:02 2010
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 E5E043A681D; Fri, 29 Oct 2010 22:04:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.57
X-Spam-Level: 
X-Spam-Status: No, score=-102.57 tagged_above=-999 required=5 tests=[AWL=0.029, 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 4tHjQZkKBQv1; Fri, 29 Oct 2010 22:04:00 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id AEAC63A67A5; Fri, 29 Oct 2010 22:04:00 -0700 (PDT)
Received: from squire.local (dsl-251-219.dynamic-dsl.frii.net [216.17.251.219]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 63C0840BB9; Fri, 29 Oct 2010 23:14:12 -0600 (MDT)
Message-ID: <4CCBA7A9.7030506@stpeter.im>
Date: Fri, 29 Oct 2010 23:05:45 -0600
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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com>
In-Reply-To: <4CC9503D.2000809@gmail.com>
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="------------ms030901010109050600060007"
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, secdir@ietf.org
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
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: Sat, 30 Oct 2010 05:04:03 -0000

This is a cryptographically signed message in MIME format.

--------------ms030901010109050600060007
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

This is Part 3 of my reply, from the start of Section 10 through the end
of Section 15. This completes my reply to Yaron's security review.

On 10/28/10 4:28 AM, Yaron Sheffer wrote:

> - 10.2: "try many different resources", I suppose it is typically fewer=

> than 10 per JID, which does not make the attack uninteresting.

In my experience, few entities connect from more than three or four
devices at a time, although that might increase in the future. The use
of randomized resourceparts helps to mitigate the risk here (because an
attacker can't simply guess if the victim is at the "home" or "work"
resource or whatever) -- perhaps it would be good to mention that?

> - 10.4.2: if the protocol supports routing, shouldn't we mention that
> there are cases where the IQ stanza will be forwarded to another server=
,
> not the one mentioned in the "To" header? And what about loop preventio=
n?

Could you clarify what you mean by "forward"? We don't have multi-hop
routing in XMPP, just direct server-to-server connections, so it's not
as if the stanza would be forwarded through multiple servers in order to
reach the destination domain.

> - 10.5.3.3: this is a strange rule. Does it mean that if I'm using a
> desktop (/desktop) and a mobile (/mobile), and I'm connected to the
> desktop, I cannot have messages targeted at my mobile be deferred (and
> stored somewhere) until I connect from that device?

That feature is not part of XMPP.

> - 13.4: "for the ensuring" -> "for ensuring" (or: to ensure).

Fixed.

> - 13.4: the security note is confusing, because it is unclear whether i=
t
> has any normative status. Otherwise, it is almost trivial: of course yo=
u
> can provide these guarantees by different means.

This security note provides truth in advertising: we don't want to
misrepresent the extent to which the use of TLS can protect stanzas,
since they can be routed or delivered outside the context of their
original stream. It does not use any normative keywords because it is
purely informative.

> - 13.4: the cipher suites are not just "nun-null". They MUST provide
> both confidentiality and integrity.

Is this more accurate?

   The use of Transport Layer Security (TLS) with appropriate
   ciphersuites provides a reliable mechanism to ensure the
   confidentiality and integrity of data exchanged between a client and
   a server or between two servers.

> - 13.6: the out-of-band trust chain rule may be practical for
> server-to-server connections, but probably not for large client
> deployments and when certificates are sometimes rolled over.

Do you think that we need to modify the text of that paragraph?

> - 13.7: terminology: "mutual authentication" describes authentication
> with client certs, just as much as it describes the server presenting a=

> cert and the client authenticating with SASL. This also applies to 5.4.=
3.

In this context we have always used the term "authentication" only with
regard to SASL. The use of SASL EXTERNAL with PKIX certificates enables
an entity to point back to a certificate it provided during TLS
negotiation, but in general we don't refer to TLS as an authentication
mechanism. I don't see an easy way to disambiguate the term here, but
suggestions are welcome.

> - 13.7.1.1: The word "issuer" is ambiguous. It usually refers to a
> person/organization, but here you use it to refer to the certificate
> itself. How about replacing the heading of the second list by: "the
> following rules apply to issuer certificates, used to sign XMPP
> end-entity certificates"?

I think the first and second headings are best phrased like this:

   The following rules apply to end entity public key certificates that
   are issued to XMPP servers or clients:

   [...]

   The following rules apply to certification authority (CA)
   certificates that are used by issuers of XMPP end entity
   certificates:

That way we are using the appropriate terminology from RFC 5280.

> - 13.7.1.1: it's strange to specify the hash algorithm, but not the
> signature algorithm (RSA-512 anyone?)

Ah, I got that text from Sean Turner (IIRC, we copied it from a
never-released version of draft-hildebrand-dna), and I'm pretty sure
that by "the hash algorithm for the signature" he meant the
signatureAlgorithm field from RFC 5280, as in this text from
draft-hildebrand-dna:

   The issuer MUST support signing attribute certificate with the PKCS
   #1 version 1.5 signature algorithm with SHA-256, as specified in
   [RFC4055].

Clearly something has been lost in translation. I'll check with Sean on
this point.

> - 13.7.1.1: what are "access certificates"? Neither 5280 nor Google can=

> help...=20

s/access/attribute/

> And how can an issuer cert NOT be marked with the CA bit?

The idea was that attribute certificates would be issued by non-CA
entities, such as organizations that wish to delegate an XMPP service to
a hosting provider. However, I think we should delete any mention of
attribute certificates because that was something we envisioned for use
in "domain name assertions" but the feature is far from well defined.
See here for more details:

http://tools.ietf.org/id/draft-hildebrand-dna-00.txt

http://tools.ietf.org/id/draft-ietf-xmpp-dna-00.txt

http://www.ietf.org/id/draft-barnes-xmpp-dna-00.txt

Therefore I propose that we remove these lines (where "access" really
should be "attribute", not that it matters if we remove the bullet):

   6.  For issuers of access certificates, the issuer's certificate MUST
       NOT contain a basicConstraints extension with the cA boolean set
       to TRUE.

> - 13.7.1.1: and most important, is the "relying party" (e.g. the client=
)
> required to check all these rules and fail validation if any of them is=

> not met?

As I understand it from my conversations with Sean when we were adding
this text, these rules are not set in stone within RFC 5280 and
therefore need to be specified by any technology that reuses PKIX. Our
intent was that CAs would conform to these rules, not necessarily that
replying parties would necessarily fail on validation if the rules were
violated. Here again I'll check with Sean.

> - 13.7.1.2.2: enabling entity -> enabling entities.
> - 13.7.1.4: "conjuction" misspelled.

Typos fixed. Maybe it would be helpful for me to finally run this
document through a spell-checker...

> - 13.7.2: "An implementation MUST enable a human user to view
> information about the certification path." I'm afraid this is security
> theater, because 99.5% of your target population cannot understand this=

> information.

Do you recommend changing SHOULD to MUST, removing this text entirely,
or something else?

I suppose that 0.5% could always view the path via a dedicated piece of
security software...

> - 13.7.2.2.1: "MUST either validate" - incomplete sentence (and
> actually, at a sensitive point in the text).

Here "either" is extraneous because it is an artifact of an earlier
version of the spec. Much earlier:

http://tools.ietf.org/id/draft-saintandre-rfc3920bis-05.txt

> - 13.7.2.2.1, subcase #3: please mention that some servers will simply
> fail validation at this point, subject to their policy. I.e., some migh=
t
> insist on correct client certs.

True. Does the following proposed text capture that point?

   Sub-Case #3:  The server finds no XmppAddrs, or finds at least one
      XmppAddr but the domainpart of the represented JID does not match
      one of the configured hostnames of the server; the server MUST NOT
      use the represented JID (if any) as the validated identity of the
      client but instead MUST validate the identity of the client using
      other means.  If the identity cannot be so validated, depending on
      local service policy the server MAY abort the validation process
      and terminate the TLS negotiation.

> - 13.7.2.3: "periodically query OCSP" - is there any guidance about the=

> period? Is a recommended period specified in the cert or communicated b=
y
> the OCSP responder?

I don't see a way to specify this in the certificate, but it seems
reasonable to query at or near the time communicated via the nextUpdate
field received in the OCSP response or, if the nextUpdate field is not
set, to query every 24 hours. This is for long-lived streams

> - 13.7.2: a silly question, but anyway: where do you say that the
> client's cert is correlated with the client's JID, as it appears in the=

> From line (when setting up the original stream and/or when setting the
> stream anew after TLS negotiation)?=20

Few clients include the 'from' address on the stream header and we're
not actively working to make sure they do, because what really matters
is that the client authenticates using the credentials of a registered
account.

> And vice versa, for the server cert
> and the client's To header.

For s2s communication, in essence (and using the terms of [TLS-CERTS])
the initiating entity sets its reference identifier to the 'to' address
it communicates in the initial stream header, and the receiving entity
sets its reference identifier to the 'from' address communicated by the
initiating entity in the initial stream header (i.e., the 'from' address
is the identity that the initiating entity is trying to assert). Per
recent list discussion Jeff Hodges and I have added a note about that to
our working copy of draft-saintandre-tls-server-id-check.

However, I agree that it would be helpful to mention this in 3920bis, so
I propose that we add some text to Sections 13.7.2.1 ("Server
Certificates") and 13.7.2.2 ("Client Certificates")...

###

13.7.2.1.  Server Certificates

   For server certificates, the rules and guidelines defined in
   [TLS-CERTS] apply, with the proviso that the XmppAddr identifier
   specified under Section 13.7.1.4 is allowed as a reference
   identifier.

   The identities to be checked are set as follows:

   o  The initiating entity sets its reference identifier to the 'to'
      address it communicates in the initial stream header; i.e., this
      is the identity it expects the receiving entity to provide in a
      PKIX certificate.

   o  The receiving entity sets its reference identifier to the 'from'
      address communicated by the initiating entity in the initial
      stream header; i.e., this is the identity that the initiating
      entity is trying to assert.

13.7.2.2.  Client Certificates

   When an XMPP server validates a certificate presented by a client,
   there are three possible cases, as discussed in the following
   sections.

   The identities to be checked are set as follows:

   o  The client sets its reference identifier to the 'to' address it
      communicates in the initial stream header; i.e., this is the
      identity it expects the server to provide in a PKIX certificate.

   o  The server sets its reference identifier to the 'from' address
      communicated by the initiating entity in the initial stream
      header; i.e., this is the identity that the client is trying to
      assert.

###

> - 13.8: I suggest to add (here or elsewhere): "All password-based
> mechanisms are susceptible to password guessing attacks, and therefore
> the authenticator MUST implement common rate-limiting mitigations."

I think the right place is Section 13.9.4 ("Use of SASL").

Added.

> - 13.8: "For both confidentiality and authentication with passwords" -
> here you don't specify a TLS ciphersuite.

RFC 5246 has TLS_RSA_WITH_AES_128_CBC_SHA as the mandatory-to-implement
ciphersuite, so that seems appropriate here. Would you recommend
something stronger, for example TLS_RSA_WITH_AES_256_CBC_SHA?

> - 13.8: the note kind of implies that PLAIN is preferable to DIGEST-MD5=
,
> which is clearly not the case.

Clearly not, and that was unintentional.

I think it is better to limit this note strictly to the interoperability
issue here (see also the next section)...

      Interoperability Note: The use of the SCRAM-SHA-1 or SASL-SCRAM-
      SHA-1-PLUS mechanism replaces the SASL DIGEST-MD5 mechanism as
      XMPP's mandatory-to-implement password-based method for
      authentication only, and the use of TLS plus either of those SCRAM
      variants replaces TLS plus DIGEST-MD5.  For backward-compatibility
      with existing deployed infrastructure, implementations are
      encouraged to continue supporting the DIGEST-MD5 mechanism as
      specified in [DIGEST-MD5], however there are known
      interoperability issues with DIGEST-MD5 that make it impractical
      in the long term.

> - 13.9.4: why is SASL-PLAIN singled out here? Other mechanisms are
> susceptible to off-line password guessing when used without TLS
> confidentiality, which is not a trivial attack but still a significant
> risk.

You're right.

I propose that we split up the text a bit here (e.g., the text about
PLAIN in fact talks mostly about TLS verification)...

So, add the following modified paragraph to Section 13.9.4 ("Use of SASL"=
):

   The use of the SCRAM-SHA-1 and SCRAM-SHA-1-PLUS mechanisms is
   strongly preferred over the SASL PLAIN mechanism because of their
   superior security properties, and TLS plus SASL PLAIN is intended to
   be a fallback only for implementations that do not yet support SCRAM.
   Implementations MUST NOT use the SASL PLAIN without confidentiality
   and integrity protection via TLS.  For additional security
   considerations related to these SASL mechanisms, see [SCRAM] and
   [PLAIN].

Then add the following modified paragraph to Section 13.9.5 ("Use of TLS"=
):

   To prevent man-in-the-middle attacks, the TLS client (which might be
   an XMPP client or an XMPP server) MUST verify the certificate of the
   TLS server and MUST check its understanding of the server hostname
   against the server's identity as presented in the TLS Certificate
   message (for details, see [TLS-CERTS].

> - 13.11: all three examples of "service unavailable" can be ruled out o=
n
> an operational server. Are there no better examples?

I don't see how they can be ruled out.

> - 15: The sasl-whitespace "feature" is not really a feature, because
> you'd fail any interoperability if you send whitespace during the SASL
> phase, right? Similarly tls-whitespace.

I take it you mean they are "negative features" and interoperability
testing should focus on positive features. But isn't appropriate to
ensure compliance with a MUST NOT statement in the spec?

> - 15: if we insist on PLAIN, I would expect a security-mti-auth-order
> feature, where the proposals are ordered right (i.e. with PLAIN at the
> end).

I think it's better to remove TLS plus SASL PLAIN from the list of
mandatory-to-implement technologies.

> - 15: why is confidentiality-only a MUST? Is it widely deployed? Is it
> required for backward compatibility?=20

It was required in RFC 3920 (with a different ciphersuite) and in
practice it is used in the case of TLS plus Server Dialback for s2s
communications.

> By the way, please expand the
> acronym MTI somewhere.

It's not used as an acronym, just as a string in some feature names.

> - 15: and hey, there's no feature defined for TLS+SCRAM+? Isn't this th=
e
> one we want/expect to be deployed?

There is a feature for security-mti-auth-scram, which includes both
variants. I propose that we change the feature definition to:

   Feature:  security-mti-auth-scram
   Description:  Support the SASL Salted Challenge Response mechanism
      for authentication only or confidentiality and authentication
      (this implies support for both the SCRAM-SHA-1 and SCRAM-SHA-1-
      PLUS variants).
   Section:  Section 13.8
   Roles:  Client MUST, Server MUST.

> - 15: stanza-* features - if you have an XML schema, can't you just say=

> that conformance to the schema is REQUIRED and eliminate all this stuff=
?
> Given that these are MUSTs, not SHOULDs, a formal specification is so
> much easier to validate. This does *not* contradict the fact that
> runtime validation is optional.

I suppose, but it seems useful for interoperability testing purposes
(which we do plan to pursue more rigorously) to define the more specific
features specified throughout the spec with regard to stanza syntax and
semantics.

> - 15: I would expect one or a few features around validation of
> identities at the various layers, since we're spending much of the
> document on this issue. "tls-certs" is an important piece of that, but
> not the whole thing.

I agree with you that the layering topics are important here. Do you
have specific suggestions?

Thanks again for your review.

Peter

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




--------------ms030901010109050600060007
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIITzjCC
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAUBgNVBAoT
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlN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