
From fippo@mail.symlynx.com  Mon Nov  1 04:27:44 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 E44DB3A67E6; Mon,  1 Nov 2010 04:27:44 -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 qx+t8h9i+CNN; Mon,  1 Nov 2010 04:27:44 -0700 (PDT)
Received: from lo.psyced.org (lost.IN.psyced.org [188.40.42.221]) by core3.amsl.com (Postfix) with ESMTP id EB5FF3A67A6; Mon,  1 Nov 2010 04:27:43 -0700 (PDT)
Received: from [192.168.2.103] (p4FF0C925.dip.t-dialin.net [79.240.201.37]) (authenticated bits=0) by lo.psyced.org (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA1BSBkw026530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Nov 2010 12:28:12 +0100
Message-ID: <4CCEA426.8060003@mail.symlynx.com>
Date: Mon, 01 Nov 2010 12:27:34 +0100
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: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CBF3310.8060801@stpeter.im> <4CBF56A9.1090503@mail.symlynx.com> <4CC5747E.4080006@stpeter.im> <4CC5897C.3080600@stpeter.im>
In-Reply-To: <4CC5897C.3080600@stpeter.im>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
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, 01 Nov 2010 11:27:45 -0000

Peter Saint-Andre wrote:
[...]
> 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

s/TLS client/TLS server/

>     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

I think it is not clear who is verifying (probably because both parties 
are for xmpp-s2s). What about:

In some application protocols, the procedure described in this section 
can also be performed by an application server when verifying a incoming 
[server-to-server?] connection from a peer, not only when verifying an 
outgoing connection (e.g., this is true for XMPP).
In this case, the application server, acting as a TLS server, verifies 
the identity of the TLS client and the reference identifier is in 
essence supplied by the peer [...]

[where the peer server is the TLS client]

>     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.

+1

From yaronf.ietf@gmail.com  Sun Oct 31 08:35:28 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 948833A68DA; Sun, 31 Oct 2010 08:35: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=[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 31-B+0Q5thTL; Sun, 31 Oct 2010 08:35:25 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id F11043A6991; Sun, 31 Oct 2010 08:35:24 -0700 (PDT)
Received: by mail-ww0-f44.google.com with SMTP id 15so4839471wwe.13 for <multiple recipients>; Sun, 31 Oct 2010 08:37:24 -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=DNyil+hh7JpcEt3N5vMOUE8umoZm3sF4TBoVu23ASxM=; b=POzO5z6/u3DQ51u1wCJKG2FWudSju5bQDC5dDG9Ms6105QfXBk06FV7JnqWe22JyBH 9DVRYKkXG3nJeWfLFoMfUeHaK6su0lZIaBSbAbWlKgnlzF8y7mVVscd0+IKsGgcaW4Fe UVHexCJapyT2Bxo7Rl++Pn7NEBvC5cpfJ7Rao=
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=utq7yGhq7sB4gSw1y0GkwIeKApZu0WKgiJVoEEU10tPX6EaEEdyuL4m/aMBI2ZUCEx s1lL0nJIKJfl0cZD8VD+9vG2AA1iSpFv8+XnEJSRWpAK1OxrywUhQY0klEm6SNja8q8l nMYDYZL5gpNfScuJJ0evAfGXH5C0Cb9Qj4JA8=
Received: by 10.227.145.66 with SMTP id c2mr14776671wbv.34.1288539443159; Sun, 31 Oct 2010 08:37:23 -0700 (PDT)
Received: from [192.168.2.119] (bzq-79-182-8-5.red.bezeqint.net [79.182.8.5]) by mx.google.com with ESMTPS id ga16sm4250240wbb.7.2010.10.31.08.37.16 (version=SSLv3 cipher=RC4-MD5); Sun, 31 Oct 2010 08:37:21 -0700 (PDT)
Message-ID: <4CCD8D2B.50900@gmail.com>
Date: Sun, 31 Oct 2010 17:37:15 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCB1334.3030203@stpeter.im>
In-Reply-To: <4CCB1334.3030203@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 01 Nov 2010 09:22:28 -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: Sun, 31 Oct 2010 15:35:28 -0000

Hi Peter,

again, I have removed the points where we are in agreement.

Thanks,
	Yaron

On 10/29/2010 08:32 PM, Peter Saint-Andre wrote:
> 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. :)
>
I accept your reasoning. And servers in most cases can take the risk of 
information disclosure and still use mutual cert authentication.

>> - 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?

I was assuming that XMPP has less legacy baggage than HTTP (i.e. 
browsers) and therefore prohibiting SSLv3 would be reasonable. If it 
isn't, forget it.

>
>> - 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?

Yes, it makes sense to switch #4 and #5. BTW, you meant 5.4.3.1.
>
> 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?

Yes, this is the basic case, of course it should be mentioned.
>
>> - 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).
>
> 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.
>
But if the client prefers the old behavior (newest resource wins), it 
cannot have it. Anyway, I'm sure you have debated this point to death.

>> - 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.
>
> 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).

Yes, SHOULD NOT would be BETTER...
>
>> - 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?
>
What triggered my comment was the name of this element, "not 
authorized". Both of your examples are (broadly speaking), "not 
authenticated". What about the same service, where I am duly 
authenticated as Yaron, but still am not allowed to use the service, 
e.g. because only users belonging to the all-saints group are allowed to 
it. This would be a true authorization failure.

>
>> - 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.
>
I would appreciate a pointer to benefit the uninitiated.


From yaronf.ietf@gmail.com  Mon Nov  1 02:26:05 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 ACC6D3A679C; Mon,  1 Nov 2010 02:26:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -98.333
X-Spam-Level: 
X-Spam-Status: No, score=-98.333 tagged_above=-999 required=5 tests=[BAYES_50=0.001, SARE_FWDLOOK=1.666, 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 DRrGi1RDJ7Vr; Mon,  1 Nov 2010 02:26:04 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 45DC13A67E5; Mon,  1 Nov 2010 02:26:02 -0700 (PDT)
Received: by wwe15 with SMTP id 15so5399565wwe.13 for <multiple recipients>; Mon, 01 Nov 2010 02:26:03 -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=1KdGXG9AwuEmV9e/86glbQf3+Y5BRGSKfL884aN8yKo=; b=tlRjfeYga6AVCGFAJ4eaBcfjVsiRZ8mmZ1cRZbKVIUDq2US7FvcaHO58zBnx3v+c2B 6LIsSxSYam9ubEAFULUuycXKrJo5D+SKr2uMfdmRM86dk8twI1vUYxzMt1HCiP+lJsmC Osqr44LDWqVN9jc31+VjUsCbhL1er3hli4efk=
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=c+uoK531nyCT2tBehU3R31ZmMcnNRisVmP/NgXxDvAzUzlg67fIcPqAbZ4wLMURW/H OVeL61wjikCQxukXVHa9e6N2ZSMamUkhhYtL3SqtFjC6nqw0yOWqKPua9Lgxog8/4Jp4 dSRMJ9Y7sECtT95M/kAlbDe44EzHtvbLzEZ3Q=
Received: by 10.227.156.69 with SMTP id v5mr2656549wbw.189.1288603562405; Mon, 01 Nov 2010 02:26:02 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-181-26-165.red.bezeqint.net [79.181.26.165]) by mx.google.com with ESMTPS id a17sm4998655wbe.0.2010.11.01.02.25.59 (version=SSLv3 cipher=RC4-MD5); Mon, 01 Nov 2010 02:26:00 -0700 (PDT)
Message-ID: <4CCE87A5.80701@gmail.com>
Date: Mon, 01 Nov 2010 11:25:57 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>
In-Reply-To: <4CCBA7A9.7030506@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Mon, 01 Nov 2010 09:22:28 -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: Mon, 01 Nov 2010 09:26:05 -0000

Hi Peter,

Responding to the last part. Thanks for a constructive discussion.

	Yaron

On 10/30/2010 07:05 AM, Peter Saint-Andre wrote:
> 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?

Yes, this is more convincing than the current justification.

>
>> - 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?
>
> 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.
>
Sorry, I misread the text.

- New comment: 10.5.1 and 10.5.2 read funny. Without the context they 
both sound like "the server MUST handle the stanza, or not." I suggest 
to append to both sections: "The server MUST NOT route the stanza to 
another server".

>> - 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.
>
Pity. I can see several use cases: deliver photos into a large screen, 
deliver messages in specific non-ASCII scripts to devices that can 
actually display them...

>
>> - 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.
>
> 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.

Yes, but nothing in the Note or the preceding paragraph mentions 
end-to-end security.
>
>> - 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.
>
Yes.

>> - 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?
>
Maybe this would be more realistic: It SHOULD be possible to provision 
an implementation (in both c-to-s and s-to-s situations) with specific 
trust anchors for the opposite entity. When an application is thus 
provisioned, it MUST NOT use a generic PKI trust store to authenticate 
the opposite entity.

>> - 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.
>
Let's keep it then.


>> - 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.
>
Yes.

>> - 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.
>
I'll defer to Sean.

>> - 13.7.1.1: what are "access certificates"? Neither 5280 nor Google can
>> help...
>
> 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.
>
Wow! This is very forward looking. Yes, the whole package should 
probably be removed from 3290bis and moved into a future update to this 
document.

>> - 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.
>
Please do. In particular, trusting a non-CA to sign certificates seems 
to contradict the spirit of PKIX policies.

>> - 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...

I suggest to remove the text altogether. People will have debug tools, 
log files etc., we shouldn't specify them.

>
>> - 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.
>
> 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.
>
Yes.

>> - 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?
>
> 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
>
Can you add such text then?

>> - 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)?
>
> 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.
>
Ahem, the client's 'from' attribute is a SHOULD (4.6.1).

>> 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: "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?
>
AES-128 is just fine. Actually there are major issues with AES-256. But 
I think this document should specify a ciphersuite, rather than rely on 
RFC 5246 for that. After all you are essentially profiling TLS.

>
>> - 13.11: all three examples of "service unavailable" can be ruled out on
>> an operational server. Are there no better examples?
>
> I don't see how they can be ruled out.
>
OK, I see your point now.

>> - 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?
>
No, what I meant was: you don't need to test them especially, because 
the connection will break immediately. Just like you don't check that 
"streem" is spelled right.

>> - 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.
>
OK.

>> - 15: why is confidentiality-only a MUST? Is it widely deployed? Is it
>> required for backward compatibility?
>
> 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.
>
OK

>> By the way, please expand the
>> acronym MTI somewhere.
>
> It's not used as an acronym, just as a string in some feature names.
>
Still, you want people to understand what it means.

>
>> - 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?
>
- Server side: correlate cert-asserted client ID with "from".
- Server: correlate "from" on stream to identity as authenticated by SASL.
- Server: rewrite "from" on stanza to authenticated ID.
- Client side: correlate cert-asserted server ID with "from".
- Client: correlate "from" on stream to identity as authenticated by TLS 
certs and/or SASL.

> Thanks again for your review.
>
> Peter
>

From florob@babelmonkeys.de  Mon Nov  1 11:20:12 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 9E32428C0E5; Mon,  1 Nov 2010 11:20:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, J_CHICKENPOX_34=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 WkYpnJDRo5Cs; Mon,  1 Nov 2010 11:20:11 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 621D328C0E0; Mon,  1 Nov 2010 11:20:11 -0700 (PDT)
Received: from xdsl-213-196-247-51.netcologne.de ([213.196.247.51] 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 1PCyzJ-0004My-N6; Mon, 01 Nov 2010 19:20:09 +0100
Message-ID: <4CCF04D3.6020504@babelmonkeys.de>
Date: Mon, 01 Nov 2010 19:20:03 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com>
In-Reply-To: <4CCE87A5.80701@gmail.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, secdir@ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, draft-ietf-xmpp-3920bis.all@tools.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: Mon, 01 Nov 2010 18:20:12 -0000

On 01.11.2010 10:25, Yaron Sheffer wrote:
> Hi Peter,
> 
> Responding to the last part. Thanks for a constructive discussion.
> 
>     Yaron
> 
Hi,

>>> - 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.
>>
> OK.
> 
FWIW, I'm not entirely content with that for two reasons:
a) Even if TLS+SASL PLAIN is not MTI people still will and do implement
it. I think it would therefore make sense to still specify that PLAIN
shall only be used as a "last resort".

b) (which is my bigger concern) As strange as that may sound, we need
PLAIN in order to upgrade to a new mechanism. I though this was also
explicit in 3920bis, but I can't find it right now.
Consider a case where a server only stores the MD5 hash of the password.
This is sufficient to do PLAIN and DIGEST MD5 auth. But for SCRAM a
different representation is needed.
The common way for the server to upgrade is to once offer only PLAIN as
a mechanism. If that is not possible (clients can choose not to support
PLAIN) some deployments might be stuck with DIGEST MD5...
We could mandate that PLAIN is only MTI for clients (servers would
implement it when they need to), but that would allow for the same
down-grade attacks that are already possible now (i.e. hopefully none ;) ).

--
Florian Zeitz

From stpeter@stpeter.im  Mon Nov  1 12:19:21 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 1845128C111; Mon,  1 Nov 2010 12:19:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.999
X-Spam-Level: 
X-Spam-Status: No, score=-99.999 tagged_above=-999 required=5 tests=[BAYES_50=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 TAdhu6NjIiqb; Mon,  1 Nov 2010 12:19:19 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 0AFAF28C119; Mon,  1 Nov 2010 12:19:15 -0700 (PDT)
Received: from squire.local (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A63AB40D1E; Mon,  1 Nov 2010 13:27:47 -0600 (MDT)
Message-ID: <4CCF12B2.3050902@stpeter.im>
Date: Mon, 01 Nov 2010 13:19: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com> <4CCB1334.3030203@stpeter.im> <4CCD8D2B.50900@gmail.com>
In-Reply-To: <4CCD8D2B.50900@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="------------ms050608020209070706030105"
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: Mon, 01 Nov 2010 19:19:21 -0000

This is a cryptographically signed message in MIME format.

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

On 10/31/10 9:37 AM, Yaron Sheffer wrote:
>=20
> On 10/29/2010 08:32 PM, Peter Saint-Andre wrote:
>> This is Part 2 of my reply, from the start of Section 5 through the en=
d
>> 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-serve=
r
>>> 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 resul=
t
>> in wide adoption. Many service admins still think that PKI is "too har=
d"
>> 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. :)
>>
> I accept your reasoning. And servers in most cases can take the risk of=

> information disclosure and still use mutual cert authentication.

One clarification.... In the case of a client-to-server ("c2s")
connection, it's the client that might leak its credentials to an
unauthenticated server at the TLS negotiation stage, so IMHO it's not
quite right to say that the server takes the risk of information
disclosure. In the server-to-server ("s2s") case, the initiating server
might leak its credentials. I don't think we're worried about the s2s
case, because the initiating server is the one that's asking to
"federate" the two domains in the first place. For the c2s case, so far
end-user certificates are rare enough that I think the sense of the WG
was to not make renegotiation a SHOULD. There are some deployment
scenarios in which end-user certificates are more common (think certain
military or financial organizations), but in general those deployments
might lock down the allowable clients and will probably deal with the
issue at the level of local service policy or a deployment profile
(i.e., both the client and the server must support TLS renegotiation),
so in that sense the risk of information disclosure is indeed accepted
by the application service provider or the organization in which such a
closed deployment occurs. However, those are specialized deployments and
we didn't see a need for TLS renegotiation in the general case.

>>> - 5.3.6: extensions may be out of scope. But I think we need to inclu=
de
>>> 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 th=
e
>> TLS WG. Are you suggesting that the XMPP WG go where the TLS WG has no=
t
>> gone?
>=20
> I was assuming that XMPP has less legacy baggage than HTTP (i.e.
> browsers) and therefore prohibiting SSLv3 would be reasonable. If it
> isn't, forget it.

XMPP as an application protocol does have less baggage, but it uses all
the same TLS libraries and those tend to be driven by HTTP, so I don't
know if we can really push the envelope here, unfortunately.

>>> - 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 laye=
r
>>> (if any)?
>>
>> Section 13.7.2 ("Certificate Validation"). There is a forward referenc=
e
>> in bullet 4 of Section 5.4.3.3:
>>
>>     4.  The initiating entity MUST validate the certificate to determi=
ne
>>         if the TLS negotiation will succeed; see Section 13.7.2 regard=
ing
>>         certificate validation procedures.
>>
>> Perhaps it would be easier to read if we switched bullets 4 and 5 in
>> that section?
>=20
> Yes, it makes sense to switch #4 and #5.=20

Done in my working copy.

> BTW, you meant 5.4.3.1.

Yep, sorry.

>> Also, the bullet about validation probably also needs to say that if t=
he
>> initiating entity presents a certificate then the receiving entity nee=
ds
>> to also perform validation. Do you agree?
>=20
> Yes, this is the basic case, of course it should be mentioned.

In my working copy the text now reads as follows (order changed, text
tweaked, bullet added)...

   4.  The receiving entity SHOULD choose which certificate to present
       based on the 'to' attribute of the initial stream header.

   5.  To determine if the TLS negotiation will succeed, the initiating
       entity MUST attempt to validate the receiving entity's
       certificate in accordance with the certificate validation
       procedures specified under Section 13.7.2.

   6.  If the initiating entity presents a certificate, the receiving
       entity too MUST attempt to validate the initiating entity's
       certificate in accordance with the certificate validation
       procedures specified under Section 13.7.2.

>>> - 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 multip=
le
>>> 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.
>>
> But if the client prefers the old behavior (newest resource wins), it
> cannot have it. Anyway, I'm sure you have debated this point to death.

It's true that some legacy clients used the old behavior to kick the
existing resource, but we have better ways to do that now and the costs
outweighed the benefits (user complaints about not being able to stay
logged in, etc.). So yes it's been debated. :)

>>> - 8.3.2: MUST NOT... be presented to the human user - this is impossi=
ble
>>> 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=
=2E
>>
>> 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).
>=20
> Yes, SHOULD NOT would be BETTER...

Done.

>>> - 8.3.3.11: what are "improper credentials"? It sounds like we are no=
t
>>> 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 retur=
n
>> 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 cas=
es?
>>
> What triggered my comment was the name of this element, "not
> authorized".=20

We inherited that from HTTP 401 "Unauthorized".

> Both of your examples are (broadly speaking), "not
> authenticated". What about the same service, where I am duly
> authenticated as Yaron, but still am not allowed to use the service,
> e.g. because only users belonging to the all-saints group are allowed t=
o
> it. This would be a true authorization failure.

Sure. Sticking with the example of multi-user chat rooms, a room admin
has privileges to perform certain actions (say, kick people out of the
room); if a non-privileged user attempts to perform such an action, the
service will return a <forbidden/> error. Perhaps we don't have a very
sophisticated authorization model in XMPP, but we've not yet found the
need for error conditions that are strictly limited to authorization.

>>> - 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 exampl=
e
>> 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 c=
an
>> add a sentence or two about it if that would be helpful.
>>
> I would appreciate a pointer to benefit the uninitiated.

Adjusted text:

###

8.3.3.16.  registration-required

   The requesting entity is not authorized to access the requested
   service because prior registration is necessary (examples of prior
   registration include members-only rooms in XMPP multi-user chat
   [XEP-0045] and gateways to non-XMPP instant messaging services, which
   traditionally required registration in order to use the gateway
   [XEP-0100]); the associated error type SHOULD be "auth".

###

8.3.3.21.  subscription-required

   The requesting entity is not authorized to access the requested
   service because a prior subscription is necessary (examples of prior
   subscription include authorization to receive presence information as
   defined in [XMPP-IM] and opt-in data feeds for XMPP publish-subscribe
   as defined in [XEP-0060]); the associated error type SHOULD be
   "auth".

###

Better?

Peter

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




--------------ms050608020209070706030105
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
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCSUwxFjAU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DbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBobNBU1VFqpyXzyxaF1qasGmECibGI4t6aCMOTp8g3MZZSOVk2QF6y74Ik
P18z8KuNcRZs2Nsmsh1AmWaQNi5hS5ebL4gu6hFnHpzH6k8raW3qXmKwc1THfVw9ZUtN1Axf
0NuNxUbXdinCademkQuHQG0xB/OQjoiUZ52j/TOHntdNSMsSAMvt7sd8z7w9DCJ16Zg8ZZjh
NqYOy2K9w5qkCcBy4joqHy8Ij1ttmsvJUINtYmrJDPz21SZ/VO5+Di0IA4olThVpIk2KOnBK
5b8WPCRPc8lReVC7f8y2kozof5z3GzCV4Uv8mVJ245L1Fr3M+oJk4uCKT2IsRGTD/ZYrAAAA
AAAA
--------------ms050608020209070706030105--

From stpeter@stpeter.im  Mon Nov  1 13:19: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 333773A69A7; Mon,  1 Nov 2010 13:19:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.466
X-Spam-Level: 
X-Spam-Status: No, score=-100.466 tagged_above=-999 required=5 tests=[AWL=0.467, BAYES_00=-2.599, SARE_FWDLOOK=1.666, 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 vgnYGvHubGWG; Mon,  1 Nov 2010 13:19:56 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 7DB6A3A6A17; Mon,  1 Nov 2010 13:19:56 -0700 (PDT)
Received: from squire.local (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id BF32440D1E; Mon,  1 Nov 2010 14:28:24 -0600 (MDT)
Message-ID: <4CCF20E7.30401@stpeter.im>
Date: Mon, 01 Nov 2010 14:19:51 -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> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com>
In-Reply-To: <4CCE87A5.80701@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="------------ms050702010806010901070107"
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: Mon, 01 Nov 2010 20:19:59 -0000

This is a cryptographically signed message in MIME format.

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

On 11/1/10 3:25 AM, Yaron Sheffer wrote:
> Hi Peter,
>=20
> Responding to the last part. Thanks for a constructive discussion.

I hope it's productive -- I was getting pretty tired on Friday night
when I wrote the last bits of Part 3, so I'm not sure I was fully
coherent. :)

> On 10/30/2010 07:05 AM, Peter Saint-Andre wrote:
>> This is Part 3 of my reply, from the start of Section 10 through the e=
nd
>> 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 few=
er
>>> 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 a=
n
>> 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?
>=20
> Yes, this is more convincing than the current justification.

Agreed. Adjusted text follows:

###

   2.  How a server processes stanzas sent to the bare JID
       <localpart@domainpart> has implications for directory harvesting,
       because if the server responds differently depending on whether
       there there is an account registered for that bare JID.

   3.  How a server processes stanzas sent to a full JID has
       implications for presence leaks, because an attacker could send
       requests to multiple full JIDs and receive different replies
       depending on whether the user has a device currently online at
       that full JID.  The use of randomized resourceparts (whether
       generated by the client or the server) significantly helps to
       mitigate this attack, so it is of somewhat lesser concern than
       the directory harvesting attack.

###

>>> - 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 serv=
er,
>>> not the one mentioned in the "To" header? And what about loop
>>> prevention?
>>
>> 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.
>>
> Sorry, I misread the text.

There's a lot of text to read, so that's fully understandable!

> - New comment: 10.5.1 and 10.5.2 read funny. Without the context they
> both sound like "the server MUST handle the stanza, or not." I suggest
> to append to both sections: "The server MUST NOT route the stanza to
> another server".

I'd prefer to add the text in only one place, and the best place seems
to be a new sentence at the end of the only paragraph in Section 10.5,
as follows:

###

10.5.  Local Domain

   If the hostname of the domainpart of the JID contained in the 'to'
   attribute matches one of the configured hostnames of the server, the
   server MUST first determine if the hostname is serviced by the server
   itself or by a specialized local service.  If the latter, the server
   MUST route the stanza to that service.  If the former, the server
   MUST proceed as follows.  However, the server MUST NOT route or
   "forward" the stanza to another domain because it is the server's
   responsibility to process all stanzas for which the domainpart of the
   'to' address matches one of the configured hostnames of the server
   (among other things, this helps to prevent looping).

###

>>> - 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 (an=
d
>>> stored somewhere) until I connect from that device?
>>
>> That feature is not part of XMPP.
>>
> Pity. I can see several use cases: deliver photos into a large screen,
> deliver messages in specific non-ASCII scripts to devices that can
> actually display them...

Well, the "X" in XMPP stands for "extensible". We could always define an
XMPP extension for that feature. In fact, I think we could do it already
with XEP-0273 ("Stanza Interception and Filtering Technology"):

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

But it's not part of the core.

>>> - 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.
>>
>> 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.
>=20
> Yes, but nothing in the Note or the preceding paragraph mentions
> end-to-end security.

Section 13.1 has this paragraph:

   This specification covers only the security of a direct XML stream
   between two servers or between a client and a server (cases #1 and
   #2), where each stream can be considered a single "hop" along a
   communication path.  The goal of security for a multi-hop path (cases
   #3 and #4), although very desirable, is out of scope for this
   specification.

The note in Section 13.4 expands on that, specifically with regard to
confidentiality and integrity (the topic of 13.4). That's the best place
I could find for it, but suggestions are welcome.

>>> - 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 a=
nd
>>     a server or between two servers.
>>
> Yes.

OK, done.

>>> - 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?
>>
> Maybe this would be more realistic: It SHOULD be possible to provision
> an implementation (in both c-to-s and s-to-s situations) with specific
> trust anchors for the opposite entity. When an application is thus
> provisioned, it MUST NOT use a generic PKI trust store to authenticate
> the opposite entity.

That does seem better. In my working copy that paragraph now reads:

###

   [STRONGSEC] defines "strong security" and its importance to
   communication over the Internet.  For the purpose of XMPP
   communication over client-to-server and server-to-server streams, the
   term "strong security" refers to the use of security technologies
   that provide both mutual authentication and integrity checking (e.g.,
   a combination of TLS encryption and SASL authentication using
   appropriate SASL mechanisms).  An implementation SHOULD make it
   possible for an end user or service administrator to provision a
   deployment with specific trust anchors for the certificate presented
   by a connecting entity (either client or server); when an application
   is thus provisioned, it MUST NOT use a generic PKI trust store to
   authenticate the connecting entity.  More detailed rules and
   guidelines regarding certificate validation are provided in the next
   section.

###

>>> - 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 wit=
h
>> regard to SASL. The use of SASL EXTERNAL with PKIX certificates enable=
s
>> 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.
>>
> Let's keep it then.

OK. I'd prefer not to perform major terminological surgery at this point.=
=2E.

>>> - 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 th=
at
>>     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.
>>
> Yes.

Done.

>>> - 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 PKC=
S
>>     #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 o=
n
>> this point.
>>
> I'll defer to Sean.

I'll make sure to check with him about this before IESG review.

>>> - 13.7.1.1: what are "access certificates"? Neither 5280 nor Google c=
an
>>> help...
>>
>> 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 us=
e
>> 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 M=
UST
>>         NOT contain a basicConstraints extension with the cA boolean s=
et
>>         to TRUE.
>>
> Wow! This is very forward looking. Yes, the whole package should
> probably be removed from 3290bis and moved into a future update to this=

> document.

Agreed. I've removed that bullet.

>>> - 13.7.1.1: and most important, is the "relying party" (e.g. the clie=
nt)
>>> 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 wer=
e
>> violated. Here again I'll check with Sean.
>>
> Please do. In particular, trusting a non-CA to sign certificates seems
> to contradict the spirit of PKIX policies.

Yes, I now see that you are right (see previous warning about lack of
coherence). I've provisionally updated the relevant paragraph of Section
13.7.2 as follows, breaking it into bullets for easier readability:

###

   For both server certificates and client certificates, the validating
   entity MUST do the following:

   1.  Attempt to verify the integrity of the certificate.

   2.  Attempt to verify that the certificate has been properly signed
       by the issuing Certificate Authority.

   3.  Attempt to validate the full certification path.

   4.  Check the rules for end entity public key certificates and
       certification authority certificates specified under
       Section 13.7.1.1 for the general case and under either
       Section 13.7.1.2 or Section 13.7.1.2 for XMPP server or client
       certificates, respectively.

   5.  Check certificate revocation messages.

   If any of those validation attempts fail, either entity MAY choose to
   unilaterally terminate the session.

###

>>> - 13.7.2: "An implementation MUST enable a human user to view
>>> information about the certification path." I'm afraid this is securit=
y
>>> theater, because 99.5% of your target population cannot understand th=
is
>>> 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 o=
f
>> security software...
>=20
> I suggest to remove the text altogether. People will have debug tools,
> log files etc., we shouldn't specify them.

Sentence removed.

>>> - 13.7.2.2.1, subcase #3: please mention that some servers will simpl=
y
>>> fail validation at this point, subject to their policy. I.e., some mi=
ght
>>> 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 mat=
ch
>>        one of the configured hostnames of the server; the server MUST =
NOT
>>        use the represented JID (if any) as the validated identity of t=
he
>>        client but instead MUST validate the identity of the client usi=
ng
>>        other means.  If the identity cannot be so validated, depending=
 on
>>        local service policy the server MAY abort the validation proces=
s
>>        and terminate the TLS negotiation.
>>
> Yes.

Done.

>>> - 13.7.2.3: "periodically query OCSP" - is there any guidance about t=
he
>>> period? Is a recommended period specified in the cert or communicated=
 by
>>> 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 nextUpdat=
e
>> 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
>>
> Can you add such text then?

In my working copy I now have:

   2.  Periodically query the Online Certificate Status Protocol [OCSP]
       responder listed in the Authority Information Access (AIA)
       extension of the certificate presented by the other party and any
       certificates on which that certificate depends (such as a root or
       intermediate certificate for a certification authority), and
       close the stream if any such certificate has been revoked, with a
       stream error of <reset/> (Section 4.8.3.16).  It is RECOMMENDED
       to query the OSCP responder 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.

>>> - 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 t=
he
>>>  From line (when setting up the original stream and/or when setting t=
he
>>> stream anew after TLS negotiation)?
>>
>> 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.
>>
> Ahem, the client's 'from' attribute is a SHOULD (4.6.1).

It is, but that's in an effort to move people in the right direction.
This matter was very unclear in RFC 3920.

>>> 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' addres=
s
>> it communicates in the initial stream header, and the receiving entity=

>> sets its reference identifier to the 'from' address communicated by th=
e
>> initiating entity in the initial stream header (i.e., the 'from' addre=
ss
>> 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., thi=
s
>>        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=
=2E
>>
>>     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.
>>
>> ###

Does that text seem helpful?

>>> - 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-implemen=
t
>> ciphersuite, so that seems appropriate here. Would you recommend
>> something stronger, for example TLS_RSA_WITH_AES_256_CBC_SHA?
>>
> AES-128 is just fine. Actually there are major issues with AES-256. But=

> I think this document should specify a ciphersuite, rather than rely on=

> RFC 5246 for that. After all you are essentially profiling TLS.

Done.

There was talk in the XMPP WG of moving all MTI technologies out of the
core spec so that they could be updated more frequently. Maybe we'll do
that in the next revision cycle (which will result in a much smaller diff=
).

>>> - 13.11: all three examples of "service unavailable" can be ruled out=
 on
>>> an operational server. Are there no better examples?
>>
>> I don't see how they can be ruled out.
>>
> OK, I see your point now.

OK.

>>> - 15: The sasl-whitespace "feature" is not really a feature, because
>>> you'd fail any interoperability if you send whitespace during the SAS=
L
>>> 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?
>>
> No, what I meant was: you don't need to test them especially, because
> the connection will break immediately. Just like you don't check that
> "streem" is spelled right.

True. I've removed those features.

>>> - 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 th=
e
>>> end).
>>
>> I think it's better to remove TLS plus SASL PLAIN from the list of
>> mandatory-to-implement technologies.
>>
> OK.

I'll reply about this one separately, given the response from Florian
Zeitz on the XMPP WG list.

>>> - 15: why is confidentiality-only a MUST? Is it widely deployed? Is i=
t
>>> required for backward compatibility?
>>
>> 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.
>>
> OK
>=20
>>> By the way, please expand the
>>> acronym MTI somewhere.
>>
>> It's not used as an acronym, just as a string in some feature names.
>>
> Still, you want people to understand what it means.

I've added the acronym on first use (Section 5.4.3).

>>> - 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, bu=
t
>>> not the whole thing.
>>
>> I agree with you that the layering topics are important here. Do you
>> have specific suggestions?
>>
> - Server side: correlate cert-asserted client ID with "from".
> - Server: correlate "from" on stream to identity as authenticated by SA=
SL.
> - Server: rewrite "from" on stanza to authenticated ID.
> - Client side: correlate cert-asserted server ID with "from".
> - Client: correlate "from" on stream to identity as authenticated by TL=
S
> certs and/or SASL.

Thanks. I'll add features for those and also think further about the
stream-level 'from' for client-to-server streams.

Peter

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




--------------ms050702010806010901070107
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/BAQDAgEGMB0GA1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qhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCF/nvf7AeGrOxu/UXYACT6Tg0IUfRNCO9O5CXomh+u4+ftC/5IeThDn7Uy
spzNc0AdWZXHlbPaGFugMmBGQb3HqmnW3Lisk3Jxu317WcA7NVWVwthwJseczAyLDgG13Lc4
kYeBihuIXXfYYXHb37e7wCqjK0RgQit8Krnx5MEW1nfHvSmc6VovPs79FRKHtzJcmfiQVcPJ
0mL0fotcdNoFFum+dlh7D2VRe9FNdF9oVeB6+cWVDFb2fIuB2D8Y9FJ9vd/WSdSB+LW7rtnu
Qij3EvP8NzMfh2rcdhpQay7oGWqYEHA+D3zTK/B40iQcmvJBGcFsjHMfb239i+oa7oaxAAAA
AAAA
--------------ms050702010806010901070107--

From stpeter@stpeter.im  Mon Nov  1 13:27:05 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 508B13A69A7; Mon,  1 Nov 2010 13:27:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.233
X-Spam-Level: 
X-Spam-Status: No, score=-101.233 tagged_above=-999 required=5 tests=[AWL=0.767, BAYES_00=-2.599, J_CHICKENPOX_34=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 gT9dkr6SpaVV; Mon,  1 Nov 2010 13:27:04 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 4422E3A681E; Mon,  1 Nov 2010 13:27:04 -0700 (PDT)
Received: from squire.local (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 77B8740D1E; Mon,  1 Nov 2010 14:35:37 -0600 (MDT)
Message-ID: <4CCF2298.9030302@stpeter.im>
Date: Mon, 01 Nov 2010 14:27: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Florian Zeitz <florob@babelmonkeys.de>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de>
In-Reply-To: <4CCF04D3.6020504@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="------------ms080703010400030906010709"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, secdir@ietf.org, iesg@ietf.org, XMPP <xmpp@ietf.org>, draft-ietf-xmpp-3920bis.all@tools.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: Mon, 01 Nov 2010 20:27:05 -0000

This is a cryptographically signed message in MIME format.

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

On 11/1/10 12:20 PM, Florian Zeitz wrote:
> On 01.11.2010 10:25, Yaron Sheffer wrote:
>>
>>>> - 15: if we insist on PLAIN, I would expect a security-mti-auth-orde=
r
>>>> feature, where the proposals are ordered right (i.e. with PLAIN at t=
he
>>>> end).
>>>
>>> I think it's better to remove TLS plus SASL PLAIN from the list of
>>> mandatory-to-implement technologies.
>>>
>> OK.
>>
> FWIW, I'm not entirely content with that for two reasons:
> a) Even if TLS+SASL PLAIN is not MTI people still will and do implement=

> it. I think it would therefore make sense to still specify that PLAIN
> shall only be used as a "last resort".

I think that's what we were trying to say in the text, but we didn't do
a good job of it.

> b) (which is my bigger concern) As strange as that may sound, we need
> PLAIN in order to upgrade to a new mechanism. I though this was also
> explicit in 3920bis, but I can't find it right now.
> Consider a case where a server only stores the MD5 hash of the password=
=2E
> This is sufficient to do PLAIN and DIGEST MD5 auth. But for SCRAM a
> different representation is needed.
> The common way for the server to upgrade is to once offer only PLAIN as=

> a mechanism. If that is not possible (clients can choose not to support=

> PLAIN) some deployments might be stuck with DIGEST MD5...
> We could mandate that PLAIN is only MTI for clients (servers would
> implement it when they need to), but that would allow for the same
> down-grade attacks that are already possible now (i.e. hopefully none ;=
) ).

I had forgotten about that use case, so thanks for the reminder.

Sometime in the next 24-48 hours I'll propose rewritten text about MTI
technologies, including TLS + SASL PLAIN. However it requires careful
crafting and unfortunately I don't have time to do that right now.

Peter

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




--------------ms080703010400030906010709
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/W7fCqKT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MAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAiQ1z620XkMSrVD1nk8a76cj9YvFlmB76tbqO2j9+KIJbNFQaVRDlayUbG
ay7ac++XKxC7fSIGCFfjP3ap3FVtXdjEIGum/wuRtupVg7f4sHNLhY49uV5DrnzsS6ZSjb62
SSB0sLGZdi/7HQvo5n3jdRrRvTy70YlfnMh3v8CScwvhawKWtcNppoBt+/1lMTlJnt1DreDv
DctnJfyF4p91s6CI3CjO+z9HnYoL4V545mNc/eSaH1elcwwIK1KcTMNJH0ksx2w+tZYEQMv8
Qni0ELiuZ7Omv76RtcvlYWSqH2tHV5tN1DQOFTl9iO3+D4JMwfix4Z39zekg4rgCjq0iAAAA
AAAA
--------------ms080703010400030906010709--

From dave@cridland.net  Mon Nov  1 13:57:48 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 5173F3A6A87; Mon,  1 Nov 2010 13:57:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_34=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 h3xSuhOuJ7hs; Mon,  1 Nov 2010 13:57:43 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 00C163A6A7C; Mon,  1 Nov 2010 13:57:26 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id AE5AB11680F3; Mon,  1 Nov 2010 20:57:27 +0000 (GMT)
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 s3EOk5vaL05W; Mon,  1 Nov 2010 20:57:23 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 55DD511680CA; Mon,  1 Nov 2010 20:57:23 +0000 (GMT)
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de>
In-Reply-To: <4CCF04D3.6020504@babelmonkeys.de>
MIME-Version: 1.0
Message-Id: <2761.1288645043.347835@puncture>
Date: Mon, 01 Nov 2010 20:57:23 +0000
From: Dave Cridland <dave@cridland.net>
To: Florian Zeitz <florob@babelmonkeys.de>, Yaron Sheffer <yaronf.ietf@gmail.com>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>,  Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
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: Mon, 01 Nov 2010 20:57:48 -0000

On Mon Nov  1 18:20:03 2010, Florian Zeitz wrote:
> >> I think it's better to remove TLS plus SASL PLAIN from the list  
> of
> >> mandatory-to-implement technologies.
> >>
> > OK.
> >
> FWIW, I'm not entirely content with that for two reasons:

I'll scrap yours, and add a third.


> a) Even if TLS+SASL PLAIN is not MTI people still will and do  
> implement
> it. I think it would therefore make sense to still specify that  
> PLAIN
> shall only be used as a "last resort".
> 
> 
I think SASL PLAIN should be specifying this. There's nothing special  
in XMPP which makes PLAIN a poor choice.


> b) (which is my bigger concern) As strange as that may sound, we  
> need
> PLAIN in order to upgrade to a new mechanism. I though this was also
> explicit in 3920bis, but I can't find it right now.
> Consider a case where a server only stores the MD5 hash of the  
> password.
> This is sufficient to do PLAIN and DIGEST MD5 auth. But for SCRAM a
> different representation is needed.
> The common way for the server to upgrade is to once offer only  
> PLAIN as
> a mechanism. If that is not possible (clients can choose not to  
> support
> PLAIN) some deployments might be stuck with DIGEST MD5...
> We could mandate that PLAIN is only MTI for clients (servers would
> implement it when they need to), but that would allow for the same
> down-grade attacks that are already possible now (i.e. hopefully  
> none ;) ).

You're thinking of transition-needed, which was IIRC removed from the  
bis drafts.

It's pretty scary itself, as it provides an easy path to a downgrade  
attack.

But here's another compelling (in my view) reason to keep PLAIN,  
quoted from the opening lines of RFC 4616:

   Clear-text, multiple-use passwords are simple, interoperate with
   almost all existing operating system authentication databases

In particular, where we use an Active Directory, or other third-party  
LDAP directory, we more or less have to drop down to only offering  
PLAIN. (With AD we can also offer GSSAPI sometimes, but this isn't an  
ideal choice for an MTI, and with any LDAP directory we could provide  
SCRAM secrets to some extent).

Requiring clients and servers to be capable of using PLAIN, whilst  
advising (and providing) better alternatives to cover other cases,  
seems to be the best choice for interoperability.

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 Nov  1 14:16:12 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 42FB73A67AC; Mon,  1 Nov 2010 14:16:12 -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 8-PYyiBgXAkv; Mon,  1 Nov 2010 14:16:11 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 028163A676A; Mon,  1 Nov 2010 14:16:11 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 655C011680F6; Mon,  1 Nov 2010 21:16:12 +0000 (GMT)
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 6b0X8uqw2t68; Mon,  1 Nov 2010 21:16:08 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id BD24511680CA; Mon,  1 Nov 2010 21:16:08 +0000 (GMT)
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645042.396621@puncture>
In-Reply-To: <2761.1288645042.396621@puncture>
MIME-Version: 1.0
Message-Id: <2761.1288646168.774025@puncture>
Date: Mon, 01 Nov 2010 21:16:08 +0000
From: Dave Cridland <dave@cridland.net>
To: Dave Cridland <dave@cridland.net>, Florian Zeitz <florob@babelmonkeys.de>, Yaron Sheffer <yaronf.ietf@gmail.com>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.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] 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: Mon, 01 Nov 2010 21:16:12 -0000

On Mon Nov  1 20:57:22 2010, Dave Cridland wrote:
> You're thinking of transition-needed, which was IIRC removed from  
> the  bis drafts.
> 
> It's pretty scary itself, as it provides an easy path to a  
> downgrade  attack.

FWIW, Philip Hancke pointed out that transition-needed *is* in the  
current drafts at §6.5.12, with suitable security note.

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 Nov  1 19:59: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 CAA0F3A6868; Mon,  1 Nov 2010 19:59:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.999
X-Spam-Level: 
X-Spam-Status: No, score=-101.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_34=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 0Ztdf8neE2gI; Mon,  1 Nov 2010 19:59:08 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 46FB43A682A; Mon,  1 Nov 2010 19:59:08 -0700 (PDT)
Received: from squire.local (dsl-175-35.dynamic-dsl.frii.net [216.17.175.35]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3799340D1E; Mon,  1 Nov 2010 21:07:43 -0600 (MDT)
Message-ID: <4CCF7E7A.5050303@stpeter.im>
Date: Mon, 01 Nov 2010 20:59:06 -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: Dave Cridland <dave@cridland.net>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture>
In-Reply-To: <2761.1288645043.347835@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="------------ms000309080307060705020302"
Cc: Security Area Directorate <secdir@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, XMPP Working Group <xmpp@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@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: Tue, 02 Nov 2010 02:59:10 -0000

This is a cryptographically signed message in MIME format.

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

On 11/1/10 2:57 PM, Dave Cridland wrote:
> On Mon Nov  1 18:20:03 2010, Florian Zeitz wrote:
>> >> I think it's better to remove TLS plus SASL PLAIN from the list of
>> >> mandatory-to-implement technologies.
>> >>
>> > OK.
>> >
>> FWIW, I'm not entirely content with that for two reasons:
>=20
> I'll scrap yours, and add a third.
>=20
>=20
>> a) Even if TLS+SASL PLAIN is not MTI people still will and do implemen=
t
>> it. I think it would therefore make sense to still specify that PLAIN
>> shall only be used as a "last resort".
>>
>>
> I think SASL PLAIN should be specifying this. There's nothing special i=
n
> XMPP which makes PLAIN a poor choice.

I disagree -- it's our job to specify how we use the tools we've been giv=
en.

>> b) (which is my bigger concern) As strange as that may sound, we need
>> PLAIN in order to upgrade to a new mechanism. I though this was also
>> explicit in 3920bis, but I can't find it right now.
>> Consider a case where a server only stores the MD5 hash of the passwor=
d.
>> This is sufficient to do PLAIN and DIGEST MD5 auth. But for SCRAM a
>> different representation is needed.
>> The common way for the server to upgrade is to once offer only PLAIN a=
s
>> a mechanism. If that is not possible (clients can choose not to suppor=
t
>> PLAIN) some deployments might be stuck with DIGEST MD5...
>> We could mandate that PLAIN is only MTI for clients (servers would
>> implement it when they need to), but that would allow for the same
>> down-grade attacks that are already possible now (i.e. hopefully none
>> ;) ).
>=20
> You're thinking of transition-needed, which was IIRC removed from the
> bis drafts.
>=20
> It's pretty scary itself, as it provides an easy path to a downgrade
> attack.

If the stream is already TLS-protected, the attacker would need to have
control over the server (in which case the server wouldn't offer TLS in
the first place, of course). It seems to me that the client can take
appropriate protective measures to avoid this attack (just always force
TLS).

> But here's another compelling (in my view) reason to keep PLAIN, quoted=

> from the opening lines of RFC 4616:
>=20
>   Clear-text, multiple-use passwords are simple, interoperate with
>   almost all existing operating system authentication databases
>=20
> In particular, where we use an Active Directory, or other third-party
> LDAP directory, we more or less have to drop down to only offering
> PLAIN. (With AD we can also offer GSSAPI sometimes, but this isn't an
> ideal choice for an MTI, and with any LDAP directory we could provide
> SCRAM secrets to some extent).
>=20
> Requiring clients and servers to be capable of using PLAIN, whilst
> advising (and providing) better alternatives to cover other cases, seem=
s
> to be the best choice for interoperability.

IMHO that's been the experience of the XMPP community so far.

As mentioned, I'll work to capture these considerations in proposed text.=


Peter

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




--------------ms000309080307060705020302
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/XkCAw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QMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBvoBbhN2ss3/lCmbiL/sAeABXdr9QmvMebz7HEHRy+sWr9mfXNSql3THHo
/2ET9rIVq5DfHHMU2mQOyMuZ90GF3NQaTbEV3bKvcgzxtLsweUhEaILV/FQWwVTnfHF4ZTGa
BsbmaTJI5DpgsoHunzwHNeaVdV1sy6nUInJnX+SIpjaeFEXaB7cYraXd6FWMnQF9OSzrNeCf
JrOFjjP4+Qzhp/RsAeEq2tQLsg6mcua6EITGrA1qzuKlaWofXCjlta6LmuNhJRcAzjgGpEsD
cq0/iIT4fQ85HpMDHFmcYbmijT4WpSbZYYm9Xw4VpyGaxzTyb8Mm/J4M74FEmOa1fT3UAAAA
AAAA
--------------ms000309080307060705020302--

From stpeter@stpeter.im  Mon Nov  1 21:45:50 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 1233C3A66B4; Mon,  1 Nov 2010 21:45:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.299
X-Spam-Level: 
X-Spam-Status: No, score=-102.299 tagged_above=-999 required=5 tests=[AWL=0.300, 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 HIGtOywWodG6; Mon,  1 Nov 2010 21:45:44 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 9ED083A67CC; Mon,  1 Nov 2010 21:45:43 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 77A3740D1E; Mon,  1 Nov 2010 22:54:18 -0600 (MDT)
Message-ID: <4CCF9776.5060207@stpeter.im>
Date: Mon, 01 Nov 2010 22:45: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <4CC9503D.2000809@gmail.com>	<4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com>	<4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im>
In-Reply-To: <4CCF7E7A.5050303@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="------------ms000403000101040301060400"
Cc: "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, Security Area Directorate <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: Tue, 02 Nov 2010 04:45:50 -0000

This is a cryptographically signed message in MIME format.

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

On 11/1/10 8:59 PM, Peter Saint-Andre wrote:

> As mentioned, I'll work to capture these considerations in proposed tex=
t.

Here is proposed text. Please review and provide feedback.

###

13.8.  Mandatory-to-Implement Technologies

   The following TLS ciphersuites and SASL mechanisms are mandatory-to-
   implement (naturally, implementations MAY support other ciphersuites
   and mechanisms as well).  For security considerations related to TLS
   ciphersuites, see Section 13.9.4 and [TLS].  For security
   considerations related to SASL mechanisms, Section 13.9.4, [SASL],
   and specifications for particular SASL mechanisms such as [SCRAM],
   [DIGEST-MD5], and [PLAIN].

13.8.1.  For Authentication Only

   For authentication only, servers and clients MUST support the SASL
   Salted Challenge Response mechanism [SCRAM], in particular the SCRAM-
   SHA-1 variant (REQUIRED) and SCRAM-SHA-1-PLUS variant (RECOMMENDED if
   channel binding is possible).

      Security Note: Even though it is possible to complete
      authentication only without confidentiality, it is RECOMMENDED for
      servers and clients to protect the stream with TLS before
      attempting authentication with SASL, both to help protect the
      information exchanged during SASL negotiation and to help prevent
      certain downgrade attacks; see also Section 13.9.4 and
      Section 13.9.5.

      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.  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.8.2.  For Confidentiality Only

   For confidentiality only, servers SHOULD support TLS with the
   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite.

      Security Note: Because a connection with confidentiality only has
      weaker security properties than a connection with both
      confidentiality and authentication, it is RECOMMENDED for servers
      and clients to prefer connections with both qualities (e.g., by
      protecting the stream with TLS before attempting authentication
      with SASL).  In practice, confidentiality only is employed merely
      for server-to-server connections when the peer server does not
      present a certificate and the servers use Server Dialback
      [XEP-0220] for weak identity verification, but TLS is still
      desirable to protect the connection against casual eavesdropping.

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST support TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SCRAM-SHA-1 and (when channel binding is possible)
   SCRAM-SHA-1-PLUS.

   As a fallback when SCRAM is not available, servers MAY offer and
   clients MAY use TLS with the TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite
   plus SASL PLAIN.

      Security Note: The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS mechanisms are
      strongly preferred over the SASL PLAIN mechanism because of their
      superior security properties.  TLS plus SASL PLAIN is primarily
      intended to be a fallback for implementations that do not yet
      support SCRAM.  However, in certain deployment scenarios it can be
      difficult for a server to offer SCRAM-based mechanisms (e.g.,
      because the XMPP service depends for authentication purposes on a
      database or directory that is not under the control of the XMPP
      administrators).  Furthermore, it can be appropriate for an XMPP
      service to offer the SASL PLAIN mechanism when it upgrades
      security mechanisms and needs the plaintext password in order to
      seed user credentials (see Section 6.5.12).  A client needs to
      treat all such uses of the SASL PLAIN mechanism with caution, MUST
      prefer other mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-PLUS, and
      EXTERNAL) to the PLAIN mechanism, and MUST NOT use the PLAIN
      mechanism without confidentiality and integrity protection via
      TLS.

13.8.4.  For Confidentiality and Authentication Without Passwords

   For both confidentiality and authentication without passwords,
   servers MUST and clients SHOULD support TLS with the
   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus the SASL EXTERNAL
   mechanism (see Appendix A of [SASL]) supporting PKIX certificates.

###

Peter

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




--------------ms000403000101040301060400
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
tzCVUAL0DAx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mgymRFnc5UOYwJATqyrj3rka
TqJo7Mi7rUXo7XqjwYaYwlBvqd86OlvFB1c6fZTkeV4OgYtmJhtdeSgftPI0GhUBNfcRAAAA
AAAA
--------------ms000403000101040301060400--

From stpeter@stpeter.im  Tue Nov  2 05:06: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 2EC0C3A68D2; Tue,  2 Nov 2010 05:06:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.449
X-Spam-Level: 
X-Spam-Status: No, score=-102.449 tagged_above=-999 required=5 tests=[AWL=0.150, 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 dFo0ZqShYzTi; Tue,  2 Nov 2010 05:06:46 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 551AE3A676A; Tue,  2 Nov 2010 05:06:46 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8177340D1E; Tue,  2 Nov 2010 06:15:24 -0600 (MDT)
Message-ID: <4CCFFED7.70208@stpeter.im>
Date: Tue, 02 Nov 2010 06:06: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF20E7.30401@stpeter.im> <4CCFF1B0.4080007@gmail.com>
In-Reply-To: <4CCFF1B0.4080007@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="------------ms010104080901090304050100"
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: Tue, 02 Nov 2010 12:06:48 -0000

This is a cryptographically signed message in MIME format.

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

On 11/2/10 5:10 AM, Yaron Sheffer wrote:
>=20
> On 11/01/2010 10:19 PM, Peter Saint-Andre wrote:
>> On 11/1/10 3:25 AM, Yaron Sheffer wrote:
>>
>> >>> - 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 add=
ing
>> >> 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 t=
hat
>> >> replying parties would necessarily fail on validation if the rules
>> were
>> >> violated. Here again I'll check with Sean.
>> >>
>> > Please do. In particular, trusting a non-CA to sign certificates see=
ms
>> > to contradict the spirit of PKIX policies.
>>
>> Yes, I now see that you are right (see previous warning about lack of
>> coherence). I've provisionally updated the relevant paragraph of Secti=
on
>> 13.7.2 as follows, breaking it into bullets for easier readability:
>>
>> ###
>>
>>     For both server certificates and client certificates, the validati=
ng
>>     entity MUST do the following:
>>
>>     1.  Attempt to verify the integrity of the certificate.
>>
>>     2.  Attempt to verify that the certificate has been properly signe=
d
>>         by the issuing Certificate Authority.
>>
>>     3.  Attempt to validate the full certification path.
>>
>>     4.  Check the rules for end entity public key certificates and
>>         certification authority certificates specified under
>>         Section 13.7.1.1 for the general case and under either
>>         Section 13.7.1.2 or Section 13.7.1.2 for XMPP server or client=

>>         certificates, respectively.
>>
>>     5.  Check certificate revocation messages.
>>
>>     If any of those validation attempts fail, either entity MAY choose=
 to
>>     unilaterally terminate the session.
>>
>> ###
>>
> This is all fine, other than the last sentence. There's little security=

> value (or performance value, for that matter) in "MUST check, but only
> MAY choose to fail". With possible minor exceptions, these rules are al=
l
> security-critical.

Very true. At the least, SHOULD is much more appropriate, and even then
there are, as you say, only some possible minor exceptions (which I
think are RECOMMENDED in the profile, e.g., including the address of an
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
>> >>>   From line (when setting up the original stream and/or when
>> setting the
>> >>> stream anew after TLS negotiation)?
>> >>
>> >> Few clients include the 'from' address on the stream header and we'=
re
>> >> not actively working to make sure they do, because what really matt=
ers
>> >> is that the client authenticates using the credentials of a registe=
red
>> >> account.
>> >>
>> > Ahem, the client's 'from' attribute is a SHOULD (4.6.1).
>>
>> It is, but that's in an effort to move people in the right direction.
>> This matter was very unclear in RFC 3920.
>>
>> >>> And vice versa, for the server cert
>> >>> and the client's To header.
>> >>
>> >> For s2s communication, in essence (and using the terms of [TLS-CERT=
S])
>> >> the initiating entity sets its reference identifier to the 'to'
>> address
>> >> it communicates in the initial stream header, and the receiving ent=
ity
>> >> 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). Pe=
r
>> >> 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 identifi=
er
>> >>      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 initia=
l
>> >>         stream header; i.e., this is the identity that the initiati=
ng
>> >>         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 th=
e
>> >>         identity it expects the server to provide in a PKIX
>> certificate.
>> >>
>> >>      o  The server sets its reference identifier to the 'from' addr=
ess
>> >>         communicated by the initiating entity in the initial stream=

>> >>         header; i.e., this is the identity that the client is
>> trying to
>> >>         assert.
>> >>
>> >> ###
>>
>> Does that text seem helpful?
>>
> Yes, definitely.
>=20
>> >>> - 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?
>> >>
>> > AES-128 is just fine. Actually there are major issues with AES-256. =
But
>> > I think this document should specify a ciphersuite, rather than rely=
 on
>> > RFC 5246 for that. After all you are essentially profiling TLS.
>>
>> Done.
>>
>> There was talk in the XMPP WG of moving all MTI technologies out of th=
e
>> core spec so that they could be updated more frequently. Maybe we'll d=
o
>> that in the next revision cycle (which will result in a much smaller
>> diff).
>>
> I also think it's a good idea.

It seems a bit late in this revision cycle to do that, but as mentioned
I think we'll be working on 3920ter after a year or more of experience
with the spec you've reviewed (and after we've had a chance to fix up
the address format based on the results of the PRECIS WG), so I think
that would be a good time to help ensure the longevity of the specs by
moving the MTI security technologies into a "living document". I don't
know if any other application protocols have done that, but I'll ask the
Security ADs for advice about how we might proceed when the time comes.

Peter

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




--------------ms010104080901090304050100
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
aW5nMTgwNgYDVQQ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3qlnGZQ
/bOuv83fH3qIu4g+hVORFWfCDHl//szcCwxTOH9ADN31mOdW+d9FeWRNIKpNbAIi4J5F4V0K
10DTtIUv89V5HXtssTO5LyvDPtFp4UeWczKeouovBKkAvchWgWU0vZ3RJ6jTnkhTt/LlNGky
iDZDsCCizIpilnXbbblSM58JmUFfH6CfKoMbR2EEC1Sekfi2vONJBuLRH+IhxbtaNRKp58Fq
EIE3w9sJMas4t64hdCbYrm1Qd3dOSqsIsWGmD3lpzioG/tW3lJsiFQFm22ZFnkGNYYxEAAAA
AAAA
--------------ms010104080901090304050100--

From stpeter@stpeter.im  Tue Nov  2 05: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 80D4D28B797; Tue,  2 Nov 2010 05:12:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.499
X-Spam-Level: 
X-Spam-Status: No, score=-102.499 tagged_above=-999 required=5 tests=[AWL=0.100, 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 54wjKADYhNDF; Tue,  2 Nov 2010 05:12:19 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 0D5093A69AC; Tue,  2 Nov 2010 05:12:19 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id CD41A40D1E; Tue,  2 Nov 2010 06:20:57 -0600 (MDT)
Message-ID: <4CD00025.8030804@stpeter.im>
Date: Tue, 02 Nov 2010 06:12: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com>	<4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com>	<4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com>
In-Reply-To: <4CCFF3E6.7040800@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="------------ms060105040903000904080408"
Cc: "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@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: Tue, 02 Nov 2010 12:12:20 -0000

This is a cryptographically signed message in MIME format.

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

On 11/2/10 5:20 AM, Yaron Sheffer wrote:
> I'm OK with this text, including (sigh) PLAIN.

If it's any consolation, I'm sighing along with you. :)

Two points:

1. Eventually, we should be able to drop PLAIN in a future revision of
the MTI technologies spec that we'll pull out of 3920bis in 1+ years.

2. The technology that the XMPP community uses for account registration
(XEP-0077) could benefit from an update, or even a replacement, and when
that work is completed I'd like to include a method by which a client
could register a key or cert with the server, thus smoothing the path
toward password-less authentication. IMHO that will be the best approach
in the longer term, instead of continually tweaking the password-based
methods. But that's a topic for another time...

Peter

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




--------------ms060105040903000904080408
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/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nMBX4yqaiKTAAAA
AAAA
--------------ms060105040903000904080408--

From Kurt.Zeilenga@Isode.COM  Tue Nov  2 07:13:16 2010
Return-Path: <Kurt.Zeilenga@Isode.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 57A9D3A687F; Tue,  2 Nov 2010 07:13:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.799
X-Spam-Level: 
X-Spam-Status: No, score=-100.799 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_35=0.6, J_CHICKENPOX_43=0.6, J_CHICKENPOX_63=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 AGjrTAMje9Gq; Tue,  2 Nov 2010 07:13:15 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 1BF843A69C5; Tue,  2 Nov 2010 07:13:15 -0700 (PDT)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNAcfAAEeWu6@rufus.isode.com>; Tue, 2 Nov 2010 14:13:18 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <4CD00025.8030804@stpeter.im>
Date: Tue, 2 Nov 2010 07:13:14 -0700
Message-Id: <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.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: Tue, 02 Nov 2010 14:13:16 -0000

On Nov 2, 2010, at 5:12 AM, Peter Saint-Andre wrote:

> On 11/2/10 5:20 AM, Yaron Sheffer wrote:
>> I'm OK with this text, including (sigh) PLAIN.
>=20
> If it's any consolation, I'm sighing along with you. :)
>=20
> Two points:
>=20
> 1. Eventually, we should be able to drop PLAIN in a future revision of
> the MTI technologies spec that we'll pull out of 3920bis in 1+ years.

Good luck with that.  The arguments used now for its inclusion is likely =
to be repeated and, again, win.

Personally, I am against MUST'ing or SHOULD'ing TLS+PLAIN.  While it =
does offer good interoperability, it does good enough security for =
today's, and more importantly, tomorrow's Internet.

I think we actually should be mandating a SCRAM-*-PLUS mechanism, =
because channeling bindings are really needed due to 'user click =
through' of TLS warnings, downgrade attack warnings, etc..   I do =
suspect that it will take time for this mechanism to be come ubiquitous, =
but I fear that without a MUST, it will never become ubiquitous.   But I =
do suspect well have multiple independently developed implementations of =
SCRAM-*-PLUS in XMPP within a few months of publication of this revision =
of XMPP.

I suspect I'm in the rough on both points.  Oh well.

> 2. The technology that the XMPP community uses for account =
registration
> (XEP-0077) could benefit from an update, or even a replacement, and =
when
> that work is completed I'd like to include a method by which a client
> could register a key or cert with the server, thus smoothing the path
> toward password-less authentication. IMHO that will be the best =
approach
> in the longer term, instead of continually tweaking the password-based
> methods. But that's a topic for another time...

I also think transition-needed needs to be deprecated in favor of =
transition within the bound channel (e.g., today via XEP 77, tomorrow =
?).

>=20
> Peter
>=20
> --=20
> Peter Saint-Andre
> https://stpeter.im/
>=20
>=20
>=20
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp


From Kurt.Zeilenga@Isode.COM  Tue Nov  2 08:41:41 2010
Return-Path: <Kurt.Zeilenga@Isode.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 5E73B3A69D2; Tue,  2 Nov 2010 08:41:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.799
X-Spam-Level: 
X-Spam-Status: No, score=-100.799 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_35=0.6, J_CHICKENPOX_43=0.6, J_CHICKENPOX_63=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 juKqZNgkPsL9; Tue,  2 Nov 2010 08:41:40 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 850503A69DA; Tue,  2 Nov 2010 08:41:17 -0700 (PDT)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNAxBAAEeYRv@rufus.isode.com>; Tue, 2 Nov 2010 15:40:54 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>
Date: Tue, 2 Nov 2010 08:40:50 -0700
Message-Id: <17C848A4-E525-4F01-A9D7-47C80A8BDBD0@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Security Area Directorate <secdir@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, XMPP Working Group <xmpp@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@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: Tue, 02 Nov 2010 15:41:41 -0000

On Nov 2, 2010, at 7:13 AM, Kurt Zeilenga wrote:

> Personally, I am against MUST'ing or SHOULD'ing TLS+PLAIN.  While it =
does offer good interoperability, it does good enough security for =
today's, and more importantly, tomorrow's Internet.

s/does good enough/does NOT offer good enough/

-- Kurt=

From stpeter@stpeter.im  Tue Nov  2 09:37: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 E3A1C3A69DE; Tue,  2 Nov 2010 09:37:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.888
X-Spam-Level: 
X-Spam-Status: No, score=-100.888 tagged_above=-999 required=5 tests=[AWL=-0.089, BAYES_00=-2.599, J_CHICKENPOX_35=0.6, J_CHICKENPOX_43=0.6, J_CHICKENPOX_63=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 yYgj7eEQ-39h; Tue,  2 Nov 2010 09:37:08 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 4F97D3A679C; Tue,  2 Nov 2010 09:37:08 -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 7613540D1E; Tue,  2 Nov 2010 10:45:48 -0600 (MDT)
Message-ID: <4CD03E36.3020304@stpeter.im>
Date: Tue, 02 Nov 2010 10:37: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>
In-Reply-To: <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.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="------------ms000106070902070709080102"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.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: Tue, 02 Nov 2010 16:37:11 -0000

This is a cryptographically signed message in MIME format.

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

On 11/2/10 8:13 AM, Kurt Zeilenga wrote:
>=20
> On Nov 2, 2010, at 5:12 AM, Peter Saint-Andre wrote:
>=20
>> On 11/2/10 5:20 AM, Yaron Sheffer wrote:
>>> I'm OK with this text, including (sigh) PLAIN.
>>=20
>> If it's any consolation, I'm sighing along with you. :)
>>=20
>> Two points:
>>=20
>> 1. Eventually, we should be able to drop PLAIN in a future revision
>> of the MTI technologies spec that we'll pull out of 3920bis in 1+
>> years.
>=20
> Good luck with that.  The arguments used now for its inclusion is
> likely to be repeated and, again, win.
>=20
> Personally, I am against MUST'ing or SHOULD'ing TLS+PLAIN.  While it
> does offer good interoperability, it does [NOT offer] good enough secur=
ity for
> today's, and more importantly, tomorrow's Internet.

IMHO the point of moving the MTI list out of the core spec is that we
can revise it more frequently. I think we'll be in a stronger position
to discard PLAIN once we have more SCRAM implementations in our world.

> I think we actually should be mandating a SCRAM-*-PLUS mechanism,
> because channeling bindings are really needed due to 'user click
> through' of TLS warnings, downgrade attack warnings, etc..   I do
> suspect that it will take time for this mechanism to be come
> ubiquitous, but I fear that without a MUST, it will never become
> ubiquitous.   But I do suspect well have multiple independently
> developed implementations of SCRAM-*-PLUS in XMPP within a few months
> of publication of this revision of XMPP.

I think the section on "Mandatory-to-Implement Technologies" is not
quite right, because it needs to say that SCRAM-SHA1-PLUS shall be
*implemented in code*:

###

13.8.1.  For Authentication Only

   For authentication only, servers and clients MUST support the SASL
   Salted Challenge Response mechanism [SCRAM], in particular the SCRAM-
   SHA-1 variant and SCRAM-SHA-1-PLUS variant.

###

Whereas the section on "Use of SASL" specifies when those MTI variants
are actually *used in deployment* by software that implements it:

###

13.9.4.  Use of SASL

   [...]

   The SASL framework itself does not provide a method for binding SASL
   authentication to a security layer providing confidentiality and
   integrity protection that was negotiated at a lower layer (e.g.,
   TLS).  Such a binding is known as a "channel binding" (see
   [CHANNEL]).  Some SASL mechanisms provide channel bindings, which in
   the case of XMPP would typically be a binding to TLS (see
   [CHANNEL-TLS]).  If a SASL mechanism provides a channel binding
   (e.g., this is true of [SCRAM]), then XMPP entities using that
   mechanism SHOULD prefer the channel binding variant (e.g., preferring
   "SCRAM-SHA-1-PLUS" over "SCRAM-SHA-1").  If a SASL mechanism does not
   provide a channel binding, then the mechanism cannot provide a way to
   verify that the source and destination end points to which the lower
   layer's security is bound are equivalent to the end points that SASL
   is authenticating; furthermore, if the end points are not identical,
   then the lower layer's security cannot be trusted to protect data
   transmitted between the SASL-authenticated entities.  In such a
   situation, a SASL security layer SHOULD be negotiated that
   effectively ignores the presence of the lower-layer security.

###

> I suspect I'm in the rough on both points.  Oh well.
>=20
>> 2. The technology that the XMPP community uses for account
>> registration (XEP-0077) could benefit from an update, or even a
>> replacement, and when that work is completed I'd like to include a
>> method by which a client could register a key or cert with the
>> server, thus smoothing the path toward password-less
>> authentication. IMHO that will be the best approach in the longer
>> term, instead of continually tweaking the password-based methods.
>> But that's a topic for another time...
>=20
> I also think transition-needed needs to be deprecated in favor of
> transition within the bound channel (e.g., today via XEP 77, tomorrow
> ?).

I'm not sure exactly what "transition within the bound channel" is, but
it sounds worthy of discussion when we work on 3920ter. At this point I
don't think the XMPP community has a great deal of experience with, or
even understanding of, channel binding, so it's difficult for us to make
strong recommendations that depend on channel binding.

Peter

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




--------------ms000106070902070709080102
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
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYD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1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAzZFN2QG/TO5VnhCxuVQ1h3itYGNhupr8pu2Z2Q4x9RntuD/EhN4xvkSVh
GSp2W+H/A3iz5XFWHKtXfYFGZC33B6HE0mRqHnBlRPiCwe00r09HWR5xb4XSwNczHxJJrQf8
J0dRgKZoxagChV6jY05Sbv7WCTXBcGC+pYfjb4UYkvFZ3z44I29XYbkMMjtajazPj83/GD1k
KtSsst5Bg6ZfDFbQWAmT9E3ZqsyMvbE5wi5fMixzDdkB7ruv+gnSZcMYpC82J6jcD0w5fk53
EiUCGlTLjNPkxuiM7Q9OX8XfJAFzxuK5Fxnlsqkp8hBIR0tiU+8ZSH1HU05bitYlKCtjAAAA
AAAA
--------------ms000106070902070709080102--

From Kurt.Zeilenga@Isode.COM  Tue Nov  2 12:03:36 2010
Return-Path: <Kurt.Zeilenga@Isode.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 E05D03A6A07; Tue,  2 Nov 2010 12:03:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.699
X-Spam-Level: 
X-Spam-Status: No, score=-101.699 tagged_above=-999 required=5 tests=[AWL=0.900, 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 pg4uDaYCc9q4; Tue,  2 Nov 2010 12:03:36 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id CEF823A69D8; Tue,  2 Nov 2010 12:03:35 -0700 (PDT)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNBghgAEeSve@rufus.isode.com>; Tue, 2 Nov 2010 19:03:39 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <4CD03E36.3020304@stpeter.im>
Date: Tue, 2 Nov 2010 12:03:31 -0700
Message-Id: <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, Security Area Directorate <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: Tue, 02 Nov 2010 19:03:37 -0000

On Nov 2, 2010, at 9:37 AM, Peter Saint-Andre wrote:

>>=20
>> I suspect I'm in the rough on both points.  Oh well.
>>=20
>>> 2. The technology that the XMPP community uses for account
>>> registration (XEP-0077) could benefit from an update, or even a
>>> replacement, and when that work is completed I'd like to include a
>>> method by which a client could register a key or cert with the
>>> server, thus smoothing the path toward password-less
>>> authentication. IMHO that will be the best approach in the longer
>>> term, instead of continually tweaking the password-based methods.
>>> But that's a topic for another time...
>>=20
>> I also think transition-needed needs to be deprecated in favor of
>> transition within the bound channel (e.g., today via XEP 77, tomorrow
>> ?).
>=20
> I'm not sure exactly what "transition within the bound channel" is, =
but
> it sounds worthy of discussion when we work on 3920ter.

The problem with transition-needed is that the error is sent outside the =
bound channel.

By "within the bound channel", I mean a transitioning method, including =
any necessary signaling, would be performed inside the bound channel, =
that is, within the new <stream:stream/> protected by the SASL exchange.

> At this point I
> don't think the XMPP community has a great deal of experience with, or
> even understanding of, channel binding, so it's difficult for us to =
make
> strong recommendations that depend on channel binding.

It would be same issue of doing transition outside of a SASL negotiated =
security layer.  It's prone to attack.  And the fix is the same.

-- Kurt=

From stpeter@stpeter.im  Tue Nov  2 13:17: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 1ABF13A69E1; Tue,  2 Nov 2010 13:17:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.932
X-Spam-Level: 
X-Spam-Status: No, score=-101.932 tagged_above=-999 required=5 tests=[AWL=0.667, 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 Y99I3FxLJuff; Tue,  2 Nov 2010 13:17:23 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id EDCBC3A68E6; Tue,  2 Nov 2010 13:17:22 -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 2CA4F40D1E; Tue,  2 Nov 2010 14:26:04 -0600 (MDT)
Message-ID: <4CD071D5.3080808@stpeter.im>
Date: Tue, 02 Nov 2010 14:17:25 -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: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM>
In-Reply-To: <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.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="------------ms050800080302030503040007"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, Security Area Directorate <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: Tue, 02 Nov 2010 20:17:24 -0000

This is a cryptographically signed message in MIME format.

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

On 11/2/10 1:03 PM, Kurt Zeilenga wrote:
>=20
> On Nov 2, 2010, at 9:37 AM, Peter Saint-Andre wrote:
>=20
>>>=20
>>> I suspect I'm in the rough on both points.  Oh well.
>>>=20
>>>> 2. The technology that the XMPP community uses for account=20
>>>> registration (XEP-0077) could benefit from an update, or even
>>>> a replacement, and when that work is completed I'd like to
>>>> include a method by which a client could register a key or cert
>>>> with the server, thus smoothing the path toward password-less=20
>>>> authentication. IMHO that will be the best approach in the
>>>> longer term, instead of continually tweaking the password-based
>>>> methods. But that's a topic for another time...
>>>=20
>>> I also think transition-needed needs to be deprecated in favor
>>> of transition within the bound channel (e.g., today via XEP 77,
>>> tomorrow ?).
>>=20
>> I'm not sure exactly what "transition within the bound channel" is,
>> but it sounds worthy of discussion when we work on 3920ter.
>=20
> The problem with transition-needed is that the error is sent outside
> the bound channel.
>=20
> By "within the bound channel", I mean a transitioning method,
> including any necessary signaling, would be performed inside the
> bound channel, that is, within the new <stream:stream/> protected by
> the SASL exchange.
>=20
>> At this point I don't think the XMPP community has a great deal of
>> experience with, or even understanding of, channel binding, so it's
>> difficult for us to make strong recommendations that depend on
>> channel binding.
>=20
> It would be same issue of doing transition outside of a SASL
> negotiated security layer.  It's prone to attack.  And the fix is the
> same.

What is the attack? If the client required negotiation of TLS before
moving on to SASL, the server has already authenticated to the client at
the stage. As I far as I understand, you are arguing that SASL
negotiation could result in establishment of a further security layer
that is bound to the TLS layer via channel binding, and that it is safe
for the client to send plaintext credentials to the server only after
channel binding has taken place. Correct? If so, then we'd need to
define a post-SASL protocol (that might include work on periodic
re-authentication requests sent from server to client). But IMHO that
work is out of scope for 3920bis. The question is: is it better to
remove the <transition-needed/> SASL condition pending work on the
future protocol extension?

Peter

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




--------------ms050800080302030503040007
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/oHHSv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AAA
AAAA
--------------ms050800080302030503040007--

From Kurt.Zeilenga@Isode.COM  Tue Nov  2 14:11:48 2010
Return-Path: <Kurt.Zeilenga@Isode.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 401773A68CF; Tue,  2 Nov 2010 14:11:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.999
X-Spam-Level: 
X-Spam-Status: No, score=-101.999 tagged_above=-999 required=5 tests=[AWL=0.600, 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 aUqTKNXjaod8; Tue,  2 Nov 2010 14:11:39 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id DA8D23A68E2; Tue,  2 Nov 2010 14:11:36 -0700 (PDT)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNB-igAEeZtJ@rufus.isode.com>; Tue, 2 Nov 2010 21:11:40 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <4CD071D5.3080808@stpeter.im>
Date: Tue, 2 Nov 2010 14:11:36 -0700
Message-Id: <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.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: Tue, 02 Nov 2010 21:11:48 -0000

On Nov 2, 2010, at 1:17 PM, Peter Saint-Andre wrote:

> On 11/2/10 1:03 PM, Kurt Zeilenga wrote:
>>=20
>> On Nov 2, 2010, at 9:37 AM, Peter Saint-Andre wrote:
>>=20
>>>>=20
>>>> I suspect I'm in the rough on both points.  Oh well.
>>>>=20
>>>>> 2. The technology that the XMPP community uses for account=20
>>>>> registration (XEP-0077) could benefit from an update, or even
>>>>> a replacement, and when that work is completed I'd like to
>>>>> include a method by which a client could register a key or cert
>>>>> with the server, thus smoothing the path toward password-less=20
>>>>> authentication. IMHO that will be the best approach in the
>>>>> longer term, instead of continually tweaking the password-based
>>>>> methods. But that's a topic for another time...
>>>>=20
>>>> I also think transition-needed needs to be deprecated in favor
>>>> of transition within the bound channel (e.g., today via XEP 77,
>>>> tomorrow ?).
>>>=20
>>> I'm not sure exactly what "transition within the bound channel" is,
>>> but it sounds worthy of discussion when we work on 3920ter.
>>=20
>> The problem with transition-needed is that the error is sent outside
>> the bound channel.
>>=20
>> By "within the bound channel", I mean a transitioning method,
>> including any necessary signaling, would be performed inside the
>> bound channel, that is, within the new <stream:stream/> protected by
>> the SASL exchange.
>>=20
>>> At this point I don't think the XMPP community has a great deal of
>>> experience with, or even understanding of, channel binding, so it's
>>> difficult for us to make strong recommendations that depend on
>>> channel binding.
>>=20
>> It would be same issue of doing transition outside of a SASL
>> negotiated security layer.  It's prone to attack.  And the fix is the
>> same.
>=20
> What is the attack?

> If the client required negotiation of TLS before
> moving on to SASL, the server has already authenticated to the client =
at
> the stage.

In the SASL negotiated security label case, assume no TLS is used.

In the channeling binding case, assume the user/client is relying on the =
SASL mechanism's mutual authentication capabilities to identify the =
server and is merely using TLS to provide stream security.   This is, I =
think, one of the most significant use case of channel binding, at least =
from the client's perspective. (=46rom the server's perspective, I think =
the most significant aspect of channel binding is that server no longer =
needs to rely on the client and its user to verify the server's =
certificate and perform subject name checks, both of which are likely =
not to done well.)

> As I far as I understand, you are arguing that SASL negotiation could =
result
> in establishment of a further security layer
> that is bound to the TLS layer via channel binding, and that it is =
safe
> for the client to send plaintext credentials to the server only after
> channel binding has taken place. Correct?

I am assuming one either has a SASL negotiated security layer OR a =
securely bound lower-level channel (eg, TLS), not both.

In both cases, with the existing <transition-needed/> error, the SASL =
exchanged has failed, nothing is protected by the SASL exchange.  Which =
means there is no (new) SASL security layer and no channel binding.  So, =
if the user/client is relying on the SASL mechanism's mutual =
authentication, it needs to be extremely caution about what it does in =
response to that error.

By signaling the client that transition is needed in the new stream and =
performing the transition in that stream, we ensure that protections =
provided by any security layer or bound channel is in place.

While the attacker could just as well have attempted to get the client =
to do PLAIN by ensuring PLAIN is the only mechanism listed, a client =
might well caution that use of PLAIN is generally dangerous, most =
clients won't give a complain about the downgrade (because most clients =
don't remember last used mechanism).  By using <transition-needed/> =
error, the attacker likely can get the client to display specific noting =
the server has requested transition (hopefully with a warning about the =
possibility this could be spoofed, and PLAIN is dangerous.  Though I =
don't have a reference, I recall some claiming that users are more =
likely to click through the latter dialogs than the former.=20

That is, <transition-needed/> spoofing may well be a more successful =
downgrade attack than SASL mechanism spoofing.

> If so, then we'd need to
> define a post-SASL protocol (that might include work on periodic
> re-authentication requests sent from server to client). But IMHO that
> work is out of scope for 3920bis. The question is: is it better to

> remove the <transition-needed/> SASL condition pending work on the
> future protocol extension?

I think the question can simple as simple as "Should =
<transition-needed/> be removed?".  I am fine with the question being =
viewed as "too late" to ask.

>=20
> Peter
>=20
> --=20
> Peter Saint-Andre
> https://stpeter.im/
>=20
>=20
>=20
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp


From stpeter@stpeter.im  Tue Nov  2 15:19: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 411FA3A69F0; Tue,  2 Nov 2010 15:19:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.123
X-Spam-Level: 
X-Spam-Status: No, score=-102.123 tagged_above=-999 required=5 tests=[AWL=0.476, 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 I0znJhrQ+gFq; Tue,  2 Nov 2010 15:19:12 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 91A003A68C2; Tue,  2 Nov 2010 15:19: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 89B5940D1E; Tue,  2 Nov 2010 16:27:54 -0600 (MDT)
Message-ID: <4CD08E62.3060202@stpeter.im>
Date: Tue, 02 Nov 2010 16:19: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im> <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM>
In-Reply-To: <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.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="------------ms070604050705080907000006"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.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: Tue, 02 Nov 2010 22:19:14 -0000

This is a cryptographically signed message in MIME format.

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

On 11/2/10 3:11 PM, Kurt Zeilenga wrote:

> I think the question can simple as simple as "Should
> <transition-needed/> be removed?".  I am fine with the question being
> viewed as "too late" to ask.

I don't think that folks in the WG would cry if the feature were
removed, given that:

1. It would be used rarely.

2. No one has implemented it (AFAIK).

3. The text provides many warnings about it.

4. It supposedly opens up the possibility of downgrade attacks.

However, I still fail to see how <transition-needed/> is more evil than
using SASL, at least if TLS is negotiated first (an attacker could just
advertise the PLAIN mechanism over the TLS-protected stream, and if an
attacker has so much control over the server that it can launch attacks
after TLS has been negotiated then the client is in deep trouble anyway!)=
=2E

Furthermore, I think that any client sophisticated enough to support
<transition-needed/> is going to be sophisticated enough to support
SCRAM-based mechanisms, which means it can perform a further check to
make sure that the server really is offering upgraded security
mechanisms (likely, upgrading from DIGEST-MD5 to SCRAM-SHA-1) before
sending the password in plaintext over the TLS-encrypted stream. Another
check: don't use <transition-needed/> more than once with any given XMPP
service (once is enough!). And never send the plaintext password over an
unprotected stream. So IMHO we have a number of protections in place and
that we can safely use the <transition-needed/> feature if we feel that
we really need it. The question is: do we really need it? We do want to
encourage folks to migrate from DIGEST-MD5 (lots of interoperability
issues) to SCRAM, and as part of that upgrade process XMPP services
might need to collect the plaintext password just once. I'd rather have
it done over the XMPP channel than, say, via an HTTPS web page (more
phishing possibilities), but opinions might differ. Feedback from our
security reviewer and the Security ADs would be especially helpful.

All that having been said, if we're going to remove the feature then I
think we need to make sure that the WG has consensus to do so. I leave
that up to the chairs.

Peter

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




--------------ms070604050705080907000006
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/W7fCqKT4s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CCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAquZzccpKpBXoqBcKJcGnvb/Rz2nqxBCwoNMCby3fmw02ZmD3w0CwSzcth
acnvJwxxMHG1lZtSfJbje7wQL3TKkOPG1lWaCxpuA6GXjP5TRnwyJ6Glr0mvlxJNtKWO8IB1
qQd9vidQnhR7Zk3ycI6OI1QDZ+tWH4N7eDF+m3uAEX7sMqYCIcFzaAWi8JEbjMJj7uSoSXc+
Y8eNTzY4khpYQiitIwuZ9yQINcJSJUhyxY2hfPkjgBAfQhrI9ZrJfWLxlWSDD2LUibIgkOmE
WdU35o+2OKVF39b70toIpNb+byREK1uwHJJO8EftPEcIpuIH59xFwnPuq6Z86vcvalR2AAAA
AAAA
--------------ms070604050705080907000006--

From ben@nostrum.com  Tue Nov  2 15:29:36 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 E10FC3A68C2; Tue,  2 Nov 2010 15:29:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.6
X-Spam-Level: 
X-Spam-Status: No, score=-102.6 tagged_above=-999 required=5 tests=[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 rx2bc0q3ee9e; Tue,  2 Nov 2010 15:29: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 F17EB3A6774; Tue,  2 Nov 2010 15:29:34 -0700 (PDT)
Received: from [10.0.1.12] (cpe-76-183-178-106.tx.res.rr.com [76.183.178.106]) (authenticated bits=0) by nostrum.com (8.14.3/8.14.3) with ESMTP id oA2MTbRB010857 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 2 Nov 2010 17:29:38 -0500 (CDT) (envelope-from ben@nostrum.com)
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im> <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM> <4CD08E62.3060202@stpeter.im>
Message-Id: <03A2F4DE-56FF-4420-A1DF-24EE5C6EE82A@nostrum.com>
From: Ben Campbell <ben@nostrum.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CD08E62.3060202@stpeter.im>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Mailer: iPad Mail (7B500)
Mime-Version: 1.0 (iPad Mail 7B500)
Date: Tue, 2 Nov 2010 17:29:36 -0500
Received-SPF: pass (nostrum.com: 76.183.178.106 is authenticated by a trusted mechanism)
Cc: Security Area Directorate <secdir@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>, XMPP Working Group <xmpp@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@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: Tue, 02 Nov 2010 22:29:37 -0000

(as XMPP chair)

On Nov 2, 2010, at 5:19 PM, Peter Saint-Andre <stpeter@stpeter.im> =
wrote:

> On 11/2/10 3:11 PM, Kurt Zeilenga wrote:
>=20
>> I think the question can simple as simple as "Should
>> <transition-needed/> be removed?".  I am fine with the question being
>> viewed as "too late" to ask.
>=20
> I don't think that folks in the WG would cry if the feature were
> removed, given that:
>=20
> 1. It would be used rarely.
>=20
> 2. No one has implemented it (AFAIK).
>=20
> 3. The text provides many warnings about it.
>=20
> 4. It supposedly opens up the possibility of downgrade attacks.
>=20
> However, I still fail to see how <transition-needed/> is more evil =
than
> using SASL, at least if TLS is negotiated first (an attacker could =
just
> advertise the PLAIN mechanism over the TLS-protected stream, and if an
> attacker has so much control over the server that it can launch =
attacks
> after TLS has been negotiated then the client is in deep trouble =
anyway!).
>=20
> Furthermore, I think that any client sophisticated enough to support
> <transition-needed/> is going to be sophisticated enough to support
> SCRAM-based mechanisms, which means it can perform a further check to
> make sure that the server really is offering upgraded security
> mechanisms (likely, upgrading from DIGEST-MD5 to SCRAM-SHA-1) before
> sending the password in plaintext over the TLS-encrypted stream. =
Another
> check: don't use <transition-needed/> more than once with any given =
XMPP
> service (once is enough!). And never send the plaintext password over =
an
> unprotected stream. So IMHO we have a number of protections in place =
and
> that we can safely use the <transition-needed/> feature if we feel =
that
> we really need it. The question is: do we really need it? We do want =
to
> encourage folks to migrate from DIGEST-MD5 (lots of interoperability
> issues) to SCRAM, and as part of that upgrade process XMPP services
> might need to collect the plaintext password just once. I'd rather =
have
> it done over the XMPP channel than, say, via an HTTPS web page (more
> phishing possibilities), but opinions might differ. Feedback from our
> security reviewer and the Security ADs would be especially helpful.
>=20
> All that having been said, if we're going to remove the feature then I
> think we need to make sure that the WG has consensus to do so. I leave
> that up to the chairs.

I concur that we need WG consensus to remove this. We can assume we had =
consensus for the feature to be there in the first place, since it was =
in the doc as pubreq'd.

Certainly the are room for changes due to post WG review without taking =
everything back to the WG. This seems to me to border on too big a =
change for that. It's no big deal to query the work group on it, if we =
see the need.

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

From Kurt.Zeilenga@Isode.COM  Tue Nov  2 17:14:20 2010
Return-Path: <Kurt.Zeilenga@Isode.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 84A2F3A6A51; Tue,  2 Nov 2010 17:14:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.149
X-Spam-Level: 
X-Spam-Status: No, score=-102.149 tagged_above=-999 required=5 tests=[AWL=0.450, 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 M91h49kW1CSP; Tue,  2 Nov 2010 17:14:19 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id F094C3A6A50; Tue,  2 Nov 2010 17:14:18 -0700 (PDT)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNCpXQAEeWm5@rufus.isode.com>; Wed, 3 Nov 2010 00:14:23 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <4CD08E62.3060202@stpeter.im>
Date: Tue, 2 Nov 2010 17:14:19 -0700
Message-Id: <03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im> <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM> <4CD08E62.3060202@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, Security Area Directorate <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: Wed, 03 Nov 2010 00:14:20 -0000

On Nov 2, 2010, at 3:19 PM, Peter Saint-Andre wrote:

> On 11/2/10 3:11 PM, Kurt Zeilenga wrote:
>=20
>> I think the question can simple as simple as "Should
>> <transition-needed/> be removed?".  I am fine with the question being
>> viewed as "too late" to ask.
>=20
> I don't think that folks in the WG would cry if the feature were
> removed, given that:
>=20
> 1. It would be used rarely.
>=20
> 2. No one has implemented it (AFAIK).
>=20
> 3. The text provides many warnings about it.
>=20
> 4. It supposedly opens up the possibility of downgrade attacks.
>=20
> However, I still fail to see how <transition-needed/> is more evil =
than
> using SASL, at least if TLS is negotiated first (an attacker could =
just
> advertise the PLAIN mechanism over the TLS-protected stream, and if an
> attacker has so much control over the server that it can launch =
attacks
> after TLS has been negotiated then the client is in deep trouble =
anyway!).

I think you are considering the issue under a different assumptions than =
I.  I am assuming the user has clicked through any and all warnings they =
were faced with.  I am assuming the client did not well implement =
handling all cases.

For instance, if the user clicked said "connect anyways" to a =
certificate verification/subject check warning, a decent client would =
still warn if it previously used SCRAM-SHA1-PLUS and now is only getting =
SCRAM-SHA1 or just PLAIN, and warning about downgrade possibilities with =
transition-needed.  But far too often clients, not surprisingly, will =
assume that "connect anyways" means that TLS is good for purposes (e.g., =
server has been authenticated by the user by means outside the clients =
control) instead of "good enough for use with mechanisms that provide =
mutual authentication".  Of course, what the user meant was "just =
connect, damn it".

Our application protocol security designs are far too reliant on users =
making non-trival decisions, and far too complex for client developers =
to well implement.  (Such issues are certainly not limited to XMPP.)   =
We ought to design our protocols to avoid having to ask the user to make =
non-trival decisions, and simplify things the client developers as much =
possible (such as by ensuring key protocol bits are adequately protected =
from various attacks, instead of "TLS will save us").  And to make =
matters worse, we tend to repeat 'bad designs' (The transition-needed =
error in protocols has been a problem since introduced, as it never been =
protected by the SASL exchange.)

> Furthermore, I think that any client sophisticated enough to support
> <transition-needed/> is going to be sophisticated enough to support
> SCRAM-based mechanisms,

I disagree here.  A client developer is likely to implement =
transition-needed without at all thinking about the implications of =
whether "connect anyways" means "good enough for mechanism which =
provides server authentication and channel bindings" or simply "good =
enough for anything the server might ask us to do".  And, of course, the =
user just meant "I don't care about this" (but that doesn't mean the =
server operator does care).

Note that I don't mean to blame the user or the client developer here, I =
mean to blame the protocol designers for pushing these problems upon =
them.

> which means it can perform a further check to
> make sure that the server really is offering upgraded security
> mechanisms (likely, upgrading from DIGEST-MD5 to SCRAM-SHA-1) before
> sending the password in plaintext over the TLS-encrypted stream.

And if it notices an issue, what, prompt the user again?

> Another
> check: don't use <transition-needed/> more than once with any given =
XMPP
> service (once is enough!).

Once is enough?  I don't think so.

> And never send the plaintext password over an
> unprotected stream.

Ah, some will take "unprotected" to mean its okay to send the password =
over a stream so long as it has data integrity and data confidentiality =
protection.

That isn't enough.  One ought not send a plaintext password without =
server authentication (preferably that's bound to the protected stream =
end-point).  If the user may have intended to rely on SCRAM for server =
authentication, then just having TLS without any server authentication =
is not good enough.

> So IMHO we have a number of protections in place

The only protections we have assumption that TLS is used with client's =
authentication of the server.  That's a hell of an assumption with =
todays use of TLS on the Internet.   Certainly <transition-protected/> =
is not protected in XMPP use without TLS but with SASL security layers.

Of course, we also rely on this assumption to prevent downgrade via =
mechanism advertisements.  We really ought to do something about that as =
well.

> and
> that we can safely use the <transition-needed/> feature if we feel =
that
> we really need it.  The question is: do we really need it? We do want =
to
> encourage folks to migrate from DIGEST-MD5 (lots of interoperability
> issues) to SCRAM, and as part of that upgrade process XMPP services
> might need to collect the plaintext password just once.

Or again if they select SCRAM specific secrets and then realize they =
still need to support DIGEST-MD5.
Or they decide to move to some other password based mechanism and its =
mechanism specific secret.

It's not 'just once'.

> I'd rather have
> it done over the XMPP channel than, say, via an HTTPS web page (more
> phishing possibilities), but opinions might differ.

I rather have it done in a well-protected XMPP channel.   I don't =
consider the use transition-needed and TLS*+PLAIN as generally well =
protected.

(* TLS as often implemented and used on the Internet, e.g., without =
authentication).

> Feedback from our
> security reviewer and the Security ADs would be especially helpful.
>=20
> All that having been said, if we're going to remove the feature then I
> think we need to make sure that the WG has consensus to do so.

Of course.

-- Kurt=

From yaronf.ietf@gmail.com  Tue Nov  2 03:47: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 771C33A69A9; Tue,  2 Nov 2010 03:47:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.466
X-Spam-Level: 
X-Spam-Status: No, score=-100.466 tagged_above=-999 required=5 tests=[AWL=2.133, 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 h30cjpl9xg4g; Tue,  2 Nov 2010 03:47:40 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id EFCB83A68DC; Tue,  2 Nov 2010 03:47:39 -0700 (PDT)
Received: by wwe15 with SMTP id 15so6788760wwe.13 for <multiple recipients>; Tue, 02 Nov 2010 03:47:43 -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=9kv7wkFbrYHpNf8LVKtMi3yf0nsIf3zEWaCts/+wS08=; b=ZoYXn33rfKr7djN/znkerF7j9UsYIWdF5cpz0wDdxl5eAiQY8uAzfyYJCqUkgvChs6 KexeQYxMmBBevVFociYtRpUxZhVwH8GZ6eyPpSTGEcRqDTos2aClONVqVU6Hmjhn0Y0d XUOzHzgzw+3YbtiNOAkcSI7Se5/xbT7owdKIY=
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=wpkzNNzeTcvsEy0wDSd6qHY6Xyt528Wmpf05sxLT0u1V3M6m3JCwafFVCtaZ1mvRj4 UbOmY/iW+tvtH4IFzJiF6/udUsTcOKT3R6onebCXTqsQxg6lXwtTg7h/JsWhhkU/v0V0 0oxQXV8k3ljlYd9a4wQI8FBSkxET26omlj4KI=
Received: by 10.227.144.13 with SMTP id x13mr16694879wbu.213.1288694862877; Tue, 02 Nov 2010 03:47:42 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-181-26-165.red.bezeqint.net [79.181.26.165]) by mx.google.com with ESMTPS id b30sm6179355wbb.4.2010.11.02.03.47.37 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Nov 2010 03:47:39 -0700 (PDT)
Message-ID: <4CCFEC48.7000808@gmail.com>
Date: Tue, 02 Nov 2010 12:47:36 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCB1334.3030203@stpeter.im> <4CCD8D2B.50900@gmail.com> <4CCF12B2.3050902@stpeter.im>
In-Reply-To: <4CCF12B2.3050902@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 02 Nov 2010 17:58:50 -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: Tue, 02 Nov 2010 10:47:42 -0000

Hi Peter,

I'm OK with all your changes below.

Thanks,
     Yaron

On 11/01/2010 09:19 PM, Peter Saint-Andre wrote:
> On 10/31/10 9:37 AM, Yaron Sheffer wrote:
> >
> > On 10/29/2010 08:32 PM, Peter Saint-Andre wrote:
> >> 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. :)
> >>
> > I accept your reasoning. And servers in most cases can take the risk of
> > information disclosure and still use mutual cert authentication.
>
> One clarification.... In the case of a client-to-server ("c2s")
> connection, it's the client that might leak its credentials to an
> unauthenticated server at the TLS negotiation stage, so IMHO it's not
> quite right to say that the server takes the risk of information
> disclosure. In the server-to-server ("s2s") case, the initiating server
> might leak its credentials. I don't think we're worried about the s2s
> case, because the initiating server is the one that's asking to
> "federate" the two domains in the first place. For the c2s case, so far
> end-user certificates are rare enough that I think the sense of the WG
> was to not make renegotiation a SHOULD. There are some deployment
> scenarios in which end-user certificates are more common (think certain
> military or financial organizations), but in general those deployments
> might lock down the allowable clients and will probably deal with the
> issue at the level of local service policy or a deployment profile
> (i.e., both the client and the server must support TLS renegotiation),
> so in that sense the risk of information disclosure is indeed accepted
> by the application service provider or the organization in which such a
> closed deployment occurs. However, those are specialized deployments and
> we didn't see a need for TLS renegotiation in the general case.
>
> >>> - 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?
> >
> > I was assuming that XMPP has less legacy baggage than HTTP (i.e.
> > browsers) and therefore prohibiting SSLv3 would be reasonable. If it
> > isn't, forget it.
>
> XMPP as an application protocol does have less baggage, but it uses all
> the same TLS libraries and those tend to be driven by HTTP, so I don't
> know if we can really push the envelope here, unfortunately.
>
> >>> - 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?
> >
> > Yes, it makes sense to switch #4 and #5.
>
> Done in my working copy.
>
> > BTW, you meant 5.4.3.1.
>
> Yep, sorry.
>
> >> 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?
> >
> > Yes, this is the basic case, of course it should be mentioned.
>
> In my working copy the text now reads as follows (order changed, text
> tweaked, bullet added)...
>
>     4.  The receiving entity SHOULD choose which certificate to present
>         based on the 'to' attribute of the initial stream header.
>
>     5.  To determine if the TLS negotiation will succeed, the initiating
>         entity MUST attempt to validate the receiving entity's
>         certificate in accordance with the certificate validation
>         procedures specified under Section 13.7.2.
>
>     6.  If the initiating entity presents a certificate, the receiving
>         entity too MUST attempt to validate the initiating entity's
>         certificate in accordance with the certificate validation
>         procedures specified under Section 13.7.2.
>
> >>> - 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).
> >>
> >> 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.
> >>
> > But if the client prefers the old behavior (newest resource wins), it
> > cannot have it. Anyway, I'm sure you have debated this point to death.
>
> It's true that some legacy clients used the old behavior to kick the
> existing resource, but we have better ways to do that now and the costs
> outweighed the benefits (user complaints about not being able to stay
> logged in, etc.). So yes it's been debated. :)
>
> >>> - 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.
> >>
> >> 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).
> >
> > Yes, SHOULD NOT would be BETTER...
>
> Done.
>
> >>> - 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?
> >>
> > What triggered my comment was the name of this element, "not
> > authorized".
>
> We inherited that from HTTP 401 "Unauthorized".
>
> > Both of your examples are (broadly speaking), "not
> > authenticated". What about the same service, where I am duly
> > authenticated as Yaron, but still am not allowed to use the service,
> > e.g. because only users belonging to the all-saints group are allowed to
> > it. This would be a true authorization failure.
>
> Sure. Sticking with the example of multi-user chat rooms, a room admin
> has privileges to perform certain actions (say, kick people out of the
> room); if a non-privileged user attempts to perform such an action, the
> service will return a<forbidden/>  error. Perhaps we don't have a very
> sophisticated authorization model in XMPP, but we've not yet found the
> need for error conditions that are strictly limited to authorization.
>
> >>> - 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.
> >>
> > I would appreciate a pointer to benefit the uninitiated.
>
> Adjusted text:
>
> ###
>
> 8.3.3.16.  registration-required
>
>     The requesting entity is not authorized to access the requested
>     service because prior registration is necessary (examples of prior
>     registration include members-only rooms in XMPP multi-user chat
>     [XEP-0045] and gateways to non-XMPP instant messaging services, which
>     traditionally required registration in order to use the gateway
>     [XEP-0100]); the associated error type SHOULD be "auth".
>
> ###
>
> 8.3.3.21.  subscription-required
>
>     The requesting entity is not authorized to access the requested
>     service because a prior subscription is necessary (examples of prior
>     subscription include authorization to receive presence information as
>     defined in [XMPP-IM] and opt-in data feeds for XMPP publish-subscribe
>     as defined in [XEP-0060]); the associated error type SHOULD be
>     "auth".
>
> ###
>
> Better?
>
> Peter
>
> --
> Peter Saint-Andre
> https://stpeter.im/
>
>
>

From yaronf.ietf@gmail.com  Tue Nov  2 04:10:50 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 A0AB73A68B1; Tue,  2 Nov 2010 04:10:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.532
X-Spam-Level: 
X-Spam-Status: No, score=-101.532 tagged_above=-999 required=5 tests=[AWL=1.067, 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 VrAFSerJIcxR; Tue,  2 Nov 2010 04:10:43 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 06BDA3A687A; Tue,  2 Nov 2010 04:10:41 -0700 (PDT)
Received: by wwe15 with SMTP id 15so6810902wwe.13 for <multiple recipients>; Tue, 02 Nov 2010 04:10:45 -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=3wjdbdMO8EglqtvMsIRyikEDWcg+DdPY/6Y59+IQfm8=; b=YVZZD6Ed7svyBwTq35WAuPPppLK5aBDdB4UEQuu1kiig6tHwAwtdq9cqQeSRo1upr0 +dYOhnm4ItfuV4oH2MODF1Ao1e5LD4eqNZ3qyxcql3I4HD08+5HtVw8tizSYb3g2RVqt Ixm2mwLF5HCl1pbMAXiklV4PHD+fJCkqAHLBo=
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=VWLcuzT3udQRBGoyR/UCQSAMzZ0/E3XAc0ZHJpAeHnDYpwQBexAOZcxRDPK2Vsj4Gc adUyCB8AxydJDu563o8R9cqXRn2YcGC0KTPgkojyd8GqPLcNhBBmmY43NTHhId1Xr52s qUcgK8gHsckFG7umlUri8HJ4jFXCE0TekSwHU=
Received: by 10.227.155.15 with SMTP id q15mr2519906wbw.141.1288696245134; Tue, 02 Nov 2010 04:10:45 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-181-26-165.red.bezeqint.net [79.181.26.165]) by mx.google.com with ESMTPS id a17sm6197568wbe.6.2010.11.02.04.10.42 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Nov 2010 04:10:43 -0700 (PDT)
Message-ID: <4CCFF1B0.4080007@gmail.com>
Date: Tue, 02 Nov 2010 13:10:40 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF20E7.30401@stpeter.im>
In-Reply-To: <4CCF20E7.30401@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 02 Nov 2010 17:58:50 -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: Tue, 02 Nov 2010 11:10:50 -0000

Hi Peter,

please see my comments in-line. I have removed already-closed issues.

Thanks,
     Yaron

On 11/01/2010 10:19 PM, Peter Saint-Andre wrote:
> On 11/1/10 3:25 AM, Yaron Sheffer wrote:
> > Hi Peter,
> >
> > Responding to the last part. Thanks for a constructive discussion.
>
>
> >>> - 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.
> >>
> > Please do. In particular, trusting a non-CA to sign certificates seems
> > to contradict the spirit of PKIX policies.
>
> Yes, I now see that you are right (see previous warning about lack of
> coherence). I've provisionally updated the relevant paragraph of Section
> 13.7.2 as follows, breaking it into bullets for easier readability:
>
> ###
>
>     For both server certificates and client certificates, the validating
>     entity MUST do the following:
>
>     1.  Attempt to verify the integrity of the certificate.
>
>     2.  Attempt to verify that the certificate has been properly signed
>         by the issuing Certificate Authority.
>
>     3.  Attempt to validate the full certification path.
>
>     4.  Check the rules for end entity public key certificates and
>         certification authority certificates specified under
>         Section 13.7.1.1 for the general case and under either
>         Section 13.7.1.2 or Section 13.7.1.2 for XMPP server or client
>         certificates, respectively.
>
>     5.  Check certificate revocation messages.
>
>     If any of those validation attempts fail, either entity MAY choose to
>     unilaterally terminate the session.
>
> ###
>
This is all fine, other than the last sentence. There's little security 
value (or performance value, for that matter) in "MUST check, but only 
MAY choose to fail". With possible minor exceptions, these rules are all 
security-critical.

>
> >>> - 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)?
> >>
> >> 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.
> >>
> > Ahem, the client's 'from' attribute is a SHOULD (4.6.1).
>
> It is, but that's in an effort to move people in the right direction.
> This matter was very unclear in RFC 3920.
>
> >>> 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.
> >>
> >> ###
>
> Does that text seem helpful?
>
Yes, definitely.

> >>> - 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?
> >>
> > AES-128 is just fine. Actually there are major issues with AES-256. But
> > I think this document should specify a ciphersuite, rather than rely on
> > RFC 5246 for that. After all you are essentially profiling TLS.
>
> Done.
>
> There was talk in the XMPP WG of moving all MTI technologies out of the
> core spec so that they could be updated more frequently. Maybe we'll do
> that in the next revision cycle (which will result in a much smaller 
> diff).
>
I also think it's a good idea.


From yaronf.ietf@gmail.com  Tue Nov  2 04:20:17 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 0CD493A68B1; Tue,  2 Nov 2010 04:20:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.888
X-Spam-Level: 
X-Spam-Status: No, score=-101.888 tagged_above=-999 required=5 tests=[AWL=0.711, 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 XW51hWVFWr4B; Tue,  2 Nov 2010 04:20:15 -0700 (PDT)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 8B9D328C113; Tue,  2 Nov 2010 04:20:12 -0700 (PDT)
Received: by wwe15 with SMTP id 15so6819033wwe.13 for <multiple recipients>; Tue, 02 Nov 2010 04:20:11 -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=o6JgBjUhLpehs5Q/EAm2j4GI/FQD69Iw+JPLxLbAlWw=; b=dLMelhbtELV6Sc4ct7ep2te5i9jvLFvTt1VvXhLy7A1bfgr0IRuN/aIe9yA9jzMLZ1 zl7PF5PY1qj1HHS8Ai9sXJj7AWuC93KkXyG0AmXZsfpNCFwd0E5Nxp8IGbuxxJfxhedi ebvbIKbVyTZDezta6sG5PLOriVV+r6JhRK3J4=
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=cInOD4CKTFMAPTpZaW0v8OCjmW0yFkDrugGySmYrJImYlN/gcXPOQPTFj2hCceUQ3G 75Na1+rAJpTuYGkA7w6itF7DY9uMmOA60HPlus0rZ9ErxpxVQ45Yh/xuQulfBhVBzMpv a5z6/ZRFYVlPs7YhTrvv5cEvEjX7ffF07rDYk=
Received: by 10.227.132.209 with SMTP id c17mr3780789wbt.24.1288696811638; Tue, 02 Nov 2010 04:20:11 -0700 (PDT)
Received: from [10.0.0.2] (bzq-79-181-26-165.red.bezeqint.net [79.181.26.165]) by mx.google.com with ESMTPS id a17sm6205467wbe.6.2010.11.02.04.20.08 (version=SSLv3 cipher=RC4-MD5); Tue, 02 Nov 2010 04:20:10 -0700 (PDT)
Message-ID: <4CCFF3E6.7040800@gmail.com>
Date: Tue, 02 Nov 2010 13:20:06 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com>	<4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com>	<4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im>
In-Reply-To: <4CCF9776.5060207@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 02 Nov 2010 17:58:50 -0700
Cc: "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@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: Tue, 02 Nov 2010 11:20:17 -0000

I'm OK with this text, including (sigh) PLAIN.

On 11/02/2010 06:45 AM, Peter Saint-Andre wrote:
> On 11/1/10 8:59 PM, Peter Saint-Andre wrote:
>
> > As mentioned, I'll work to capture these considerations in proposed 
> text.
>
> Here is proposed text. Please review and provide feedback.
>
> ###
>
> 13.8.  Mandatory-to-Implement Technologies
>
>     The following TLS ciphersuites and SASL mechanisms are mandatory-to-
>     implement (naturally, implementations MAY support other ciphersuites
>     and mechanisms as well).  For security considerations related to TLS
>     ciphersuites, see Section 13.9.4 and [TLS].  For security
>     considerations related to SASL mechanisms, Section 13.9.4, [SASL],
>     and specifications for particular SASL mechanisms such as [SCRAM],
>     [DIGEST-MD5], and [PLAIN].
>
> 13.8.1.  For Authentication Only
>
>     For authentication only, servers and clients MUST support the SASL
>     Salted Challenge Response mechanism [SCRAM], in particular the SCRAM-
>     SHA-1 variant (REQUIRED) and SCRAM-SHA-1-PLUS variant (RECOMMENDED if
>     channel binding is possible).
>
>        Security Note: Even though it is possible to complete
>        authentication only without confidentiality, it is RECOMMENDED for
>        servers and clients to protect the stream with TLS before
>        attempting authentication with SASL, both to help protect the
>        information exchanged during SASL negotiation and to help prevent
>        certain downgrade attacks; see also Section 13.9.4 and
>        Section 13.9.5.
>
>        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.  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.8.2.  For Confidentiality Only
>
>     For confidentiality only, servers SHOULD support TLS with the
>     TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite.
>
>        Security Note: Because a connection with confidentiality only has
>        weaker security properties than a connection with both
>        confidentiality and authentication, it is RECOMMENDED for servers
>        and clients to prefer connections with both qualities (e.g., by
>        protecting the stream with TLS before attempting authentication
>        with SASL).  In practice, confidentiality only is employed merely
>        for server-to-server connections when the peer server does not
>        present a certificate and the servers use Server Dialback
>        [XEP-0220] for weak identity verification, but TLS is still
>        desirable to protect the connection against casual eavesdropping.
>
> 13.8.3.  For Confidentiality and Authentication With Passwords
>
>     For both confidentiality and authentication with passwords, servers
>     and clients MUST support TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
>     ciphersuite plus SCRAM-SHA-1 and (when channel binding is possible)
>     SCRAM-SHA-1-PLUS.
>
>     As a fallback when SCRAM is not available, servers MAY offer and
>     clients MAY use TLS with the TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite
>     plus SASL PLAIN.
>
>        Security Note: The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS mechanisms are
>        strongly preferred over the SASL PLAIN mechanism because of their
>        superior security properties.  TLS plus SASL PLAIN is primarily
>        intended to be a fallback for implementations that do not yet
>        support SCRAM.  However, in certain deployment scenarios it can be
>        difficult for a server to offer SCRAM-based mechanisms (e.g.,
>        because the XMPP service depends for authentication purposes on a
>        database or directory that is not under the control of the XMPP
>        administrators).  Furthermore, it can be appropriate for an XMPP
>        service to offer the SASL PLAIN mechanism when it upgrades
>        security mechanisms and needs the plaintext password in order to
>        seed user credentials (see Section 6.5.12).  A client needs to
>        treat all such uses of the SASL PLAIN mechanism with caution, MUST
>        prefer other mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-PLUS, and
>        EXTERNAL) to the PLAIN mechanism, and MUST NOT use the PLAIN
>        mechanism without confidentiality and integrity protection via
>        TLS.
>
> 13.8.4.  For Confidentiality and Authentication Without Passwords
>
>     For both confidentiality and authentication without passwords,
>     servers MUST and clients SHOULD support TLS with the
>     TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus the SASL EXTERNAL
>     mechanism (see Appendix A of [SASL]) supporting PKIX certificates.
>
> ###
>
> Peter
>

From stpeter@stpeter.im  Wed Nov  3 05:13: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 E3FA43A6A9D; Wed,  3 Nov 2010 05:13:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.524
X-Spam-Level: 
X-Spam-Status: No, score=-102.524 tagged_above=-999 required=5 tests=[AWL=0.075, 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 jdltAmnKmbBY; Wed,  3 Nov 2010 05:13:40 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 585293A6825; Wed,  3 Nov 2010 05:13:40 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2E3C940D1E; Wed,  3 Nov 2010 06:22:26 -0600 (MDT)
Message-ID: <4CD151F7.6060809@stpeter.im>
Date: Wed, 03 Nov 2010 06:13: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im> <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM> <4CD08E62.3060202@stpeter.im> <03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM>
In-Reply-To: <03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.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="------------ms020301000600030603070603"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, Security Area Directorate <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: Wed, 03 Nov 2010 12:13:42 -0000

This is a cryptographically signed message in MIME format.

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

On 11/2/10 6:14 PM, Kurt Zeilenga wrote:
>=20
> On Nov 2, 2010, at 3:19 PM, Peter Saint-Andre wrote:
>=20
>> On 11/2/10 3:11 PM, Kurt Zeilenga wrote:
>>=20
>>> I think the question can simple as simple as "Should=20
>>> <transition-needed/> be removed?".  I am fine with the question
>>> being viewed as "too late" to ask.
>>=20
>> I don't think that folks in the WG would cry if the feature were=20
>> removed, given that:
>>=20
>> 1. It would be used rarely.
>>=20
>> 2. No one has implemented it (AFAIK).
>>=20
>> 3. The text provides many warnings about it.
>>=20
>> 4. It supposedly opens up the possibility of downgrade attacks.
>>=20
>> However, I still fail to see how <transition-needed/> is more evil
>> than using SASL, at least if TLS is negotiated first (an attacker
>> could just advertise the PLAIN mechanism over the TLS-protected
>> stream, and if an attacker has so much control over the server that
>> it can launch attacks after TLS has been negotiated then the client
>> is in deep trouble anyway!).
>=20
> I think you are considering the issue under a different assumptions
> than I.  I am assuming the user has clicked through any and all
> warnings they were faced with.  I am assuming the client did not well
> implement handling all cases.
>=20
> For instance, if the user clicked said "connect anyways" to a
> certificate verification/subject check warning, a decent client would
> still warn if it previously used SCRAM-SHA1-PLUS and now is only
> getting SCRAM-SHA1 or just PLAIN, and warning about downgrade
> possibilities with transition-needed.  But far too often clients, not
> surprisingly, will assume that "connect anyways" means that TLS is
> good for purposes (e.g., server has been authenticated by the user by
> means outside the clients control) instead of "good enough for use
> with mechanisms that provide mutual authentication".  Of course, what
> the user meant was "just connect, damn it".
>=20
> Our application protocol security designs are far too reliant on
> users making non-trival decisions, and far too complex for client
> developers to well implement.  (Such issues are certainly not limited
> to XMPP.)   We ought to design our protocols to avoid having to ask
> the user to make non-trival decisions, and simplify things the client
> developers as much possible (such as by ensuring key protocol bits
> are adequately protected from various attacks, instead of "TLS will
> save us").  And to make matters worse, we tend to repeat 'bad
> designs' (The transition-needed error in protocols has been a problem
> since introduced, as it never been protected by the SASL exchange.)
>=20
>> Furthermore, I think that any client sophisticated enough to
>> support <transition-needed/> is going to be sophisticated enough to
>> support SCRAM-based mechanisms,
>=20
> I disagree here.  A client developer is likely to implement
> transition-needed without at all thinking about the implications of
> whether "connect anyways" means "good enough for mechanism which
> provides server authentication and channel bindings" or simply "good
> enough for anything the server might ask us to do".  And, of course,
> the user just meant "I don't care about this" (but that doesn't mean
> the server operator does care).
>=20
> Note that I don't mean to blame the user or the client developer
> here, I mean to blame the protocol designers for pushing these
> problems upon them.
>=20
>> which means it can perform a further check to make sure that the
>> server really is offering upgraded security mechanisms (likely,
>> upgrading from DIGEST-MD5 to SCRAM-SHA-1) before sending the
>> password in plaintext over the TLS-encrypted stream.
>=20
> And if it notices an issue, what, prompt the user again?
>=20
>> Another check: don't use <transition-needed/> more than once with
>> any given XMPP service (once is enough!).
>=20
> Once is enough?  I don't think so.
>=20
>> And never send the plaintext password over an unprotected stream.
>=20
> Ah, some will take "unprotected" to mean its okay to send the
> password over a stream so long as it has data integrity and data
> confidentiality protection.
>=20
> That isn't enough.  One ought not send a plaintext password without
> server authentication (preferably that's bound to the protected
> stream end-point).  If the user may have intended to rely on SCRAM
> for server authentication, then just having TLS without any server
> authentication is not good enough.
>=20
>> So IMHO we have a number of protections in place
>=20
> The only protections we have assumption that TLS is used with
> client's authentication of the server.  That's a hell of an
> assumption with todays use of TLS on the Internet.   Certainly
> <transition-protected/> is not protected in XMPP use without TLS but
> with SASL security layers.
>=20
> Of course, we also rely on this assumption to prevent downgrade via
> mechanism advertisements.  We really ought to do something about that
> as well.
>=20
>> and that we can safely use the <transition-needed/> feature if we
>> feel that we really need it.  The question is: do we really need
>> it? We do want to encourage folks to migrate from DIGEST-MD5 (lots
>> of interoperability issues) to SCRAM, and as part of that upgrade
>> process XMPP services might need to collect the plaintext password
>> just once.
>=20
> Or again if they select SCRAM specific secrets and then realize they
> still need to support DIGEST-MD5. Or they decide to move to some
> other password based mechanism and its mechanism specific secret.
>=20
> It's not 'just once'.
>=20
>> I'd rather have it done over the XMPP channel than, say, via an
>> HTTPS web page (more phishing possibilities), but opinions might
>> differ.
>=20
> I rather have it done in a well-protected XMPP channel.   I don't
> consider the use transition-needed and TLS*+PLAIN as generally well
> protected.
>=20
> (* TLS as often implemented and used on the Internet, e.g., without
> authentication).
>=20
>> Feedback from our security reviewer and the Security ADs would be
>> especially helpful.
>>=20
>> All that having been said, if we're going to remove the feature
>> then I think we need to make sure that the WG has consensus to do
>> so.
>=20
> Of course.

You make a compelling argument. I wish you had made that argument months
ago, but it is compelling. Indeed, it leads in the direction of two
consensus calls within the XMPP WG:

(a) to remove the <transition-needed/> SASL error condition

(b) to remove TLS plus SASL PLAIN as MTI for confidentiality and
authentication

Ideally, both of those changes would be accompanied by additional
security-related text, and in case (b) an interoperability note.

Peter

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




--------------ms020301000600030603070603
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
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh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Sd67tepSGqGsXlOZMQIg0q51SQXght837QVM6xK8CEMIbT96/Yopf
/wJ9oRZJth/7NdqYiX21SBGZp8YLmWYKp8kcvGu07wxvt29g4Aa4ofrBD4FXLchfx3/Nr3wK
0fTim0FRTgkq6U5brMORkQy14eTdpLHx3CNjKn1UEzZmHFZ2r721XdZNdkc13z+Yu+jQ0ysQ
YvgLBdLAskbQ4kCsDOdZklbK/K/TSMqAO4lQcpsW72qmYhTcjew8MddtLOhLrqbH+KXekjYh
YJu6S2se7YmaLxgn9wc0/+Vi8Uk4/0/I5vQeV+9TpHrQiLaAkdMkf4gyQi3HaFLj2TfZAAAA
AAAA
--------------ms020301000600030603070603--

From Kurt.Zeilenga@Isode.COM  Wed Nov  3 08:02:21 2010
Return-Path: <Kurt.Zeilenga@Isode.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 A10373A6AC5; Wed,  3 Nov 2010 08:02:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.342
X-Spam-Level: 
X-Spam-Status: No, score=-102.342 tagged_above=-999 required=5 tests=[AWL=0.257, 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 Bx5c3JBFHp2o; Wed,  3 Nov 2010 08:02:20 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 676D828C0DF; Wed,  3 Nov 2010 08:02:20 -0700 (PDT)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNF5gAAEeXTI@rufus.isode.com>; Wed, 3 Nov 2010 15:02:26 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <4CD151F7.6060809@stpeter.im>
Date: Wed, 3 Nov 2010 08:02:22 -0700
Message-Id: <F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im> <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM> <4CD08E62.3060202@stpeter.im> <03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM> <4CD151F7.6060809@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, Security Area Directorate <secdir@ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.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: Wed, 03 Nov 2010 15:02:21 -0000

On Nov 3, 2010, at 5:13 AM, Peter Saint-Andre wrote:
> You make a compelling argument. I wish you had made that argument =
months
> ago, but it is compelling.  Indeed, it leads in the direction of two
> consensus calls within the XMPP WG:
>=20
> (a) to remove the <transition-needed/> SASL error condition
>=20
> (b) to remove TLS plus SASL PLAIN as MTI for confidentiality and
> authentication
>=20
> Ideally, both of those changes would be accompanied by additional
> security-related text, and in case (b) an interoperability note.

First, I note that (b) is a no-op in practice.  Implementations are =
going to support SASL PLAIN regardless.  Hell, we could even MUST NOT it =
and folks would still implement it.  It's simply too damn necessary for =
integration with 'legacy' password stores.  (I still rather we not MTI =
PLAIN.)

Second, (a) only removes one of two significant downgrade attack =
vectors, the other vector being the mechanisms advertisement and its =
handling.  (I still rather we remove it.)

While we can well craft our security warnings and considerations and =
guidance on how to use unauthenticated v. authenticated TLS and hope =
that client developers get it right.  Basically that text would say "use =
authenticated TLS" to protect against downgrade attack.  That sounds =
great but I doubt its going to have much effect (though I think it still =
should be said).  Clients are still going to offer user's security check =
bypasses and users are going to continue to take those bypasses.

Also as I noted previously, these problems are not unique to XMPP.  =
Instead of slowing down the publication of XMPP, it might be better to =
spin a more general effort to explore ways to address security issues =
due to general assumption that TLS will be used with server =
authentication when it is often used without server authentication, and =
more generally, explore ways to address the "user click through" problem =
(that is, how to secure protocols such that bypasses are less needed).

Lastly, please note that I don't consider this issue 'critical' at this =
point.  It's not going to be critical until such attacks are far more =
common place.  The best way to currently mitigate such attacks is to =
restrict the set of usable mechanisms to those immune to the attack.  =
(For enterprises which provide 'client builds' to their users, they can =
do this for their users as part of those builds.  But, in general, this =
requires user configuration and hence prone to failure.)

-- Kurt


From stpeter@stpeter.im  Wed Nov  3 10:31:43 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 5B8123A6885; Wed,  3 Nov 2010 10:31:43 -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 jtBCLcMR9mYt; Wed,  3 Nov 2010 10:31:42 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id D93933A659B; Wed,  3 Nov 2010 10:31:41 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 97FB040D1E; Wed,  3 Nov 2010 11:40:29 -0600 (MDT)
Message-ID: <4CD19C81.9050509@stpeter.im>
Date: Wed, 03 Nov 2010 11: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im>	<4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com>	<4CD00025.8030804@stpeter.im>	<706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>	<4CD03E36.3020304@stpeter.im>	<60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM>	<4CD071D5.3080808@stpeter.im>	<44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM>	<4CD08E62.3060202@stpeter.im>	<03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM>	<4CD151F7.6060809@stpeter.im> <F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.COM>
In-Reply-To: <F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.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="------------ms050001020805000700060202"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, Security Area Directorate <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: Wed, 03 Nov 2010 17:31:43 -0000

This is a cryptographically signed message in MIME format.

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

On 11/3/10 9:02 AM, Kurt Zeilenga wrote:
>=20
> On Nov 3, 2010, at 5:13 AM, Peter Saint-Andre wrote:
>> You make a compelling argument. I wish you had made that argument
>> months ago, but it is compelling.  Indeed, it leads in the
>> direction of two consensus calls within the XMPP WG:
>>=20
>> (a) to remove the <transition-needed/> SASL error condition
>>=20
>> (b) to remove TLS plus SASL PLAIN as MTI for confidentiality and=20
>> authentication
>>=20
>> Ideally, both of those changes would be accompanied by additional=20
>> security-related text, and in case (b) an interoperability note.
>=20
> First, I note that (b) is a no-op in practice.  Implementations are
> going to support SASL PLAIN regardless.  Hell, we could even MUST NOT
> it and folks would still implement it.  It's simply too damn
> necessary for integration with 'legacy' password stores.  (I still
> rather we not MTI PLAIN.)

This is true.

> Second, (a) only removes one of two significant downgrade attack
> vectors, the other vector being the mechanisms advertisement and its
> handling.  (I still rather we remove it.)

We're not about to get rid of mechanisms advertisement, given that it's
what enables us to do SASL authentication in the first place. :)

However, <transition-needed/> is new in 3920bis and it's better to
remove it now than to encourage software to implement it, only to remove
it in a few years.

> While we can well craft our security warnings and considerations and
> guidance on how to use unauthenticated v. authenticated TLS and hope
> that client developers get it right.  Basically that text would say
> "use authenticated TLS" to protect against downgrade attack. =20

And we already say that.

> That
> sounds great but I doubt its going to have much effect (though I
> think it still should be said).  Clients are still going to offer
> user's security check bypasses and users are going to continue to
> take those bypasses.

Also true.

> Also as I noted previously, these problems are not unique to XMPP.
> Instead of slowing down the publication of XMPP, it might be better
> to spin a more general effort to explore ways to address security
> issues due to general assumption that TLS will be used with server
> authentication when it is often used without server authentication,
> and more generally, explore ways to address the "user click through"
> problem (that is, how to secure protocols such that bypasses are less
> needed).

That does sound like a worthy effort. It might intersect with the WEBSEC =
WG.

> Lastly, please note that I don't consider this issue 'critical' at
> this point.  It's not going to be critical until such attacks are far
> more common place.  The best way to currently mitigate such attacks
> is to restrict the set of usable mechanisms to those immune to the
> attack.  (For enterprises which provide 'client builds' to their
> users, they can do this for their users as part of those builds.
> But, in general, this requires user configuration and hence prone to
> failure.)

OK, so here is one path forward:

(a) Remove <transition-needed/> because it opens a hole that wasn't open
with RFC 3920 and doesn't need to be opened now.

(b) Remove TLS plus SASL PLAIN as mandatory-to-implement for the same
reason (note that it was not mandatory-to-implement in RFC 3920).

As previously mentioned, I think we also need to update the relevant
part of the security considerations -- here is proposed text:

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants.

      Interoperability and Security Note: In practice, when SCRAM is not
      available, typically servers and clients use TLS plus SASL PLAIN.
      The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants of the SCRAM
      mechanism are strongly preferred over the PLAIN mechanism because
      of their vastly superior security properties (including the
      ability to enforce channel binding as described under
      Section 13.9.4).  Although in certain deployment scenarios it can
      be difficult for a server to offer SCRAM-based mechanisms (e.g.,
      because the XMPP service depends for authentication purposes on a
      database or directory that is not under the control of the XMPP
      administrators), in general implementations SHOULD treat TLS plus
      SASL PLAIN as a technology of last resort when interacting with
      implementations that do not yet support SCRAM; in particular, a
      client MUST prefer more secure mechanisms (e.g., SCRAM-SHA-1,
      SCRAM-SHA-1-PLUS, and EXTERNAL) to the PLAIN mechanism and MUST
      NOT use the PLAIN mechanism without at a minimum confidentiality
      and integrity protection via TLS with full certificate validation
      as described under Section 13.7.2.1 (however, the lack of channel
      binding in the PLAIN mechanism implies that even authenticated TLS
      cannot fully protect the SASL negotiation and subsequent
      communications when PLAIN is used).

###

I have no great love for <transition-needed/> or SASL PLAIN, and given
that they were not mentioned or encouraged in RFC 3920 I see no strong
reason to add them in 3920bis. Yes, PLAIN will be used in the short run
and it is helpful to document that fact for interoperability purposes,
but hopefully we can move away from PLAIN with all due speed by
encouraging the use of SCRAM and of EXTERNAL with client certificates.

If the chairs are willing, I would like to request a consensus call on
(a) and (b), based on feedback received during the security review.

Peter

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




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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJB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Z2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBNTl6aZdtrAa04zjEBC9Fv6t8WQ5KOqPP3Sa6W5Xpp/SC5fi2aCPQ9j1DL
bk7GcSWR2pQCRMPQfCbxgYAIgU2ry6Kl6Ufb+jY6C7BNKOCgs4/HtC2eOikxQUo+nD1lZeeb
tozVSkYciTlcpdMjPdoL3XXF+3BeisAamXFA7UyGQAiJA97/WOi/ec936zpajW8JxBRS16uz
gZQO9aO1PXbcBShR7868m1jLt5072LQsoB5ic0Xc7/N1hJ4hSvvwz3qaCvvf8M+mC5pNAReI
x8ZvJGNrFRzTMW6CnbkEry2O6BqhbZzuIWkv1zvUA5tN9LfAL6499kfXKnzgZkZ7EzT2AAAA
AAAA
--------------ms050001020805000700060202--

From ben@nostrum.com  Wed Nov  3 10:39:54 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 EE4FF28C10F; Wed,  3 Nov 2010 10:39:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.6
X-Spam-Level: 
X-Spam-Status: No, score=-102.6 tagged_above=-999 required=5 tests=[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 y7YYj-qWtJ4Y; Wed,  3 Nov 2010 10:39:53 -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 5A54C3A6AD8; Wed,  3 Nov 2010 10:39:50 -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 oA3Hdq61013138 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 3 Nov 2010 12:39:52 -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: <4CD19C81.9050509@stpeter.im>
Date: Wed, 3 Nov 2010 12:39:52 -0500
Content-Transfer-Encoding: 7bit
Message-Id: <74CE7A43-0E0B-4847-98D0-501EDEAA78F4@nostrum.com>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im>	<4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com>	<4CD00025.8030804@stpeter.im>	<706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>	<4CD03E36.3020304@stpeter.im>	<60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM>	<4CD071D5.3080808@stpeter.im>	<44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM>	<4CD08E62.3060202@stpeter.im>	<03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM>	<4CD151F7.6060809@stpeter.im> <F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.COM> <4CD19C81.9050509@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: Security Area Directorate <secdir@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>, XMPP Working Group <xmpp@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@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: Wed, 03 Nov 2010 17:39:54 -0000

(as chair)

On Nov 3, 2010, at 12:31 PM, Peter Saint-Andre wrote:

> If the chairs are willing, [...]

No objection to the consensus call from me, at least

> I would like to request a consensus call on
> (a) and (b), based on feedback received during the security review.

I think you just did :-)

From jhutz@cmu.edu  Tue Nov  2 20:58:14 2010
Return-Path: <jhutz@cmu.edu>
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 AAD7C3A6868; Tue,  2 Nov 2010 20:58:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.799
X-Spam-Level: 
X-Spam-Status: No, score=-104.799 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_35=0.6, J_CHICKENPOX_43=0.6, J_CHICKENPOX_63=0.6, 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 AF8bu0X2LRa9; Tue,  2 Nov 2010 20:58:13 -0700 (PDT)
Received: from smtp01.srv.cs.cmu.edu (SMTP01.SRV.CS.CMU.EDU [128.2.217.196]) by core3.amsl.com (Postfix) with ESMTP id 858223A6867; Tue,  2 Nov 2010 20:58:13 -0700 (PDT)
Received: from LYSITHEA.FAC.CS.CMU.EDU (LYSITHEA.FAC.CS.CMU.EDU [128.2.172.62]) (authenticated bits=0) by smtp01.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id oA33wGeu018983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Nov 2010 23:58:16 -0400 (EDT)
Date: Tue, 02 Nov 2010 23:58:16 -0400
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>, Peter Saint-Andre <stpeter@stpeter.im>
Message-ID: <94ADA1731FD50A77669ECEC7@lysithea.fac.cs.cmu.edu>
In-Reply-To: <12812_1288707203_oA2EDMV4029593_706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im>	<4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com>	<4CD00025.8030804@stpeter.im> <12812_1288707203_oA2EDMV4029593_706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>
X-Mailer: Mulberry/4.0.8 (Linux/x86)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-Scanned-By: mimedefang-cmuscs on 128.2.217.196
X-Mailman-Approved-At: Wed, 03 Nov 2010 10:42:28 -0700
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, jhutz@cmu.edu, The IESG <iesg@ietf.org>, XMPP Working Group <xmpp@ietf.org>, Security Area Directorate <secdir@ietf.org>
Subject: Re: [xmpp] [secdir]  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: Wed, 03 Nov 2010 03:58:14 -0000

--On Tuesday, November 02, 2010 07:13:14 AM -0700 Kurt Zeilenga 
<Kurt.Zeilenga@Isode.COM> wrote:

>
> On Nov 2, 2010, at 5:12 AM, Peter Saint-Andre wrote:
>
>> On 11/2/10 5:20 AM, Yaron Sheffer wrote:
>>> I'm OK with this text, including (sigh) PLAIN.
>>
>> If it's any consolation, I'm sighing along with you. :)
>>
>> Two points:
>>
>> 1. Eventually, we should be able to drop PLAIN in a future revision of
>> the MTI technologies spec that we'll pull out of 3920bis in 1+ years.
>
> Good luck with that.  The arguments used now for its inclusion is likely
> to be repeated and, again, win.
>
> Personally, I am against MUST'ing or SHOULD'ing TLS+PLAIN.  While it does
> offer good interoperability, it does good enough security for today's,
> and more importantly, tomorrow's Internet.
>
> I think we actually should be mandating a SCRAM-*-PLUS mechanism, because
> channeling bindings are really needed due to 'user click through' of TLS
> warnings, downgrade attack warnings, etc..   I do suspect that it will
> take time for this mechanism to be come ubiquitous, but I fear that
> without a MUST, it will never become ubiquitous.   But I do suspect well
> have multiple independently developed implementations of SCRAM-*-PLUS in
> XMPP within a few months of publication of this revision of XMPP.
>
> I suspect I'm in the rough on both points.  Oh well.
>
>> 2. The technology that the XMPP community uses for account registration
>> (XEP-0077) could benefit from an update, or even a replacement, and when
>> that work is completed I'd like to include a method by which a client
>> could register a key or cert with the server, thus smoothing the path
>> toward password-less authentication. IMHO that will be the best approach
>> in the longer term, instead of continually tweaking the password-based
>> methods. But that's a topic for another time...
>
> I also think transition-needed needs to be deprecated in favor of
> transition within the bound channel (e.g., today via XEP 77, tomorrow ?).

FWIW, I agree on all of these points.

-- Jeff

From stpeter@stpeter.im  Wed Nov  3 11:08: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 3B4B628C10D for <xmpp@core3.amsl.com>; Wed,  3 Nov 2010 11:08:59 -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 4J-IYRQMGHph for <xmpp@core3.amsl.com>; Wed,  3 Nov 2010 11:08:58 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B917428C10F for <xmpp@ietf.org>; Wed,  3 Nov 2010 11:08:57 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D5C6C40D1F; Wed,  3 Nov 2010 12:17:46 -0600 (MDT)
Message-ID: <4CD1A53F.2090508@stpeter.im>
Date: Wed, 03 Nov 2010 12:09:03 -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: Ben Campbell <ben@nostrum.com>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im>	<4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com>	<4CD00025.8030804@stpeter.im>	<706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>	<4CD03E36.3020304@stpeter.im>	<60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM>	<4CD071D5.3080808@stpeter.im>	<44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM>	<4CD08E62.3060202@stpeter.im>	<03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM>	<4CD151F7.6060809@stpeter.im> <F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.COM> <4CD19C81.9050509@stpeter.im> <74CE7A43-0E0B-4847-98D0-501EDEAA78F4@nostrum.com>
In-Reply-To: <74CE7A43-0E0B-4847-98D0-501EDEAA78F4@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="------------ms050308070908000204040302"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: 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: Wed, 03 Nov 2010 18:08:59 -0000

This is a cryptographically signed message in MIME format.

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

(trimming to the XMPP WG list, changing the subject)

On 11/3/10 11:39 AM, Ben Campbell wrote:
> (as chair)
>=20
> On Nov 3, 2010, at 12:31 PM, Peter Saint-Andre wrote:
>=20
>> If the chairs are willing, [...]
>=20
> No objection to the consensus call from me, at least
>=20
>> I would like to request a consensus call on
>> (a) and (b), based on feedback received during the security review.
>=20
> I think you just did :-)

Heh, OK. Usually I would defer to the chairs for issuance of a call for
consensus, but since you've said it's OK, here goes...

In case WG folks have tuned out list discussion related to the security
review (and do refer to the preceding messages for the full context!), I
would like to request a call for consensus on the following changes to
draft-ietf-xmpp-3920bis:

(a) Remove the <transition-needed/> SASL error condition, because it
opens a hole that wasn't open with RFC 3920 and doesn't need to be
opened now.

(b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security
technology, for the same reason (note that it was not
mandatory-to-implement in RFC 3920).

Please reply by 23:59 UTC on Wednesday, November 10, since that will
enable me to submit a revised I-D during the IETF meeting next week.

Thanks!

Peter

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




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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAo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ZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBFP3E9I8BnlV/Xb7mJKZdJgQBZAM/UIrfjDGmaFXOeq5C2l471+iMXfJEV
WZO+fvb4PVmSKzMKNYJSd5jG85qj7dPDeX9V4OhC04Q4P+2DUVkeigWUknivEvMUDXB4MJtY
5PFLy8F1FOteeNSudDnOtQKn7EFvLy0T0JtffWYuiLiNFWsN96PM4gaFpk+se6WfmmCZx0As
Pqsvss86LguM4hHpi5aWrDjZBoFv+h7dJqJdcQnsbnQ7ny9sEzaUxl4jYp4bde2YEBVq8q6D
2PVR5NckLDrhLX6kFaN9wIYVWLanQR+Pk4TC/zfJvs7U+Z3JCeTXi4XeqsC5Qls25uusAAAA
AAAA
--------------ms050308070908000204040302--

From mwild1@gmail.com  Wed Nov  3 11:10:42 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 BD52228C121; Wed,  3 Nov 2010 11:10:42 -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 bHWwqktewGeK; Wed,  3 Nov 2010 11:10:40 -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 D72CE28C117; Wed,  3 Nov 2010 11:10:38 -0700 (PDT)
Received: by gxk7 with SMTP id 7so728579gxk.31 for <multiple recipients>; Wed, 03 Nov 2010 11:10:46 -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=sY2Nejy210Koa51egLao/sHWXiDCvKPCSuktyLwQCLs=; b=fPtidEEIkcj8Uhs6b+OEnfYsPaNL0t7nSpzd5yf1+LyDUQU6Pk5AXZ+3yGXRpDEnLD yTy8foONDFaFwdHgDpqh0pSQC+iDxJIMMPrHcTs7SUI3rux2AAOT+xcTy+01E4OYrrbt bG9mnMQT7WB4w6qTcGeDiWAFnM22TnZNwgb40=
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=apvA/Fx1u+1ncvP3uM9p0t3IcwhDx3chyk3btv4fi/oBY7QcZrw2+CfgWoux9FmcwJ KLYm4fHzlew/p2vJDHU9huJo7D5J0hNKNc+HVDFBTXxyDGKz0tF/HHEfgxvkMD5P/XFR ZlK63xeAfS0vo8oGQybD0B3yrmS8QmupG02uE=
Received: by 10.42.21.17 with SMTP id i17mr13861637icb.263.1288807845597; Wed, 03 Nov 2010 11:10:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Wed, 3 Nov 2010 11:10:25 -0700 (PDT)
In-Reply-To: <4CD19C81.9050509@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im> <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM> <4CD08E62.3060202@stpeter.im> <03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM> <4CD151F7.6060809@stpeter.im> <F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.COM> <4CD19C81.9050509@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 3 Nov 2010 18:10:25 +0000
Message-ID: <AANLkTinmSdGN2D1ZzwCQy9iYTTfSfXoF+T+nBOxcLkPv@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: Security Area Directorate <secdir@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, Kurt Zeilenga <Kurt.Zeilenga@isode.com>, XMPP Working Group <xmpp@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@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: Wed, 03 Nov 2010 18:10:43 -0000

On 3 November 2010 17:31, Peter Saint-Andre <stpeter@stpeter.im> wrote:
>

> =C2=A0 =C2=A0 =C2=A0as described under Section 13.7.2.1 (however, the lac=
k of channel
> =C2=A0 =C2=A0 =C2=A0binding in the PLAIN mechanism implies that even auth=
enticated TLS
> =C2=A0 =C2=A0 =C2=A0cannot fully protect the SASL negotiation and subsequ=
ent
> =C2=A0 =C2=A0 =C2=A0communications when PLAIN is used).
>

I'm no expert on this, but is this text technically true? I thought
channel binding would only be beneficial where there is not full TLS
authentication.

I'm not going to weigh in on the to-MTI/to-not-MTI issue... it's not
going to affect anything either way. There are deployment scenarios
where PLAIN is necessary, and as far as I'm aware it is quite safe
with full TLS verification/authentication. I think Kurt is mainly
arguing that in practice TLS is rarely fully verified. However this is
a deployment issue, and has no bearing on the protocol - though were
we to MTI for interop reasons we should of course strongly stress the
importance of TLS being fully verified when using PLAIN.

Regards,
Matthew

From Kurt.Zeilenga@isode.com  Wed Nov  3 14:03:42 2010
Return-Path: <Kurt.Zeilenga@isode.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 666E23A688D; Wed,  3 Nov 2010 14:03:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.374
X-Spam-Level: 
X-Spam-Status: No, score=-102.374 tagged_above=-999 required=5 tests=[AWL=0.225, 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 HAlsPV3b8SUt; Wed,  3 Nov 2010 14:03:41 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 3F6EF3A66B4; Wed,  3 Nov 2010 14:03:41 -0700 (PDT)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNHOMQAEebuE@rufus.isode.com>; Wed, 3 Nov 2010 21:03:47 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
In-Reply-To: <AANLkTinmSdGN2D1ZzwCQy9iYTTfSfXoF+T+nBOxcLkPv@mail.gmail.com>
Date: Wed, 3 Nov 2010 14:03:42 -0700
Message-Id: <28590B36-877A-47AF-9B7A-D5A3FA3B2079@isode.com>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im> <4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de> <2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im> <4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com> <4CD00025.8030804@stpeter.im> <706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM> <4CD03E36.3020304@stpeter.im> <60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM> <4CD071D5.3080808@stpeter.im> <44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM> <4CD08E62.3060202@stpeter.im> <03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM> <4CD151F7.6060809@stpeter.im> <F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.COM> <4CD19C81.9050509@stpeter.im> <AANLkTinmSdGN2D1ZzwCQy9iYTTfSfXoF+T+nBOxcLkPv@mail.gmail.com>
To: Matthew Wild <mwild1@gmail.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Security Area Directorate <secdir@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, XMPP Working Group <xmpp@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@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: Wed, 03 Nov 2010 21:03:42 -0000

On Nov 3, 2010, at 11:10 AM, Matthew Wild wrote:

> On 3 November 2010 17:31, Peter Saint-Andre <stpeter@stpeter.im> =
wrote:
>>=20
>=20
>>      as described under Section 13.7.2.1 (however, the lack of =
channel
>>      binding in the PLAIN mechanism implies that even authenticated =
TLS
>>      cannot fully protect the SASL negotiation and subsequent
>>      communications when PLAIN is used).
>>=20
>=20
> I'm no expert on this, but is this text technically true? I thought
> channel binding would only be beneficial where there is not full TLS
> authentication.

Channel binding is beneficial regardless of whether there the client =
performed TLS server cert/subject checks.  Note that the server has no =
clue what checks, if any, the client (or its user) performed.  With =
channel bindings, it becomes irrelevant to the server whether the client =
performed these checks or not.  That is, (amongst other things) channel =
bindings provide a means for the server itself to protect against MITM =
attacks.

I do agree, however, that he wording of the however comment is confusing =
and seems should either be removed or replaced.

My main concern is that Unauthenticated TLS is subject to downgrade to =
PLAIN by two vectors, spoofing mechanisms and spoofing transition =
required.

Removing <transition-needed/> (in favor of a yet to be specified =
extension) addresses one vector.

There seems no good way to address the other vector at this time.  I do =
suggest however that the 13.9.4 text:
   To help prevent this attack, the parties
   SHOULD protect the channel using TLS before attempting SASL
   negotiation.
be replaced with:
   To mitigate this attack, the partied SHOULD protect the channel using =
TLS before attempting SASL negotiation and either
   perform full certificate validation as described in Section 13.7.2.1 =
or utilize a mechanism which provides channel bindings,
   such as SCRAM-SHA-1-PLUS.=20

-- Kurt=

From stpeter@stpeter.im  Wed Nov  3 14:41: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 937773A68E8; Wed,  3 Nov 2010 14:41:24 -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 YhzHNR+SuTuT; Wed,  3 Nov 2010 14:41:23 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2EF483A66B4; Wed,  3 Nov 2010 14:41:23 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D917E40D1E; Wed,  3 Nov 2010 15:50:12 -0600 (MDT)
Message-ID: <4CD1D708.7010308@stpeter.im>
Date: Wed, 03 Nov 2010 15:41:28 -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> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF20E7.30401@stpeter.im>
In-Reply-To: <4CCF20E7.30401@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="------------ms020704090006000309010701"
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: Wed, 03 Nov 2010 21:41:24 -0000

This is a cryptographically signed message in MIME format.

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

Hi Yaron, following up our discusion, here is proposed text for the
conformance features you suggested...

On 11/1/10 2:19 PM, Peter Saint-Andre wrote:
> On 11/1/10 3:25 AM, Yaron Sheffer wrote:
>=20
>> On 10/30/2010 07:05 AM, Peter Saint-Andre wrote:
>>>
>>> On 10/28/10 4:28 AM, Yaron Sheffer wrote:
>>>
>>>> - 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, b=
ut
>>>> not the whole thing.
>>>
>>> I agree with you that the layering topics are important here. Do you
>>> have specific suggestions?
>>>
>> - Server side: correlate cert-asserted client ID with "from".
>> - Server: correlate "from" on stream to identity as authenticated by S=
ASL.
>> - Server: rewrite "from" on stanza to authenticated ID.
>> - Client side: correlate cert-asserted server ID with "from".
>> - Client: correlate "from" on stream to identity as authenticated by T=
LS
>> certs and/or SASL.

I think we can combine client and server validation into two features
(instead of four), one for TLS and one for SASL.

The TLS feature would be:

   Feature:  tls-correlate
   Description:  When validating a certificate presented by a stream
      peer during TLS negotiation, correlate the validated identity with
      the 'from' address (if any) of the stream header it received from
      the peer.
   Section:  Section 13.7.2
   Roles:  Client SHOULD, Server SHOULD.

As a target for that pointer, I think we need to add the following
paragraph to the end of Section 13.7.2 ("Certificate Validation"):

   Once the identity of the stream peer has been validated, the
   validating entity SHOULD also correlate the validated identity with
   the 'from' address (if any; see Section 4.6.1) of the stream header
   it received from the peer.  If the two identities do not match, the
   validating entity SHOULD terminate the connection attempt.

The SASL feature would be:

   Feature:  sasl-correlate
   Description:  When authenticating a stream peer using SASL, correlate
      the authentication identifier resulting from SASL negotiation with
      the 'from' address (if any) of the stream header it received from
      the peer.
   Section:  Section 6.4.6
   Roles:  Client N/A, Server SHOULD.

As a target for that pointer, I think we need to add the following
paragraph to the beginning of Section 6.4.6 ("SASL Success"):

   Before considering the SASL handshake to be a success, the receiving
   entity SHOULD correlate the authentication identity resulting from
   the SASL negotiation with the 'from' address (if any; see
   Section 4.6.1) of the stream header it received from the initiating
   entity.  If the two identities do not match, the receiving entity
   SHOULD terminate the connection attempt.

Finally, we need one more feature, for server stamping of client 'from'
addresses:

   Feature:  stanza-attribute-from-stamp
   Description:  Stamp or rewrite the 'from' address of all stanzas
      received from connected clients.
   Section:  Section 8.1.2.1
   Roles:  Client N/A, Server MUST.

Let me know if those seem reasonable.

Peter

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




--------------ms020704090006000309010701
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
DVN0YXJ0Q29tIEx0Z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hkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBtrA4HEywAyXkLqwBhoUV16ci5pKgDi60efze2ztf0Ju9oDShN+fQSZ9Lx
XE6NMfrC6iwrnm38NfByGAaHBClNtpClaCMfB3c17x7HVXFAQZfbVxav7IK/h6/pKuD9X8cq
5QdaECtglqk+y4eAojnEgHRLMy+rwlGQ+Te8S0caiqeI6d/fcOtnk4e268UuWS51EykFopij
F8D8vKsdOf38UIxJimdghIVXc9Aqif8yUYvUbU8nvBfSLO4s9MPMyWJdsCJ0UiZNv7CF58H5
hIkKRky96LajH1o58/BU3hU3lzYh3SpqXGLM2BR/4cN8IUO8L+UmFbHqYA0zjkvYp2YOAAAA
AAAA
--------------ms020704090006000309010701--

From stpeter@stpeter.im  Wed Nov  3 14:53: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 1292B3A690A; Wed,  3 Nov 2010 14:53:27 -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.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 FQ7chxOLHGVd; Wed,  3 Nov 2010 14:53:26 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id D92123A68E8; Wed,  3 Nov 2010 14:53:25 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 0DD7D40D1E; Wed,  3 Nov 2010 16:02:14 -0600 (MDT)
Message-ID: <4CD1D9DA.9020400@stpeter.im>
Date: Wed, 03 Nov 2010 15:53: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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Kurt Zeilenga <Kurt.Zeilenga@isode.com>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF04D3.6020504@babelmonkeys.de>	<2761.1288645043.347835@puncture> <4CCF7E7A.5050303@stpeter.im>	<4CCF9776.5060207@stpeter.im> <4CCFF3E6.7040800@gmail.com>	<4CD00025.8030804@stpeter.im>	<706C109C-A2D2-4E17-B5AA-6B881F7E0334@Isode.COM>	<4CD03E36.3020304@stpeter.im>	<60F15D22-C2F2-47F7-8BC1-4442B764EDFA@Isode.COM>	<4CD071D5.3080808@stpeter.im>	<44FB1E43-1F0F-4652-B6FF-D437B6C53DE7@Isode.COM>	<4CD08E62.3060202@stpeter.im>	<03C37501-30DB-4C80-8358-DD853EF59F1A@Isode.COM>	<4CD151F7.6060809@stpeter.im>	<F7E7C266-C802-4487-8A0F-DE930EBB2098@Isode.COM>	<4CD19C81.9050509@stpeter.im>	<AANLkTinmSdGN2D1ZzwCQy9iYTTfSfXoF+T+nBOxcLkPv@mail.gmail.com> <28590B36-877A-47AF-9B7A-D5A3FA3B2079@isode.com>
In-Reply-To: <28590B36-877A-47AF-9B7A-D5A3FA3B2079@isode.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="------------ms010106010101030308050604"
Cc: Security Area Directorate <secdir@ietf.org>, "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, XMPP Working Group <xmpp@ietf.org>, Yaron Sheffer <yaronf.ietf@gmail.com>, The IESG <iesg@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: Wed, 03 Nov 2010 21:53:27 -0000

This is a cryptographically signed message in MIME format.

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

On 11/3/10 3:03 PM, Kurt Zeilenga wrote:
>=20
> On Nov 3, 2010, at 11:10 AM, Matthew Wild wrote:
>=20
>> On 3 November 2010 17:31, Peter Saint-Andre <stpeter@stpeter.im>
>> wrote:
>>>=20
>>=20
>>> as described under Section 13.7.2.1 (however, the lack of
>>> channel binding in the PLAIN mechanism implies that even
>>> authenticated TLS cannot fully protect the SASL negotiation and
>>> subsequent communications when PLAIN is used).
>>>=20
>>=20
>> I'm no expert on this, but is this text technically true? I
>> thought channel binding would only be beneficial where there is not
>> full TLS authentication.
>=20
> Channel binding is beneficial regardless of whether there the client
> performed TLS server cert/subject checks.  Note that the server has
> no clue what checks, if any, the client (or its user) performed.
> With channel bindings, it becomes irrelevant to the server whether
> the client performed these checks or not.  That is, (amongst other
> things) channel bindings provide a means for the server itself to
> protect against MITM attacks.
>=20
> I do agree, however, that he wording of the however comment is
> confusing and seems should either be removed or replaced.

Removed in my working copy.

> My main concern is that Unauthenticated TLS is subject to downgrade
> to PLAIN by two vectors, spoofing mechanisms and spoofing transition
> required.
>=20
> Removing <transition-needed/> (in favor of a yet to be specified
> extension) addresses one vector.
>=20
> There seems no good way to address the other vector at this time.  I
> do suggest however that the 13.9.4 text: To help prevent this attack,
> the parties SHOULD protect the channel using TLS before attempting
> SASL negotiation. be replaced with: To mitigate this attack, the
> partied SHOULD protect the channel using TLS before attempting SASL
> negotiation and either perform full certificate validation as
> described in Section 13.7.2.1 or utilize a mechanism which provides
> channel bindings, such as SCRAM-SHA-1-PLUS.

Text incorporated, with minor tweaks.

Peter

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




--------------ms010106010101030308050604
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
aW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48RR5dGwP7HNBJdRuf
tr8AsHLMWtb0Ey0VFEZDqsGdkRm7YZpSl0wJSlU1RckLIt83Hm96gqXspU4cc3zLnbVu98yj
3Jt1oZ86FAKcNpLWFeQcSqTheAjNdWcSNFTW34mlG08i68rljyoX07kU17A9GAdngneaZsqr
00mxgYv9kvLWMD8DD2YCbdAkBzn4Hldc7wZnoE4eAa5EjRRs/FTF2Dggyqa9PGDRy0scAAAA
AAAA
--------------ms010106010101030308050604--

From stpeter@stpeter.im  Wed Nov  3 15:59:07 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 617DB3A68F7; Wed,  3 Nov 2010 15:59:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.266
X-Spam-Level: 
X-Spam-Status: No, score=-102.266 tagged_above=-999 required=5 tests=[AWL=-0.267, BAYES_00=-2.599, 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 fGxfFD8rGAgU; Wed,  3 Nov 2010 15:59:06 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2F1973A67FE; Wed,  3 Nov 2010 15:59:06 -0700 (PDT)
Received: from squire.local (dsl-228-82.dynamic-dsl.frii.net [216.17.228.82]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 528CA40D1E; Wed,  3 Nov 2010 17:07:56 -0600 (MDT)
Message-ID: <4CD1E93F.2050501@stpeter.im>
Date: Wed, 03 Nov 2010 16:59: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.12) Gecko/20101027 Thunderbird/3.1.6
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> <4CC5897C.3080600@stpeter.im> <4CCEA426.8060003@mail.symlynx.com>
In-Reply-To: <4CCEA426.8060003@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="------------ms060304030105080805010304"
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: Wed, 03 Nov 2010 22:59:07 -0000

This is a cryptographically signed message in MIME format.

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

On 11/1/10 5:27 AM, Philipp Hancke wrote:
> Peter Saint-Andre wrote:
> [...]
>> 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
>=20
> s/TLS client/TLS server/

In XMPP at least, if Romeo's personal server (montague.lit) attempts to
connect to Juliet's personal server (capulet.lit), he asserts to her
that he is montague.lit and she takes that as her reference identifier.
Thus her server is acting as a TLS client in relation to the presented
identifiers in the certificate that Romeo's personal server provides.
This is what's distinctive about the server-to-server case -- an
application service is acting as a TLS client.

>>     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 se=
nd
>>     a message from an entity associated with the peer server to an
>=20
> I think it is not clear who is verifying=20

If you try to connect to me, I'm going to verify you -- even if I'm an
XMPP server.

> (probably because both parties
> are for xmpp-s2s).=20

Yes, ideally the verification happens in both directions.

> What about:
>=20
> In some application protocols, the procedure described in this section
> can also be performed by an application server when verifying a incomin=
g
> [server-to-server?] connection from a peer, not only when verifying an
> outgoing connection (e.g., this is true for XMPP).
> In this case, the application server, acting as a TLS server, verifies
> the identity of the TLS client and the reference identifier is in
> essence supplied by the peer [...]
>=20
> [where the peer server is the TLS client]

I think the peer server is the TLS server and the application service is
the TLS client.

>>     entity associated with the application service).  Other than the
>>     source of the reference identifier and the inverted roles of the T=
LS
>>     client and TLS server, the verification process remains unchanged.=

>=20
> +1

I suggest the following modified text:

      Note: In some application protocols (e.g., XMPP), the procedure
      described in this section can be performed by an application
      server acting as a TLS client when verifying an incoming server-
      to-server connection, not only by an application client acting as
      a TLS client when verifying the server with which it is
      interacting to establish an outgoing client-to-server connection.
      In this case, the application server verifies the identity of the
      peer server that is attempting to connect and uses as its
      reference identifier the DNS domain name asserted 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 fact that an application service is
      acting as a TLS client, the verification process remains
      unchanged.

/psa


--------------ms060304030105080805010304
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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WNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBnY/e1/9FbLegHw2x1kRFiguBl/hWGYdVZ+KX03E+AQLNvWTeOojHRV757
Y8SA9RxiBKKgLQgKH07a0lPNaLUDvsZQob7VovC4FNjBeuFq9rfVZjhsm9RaIP4eK9LGGvEf
5yof7Nm2+QAWdo4+6Zt+CDZO/oc4z5579LrUVfco8BotevYYKppX03THvP5jG4neTaTWfHdT
uAxxm0GGk50Pjvho+CHPFBol/87ujgiYdmXqTQ0jlZOFlluQfBYLgvsYKmtGoHec3cLtmoqj
pkXTQmHg24zklabTe7KE6v9NtaAy8mBf7mVr/hWahKJRthWWq4VewuGCeJsSnxE6elVtAAAA
AAAA
--------------ms060304030105080805010304--

From dave@cridland.net  Wed Nov  3 16:11: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 3A9803A687D for <xmpp@core3.amsl.com>; Wed,  3 Nov 2010 16:11:54 -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 YOTN04bqD-Hq for <xmpp@core3.amsl.com>; Wed,  3 Nov 2010 16:11:52 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 2FB153A67D0 for <xmpp@ietf.org>; Wed,  3 Nov 2010 16:11:52 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 88A5E11680F3; Wed,  3 Nov 2010 23:11:05 +0000 (GMT)
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 dYe14W-EOWtJ; Wed,  3 Nov 2010 23:10:54 +0000 (GMT)
Received: from [10.56.167.79] (nat76.mia.three.co.uk [217.171.129.76]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 0543B11680CA; Wed,  3 Nov 2010 23:10:50 +0000 (GMT)
Date: Wed, 03 Nov 2010 23:10:31 +0000
From: "Dave Cridland" <dave@cridland.net>
To: stpeter@stpeter.im
MIME-Version: 1.0
X-Mailer: LCG ProfiMail
Message-ID: <0885629943.973293031@cridland.net>
In-Reply-To: <4CD1A53F.2090508@stpeter.im>
Content-Type: text/plain; charset=utf-8; format=flowed
Cc: xmpp@ietf.org, yaronf.ietf@gmail.com
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus	SASL PLAIN (was: Re: 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: Wed, 03 Nov 2010 23:11:54 -0000

------- Original message -------
> From: Peter Saint-Andre <stpeter@stpeter.im>
> To: ben@nostrum.com
> Cc: yaronf.ietf@gmail.com, xmpp@ietf.org
> Sent: 3/11/'10,  18:17
>
> (trimming to the XMPP WG list, changing the subject)
>
> On 11/3/10 11:39 AM, Ben Campbell wrote:
>> (as chair)
>>
>> On Nov 3, 2010, at 12:31 PM, Peter Saint-Andre wrote:
>>
>>> If the chairs are willing, [...]
>>
>> No objection to the consensus call from me, at least
>>
>>> I would like to request a consensus call on
>>> (a) and (b), based on feedback received during the security review.
>>
>> I think you just did :-)
>
> Heh, OK. Usually I would defer to the chairs for issuance of a call for
> consensus, but since you've said it's OK, here goes...
>
> In case WG folks have tuned out list discussion related to the security
> review (and do refer to the preceding messages for the full context!), I
> would like to request a call for consensus on the following changes to
> draft-ietf-xmpp-3920bis:
>
> (a) Remove the <transition-needed/> SASL error condition, because it
> opens a hole that wasn't open with RFC 3920 and doesn't need to be
> opened now.

I see no reason to retain this unless - perhaps - there is demonstrated 
client support.

>
> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security
> technology, for the same reason (note that it was not
> mandatory-to-implement in RFC 3920).
>

I think for interop it needs to be MTI at least in clients. It can be 
reduced to a SHOULD in servers.

> Please reply by 23:59 UTC on Wednesday, November 10, since that will
> enable me to submit a revised I-D during the IETF meeting next week.
>
> Thanks!
>
> Peter
>
> --
> Peter Saint-Andre
> https://stpeter.im/
>
>
>
>




From yaronf.ietf@gmail.com  Thu Nov  4 09:02:25 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 025F13A6927; Thu,  4 Nov 2010 09:02:25 -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 Jk1kJz3EexQA; Thu,  4 Nov 2010 09:02:24 -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 AA37E3A6848; Thu,  4 Nov 2010 09:02:23 -0700 (PDT)
Received: by gwb15 with SMTP id 15so1619625gwb.31 for <multiple recipients>; Thu, 04 Nov 2010 09:02:33 -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=zTkd5/6R8ztF9mUl78ebkTyDcekzX/TctEqMneKn/LE=; b=xXVxEUDwfvvrNzhMFMwn6BEb2stQCXTECoqHCzOTuLYdC1BEHOEB28NEbskCkX4Yp6 /CyCCu6AohNizqaOCDyQEqnPhoxWUHSOI/WHTUDcuhV8K1v+9X6VKsCtnRLBhhWzYCkY 5ZbVAS+weenOwyWYmlUO2o7V3fozxb+EDnFOM=
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=WgBl28rpXF0cKq9OZ9vHNHY7seVIgJsuDyJQXHuFyK+I+Zw8AsHYDsFQ6fWase3PRK XfCdPQG/MALIUDGOFSraJYjUujju2L/6+33OOmHeX02GAWLZE0QqqvXgwV/qDaKm3ggM /k2aW0A6CXFm4nfNOMy8mlaS90X07iQBjrl1k=
Received: by 10.204.53.193 with SMTP id n1mr851022bkg.3.1288886552957; Thu, 04 Nov 2010 09:02:32 -0700 (PDT)
Received: from [192.168.0.102] ([95.35.139.62]) by mx.google.com with ESMTPS id t10sm90368bkj.4.2010.11.04.09.02.27 (version=SSLv3 cipher=RC4-MD5); Thu, 04 Nov 2010 09:02:30 -0700 (PDT)
Message-ID: <4CD2D90F.6040304@gmail.com>
Date: Thu, 04 Nov 2010 18:02:23 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CC9503D.2000809@gmail.com> <4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com> <4CCF20E7.30401@stpeter.im> <4CD1D708.7010308@stpeter.im>
In-Reply-To: <4CD1D708.7010308@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Thu, 04 Nov 2010 13:06:42 -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: Thu, 04 Nov 2010 16:02:25 -0000

Hi Peter,

yes, these seem reasonable. Is there a "converse" to the rewriting of 
the client's From header before forwarding to other servers, i.e. is 
there a server-side check on stanza From headers received from other 
servers?

Thanks,
	Yaron

On 11/03/2010 11:41 PM, Peter Saint-Andre wrote:
> Hi Yaron, following up our discusion, here is proposed text for the
> conformance features you suggested...
>
> On 11/1/10 2:19 PM, Peter Saint-Andre wrote:
>> On 11/1/10 3:25 AM, Yaron Sheffer wrote:
>>
>>> On 10/30/2010 07:05 AM, Peter Saint-Andre wrote:
>>>>
>>>> On 10/28/10 4:28 AM, Yaron Sheffer wrote:
>>>>
>>>>> - 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?
>>>>
>>> - Server side: correlate cert-asserted client ID with "from".
>>> - Server: correlate "from" on stream to identity as authenticated by SASL.
>>> - Server: rewrite "from" on stanza to authenticated ID.
>>> - Client side: correlate cert-asserted server ID with "from".
>>> - Client: correlate "from" on stream to identity as authenticated by TLS
>>> certs and/or SASL.
>
> I think we can combine client and server validation into two features
> (instead of four), one for TLS and one for SASL.
>
> The TLS feature would be:
>
>     Feature:  tls-correlate
>     Description:  When validating a certificate presented by a stream
>        peer during TLS negotiation, correlate the validated identity with
>        the 'from' address (if any) of the stream header it received from
>        the peer.
>     Section:  Section 13.7.2
>     Roles:  Client SHOULD, Server SHOULD.
>
> As a target for that pointer, I think we need to add the following
> paragraph to the end of Section 13.7.2 ("Certificate Validation"):
>
>     Once the identity of the stream peer has been validated, the
>     validating entity SHOULD also correlate the validated identity with
>     the 'from' address (if any; see Section 4.6.1) of the stream header
>     it received from the peer.  If the two identities do not match, the
>     validating entity SHOULD terminate the connection attempt.
>
> The SASL feature would be:
>
>     Feature:  sasl-correlate
>     Description:  When authenticating a stream peer using SASL, correlate
>        the authentication identifier resulting from SASL negotiation with
>        the 'from' address (if any) of the stream header it received from
>        the peer.
>     Section:  Section 6.4.6
>     Roles:  Client N/A, Server SHOULD.
>
> As a target for that pointer, I think we need to add the following
> paragraph to the beginning of Section 6.4.6 ("SASL Success"):
>
>     Before considering the SASL handshake to be a success, the receiving
>     entity SHOULD correlate the authentication identity resulting from
>     the SASL negotiation with the 'from' address (if any; see
>     Section 4.6.1) of the stream header it received from the initiating
>     entity.  If the two identities do not match, the receiving entity
>     SHOULD terminate the connection attempt.
>
> Finally, we need one more feature, for server stamping of client 'from'
> addresses:
>
>     Feature:  stanza-attribute-from-stamp
>     Description:  Stamp or rewrite the 'from' address of all stanzas
>        received from connected clients.
>     Section:  Section 8.1.2.1
>     Roles:  Client N/A, Server MUST.
>
> Let me know if those seem reasonable.
>
> Peter
>

From fippo@mail.symlynx.com  Thu Nov  4 13:56:27 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 7A73528C102; Thu,  4 Nov 2010 13:56:27 -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 gagyyI2bsGVN; Thu,  4 Nov 2010 13:56:26 -0700 (PDT)
Received: from lo.psyced.org (lost.IN.psyced.org [188.40.42.221]) by core3.amsl.com (Postfix) with ESMTP id 3DEEC28C0E6; Thu,  4 Nov 2010 13:42:14 -0700 (PDT)
Received: from [192.168.2.103] (p4FF0C2F2.dip.t-dialin.net [79.240.194.242]) (authenticated bits=0) by lo.psyced.org (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA4Kh8TL001051 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Nov 2010 21:43:51 +0100
Message-ID: <4CD31A7C.1060502@mail.symlynx.com>
Date: Thu, 04 Nov 2010 21:41:32 +0100
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: Yaron Sheffer <yaronf.ietf@gmail.com>
References: <4CC9503D.2000809@gmail.com>	<4CCBA7A9.7030506@stpeter.im>	<4CCE87A5.80701@gmail.com>	<4CCF20E7.30401@stpeter.im> <4CD1D708.7010308@stpeter.im> <4CD2D90F.6040304@gmail.com>
In-Reply-To: <4CD2D90F.6040304@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: XMPP <xmpp@ietf.org>, draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@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: Thu, 04 Nov 2010 20:56:27 -0000

Yaron Sheffer wrote:
> Hi Peter,
>
> yes, these seem reasonable. Is there a "converse" to the rewriting of
> the client's From header before forwarding to other servers, i.e. is
> there a server-side check on stanza From headers received from other
> servers?

Yes, see 8.1.2.2. Server-to-Server Streams (or search for the associated 
invalid-from stream error).

From Joe.Hildebrand@webex.com  Thu Nov  4 15:14:32 2010
Return-Path: <Joe.Hildebrand@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 5F44128C120 for <xmpp@core3.amsl.com>; Thu,  4 Nov 2010 15:14:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.532
X-Spam-Level: 
X-Spam-Status: No, score=-104.532 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, RCVD_NUMERIC_HELO=2.067,  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 cefavCf4IOl1 for <xmpp@core3.amsl.com>; Thu,  4 Nov 2010 15:14:31 -0700 (PDT)
Received: from gw1.webex.com (gw1.webex.com [64.68.122.208]) by core3.amsl.com (Postfix) with SMTP id 95BD028C117 for <xmpp@ietf.org>; Thu,  4 Nov 2010 15:14:31 -0700 (PDT)
Received: from SRV-EXSC03.webex.local ([192.168.252.197]) by gw1.webex.com with Microsoft SMTPSVC(6.0.3790.4675);  Thu, 4 Nov 2010 15:14:42 -0700
Received: from 66.114.169.8 ([66.114.169.8]) by SRV-EXSC03.webex.local ([192.168.252.200]) via Exchange Front-End Server mailus.webex.com ([66.114.175.11]) with Microsoft Exchange Server HTTP-DAV ; Thu,  4 Nov 2010 22:14:41 +0000
User-Agent: Microsoft-Entourage/12.24.0.100205
Date: Fri, 05 Nov 2010 06:14:40 +0800
From: Joe Hildebrand <joe.hildebrand@webex.com>
To: Dave Cridland <dave@cridland.net>, Peter Saint-Andre <stpeter@stpeter.im>
Message-ID: <C8F95150.39924%joe.hildebrand@webex.com>
Thread-Topic: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: SecDir review of draft-ietf-xmpp-3920bis-17)
Thread-Index: Act8baylZiC9141doEOcW61a53S4zA==
In-Reply-To: <0885629943.973293031@cridland.net>
IM-ID: xmpp:jhildebr@cisco.com
Presence-ID: xmpp:jhildebr@cisco.com
Jabber-ID: jhildebr@cisco.com
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 04 Nov 2010 22:14:42.0123 (UTC) FILETIME=[ADE979B0:01CB7C6D]
Cc: yaronf.ietf@gmail.com, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: 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, 04 Nov 2010 22:14:32 -0000

(as individual)

On 11/4/10 7:10 AM, "Dave Cridland" <dave@cridland.net> wrote:

>> (a) Remove the <transition-needed/> SASL error condition, because it
>> opens a hole that wasn't open with RFC 3920 and doesn't need to be
>> opened now.
> 
> I see no reason to retain this unless - perhaps - there is demonstrated
> client support.

I doubt there's been much client implementation of this yet, so I don't
think removing it for now breaks anything.

>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security
>> technology, for the same reason (note that it was not
>> mandatory-to-implement in RFC 3920).
>> 
> 
> I think for interop it needs to be MTI at least in clients. It can be
> reduced to a SHOULD in servers.

MUST in clients, SHOULD or even MAY in servers.  Seems like a good
compromise.

-- 
Joe Hildebrand


From k.i.smith@gmail.com  Fri Nov  5 06:20:35 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 971C23A691C for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 06:20:35 -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 nkHSKUMIXJgu for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 06:20:34 -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 0FCCE3A690C for <xmpp@ietf.org>; Fri,  5 Nov 2010 06:20:30 -0700 (PDT)
Received: by qyk31 with SMTP id 31so2417950qyk.10 for <xmpp@ietf.org>; Fri, 05 Nov 2010 06:20:43 -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=g04IHPzAD5C7yXZzDYe24maVWpQcSmwgi9lku1NVVCg=; b=HdNCjJKVhGD+OcxKxOnUeub4W9V4j1l1g8wTIgAFAZsS4vTMJB0Mqg9DzNWS1GzPTJ OMCwZyDGdwq6ZoCie96sFsrdWyWYqGtvTDIJ0/RFgLffJ6pOKSXaPGbncLPJTRyYf7Rv C9jFSbGVcKLWg44mWfGask19nqWkw4gIhnres=
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=nyBztVqB3iM1gq2W69losokGp6sslFiyE3XAXLCDpGYIqtXwXm1zM3JncJN8WhSyPB F7SR+efXsSKWJn9HQM+S6wnMiIN/C6SVZAIlCSeleyfwqb9pRC8u8nPCea2Z2m7EKx7U JpkyocvWYmH8W33lTQVRG31EQb6gCRSoxDH1k=
MIME-Version: 1.0
Received: by 10.229.183.21 with SMTP id ce21mr1949804qcb.197.1288963243448; Fri, 05 Nov 2010 06:20:43 -0700 (PDT)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Fri, 5 Nov 2010 06:20:43 -0700 (PDT)
In-Reply-To: <C8F95150.39924%joe.hildebrand@webex.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com>
Date: Fri, 5 Nov 2010 13:20:43 +0000
X-Google-Sender-Auth: QUJoKYibZMNnXrD4e-K-xWCyjUI
Message-ID: <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Joe Hildebrand <joe.hildebrand@webex.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: yaronf.ietf@gmail.com, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: SecDir review of draft-ietf-xmpp-3920bis-17)
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: Fri, 05 Nov 2010 13:20:35 -0000

On Thu, Nov 4, 2010 at 10:14 PM, Joe Hildebrand
<joe.hildebrand@webex.com> wrote:
> On 11/4/10 7:10 AM, "Dave Cridland" <dave@cridland.net> wrote:
>
>>> (a) Remove the <transition-needed/> SASL error condition, because it
>>> opens a hole that wasn't open with RFC 3920 and doesn't need to be
>>> opened now.
>>
>> I see no reason to retain this unless - perhaps - there is demonstrated
>> client support.
>
> I doubt there's been much client implementation of this yet, so I don't
> think removing it for now breaks anything.

My understanding is that this was added into 3920bis for completeness,
without any deployment experience in the community. I'm in favour of
removing it.

>>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security
>>> technology, for the same reason (note that it was not
>>> mandatory-to-implement in RFC 3920).
>>>
>>
>> I think for interop it needs to be MTI at least in clients. It can be
>> reduced to a SHOULD in servers.
>
> MUST in clients, SHOULD or even MAY in servers. =A0Seems like a good
> compromise.

My understanding of this is that it was added to 3920bis after much
deployment experience in the community showed that it was necessary
for interop. I'm in favour of MUST for clients. For servers I could be
talked in most directions - but I think what's generally important
there is that there's a sensible MTI that's common for clients and
servers and SCRAM is currently serving that purpose in bis; SHOULD is
where I'd currently lean.

/K

From Peter.SaintAndre@webex.com  Fri Nov  5 06:54:39 2010
Return-Path: <Peter.SaintAndre@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 667F53A6948; Fri,  5 Nov 2010 06:54:39 -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=[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 5nRXvjPBOehF; Fri,  5 Nov 2010 06:54:38 -0700 (PDT)
Received: from gw1.webex.com (gw1.webex.com [64.68.122.208]) by core3.amsl.com (Postfix) with SMTP id A384D3A693F; Fri,  5 Nov 2010 06:54:38 -0700 (PDT)
Received: from SRV-EXSC03.webex.local ([192.168.252.197]) by gw1.webex.com with Microsoft SMTPSVC(6.0.3790.4675);  Fri, 5 Nov 2010 06:54:51 -0700
X-Mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Fri, 5 Nov 2010 06:54:50 -0700
Message-ID: <B276A36CB76AE04FADC48FDD7ED6A1CA0368BE@SRV-EXSC03.webex.local>
In-Reply-To: <4CD31A7C.1060502@mail.symlynx.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17
Thread-Index: Act8YNP9Bdg8dPG1RMGfhaCCLK0A4QAkDBXY
From: "Peter Saint Andre" <Peter.SaintAndre@webex.com>
To: <fippo@mail.symlynx.com>, <yaronf.ietf@gmail.com>
X-OriginalArrivalTime: 05 Nov 2010 13:54:51.0130 (UTC) FILETIME=[044CDDA0:01CB7CF1]
Cc: xmpp@ietf.org, draft-ietf-xmpp-3920bis.all@tools.ietf.org, iesg@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, 05 Nov 2010 13:54:39 -0000

Yes, it would be good to add a conformance feature for that one, too.

----- Original Message -----
From: Philipp Hancke <fippo@mail.symlynx.com>
To: Yaron Sheffer <yaronf.ietf@gmail.com>
Cc: Peter Saint-Andre <stpeter@stpeter.im>; =
draft-ietf-xmpp-3920bis.all@tools.ietf.org =
<draft-ietf-xmpp-3920bis.all@tools.ietf.org>; iesg@ietf.org =
<iesg@ietf.org>; XMPP <xmpp@ietf.org>; secdir@ietf.org <secdir@ietf.org>
Sent: Thu Nov 04 13:41:32 2010
Subject: Re: [xmpp] SecDir review of draft-ietf-xmpp-3920bis-17

Yaron Sheffer wrote:
> Hi Peter,
>
> yes, these seem reasonable. Is there a "converse" to the rewriting of
> the client's From header before forwarding to other servers, i.e. is
> there a server-side check on stanza From headers received from other
> servers?

Yes, see 8.1.2.2. Server-to-Server Streams (or search for the associated =

invalid-from stream error).

From mwild1@gmail.com  Fri Nov  5 06:58:11 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 D6CC328C0CE for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 06:58: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 6x5V-tP5RVTc for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 06:58:11 -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 F29C928C0DD for <xmpp@ietf.org>; Fri,  5 Nov 2010 06:58:10 -0700 (PDT)
Received: by iwn40 with SMTP id 40so2873081iwn.31 for <xmpp@ietf.org>; Fri, 05 Nov 2010 06:58:23 -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=8Ps7cL1DKEyyx1Ye2L3VCcKz51tl0YEkwNXmdUdror4=; b=epWP2J1SyR6B0TCMuLtBwP7kDLE/6Q5PfQ4Gkjlsb+UqlPBvRLRddopafBrrs6q2Uh ZmjB7OEAnGlcQbqbvSfXyCr44dSzMl8/IHM0O1w4f1xqwes6wMR5gIdPKKVsqqZjNiHK Da9cxbW+cZvjXcBFgZp3qSsJpIQ5xnrwXLFnA=
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=F4mzZHxVpk4rn/udeyetRcVz2QZbkjLarv5Xr4gKstTxkZvCAHXYc52SBEO1sYMudk +TgVWbF5Xkxi5z4uyq4RI6T1AyN7sEulUVpeMpwQ0RoZm9WIceyV4PrGgPEJAaiv6W0J uRUXQMSMRDNKka8i+sNd7HX2H8ZOEDOmJKbyA=
Received: by 10.231.167.196 with SMTP id r4mr1672940iby.29.1288965503588; Fri, 05 Nov 2010 06:58:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Fri, 5 Nov 2010 06:58:03 -0700 (PDT)
In-Reply-To: <C8F95150.39924%joe.hildebrand@webex.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com>
From: Matthew Wild <mwild1@gmail.com>
Date: Fri, 5 Nov 2010 13:58:03 +0000
Message-ID: <AANLkTimfYDKnwUXJEjpAX9R1z0vLHSyU0GPtyrogbXZr@mail.gmail.com>
To: Joe Hildebrand <joe.hildebrand@webex.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: yaronf.ietf@gmail.com, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: 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, 05 Nov 2010 13:58:11 -0000

On 4 November 2010 22:14, Joe Hildebrand <joe.hildebrand@webex.com> wrote:
> (as individual)
>
> On 11/4/10 7:10 AM, "Dave Cridland" <dave@cridland.net> wrote:
>
>>> (a) Remove the <transition-needed/> SASL error condition, because it
>>> opens a hole that wasn't open with RFC 3920 and doesn't need to be
>>> opened now.
>>
>> I see no reason to retain this unless - perhaps - there is demonstrated
>> client support.

Agreed.

>>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security
>>> technology, for the same reason (note that it was not
>>> mandatory-to-implement in RFC 3920).
>>>
>>
>> I think for interop it needs to be MTI at least in clients. It can be
>> reduced to a SHOULD in servers.
>
> MUST in clients, SHOULD or even MAY in servers. =C2=A0Seems like a good
> compromise.
>

Agreed.

I didn't know consensus calls were so effective :)

Matthew

From remko.troncon@gmail.com  Fri Nov  5 07:59:41 2010
Return-Path: <remko.troncon@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 19CE03A67F0 for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 07:59:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level: 
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 rQGdWREhmrDA for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 07:59:40 -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 431413A67E6 for <xmpp@ietf.org>; Fri,  5 Nov 2010 07:59:40 -0700 (PDT)
Received: by gya6 with SMTP id 6so2326108gya.31 for <xmpp@ietf.org>; Fri, 05 Nov 2010 07:59:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=vAeH4u7tKNCqfHG7MyUBmnu/HYLfqOMjyVKTrPPPUOo=; b=N4737SJgt6Luzk+bHaHu9Mu1Mngj1bDNtlXQ6XdiOCIwNtlXUUG8R/MNp0zzFgCs10 kai/H6xmkjEP55loDYvNaOeJYnfyw7m0DTLSp8J0EP0dKC0sOJFqAT/mPYKgBdAy1cMJ EbT5eB6NqfKOYMZBzVi/a6BKu+jIR9/fyuDJo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=s5XK1yKV7zxXieleLCkiJGGL2bl55fKb+4qv5wru8PlQk3aVhlZZSjkJlObHjw+fW2 zil8+VNVtNYNcXdEqDgtVS10Ta0KFuSQitneCfif/Gq4DU7G9CJOZBV9lP5GWwxDW9mx 9LIfnbwe8dY44FhHlxq1JNdcZpaFW8eELv20Q=
MIME-Version: 1.0
Received: by 10.100.133.19 with SMTP id g19mr1026744and.87.1288969192932; Fri, 05 Nov 2010 07:59:52 -0700 (PDT)
Sender: remko.troncon@gmail.com
Received: by 10.100.11.7 with HTTP; Fri, 5 Nov 2010 07:59:52 -0700 (PDT)
In-Reply-To: <0885629943.973293031@cridland.net>
References: <4CD1A53F.2090508@stpeter.im> <0885629943.973293031@cridland.net>
Date: Fri, 5 Nov 2010 15:59:52 +0100
X-Google-Sender-Auth: AXwgqHh1SNuQngV2hEUMUiQhZWg
Message-ID: <AANLkTimaEOxmu2Jzr3pz3T7nz5Jn2PoKQ6sFTxZQrKSm@mail.gmail.com>
From: =?UTF-8?Q?Remko_Tron=C3=A7on?= <remko@el-tramo.be>
To: Dave Cridland <dave@cridland.net>
Content-Type: text/plain; charset=UTF-8
Cc: yaronf.ietf@gmail.com, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: 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, 05 Nov 2010 14:59:41 -0000

> (a)
> I see no reason to retain this unless - perhaps - there is demonstrated
> client support.

Dito, can be removed.

> I think for interop it needs to be MTI at least in clients. It can be
> reduced to a SHOULD in servers.

Agreed.

cheers,
Remko

From Jeff.Hodges@KingsMountain.com  Fri Nov  5 14:32:59 2010
Return-Path: <Jeff.Hodges@KingsMountain.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 1324B3A6958 for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 14:32:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.815
X-Spam-Level: 
X-Spam-Status: No, score=-100.815 tagged_above=-999 required=5 tests=[AWL=0.850, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, 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 qleY89tcUUZs for <xmpp@core3.amsl.com>; Fri,  5 Nov 2010 14:32:58 -0700 (PDT)
Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by core3.amsl.com (Postfix) with SMTP id C0E7F3A6956 for <xmpp@ietf.org>; Fri,  5 Nov 2010 14:32:57 -0700 (PDT)
Received: (qmail 17246 invoked by uid 0); 5 Nov 2010 21:33:10 -0000
Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by cpoproxy1.bluehost.com with SMTP; 5 Nov 2010 21:33:10 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kingsmountain.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=oFfiJB/kjvB4FswvJrIS5YJJuXQOyJcVmXv37rHeOoLaOIk/XfRkRGuPpcbApGhjtd8WtXeKEcJVGKK7FV+UMSMZc1FzJVM4tOs+nubUHJNebG98AVUZwkq09y0iUuLe;
Received: from outbound4.ebay.com ([216.113.168.128] helo=[10.244.137.163]) by box514.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1PETuI-0004Ef-9n; Fri, 05 Nov 2010 15:33:10 -0600
Message-ID: <4CD47814.3010508@KingsMountain.com>
Date: Fri, 05 Nov 2010 14:33:08 -0700
From: =JeffH <Jeff.Hodges@KingsMountain.com>
User-Agent: Thunderbird 2.0.0.24 (X11/20100411)
MIME-Version: 1.0
To: IETF cert-based identity <certid@ietf.org>,  XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Identified-User: {11025:box514.bluehost.com:kingsmou:kingsmountain.com} {sentby:smtp auth 216.113.168.128 authed with jeff.hodges+kingsmountain.com}
Subject: Re: [xmpp] accommodating server-to-server (was: 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: Fri, 05 Nov 2010 21:32:59 -0000

Peter Saint-Andre replied:
 >
 > Philipp Hancke replied:
 >
 >> Peter Saint-Andre wrote:
 >>>
 >>>     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
 >>
 >> s/TLS client/TLS server/
 >
 > In XMPP at least, if Romeo's personal server (montague.lit) attempts to
 > connect to Juliet's personal server (capulet.lit), he asserts to her
 > that he is montague.lit and she takes that as her reference identifier.
 > Thus her server is acting as a TLS client in relation to the presented
 > identifiers in the certificate that Romeo's personal server provides.
 > This is what's distinctive about the server-to-server case -- an
 > application service is acting as a TLS client.
 >
 > ...
 >
 >> I think it is not clear who is verifying
 >
 > If you try to connect to me, I'm going to verify you -- even if I'm an
 > XMPP server.
 >
 >> (probably because both parties
 >> are for xmpp-s2s).
 >
 > Yes, ideally the verification happens in both directions.


To me, what Peter wrote in the proposed "Note:" is confusing because it is 
labeling an entity as a "TLS client" that is not a TLS client in the TLS 
protocol sense -- it is playing the TLS server role, and is only behaving as a 
"TLS client" would in the sense of verifying the entity at the other end of the 
incoming connection.

In this case we ostensibly have the "peer server" -- legitimately acting as a 
TLS client -- presenting its certificate during the TLS handshake, and thus the 
application service is obliged to perform the same checks on the peer server's 
asserted identity, as an actual TLS client performs on asserted app service 
identity.

yes?

If so, it seems we're linguistically standing on our heads here trying to 
shoehorn the notion of "verification of client identity (by the app service)" 
into section 4 "Verification of Service Identity".

I propose that we need to perhaps have a separate section for the former and 
figure out how to refactor the more detailed section 4 subsections such that we 
don't have to needlessly repeat text.

It also seems we ought to do this in a general fashion such that its applicable 
for any TLS server processing an inbound connection where the client elects to 
assert its identity (eg by presenting a cert).

=JeffH


From florob@babelmonkeys.de  Sat Nov  6 06:50:17 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 86DCA3A6964 for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 06:50:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.949
X-Spam-Level: 
X-Spam-Status: No, score=-1.949 tagged_above=-999 required=5 tests=[AWL=0.300,  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 q9gr0v7+zRjz for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 06:50:16 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 615C63A6921 for <xmpp@ietf.org>; Sat,  6 Nov 2010 06:50:15 -0700 (PDT)
Received: from xdsl-213-196-226-40.netcologne.de ([213.196.226.40] 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 1PEjA6-0001P5-3J for xmpp@ietf.org; Sat, 06 Nov 2010 14:50:30 +0100
Message-ID: <4CD55D20.5070304@babelmonkeys.de>
Date: Sat, 06 Nov 2010 14:50:24 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>
In-Reply-To: <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: 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, 06 Nov 2010 13:50:17 -0000

Am 05.11.2010 14:20, schrieb Kevin Smith:
> On Thu, Nov 4, 2010 at 10:14 PM, Joe Hildebrand
> <joe.hildebrand@webex.com> wrote:
>>>> (a) Remove the <transition-needed/> SASL error condition, because it
>>>> opens a hole that wasn't open with RFC 3920 and doesn't need to be
>>>> opened now.
>>>
>>> I see no reason to retain this unless - perhaps - there is demonstrated
>>> client support.
> 
> My understanding is that this was added into 3920bis for completeness,
> without any deployment experience in the community. I'm in favour of
> removing it.
> 
+1

>>>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security
>>>> technology, for the same reason (note that it was not
>>>> mandatory-to-implement in RFC 3920).
>>>>
>>>
>>> I think for interop it needs to be MTI at least in clients. It can be
>>> reduced to a SHOULD in servers.
> 
> My understanding of this is that it was added to 3920bis after much
> deployment experience in the community showed that it was necessary
> for interop. I'm in favour of MUST for clients. For servers I could be
> talked in most directions - but I think what's generally important
> there is that there's a sensible MTI that's common for clients and
> servers and SCRAM is currently serving that purpose in bis; SHOULD is
> where I'd currently lean.
> 
> /K
I agree with that assessment MUST in clients and SHOULD in servers
sounds fine.

However one comment since this came out of a security discussion:
The real security gain would be if clients could refuse to use PLAIN, a
MITM can spoof mechanisms whether the server does PLAIN or not,
therefore this change is IMHO somewhat cosmetic as far as security gain
goes.

--
Florian Zeitz

From stpeter@stpeter.im  Sat Nov  6 07:00:42 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 BFB763A6921 for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 07:00: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 twkJCtWOKQQ7 for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 07:00:41 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B55393A68EF for <xmpp@ietf.org>; Sat,  6 Nov 2010 07:00:41 -0700 (PDT)
Received: from dhcp-732c.meeting.ietf.org (dhcp-732c.meeting.ietf.org [130.129.115.44]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 295FF40BB9; Sat,  6 Nov 2010 08:09:52 -0600 (MDT)
Message-ID: <4CD55F93.8030008@stpeter.im>
Date: Sat, 06 Nov 2010 08:00:51 -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: Florian Zeitz <florob@babelmonkeys.de>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de>
In-Reply-To: <4CD55D20.5070304@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="------------ms030903030606020905010401"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: 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, 06 Nov 2010 14:00:42 -0000

This is a cryptographically signed message in MIME format.

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

On 11/6/10 7:50 AM, Florian Zeitz wrote:
> Am 05.11.2010 14:20, schrieb Kevin Smith:
>> On Thu, Nov 4, 2010 at 10:14 PM, Joe Hildebrand
>> <joe.hildebrand@webex.com> wrote:
>>>>> (a) Remove the <transition-needed/> SASL error condition, because i=
t
>>>>> opens a hole that wasn't open with RFC 3920 and doesn't need to be
>>>>> opened now.
>>>>
>>>> I see no reason to retain this unless - perhaps - there is demonstra=
ted
>>>> client support.
>>
>> My understanding is that this was added into 3920bis for completeness,=

>> without any deployment experience in the community. I'm in favour of
>> removing it.
>>
> +1

It seems we have pretty strong agreement on that point.

>>>>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security=

>>>>> technology, for the same reason (note that it was not
>>>>> mandatory-to-implement in RFC 3920).
>>>>>
>>>>
>>>> I think for interop it needs to be MTI at least in clients. It can b=
e
>>>> reduced to a SHOULD in servers.
>>
>> My understanding of this is that it was added to 3920bis after much
>> deployment experience in the community showed that it was necessary
>> for interop. I'm in favour of MUST for clients. For servers I could be=

>> talked in most directions - but I think what's generally important
>> there is that there's a sensible MTI that's common for clients and
>> servers and SCRAM is currently serving that purpose in bis; SHOULD is
>> where I'd currently lean.
>>
>> /K
> I agree with that assessment MUST in clients and SHOULD in servers
> sounds fine.
>=20
> However one comment since this came out of a security discussion:
> The real security gain would be if clients could refuse to use PLAIN, a=

> MITM can spoof mechanisms whether the server does PLAIN or not,
> therefore this change is IMHO somewhat cosmetic as far as security gain=

> goes.

Agreed, it's the client that needs to be careful here, so we need
appropriate text. I think we can use what I sent a few days ago as a
starting point.

Peter

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




--------------ms030903030606020905010401
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.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DEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB9IVqBy9xqCMe4seOnzJs9FFMVd98i2jl58pokHw38hKOj5TzU0E0yZlYX
XCStd1E2D5pDd9324Oe0Tj3erXY833rBoMFdMumnoCbUmToBc4mRzIhLuiztBEmcScyS88tD
Y5pnOC2thCmOHW6Hqzfl7g2UfMx4ouuj+/yZGyqDenAb08mL5LOweIjayMXPHwsS93/dggp/
YfHyOse1avKpUf0iwQJj/4PzU8fvP04/xbtt3wwIIfQchiNFkDp95KY6jkkGjvwKUggr20sP
CH/ZjmB92mhl4vHDlFwxqpD39hYx57h0GQ2Pczk614GQ71IPg1IPpCqtAznRUMju5RwnAAAA
AAAA
--------------ms030903030606020905010401--

From hannes.tschofenig@gmx.net  Sat Nov  6 19:55:24 2010
Return-Path: <hannes.tschofenig@gmx.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 E348B3A69BA for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 19:55:24 -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 f8jrajR01uW1 for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 19:55:24 -0700 (PDT)
Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by core3.amsl.com (Postfix) with SMTP id 523733A69B5 for <xmpp@ietf.org>; Sat,  6 Nov 2010 19:55:24 -0700 (PDT)
Received: (qmail invoked by alias); 07 Nov 2010 02:55:39 -0000
Received: from dhcp-7730.meeting.ietf.org (EHLO dhcp-7730.meeting.ietf.org) [130.129.119.48] by mail.gmx.net (mp004) with SMTP; 07 Nov 2010 03:55:39 +0100
X-Authenticated: #29516787
X-Provags-ID: V01U2FsdGVkX1/rc849RrPrB3+HjZcVk1CFeh0Xu9s1E4fnxm0Ics WZPkV2imvZNUIl
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Apple Message framework v1081)
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Date: Sat, 6 Nov 2010 21:55:38 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <856040CA-C896-482A-8104-831B029484D4@gmx.net>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
To: xmpp@ietf.org
X-Mailer: Apple Mail (2.1081)
X-Y-GMX-Trusted: 0
Cc: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Subject: [xmpp] ** OAuth Tutorial & OAuth Security Session **
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, 07 Nov 2010 02:55:25 -0000

Hi all,=20

please consider attending the following two meetings!=20

** OAuth Security Session **

	=95 Date: Monday, 13:00-15:00
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
The security consideration section of OAuth 2.0 (draft -10) is still =
empty. Hence, we would like to put some time aside to discuss what =
security threats, requirements, and countermeasures need to be =
described. We will use the Monday, November 8, 1300-1500 slot to have a  =
discussion session.

As a starting point I suggest to look at the following documents:

	=95 =
http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
	=95 http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
	=95 =
http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.txt

Note: If you are unfamiliar with OAuth then the OAuth tutorial session =
might be more suitable for you!



** OAuth Tutorial **

	=95 Date: Wednesday, 19:30 (after the plenary)
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
OAuth allows a user to grant a third-party Web site or application =
access to their resources, without necessarily revealing their =
credentials, or even their identity. The OAuth working group, =
seehttp://datatracker.ietf.org/wg/oauth/charter/, is currently trying to =
finalize their main specification, namely OAuth v2: =
http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/

Based on the positive response at the last IETF meeting (in Maastricht) =
we decided to hold another OAuth tutorial, namely on *Wednesday, =
starting at 19:30 (after the IETF Operations and Administration Plenary) =
till about 21:00. (Note: I had to switch the day because of the social =
event!)

It is helpful to read through the documents available int he working =
group but not required.

Up-to-date information can be found here: =
http://www.ietf.org/registration/MeetingWiki/wiki/79bofs

Ciao
Hannes

From jehan.marmottard@gmail.com  Sun Nov  7 03:26:35 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 8B9903A69B6 for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 03:26:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.059
X-Spam-Level: 
X-Spam-Status: No, score=-1.059 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SARE_LWSHORTT=1.24]
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 0ZJjLyRf1dVD for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 03:26:34 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 145D63A698B for <xmpp@ietf.org>; Sun,  7 Nov 2010 03:26:33 -0800 (PST)
Received: by wwb39 with SMTP id 39so2792377wwb.13 for <xmpp@ietf.org>; Sun, 07 Nov 2010 03:26:51 -0800 (PST)
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=RaRKvnVGSYDblCwK0G8XexO6rB4225/BnEKOvI5kIJQ=; b=pChh5zTsbDHB6YCuhT0p+06Y5CyTBgEhw8UcHGSjiLW40Wbg+OeXdlbfW2Tl+i1cY3 fAC8xtaoFCduAitIBBwMXaNjMODNS7wWYQlcX0xbDmCXUIwOQrOH37Q5NNSMbbub+xQZ j6QtyXldC1I6pmoWwDE9YHhhGKCxUxgEICLk0=
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=v/UHo6mfOHENErgC5JVDdI40iRfXj5KLJwO4gMMPeiGXS/cGWvsIAKDgKEsI6c38Im iYIKUNDibVHZbtthm7CU2xIexaAmyErgrQsBFm/R/m5jBCcRptNhmGl1dLjYpTQHtshg yGGE60PFc41OovxWH0QhcgmfL4Ts491dFJZlc=
MIME-Version: 1.0
Received: by 10.227.132.70 with SMTP id a6mr4048597wbt.85.1289129211404; Sun, 07 Nov 2010 03:26:51 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Sun, 7 Nov 2010 03:26:51 -0800 (PST)
In-Reply-To: <4CD55F93.8030008@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im>
Date: Sun, 7 Nov 2010 20:26:51 +0900
Message-ID: <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@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=windows-1252
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] consensus call on SASL <transition-needed/> and TLS plus SASL PLAIN (was: Re: 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: Sun, 07 Nov 2010 11:26:35 -0000

Hi,

On Sat, Nov 6, 2010 at 11:00 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 11/6/10 7:50 AM, Florian Zeitz wrote:
>> Am 05.11.2010 14:20, schrieb Kevin Smith:
>>> On Thu, Nov 4, 2010 at 10:14 PM, Joe Hildebrand
>>> <joe.hildebrand@webex.com> wrote:
>>>>>> (a) Remove the <transition-needed/> SASL error condition, because it
>>>>>> opens a hole that wasn't open with RFC 3920 and doesn't need to be
>>>>>> opened now.
>>>>>
>>>>> I see no reason to retain this unless - perhaps - there is demonstrat=
ed
>>>>> client support.
>>>
>>> My understanding is that this was added into 3920bis for completeness,
>>> without any deployment experience in the community. I'm in favour of
>>> removing it.
>>>
>> +1
>
> It seems we have pretty strong agreement on that point.

I agree too.

>>>>>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement security
>>>>>> technology, for the same reason (note that it was not
>>>>>> mandatory-to-implement in RFC 3920).
>>>>>>
>>>>>
>>>>> I think for interop it needs to be MTI at least in clients. It can be
>>>>> reduced to a SHOULD in servers.
>>>
>>> My understanding of this is that it was added to 3920bis after much
>>> deployment experience in the community showed that it was necessary
>>> for interop. I'm in favour of MUST for clients. For servers I could be
>>> talked in most directions - but I think what's generally important
>>> there is that there's a sensible MTI that's common for clients and
>>> servers and SCRAM is currently serving that purpose in bis; SHOULD is
>>> where I'd currently lean.
>>>
>>> /K
>> I agree with that assessment MUST in clients and SHOULD in servers
>> sounds fine.
>>
>> However one comment since this came out of a security discussion:
>> The real security gain would be if clients could refuse to use PLAIN, a
>> MITM can spoof mechanisms whether the server does PLAIN or not,
>> therefore this change is IMHO somewhat cosmetic as far as security gain
>> goes.
>
> Agreed, it's the client that needs to be careful here, so we need
> appropriate text. I think we can use what I sent a few days ago as a
> starting point.
>
> Peter

That was not MTI in RFC3920, so why would we add this constraint now
which would make it a security burden for lot lot of years from now? I
agree it is much deployed right now, and for this reason we should not
just wipe out such technology, but it does not mean we should make it
a mandatory one.

I would suggest a SHOULD or MIGHT for both clients and servers,
accompanied by an informational note about the fact that it is
currently widely implemented as well as security considerations. For
the short term, it would have probably the same consequences than a
MUST (developers will implement it in order to keep compatibility with
older implementations), with the difference that (not being a MTI) it
won't be a burden to carry for the long term and would probably fade
out with time.

On the security side, I don't agree with the fact this is a cosmetic
security change. We are still removing one layer of security here,
because it means that if a MITM can pass somehow the TLS security, and
if the client accept TLS + PLAIN, then the MITM attacker simply has to
propose only SASL PLAIN for identification to access unencrypted
passwords. With TLS + SCRAM, the attacker may be able to make a single
connection, but at least won't collect the current password (at least
not this way, because I agree that if the server store unencrypted
passwords, and proposes for instance to retrieve the user password
with ad-hoc commands =97=A0which is a very bad idea and a security flaw,
according to me=A0=97, he might be able to), which we know is a more
serious issue than simply impersonating one single connection (as
users often use the same passwords on many services, so an attacker
may access more than just the XMPP server; also the attacker will be
able to do as many connections as he wish later as he has the actual
password instead of a salted one; and so one).

This is saying TLS is breakable, but that's still a risk and an
additional weakness we can avoid.
And this is all even more true because many servers out-there are self
authenticated. And as we know, a TLS connection made with a bad
certificate cannot be trusted at all. Yet most clients will
unfortunately just ignore this security breach (considering the
current sad state of our park of network's certificates) and would
send clear passwords with SASL PLAIN through such an unsecure canal (I
also remind that SCRAM provides also server authentication, weaker
than TLS but still a nice addition inside an unsecure TLS canal as we
see a lot in our network).
So no really if we can avoid it: TLS + PLAIN should not be a mandatory
to implement technology. Keeping it a MIGHT + informational note on
our current XMPP park is preferred here.

I seem to be the only one to think so for now, but I still give my
opinion about this.
Bye.

Jehan

From hannes.tschofenig@gmx.net  Sat Nov  6 19:49:07 2010
Return-Path: <hannes.tschofenig@gmx.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 652993A69A7 for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 19:49:07 -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 JqafF2RYE86Y for <xmpp@core3.amsl.com>; Sat,  6 Nov 2010 19:49:06 -0700 (PDT)
Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by core3.amsl.com (Postfix) with SMTP id A19863A69A2 for <xmpp@ietf.org>; Sat,  6 Nov 2010 19:49:05 -0700 (PDT)
Received: (qmail invoked by alias); 07 Nov 2010 02:22:41 -0000
Received: from dhcp-7730.meeting.ietf.org (EHLO dhcp-7730.meeting.ietf.org) [130.129.119.48] by mail.gmx.net (mp054) with SMTP; 07 Nov 2010 03:22:41 +0100
X-Authenticated: #29516787
X-Provags-ID: V01U2FsdGVkX19n/CxaxKRnPOLWqdig6r/No3Jvg6FTHRPuMNzUOR hWWFzgaMPScol0
From: Hannes Tschofenig <hannes.tschofenig@gmx.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Sat, 6 Nov 2010 21:22:33 -0500
Message-Id: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
To: ietf@ietf.org
Mime-Version: 1.0 (Apple Message framework v1081)
X-Mailer: Apple Mail (2.1081)
X-Y-GMX-Trusted: 0
X-Mailman-Approved-At: Sun, 07 Nov 2010 10:03:41 -0800
Cc: abfab@ietf.org, rai@ietf.org, secdir@ietf.org, websec@ietf.org, xmpp@ietf.org, kitten@ietf.org, "iab@iab.org Board" <iab@iab.org>, iesg@ietf.org, Hannes Tschofenig <hannes.tschofenig@gmx.net>, oauth@ietf.org
Subject: [xmpp] ** OAuth Tutorial & OAuth Security Session **
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, 07 Nov 2010 02:49:07 -0000

Hi all,=20

please consider attending the following two meetings!=20

** OAuth Security Session **

	=95 Date: Monday, 13:00-15:00
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
The security consideration section of OAuth 2.0 (draft -10) is still =
empty. Hence, we would like to put some time aside to discuss what =
security threats, requirements, and countermeasures need to be =
described. We will use the Monday, November 8, 1300-1500 slot to have a  =
discussion session.

As a starting point I suggest to look at the following documents:

	=95 =
http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
	=95 http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
	=95 =
http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.txt

Note: If you are unfamiliar with OAuth then the OAuth tutorial session =
might be more suitable for you!



** OAuth Tutorial **

	=95 Date: Wednesday, 19:30 (after the plenary)
	=95 Location: IAB breakout room (Jade 2)
	=95 Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
OAuth allows a user to grant a third-party Web site or application =
access to their resources, without necessarily revealing their =
credentials, or even their identity. The OAuth working group, see =
http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to =
finalize their main specification, namely OAuth v2: =
http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/

Based on the positive response at the last IETF meeting (in Maastricht) =
we decided to hold another OAuth tutorial, namely on *Wednesday, =
starting at 19:30 (after the IETF Operations and Administration Plenary) =
till about 21:00. (Note: I had to switch the day because of the social =
event!)

It is helpful to read through the documents available int he working =
group but not required.

Up-to-date information can be found here: =
http://www.ietf.org/registration/MeetingWiki/wiki/79bofs

Ciao
Hannes


From turners@ieca.com  Sun Nov  7 19:36:56 2010
Return-Path: <turners@ieca.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 8D2FB3A695D for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 19:36:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.534
X-Spam-Level: 
X-Spam-Status: No, score=-100.534 tagged_above=-999 required=5 tests=[AWL=0.206, BAYES_20=-0.74, 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 ynt-4m4xite7 for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 19:36:55 -0800 (PST)
Received: from nm9-vm0.bullet.mail.sp2.yahoo.com (nm9-vm0.bullet.mail.sp2.yahoo.com [98.139.91.196]) by core3.amsl.com (Postfix) with SMTP id C02613A692C for <xmpp@ietf.org>; Sun,  7 Nov 2010 19:36:55 -0800 (PST)
Received: from [98.139.91.66] by nm9.bullet.mail.sp2.yahoo.com with NNFMP; 08 Nov 2010 03:37:13 -0000
Received: from [98.139.91.41] by tm6.bullet.mail.sp2.yahoo.com with NNFMP; 08 Nov 2010 03:37:13 -0000
Received: from [127.0.0.1] by omp1041.mail.sp2.yahoo.com with NNFMP; 08 Nov 2010 03:37:13 -0000
X-Yahoo-Newman-Id: 599443.25073.bm@omp1041.mail.sp2.yahoo.com
Received: (qmail 93857 invoked from network); 8 Nov 2010 03:37:12 -0000
Received: from [130.129.35.8] (turners@130.129.35.8 with plain) by smtp113.biz.mail.mud.yahoo.com with SMTP; 07 Nov 2010 19:37:12 -0800 PST
X-Yahoo-SMTP: ZrP3VLSswBDL75pF8ymZHDSu9B.vcMfDPgLJ
X-YMail-OSG: vafzLt8VM1nzLZM21StfuPz_3jUbngzHZVUzaEw33wOLHiF vZeml4Yf8.P.ZnIW_x3wdkyDan7TZhdq.unSMNFbE1ozgp5IdLvf9zqDhzcu 8GtOkY0KQMesNoxjY29kOJCz694JCtbMOCc0gHbEN9JP0u2nk1Mn3QRCyjEm OUuWzUXP3wV7qBJ3_thgijU1eTx0SEuLVmIcMw2GJSDTbght1KLvgAX7Rha1 LZhpIs0eUPrePLzOwpGP4N__hhMz51mcu_zgO81CnZnW0t5ukCh1F0_aQMEr fVLvx1CNIEjpPsO4CFGbNANs-
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4CD77066.4070108@ieca.com>
Date: Mon, 08 Nov 2010 11:37:10 +0800
From: Sean Turner <turners@ieca.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [xmpp] Why no E2E security solution?
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, 08 Nov 2010 03:36:56 -0000

I'm curious about the root cause for why an E2E security solution hasn't 
been deployed.

I've heard from a couple of people that the reason is that there's no 
JavaScript support for "it".  I assume that the "it" is either ASN.1 
and/or crypto.  Is this really the reason an implemented E2E solutions 
hasn't materialized?

Is another reason maybe that there's no customers asking for an E2E 
security solution

spt

From justin@affinix.com  Sun Nov  7 20:44:08 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 E8DA63A6960 for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 20:44:07 -0800 (PST)
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 roQ4iTEPb6wh for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 20:44:00 -0800 (PST)
Received: from homiemail-a1.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by core3.amsl.com (Postfix) with ESMTP id 1D3153A692C for <xmpp@ietf.org>; Sun,  7 Nov 2010 20:44:00 -0800 (PST)
Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 7286E34806A for <xmpp@ietf.org>; Sun,  7 Nov 2010 20:44:20 -0800 (PST)
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=d AZCP3vvrkoq2K8i8hBKkCNFPYiVN7OAIFec8CXC5LUVyZzjU28SMoXcKzD0phDjd sL/4Rb4Am5TxfkX5GSiv4rz8iKXKXFoHpxox19G9V8DcTrapZ/PV1MiYwBXBoHao tX3TdzHn3eJD8Nww/IWRWEDn60jAca+mx7O4BUUysI=
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=oKXjFOf wmID3Lq9YukLO/I3sxVs=; b=KSmHbdkLGkG+Ygri/qxVpK+oSYdFNCdWEh4c2Fv bh8X+rvMlo37/roDeoh5LtBkMPzQfTbB/hX1oPM8rreTPUbzXpWo7temGeFD5sIc NIFb5h6xt3yAJKe0Q+PkTa/H++JNS2jIghfofReUMhjZQjPx13djAIwYy0LLqyZj vTck=
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-a1.g.dreamhost.com (Postfix) with ESMTPSA id 68B17348062 for <xmpp@ietf.org>; Sun,  7 Nov 2010 20:44:20 -0800 (PST)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Sun, 7 Nov 2010 20:44:17 -0800
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <4CD77066.4070108@ieca.com>
In-Reply-To: <4CD77066.4070108@ieca.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <201011072044.18097.justin@affinix.com>
Subject: Re: [xmpp] Why no E2E security solution?
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, 08 Nov 2010 04:44:08 -0000

On Sunday 07 November 2010 19:37:10 Sean Turner wrote:
> I'm curious about the root cause for why an E2E security solution hasn't
> been deployed.
> 
> I've heard from a couple of people that the reason is that there's no
> JavaScript support for "it".  I assume that the "it" is either ASN.1
> and/or crypto.  Is this really the reason an implemented E2E solutions
> hasn't materialized?

There has been marginal success with XEP-0027 and OTR.  I think the reason 
none of the more recent proposals have caught on is two part:

  1) For the people that do care about e2e security, the sheer number of 
different proposals makes for quite a standardization mess (Peter counted 6 
competing specs the other day?).  Part of why we have so many specs is the 
fact that we haven't been able to agree on requirements.  Plausible 
Deniability was big at one point.  Interest in signed stanzas comes and goes, 
much like the McRib.

  2) They are harder to implement.  contrast to PGP and OTR which have 
libraries that act like simple black boxes.

> Is another reason maybe that there's no customers asking for an E2E
> security solution

Could be.  I know a big selling point of most XMPP server vendors is the 
ability to log chats for corporate compliance (solving the problem of 
employees running around using unregulated AIM or MSN), and e2e encryption 
certainly doesn't help with that.

Similar to lack of consumer pressure is the lack of time in open source 
projects.  I personally didn't think RFC 3923 was terrible, and I would have 
implemented it had there not been more pressing things in the way.

-Justin

From rbarnes@bbn.com  Sun Nov  7 21:40:36 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 8EFC928C0F3 for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 21:40:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.623
X-Spam-Level: 
X-Spam-Status: No, score=-102.623 tagged_above=-999 required=5 tests=[AWL=-0.023, 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 wj4po3ubbmv4 for <xmpp@core3.amsl.com>; Sun,  7 Nov 2010 21:40:28 -0800 (PST)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) by core3.amsl.com (Postfix) with ESMTP id A2CAC3A68DA for <xmpp@ietf.org>; Sun,  7 Nov 2010 21:40:19 -0800 (PST)
Received: from [128.89.253.232] (port=54458 helo=richards-MacBook-Pro.local) by smtp.bbn.com with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1PFKSc-0007AZ-H6; Mon, 08 Nov 2010 00:40:06 -0500
Message-ID: <4CD78D34.5050706@bbn.com>
Date: Mon, 08 Nov 2010 13:40:04 +0800
From: "Richard L. Barnes" <rbarnes@bbn.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Sean Turner <turners@ieca.com>
References: <4CD77066.4070108@ieca.com>
In-Reply-To: <4CD77066.4070108@ieca.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Why no E2E security solution?
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, 08 Nov 2010 05:40:36 -0000

Based on a few minutes of googling, it doesn't seem like it would be a 
Herculean effort to write a Javascript library that parses CMS.  There 
are existing things out there that do basically all of the heavy 
lifting, for example:

ASN.1: <http://lapo.it/asn1js/>
RSA:   <http://www.ohdave.com/rsa/>
DES:   <http://www.tero.co.uk/des/>
AES:   <http://www.movable-type.co.uk/scripts/aes.html>

--Richard



On 11/8/10 11:37 AM, Sean Turner wrote:
> I'm curious about the root cause for why an E2E security solution hasn't
> been deployed.
>
> I've heard from a couple of people that the reason is that there's no
> JavaScript support for "it". I assume that the "it" is either ASN.1
> and/or crypto. Is this really the reason an implemented E2E solutions
> hasn't materialized?
>
> Is another reason maybe that there's no customers asking for an E2E
> security solution
>
> spt
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp

From dave@cridland.net  Mon Nov  8 06:00:00 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 54F893A67E1 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 06:00:00 -0800 (PST)
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 2H7bsfouUujI for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 05:59:59 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 142673A67D4 for <xmpp@ietf.org>; Mon,  8 Nov 2010 05:59:59 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 3236A11680F6; Mon,  8 Nov 2010 14:00:19 +0000 (GMT)
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 BO+2PWutORO0; Mon,  8 Nov 2010 14:00:15 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 17D5611680CA; Mon,  8 Nov 2010 14:00:15 +0000 (GMT)
References: <4CD77066.4070108@ieca.com>
In-Reply-To: <4CD77066.4070108@ieca.com>
MIME-Version: 1.0
Message-Id: <2850.1289224815.092856@puncture>
Date: Mon, 08 Nov 2010 14:00:15 +0000
From: Dave Cridland <dave@cridland.net>
To: Sean Turner <turners@ieca.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] Why no E2E security solution?
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, 08 Nov 2010 14:00:00 -0000

On Mon Nov  8 03:37:10 2010, Sean Turner wrote:
> Is another reason maybe that there's no customers asking for an E2E  
> security solution

Whilst lots of people really like the notion that there exists an  
end-to-end security technology, what we have in the way of identity  
assurance is in practical terms (seen as) good enough. Spoofing  
servers (and therefore end-user jids) is indeed possible with the  
current deployment on the internet, but not very easy, and certainly  
not as practical as simply registering a bunch of essentially  
anonymous accounts.

When "proper" TLS-based authentication is used for servers, then it  
becomes very difficult to spoof a domain, in which case the added  
value of E2E is slim, and largely based on distrust of a peer  
server's authentication policy - this itself seems less likely in the  
kinds of environments where security is this important.

Similarly for signing, there is a strong requirement and much nodding  
of heads that signing is important (especially with security labels,  
which XMPP has via XEP-0258), but the requirements feels, to me, to  
be much more of a rubber-stamping exercise to satisfy received wisdom.

Finally, the barriers to adoption are usually high. For example in  
the face of low bandwidth cases, where compression and stanza sizes  
are important, it seems to me that the added value for both E2E  
encryption and E2E signing is entirely overridden by practical  
concerns.

(This may be read as saying there's no point working on these kinds  
of technologies, which I don't think is the case - I think we should  
be both minimizing the barriers and maximizing the benefits most  
carefully, however).

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 Kurt.Zeilenga@Isode.COM  Mon Nov  8 06:16:22 2010
Return-Path: <Kurt.Zeilenga@Isode.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 47EC53A6811 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 06:16:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.399
X-Spam-Level: 
X-Spam-Status: No, score=-102.399 tagged_above=-999 required=5 tests=[AWL=0.200, 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 R4wowaxzh4Eb for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 06:16:21 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 1E81B3A67ED for <xmpp@ietf.org>; Mon,  8 Nov 2010 06:16:21 -0800 (PST)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNgGRgAEeWfE@rufus.isode.com>; Mon, 8 Nov 2010 14:16:40 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <4CD77066.4070108@ieca.com>
Date: Mon, 8 Nov 2010 06:16:36 -0800
Message-Id: <DCA9B242-0B91-49E5-9540-69B7519EA825@Isode.COM>
References: <4CD77066.4070108@ieca.com>
To: Sean Turner <turners@ieca.com>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Why no E2E security solution?
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, 08 Nov 2010 14:16:22 -0000

On Nov 7, 2010, at 7:37 PM, Sean Turner wrote:

> I'm curious about the root cause for why an E2E security solution =
hasn't been deployed.
> I've heard from a couple of people that the reason is that there's no =
JavaScript support for "it".  I assume that the "it" is either ASN.1 =
and/or crypto.  Is this really the reason an implemented E2E solutions =
hasn't materialized?
> Is another reason maybe that there's no customers asking for an E2E =
security solution

There's lots of reasons.   Personally, I think the lack of solution =
solutions is more tied to demand than anything else.   There's very =
little demand for such solutions and what demand there is is quite =
fragmented (different desires/needs in the space), leading to a wide =
range of different solutions, each of which is tended to have fairly =
narrow scope.

I suspect that much of the small consumer demand for E2E security =
solution will more likely get met by E2E secure channel over XMPP =
solution than an XMPP XMPP object level encryption solution, and hence =
suspect we'll see broader support for former first.

Here at Isode, we have some customer demand for object-level digital =
signatures (though not necessarily E2E) and, hence, will be nudge =
forward a (yet another) specification to met these demands.  XEP-274 =
discusses why I think yet another solution is need.   I'm currently =
drafting a solution which utilized encapsulated signature (as opposed to =
the encapsulating signature approaches we have in various other specs, =
including the recently introduced XEP 285).

-- Kurt

>=20
> spt
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp


From stpeter@stpeter.im  Mon Nov  8 11:28: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 D1E4C3A6874 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 11:28:53 -0800 (PST)
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 kqVjYhkmS1Nq for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 11:28:52 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 9F9093A686D for <xmpp@ietf.org>; Mon,  8 Nov 2010 11:28:52 -0800 (PST)
Received: from dhcp-44a7.meeting.ietf.org (dhcp-44a7.meeting.ietf.org [130.129.68.167]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 0526440BB9; Mon,  8 Nov 2010 12:38:22 -0700 (MST)
Message-ID: <4CD84F86.9090006@stpeter.im>
Date: Tue, 09 Nov 2010 03:29:10 +0800
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: Sean Turner <turners@ieca.com>
References: <4CD77066.4070108@ieca.com>
In-Reply-To: <4CD77066.4070108@ieca.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="------------ms040603090603050507030800"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Why no E2E security solution?
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, 08 Nov 2010 19:28:53 -0000

This is a cryptographically signed message in MIME format.

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

On 11/8/10 11:37 AM, Sean Turner wrote:
> I'm curious about the root cause for why an E2E security solution hasn'=
t
> been deployed.
>=20
> I've heard from a couple of people that the reason is that there's no
> JavaScript support for "it".  I assume that the "it" is either ASN.1
> and/or crypto.  Is this really the reason an implemented E2E solutions
> hasn't materialized?
>=20
> Is another reason maybe that there's no customers asking for an E2E
> security solution?

Justin Karneges, Dave Cridland, and Kurt Zeilenga have explained the
core reasons why e2e security hasn't caught on. IMHO the (perceived)
lack of ASN.1/PKIX support in JavaScript is not the primary cause. If it
were, the path forward would be clearer than it is. It's much more
difficult to deal with apathy among the vast majority of end users,
positive hostility on the part of many service providers (e.g.,
enterprise deployments), developer overload and the relative difficulty
of implementing such technologies from scratch, different requirements
for different user communities, the fragmentation introduced by so many
proposals (itself driven by the fragmentation of requirements), the
"checkbox" mentality that we "must" have an e2e security solution to
nominally satisfy some approving body, etc.

So far, two technologies have been relative successes in this space:
OpenPGP (XEP-0027) and off-the-record messaging (OTR). The rest have
been abject failures. Perhaps it would be valuable to look at both of
those more closely, because they have produced running code (by which I
don't mean compiling code, I mean stuff that's actually been deployed to
some significant extent). Both OpenPGP and OTR have made it relatively
easy for client developers to add e2e security to their applications
(via gnupg and libotr). We might have had similar success with XEP-0116
if someone had developed a library that developers could have used.
Naturally the XMPP community could rally around a new technology, or it
could settle on one of the technologies that has more-or-less worked.
For various reasons I think the most likely candidate is OTR, but I'm
open to being argued out of that tentative conclusion.

Once we're well and truly done with the core specs I'll be turning more
of my attention to e2e security, but the considerations mentioned by the
previous posters in this thread make it clear that the landscape will be
difficult to navigate.

Peter

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




--------------ms040603090603050507030800
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/K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yvFOHc1NswbpyCjELqFGvlAAAA
AAAA
--------------ms040603090603050507030800--

From stpeter@stpeter.im  Mon Nov  8 11:44:45 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 825303A686D; Mon,  8 Nov 2010 11:44:45 -0800 (PST)
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 ftdBSX2b3xlO; Mon,  8 Nov 2010 11:44:44 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 935163A6800; Mon,  8 Nov 2010 11:44:44 -0800 (PST)
Received: from dhcp-44a7.meeting.ietf.org (dhcp-44a7.meeting.ietf.org [130.129.68.167]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 6285A40D1E; Mon,  8 Nov 2010 12:54:14 -0700 (MST)
Message-ID: <4CD8533D.1090006@stpeter.im>
Date: Tue, 09 Nov 2010 03:45:01 +0800
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: Peter Saint Andre <Peter.SaintAndre@webex.com>
References: <B276A36CB76AE04FADC48FDD7ED6A1CA0368BE@SRV-EXSC03.webex.local>
In-Reply-To: <B276A36CB76AE04FADC48FDD7ED6A1CA0368BE@SRV-EXSC03.webex.local>
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="------------ms020305020303020006020102"
Cc: secdir@ietf.org, draft-ietf-xmpp-3920bis.all@tools.ietf.org, xmpp@ietf.org, yaronf.ietf@gmail.com, iesg@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: Mon, 08 Nov 2010 19:44:45 -0000

This is a cryptographically signed message in MIME format.

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

Never mind, we already have that:

   Feature:  stanza-attribute-from-validate
   Description:  Validate the 'from' address of all stanzas received
      from a peer servers.
   Section:  Section 8.1.2.2
   Roles:  Client N/A, Server MUST.

Issue closed. :)

On 11/5/10 9:54 PM, Peter Saint Andre wrote:
> Yes, it would be good to add a conformance feature for that one,
> too.
>=20
> ----- Original Message ----- From: Philipp Hancke
> <fippo@mail.symlynx.com> To: Yaron Sheffer <yaronf.ietf@gmail.com>=20
> Cc: Peter Saint-Andre <stpeter@stpeter.im>;
> draft-ietf-xmpp-3920bis.all@tools.ietf.org
> <draft-ietf-xmpp-3920bis.all@tools.ietf.org>; iesg@ietf.org
> <iesg@ietf.org>; XMPP <xmpp@ietf.org>; secdir@ietf.org
> <secdir@ietf.org> Sent: Thu Nov 04 13:41:32 2010 Subject: Re: [xmpp]
> SecDir review of draft-ietf-xmpp-3920bis-17
>=20
> Yaron Sheffer wrote:
>> Hi Peter,
>>=20
>> yes, these seem reasonable. Is there a "converse" to the rewriting
>> of the client's From header before forwarding to other servers,
>> i.e. is there a server-side check on stanza From headers received
>> from other servers?
>=20
> Yes, see 8.1.2.2. Server-to-Server Streams (or search for the
> associated invalid-from stream error).


--------------ms020305020303020006020102
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/cWJOJ7F5RltbEIabo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eter.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 EA9F83A68C1 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 11:50:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.449
X-Spam-Level: 
X-Spam-Status: No, score=-102.449 tagged_above=-999 required=5 tests=[AWL=-0.150, 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 754vrGtlYroz for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 11:50:33 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id AAC163A6800 for <xmpp@ietf.org>; Mon,  8 Nov 2010 11:50:32 -0800 (PST)
Received: from dhcp-44a7.meeting.ietf.org (dhcp-44a7.meeting.ietf.org [130.129.68.167]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3295640D15; Mon,  8 Nov 2010 13:00:02 -0700 (MST)
Message-ID: <4CD8549B.4080404@stpeter.im>
Date: Tue, 09 Nov 2010 03:50:51 +0800
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: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>
In-Reply-To: <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@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="------------ms010809010407080108020106"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] consensus call on SASL <transition-needed/>
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, 08 Nov 2010 19:50:35 -0000

This is a cryptographically signed message in MIME format.

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

On 11/7/10 7:26 PM, Jehan Pag=C3=A8s wrote:
> Hi,
>=20
> On Sat, Nov 6, 2010 at 11:00 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>> On 11/6/10 7:50 AM, Florian Zeitz wrote:
>>> Am 05.11.2010 14:20, schrieb Kevin Smith:
>>>> On Thu, Nov 4, 2010 at 10:14 PM, Joe Hildebrand
>>>> <joe.hildebrand@webex.com> wrote:
>>>>>>> (a) Remove the <transition-needed/> SASL error condition, because=
 it
>>>>>>> opens a hole that wasn't open with RFC 3920 and doesn't need to b=
e
>>>>>>> opened now.
>>>>>>
>>>>>> I see no reason to retain this unless - perhaps - there is demonst=
rated
>>>>>> client support.
>>>>
>>>> My understanding is that this was added into 3920bis for completenes=
s,
>>>> without any deployment experience in the community. I'm in favour of=

>>>> removing it.
>>>>
>>> +1
>>
>> It seems we have pretty strong agreement on that point.
>=20
> I agree too.

OK, I have scrubbed <transition-needed/> from my working copy. If anyone
has objections, please speak up.

I'll reply seperately about TLS + SASL PLAIN.

Peter

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




--------------ms010809010407080108020106
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/telEFj5rDTX2juTvZ3Qhf3XQX5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ter.im  Mon Nov  8 12:26: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 882723A686D for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 12:26:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.81
X-Spam-Level: 
X-Spam-Status: No, score=-101.81 tagged_above=-999 required=5 tests=[AWL=-0.751, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, SARE_LWSHORTT=1.24, 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 UgzgItVVsmFJ for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 12:26:48 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id D812D3A6834 for <xmpp@ietf.org>; Mon,  8 Nov 2010 12:26:47 -0800 (PST)
Received: from dhcp-44a7.meeting.ietf.org (dhcp-44a7.meeting.ietf.org [130.129.68.167]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 701FB40BB9; Mon,  8 Nov 2010 13:36:18 -0700 (MST)
Message-ID: <4CD85D19.4080601@stpeter.im>
Date: Tue, 09 Nov 2010 04:27:05 +0800
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: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>
In-Reply-To: <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@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="------------ms020302090701060502070001"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 08 Nov 2010 20:26:49 -0000

This is a cryptographically signed message in MIME format.

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

[trimming the subject to SASL PLAIN]

On 11/7/10 7:26 PM, Jehan Pag=C3=A8s wrote:

>>>>>>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement securi=
ty
>>>>>>> technology, for the same reason (note that it was not
>>>>>>> mandatory-to-implement in RFC 3920).
>>>>>>>
>>>>>>
>>>>>> I think for interop it needs to be MTI at least in clients. It can=
 be
>>>>>> reduced to a SHOULD in servers.
>>>>
>>>> My understanding of this is that it was added to 3920bis after much
>>>> deployment experience in the community showed that it was necessary
>>>> for interop. I'm in favour of MUST for clients. For servers I could =
be
>>>> talked in most directions - but I think what's generally important
>>>> there is that there's a sensible MTI that's common for clients and
>>>> servers and SCRAM is currently serving that purpose in bis; SHOULD i=
s
>>>> where I'd currently lean.
>>>>
>>> I agree with that assessment MUST in clients and SHOULD in servers
>>> sounds fine.
>>>
>>> However one comment since this came out of a security discussion:
>>> The real security gain would be if clients could refuse to use PLAIN,=
 a
>>> MITM can spoof mechanisms whether the server does PLAIN or not,
>>> therefore this change is IMHO somewhat cosmetic as far as security ga=
in
>>> goes.
>>
>> Agreed,=20

To be clear, when I said "agreed" I was agreeing with Florian about the
security issue, not necessarily about including TLS + SASL PLAIN as a
mandatory-to-implement technology.

>> it's the client that needs to be careful here, so we need
>> appropriate text. I think we can use what I sent a few days ago as a
>> starting point.

As a reminder, here's the text I sent:

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants.

      Interoperability and Security Note: In practice, when SCRAM is not
      available, typically servers and clients use TLS plus SASL PLAIN.
      The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants of the SCRAM
      mechanism are strongly preferred over the PLAIN mechanism because
      of their vastly superior security properties (including the
      ability to enforce channel binding as described under
      Section 13.9.4).  Although in certain deployment scenarios it can
      be difficult for a server to offer SCRAM-based mechanisms (e.g.,
      because the XMPP service depends for authentication purposes on a
      database or directory that is not under the control of the XMPP
      administrators), in general implementations SHOULD treat TLS plus
      SASL PLAIN as a technology of last resort when interacting with
      implementations that do not yet support SCRAM; in particular, a
      client MUST prefer more secure mechanisms (e.g., SCRAM-SHA-1,
      SCRAM-SHA-1-PLUS, and EXTERNAL) to the PLAIN mechanism and MUST
      NOT use the PLAIN mechanism without at a minimum confidentiality
      and integrity protection via TLS with full certificate validation
      as described under Section 13.7.2.1 (however, the lack of channel
      binding in the PLAIN mechanism implies that even authenticated TLS
      cannot fully protect the SASL negotiation and subsequent
      communications when PLAIN is used).

###

> That was not MTI in RFC3920, so why would we add this constraint now
> which would make it a security burden for lot lot of years from now? I
> agree it is much deployed right now, and for this reason we should not
> just wipe out such technology, but it does not mean we should make it
> a mandatory one.
>=20
> I would suggest a SHOULD or MIGHT for both clients and servers,
> accompanied by an informational note about the fact that it is
> currently widely implemented as well as security considerations. For
> the short term, it would have probably the same consequences than a
> MUST (developers will implement it in order to keep compatibility with
> older implementations), with the difference that (not being a MTI) it
> won't be a burden to carry for the long term and would probably fade
> out with time.

Can you suggest modifications to the text I posted above?

> On the security side, I don't agree with the fact this is a cosmetic
> security change. We are still removing one layer of security here,
> because it means that if a MITM can pass somehow the TLS security, and
> if the client accept TLS + PLAIN, then the MITM attacker simply has to
> propose only SASL PLAIN for identification to access unencrypted
> passwords. With TLS + SCRAM, the attacker may be able to make a single
> connection, but at least won't collect the current password (at least
> not this way, because I agree that if the server store unencrypted
> passwords, and proposes for instance to retrieve the user password
> with ad-hoc commands =E2=80=94 which is a very bad idea and a security =
flaw,
> according to me =E2=80=94, he might be able to), which we know is a mor=
e
> serious issue than simply impersonating one single connection (as
> users often use the same passwords on many services, so an attacker
> may access more than just the XMPP server; also the attacker will be
> able to do as many connections as he wish later as he has the actual
> password instead of a salted one; and so one).
>=20
> This is saying TLS is breakable, but that's still a risk and an
> additional weakness we can avoid.
> And this is all even more true because many servers out-there are self
> authenticated. And as we know, a TLS connection made with a bad
> certificate cannot be trusted at all. Yet most clients will
> unfortunately just ignore this security breach (considering the
> current sad state of our park of network's certificates) and would
> send clear passwords with SASL PLAIN through such an unsecure canal (I
> also remind that SCRAM provides also server authentication, weaker
> than TLS but still a nice addition inside an unsecure TLS canal as we
> see a lot in our network).
> So no really if we can avoid it: TLS + PLAIN should not be a mandatory
> to implement technology. Keeping it a MIGHT + informational note on
> our current XMPP park is preferred here.
>=20
> I seem to be the only one to think so for now, but I still give my
> opinion about this.

Well, Kurt agrees with you since he brought this up in the first place.

My opinion is that we don't need to use conformance language (MUST or
SHOULD) with regard to TLS + SASL PLAIN. Yes, we know that many clients
and servers implement it, and we know that it's commonly used in
deployment, but that doesn't mean we need to tell developers that they
MUST or SHOULD implement it.

For comparison, we don't say that servers MUST or SHOULD implement
Server Dialback (XEP-0220), and in practice that's much more necessary
to establish s2s connections than SASL PLAIN is necessary to establish
c2s connections. Here's our interoperability note on that topic:

      * Interoperability Note: At the time of writing, most deployed
      servers use the Server Dialback protocol [XEP-0220] to provide
      weak identity verification instead of using SASL to provide strong
      authentication, especially in cases where SASL negotiation would
      not result in strong authentication anyway (e.g., because TLS
      negotiation was not mandated by the peer server, or because the
      PKIX certificate presented by the peer server during TLS
      negotiation is self-signed and has not been previously accepted);
      for details, see [XEP-0220].  The solutions specified in this
      document offer a significantly stronger level of security (see
      also Section 13.6).

The note I posted above about SASL PLAIN serves much the same purpose:
we put developers on notice that in practice they will probably want to
implement SASL PLAIN so that they can maximize the potential for
connecting to a server, but we don't make this a conformance issue
(instead leaving the implementation and deployment decisions up to the
best judgment of developers and service operators).

So: how is SASL PLAIN any different from Server Dialback with regard to
conformance?

Peter

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




--------------ms020302090701060502070001
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
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYD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1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBom1swy0DUupHq/8ihZBL+FtmJCOX3PYiZTQvkoZasbJEbErTHqv4/j9Uk
figteji4eJzRRmnGZs1I5RP+PQyVcopb5qfKqxjqLbKtbKhAjT8AGv27eCklwWI6MpTWDHNR
EsZ0ih4CEpwSyCrROdIb1ugjqmgR0WVlflhRX0uHAPMBzIQKxnuaO+m5l9YE1j4nFlZZH23A
l5LUp2FTS0XVWjL4IomKCNPOz4PdNjKRxB2bwO5lUSUTGy2+ICQoqLogzyCx1v1LHqYIwo5W
XD8pWAwItJKTvKXI3eRUoQaymi2hMVU7Q0BtFVS7CAyTe2jgK7vPeo8aPSm12TuSoOsCAAAA
AAAA
--------------ms020302090701060502070001--

From k.i.smith@gmail.com  Mon Nov  8 13:03:15 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 0C79C3A68B2 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:03:15 -0800 (PST)
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 CRMARTUHWdnx for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:03:14 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 42E123A67E5 for <xmpp@ietf.org>; Mon,  8 Nov 2010 13:03:14 -0800 (PST)
Received: by vws3 with SMTP id 3so2387910vws.31 for <xmpp@ietf.org>; Mon, 08 Nov 2010 13:03:36 -0800 (PST)
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; bh=izslMUXyMOr//PlvTKyv2Z5nvBORnYHTP9wGwq+sYio=; b=dnVxFQGsK3VxHqzkm0D6Y+wXtSFa/rqfhniqXcr17eSgmsApGz288p39iAm1NkrAlL cj+BQfGSPae/WNU4PDBPLgFXF/JHPqj+cPfaNAkmT/lhOIcpjr0I8UV9bcqBkPiJSBsg 5YcO+YrAptWyOsiqpo8TNmhi5lTXsI80plqFs=
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; b=YDFZXsj0Qqrrz9d0SvUa1gDPIN5dJvetsAbq9kkSoSi/khq9D73OY6kORKB5GOTkY6 caD1NZl/1ZU5bnd/ZKA8XLyff5mO9JEiINenG0SgWNeywYW8wdziMmHhfaF3suppTqL4 Zgdx6IJFvq6Kh65N5aHESA4qUAklfC4bg++Go=
MIME-Version: 1.0
Received: by 10.224.213.8 with SMTP id gu8mr4488556qab.53.1289250216217; Mon, 08 Nov 2010 13:03:36 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Mon, 8 Nov 2010 13:03:36 -0800 (PST)
In-Reply-To: <4CD85D19.4080601@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im>
Date: Mon, 8 Nov 2010 21:03:36 +0000
X-Google-Sender-Auth: lzwEAu_r_EqUVQ8xPZ8y14cpy0I
Message-ID: <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@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
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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: Mon, 08 Nov 2010 21:03:15 -0000

2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
> For comparison, we don't say that servers MUST or SHOULD implement
> Server Dialback (XEP-0220), and in practice that's much more necessary
> to establish s2s connections than SASL PLAIN is necessary to establish
> c2s connections.

The difference here is that dialback is not needed for interop,
deployments can always choose to use TLS + EXTERNAL. The reason I
think PLAIN should be MUST for clients is that it *is* needed for
interop, as there are plenty of situations where SCRAM isn't an
option.

/K

From stpeter@stpeter.im  Mon Nov  8 13:10: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 B63D73A69E0 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:10:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.497
X-Spam-Level: 
X-Spam-Status: No, score=-102.497 tagged_above=-999 required=5 tests=[AWL=0.102, 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 xk2TS8K34Z9a for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:10:46 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 30A4F3A69E4 for <xmpp@ietf.org>; Mon,  8 Nov 2010 13:10:45 -0800 (PST)
Received: from dhcp-44a7.meeting.ietf.org (dhcp-44a7.meeting.ietf.org [130.129.68.167]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id CE48F40BB9; Mon,  8 Nov 2010 14:20:15 -0700 (MST)
Message-ID: <4CD86765.1070509@stpeter.im>
Date: Tue, 09 Nov 2010 05:11:01 +0800
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: kevin@kismith.co.uk
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im> <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@mail.gmail.com>
In-Reply-To: <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@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="------------ms010809060005090901050209"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 08 Nov 2010 21:10:47 -0000

This is a cryptographically signed message in MIME format.

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

On 11/9/10 5:03 AM, Kevin Smith wrote:
> 2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
>> For comparison, we don't say that servers MUST or SHOULD implement
>> Server Dialback (XEP-0220), and in practice that's much more necessary=

>> to establish s2s connections than SASL PLAIN is necessary to establish=

>> c2s connections.
>=20
> The difference here is that dialback is not needed for interop,
> deployments can always choose to use TLS + EXTERNAL. The reason I
> think PLAIN should be MUST for clients is that it *is* needed for
> interop, as there are plenty of situations where SCRAM isn't an
> option.

By which you mean that a service admin always *could* deploy a cert,
they're just too lazy?

Possible counter-argument: large hosting services in which it's quite
impractical to deploy one certificate that contains entries for 10,000
hosted domains.

Peter

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




--------------ms010809060005090901050209
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
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1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBjMsRhlxyjbiiya4m7eztZYQv1Ckm3mJ+OSMXwXE2SRCjE4lYJ+qNIDSot
wYDbCAuqHS6khEkNpFQr4IOFZMiuqshNX9LNIKyvYjOZvGv5/Wr1OStGT5O8viaSl5X0LQTV
HpWdjgIn6KOgSYTr7WoO+8o2FXWZvYJLHO5yKvVHGFyYK6dPzvDMis2U+36YQ0C6nEKkxI/0
2cD9KjHAb/zaBoVkdPQRZQ/oZ5TdxeiRel/OW0JydQTDeY4TIKTCHUlpyrca7drsc6aIaose
2YGz7dnD0VFwqgnZL4yB2ImkrfHBDdvuIf1DvKEn5N1crOpdpR13fno3VeGgVMe6Q680AAAA
AAAA
--------------ms010809060005090901050209--

From dave@cridland.net  Mon Nov  8 13:17:14 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 BF9393A68D5 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:17:14 -0800 (PST)
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 KG7fwTOHqbQb for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:17:13 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 89B813A68CF for <xmpp@ietf.org>; Mon,  8 Nov 2010 13:17:13 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 1278D11680F4; Mon,  8 Nov 2010 21:17:35 +0000 (GMT)
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 W-U7iKsEK3CC; Mon,  8 Nov 2010 21:17:29 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 0B42411680CA; Mon,  8 Nov 2010 21:17:29 +0000 (GMT)
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@mail.gmail.com> <4CD86765.1070509@stpeter.im>
In-Reply-To: <4CD86765.1070509@stpeter.im>
MIME-Version: 1.0
Message-Id: <2850.1289251049.043398@puncture>
Date: Mon, 08 Nov 2010 21:17:29 +0000
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>, Kevin Smith <kevin@kismith.co.uk>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 08 Nov 2010 21:17:14 -0000

On Mon Nov  8 21:11:01 2010, Peter Saint-Andre wrote:
> On 11/9/10 5:03 AM, Kevin Smith wrote:
> > 2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
> >> For comparison, we don't say that servers MUST or SHOULD  
> implement
> >> Server Dialback (XEP-0220), and in practice that's much more  
> necessary
> >> to establish s2s connections than SASL PLAIN is necessary to  
> establish
> >> c2s connections.
> >
> > The difference here is that dialback is not needed for interop,
> > deployments can always choose to use TLS + EXTERNAL. The reason I
> > think PLAIN should be MUST for clients is that it *is* needed for
> > interop, as there are plenty of situations where SCRAM isn't an
> > option.
> 
> By which you mean that a service admin always *could* deploy a cert,
> they're just too lazy?
> 
> Possible counter-argument: large hosting services in which it's  
> quite
> impractical to deploy one certificate that contains entries for  
> 10,000
> hosted domains.

No, they could obtain 10,000 certificates, and present the "right"  
one.

This might not be desirable, but it's entirely possible.

On the other hand, it's simply impossible in some deployments to  
offer SCRAM - PLAIN's the only thing that'll work.

FWIW, I'd argue that we should be marking XEP-0220 at the SHOULD  
level anyway, I was just pointing out your counter-argument is flawed.

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 Nov  8 13:25: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 419E03A69C2 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:25:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.507
X-Spam-Level: 
X-Spam-Status: No, score=-102.507 tagged_above=-999 required=5 tests=[AWL=0.092, 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 h4RjCY5pliDx for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:25:37 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2D31D3A68CF for <xmpp@ietf.org>; Mon,  8 Nov 2010 13:25:37 -0800 (PST)
Received: from dhcp-44a7.meeting.ietf.org (dhcp-44a7.meeting.ietf.org [130.129.68.167]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 31C5E40BB9; Mon,  8 Nov 2010 14:35:07 -0700 (MST)
Message-ID: <4CD86AE3.7000208@stpeter.im>
Date: Tue, 09 Nov 2010 05:25:55 +0800
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: Dave Cridland <dave@cridland.net>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@mail.gmail.com> <4CD86765.1070509@stpeter.im> <2850.1289251049.043398@puncture>
In-Reply-To: <2850.1289251049.043398@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="------------ms060206030203080409010703"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 08 Nov 2010 21:25:38 -0000

This is a cryptographically signed message in MIME format.

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

On 11/9/10 5:17 AM, Dave Cridland wrote:
> On Mon Nov  8 21:11:01 2010, Peter Saint-Andre wrote:
>> On 11/9/10 5:03 AM, Kevin Smith wrote:
>> > 2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
>> >> For comparison, we don't say that servers MUST or SHOULD implement
>> >> Server Dialback (XEP-0220), and in practice that's much more necess=
ary
>> >> to establish s2s connections than SASL PLAIN is necessary to establ=
ish
>> >> c2s connections.
>> >
>> > The difference here is that dialback is not needed for interop,
>> > deployments can always choose to use TLS + EXTERNAL. The reason I
>> > think PLAIN should be MUST for clients is that it *is* needed for
>> > interop, as there are plenty of situations where SCRAM isn't an
>> > option.
>>
>> By which you mean that a service admin always *could* deploy a cert,
>> they're just too lazy?
>>
>> Possible counter-argument: large hosting services in which it's quite
>> impractical to deploy one certificate that contains entries for 10,000=

>> hosted domains.
>=20
> No, they could obtain 10,000 certificates, and present the "right" one.=

>=20
> This might not be desirable, but it's entirely possible.

At what expense?

> On the other hand, it's simply impossible in some deployments to offer
> SCRAM - PLAIN's the only thing that'll work.

Really? Isn't that, too, a deployment decision? Couldn't the operator
replicate the authentication database so that the XMPP server has access
to credentials in a form that enables the use of SCRAM?

> FWIW, I'd argue that we should be marking XEP-0220 at the SHOULD level
> anyway,=20

That would require us to document TLS + Server Dialback, I think.

> I was just pointing out your counter-argument is flawed.

You were pointing out that you think my counter-argument is flawed. :)

Peter

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




--------------ms060206030203080409010703
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
aW5nMTgwNgY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GpPNoK0+scktOMv
MOP2fjSxAW0OkkBKLQdBulcFegBirJQXlyrx3Xp7haXdYeJCN+krt2VxTiIdRsaPeGeLU43N
T23e578AFLVh9getLb0r1rUHBOHKDv7C//BffK2Yznf85W74r2z8Cyzks8VXphpMvN+AAooG
j9yew6H2Rzo1bMqWjcWTCNU98Fcy46uTj84mtviS4I0lmuGXVCIE5JScHaQD/T33ib3zi3bp
3KAyqxsjnczhd8Q9aQ0uZ0tn/wRbSByAgPAS+9bQrQxXayPX443wXc2FLAdvEbXLjqUHAAAA
AAAA
--------------ms060206030203080409010703--

From dave@cridland.net  Mon Nov  8 13:58:00 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 265243A69A8 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:58:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.539
X-Spam-Level: 
X-Spam-Status: No, score=-2.539 tagged_above=-999 required=5 tests=[AWL=0.060,  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 npvcxD260sbO for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 13:57:59 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id A1FF13A68AF for <xmpp@ietf.org>; Mon,  8 Nov 2010 13:57:58 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 5287211680F4; Mon,  8 Nov 2010 21:58:20 +0000 (GMT)
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 DxVyCGJ6IVUA; Mon,  8 Nov 2010 21:58:16 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id EA43911680CA; Mon,  8 Nov 2010 21:58:15 +0000 (GMT)
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@mail.gmail.com> <4CD86765.1070509@stpeter.im> <2850.1289251049.043398@puncture> <4CD86AE3.7000208@stpeter.im>
In-Reply-To: <4CD86AE3.7000208@stpeter.im>
MIME-Version: 1.0
Message-Id: <2850.1289253495.960290@puncture>
Date: Mon, 08 Nov 2010 21:58:15 +0000
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>, Kevin Smith <kevin@kismith.co.uk>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 08 Nov 2010 21:58:00 -0000

On Mon Nov  8 21:25:55 2010, Peter Saint-Andre wrote:
> On 11/9/10 5:17 AM, Dave Cridland wrote:
> > On Mon Nov  8 21:11:01 2010, Peter Saint-Andre wrote:
> >> On 11/9/10 5:03 AM, Kevin Smith wrote:
> >> > 2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
> >> >> For comparison, we don't say that servers MUST or SHOULD  
> implement
> >> >> Server Dialback (XEP-0220), and in practice that's much more  
> necessary
> >> >> to establish s2s connections than SASL PLAIN is necessary to  
> establish
> >> >> c2s connections.
> >> >
> >> > The difference here is that dialback is not needed for interop,
> >> > deployments can always choose to use TLS + EXTERNAL. The  
> reason I
> >> > think PLAIN should be MUST for clients is that it *is* needed  
> for
> >> > interop, as there are plenty of situations where SCRAM isn't an
> >> > option.
> >>
> >> By which you mean that a service admin always *could* deploy a  
> cert,
> >> they're just too lazy?
> >>
> >> Possible counter-argument: large hosting services in which it's  
> quite
> >> impractical to deploy one certificate that contains entries for  
> 10,000
> >> hosted domains.
> >
> > No, they could obtain 10,000 certificates, and present the  
> "right" one.
> >
> > This might not be desirable, but it's entirely possible.
> 
> At what expense?
> 
> 
That's irrelevant - we're talking about the possible versus the  
impossible. Besides, it'll be the same cost per domain, presumably,  
no matter the numbers of domains, and that cost could be zero.


> > On the other hand, it's simply impossible in some deployments to  
> offer
> > SCRAM - PLAIN's the only thing that'll work.
> 
> Really? Isn't that, too, a deployment decision? Couldn't the  
> operator
> replicate the authentication database so that the XMPP server has  
> access
> to credentials in a form that enables the use of SCRAM?
> 
> 
No. If the credentials are in the form of a hash (one, presumably,  
incompatible with SCRAM), the operator does not have access to the  
credentials, and can only verify a supplied password against them.

To give a concrete example, a deployment which authenticates via  
ActiveDirectory will have to authenticate clients either using  
Kerberos V (via GSSAPI), possibly NTLM, or PLAIN. SCRAM is not an  
option, without mandating a password change (ie, transition-needed),  
and even if we were to go that route, we'd only be requiring PLAIN  
via another route.


> > FWIW, I'd argue that we should be marking XEP-0220 at the SHOULD  
> level
> > anyway,
> 
> That would require us to document TLS + Server Dialback, I think.
> 
> 
No, I don't think so. But in any case, I don't see how to phrase this  
that doesn't either invalidate the security offered by S2S TLS, or  
introduce dialback-without-dialback, which seems to confuse lots of  
people.


> > I was just pointing out your counter-argument is flawed.
> 
> You were pointing out that you think my counter-argument is flawed.  
> :)

Yes, but you think my thinking that your counter-argument is flawed  
is flawed - but that thinking's flawed.

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 Nov  8 14:14: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 E226C3A68D5 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 14:14:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.515
X-Spam-Level: 
X-Spam-Status: No, score=-102.515 tagged_above=-999 required=5 tests=[AWL=0.084, 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 1Ui4Ir97ZJLY for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 14:14:26 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id E3BCA3A68AF for <xmpp@ietf.org>; Mon,  8 Nov 2010 14:14:25 -0800 (PST)
Received: from dhcp-44a7.meeting.ietf.org (dhcp-44a7.meeting.ietf.org [130.129.68.167]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5E10440D1E; Mon,  8 Nov 2010 15:23:56 -0700 (MST)
Message-ID: <4CD87652.9030504@stpeter.im>
Date: Tue, 09 Nov 2010 06:14:42 +0800
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: Dave Cridland <dave@cridland.net>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@mail.gmail.com> <4CD86765.1070509@stpeter.im> <2850.1289251049.043398@puncture> <4CD86AE3.7000208@stpeter.im> <2850.1289253495.960290@puncture>
In-Reply-To: <2850.1289253495.960290@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="------------ms060102000001040006020701"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 08 Nov 2010 22:14:27 -0000

This is a cryptographically signed message in MIME format.

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

On 11/9/10 5:58 AM, Dave Cridland wrote:
> On Mon Nov  8 21:25:55 2010, Peter Saint-Andre wrote:
>> On 11/9/10 5:17 AM, Dave Cridland wrote:
>> > On Mon Nov  8 21:11:01 2010, Peter Saint-Andre wrote:
>> >> On 11/9/10 5:03 AM, Kevin Smith wrote:
>> >> > 2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
>> >> >> For comparison, we don't say that servers MUST or SHOULD impleme=
nt
>> >> >> Server Dialback (XEP-0220), and in practice that's much more
>> necessary
>> >> >> to establish s2s connections than SASL PLAIN is necessary to
>> establish
>> >> >> c2s connections.
>> >> >
>> >> > The difference here is that dialback is not needed for interop,
>> >> > deployments can always choose to use TLS + EXTERNAL. The reason I=

>> >> > think PLAIN should be MUST for clients is that it *is* needed for=

>> >> > interop, as there are plenty of situations where SCRAM isn't an
>> >> > option.
>> >>
>> >> By which you mean that a service admin always *could* deploy a cert=
,
>> >> they're just too lazy?
>> >>
>> >> Possible counter-argument: large hosting services in which it's qui=
te
>> >> impractical to deploy one certificate that contains entries for 10,=
000
>> >> hosted domains.
>> >
>> > No, they could obtain 10,000 certificates, and present the "right" o=
ne.
>> >
>> > This might not be desirable, but it's entirely possible.
>>
>> At what expense?
>>
>>
> That's irrelevant - we're talking about the possible versus the
> impossible. Besides, it'll be the same cost per domain, presumably, no
> matter the numbers of domains, and that cost could be zero.

I meant the administrative cost, not the cost of purchasing certificates
(since certs can be sourced at no cost).

>> > On the other hand, it's simply impossible in some deployments to off=
er
>> > SCRAM - PLAIN's the only thing that'll work.
>>
>> Really? Isn't that, too, a deployment decision? Couldn't the operator
>> replicate the authentication database so that the XMPP server has acce=
ss
>> to credentials in a form that enables the use of SCRAM?
>>
>>
> No. If the credentials are in the form of a hash (one, presumably,
> incompatible with SCRAM), the operator does not have access to the
> credentials, and can only verify a supplied password against them.
>=20
> To give a concrete example, a deployment which authenticates via
> ActiveDirectory will have to authenticate clients either using Kerberos=

> V (via GSSAPI), possibly NTLM, or PLAIN. SCRAM is not an option, withou=
t
> mandating a password change (ie, transition-needed), and even if we wer=
e
> to go that route, we'd only be requiring PLAIN via another route.

Thanks for the explanation.

What I'm saying is that an XMPP service could make other deployment
decisions. It doesn't *have* to authenticate via ActiveDirectory. That's
a matter of local service policy.

>> > FWIW, I'd argue that we should be marking XEP-0220 at the SHOULD lev=
el
>> > anyway,
>>
>> That would require us to document TLS + Server Dialback, I think.
>>
>>
> No, I don't think so. But in any case, I don't see how to phrase this
> that doesn't either invalidate the security offered by S2S TLS,=20

Probably right.

> or
> introduce dialback-without-dialback, which seems to confuse lots of peo=
ple.

Indeed!

>> > I was just pointing out your counter-argument is flawed.
>>
>> You were pointing out that you think my counter-argument is flawed. :)=

>=20
> Yes, but you think my thinking that your counter-argument is flawed is
> flawed - but that thinking's flawed.

:)



--------------ms060102000001040006020701
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
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh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3dhrO9hgAB1gXi0mUoMROmwLZbQ04AiWg1VMOxykjHfTNSItnZTL7oN
u+yl4s8Yh4XzrWT9XINiLqtzYOd4eCyam1lE+FiXId26H9NhqqM9aVHkYQ7uc1FghxZ2BfGX
6qBbDX0Ux+238N1iCkuVw1ADFDEa1lan5ZPbRD0YwbekK81lDrAEnhyuYCc3eOYa2YgoEjYm
14Ho3w467HezbVI1+8wm7es60z/OoWKFeA/drKchybxZwfRiRjxT4jguA2XMKfVgaInF9NNV
Q6WgycC0COIw6pV1IK5xDQRQWVt30sQU70Rt0DfXKaDT98JqSSsfqRvjCLCnlvRJm8e9AAAA
AAAA
--------------ms060102000001040006020701--

From justin@affinix.com  Mon Nov  8 14:26:35 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 3088C3A6980 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 14:26:35 -0800 (PST)
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 AGdMNXQv1riD for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 14:26:34 -0800 (PST)
Received: from homiemail-a7.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by core3.amsl.com (Postfix) with ESMTP id 203A33A68FF for <xmpp@ietf.org>; Mon,  8 Nov 2010 14:26:34 -0800 (PST)
Received: from homiemail-a7.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTP id 591DD25C063 for <xmpp@ietf.org>; Mon,  8 Nov 2010 14:26:56 -0800 (PST)
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=Y 3WR25UJ7ytjbNPQ8Jj24fyGjGuBHZ7/wCjXvT1AC72vJILDgo+h+fGY/+MrhrbtQ fcN6y88AcYHT99kxVaJmqSybmL9jnNTjl6l3W/ewwC8aD6/MeUMsCpZhFlRIk5eU Rkh9OL4QQDGmfEPG9RSKY4ETBxcz4l/KOteL0PxNzw=
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=DsdjBgR mHra7axV9lrrh1gtTRLo=; b=NUuyIdQZCc6Q1HTVJ5LrDJ71OIiuxvtL4anKokX 43arKVnqJvuPsZnm+1yTNP2J2oJeRNY6GbGe9PPIdVZvgMev5UqXd8qrfW3pxcDB CBArup+K4RWiwmiD6x7/ZATDHl1SvdFsZWUMdOFfNHS1D5CEoviE67X2qwWTqn73 428k=
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-a7.g.dreamhost.com (Postfix) with ESMTPSA id 4D07825C061 for <xmpp@ietf.org>; Mon,  8 Nov 2010 14:26:56 -0800 (PST)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Mon, 8 Nov 2010 14:26:58 -0800
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <0885629943.973293031@cridland.net> <2850.1289253495.960290@puncture> <4CD87652.9030504@stpeter.im>
In-Reply-To: <4CD87652.9030504@stpeter.im>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201011081426.58479.justin@affinix.com>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 08 Nov 2010 22:26:35 -0000

On Monday 08 November 2010 14:14:42 Peter Saint-Andre wrote:
> On 11/9/10 5:58 AM, Dave Cridland wrote:
> > On Mon Nov  8 21:25:55 2010, Peter Saint-Andre wrote:
> >> On 11/9/10 5:17 AM, Dave Cridland wrote:
> >> > On Mon Nov  8 21:11:01 2010, Peter Saint-Andre wrote:
> >> >> On 11/9/10 5:03 AM, Kevin Smith wrote:
> >> >> > 2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
> >> >> >> For comparison, we don't say that servers MUST or SHOULD implement
> >> >> >> Server Dialback (XEP-0220), and in practice that's much more
> >> 
> >> necessary
> >> 
> >> >> >> to establish s2s connections than SASL PLAIN is necessary to
> >> 
> >> establish
> >> 
> >> >> >> c2s connections.
> >> >> > 
> >> >> > The difference here is that dialback is not needed for interop,
> >> >> > deployments can always choose to use TLS + EXTERNAL. The reason I
> >> >> > think PLAIN should be MUST for clients is that it *is* needed for
> >> >> > interop, as there are plenty of situations where SCRAM isn't an
> >> >> > option.
> >> >> 
> >> >> By which you mean that a service admin always *could* deploy a cert,
> >> >> they're just too lazy?
> >> >> 
> >> >> Possible counter-argument: large hosting services in which it's quite
> >> >> impractical to deploy one certificate that contains entries for
> >> >> 10,000 hosted domains.
> >> > 
> >> > No, they could obtain 10,000 certificates, and present the "right"
> >> > one.
> >> > 
> >> > This might not be desirable, but it's entirely possible.
> >> 
> >> At what expense?
> > 
> > That's irrelevant - we're talking about the possible versus the
> > impossible. Besides, it'll be the same cost per domain, presumably, no
> > matter the numbers of domains, and that cost could be zero.
> 
> I meant the administrative cost, not the cost of purchasing certificates
> (since certs can be sourced at no cost).

As long as the configurations for each virtual host are managed by individual 
users (domain owners), then I don't think there is much administrative cost to 
the hosting provider.  Even bargain-bin HTTP hosting providers allow users to 
set certificates.

If I personally owned 10,000 domains and certificates, well that sounds like 
hell. :)

-Justin

From stpeter@stpeter.im  Mon Nov  8 16:52:01 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 B3D2B3A6920 for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 16:52:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.528
X-Spam-Level: 
X-Spam-Status: No, score=-102.528 tagged_above=-999 required=5 tests=[AWL=0.071, 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 6vVb1rOZVE3Y for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 16:51:59 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B7D5F3A6914 for <xmpp@ietf.org>; Mon,  8 Nov 2010 16:51:58 -0800 (PST)
Received: from dhcp-732c.meeting.ietf.org (dhcp-732c.meeting.ietf.org [130.129.115.44]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 58FC740D1E; Mon,  8 Nov 2010 18:01:31 -0700 (MST)
Message-ID: <4CD89B42.5040408@stpeter.im>
Date: Tue, 09 Nov 2010 08:52:18 +0800
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: Dave Cridland <dave@cridland.net>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@mail.gmail.com>	<4CD86765.1070509@stpeter.im> <2850.1289251049.043398@puncture>	<4CD86AE3.7000208@stpeter.im> <2850.1289253495.960290@puncture> <4CD87652.9030504@stpeter.im>
In-Reply-To: <4CD87652.9030504@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="------------ms060303060108060004000106"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 00:52:02 -0000

This is a cryptographically signed message in MIME format.

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

On 11/9/10 6:14 AM, Peter Saint-Andre wrote:
> On 11/9/10 5:58 AM, Dave Cridland wrote:
>> On Mon Nov  8 21:25:55 2010, Peter Saint-Andre wrote:
>>> On 11/9/10 5:17 AM, Dave Cridland wrote:
>>>> On Mon Nov  8 21:11:01 2010, Peter Saint-Andre wrote:
>>>>> On 11/9/10 5:03 AM, Kevin Smith wrote:
>>>>>> 2010/11/8 Peter Saint-Andre <stpeter@stpeter.im>:
>>>>>>> For comparison, we don't say that servers MUST or SHOULD implemen=
t
>>>>>>> Server Dialback (XEP-0220), and in practice that's much more
>>> necessary
>>>>>>> to establish s2s connections than SASL PLAIN is necessary to
>>> establish
>>>>>>> c2s connections.
>>>>>>
>>>>>> The difference here is that dialback is not needed for interop,
>>>>>> deployments can always choose to use TLS + EXTERNAL. The reason I
>>>>>> think PLAIN should be MUST for clients is that it *is* needed for
>>>>>> interop, as there are plenty of situations where SCRAM isn't an
>>>>>> option.
>>>>>
>>>>> By which you mean that a service admin always *could* deploy a cert=
,
>>>>> they're just too lazy?
>>>>>
>>>>> Possible counter-argument: large hosting services in which it's qui=
te
>>>>> impractical to deploy one certificate that contains entries for 10,=
000
>>>>> hosted domains.
>>>>
>>>> No, they could obtain 10,000 certificates, and present the "right" o=
ne.
>>>>
>>>> This might not be desirable, but it's entirely possible.
>>>
>>> At what expense?
>>>
>>>
>> That's irrelevant - we're talking about the possible versus the
>> impossible. Besides, it'll be the same cost per domain, presumably, no=

>> matter the numbers of domains, and that cost could be zero.
>=20
> I meant the administrative cost, not the cost of purchasing certificate=
s
> (since certs can be sourced at no cost).
>=20
>>>> On the other hand, it's simply impossible in some deployments to off=
er
>>>> SCRAM - PLAIN's the only thing that'll work.
>>>
>>> Really? Isn't that, too, a deployment decision? Couldn't the operator=

>>> replicate the authentication database so that the XMPP server has acc=
ess
>>> to credentials in a form that enables the use of SCRAM?
>>>
>>>
>> No. If the credentials are in the form of a hash (one, presumably,
>> incompatible with SCRAM), the operator does not have access to the
>> credentials, and can only verify a supplied password against them.
>>
>> To give a concrete example, a deployment which authenticates via
>> ActiveDirectory will have to authenticate clients either using Kerbero=
s
>> V (via GSSAPI), possibly NTLM, or PLAIN. SCRAM is not an option, witho=
ut
>> mandating a password change (ie, transition-needed), and even if we we=
re
>> to go that route, we'd only be requiring PLAIN via another route.
>=20
> Thanks for the explanation.
>=20
> What I'm saying is that an XMPP service could make other deployment
> decisions. It doesn't *have* to authenticate via ActiveDirectory. That'=
s
> a matter of local service policy.

Well, *assuming* that you're right, I think we wouldn't need to change
the existing note very much...

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants.

   In addition, servers and clients SHOULD implement TLS with the
   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.

      Interoperability and Security Note: In practice, when SCRAM is not
      available, typically servers and clients use TLS plus SASL PLAIN.
      The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants of the SCRAM
      mechanism are strongly preferred over the PLAIN mechanism because
      of their superior security properties (including the ability to
      enforce channel binding as described under Section 13.9.4).
      Although in certain deployment scenarios it can be difficult for a
      server to offer SCRAM-based mechanisms (e.g., because the XMPP
      service depends for authentication purposes on a database or
      directory that is not under the control of the XMPP
      administrators), in general implementations SHOULD treat TLS plus
      SASL PLAIN as a technology of last resort when interacting with
      implementations that do not yet support SCRAM; in particular, a
      client MUST prefer more secure mechanisms (e.g., SCRAM-SHA-1,
      SCRAM-SHA-1-PLUS, and EXTERNAL) to the PLAIN mechanism and MUST
      NOT use the PLAIN mechanism without at a minimum confidentiality
      and integrity protection via TLS with full certificate validation
      as described under Section 13.7.2.1.

###

Thoughts?

/psa


--------------ms060303060108060004000106
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s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EWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBZISAo9UOzVhj50KuCxjp4yJmi0MpkJJuZ1o6qX86k5qXrNgqs1ZPqQNvr
JKP/n8fl7sT4MWOv5pmG/rS/IEpixj4N0ZikOgYQQxFsE38fhvg6d4WVRIQ8j0S4FOsXzpJn
hW2fMl6dKtE9tiPc7yZBqQ+XfUpGXRI7tIY4/C7zGym15ftRZ3QYJqELT+5Wpz3z1st3pPQ+
Rgk3uUrL1hKbaV5EqQcigHzx2RStnJD9BcUBuKqeyPTnuWNTBROz5d2l9gmR9VDVRlPw54RZ
LXuJuAQwtgcSlA1ff01dEPeV6P8xgUUduKCmeWnWd+2Bs1TahTY8bE/7lczAdZoq6vo9AAAA
AAAA
--------------ms060303060108060004000106--

From stpeter@stpeter.im  Mon Nov  8 18:05:03 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 CC2C528C102; Mon,  8 Nov 2010 18:05:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.233
X-Spam-Level: 
X-Spam-Status: No, score=-102.233 tagged_above=-999 required=5 tests=[AWL=-0.234, BAYES_00=-2.599, 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 KwTF2F90+unW; Mon,  8 Nov 2010 18:05:02 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id D919C3A67EC; Mon,  8 Nov 2010 18:05:01 -0800 (PST)
Received: from dhcp-732c.meeting.ietf.org (dhcp-732c.meeting.ietf.org [130.129.115.44]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B331840BB9; Mon,  8 Nov 2010 19:14:34 -0700 (MST)
Message-ID: <4CD8AC60.7090307@stpeter.im>
Date: Tue, 09 Nov 2010 10:05:20 +0800
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: =JeffH <Jeff.Hodges@KingsMountain.com>
References: <4CD47814.3010508@KingsMountain.com>
In-Reply-To: <4CD47814.3010508@KingsMountain.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="------------ms070801050801070701060303"
Cc: IETF cert-based identity <certid@ietf.org>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] [certid] accommodating server-to-server (was: 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: Tue, 09 Nov 2010 02:05:03 -0000

This is a cryptographically signed message in MIME format.

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

On 11/6/10 5:33 AM, =3DJeffH wrote:
>=20
> Peter Saint-Andre replied:
>>
>> Philipp Hancke replied:
>>
>>> Peter Saint-Andre wrote:
>>>>
>>>>     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
>>>
>>> s/TLS client/TLS server/
>>
>> In XMPP at least, if Romeo's personal server (montague.lit) attempts t=
o
>> connect to Juliet's personal server (capulet.lit), he asserts to her
>> that he is montague.lit and she takes that as her reference identifier=
=2E
>> Thus her server is acting as a TLS client in relation to the presented=

>> identifiers in the certificate that Romeo's personal server provides.
>> This is what's distinctive about the server-to-server case -- an
>> application service is acting as a TLS client.
>>
>> ...
>>
>>> I think it is not clear who is verifying
>>
>> If you try to connect to me, I'm going to verify you -- even if I'm an=

>> XMPP server.
>>
>>> (probably because both parties
>>> are for xmpp-s2s).
>>
>> Yes, ideally the verification happens in both directions.
>=20
>=20
> To me, what Peter wrote in the proposed "Note:" is confusing because it=

> is labeling an entity as a "TLS client" that is not a TLS client in the=

> TLS protocol sense -- it is playing the TLS server role, and is only
> behaving as a "TLS client" would in the sense of verifying the entity a=
t
> the other end of the incoming connection.

You're right. I've scrubbed mention of "TLS client" from that paragraph:

      Note: In some application protocols that support server-to-server
      communication (e.g., XMPP), the procedure described in this
      section can be performed by an application server acting when
      verifying an incoming server-to-server connection, not only by an
      application client when verifying the server with which it is
      interacting to establish an outgoing client-to-server connection.
      In this case, the application server verifies the identity of the
      peer server that is attempting to connect and uses as its
      reference identifier the DNS domain name asserted 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 reversal of roles, the verification
      process remains unchanged.

> In this case we ostensibly have the "peer server" -- legitimately actin=
g
> as a TLS client -- presenting its certificate during the TLS handshake,=

> and thus the application service is obliged to perform the same checks
> on the peer server's asserted identity, as an actual TLS client perform=
s
> on asserted app service identity.
>=20
> yes?

Yes.

> If so, it seems we're linguistically standing on our heads here trying
> to shoehorn the notion of "verification of client identity (by the app
> service)" into section 4 "Verification of Service Identity".

By "service" here we're talking about an application service, not a TLS
server. In the server-to-server scenario, we're talking about one
application service verifying the identity of a peer service.

> I propose that we need to perhaps have a separate section for the forme=
r
> and figure out how to refactor the more detailed section 4 subsections
> such that we don't have to needlessly repeat text.

I don't particularly want to do a lot of refactoring on this I-D to
incorporate the server-to-server case. Perhaps this note belongs in
documents that re-use the server-id-check methodology -- e.g., we could
add it to draft-ietf-xmpp-3920bis for the XMPP case.

> It also seems we ought to do this in a general fashion such that its
> applicable for any TLS server processing an inbound connection where th=
e
> client elects to assert its identity (eg by presenting a cert).

I think that's out of scope for this I-D, and we already say so in
Section 1.4.2.

Peter

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


--------------ms070801050801070701060303
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
MTAyNDIxMDMzM1oXDTE3MT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1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAqq6OTFFXgENZWaE/MBJp8UYiOstUoTAf2Vcw3WtLblTuCxqj2MJVQhxxC
YoICjdjBRkNRz299c39uVAfhUGbnUYsO/tcq6Bdb8W6ySVkS8aIn+JE+22eMmDdsr5Raj6X5
h9oQoe86sRpUmai3+VJyrurkxKYth6iX1yABHPpH/PFZ8Vet+awPpxT3e/cxt72G77rAgRN3
OOrADDYsHoqvKXFBa+5dNFnpx1/TFasDvo5qk+2mvkbGESgXaDrCVvcyd1bhG43691b7cx9q
cZ2TgmUpO5R7kdrvikr+4dNIXkqMP6+pH5mU3jjueBx11i0bxo19A+CP9zwZ9G7D4umSAAAA
AAAA
--------------ms070801050801070701060303--

From jehan.marmottard@gmail.com  Mon Nov  8 20:29: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 0DE053A672F for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 20:29:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.679
X-Spam-Level: 
X-Spam-Status: No, score=-1.679 tagged_above=-999 required=5 tests=[AWL=0.620,  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 BiNYOtnMtuhl for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 20:29:22 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 0598D3A6358 for <xmpp@ietf.org>; Mon,  8 Nov 2010 20:29:21 -0800 (PST)
Received: by wyb28 with SMTP id 28so6290394wyb.31 for <xmpp@ietf.org>; Mon, 08 Nov 2010 20:29:44 -0800 (PST)
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=Nyu1HuJaun0XZ7+KZjIUMLsqSWsSLOyAdGsD3FymF2E=; b=l6N6mBNHYMzzFMr8NoduMAw9lmosD2UNSeh39Cz2P35MWTFUC5rWOTDcxm0t7FmCGt lJ6Bx5f+1Jr6vvcMzVLmuFT74rDK/F+8QTrlURD9Cuc9mDTaeBoX/Z2vIL/ILGGpnQ8h mQACC/ZoMXF7Yys1+z7BteuNqfKWoAXEfn3UU=
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=Nu8PytrRwPDNA2HMW7SW6q/xF/b+HTOxtVIg6wYpwr2EO0PWTDh1KpWjzH1R06gFJo zMTEy+rtiqcorLr9u0Sash6yoNrVEJO9MbCfrq7bJ+4s7G4iLEBD3C/cyaNqMqhi+jjj SfMm4XFK55HmbokxK1j5nzAqXGfeUmIbfNbzY=
MIME-Version: 1.0
Received: by 10.216.11.66 with SMTP id 44mr6303266wew.69.1289276984359; Mon, 08 Nov 2010 20:29:44 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Mon, 8 Nov 2010 20:29:44 -0800 (PST)
In-Reply-To: <2850.1289253495.960290@puncture>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTinW4dd+Hy=ZmRMu5Yaf=6aWjKOZJeRVwKyRTA5B@mail.gmail.com> <4CD86765.1070509@stpeter.im> <2850.1289251049.043398@puncture> <4CD86AE3.7000208@stpeter.im> <2850.1289253495.960290@puncture>
Date: Tue, 9 Nov 2010 13:29:44 +0900
Message-ID: <AANLkTim2aEzuGk6d3zjJDV9cCV96w5PCDSxvh2KGWJv2@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=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 04:29:23 -0000

Hi,

On Tue, Nov 9, 2010 at 6:58 AM, Dave Cridland <dave@cridland.net> wrote:
> On Mon Nov =A08 21:25:55 2010, Peter Saint-Andre wrote:
>
>> > On the other hand, it's simply impossible in some deployments to offer
>> > SCRAM - PLAIN's the only thing that'll work.
>>
>> Really? Isn't that, too, a deployment decision? Couldn't the operator
>> replicate the authentication database so that the XMPP server has access
>> to credentials in a form that enables the use of SCRAM?
>>
>>
> No. If the credentials are in the form of a hash (one, presumably,
> incompatible with SCRAM), the operator does not have access to the
> credentials, and can only verify a supplied password against them.
>
> To give a concrete example, a deployment which authenticates via
> ActiveDirectory will have to authenticate clients either using Kerberos V
> (via GSSAPI), possibly NTLM, or PLAIN. SCRAM is not an option, without
> mandating a password change (ie, transition-needed), and even if we were =
to
> go that route, we'd only be requiring PLAIN via another route.
>

Ok so let's say that we want to use SCRAM, this does not have to be
immediate. Moreover the transition can actually be transparent. For
instance if the user has to use PLAIN, then the server has access for
a short time to the password. Even though it won't store it like this,
it can still compute from it the StoredKey and ServerKey for SCRAM.
Then for the next connection, it will be able to propose SCRAM to this
user without this one having to ever ask him to change his password.

We don't say that the changes must be done suddenly for all existing
implementations. That's impossible anyway and we have to accept the
latency. But we still need to initiate the change if we ever want it
to happen. And saying TLS + PLAIN is a MTI is not initiating any
change, worse it is creating a burden on us, as for security at least.

Jehan

From jehan.marmottard@gmail.com  Mon Nov  8 21:04:35 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 D40263A688E for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 21:04:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.069
X-Spam-Level: 
X-Spam-Status: No, score=-1.069 tagged_above=-999 required=5 tests=[AWL=-0.610, BAYES_00=-2.599, J_CHICKENPOX_35=0.6, MIME_8BIT_HEADER=0.3, SARE_LWSHORTT=1.24]
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 JXGMSuyW+4ia for <xmpp@core3.amsl.com>; Mon,  8 Nov 2010 21:04:34 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 4AFA53A6878 for <xmpp@ietf.org>; Mon,  8 Nov 2010 21:04:34 -0800 (PST)
Received: by wwi18 with SMTP id 18so298068wwi.13 for <xmpp@ietf.org>; Mon, 08 Nov 2010 21:04:57 -0800 (PST)
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=mPr/GRr4NnU8Kr+g/qxmqM6exNE9Bcu41/T0IQe6bnM=; b=DbtezTf//cZaB2fO53C6rrQmLRR2xcoodvehn3TgXhP6/l2OWQLskKutENpEVZdKSx vPBzqjcB71D6I44v4/17rFEgLJAi2Gitwrt3VatC8/BMuHTw6gre3bwNs20D2W3gVBbm D9VCYrWN282U6ENJy53Eppg5SNoQYdJ2S0SwY=
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=Cge3PJt1S5hNKmW206gj6AQQRLguNmmwYryyG9BQqvrS8tdqNBIORAuvsQ9yJKJ79S glA22T06EXrH5fDbZLm1OKf8AOgspTKflHujs98Irff0oBW2r9pKzu4xd6/uCygRQUKM 94kTvaUKQU6zLKRLhQ+t3PRwO/IwLkIOsc4kU=
MIME-Version: 1.0
Received: by 10.227.127.132 with SMTP id g4mr6300885wbs.114.1289279096622; Mon, 08 Nov 2010 21:04:56 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Mon, 8 Nov 2010 21:04:56 -0800 (PST)
In-Reply-To: <4CD85D19.4080601@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im>
Date: Tue, 9 Nov 2010 14:04:56 +0900
Message-ID: <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@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=windows-1252
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 05:04:35 -0000

Hi,

2010/11/9 Peter Saint-Andre <stpeter@stpeter.im>:
> [trimming the subject to SASL PLAIN]
>
> On 11/7/10 7:26 PM, Jehan Pag=E8s wrote:
>
>>>>>>>> (b) Remove TLS plus SASL PLAIN as a mandatory-to-implement securit=
y
>>>>>>>> technology, for the same reason (note that it was not
>>>>>>>> mandatory-to-implement in RFC 3920).
[...]
>>>>
>>>> However one comment since this came out of a security discussion:
>>>> The real security gain would be if clients could refuse to use PLAIN, =
a
>>>> MITM can spoof mechanisms whether the server does PLAIN or not,
>>>> therefore this change is IMHO somewhat cosmetic as far as security gai=
n
>>>> goes.
>>>
>>> Agreed,
>
> To be clear, when I said "agreed" I was agreeing with Florian about the
> security issue, not necessarily about including TLS + SASL PLAIN as a
> mandatory-to-implement technology.
>

Ok.

> As a reminder, here's the text I sent:
>
> ###
>
> 13.8.3. =A0For Confidentiality and Authentication With Passwords
>
> =A0 For both confidentiality and authentication with passwords, servers
> =A0 and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
> =A0 ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
> =A0 SHA-1-PLUS variants.
>
> =A0 =A0 =A0Interoperability and Security Note: In practice, when SCRAM is=
 not
> =A0 =A0 =A0available, typically servers and clients use TLS plus SASL PLA=
IN.
> =A0 =A0 =A0The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants of the SCRAM
> =A0 =A0 =A0mechanism are strongly preferred over the PLAIN mechanism beca=
use
> =A0 =A0 =A0of their vastly superior security properties (including the
> =A0 =A0 =A0ability to enforce channel binding as described under
> =A0 =A0 =A0Section 13.9.4). =A0Although in certain deployment scenarios i=
t can
> =A0 =A0 =A0be difficult for a server to offer SCRAM-based mechanisms (e.g=
.,
> =A0 =A0 =A0because the XMPP service depends for authentication purposes o=
n a
> =A0 =A0 =A0database or directory that is not under the control of the XMP=
P
> =A0 =A0 =A0administrators), in general implementations SHOULD treat TLS p=
lus
> =A0 =A0 =A0SASL PLAIN as a technology of last resort when interacting wit=
h
> =A0 =A0 =A0implementations that do not yet support SCRAM; in particular, =
a
> =A0 =A0 =A0client MUST prefer more secure mechanisms (e.g., SCRAM-SHA-1,
> =A0 =A0 =A0SCRAM-SHA-1-PLUS, and EXTERNAL) to the PLAIN mechanism and MUS=
T
> =A0 =A0 =A0NOT use the PLAIN mechanism without at a minimum confidentiali=
ty
> =A0 =A0 =A0and integrity protection via TLS with full certificate validat=
ion
> =A0 =A0 =A0as described under Section 13.7.2.1 (however, the lack of chan=
nel
> =A0 =A0 =A0binding in the PLAIN mechanism implies that even authenticated=
 TLS
> =A0 =A0 =A0cannot fully protect the SASL negotiation and subsequent
> =A0 =A0 =A0communications when PLAIN is used).
>
> ###
>

Ok I might be lagging a bit, but where do I find this version of the
text? The last version I know is 3920bis-18 and I don't see any -19.

Actually this text seems already pretty nice. In particular we already
unset TLS + PLAIN from being a MTI, with good warning on its security
issues (while still stating that many implementations use it though).

>> That was not MTI in RFC3920, so why would we add this constraint now
>> which would make it a security burden for lot lot of years from now? I
>> agree it is much deployed right now, and for this reason we should not
>> just wipe out such technology, but it does not mean we should make it
>> a mandatory one.
>>
>> I would suggest a SHOULD or MIGHT for both clients and servers,
>> accompanied by an informational note about the fact that it is
>> currently widely implemented as well as security considerations. For
>> the short term, it would have probably the same consequences than a
>> MUST (developers will implement it in order to keep compatibility with
>> older implementations), with the difference that (not being a MTI) it
>> won't be a burden to carry for the long term and would probably fade
>> out with time.
>
> Can you suggest modifications to the text I posted above?
>

As I was saying, TLS + PLAIN is already not a MTI anymore in this text
you posted above, nor it has any kind of recommendation (like "MIGHT"
or "SHOULD"), and it has the warning text about its current use in the
XMPP part as well as security issues, so this is good like this as far
as I read it now. I will re-read it later with a new eye to be sure,
but seems good.

>> On the security side, I don't agree with the fact this is a cosmetic
>> security change. We are still removing one layer of security here,
>> because it means that if a MITM can pass somehow the TLS security, and
>> if the client accept TLS + PLAIN, then the MITM attacker simply has to
>> propose only SASL PLAIN for identification to access unencrypted
>> passwords. With TLS + SCRAM, the attacker may be able to make a single
>> connection, but at least won't collect the current password (at least
>> not this way, because I agree that if the server store unencrypted
>> passwords, and proposes for instance to retrieve the user password
>> with ad-hoc commands =97 which is a very bad idea and a security flaw,
>> according to me =97, he might be able to), which we know is a more
>> serious issue than simply impersonating one single connection (as
>> users often use the same passwords on many services, so an attacker
>> may access more than just the XMPP server; also the attacker will be
>> able to do as many connections as he wish later as he has the actual
>> password instead of a salted one; and so one).
>>
>> This is saying TLS is breakable, but that's still a risk and an
>> additional weakness we can avoid.
>> And this is all even more true because many servers out-there are self
>> authenticated. And as we know, a TLS connection made with a bad
>> certificate cannot be trusted at all. Yet most clients will
>> unfortunately just ignore this security breach (considering the
>> current sad state of our park of network's certificates) and would
>> send clear passwords with SASL PLAIN through such an unsecure canal (I
>> also remind that SCRAM provides also server authentication, weaker
>> than TLS but still a nice addition inside an unsecure TLS canal as we
>> see a lot in our network).
>> So no really if we can avoid it: TLS + PLAIN should not be a mandatory
>> to implement technology. Keeping it a MIGHT + informational note on
>> our current XMPP park is preferred here.
>>
>> I seem to be the only one to think so for now, but I still give my
>> opinion about this.
>
> Well, Kurt agrees with you since he brought this up in the first place.

Yes indeed. I was refering to responses between your call and my own
response. But you are right. :-)

> My opinion is that we don't need to use conformance language (MUST or
> SHOULD) with regard to TLS + SASL PLAIN. Yes, we know that many clients
> and servers implement it, and we know that it's commonly used in
> deployment, but that doesn't mean we need to tell developers that they
> MUST or SHOULD implement it.

Actually I really like this approach. Simply stating a fact (many
implementations currently support TLS + PLAIN), but not giving any
recommendation with conformance language. That's far better than the
MIGHT/SHOULD solution.

And I definitely prefer the text with this logic that the one you
posted a few hours ago, adding TLS+PLAIN as SHOULD-Implement
technologies. Actually if we ever "had to" use the conformance
language, I would use a "MIGHT" to say "it is not wrong to support
PLAIN for interoperability" rather than a "SHOULD" which is still a
very strong recommendation (some people even consider that a really
conformant implementation is one with all the SHOULD. So SHOULDs in
this optic are MUSTs, so that's not good for me, here).

See you.

Jehan

From fippo@mail.symlynx.com  Tue Nov  9 01:27:09 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 28C1C3A689E; Tue,  9 Nov 2010 01:27:09 -0800 (PST)
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 lArUhvusFJES; Tue,  9 Nov 2010 01:27:08 -0800 (PST)
Received: from lo.psyced.org (lost.IN.psyced.org [188.40.42.221]) by core3.amsl.com (Postfix) with ESMTP id 9B4203A680A; Tue,  9 Nov 2010 01:27:07 -0800 (PST)
Received: from [130.83.87.24] (l0280.dyn.hrz.tu-darmstadt.de [130.83.87.24]) (authenticated bits=0) by lo.psyced.org (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oA99RaTs016972 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 9 Nov 2010 10:27:42 +0100
Message-ID: <4CD913FA.2070308@mail.symlynx.com>
Date: Tue, 09 Nov 2010 10:27:22 +0100
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@ietf.org, certid@ietf.org
References: <4CD47814.3010508@KingsMountain.com>
In-Reply-To: <4CD47814.3010508@KingsMountain.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] accommodating server-to-server (was: 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: Tue, 09 Nov 2010 09:27:09 -0000

Hi Jeff,
[...]
> To me, what Peter wrote in the proposed "Note:" is confusing because it
> is labeling an entity as a "TLS client" that is not a TLS client in the
> TLS protocol sense -- it is playing the TLS server role, and is only
> behaving as a "TLS client" would in the sense of verifying the entity at
> the other end of the incoming connection.

 From the TLS protocol level both occurences of "client" should have 
been "server", yes.

> In this case we ostensibly have the "peer server" -- legitimately acting
> as a TLS client -- presenting its certificate during the TLS handshake,
> and thus the application service is obliged to perform the same checks
> on the peer server's asserted identity, as an actual TLS client performs
> on asserted app service identity.
>
> yes?

Exactly.

> If so, it seems we're linguistically standing on our heads here trying
> to shoehorn the notion of "verification of client identity (by the app
> service)" into section 4 "Verification of Service Identity".

Yes.

> I propose that we need to perhaps have a separate section for the former
> and figure out how to refactor the more detailed section 4 subsections
> such that we don't have to needlessly repeat text.

You might split this in such a way that you describe how to get the 
certificate and reference identifiers first (which is slightly different 
for client and server) and then the process of validation for a given 
certificate and a given reference identifiers (which no longer depends 
on whether a client or a server is doing that). Essentially, that means 
replacing most occurences of "client" with "verifying entity".

However, I am not sure if this really going to improve readability for 
anyone that is not looking for xmpp-s2s :-/

philipp

From stpeter@stpeter.im  Tue Nov  9 13:59: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 CFB633A686D for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 13:59:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.48
X-Spam-Level: 
X-Spam-Status: No, score=-101.48 tagged_above=-999 required=5 tests=[AWL=-1.021, BAYES_00=-2.599, J_CHICKENPOX_35=0.6, MIME_8BIT_HEADER=0.3, SARE_LWSHORTT=1.24, 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 3W40EcAQOkGQ for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 13:59:26 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 44D073A6835 for <xmpp@ietf.org>; Tue,  9 Nov 2010 13:59:26 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C42A040BB9; Tue,  9 Nov 2010 15:09:05 -0700 (MST)
Message-ID: <4CD9C450.8070506@stpeter.im>
Date: Wed, 10 Nov 2010 05:59:44 +0800
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: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>
In-Reply-To: <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@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="------------ms010600040300090103000801"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, xmpp@ietf.org
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 21:59:27 -0000

This is a cryptographically signed message in MIME format.

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

On 11/9/10 1:04 PM, Jehan Pag=C3=A8s wrote:
> 2010/11/9 Peter Saint-Andre <stpeter@stpeter.im>:
>
>> As a reminder, here's the text I sent:
>>
>> ###
>>
>> 13.8.3.  For Confidentiality and Authentication With Passwords
>>
>>   For both confidentiality and authentication with passwords, servers
>>   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA=

>>   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM=
-
>>   SHA-1-PLUS variants.
>>
>>      Interoperability and Security Note: In practice, when SCRAM is no=
t
>>      available, typically servers and clients use TLS plus SASL PLAIN.=

>>      The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants of the SCRAM
>>      mechanism are strongly preferred over the PLAIN mechanism because=

>>      of their vastly superior security properties (including the
>>      ability to enforce channel binding as described under
>>      Section 13.9.4).  Although in certain deployment scenarios it can=

>>      be difficult for a server to offer SCRAM-based mechanisms (e.g.,
>>      because the XMPP service depends for authentication purposes on a=

>>      database or directory that is not under the control of the XMPP
>>      administrators), in general implementations SHOULD treat TLS plus=

>>      SASL PLAIN as a technology of last resort when interacting with
>>      implementations that do not yet support SCRAM; in particular, a
>>      client MUST prefer more secure mechanisms (e.g., SCRAM-SHA-1,
>>      SCRAM-SHA-1-PLUS, and EXTERNAL) to the PLAIN mechanism and MUST
>>      NOT use the PLAIN mechanism without at a minimum confidentiality
>>      and integrity protection via TLS with full certificate validation=

>>      as described under Section 13.7.2.1 (however, the lack of channel=

>>      binding in the PLAIN mechanism implies that even authenticated TL=
S
>>      cannot fully protect the SASL negotiation and subsequent
>>      communications when PLAIN is used).
>>
>> ###
>>
>=20
> Ok I might be lagging a bit, but where do I find this version of the
> text? The last version I know is 3920bis-18 and I don't see any -19.

I will publish -19 once we've finished this discussion on the list,
which I hope we can do Real Soon Now. I posted that text earlier in this
thread.

> Actually this text seems already pretty nice. In particular we already
> unset TLS + PLAIN from being a MTI, with good warning on its security
> issues (while still stating that many implementations use it though).

That was the idea.

>>> That was not MTI in RFC3920, so why would we add this constraint now
>>> which would make it a security burden for lot lot of years from now? =
I
>>> agree it is much deployed right now, and for this reason we should no=
t
>>> just wipe out such technology, but it does not mean we should make it=

>>> a mandatory one.
>>>
>>> I would suggest a SHOULD or MIGHT for both clients and servers,
>>> accompanied by an informational note about the fact that it is
>>> currently widely implemented as well as security considerations. For
>>> the short term, it would have probably the same consequences than a
>>> MUST (developers will implement it in order to keep compatibility wit=
h
>>> older implementations), with the difference that (not being a MTI) it=

>>> won't be a burden to carry for the long term and would probably fade
>>> out with time.
>>
>> Can you suggest modifications to the text I posted above?
>>
>=20
> As I was saying, TLS + PLAIN is already not a MTI anymore in this text
> you posted above, nor it has any kind of recommendation (like "MIGHT"
> or "SHOULD"), and it has the warning text about its current use in the
> XMPP part as well as security issues, so this is good like this as far
> as I read it now. I will re-read it later with a new eye to be sure,
> but seems good.

Super.

>>> On the security side, I don't agree with the fact this is a cosmetic
>>> security change. We are still removing one layer of security here,
>>> because it means that if a MITM can pass somehow the TLS security, an=
d
>>> if the client accept TLS + PLAIN, then the MITM attacker simply has t=
o
>>> propose only SASL PLAIN for identification to access unencrypted
>>> passwords. With TLS + SCRAM, the attacker may be able to make a singl=
e
>>> connection, but at least won't collect the current password (at least=

>>> not this way, because I agree that if the server store unencrypted
>>> passwords, and proposes for instance to retrieve the user password
>>> with ad-hoc commands =E2=80=94 which is a very bad idea and a securit=
y flaw,
>>> according to me =E2=80=94, he might be able to), which we know is a m=
ore
>>> serious issue than simply impersonating one single connection (as
>>> users often use the same passwords on many services, so an attacker
>>> may access more than just the XMPP server; also the attacker will be
>>> able to do as many connections as he wish later as he has the actual
>>> password instead of a salted one; and so one).
>>>
>>> This is saying TLS is breakable, but that's still a risk and an
>>> additional weakness we can avoid.
>>> And this is all even more true because many servers out-there are sel=
f
>>> authenticated. And as we know, a TLS connection made with a bad
>>> certificate cannot be trusted at all. Yet most clients will
>>> unfortunately just ignore this security breach (considering the
>>> current sad state of our park of network's certificates) and would
>>> send clear passwords with SASL PLAIN through such an unsecure canal (=
I
>>> also remind that SCRAM provides also server authentication, weaker
>>> than TLS but still a nice addition inside an unsecure TLS canal as we=

>>> see a lot in our network).
>>> So no really if we can avoid it: TLS + PLAIN should not be a mandator=
y
>>> to implement technology. Keeping it a MIGHT + informational note on
>>> our current XMPP park is preferred here.
>>>
>>> I seem to be the only one to think so for now, but I still give my
>>> opinion about this.
>>
>> Well, Kurt agrees with you since he brought this up in the first place=
=2E
>=20
> Yes indeed. I was refering to responses between your call and my own
> response. But you are right. :-)
>=20
>> My opinion is that we don't need to use conformance language (MUST or
>> SHOULD) with regard to TLS + SASL PLAIN. Yes, we know that many client=
s
>> and servers implement it, and we know that it's commonly used in
>> deployment, but that doesn't mean we need to tell developers that they=

>> MUST or SHOULD implement it.
>=20
> Actually I really like this approach. Simply stating a fact (many
> implementations currently support TLS + PLAIN), but not giving any
> recommendation with conformance language. That's far better than the
> MIGHT/SHOULD solution.
>=20
> And I definitely prefer the text with this logic that the one you
> posted a few hours ago, adding TLS+PLAIN as SHOULD-Implement
> technologies. Actually if we ever "had to" use the conformance
> language, I would use a "MIGHT" to say "it is not wrong to support
> PLAIN for interoperability" rather than a "SHOULD" which is still a
> very strong recommendation (some people even consider that a really
> conformant implementation is one with all the SHOULD. So SHOULDs in
> this optic are MUSTs, so that's not good for me, here).

BTW, in RFC 2119 it is "MAY", not "MIGHT". But "might" captures the idea
behind MAY: the feature is truly optional, you might implement it if you
so please (and there might even be good reasons to do so) but it's all
up to you. Whereas SHOULD means "we'd call it a MUST except that in a
few well-defined circumstances it might not be a appropriate" or (which
I see as equivalent) "you really really need to support this feature
unless have an awfully good reason not to!"

Also remember that this is about *implementation* in software, not
*deployment* in a particular service.

So do we want to tell client and server developers that they really
really need to support SASL PLAIN unless they have an awfully good
reason not to -- that we'd say you MUST implement it except that in a
few well-defined circumstances it might not be appropriate?

I don't think so. It's difficult for me to see how we can honestly
include such text in the spec, including a description of those few
well-defined circumstances in which SASL PLAIN not appropriate at the
implementation level (say, a constrained device that simply doesn't have
the ability to perform certain cryptographic operations). Instead, we
seem to have a few well-defined deployment scenarios in which TLS plus
SASL PLAIN actually *is* appropriate. And that leads me to think it's
most likely a MAY, most likely not a SHOULD, and certainly not a MUST.
But we already say that implementations MAY implement any SASL mechanism
that's not listed in this section. So in fact there's no need for
additional text at all, except that we think an interoperability note is
in order because server code might be deployed in scenarios where the
service needs to offer SASL PLAIN over TLS, and clients might try to
connect to deployed services that are constrained in that way. But in
general that's a deployment issue and does not rise to the level of a
strong recommendation that we can make in the spec.

Peter

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




--------------ms010600040300090103000801
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
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAzIFByaW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uXVBvx2fwzLT1/atCOfu6P24EFBGZLls3Os2f8M9PVKaZulfx8845
4DlXttURnqaxeU9vRxg/6uZDbr98el1ehknYFrjby3Ao5s5cIQjBUKxjeonnqr4u3v/MrIxZ
cTyKPHF/qW4m1Lep6H6Du+VvWhsAZNRWXhaQSvwXmTRyD6SASPJyb3Hxa8/NXKFVnGhs51Al
S5IxrEf3B2LenQ4oFnhdBR+8Js5gZ9jStNmXnp4OCYZdmpp5G3OlZ5llxQaud3Yk9SyCAAAA
AAAA
--------------ms010600040300090103000801--

From stpeter@stpeter.im  Tue Nov  9 14:01: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 7A2C83A68B2; Tue,  9 Nov 2010 14:01:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.511
X-Spam-Level: 
X-Spam-Status: No, score=-102.511 tagged_above=-999 required=5 tests=[AWL=0.088, 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 ayJsusmUXbI4; Tue,  9 Nov 2010 14:01:51 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 7949A3A6891; Tue,  9 Nov 2010 14:01:51 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B265640BB9; Tue,  9 Nov 2010 15:11:30 -0700 (MST)
Message-ID: <4CD9C4E4.4030603@stpeter.im>
Date: Wed, 10 Nov 2010 06:02:12 +0800
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: Philipp Hancke <fippo@mail.symlynx.com>
References: <4CD47814.3010508@KingsMountain.com> <4CD913FA.2070308@mail.symlynx.com>
In-Reply-To: <4CD913FA.2070308@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="------------ms070503030600020206030406"
Cc: certid@ietf.org, xmpp@ietf.org
Subject: Re: [xmpp] [certid]  accommodating server-to-server
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, 09 Nov 2010 22:01:52 -0000

This is a cryptographically signed message in MIME format.

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

On 11/9/10 5:27 PM, Philipp Hancke wrote:
> Hi Jeff,
> [...]
>> To me, what Peter wrote in the proposed "Note:" is confusing because i=
t
>> is labeling an entity as a "TLS client" that is not a TLS client in th=
e
>> TLS protocol sense -- it is playing the TLS server role, and is only
>> behaving as a "TLS client" would in the sense of verifying the entity =
at
>> the other end of the incoming connection.
>=20
> From the TLS protocol level both occurences of "client" should have bee=
n
> "server", yes.
>=20
>> In this case we ostensibly have the "peer server" -- legitimately acti=
ng
>> as a TLS client -- presenting its certificate during the TLS handshake=
,
>> and thus the application service is obliged to perform the same checks=

>> on the peer server's asserted identity, as an actual TLS client perfor=
ms
>> on asserted app service identity.
>>
>> yes?
>=20
> Exactly.
>=20
>> If so, it seems we're linguistically standing on our heads here trying=

>> to shoehorn the notion of "verification of client identity (by the app=

>> service)" into section 4 "Verification of Service Identity".
>=20
> Yes.
>=20
>> I propose that we need to perhaps have a separate section for the form=
er
>> and figure out how to refactor the more detailed section 4 subsections=

>> such that we don't have to needlessly repeat text.
>=20
> You might split this in such a way that you describe how to get the
> certificate and reference identifiers first (which is slightly differen=
t
> for client and server) and then the process of validation for a given
> certificate and a given reference identifiers (which no longer depends
> on whether a client or a server is doing that). Essentially, that means=

> replacing most occurences of "client" with "verifying entity".
>=20
> However, I am not sure if this really going to improve readability for
> anyone that is not looking for xmpp-s2s :-/

Right, which is why I think it's better to put this in 3920bis.

Peter

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




--------------ms070503030600020206030406
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
aWVudCBDQTCCASIwDQYJ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qFxmFS
XV0gtQQ0qkRd8jQP9NwXWHKMrqukBsKZi1hk72G8Hi4GKrox7lgwj6XHuSio9jPC1gDzC4LU
9z9Kq2yzjahwe4L/UiRF11EYu1rjgOOtiC4JOynGB2v25HB1iF6BJliS2gNMRVr7Eq3/d2SS
mFmeBcdBPyfh5mBAhKYzwtEeaRhvBjMgu3LPxSVt/7FruIk6XqEMJVuHvq6YUKezpUgYAAAA
AAAA
--------------ms070503030600020206030406--

From stpeter@stpeter.im  Tue Nov  9 14:13: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 134E33A69D6 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 14:13:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.514
X-Spam-Level: 
X-Spam-Status: No, score=-102.514 tagged_above=-999 required=5 tests=[AWL=0.085, 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 DLRet4lEx4Lj for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 14:13:39 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 242D33A696C for <xmpp@ietf.org>; Tue,  9 Nov 2010 14:13:39 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D6A2C40BB9 for <xmpp@ietf.org>; Tue,  9 Nov 2010 15:23:18 -0700 (MST)
Message-ID: <4CD9C7A8.6090303@stpeter.im>
Date: Wed, 10 Nov 2010 06:14:00 +0800
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: xmpp@ietf.org
References: <4CD47814.3010508@KingsMountain.com>	<4CD913FA.2070308@mail.symlynx.com> <4CD9C4E4.4030603@stpeter.im>
In-Reply-To: <4CD9C4E4.4030603@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="------------ms030200030100070408080801"
Subject: Re: [xmpp] [certid]  accommodating server-to-server
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, 09 Nov 2010 22:13:40 -0000

This is a cryptographically signed message in MIME format.

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

[trimmed to the XMPP WG list only]

On 11/10/10 6:02 AM, Peter Saint-Andre wrote:
> On 11/9/10 5:27 PM, Philipp Hancke wrote:
>> Hi Jeff,
>> [...]
>>> To me, what Peter wrote in the proposed "Note:" is confusing because =
it
>>> is labeling an entity as a "TLS client" that is not a TLS client in t=
he
>>> TLS protocol sense -- it is playing the TLS server role, and is only
>>> behaving as a "TLS client" would in the sense of verifying the entity=
 at
>>> the other end of the incoming connection.
>>
>> From the TLS protocol level both occurences of "client" should have be=
en
>> "server", yes.
>>
>>> In this case we ostensibly have the "peer server" -- legitimately act=
ing
>>> as a TLS client -- presenting its certificate during the TLS handshak=
e,
>>> and thus the application service is obliged to perform the same check=
s
>>> on the peer server's asserted identity, as an actual TLS client perfo=
rms
>>> on asserted app service identity.
>>>
>>> yes?
>>
>> Exactly.
>>
>>> If so, it seems we're linguistically standing on our heads here tryin=
g
>>> to shoehorn the notion of "verification of client identity (by the ap=
p
>>> service)" into section 4 "Verification of Service Identity".
>>
>> Yes.
>>
>>> I propose that we need to perhaps have a separate section for the for=
mer
>>> and figure out how to refactor the more detailed section 4 subsection=
s
>>> such that we don't have to needlessly repeat text.
>>
>> You might split this in such a way that you describe how to get the
>> certificate and reference identifiers first (which is slightly differe=
nt
>> for client and server) and then the process of validation for a given
>> certificate and a given reference identifiers (which no longer depends=

>> on whether a client or a server is doing that). Essentially, that mean=
s
>> replacing most occurences of "client" with "verifying entity".
>>
>> However, I am not sure if this really going to improve readability for=

>> anyone that is not looking for xmpp-s2s :-/
>=20
> Right, which is why I think it's better to put this in 3920bis.

The best place seems to be Section 13.7.2.1 (on validation of server
certificates). I propose adding the following paragraph at the end of
that section:

   In the case of server-to-server communication, the matching procedure
   described in [TLS-CERTS] can be performed by an application server
   (receiving entity) when verifying an incoming server-to-server
   connection from a peer server (initiating entity).  In this case, the
   receiving entity verifies the identity of the initiating entity and
   uses as its reference identifier the DNS domain name asserted by the
   initiating entity.  However, the matching procedure described in
   [TLS-CERTS] remains unchanged and is applied in the same way.

/psa



--------------ms030200030100070408080801
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
Z25pbm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0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQART5TCL4UOEKN/5xCiHvNBsn/hXeUlhuhO7yb09MMPerClUp9VmEphy+vY
hsaMGXGnt/byohbdevNNrFG0pxPDEG46KY/JUxf9o9Hf8RzAijDKYwPBvqNtdcKQsD3hw88+
85LzsCT5HRstRXhSrMr1Tc14d+Z8FatNgNpzTeTgLvOS91n+5Eg6Nc4gg7Jw7SIR/6bEwNuf
ioPWrsFm970/4qV2jeHpBhFM3jrHuBkpsmz9L85i6mxAbjNmsyBqsrvHgIvsbewfCQ/vEpSQ
sOfGNx0VgEEhZHcRKKUfWZOTQV3xO93cwpzEKvMi8/3tP+e/7qiXzlEB6HPPFkE02PBsAAAA
AAAA
--------------ms030200030100070408080801--

From dave@cridland.net  Tue Nov  9 14:17:28 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 D54E728B23E for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 14:17:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.406
X-Spam-Level: 
X-Spam-Status: No, score=-2.406 tagged_above=-999 required=5 tests=[AWL=-0.107, 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 s2vfyti9jsVY for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 14:17:28 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id B1A763A6A25 for <xmpp@ietf.org>; Tue,  9 Nov 2010 14:17:26 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id A26F011680F8; Tue,  9 Nov 2010 22:17:50 +0000 (GMT)
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 XGSvlqUubGNy; Tue,  9 Nov 2010 22:17:46 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 6128511680CA; Tue,  9 Nov 2010 22:17:46 +0000 (GMT)
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im>
In-Reply-To: <4CD9C450.8070506@stpeter.im>
MIME-Version: 1.0
Message-Id: <2850.1289341066.377699@puncture>
Date: Tue, 09 Nov 2010 22:17:46 +0000
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>, =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 22:17:28 -0000

On Tue Nov  9 21:59:44 2010, Peter Saint-Andre wrote:
> So do we want to tell client and server developers that they really
> really need to support SASL PLAIN unless they have an awfully good
> reason not to -- that we'd say you MUST implement it except that in  
> a
> few well-defined circumstances it might not be appropriate?

The point you failed to mention about RFC 2119 language is:

   Imperatives of the type defined in this memo must be used with care
   and sparingly.  In particular, they MUST only be used where it is
   actually required for interoperation or to limit behavior which has
   potential for causing harm

And what we're saying is that servers - for reasons which are most  
certainly outside the control of the client - may be unable to offer  
anything but PLAIN. A client which does not implement PLAIN will,  
therefore, fail to interoperate with such servers. It may be  
acceptable, or even desirable, for a client to behave in this way,  
for example if the client is marketed as being highly secure, but  
this will have an effect on interoperability, and as such is a  
trade-off.

The fact that a client which doesn't implement PLAIN will often work  
fine allows me to be persuaded that a SHOULD (on clients) is  
sufficient - a client failing to implement PLAIN will suffer interop  
failure on occasion, but in many cases it'll be fine. (I would note  
that a client failing to implement either PLAIN or GSSAPI is likely  
to fail to operate in most enterprise deployments, however).

The fact that the deployment case is controlled by the server  
suggests that for servers, PLAIN is truly optional, and I'm willing  
to drop the requirement on servers.

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  Tue Nov  9 14:46: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 A59793A68AE for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 14:46:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.52
X-Spam-Level: 
X-Spam-Status: No, score=-102.52 tagged_above=-999 required=5 tests=[AWL=0.079, 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 YCYir1NjyXbG for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 14:46:11 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 667013A68B0 for <xmpp@ietf.org>; Tue,  9 Nov 2010 14:46:11 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 198AB40BB9; Tue,  9 Nov 2010 15:55:49 -0700 (MST)
Message-ID: <4CD9CF46.2000400@stpeter.im>
Date: Wed, 10 Nov 2010 06:46:30 +0800
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: Dave Cridland <dave@cridland.net>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture>
In-Reply-To: <2850.1289341066.377699@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="------------ms010405060408060905090506"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 22:46:12 -0000

This is a cryptographically signed message in MIME format.

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

On 11/10/10 6:17 AM, Dave Cridland wrote:
> On Tue Nov  9 21:59:44 2010, Peter Saint-Andre wrote:
>> So do we want to tell client and server developers that they really
>> really need to support SASL PLAIN unless they have an awfully good
>> reason not to -- that we'd say you MUST implement it except that in a
>> few well-defined circumstances it might not be appropriate?
>=20
> The point you failed to mention about RFC 2119 language is:

I prefer "neglected" to "failed". Heinlein's Razor and all that.

>   Imperatives of the type defined in this memo must be used with care
>   and sparingly.=20

Well, 3920bis is absolutely packed with imperatives. I realize that's
not your style, but it seems to be mine (based in part on my experience
with implementers, who blithely ignore even the strongest SHOULD).

> In particular, they MUST only be used where it is
>   actually required for interoperation or to limit behavior which has
>   potential for causing harm
>=20
> And what we're saying is that servers - for reasons which are most
> certainly outside the control of the client - may be unable to offer
> anything but PLAIN. A client which does not implement PLAIN will,
> therefore, fail to interoperate with such servers. It may be acceptable=
,
> or even desirable, for a client to behave in this way, for example if
> the client is marketed as being highly secure, but this will have an
> effect on interoperability, and as such is a trade-off.
>=20
> The fact that a client which doesn't implement PLAIN will often work
> fine allows me to be persuaded that a SHOULD (on clients) is sufficient=

> - a client failing to implement PLAIN will suffer interop failure on
> occasion, but in many cases it'll be fine. (I would note that a client
> failing to implement either PLAIN or GSSAPI is likely to fail to operat=
e
> in most enterprise deployments, however).
>=20
> The fact that the deployment case is controlled by the server suggests
> that for servers, PLAIN is truly optional, and I'm willing to drop the
> requirement on servers.

Does "required for interoperation" mean "required for interoperation in
all possible deployment scenarios"? If so, then as you note a client
might need to implement SASL EXTERNAL, GSSAPI (Kerberos), DIGEST-MD5
(still lots of deployment), etc. It seems silly to say that all of those
are mandatory to implement. Better, I think, to note the reality of
deployment on the network and enable client developers to make the most
appropriate implementation decisions based on the deployment
environments in which they expect their clients to be used.

The text you've quoted refers to imperatives. Although RFC 2119 does not
specify which keywords are imperative, in general an imperative is a
command or exhortation. Thus, IMHO, "MAY" is not an imperative, whereas
SHOULD is an exhortation (i.e., an instance of emphatic urging) and MUST
is a command (i.e., an authoritative order).

Now let's look at the other branch of the quoted text: "to limit
behavior which has potential for causing harm". We've established that
TLS plus SASL PLAIN has the potential for causing harm, right? Although
I am far from an advocate of the precautionary principle, and there is
always the potential for harm no matter what we say or do, it seems that
there's more potential for harm in using SASL PLAIN over TLS than there
is in being prevented from connecting to a given service.

What I get from "clients SHOULD implement SASL PLAIN" is "clients really
really need to support SASL PLAIN unless they have a good reason to do
so -- like, say, offering an acceptable level of security to their users"=
=2E

So the real question is: what's an acceptable level of security? Do we
have enough confidence in TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
ciphersuite (and proper certificate validation and so on) to think that
it's OK to send plaintext credentials over such a channel? That seems to
be a topic on which folks in the security directorate could provide
useful input, because I don't know if we have enough expertise in the
XMPP WG to say.

Peter

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




--------------ms010405060408060905090506
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/X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CqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBWWr4lTsN1wDJH7emRInpkNTsNb9sui9HsYs8RLUaTcdB/0pB2qa995WCJ
gTtjJltgJkFJJx03QXK3u2Boq3AWkt1Zd1DH2VVjUe5E8ZmKBU/5M5f5P5JuAuuH0PaJqsUy
/jQxi/AbXIEOOwLAwxXVNXBICzT3+SNTTVuv+J+TMdpXsfZ1n4S0BjezbE3Sh5NatXKADnTK
4YwUEmw417P1KW0FqDwkn6ly4O9ACEC7mvoE9gODhmX1NkO5JE3ljWhTiUWffoZ9zmhVEQBz
XVjOd4mgJ7Pefy1sGnBfLBgzdLxACyqqDi+Tv3912vBEbyMFyc4sQawvojjlj/XOoDODAAAA
AAAA
--------------ms010405060408060905090506--

From stpeter@stpeter.im  Tue Nov  9 15:09: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 BF8EB3A6961 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:09:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.523
X-Spam-Level: 
X-Spam-Status: No, score=-102.523 tagged_above=-999 required=5 tests=[AWL=0.076, 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 iBeh+pbOgiP4 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:09:51 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 4E4BD3A6994 for <xmpp@ietf.org>; Tue,  9 Nov 2010 15:09:51 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 84AE140BB9; Tue,  9 Nov 2010 16:19:30 -0700 (MST)
Message-ID: <4CD9D4D1.1050906@stpeter.im>
Date: Wed, 10 Nov 2010 07:10:09 +0800
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: Dave Cridland <dave@cridland.net>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im>
In-Reply-To: <4CD9CF46.2000400@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="------------ms040409070001000306030007"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 23:09:52 -0000

This is a cryptographically signed message in MIME format.

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

On 11/10/10 6:46 AM, Peter Saint-Andre wrote:
> On 11/10/10 6:17 AM, Dave Cridland wrote:
>> On Tue Nov  9 21:59:44 2010, Peter Saint-Andre wrote:
>>> So do we want to tell client and server developers that they really
>>> really need to support SASL PLAIN unless they have an awfully good
>>> reason not to -- that we'd say you MUST implement it except that in a=

>>> few well-defined circumstances it might not be appropriate?
>>
>> The point you failed to mention about RFC 2119 language is:
>=20
> I prefer "neglected" to "failed". Heinlein's Razor and all that.
>=20
>>   Imperatives of the type defined in this memo must be used with care
>>   and sparingly.=20
>=20
> Well, 3920bis is absolutely packed with imperatives. I realize that's
> not your style, but it seems to be mine (based in part on my experience=

> with implementers, who blithely ignore even the strongest SHOULD).
>=20
>> In particular, they MUST only be used where it is
>>   actually required for interoperation or to limit behavior which has
>>   potential for causing harm
>>
>> And what we're saying is that servers - for reasons which are most
>> certainly outside the control of the client - may be unable to offer
>> anything but PLAIN. A client which does not implement PLAIN will,
>> therefore, fail to interoperate with such servers. It may be acceptabl=
e,
>> or even desirable, for a client to behave in this way, for example if
>> the client is marketed as being highly secure, but this will have an
>> effect on interoperability, and as such is a trade-off.
>>
>> The fact that a client which doesn't implement PLAIN will often work
>> fine allows me to be persuaded that a SHOULD (on clients) is sufficien=
t
>> - a client failing to implement PLAIN will suffer interop failure on
>> occasion, but in many cases it'll be fine. (I would note that a client=

>> failing to implement either PLAIN or GSSAPI is likely to fail to opera=
te
>> in most enterprise deployments, however).
>>
>> The fact that the deployment case is controlled by the server suggests=

>> that for servers, PLAIN is truly optional, and I'm willing to drop the=

>> requirement on servers.
>=20
> Does "required for interoperation" mean "required for interoperation in=

> all possible deployment scenarios"? If so, then as you note a client
> might need to implement SASL EXTERNAL, GSSAPI (Kerberos), DIGEST-MD5
> (still lots of deployment), etc. It seems silly to say that all of thos=
e
> are mandatory to implement. Better, I think, to note the reality of
> deployment on the network and enable client developers to make the most=

> appropriate implementation decisions based on the deployment
> environments in which they expect their clients to be used.
>=20
> The text you've quoted refers to imperatives. Although RFC 2119 does no=
t
> specify which keywords are imperative, in general an imperative is a
> command or exhortation. Thus, IMHO, "MAY" is not an imperative, whereas=

> SHOULD is an exhortation (i.e., an instance of emphatic urging) and MUS=
T
> is a command (i.e., an authoritative order).
>=20
> Now let's look at the other branch of the quoted text: "to limit
> behavior which has potential for causing harm". We've established that
> TLS plus SASL PLAIN has the potential for causing harm, right? Although=

> I am far from an advocate of the precautionary principle, and there is
> always the potential for harm no matter what we say or do, it seems tha=
t
> there's more potential for harm in using SASL PLAIN over TLS than there=

> is in being prevented from connecting to a given service.
>=20
> What I get from "clients SHOULD implement SASL PLAIN" is "clients reall=
y
> really need to support SASL PLAIN unless they have a good reason to do
> so -- like, say, offering an acceptable level of security to their user=
s".
>=20
> So the real question is: what's an acceptable level of security? Do we
> have enough confidence in TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
> ciphersuite (and proper certificate validation and so on) to think that=

> it's OK to send plaintext credentials over such a channel? That seems t=
o
> be a topic on which folks in the security directorate could provide
> useful input, because I don't know if we have enough expertise in the
> XMPP WG to say.

And while we're quoting chapter and verse from RFC 2119, consider the
description of "MAY" from that document:

   This word, or the adjective "OPTIONAL", mean that an item is
   truly optional.  One vendor may choose to include the item because a
   particular marketplace requires it or because the vendor feels that
   it enhances the product while another vendor may omit the same item.
   An implementation which does not include a particular option MUST be
   prepared to interoperate with another implementation which does
   include the option, though perhaps with reduced functionality. In the
   same vein an implementation which does include a particular option
   MUST be prepared to interoperate with another implementation which
   does not include the option (except, of course, for the feature the
   option provides.)

By your description, XMPP services that "require" GSSAPI (Kerberos) are
part of a "particular marketplace" (say, certain kinds of enterprise
deployments). Something similar seems to be going on with services that
"require" SASL PLAIN, but I'm open to persuasion that this situation is
different enough to justify special dispensation.

The proposed note about interoperability does not explicitly warn client
developers that omitting support for PLAIN might lead to an inability to
connect to services that don't or can't offer SCRAM, but that might be
an appropriate warning to include. (Is the same true for GSSAPI and
DIGEST-MD5?) Contrariwise, RFC 2119 seems to envision that MAY applies
only to add-on features that provide enhanced functionality (the lack of
support for the feature would still result in basic interoperability,
"though perhaps with reduced functionality").

We're in a grey area here, and it seems that one could argue that
clients SHOULD support PLAIN (although so far it appears to me that the
same or similar arguments might apply to GSSAPI, but not to DIGEST-MD5
because it's being obsoleted by SCRAM).

I'll continue to ponder this and ask some security area folks about it
this week in Beijing.

Peter

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




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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIT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zE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQApbO8qeudZUsFIKNc/12ZxveOpRNs1LG6ZOxNmJvtpZL0eZkdrpE1dc/5j
YDZNNH6rr00Z2h0WcH2ksdqkjXXdfPTiXZ509sPEvtLjsli8B9zaJVnxZ6xfE9l3VtOREI3A
9iDYtU/74tj76MH1THJJH/A/8Gr0828ZZfuChbUkr5xuQKlaEPlsCZ0CKt8uOBIbOeAVX4Ip
Qe0stjoNv1ytGarYfvVOrmZ7y+cSPXhMt5PFod3fviqOPbqVqh8HbeTlFfDJN3yXwwcsk266
dc5QuTxJjuaUnf39zeAoZjg1r7U+7NFCQivdxjHH6UT7Ant8bkoIDHwRH5hQxG+EO7S7AAAA
AAAA
--------------ms040409070001000306030007--

From Kurt.Zeilenga@Isode.COM  Tue Nov  9 15:15:29 2010
Return-Path: <Kurt.Zeilenga@Isode.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 1F3903A69FB for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:15:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.435
X-Spam-Level: 
X-Spam-Status: No, score=-102.435 tagged_above=-999 required=5 tests=[AWL=0.164, 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 WuqJhckJpmna for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:15:28 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 144283A67F1 for <xmpp@ietf.org>; Tue,  9 Nov 2010 15:15:28 -0800 (PST)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNnWJAAEeU-z@rufus.isode.com>; Tue, 9 Nov 2010 23:15:50 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <2850.1289341066.377699@puncture>
Date: Tue, 9 Nov 2010 15:15:46 -0800
Message-Id: <87154427-F081-4E1E-951D-92B45313A0F5@Isode.COM>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture>
To: Dave Cridland <dave@cridland.net>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 23:15:29 -0000

On Nov 9, 2010, at 2:17 PM, Dave Cridland wrote:

> On Tue Nov  9 21:59:44 2010, Peter Saint-Andre wrote:
>> So do we want to tell client and server developers that they really
>> really need to support SASL PLAIN unless they have an awfully good
>> reason not to -- that we'd say you MUST implement it except that in a
>> few well-defined circumstances it might not be appropriate?
>=20
> The point you failed to mention about RFC 2119 language is:
>=20
>  Imperatives of the type defined in this memo must be used with care
>  and sparingly.  In particular, they MUST only be used where it is
>  actually required for interoperation or to limit behavior which has
>  potential for causing harm
>=20
> And what we're saying is that servers - for reasons which are most =
certainly outside the control of the client - may be unable to offer =
anything but PLAIN. A client which does not implement PLAIN will, =
therefore, fail to interoperate with such servers. It may be acceptable, =
or even desirable, for a client to behave in this way, for example if =
the client is marketed as being highly secure, but this will have an =
effect on interoperability, and as such is a trade-off.

One could make the argument that PLAIN (without TLS) is needed for =
interoperability and hence should be MTI'ed.

One MTI authentication mechanism ought to be sufficient for =
interoperability.  Yes, there will deployments where other mechanisms =
are needed, but isn't that always the case?

That said, I don't mind too much a SHOULD or a MUST implement =
Authenticated TLS + PLAIN, with at least a SHOULD NOT use PLAIN without =
TLS or with unauthenticated TLS or weak TLS.   That is, I was fine =
(IIRC) with the TLS + PLAIN text we had going into this recent consensus =
call.

-- Kurt


From stpeter@stpeter.im  Tue Nov  9 15:20: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 36A953A6A16 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:20:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.525
X-Spam-Level: 
X-Spam-Status: No, score=-102.525 tagged_above=-999 required=5 tests=[AWL=0.074, 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 MZMLidQm0eoA for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:20:12 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 43AB03A67F1 for <xmpp@ietf.org>; Tue,  9 Nov 2010 15:20:12 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8AF9140BB9; Tue,  9 Nov 2010 16:29:51 -0700 (MST)
Message-ID: <4CD9D73E.3020309@stpeter.im>
Date: Wed, 10 Nov 2010 07:20:30 +0800
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: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <87154427-F081-4E1E-951D-92B45313A0F5@Isode.COM>
In-Reply-To: <87154427-F081-4E1E-951D-92B45313A0F5@Isode.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="------------ms040603020609070803080503"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 23:20:14 -0000

This is a cryptographically signed message in MIME format.

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

On 11/10/10 7:15 AM, Kurt Zeilenga wrote:
>=20
> On Nov 9, 2010, at 2:17 PM, Dave Cridland wrote:
>=20
>> On Tue Nov  9 21:59:44 2010, Peter Saint-Andre wrote:
>>> So do we want to tell client and server developers that they
>>> really really need to support SASL PLAIN unless they have an
>>> awfully good reason not to -- that we'd say you MUST implement it
>>> except that in a few well-defined circumstances it might not be
>>> appropriate?
>>=20
>> The point you failed to mention about RFC 2119 language is:
>>=20
>> Imperatives of the type defined in this memo must be used with
>> care and sparingly.  In particular, they MUST only be used where it
>> is actually required for interoperation or to limit behavior which
>> has potential for causing harm
>>=20
>> And what we're saying is that servers - for reasons which are most
>> certainly outside the control of the client - may be unable to
>> offer anything but PLAIN. A client which does not implement PLAIN
>> will, therefore, fail to interoperate with such servers. It may be
>> acceptable, or even desirable, for a client to behave in this way,
>> for example if the client is marketed as being highly secure, but
>> this will have an effect on interoperability, and as such is a
>> trade-off.
>=20
> One could make the argument that PLAIN (without TLS) is needed for
> interoperability and hence should be MTI'ed.
>=20
> One MTI authentication mechanism ought to be sufficient for
> interoperability.  Yes, there will deployments where other mechanisms
> are needed, but isn't that always the case?
>=20
> That said, I don't mind too much a SHOULD or a MUST implement
> Authenticated TLS + PLAIN, with at least a SHOULD NOT use PLAIN
> without TLS or with unauthenticated TLS or weak TLS.  That is, I was
> fine (IIRC) with the TLS + PLAIN text we had going into this recent
> consensus call.

Color me confused. Your posts to the list are the whole reason we had
this consensus call in the first place.

Peter

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




--------------ms040603020609070803080503
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
aWVudCBDQTCCASIwD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bKE+
cq3a4i3CS3saS/pIIi5uQAkQvZlxfw1SN5/8eyO0prVSj6Je5FwVsdrp6pDMBTm5+UGBQUxM
HPmX2UeHaPM3jUyeDII6qlkHZprt1Wyep6BDQ8ZRdUqrU/eCoM/urgcPjenXpPOhbRYulhAX
OwQdewn9OP6+E/0xofSfI+qWPXRDX9CSWVzd+3+CCIOUjtfprbEv5Sj9XiclZ7RPkZjPAAAA
AAAA
--------------ms040603020609070803080503--

From jehan.marmottard@gmail.com  Tue Nov  9 15:29: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 74FC43A6800 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:29:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.786
X-Spam-Level: 
X-Spam-Status: No, score=-1.786 tagged_above=-999 required=5 tests=[AWL=0.513,  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 kT0K77QiIFhZ for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:29:03 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 61FF63A68B0 for <xmpp@ietf.org>; Tue,  9 Nov 2010 15:29:03 -0800 (PST)
Received: by wyb28 with SMTP id 28so25227wyb.31 for <xmpp@ietf.org>; Tue, 09 Nov 2010 15:29:28 -0800 (PST)
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; bh=NvXZIuQ+uGHqKsvZ/ncknMM6UsKdkWKVQQFZOyPj+2U=; b=JaCkcEayZoIrluaVLcZMcNQIdW63iY6R4NR6pnYXGqQh7CVRpAw5rCRTaZi3bIeLhF fJMMCfDMZcT+7JTSd/5c6dCfmLtp+Xw1Uf9f3LNa5orFpEzUMchlrUSHNr1TcVA+O6xS urI/D1vACv2N732f3o6wSdLKPm1s33gMlgqrM=
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; b=s6yhrs3Zf1glRy7m6fHMbggY8m5XnbK4x3puVFH+Oryt+4xwsA6fm4PtD+dy8Ez3hN SUgwnzF4GhDlf2OzYLl1Uu8Rbd0OAlCMqHtVQb12AmdEUlx4gHQCQ/+UfHq6soWFVFxd 2eNNcOlJqnUdL/TySZySPwrWFJYLDdWLQoCQs=
MIME-Version: 1.0
Received: by 10.216.2.141 with SMTP id 13mr329650wef.84.1289345368087; Tue, 09 Nov 2010 15:29:28 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Tue, 9 Nov 2010 15:29:28 -0800 (PST)
In-Reply-To: <4CD9CF46.2000400@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im>
Date: Wed, 10 Nov 2010 08:29:28 +0900
Message-ID: <AANLkTikgRnJr1pFXpx+tQg1O7hqKZXQHviQuCjvt0C5d@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
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 23:29:04 -0000

Hi,

On Wed, Nov 10, 2010 at 7:46 AM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> Now let's look at the other branch of the quoted text: "to limit
> behavior which has potential for causing harm". We've established that
> TLS plus SASL PLAIN has the potential for causing harm, right? Although
> I am far from an advocate of the precautionary principle, and there is
> always the potential for harm no matter what we say or do, it seems that
> there's more potential for harm in using SASL PLAIN over TLS than there
> is in being prevented from connecting to a given service.
>
> What I get from "clients SHOULD implement SASL PLAIN" is "clients really
> really need to support SASL PLAIN unless they have a good reason to do
> so -- like, say, offering an acceptable level of security to their users".
>
> So the real question is: what's an acceptable level of security? Do we
> have enough confidence in TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
> ciphersuite (and proper certificate validation and so on) to think that
> it's OK to send plaintext credentials over such a channel? That seems to
> be a topic on which folks in the security directorate could provide
> useful input, because I don't know if we have enough expertise in the
> XMPP WG to say.

and that's the exact problem of TLS and the reason why it has not an
acceptable level of security: it is so complicated that many skilled
computer people don't get all the consequences. Yet it relies on many
people during it whole life chain (creation of certificates by people
who only care about money they get from it, and accepting them by
people who don't care about security warnings). I even remember to
have read once on a XSF list someone saying that a self-signed
certificate was as secure as one signed by a CA (whereas a self-signed
cert is basically same as no cert at all, unless its owner came to
give it to you physically with his usb key and his ID card).

But the truth is that CA makes mistakes and give away some certs, that
developpers don't really warn well against unsecure streams to users
(it becomes better in web browsers, but in XMPP, that's definitely
still bad, looking at the behaviour of all well-spread clients) nor do
they know which CA root certs to include (even in the web market, this
point is a mess), and that users don't really care in the end anyway,
mostly because to understand when you are secure, you need to
understand how the protocol itself work (that's also why even the
computer professionals don't understand themselves when it is secure)!

So no, TLS is well spread and better than nothing to stick with while
we don't have some technology definitely better, but that's not an
acceptable level of security to allow oneself to become "light
hearted" once this layer has been passed. Especially not on giving
away passwords.

Jehan

From Kurt.Zeilenga@Isode.COM  Tue Nov  9 15:32:15 2010
Return-Path: <Kurt.Zeilenga@Isode.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 F145C3A6800 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:32:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.449
X-Spam-Level: 
X-Spam-Status: No, score=-102.449 tagged_above=-999 required=5 tests=[AWL=0.150, 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 jPWZ4Y+ywXzE for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 15:32:14 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 1216D3A6961 for <xmpp@ietf.org>; Tue,  9 Nov 2010 15:32:14 -0800 (PST)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNnaFQAEeaIM@rufus.isode.com>; Tue, 9 Nov 2010 23:32:38 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <4CD9D73E.3020309@stpeter.im>
Date: Tue, 9 Nov 2010 15:32:35 -0800
Message-Id: <2CA6A06E-33A0-4912-9FDD-18C0CA93AC25@Isode.COM>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <87154427-F081-4E1E-951D-92B45313A0F5@Isode.COM> <4CD9D73E.3020309@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 09 Nov 2010 23:32:15 -0000

On Nov 9, 2010, at 3:20 PM, Peter Saint-Andre wrote:

>>=20
>> That said, I don't mind too much a SHOULD or a MUST implement
>> Authenticated TLS + PLAIN, with at least a SHOULD NOT use PLAIN
>> without TLS or with unauthenticated TLS or weak TLS.  That is, I was
>> fine (IIRC) with the TLS + PLAIN text we had going into this recent
>> consensus call.
>=20
> Color me confused. Your posts to the list are the whole reason we had
> this consensus call in the first place.

While I rather remove any requirement to implement PLAIN, I realized =
that I'm in the rough on that one (and even tried to offer a few outs).  =
The consensus call only seems to have confirmed that.

My point above is more of a statement that the text we had was basically =
as good as it was going to get.

-- Kurt=

From florob@babelmonkeys.de  Tue Nov  9 16:09:02 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 B34253A6A21 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:09:02 -0800 (PST)
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 ZCU7bp-Ph6mu for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:09:01 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 8FCE83A69B3 for <xmpp@ietf.org>; Tue,  9 Nov 2010 16:09:01 -0800 (PST)
Received: from xdsl-78-34-222-211.netcologne.de ([78.34.222.211] helo=[192.168.234.167]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PFyFi-0001hc-80 for xmpp@ietf.org; Wed, 10 Nov 2010 01:09:26 +0100
Message-ID: <4CD9E308.2060700@babelmonkeys.de>
Date: Wed, 10 Nov 2010 01:10:48 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im>	<2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CD9D4D1.1050906@stpeter.im>
In-Reply-To: <4CD9D4D1.1050906@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 00:09:02 -0000

On 10.11.2010 00:10, Peter Saint-Andre wrote:
> 
> And while we're quoting chapter and verse from RFC 2119, consider the
> description of "MAY" from that document:
> 
>    This word, or the adjective "OPTIONAL", mean that an item is
>    truly optional.  One vendor may choose to include the item because a
>    particular marketplace requires it or because the vendor feels that
>    it enhances the product while another vendor may omit the same item.
>    An implementation which does not include a particular option MUST be
>    prepared to interoperate with another implementation which does
>    include the option, though perhaps with reduced functionality. In the
>    same vein an implementation which does include a particular option
>    MUST be prepared to interoperate with another implementation which
>    does not include the option (except, of course, for the feature the
>    option provides.)
> 
Personally I'd interpret that text differently from you.
Some people have said that there are valid deployment scenarios where a
server can only offer PLAIN. And I tend to believe them that those exist.

A server that *can* only offer PLAIN:
a) Has a good reason not to offer SCRAM
b) Can't prepare itself to interoperate with clients that don't support
   PLAIN
Therefore I'd deem "clients MAY support SASL PLAIN + TLS" insufficient.
As far as I can tell this is also the main reason some other people
argued for SHOULD.

--
Florian Zeitz

From Kurt.Zeilenga@Isode.COM  Tue Nov  9 16:15:21 2010
Return-Path: <Kurt.Zeilenga@Isode.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 AC3D83A69B3 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:15:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.461
X-Spam-Level: 
X-Spam-Status: No, score=-102.461 tagged_above=-999 required=5 tests=[AWL=0.138, 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 TkFteQ4WsK+Y for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:15:20 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 8361B3A688B for <xmpp@ietf.org>; Tue,  9 Nov 2010 16:15:20 -0800 (PST)
Received: from [192.168.42.5] (75-141-240-242.dhcp.reno.nv.charter.com [75.141.240.242])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <TNnkLwAEeZL=@rufus.isode.com>; Wed, 10 Nov 2010 00:15:44 +0000
From: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
In-Reply-To: <2CA6A06E-33A0-4912-9FDD-18C0CA93AC25@Isode.COM>
Date: Tue, 9 Nov 2010 16:15:41 -0800
Message-Id: <156AE4FD-4961-4B28-9D30-3D70A6FD2F94@Isode.COM>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <87154427-F081-4E1E-951D-92B45313A0F5@Isode.COM> <4CD9D73E.3020309@stpeter.im> <2CA6A06E-33A0-4912-9FDD-18C0CA93AC25@Isode.COM>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 00:15:21 -0000

On Nov 9, 2010, at 3:32 PM, Kurt Zeilenga wrote:

>=20
> On Nov 9, 2010, at 3:20 PM, Peter Saint-Andre wrote:
>=20
>>>=20
>>> That said, I don't mind too much a SHOULD or a MUST implement
>>> Authenticated TLS + PLAIN, with at least a SHOULD NOT use PLAIN
>>> without TLS or with unauthenticated TLS or weak TLS.  That is, I was
>>> fine (IIRC) with the TLS + PLAIN text we had going into this recent
>>> consensus call.
>>=20
>> Color me confused. Your posts to the list are the whole reason we had
>> this consensus call in the first place.
>=20
> While I rather remove any requirement to implement PLAIN, I realized =
that I'm in the rough on that one (and even tried to offer a few outs).  =
The consensus call only seems to have confirmed that.

Actually, let me further clarify that my largest pre-consensus call =
concern was better discouraging use of Unauthenticated TLS (in absence =
of channel bindings) as Unauthenticated TLS opens the down to a wide =
range of attacks, such as downgrade attacks and hijack attacks.  I think =
these issues have been resolved reasonable well.

I'm still concerned that we're pushing a lot of complexity upon client =
developers and overly relying on users to make non-trivial security =
decisions.  Unfortunately, this seems presently unavoidable.

As I noted before, even if we were to remove the Authenticated TLS + =
PLAIN mandate/recommendation/option with a MUST NOT implement PLAIN, =
PLAIN (with and without TLS, authenticated or not) support is going to =
remain ubiquitous.   Hence users are going to increasing become the =
target of attacks.  Aside from words of caution and recommending good =
alternatives, there's little we can presently do about that.  And that's =
why I'm fine with earlier text.

> My point above is more of a statement that the text we had was =
basically as good as it was going to get.
>=20
> -- Kurt
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp


From mamille2@cisco.com  Tue Nov  9 16:23: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 620D83A6A21 for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:23:09 -0800 (PST)
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 ce3Q5kUNqpPB for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:23:03 -0800 (PST)
Received: from sj-iport-4.cisco.com (sj-iport-4.cisco.com [171.68.10.86]) by core3.amsl.com (Postfix) with ESMTP id 508583A69E1 for <xmpp@ietf.org>; Tue,  9 Nov 2010 16:23:03 -0800 (PST)
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: AvsEAHd02UyrR7Ht/2dsb2JhbACiKXGhS5svhUoEhFmFfQ
X-IronPort-AV: E=Sophos;i="4.59,176,1288569600"; d="scan'208";a="214626318"
Received: from sj-core-1.cisco.com ([171.71.177.237]) by sj-iport-4.cisco.com with ESMTP; 10 Nov 2010 00:23:29 +0000
Received: from dhcp-64-101-72-212.cisco.com (dhcp-64-101-72-212.cisco.com [64.101.72.212]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id oAA0NSij026643; Wed, 10 Nov 2010 00:23:28 GMT
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <156AE4FD-4961-4B28-9D30-3D70A6FD2F94@Isode.COM>
Date: Tue, 9 Nov 2010 17:26:36 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <618DE6B1-CFBC-4A5D-A304-6D386167E4AF@cisco.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <87154427-F081-4E1E-951D-92B45313A0F5@Isode.COM> <4CD9D73E.3020309@stpeter.im> <2CA6A06E-33A0-4912-9FDD-18C0CA93AC25@Isode.COM> <156AE4FD-4961-4B28-9D30-3D70A6FD2F94@Isode.COM>
To: Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>
X-Mailer: Apple Mail (2.1081)
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 00:23:10 -0000

On Nov 9, 2010, at 17:15 , Kurt Zeilenga wrote:
> As I noted before, even if we were to remove the Authenticated TLS + =
PLAIN mandate/recommendation/option with a MUST NOT implement PLAIN, =
PLAIN (with and without TLS, authenticated or not) support is going to =
remain ubiquitous.   Hence users are going to increasing become the =
target of attacks.  Aside from words of caution and recommending good =
alternatives, there's little we can presently do about that.  And that's =
why I'm fine with earlier text.

At the end of the day, there's only so much we can do to prevent =
everyone from shooting their own arms off (-:

I was fine with the earlier missive for that reason.


- m&m=

From florob@babelmonkeys.de  Tue Nov  9 16:23:10 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 AB1E43A688B for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:23:10 -0800 (PST)
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 AjSbMc-I6Kwn for <xmpp@core3.amsl.com>; Tue,  9 Nov 2010 16:23:09 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 7152E3A69FB for <xmpp@ietf.org>; Tue,  9 Nov 2010 16:23:05 -0800 (PST)
Received: from xdsl-78-34-222-211.netcologne.de ([78.34.222.211] helo=[192.168.234.167]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PFyTK-0001od-Na for xmpp@ietf.org; Wed, 10 Nov 2010 01:23:30 +0100
Message-ID: <4CD9E655.7020607@babelmonkeys.de>
Date: Wed, 10 Nov 2010 01:24:53 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im> <AANLkTikgRnJr1pFXpx+tQg1O7hqKZXQHviQuCjvt0C5d@mail.gmail.com>
In-Reply-To: <AANLkTikgRnJr1pFXpx+tQg1O7hqKZXQHviQuCjvt0C5d@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 00:23:10 -0000

On 10.11.2010 00:29, Jehan Pagès wrote:
> and that's the exact problem of TLS and the reason why it has not an
> acceptable level of security: it is so complicated that many skilled
> computer people don't get all the consequences. Yet it relies on many
> people during it whole life chain (creation of certificates by people
> who only care about money they get from it, and accepting them by
> people who don't care about security warnings). I even remember to
> have read once on a XSF list someone saying that a self-signed
> certificate was as secure as one signed by a CA (whereas a self-signed
> cert is basically same as no cert at all, unless its owner came to
> give it to you physically with his usb key and his ID card).
> 
You said yourself CAs only care about money. So if CAs aren't to be
trusted self-signed certs are certainly just as good. Also you have the
leap-of-faith (i.e. clients make sure the cert doesn't change after the
first connection, having a MITM on your very first connection is
relatively rare) that most people are willing to risk for ssh and many
people were willing to risk for XTLS.

> But the truth is that CA makes mistakes and give away some certs, that
> developpers don't really warn well against unsecure streams to users
> (it becomes better in web browsers, but in XMPP, that's definitely
> still bad, looking at the behaviour of all well-spread clients) nor do
Did you report that as bugs against those clients?
Also which were those?
I have seen shiny windows with big fonts about failed certificate checks
that asked you to check the fingerprint etc. in most clients I have
used. Complaining isn't going to get us anywhere.
> they know which CA root certs to include (even in the web market, this
> point is a mess), and that users don't really care in the end anyway,
> mostly because to understand when you are secure, you need to
> understand how the protocol itself work (that's also why even the
> computer professionals don't understand themselves when it is secure)!
> 
> So no, TLS is well spread and better than nothing to stick with while
> we don't have some technology definitely better, but that's not an
> acceptable level of security to allow oneself to become "light
> hearted" once this layer has been passed. Especially not on giving
> away passwords.
> 
I'm sitting here all the time thinking: "What's up with those peoples
passwords"
Honestly the first thing I would worry about is not the password I use
only for that one XMPP server (which is a easy security measure to teach
people).
I'm far more concerned that somebody can impersonate me at will, change
my roster, perform administrative tasks on the server, etc. And that is
a HUGE problem not easily fixed by using a different mechanism (mind it
can even happen if you use SASL SCRAM unless you do channel binding).
Can we please at least have some screaming and worrying about that too
if we are going to bash TLS like that?

--
Florian Zeitz (sorry for the rant)

From rbarnes@bbn.com  Tue Nov  9 22:19:37 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 2CE0C3A68D6; Tue,  9 Nov 2010 22:19:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.609
X-Spam-Level: 
X-Spam-Status: No, score=-102.609 tagged_above=-999 required=5 tests=[AWL=-0.010, 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 IZYj+e0Guafa; Tue,  9 Nov 2010 22:19:30 -0800 (PST)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) by core3.amsl.com (Postfix) with ESMTP id 3EB973A6895; Tue,  9 Nov 2010 22:19:30 -0800 (PST)
Received: from [128.89.254.59] (port=53402 helo=richards-MacBook-Pro.local) by smtp.bbn.com with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1PG42E-000Emt-1U; Wed, 10 Nov 2010 01:19:54 -0500
Message-ID: <4CDA3983.7050101@bbn.com>
Date: Wed, 10 Nov 2010 14:19:47 +0800
From: "Richard L. Barnes" <rbarnes@bbn.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Anthony Nadalin <tonynad@microsoft.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry> <4CD90C14.2060803@bbn.com> <180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com>
In-Reply-To: <180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:23:55 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "torsten@lodderstedt.net" <torsten@lodderstedt.net>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [xmpp] [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
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, 10 Nov 2010 06:19:37 -0000

Of course not every scenario calls for all of the security knobs to be 
turned to 11.  Think of things instead in terms of syllogisms: "IF you 
want X guarantee, THEN you MUST do A, B, C."

Then you can also read the same things backwards in a given deployment 
scenario: "Given that I can't do B, I can't get assurances X, Y, but I 
can get Z (if I do D, F as well)".

I promise to produce something more concrete soon :)  In the meantime, 
this text illustrates what I mean pretty well:
<http://tools.ietf.org/html/draft-barnes-oauth-model-01#section-5>

--Richard


On 11/10/10 2:03 PM, Anthony Nadalin wrote:
> Issue here is that guarantees (and what you want as a guarantee may not be what somebody else wants) can vary depending on scenario and deployment.
>
> -----Original Message-----
> From: Richard L. Barnes [mailto:rbarnes@bbn.com]
> Sent: Tuesday, November 09, 2010 12:54 AM
> To: torsten@lodderstedt.net
> Cc: Anthony Nadalin; Tschofenig, Hannes; abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; oauth@ietf.org
> Subject: Re: [secdir] [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> I would say that the security considerations should be based on a model of OAuth.  Start with a model of the protocol and the guarantees you want, then explain how to use security mechanisms to achieve those guarantees.
>
> I promised Hannes today to do a review of the current document (which I admit I haven't read) and start on some security considerations from that perspective.  So expect that in the next few weeks.
>
> --Richard
>
>
>
>
> On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
>> We think the security considerations should be based on a threat model of OAuth. But a complete threat model would blow up the spec.
>>
>> We therefore aim to produce a separate security document (informational I-D/RFC) covering threat model as well as security design and considerations. The security considerations section of the core spec can then be distilled from this document.
>>
>> Regards,
>> Torsten.
>> Gesendet mit BlackBerry(r) Webmail von Telekom Deutschland
>>
>> -----Original Message-----
>> From: Anthony Nadalin<tonynad@microsoft.com>
>> Date: Tue, 9 Nov 2010 01:54:57
>> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes
>> Tschofenig<hannes.tschofenig@gmx.net>
>> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;
>> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;
>> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;
>> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;
>> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
>> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>
>> I was looking for less of an analysis and more of considerations (of the current flows and actors), I'm not sure how to adapt what you have done to actually fit in the current specification, was your thought that you would produce a separate security analysis document?
>>
>> -----Original Message-----
>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>> Of Torsten Lodderstedt
>> Sent: Sunday, November 07, 2010 3:04 PM
>> To: Hannes Tschofenig
>> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;
>> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;
>> iesg@ietf.org; oauth@ietf.org
>> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>
>> Hi all,
>>
>> Mark McGloin and me have been working on OAuth 2.0 security considerations for a couple of weeks now. Since we both cannot attend the IETF-79 meetings, we would like to provide the WG with information regarding the current status of our work. I therefore uploaded a_preliminary_ version of our working document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.
>> The focus of this version was on consolidating previous work as well as results of mailing list discussions and start working towards a rigorous threat model.
>>
>> Please give us feedback.
>>
>> regards,
>> Torsten.
>>
>> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>>> Hi all,
>>>
>>> please consider attending the following two meetings!
>>>
>>> ** OAuth Security Session **
>>>
>>> 	* Date: Monday, 13:00-15:00
>>> 	* Location: IAB breakout room (Jade 2)
>>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security
>>> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we would like to put some time aside to discuss what security threats, requirements, and countermeasures need to be described. We will use the Monday, November 8, 1300-1500 slot to have a  discussion session.
>>>
>>> As a starting point I suggest to look at the following documents:
>>>
>>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>>> 	*
>>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>>> txt
>>>
>>> Note: If you are unfamiliar with OAuth then the OAuth tutorial session might be more suitable for you!
>>>
>>>
>>>
>>> ** OAuth Tutorial **
>>>
>>> 	* Date: Wednesday, 19:30 (after the plenary)
>>> 	* Location: IAB breakout room (Jade 2)
>>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows
>>> a user to grant a third-party Web site or application access to their
>>> resources, without necessarily revealing their credentials, or even
>>> their identity. The OAuth working group, see
>>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to
>>> finalize their main specification, namely OAuth v2:
>>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>>
>>> Based on the positive response at the last IETF meeting (in
>>> Maastricht) we decided to hold another OAuth tutorial, namely on
>>> *Wednesday, starting at 19:30 (after the IETF Operations and
>>> Administration Plenary) till about 21:00. (Note: I had to switch the
>>> day because of the social event!)
>>>
>>> It is helpful to read through the documents available int he working group but not required.
>>>
>>> Up-to-date information can be found here:
>>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>>
>>> Ciao
>>> Hannes
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>>
>> _______________________________________________
>> secdir mailing list
>> secdir@ietf.org
>> https://www.ietf.org/mailman/listinfo/secdir
>

From igor.faynberg@alcatel-lucent.com  Tue Nov  9 22:57:56 2010
Return-Path: <igor.faynberg@alcatel-lucent.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 925393A69A3; Tue,  9 Nov 2010 22:57:56 -0800 (PST)
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 WHx5MIc21mga; Tue,  9 Nov 2010 22:57:54 -0800 (PST)
Received: from ihemail3.lucent.com (ihemail3.lucent.com [135.245.0.37]) by core3.amsl.com (Postfix) with ESMTP id 1E1113A69A9; Tue,  9 Nov 2010 22:57:54 -0800 (PST)
Received: from umail.lucent.com (h135-3-40-63.lucent.com [135.3.40.63]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id oAA6aZcM011476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 10 Nov 2010 00:36:35 -0600 (CST)
Received: from [135.244.80.3] (faynberg.lra.lucent.com [135.244.80.3]) by umail.lucent.com (8.13.8/TPES) with ESMTP id oAA6aUoF026012; Wed, 10 Nov 2010 00:36:31 -0600 (CST)
Message-ID: <4CDA3D73.10609@alcatel-lucent.com>
Date: Wed, 10 Nov 2010 01:36:35 -0500
From: Igor Faynberg <igor.faynberg@alcatel-lucent.com>
Organization: Alcatel-Lucent
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: "Richard L. Barnes" <rbarnes@bbn.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>	<1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>	<4CD90C14.2060803@bbn.com>	<180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com> <4CDA3983.7050101@bbn.com>
In-Reply-To: <4CDA3983.7050101@bbn.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:23:43 -0800
Cc: Anthony Nadalin <tonynad@microsoft.com>, "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [xmpp] [OAUTH-WG] [secdir] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: igor.faynberg@alcatel-lucent.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: Wed, 10 Nov 2010 06:57:56 -0000

(With apologies for bringing up a tangential matter...)

Talking about the OAuth model, I still see here "Client" instead of 
"Consumer."  I thought there was an agreement on the terminology 
change.  I have no specific preference for either term, but  I think it 
is essential that our terminology be consistent, especially now that 
other SDOs are considering adopting OAuth.

This is not necessarily a question for Richard, but could someone set me 
straight: Is it "Client" or "Consumer"? 

With thanks,

Igor

Richard L. Barnes wrote:
> Of course not every scenario calls for all of the security knobs to be 
> turned to 11.  Think of things instead in terms of syllogisms: "IF you 
> want X guarantee, THEN you MUST do A, B, C."
>
> Then you can also read the same things backwards in a given deployment 
> scenario: "Given that I can't do B, I can't get assurances X, Y, but I 
> can get Z (if I do D, F as well)".
>
> I promise to produce something more concrete soon :)  In the meantime, 
> this text illustrates what I mean pretty well:
> <http://tools.ietf.org/html/draft-barnes-oauth-model-01#section-5>
>
> --Richard
>
>
> On 11/10/10 2:03 PM, Anthony Nadalin wrote:
>> Issue here is that guarantees (and what you want as a guarantee may 
>> not be what somebody else wants) can vary depending on scenario and 
>> deployment.
>>
>> -----Original Message-----
>> From: Richard L. Barnes [mailto:rbarnes@bbn.com]
>> Sent: Tuesday, November 09, 2010 12:54 AM
>> To: torsten@lodderstedt.net
>> Cc: Anthony Nadalin; Tschofenig, Hannes; abfab@ietf.org; 
>> rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ietf.org; 
>> xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; 
>> oauth@ietf.org
>> Subject: Re: [secdir] [OAUTH-WG] ** OAuth Tutorial&  OAuth Security 
>> Session **
>>
>> I would say that the security considerations should be based on a 
>> model of OAuth.  Start with a model of the protocol and the 
>> guarantees you want, then explain how to use security mechanisms to 
>> achieve those guarantees.
>>
>> I promised Hannes today to do a review of the current document (which 
>> I admit I haven't read) and start on some security considerations 
>> from that perspective.  So expect that in the next few weeks.
>>
>> --Richard
>>
>>
>>
>>
>> On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
>>> We think the security considerations should be based on a threat 
>>> model of OAuth. But a complete threat model would blow up the spec.
>>>
>>> We therefore aim to produce a separate security document 
>>> (informational I-D/RFC) covering threat model as well as security 
>>> design and considerations. The security considerations section of 
>>> the core spec can then be distilled from this document.
>>>
>>> Regards,
>>> Torsten.
>>> Gesendet mit BlackBerry(r) Webmail von Telekom Deutschland
>>>
>>> -----Original Message-----
>>> From: Anthony Nadalin<tonynad@microsoft.com>
>>> Date: Tue, 9 Nov 2010 01:54:57
>>> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes
>>> Tschofenig<hannes.tschofenig@gmx.net>
>>> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;
>>> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;
>>> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;
>>> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;
>>> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
>>> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>>
>>> I was looking for less of an analysis and more of considerations (of 
>>> the current flows and actors), I'm not sure how to adapt what you 
>>> have done to actually fit in the current specification, was your 
>>> thought that you would produce a separate security analysis document?
>>>
>>> -----Original Message-----
>>> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf
>>> Of Torsten Lodderstedt
>>> Sent: Sunday, November 07, 2010 3:04 PM
>>> To: Hannes Tschofenig
>>> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;
>>> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;
>>> iesg@ietf.org; oauth@ietf.org
>>> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&   OAuth Security Session **
>>>
>>> Hi all,
>>>
>>> Mark McGloin and me have been working on OAuth 2.0 security 
>>> considerations for a couple of weeks now. Since we both cannot 
>>> attend the IETF-79 meetings, we would like to provide the WG with 
>>> information regarding the current status of our work. I therefore 
>>> uploaded a_preliminary_ version of our working document to the WG's 
>>> wiki at 
>>> http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf. 
>>>
>>> The focus of this version was on consolidating previous work as well 
>>> as results of mailing list discussions and start working towards a 
>>> rigorous threat model.
>>>
>>> Please give us feedback.
>>>
>>> regards,
>>> Torsten.
>>>
>>> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>>>> Hi all,
>>>>
>>>> please consider attending the following two meetings!
>>>>
>>>> ** OAuth Security Session **
>>>>
>>>>     * Date: Monday, 13:00-15:00
>>>>     * Location: IAB breakout room (Jade 2)
>>>>     * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The 
>>>> security
>>>> consideration section of OAuth 2.0 (draft -10) is still empty. 
>>>> Hence, we would like to put some time aside to discuss what 
>>>> security threats, requirements, and countermeasures need to be 
>>>> described. We will use the Monday, November 8, 1300-1500 slot to 
>>>> have a  discussion session.
>>>>
>>>> As a starting point I suggest to look at the following documents:
>>>>
>>>>     * 
>>>> http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>>>>     * http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>>>>     *
>>>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>>>> txt
>>>>
>>>> Note: If you are unfamiliar with OAuth then the OAuth tutorial 
>>>> session might be more suitable for you!
>>>>
>>>>
>>>>
>>>> ** OAuth Tutorial **
>>>>
>>>>     * Date: Wednesday, 19:30 (after the plenary)
>>>>     * Location: IAB breakout room (Jade 2)
>>>>     * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth 
>>>> allows
>>>> a user to grant a third-party Web site or application access to their
>>>> resources, without necessarily revealing their credentials, or even
>>>> their identity. The OAuth working group, see
>>>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to
>>>> finalize their main specification, namely OAuth v2:
>>>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>>>
>>>> Based on the positive response at the last IETF meeting (in
>>>> Maastricht) we decided to hold another OAuth tutorial, namely on
>>>> *Wednesday, starting at 19:30 (after the IETF Operations and
>>>> Administration Plenary) till about 21:00. (Note: I had to switch the
>>>> day because of the social event!)
>>>>
>>>> It is helpful to read through the documents available int he 
>>>> working group but not required.
>>>>
>>>> Up-to-date information can be found here:
>>>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>>>
>>>> Ciao
>>>> Hannes
>>>>
>>>> _______________________________________________
>>>> OAuth mailing list
>>>> OAuth@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/oauth
>>>
>>> _______________________________________________
>>> OAuth mailing list
>>> OAuth@ietf.org
>>> https://www.ietf.org/mailman/listinfo/oauth
>>>
>>> _______________________________________________
>>> secdir mailing list
>>> secdir@ietf.org
>>> https://www.ietf.org/mailman/listinfo/secdir
>>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

From torsten@lodderstedt.net  Sun Nov  7 15:04:07 2010
Return-Path: <torsten@lodderstedt.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 A981F28C11F; Sun,  7 Nov 2010 15:04:07 -0800 (PST)
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 jwtw++ocQDAp; Sun,  7 Nov 2010 15:04:06 -0800 (PST)
Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.31.24]) by core3.amsl.com (Postfix) with ESMTP id 89E1A3A6919; Sun,  7 Nov 2010 15:04:06 -0800 (PST)
Received: from [79.253.37.94] (helo=[192.168.71.43]) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from <torsten@lodderstedt.net>) id 1PFEHg-0007pK-9T; Mon, 08 Nov 2010 00:04:24 +0100
Message-ID: <4CD73075.8050408@lodderstedt.net>
Date: Mon, 08 Nov 2010 00:04:21 +0100
From: Torsten Lodderstedt <torsten@lodderstedt.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
In-Reply-To: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Df-Sender: torsten@lodderstedt-online.de
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:23:58 -0800
Cc: abfab@ietf.org, rai@ietf.org, ietf@ietf.org, secdir@ietf.org, websec@ietf.org, xmpp@ietf.org, kitten@ietf.org, "iab@iab.org Board" <iab@iab.org>, iesg@ietf.org, Mark Mcgloin <mark.mcgloin@ie.ibm.com>, oauth@ietf.org
Subject: Re: [xmpp] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
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, 07 Nov 2010 23:04:07 -0000

Hi all,

Mark McGloin and me have been working on OAuth 2.0 security 
considerations for a couple of weeks now. Since we both cannot attend 
the IETF-79 meetings, we would like to provide the WG with information 
regarding the current status of our work. I therefore uploaded a 
_preliminary_ version of our working document to the WG's wiki at 
http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf. 
The focus of this version was on consolidating previous work as well as 
results of mailing list discussions and start working towards a rigorous 
threat model.

Please give us feedback.

regards,
Torsten.

Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
> Hi all,
>
> please consider attending the following two meetings!
>
> ** OAuth Security Session **
>
> 	• Date: Monday, 13:00-15:00
> 	• Location: IAB breakout room (Jade 2)
> 	• Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
> The security consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we would like to put some time aside to discuss what security threats, requirements, and countermeasures need to be described. We will use the Monday, November 8, 1300-1500 slot to have a  discussion session.
>
> As a starting point I suggest to look at the following documents:
>
> 	• http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
> 	• http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
> 	• http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.txt
>
> Note: If you are unfamiliar with OAuth then the OAuth tutorial session might be more suitable for you!
>
>
>
> ** OAuth Tutorial **
>
> 	• Date: Wednesday, 19:30 (after the plenary)
> 	• Location: IAB breakout room (Jade 2)
> 	• Contact: Hannes Tschofenig hannes.tschofenig@gmx.net
> OAuth allows a user to grant a third-party Web site or application access to their resources, without necessarily revealing their credentials, or even their identity. The OAuth working group, see http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to finalize their main specification, namely OAuth v2: http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>
> Based on the positive response at the last IETF meeting (in Maastricht) we decided to hold another OAuth tutorial, namely on *Wednesday, starting at 19:30 (after the IETF Operations and Administration Plenary) till about 21:00. (Note: I had to switch the day because of the social event!)
>
> It is helpful to read through the documents available int he working group but not required.
>
> Up-to-date information can be found here: http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>
> Ciao
> Hannes
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth


From tonynad@microsoft.com  Mon Nov  8 17:54:36 2010
Return-Path: <tonynad@microsoft.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 A861C3A68FA; Mon,  8 Nov 2010 17:54:36 -0800 (PST)
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=[AWL=0.000, 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 2a7xn1iLpb31; Mon,  8 Nov 2010 17:54:35 -0800 (PST)
Received: from smtp.microsoft.com (mailc.microsoft.com [131.107.115.214]) by core3.amsl.com (Postfix) with ESMTP id A8A9A3A6898; Mon,  8 Nov 2010 17:54:35 -0800 (PST)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server (TLS) id 8.2.176.0; Mon, 8 Nov 2010 17:54:58 -0800
Received: from TK5EX14MBXC113.redmond.corp.microsoft.com ([169.254.6.199]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.01.0255.003; Mon, 8 Nov 2010 17:54:58 -0800
From: Anthony Nadalin <tonynad@microsoft.com>
To: Torsten Lodderstedt <torsten@lodderstedt.net>, Hannes Tschofenig <hannes.tschofenig@gmx.net>
Thread-Topic: [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
Thread-Index: AQHLfisaqAne5bBEGEGUAfaUzHbBGZNnKf+AgAE438A=
Date: Tue, 9 Nov 2010 01:54:57 +0000
Message-ID: <180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net> <4CD73075.8050408@lodderstedt.net>
In-Reply-To: <4CD73075.8050408@lodderstedt.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.123.12]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:23:48 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [xmpp] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
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, 09 Nov 2010 01:54:36 -0000
X-List-Received-Date: Tue, 09 Nov 2010 01:54:36 -0000
X-List-Received-Date: Tue, 09 Nov 2010 01:54:36 -0000

I was looking for less of an analysis and more of considerations (of the cu=
rrent flows and actors), I'm not sure how to adapt what you have done to ac=
tually fit in the current specification, was your thought that you would pr=
oduce a separate security analysis document?

-----Original Message-----
From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of T=
orsten Lodderstedt
Sent: Sunday, November 07, 2010 3:04 PM
To: Hannes Tschofenig
Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ie=
tf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; o=
auth@ietf.org
Subject: Re: [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **

Hi all,

Mark McGloin and me have been working on OAuth 2.0 security considerations =
for a couple of weeks now. Since we both cannot attend the IETF-79 meetings=
, we would like to provide the WG with information regarding the current st=
atus of our work. I therefore uploaded a _preliminary_ version of our worki=
ng document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/at=
tachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.=20
The focus of this version was on consolidating previous work as well as res=
ults of mailing list discussions and start working towards a rigorous threa=
t model.

Please give us feedback.

regards,
Torsten.

Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
> Hi all,
>
> please consider attending the following two meetings!
>
> ** OAuth Security Session **
>
> 	* Date: Monday, 13:00-15:00
> 	* Location: IAB breakout room (Jade 2)
> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security=20
> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we =
would like to put some time aside to discuss what security threats, require=
ments, and countermeasures need to be described. We will use the Monday, No=
vember 8, 1300-1500 slot to have a  discussion session.
>
> As a starting point I suggest to look at the following documents:
>
> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
> 	*=20
> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
> txt
>
> Note: If you are unfamiliar with OAuth then the OAuth tutorial session mi=
ght be more suitable for you!
>
>
>
> ** OAuth Tutorial **
>
> 	* Date: Wednesday, 19:30 (after the plenary)
> 	* Location: IAB breakout room (Jade 2)
> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows a=20
> user to grant a third-party Web site or application access to their=20
> resources, without necessarily revealing their credentials, or even=20
> their identity. The OAuth working group, see=20
> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to=20
> finalize their main specification, namely OAuth v2:=20
> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>
> Based on the positive response at the last IETF meeting (in=20
> Maastricht) we decided to hold another OAuth tutorial, namely on=20
> *Wednesday, starting at 19:30 (after the IETF Operations and=20
> Administration Plenary) till about 21:00. (Note: I had to switch the=20
> day because of the social event!)
>
> It is helpful to read through the documents available int he working grou=
p but not required.
>
> Up-to-date information can be found here:=20
> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>
> Ciao
> Hannes
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth

_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth


From SRS0=si2S7B=SK=lodderstedt.net=torsten@srs.bis.eu.blackberry.com  Tue Nov  9 00:07:39 2010
Return-Path: <SRS0=si2S7B=SK=lodderstedt.net=torsten@srs.bis.eu.blackberry.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 66F0E3A6890; Tue,  9 Nov 2010 00:07:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.846
X-Spam-Level: 
X-Spam-Status: No, score=-4.846 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_BASE64_TEXT=1.753, 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 wlATxjM3OeG8; Tue,  9 Nov 2010 00:07:38 -0800 (PST)
Received: from smtp06.bis.eu.blackberry.com (smtp06.bis.eu.blackberry.com [216.9.253.29]) by core3.amsl.com (Postfix) with ESMTP id 73A5C3A688E; Tue,  9 Nov 2010 00:07:36 -0800 (PST)
Received: from bda2319.bisx.produk.on.blackberry (bda2319.bisx.produk.on.blackberry [172.24.204.122]) by srs.bis.eu.blackberry.com (8.13.7 TEAMON/8.13.7) with ESMTP id oA987xRm004407; Tue, 9 Nov 2010 08:07:59 GMT
Received: from bda2319.bisx.produk.on.blackberry (localhost.localdomain [127.0.0.1]) by bda2319.bisx.produk.on.blackberry (8.13.7 TEAMON/8.13.7) with ESMTP id oA987vRo016870; Tue, 9 Nov 2010 08:07:57 GMT
X-rim-org-msg-ref-id: 1893623701
Message-ID: <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
Content-Transfer-Encoding: base64
X-Priority: Normal
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>
In-Reply-To: <180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com>
Sensitivity: Normal
Importance: Normal
To: "Anthony Nadalin" <tonynad@microsoft.com>, "Tschofenig, Hannes" <Hannes.Tschofenig@gmx.net>
From: torsten@lodderstedt.net
Date: Tue, 9 Nov 2010 08:07:56 +0000
Content-Type: text/plain; charset="Windows-1252"
MIME-Version: 1.0
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:24:04 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [xmpp] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: torsten@lodderstedt.net
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, 09 Nov 2010 08:13:54 -0000

V2UgdGhpbmsgdGhlIHNlY3VyaXR5IGNvbnNpZGVyYXRpb25zIHNob3VsZCBiZSBiYXNlZCBvbiBh
IHRocmVhdCBtb2RlbCBvZiBPQXV0aC4gQnV0IGEgY29tcGxldGUgd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ub3JnL21haWxtYW4vbGlzdGluZm8vb2F1dGgNCg0K


From rbarnes@bbn.com  Tue Nov  9 00:53:26 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 35BCA28C170; Tue,  9 Nov 2010 00:53:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.617
X-Spam-Level: 
X-Spam-Status: No, score=-102.617 tagged_above=-999 required=5 tests=[AWL=-0.018, 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 u1-hw6kBQHuj; Tue,  9 Nov 2010 00:53:25 -0800 (PST)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) by core3.amsl.com (Postfix) with ESMTP id DDB223A69D8; Tue,  9 Nov 2010 00:53:24 -0800 (PST)
Received: from [128.89.253.252] (port=54397 helo=richards-MacBook-Pro.local) by smtp.bbn.com with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from <rbarnes@bbn.com>) id 1PFjxa-000OfY-Ep; Tue, 09 Nov 2010 03:53:47 -0500
Message-ID: <4CD90C14.2060803@bbn.com>
Date: Tue, 09 Nov 2010 16:53:40 +0800
From: "Richard L. Barnes" <rbarnes@bbn.com>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: torsten@lodderstedt.net
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
In-Reply-To: <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:23:54 -0800
Cc: Anthony Nadalin <tonynad@microsoft.com>, "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [xmpp] [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
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, 09 Nov 2010 08:53:26 -0000
X-List-Received-Date: Tue, 09 Nov 2010 08:53:26 -0000

I would say that the security considerations should be based on a model 
of OAuth.  Start with a model of the protocol and the guarantees you 
want, then explain how to use security mechanisms to achieve those 
guarantees.

I promised Hannes today to do a review of the current document (which I 
admit I haven't read) and start on some security considerations from 
that perspective.  So expect that in the next few weeks.

--Richard




On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
> We think the security considerations should be based on a threat model of OAuth. But a complete threat model would blow up the spec.
>
> We therefore aim to produce a separate security document (informational I-D/RFC) covering threat model as well as security design and considerations. The security considerations section of the core spec can then be distilled from this document.
>
> Regards,
> Torsten.
> Gesendet mit BlackBerry® Webmail von Telekom Deutschland
>
> -----Original Message-----
> From: Anthony Nadalin<tonynad@microsoft.com>
> Date: Tue, 9 Nov 2010 01:54:57
> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes Tschofenig<hannes.tschofenig@gmx.net>
> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>; ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>; websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>; kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>; iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> I was looking for less of an analysis and more of considerations (of the current flows and actors), I'm not sure how to adapt what you have done to actually fit in the current specification, was your thought that you would produce a separate security analysis document?
>
> -----Original Message-----
> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf Of Torsten Lodderstedt
> Sent: Sunday, November 07, 2010 3:04 PM
> To: Hannes Tschofenig
> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org; websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board; iesg@ietf.org; oauth@ietf.org
> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> Hi all,
>
> Mark McGloin and me have been working on OAuth 2.0 security considerations for a couple of weeks now. Since we both cannot attend the IETF-79 meetings, we would like to provide the WG with information regarding the current status of our work. I therefore uploaded a_preliminary_ version of our working document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.
> The focus of this version was on consolidating previous work as well as results of mailing list discussions and start working towards a rigorous threat model.
>
> Please give us feedback.
>
> regards,
> Torsten.
>
> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>> Hi all,
>>
>> please consider attending the following two meetings!
>>
>> ** OAuth Security Session **
>>
>> 	* Date: Monday, 13:00-15:00
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security
>> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we would like to put some time aside to discuss what security threats, requirements, and countermeasures need to be described. We will use the Monday, November 8, 1300-1500 slot to have a  discussion session.
>>
>> As a starting point I suggest to look at the following documents:
>>
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>> 	*
>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>> txt
>>
>> Note: If you are unfamiliar with OAuth then the OAuth tutorial session might be more suitable for you!
>>
>>
>>
>> ** OAuth Tutorial **
>>
>> 	* Date: Wednesday, 19:30 (after the plenary)
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows a
>> user to grant a third-party Web site or application access to their
>> resources, without necessarily revealing their credentials, or even
>> their identity. The OAuth working group, see
>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to
>> finalize their main specification, namely OAuth v2:
>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>
>> Based on the positive response at the last IETF meeting (in
>> Maastricht) we decided to hold another OAuth tutorial, namely on
>> *Wednesday, starting at 19:30 (after the IETF Operations and
>> Administration Plenary) till about 21:00. (Note: I had to switch the
>> day because of the social event!)
>>
>> It is helpful to read through the documents available int he working group but not required.
>>
>> Up-to-date information can be found here:
>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>
>> Ciao
>> Hannes
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> secdir mailing list
> secdir@ietf.org
> https://www.ietf.org/mailman/listinfo/secdir

From mark.mcgloin@ie.ibm.com  Tue Nov  9 06:54:30 2010
Return-Path: <mark.mcgloin@ie.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 CCC2C3A6A04; Tue,  9 Nov 2010 06:54:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 kxy8MrZ8zQvp; Tue,  9 Nov 2010 06:54:29 -0800 (PST)
Received: from mtagate3.de.ibm.com (mtagate3.de.ibm.com [195.212.17.163]) by core3.amsl.com (Postfix) with ESMTP id 949B13A69BE; Tue,  9 Nov 2010 06:54:28 -0800 (PST)
Received: from d06nrmr1307.portsmouth.uk.ibm.com (d06nrmr1307.portsmouth.uk.ibm.com [9.149.38.129]) by mtagate3.de.ibm.com (8.13.1/8.13.1) with ESMTP id oA9Esflx004036; Tue, 9 Nov 2010 14:54:41 GMT
Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oA9EsfKQ3305506; Tue, 9 Nov 2010 14:54:41 GMT
Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oA9EsfPh002056; Tue, 9 Nov 2010 07:54:41 -0700
Received: from d06ml093.portsmouth.uk.ibm.com (d06ml093.portsmouth.uk.ibm.com [9.149.104.171]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id oA9Esf4U002048; Tue, 9 Nov 2010 07:54:41 -0700
In-Reply-To: <4CD90C14.2060803@bbn.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry> <4CD90C14.2060803@bbn.com>
X-KeepSent: 7957FE3B:45025425-802577D6:004F9E8F; type=4; name=$KeepSent
To: "Richard L. Barnes" <rbarnes@bbn.com>
X-Mailer: Lotus Notes Release 8.5.1 September 28, 2009
Message-ID: <OF7957FE3B.45025425-ON802577D6.004F9E8F-802577D6.0051E8D0@ie.ibm.com>
From: Mark Mcgloin <mark.mcgloin@ie.ibm.com>
Date: Tue, 9 Nov 2010 14:54:06 +0000
X-MIMETrack: Serialize by Router on D06ML093/06/M/IBM(Release 8.0.2FP6|July 15, 2010) at 09/11/2010 14:54:07
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: quoted-printable
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:24:14 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, torsten@lodderstedt.net, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>, oauth-bounces@ietf.org
Subject: Re: [xmpp] [OAUTH-WG] [secdir] ** OAuth Tutorial & OAuth Security Session **
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, 09 Nov 2010 14:54:31 -0000

When Torsten and I started pulling together the security considerations=

over the last 4-6 weeks, we toyed with the idea of either populating th=
e
security considerations section of the protocol with a list/tree of
considerations, or creating a more comprehensive document to ensure we
covered all aspects, list security features and which would also act as=
 a
security aid to developers implementing the oauth protocol. We decided =
on
the latter and agreed it could later be distilled down to something tha=
t
will fit into the security considerations section of the protocol.

Bear in mind the document needs tidying but we wanted to push something=
 in
before the security meeting in China

Regards
Mark McGloin

oauth-bounces@ietf.org wrote on 09/11/2010 08:53:40:

> "Richard L. Barnes" <rbarnes@bbn.com>
> Sent by: oauth-bounces@ietf.org
>
> 09/11/2010 08:53
>
> To
>
> torsten@lodderstedt.net
>
> cc
>
> "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>,
> "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org"
> <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>,
> "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org"
> <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>,
> "iesg@ietf.org" <iesg@ietf.org>, "Tschofenig, Hannes"
> <Hannes.Tschofenig@gmx.net>, "oauth@ietf.org" <oauth@ietf.org>
>
> Subject
>
> Re: [OAUTH-WG] [secdir] ** OAuth Tutorial & OAuth Security Session **=

>
> I would say that the security considerations should be based on a mod=
el
> of OAuth.  Start with a model of the protocol and the guarantees you
> want, then explain how to use security mechanisms to achieve those
> guarantees.
>
> I promised Hannes today to do a review of the current document (which=
 I
> admit I haven't read) and start on some security considerations from
> that perspective.  So expect that in the next few weeks.
>
> --Richard
>
>
>
>
> On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
> > We think the security considerations should be based on a threat
> model of OAuth. But a complete threat model would blow up the spec.
> >
> > We therefore aim to produce a separate security document
> (informational I-D/RFC) covering threat model as well as security
> design and considerations. The security considerations section of
> the core spec can then be distilled from this document.
> >
> > Regards,
> > Torsten.
> > Gesendet mit BlackBerry=AE Webmail von Telekom Deutschland
> >
> > -----Original Message-----
> > From: Anthony Nadalin<tonynad@microsoft.com>
> > Date: Tue, 9 Nov 2010 01:54:57
> > To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes
> Tschofenig<hannes.tschofenig@gmx.net>
> > Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;
> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;
> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;
> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;
> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
> > Subject: RE: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session =
**
> >
> > I was looking for less of an analysis and more of considerations
> (of the current flows and actors), I'm not sure how to adapt what
> you have done to actually fit in the current specification, was your
> thought that you would produce a separate security analysis document?=

> >
> > -----Original Message-----
> > From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On
> Behalf Of Torsten Lodderstedt
> > Sent: Sunday, November 07, 2010 3:04 PM
> > To: Hannes Tschofenig
> > Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;
> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;
> iesg@ietf.org; oauth@ietf.org
> > Subject: Re: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session =
**
> >
> > Hi all,
> >
> > Mark McGloin and me have been working on OAuth 2.0 security
> considerations for a couple of weeks now. Since we both cannot
> attend the IETF-79 meetings, we would like to provide the WG with
> information regarding the current status of our work. I therefore
> uploaded a_preliminary_ version of our working document to the WG's w=
iki
at
> http://trac.tools.ietf.org/wg/oauth/trac/attachment/wiki/
> SecurityConsiderations/oauth20_seccons_20101107.pdf.
> > The focus of this version was on consolidating previous work as
> well as results of mailing list discussions and start working
> towards a rigorous threat model.
> >
> > Please give us feedback.
> >
> > regards,
> > Torsten.
> >
> > Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
> >> Hi all,
> >>
> >> please consider attending the following two meetings!
> >>
> >> ** OAuth Security Session **
> >>
> >>    * Date: Monday, 13:00-15:00
> >>    * Location: IAB breakout room (Jade 2)
> >>    * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The secu=
rity
> >> consideration section of OAuth 2.0 (draft -10) is still empty.
> Hence, we would like to put some time aside to discuss what security
> threats, requirements, and countermeasures need to be described. We
> will use the Monday, November 8, 1300-1500 slot to have a  discussion=

session.
> >>
> >> As a starting point I suggest to look at the following documents:
> >>
> >>    *
http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
> >>    * http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
> >>    *
> >> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts=
-00.
> >> txt
> >>
> >> Note: If you are unfamiliar with OAuth then the OAuth tutorial
> session might be more suitable for you!
> >>
> >>
> >>
> >> ** OAuth Tutorial **
> >>
> >>    * Date: Wednesday, 19:30 (after the plenary)
> >>    * Location: IAB breakout room (Jade 2)
> >>    * Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth al=
lows
a
> >> user to grant a third-party Web site or application access to thei=
r
> >> resources, without necessarily revealing their credentials, or eve=
n
> >> their identity. The OAuth working group, see
> >> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying=
 to
> >> finalize their main specification, namely OAuth v2:
> >> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
> >>
> >> Based on the positive response at the last IETF meeting (in
> >> Maastricht) we decided to hold another OAuth tutorial, namely on
> >> *Wednesday, starting at 19:30 (after the IETF Operations and
> >> Administration Plenary) till about 21:00. (Note: I had to switch t=
he
> >> day because of the social event!)
> >>
> >> It is helpful to read through the documents available int he
> working group but not required.
> >>
> >> Up-to-date information can be found here:
> >> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
> >>
> >> Ciao
> >> Hannes
> >>
> >> _______________________________________________
> >> OAuth mailing list
> >> OAuth@ietf.org
> >> https://www.ietf.org/mailman/listinfo/oauth
> >
> > _______________________________________________
> > OAuth mailing list
> > OAuth@ietf.org
> > https://www.ietf.org/mailman/listinfo/oauth
> >
> > _______________________________________________
> > secdir mailing list
> > secdir@ietf.org
> > https://www.ietf.org/mailman/listinfo/secdir
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth=



From tonynad@microsoft.com  Tue Nov  9 22:03:34 2010
Return-Path: <tonynad@microsoft.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 3F13E3A68C8; Tue,  9 Nov 2010 22:03:34 -0800 (PST)
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=[AWL=0.000, 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 Ed2jPVsD-p8p; Tue,  9 Nov 2010 22:03:34 -0800 (PST)
Received: from smtp.microsoft.com (mailb.microsoft.com [131.107.115.215]) by core3.amsl.com (Postfix) with ESMTP id 0EDF53A68C6; Tue,  9 Nov 2010 22:03:34 -0800 (PST)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (157.54.86.9) by TK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) with Microsoft SMTP Server (TLS) id 8.2.176.0; Tue, 9 Nov 2010 22:03:48 -0800
Received: from TK5EX14MBXC117.redmond.corp.microsoft.com ([169.254.8.138]) by TK5EX14HUBC103.redmond.corp.microsoft.com ([157.54.86.9]) with mapi id 14.01.0255.003; Tue, 9 Nov 2010 22:03:48 -0800
From: Anthony Nadalin <tonynad@microsoft.com>
To: "Richard L. Barnes" <rbarnes@bbn.com>, "torsten@lodderstedt.net" <torsten@lodderstedt.net>
Thread-Topic: [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
Thread-Index: AQHLf+vNz+Zyzs3OwkSCnvjMrh08w5NqOX4w
Date: Wed, 10 Nov 2010 06:03:47 +0000
Message-ID: <180155C5EA10854997314CA5E063D18FEE90B8@TK5EX14MBXC117.redmond.corp.microsoft.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net><4CD73075.8050408@lodderstedt.net><180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry> <4CD90C14.2060803@bbn.com>
In-Reply-To: <4CD90C14.2060803@bbn.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.123.12]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:23:53 -0800
Cc: "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [xmpp] [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
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, 10 Nov 2010 06:03:34 -0000
X-List-Received-Date: Wed, 10 Nov 2010 06:03:34 -0000

Issue here is that guarantees (and what you want as a guarantee may not be =
what somebody else wants) can vary depending on scenario and deployment.

-----Original Message-----
From: Richard L. Barnes [mailto:rbarnes@bbn.com]=20
Sent: Tuesday, November 09, 2010 12:54 AM
To: torsten@lodderstedt.net
Cc: Anthony Nadalin; Tschofenig, Hannes; abfab@ietf.org; rai@ietf.org; ietf=
@ietf.org; secdir@ietf.org; websec@ietf.org; xmpp@ietf.org; kitten@ietf.org=
; iab@iab.org Board; iesg@ietf.org; oauth@ietf.org
Subject: Re: [secdir] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session=
 **

I would say that the security considerations should be based on a model of =
OAuth.  Start with a model of the protocol and the guarantees you want, the=
n explain how to use security mechanisms to achieve those guarantees.

I promised Hannes today to do a review of the current document (which I adm=
it I haven't read) and start on some security considerations from that pers=
pective.  So expect that in the next few weeks.

--Richard




On 11/9/10 4:07 PM, torsten@lodderstedt.net wrote:
> We think the security considerations should be based on a threat model of=
 OAuth. But a complete threat model would blow up the spec.
>
> We therefore aim to produce a separate security document (informational I=
-D/RFC) covering threat model as well as security design and considerations=
. The security considerations section of the core spec can then be distille=
d from this document.
>
> Regards,
> Torsten.
> Gesendet mit BlackBerry(r) Webmail von Telekom Deutschland
>
> -----Original Message-----
> From: Anthony Nadalin<tonynad@microsoft.com>
> Date: Tue, 9 Nov 2010 01:54:57
> To: Torsten Lodderstedt<torsten@lodderstedt.net>; Hannes=20
> Tschofenig<hannes.tschofenig@gmx.net>
> Cc: abfab@ietf.org<abfab@ietf.org>; rai@ietf.org<rai@ietf.org>;=20
> ietf@ietf.org<ietf@ietf.org>; secdir@ietf.org<secdir@ietf.org>;=20
> websec@ietf.org<websec@ietf.org>; xmpp@ietf.org<xmpp@ietf.org>;=20
> kitten@ietf.org<kitten@ietf.org>; iab@iab.org Board<iab@iab.org>;=20
> iesg@ietf.org<iesg@ietf.org>; oauth@ietf.org<oauth@ietf.org>
> Subject: RE: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> I was looking for less of an analysis and more of considerations (of the =
current flows and actors), I'm not sure how to adapt what you have done to =
actually fit in the current specification, was your thought that you would =
produce a separate security analysis document?
>
> -----Original Message-----
> From: oauth-bounces@ietf.org [mailto:oauth-bounces@ietf.org] On Behalf=20
> Of Torsten Lodderstedt
> Sent: Sunday, November 07, 2010 3:04 PM
> To: Hannes Tschofenig
> Cc: abfab@ietf.org; rai@ietf.org; ietf@ietf.org; secdir@ietf.org;=20
> websec@ietf.org; xmpp@ietf.org; kitten@ietf.org; iab@iab.org Board;=20
> iesg@ietf.org; oauth@ietf.org
> Subject: Re: [OAUTH-WG] ** OAuth Tutorial&  OAuth Security Session **
>
> Hi all,
>
> Mark McGloin and me have been working on OAuth 2.0 security consideration=
s for a couple of weeks now. Since we both cannot attend the IETF-79 meetin=
gs, we would like to provide the WG with information regarding the current =
status of our work. I therefore uploaded a_preliminary_ version of our work=
ing document to the WG's wiki at http://trac.tools.ietf.org/wg/oauth/trac/a=
ttachment/wiki/SecurityConsiderations/oauth20_seccons_20101107.pdf.
> The focus of this version was on consolidating previous work as well as r=
esults of mailing list discussions and start working towards a rigorous thr=
eat model.
>
> Please give us feedback.
>
> regards,
> Torsten.
>
> Am 07.11.2010 03:22, schrieb Hannes Tschofenig:
>> Hi all,
>>
>> please consider attending the following two meetings!
>>
>> ** OAuth Security Session **
>>
>> 	* Date: Monday, 13:00-15:00
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net The security=20
>> consideration section of OAuth 2.0 (draft -10) is still empty. Hence, we=
 would like to put some time aside to discuss what security threats, requir=
ements, and countermeasures need to be described. We will use the Monday, N=
ovember 8, 1300-1500 slot to have a  discussion session.
>>
>> As a starting point I suggest to look at the following documents:
>>
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SecurityConsiderations
>> 	* http://trac.tools.ietf.org/wg/oauth/trac/wiki/SignaturesWhy
>> 	*
>> http://tools.ietf.org/id/draft-tschofenig-oauth-signature-thoughts-00.
>> txt
>>
>> Note: If you are unfamiliar with OAuth then the OAuth tutorial session m=
ight be more suitable for you!
>>
>>
>>
>> ** OAuth Tutorial **
>>
>> 	* Date: Wednesday, 19:30 (after the plenary)
>> 	* Location: IAB breakout room (Jade 2)
>> 	* Contact: Hannes Tschofenig hannes.tschofenig@gmx.net OAuth allows=20
>> a user to grant a third-party Web site or application access to their=20
>> resources, without necessarily revealing their credentials, or even=20
>> their identity. The OAuth working group, see=20
>> http://datatracker.ietf.org/wg/oauth/charter/, is currently trying to=20
>> finalize their main specification, namely OAuth v2:
>> http://datatracker.ietf.org/doc/draft-ietf-oauth-v2/
>>
>> Based on the positive response at the last IETF meeting (in
>> Maastricht) we decided to hold another OAuth tutorial, namely on=20
>> *Wednesday, starting at 19:30 (after the IETF Operations and=20
>> Administration Plenary) till about 21:00. (Note: I had to switch the=20
>> day because of the social event!)
>>
>> It is helpful to read through the documents available int he working gro=
up but not required.
>>
>> Up-to-date information can be found here:
>> http://www.ietf.org/registration/MeetingWiki/wiki/79bofs
>>
>> Ciao
>> Hannes
>>
>> _______________________________________________
>> OAuth mailing list
>> OAuth@ietf.org
>> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>
> _______________________________________________
> secdir mailing list
> secdir@ietf.org
> https://www.ietf.org/mailman/listinfo/secdir


From Nicolas.Williams@oracle.com  Tue Nov  9 23:02:37 2010
Return-Path: <Nicolas.Williams@oracle.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 BF19B3A6A17; Tue,  9 Nov 2010 23:02:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.476
X-Spam-Level: 
X-Spam-Status: No, score=-6.476 tagged_above=-999 required=5 tests=[AWL=0.122,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=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 RQmB7Qzdzfxn; Tue,  9 Nov 2010 23:02:25 -0800 (PST)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 116863A68B5; Tue,  9 Nov 2010 23:02:00 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oAA72ATX008484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 10 Nov 2010 07:02:11 GMT
Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oA9HhiJO024108; Wed, 10 Nov 2010 07:02:09 GMT
Received: from abhmt001.oracle.com by acsmt354.oracle.com with ESMTP id 765322921289372442; Tue, 09 Nov 2010 23:00:42 -0800
Received: from oracle.com (/129.153.128.104) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 09 Nov 2010 23:00:42 -0800
Date: Wed, 10 Nov 2010 01:00:37 -0600
From: Nicolas Williams <Nicolas.Williams@oracle.com>
To: torsten@lodderstedt.net
Message-ID: <20101110070037.GT6536@oracle.com>
References: <30C8090C-AD0E-4D2A-8F26-6EFC52DCDD9D@gmx.net> <4CD73075.8050408@lodderstedt.net> <180155C5EA10854997314CA5E063D18FECBAC9@TK5EX14MBXC113.redmond.corp.microsoft.com> <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1893623701-1289290076-cardhu_decombobulator_blackberry.rim.net-776340369-@bda356.bisx.produk.on.blackberry>
User-Agent: Mutt/1.5.20 (2010-03-02)
X-Mailman-Approved-At: Tue, 09 Nov 2010 23:23:57 -0800
Cc: Anthony Nadalin <tonynad@microsoft.com>, "abfab@ietf.org" <abfab@ietf.org>, "rai@ietf.org" <rai@ietf.org>, "ietf@ietf.org" <ietf@ietf.org>, "secdir@ietf.org" <secdir@ietf.org>, "websec@ietf.org" <websec@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>, "kitten@ietf.org" <kitten@ietf.org>, "iab@iab.org Board" <iab@iab.org>, "iesg@ietf.org" <iesg@ietf.org>, "oauth@ietf.org" <oauth@ietf.org>
Subject: Re: [xmpp] [kitten] [OAUTH-WG] ** OAuth Tutorial & OAuth Security Session **
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: oauth@ietf.org
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, 10 Nov 2010 07:02:41 -0000

[That is some cc list!  Do you really need a cc list that large for this
thread?  I've set the reply-to to just oauth@ietf.org (note: I'm NOT
subscribed to that list).  Please honor the reply-to header.  It's a
good idea to set reply-to when making announcements, so that replies
don't flood people who are almost certainly not interested.]

On Tue, Nov 09, 2010 at 08:07:56AM +0000, torsten@lodderstedt.net wrote:
> We think the security considerations should be based on a threat model
> of OAuth. But a complete threat model would blow up the spec.

Really?  I would think that a threat model for OAuth could be described
fairly briefly.  What is the typical value of resources protected by
OAuth?  What kinds of attackers (active, passive, ...) does OAuth aim to
defeat, and under what assumptions (end-points are secure, trusted third
parties are trustworthy, certain cryptographic algorithms are not broken
with parameters in certain ranges, smartcards are secure, ...)?  Which
kinds of attacks does OAuth explicitly not protect against (e.g., DoS)?
What resources do you expect attackers to apply to compromising
resources protected by OAuth?

A few pages should do for the threat model.  An abstract of the OAuth
threat model should also be possible to write.

> We therefore aim to produce a separate security document
> (informational I-D/RFC) covering threat model as well as security
> design and considerations. The security considerations section of the
> core spec can then be distilled from this document.

Sure.  Procedurally speaking, that works.

Nico
-- 

From jehan.marmottard@gmail.com  Wed Nov 10 03:36: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 204B73A6A91 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 03:36:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.914
X-Spam-Level: 
X-Spam-Status: No, score=-1.914 tagged_above=-999 required=5 tests=[AWL=0.385,  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 7sJH7KSDoK8J for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 03:36:10 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id AF6553A691E for <xmpp@ietf.org>; Wed, 10 Nov 2010 03:36:09 -0800 (PST)
Received: by wyb28 with SMTP id 28so570489wyb.31 for <xmpp@ietf.org>; Wed, 10 Nov 2010 03:36:36 -0800 (PST)
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=nek4jo9BB9F9UM30HW9mfdBxIy+8M4hieSj5jAxkAPg=; b=pLttXhARK7YwoUgO/2jYsTY+83CUboodqZTnL1V/U1zjgpJtzHcGjwY9R2kOGM7Kxe LJ6XR4WeFtGUxkPCFzEkElsekiZcUHmBx7QYnyledxk6/TKA/XfGGN+Pf3O9DC7olheL 57gJ1lNXuCPx+z42vykvIW0BOfuUBkGIM2vl4=
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=mq9M7gcjr/Eaq10fSsz1zu6FH0/eVXiiGgBjVjiP84U9yNPYP+y11n2PyLQHmiA+Ul fp2QRgbFdF6WQugZ5FaW+ys/BU5Rx1EgD+RnkUK49dtCuDxrfRCFYFMDyKG2QGDefBD3 uLofzTkkEItbHa6YIQtd+bHdP9sZ0SGi36P3E=
MIME-Version: 1.0
Received: by 10.216.23.129 with SMTP id v1mr5430252wev.84.1289388995408; Wed, 10 Nov 2010 03:36:35 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Wed, 10 Nov 2010 03:36:35 -0800 (PST)
In-Reply-To: <4CD9E655.7020607@babelmonkeys.de>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <AANLkTikgRnJr1pFXpx+tQg1O7hqKZXQHviQuCjvt0C5d@mail.gmail.com> <4CD9E655.7020607@babelmonkeys.de>
Date: Wed, 10 Nov 2010 20:36:35 +0900
Message-ID: <AANLkTikbhp6JzPF+cBMpEb5zQs-7SAx_qYe=Z7CwR4kO@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] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 11:36:13 -0000

Hi,

On Wed, Nov 10, 2010 at 9:24 AM, Florian Zeitz <florob@babelmonkeys.de> wro=
te:
> On 10.11.2010 00:29, Jehan Pag=E8s wrote:
>> and that's the exact problem of TLS and the reason why it has not an
>> acceptable level of security: it is so complicated that many skilled
>> computer people don't get all the consequences. Yet it relies on many
>> people during it whole life chain (creation of certificates by people
>> who only care about money they get from it, and accepting them by
>> people who don't care about security warnings). I even remember to
>> have read once on a XSF list someone saying that a self-signed
>> certificate was as secure as one signed by a CA (whereas a self-signed
>> cert is basically same as no cert at all, unless its owner came to
>> give it to you physically with his usb key and his ID card).
>>
> You said yourself CAs only care about money. So if CAs aren't to be
> trusted self-signed certs are certainly just as good. Also you have the
> leap-of-faith (i.e. clients make sure the cert doesn't change after the
> first connection, having a MITM on your very first connection is
> relatively rare) that most people are willing to risk for ssh and many
> people were willing to risk for XTLS.
>

Euh... not at all. A self-signed cert is just like no cert at all. A
self-signed cert is as though someone in the street that you don't
know tell you "hello my name is Florian Zeitz" (and considering that
anyone can make a cert on one's computer, it is not like a country ID,
more like he shows you a random paper with his name on it as a proof).
Having nothing to prove it right or wrong at this time, I am still at
the same point: I don't know if this guy is actually you or not, but
all I have is the word of the guy who pretend to be.

As for a CA, even though we still cannot trust them to the point of
saying "this is an extremely good security", that's still better than
nothing (as I said, we stick with it as long as there is no better
option). Having a CA is like you definitely know someone whose job is
to check identities of others, but he is not a friend, and you don't
trust him fully because you suspect he is lazy and does not always
does his work very well (as long as he get paid, sometimes he is
reluctant to look for details). And this guy tells you: "yeah this guy
is indeed Florian Zeitz!". You cannot trust the answer at 100% because
your CA guy can still be fooled by a fake ID (or whatever) but that's
still a first good insurance.

Saying that self-certs are the same is exactly what I said: you didn't
understand fully how TLS work so you assume that anyway a cert is a
cert. A self-signed cert has absolutely NO VALUE at all (unless, as I
told, when you get handed this cert via another trusted network, as I
said, which is what people do when they make keysigning party, so that
they can exchange "physically" their certs).

As for the =AB=A0having a MITM on your very first connection is relatively
rare=A0=BB, I "don't think" attackers care. That's not relevant. Basically
if some server gets redirected to a malevolent one (through a DNS
vulnerability for instance) , they'll just get everyone who connects
during this lapse of time, whatever this is their first connection or
not. Moreover even though it is true that we connect for the first
time only once (if not changing clients), making security rules on
this kind of probability is not the best choice.
And finally we really cannot say this kind of thing in a "connected
world" where users are constantly switching from a machine to another
(theirs, their mobile, from a friend's computer), or via web clients,
or on random machines when traveling, etc. So in fact people connects
"for the first time" many many times (if not each time in some
environment which does not "remember" the certs).

>> But the truth is that CA makes mistakes and give away some certs, that
>> developpers don't really warn well against unsecure streams to users
>> (it becomes better in web browsers, but in XMPP, that's definitely
>> still bad, looking at the behaviour of all well-spread clients) nor do
> Did you report that as bugs against those clients?
> Also which were those?
> I have seen shiny windows with big fonts about failed certificate checks
> that asked you to check the fingerprint etc. in most clients I have
> used. Complaining isn't going to get us anywhere.
>> they know which CA root certs to include (even in the web market, this
>> point is a mess), and that users don't really care in the end anyway,
>> mostly because to understand when you are secure, you need to
>> understand how the protocol itself work (that's also why even the
>> computer professionals don't understand themselves when it is secure)!
>>
>> So no, TLS is well spread and better than nothing to stick with while
>> we don't have some technology definitely better, but that's not an
>> acceptable level of security to allow oneself to become "light
>> hearted" once this layer has been passed. Especially not on giving
>> away passwords.
>>
> I'm sitting here all the time thinking: "What's up with those peoples
> passwords"
> Honestly the first thing I would worry about is not the password I use
> only for that one XMPP server (which is a easy security measure to teach
> people).

You can do a lot of thing with passwords:
- keep a database of common passwords for future brute force attacks.
- try it on several other Internet services associated with the login,
because many people use the same login/password couple across services
(so an automated script to run on all famous services to check which
log/pass will work and hop you have access to dozens of people's
emails, paypal accounts, private photos and data, and so on).
- if this is a targeted attack, you can also study the password (in
case the person does not use the same login/pass everywhere) because
many people use a same pattern to make different passwords for all
service without having to remember. Then you may figure out their
passwords for other services.

> I'm far more concerned that somebody can impersonate me at will, change
> my roster, perform administrative tasks on the server, etc. And that is
> a HUGE problem not easily fixed by using a different mechanism (mind it
> can even happen if you use SASL SCRAM unless you do channel binding).

With SASL SCRAM, if the attacker can pass TLS, then with a MITM, he
will be able to connect "ONCE" (thanks to the nonce attribute used, so
that the attacker cannot connect again with the data he stole once he
disconnected). Of course he may still make a mess, but that's worse
with PLAIN where if he forgot something, he can just connect again as
much as he want (or do nothing to remain unseen but regularly connect
in order to spy on you regularly, which he cannot do if he cannot
reconnect). And also he can do  all the actions previously cited, like
connect on another services you use, etc.
MITM on SCRAM enables this one thing if TLS is broken: connect ONCE,
nothing more (of course if once connected, big security leaks like
ad-hoc commands enables to retrieve the password, or modify it without
having to rewrite the old one... that's another issue about crazy
unsafe features). You can't knowingly compare damages possible with
SCRAM and PLAIN.

Bye.

Jehan

From florob@babelmonkeys.de  Wed Nov 10 05:36:12 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 0B9FB3A6941 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 05:36:12 -0800 (PST)
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 WLngiQmQBPbM for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 05:36:10 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 682303A694E for <xmpp@ietf.org>; Wed, 10 Nov 2010 05:36:10 -0800 (PST)
Received: from xdsl-84-44-237-132.netcologne.de ([84.44.237.132] helo=[192.168.234.167]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PGAqq-0000Bw-8z for xmpp@ietf.org; Wed, 10 Nov 2010 14:36:36 +0100
Message-ID: <4CDAA037.2000706@babelmonkeys.de>
Date: Wed, 10 Nov 2010 14:37:59 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im>	<AANLkTikgRnJr1pFXpx+tQg1O7hqKZXQHviQuCjvt0C5d@mail.gmail.com>	<4CD9E655.7020607@babelmonkeys.de> <AANLkTikbhp6JzPF+cBMpEb5zQs-7SAx_qYe=Z7CwR4kO@mail.gmail.com>
In-Reply-To: <AANLkTikbhp6JzPF+cBMpEb5zQs-7SAx_qYe=Z7CwR4kO@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 13:36:12 -0000

On 10.11.2010 12:36, Jehan Pagès wrote:
> Hi,
> 
> Euh... not at all. A self-signed cert is just like no cert at all. A
> self-signed cert is as though someone in the street that you don't
> know tell you "hello my name is Florian Zeitz" (and considering that
> anyone can make a cert on one's computer, it is not like a country ID,
> more like he shows you a random paper with his name on it as a proof).
> Having nothing to prove it right or wrong at this time, I am still at
> the same point: I don't know if this guy is actually you or not, but
> all I have is the word of the guy who pretend to be.
> 
> As for a CA, even though we still cannot trust them to the point of
> saying "this is an extremely good security", that's still better than
> nothing (as I said, we stick with it as long as there is no better
> option). Having a CA is like you definitely know someone whose job is
> to check identities of others, but he is not a friend, and you don't
> trust him fully because you suspect he is lazy and does not always
> does his work very well (as long as he get paid, sometimes he is
> reluctant to look for details). And this guy tells you: "yeah this guy
> is indeed Florian Zeitz!". You cannot trust the answer at 100% because
> your CA guy can still be fooled by a fake ID (or whatever) but that's
> still a first good insurance.
> 
> Saying that self-certs are the same is exactly what I said: you didn't
> understand fully how TLS work so you assume that anyway a cert is a
> cert. A self-signed cert has absolutely NO VALUE at all (unless, as I
> told, when you get handed this cert via another trusted network, as I
> said, which is what people do when they make keysigning party, so that
> they can exchange "physically" their certs).
> 
Thank you, but I was in fact fully aware of this. This was partially
speaking as devils advocate.
You can not honestly say in the same breath that CAs aren't to be
trusted, but self-signed certs are worthless.
The statement I made is absolutely true. A cert signed by a CA you don't
trust is as good as a self-signed one. That CA could be completely made
up after all.

Self-signed certs don't have a great value or anything, they slightly
reduced the risk though. And apparently to an extend that some people
are willing to take it.

> As for the « having a MITM on your very first connection is relatively
> rare », I "don't think" attackers care. That's not relevant. Basically
> if some server gets redirected to a malevolent one (through a DNS
> vulnerability for instance) , they'll just get everyone who connects
> during this lapse of time, whatever this is their first connection or
> not. Moreover even though it is true that we connect for the first
> time only once (if not changing clients), making security rules on
> this kind of probability is not the best choice.
> And finally we really cannot say this kind of thing in a "connected
> world" where users are constantly switching from a machine to another
> (theirs, their mobile, from a friend's computer), or via web clients,
> or on random machines when traveling, etc. So in fact people connects
> "for the first time" many many times (if not each time in some
> environment which does not "remember" the certs).
> 
The friend's computer probably had a key-logger installed anyway ;)
It's definitely much worse than a CA signed cert, but I maintain it's
better than no cert at all or worthless (at least as long as you cache
certs).
Even encryption without authentication has some (limited) merit.
Consider everyone on the same WLAN hotspot vs. one potential attacker
being able to see your password.
I'm not saying it's a good idea to use self-signed certs, or anything
like that.
But I'm also not fine with this "We are all screwed"-subtone some of
this discussion has taken. There is no such thing as perfect security.
Leap-of-faith gives you limited, better not risk it security.
CAs give you acceptable security if you got the CA's cert out of band.
Checking the certificate against another copy of it you received out of
band gives you relatively strong security.
One can have all three of these with TLS. I don't see a reason to think
it has failed us as a technology. The system surrounding it is a far
bigger problem.
E.g. people are often not willing or capable of paying for certificates
(I myself am a student and could barely take even money for one of the
cheaper certs out of my "budget" and I know of people that have an even
tighter one).
Also CAs that don't require payment are often not taken seriously,
because they get no compensation for their honesty (The assumption
apparently being that bribing a "normal" CA would be too expensive if
you want to compensate for the potential loss of trust/income).
That's nothing for this WG to solve though.

>>> But the truth is that CA makes mistakes and give away some certs, that
>>> developpers don't really warn well against unsecure streams to users
>>> (it becomes better in web browsers, but in XMPP, that's definitely
>>> still bad, looking at the behaviour of all well-spread clients) nor do
>> Did you report that as bugs against those clients?
>> Also which were those?
>> I have seen shiny windows with big fonts about failed certificate checks
>> that asked you to check the fingerprint etc. in most clients I have
>> used. Complaining isn't going to get us anywhere.
My question here still stands. If you really want to change something
misbehaving clients are a good start.

> You can do a lot of thing with passwords:
> - keep a database of common passwords for future brute force attacks.
> - try it on several other Internet services associated with the login,
> because many people use the same login/password couple across services
> (so an automated script to run on all famous services to check which
> log/pass will work and hop you have access to dozens of people's
> emails, paypal accounts, private photos and data, and so on).
> - if this is a targeted attack, you can also study the password (in
> case the person does not use the same login/pass everywhere) because
> many people use a same pattern to make different passwords for all
> service without having to remember. Then you may figure out their
> passwords for other services.
> 
Sure, I never claimed getting access to passwords was useless. It would
just not be my personal primary worry on a hijacked session.

> With SASL SCRAM, if the attacker can pass TLS, then with a MITM, he
> will be able to connect "ONCE" (thanks to the nonce attribute used, so
> that the attacker cannot connect again with the data he stole once he
> disconnected). Of course he may still make a mess, but that's worse
> with PLAIN where if he forgot something, he can just connect again as
> much as he want (or do nothing to remain unseen but regularly connect
> in order to spy on you regularly, which he cannot do if he cannot
> reconnect). And also he can do  all the actions previously cited, like
> connect on another services you use, etc.
> MITM on SCRAM enables this one thing if TLS is broken: connect ONCE,
> nothing more (of course if once connected, big security leaks like
> ad-hoc commands enables to retrieve the password, or modify it without
> having to rewrite the old one... that's another issue about crazy
> unsafe features). You can't knowingly compare damages possible with
> SCRAM and PLAIN.
> 
I disagree. ONCE would be nice. But an attacker can do this EVERY TIME
you log in. He can also maintain the session for as long as he wants to.
And then there are those "crazy unsafe features" that most people in
fact really like. Especially being able to change your password once in
a while sounds nice if you don't assume that you will be impersonated.
Teaching people to assume they might be impersonated is quite hard, and
as far as I'm concerned that is something we actually (should) try to
protect against anyway.
My point is: We are discussing password security for a scenario that
should ideally never happen for a lot of other good reasons.

--
Florian Zeitz

From yaronf.ietf@gmail.com  Wed Nov 10 01:47:41 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 A3FAF3A6A85 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 01:47:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.276
X-Spam-Level: 
X-Spam-Status: No, score=-102.276 tagged_above=-999 required=5 tests=[AWL=0.323, 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 oILv7BeqrKOi for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 01:47:40 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id A06A03A69AF for <xmpp@ietf.org>; Wed, 10 Nov 2010 01:47:40 -0800 (PST)
Received: by wyb28 with SMTP id 28so469896wyb.31 for <xmpp@ietf.org>; Wed, 10 Nov 2010 01:48:06 -0800 (PST)
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=AiPflJODkP8zXmgbGimLtBODEC1pjkWuuiO4N/+q62M=; b=G1g9PvtvHPGIDHFobBaJPS4/yLcxfwhFJRlsmv9zbpw0AMz0NKOp0dV/fYFEPpNyrS jodkcnuOqOrsV+Th03B0dVSIzqey/BteYeE4izzF05hg/uM1PvGOG98J+JL2E4K8FJke mPxSrbT21LKD8ljOCTZWMz5fd0mZL7N3bGjGY=
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=sOBgLxWVfbo6yVRZbe0R5/Q9sqbMkADo/Iw5ILtPM0Bqbr9evxhMt/xD4xUblBW2mm hL4QjA57mTihe6oGupixwDTmUfrWJLnX0TQkuFvNVagJ4h/rPHSllMUDF0jwE6u3u58O PXFjLOVxs8snoGYfU3RPuQzWvWic85FlIr2YU=
Received: by 10.227.69.11 with SMTP id x11mr8152675wbi.207.1289382486415; Wed, 10 Nov 2010 01:48:06 -0800 (PST)
Received: from [10.0.0.2] (bzq-79-181-26-165.red.bezeqint.net [79.181.26.165]) by mx.google.com with ESMTPS id a17sm427006wbe.0.2010.11.10.01.48.04 (version=SSLv3 cipher=RC4-MD5); Wed, 10 Nov 2010 01:48:05 -0800 (PST)
Message-ID: <4CDA6A52.3020306@gmail.com>
Date: Wed, 10 Nov 2010 11:48:02 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im>
In-Reply-To: <4CD9CF46.2000400@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Wed, 10 Nov 2010 08:34:39 -0800
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 09:47:41 -0000

Although a literary analysis of RFC 2119 is much more fun, I would like 
to comment on the paragraph below:

The crux of the matter is the parenthetical "and proper certificate 
validation and so on": while the TLS *protocol* offers a very high level 
of security, TLS *in actual use* unfortunately often does not. Jehan 
pointed out some of the reasons earlier today (negligent CA procedures, 
security "warnings" whose goal is to let the communication proceed - no 
matter what, etc.). This makes the distinction between authenticated and 
unautheticated TLS much more blurry than we would have liked it to be. 
And if it wasn't clear: please don't send plaintext passwords over this 
channel.

Thanks,
     Yaron

So the real question is: what's an acceptable level of security? Do we
> have enough confidence in TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
> ciphersuite (and proper certificate validation and so on) to think that
> it's OK to send plaintext credentials over such a channel? That seems to
> be a topic on which folks in the security directorate could provide
> useful input, because I don't know if we have enough expertise in the
> XMPP WG to say.
>
> Peter
>

From tapplek@gmail.com  Wed Nov 10 12:44:12 2010
Return-Path: <tapplek@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 012B53A698D for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 12:44:12 -0800 (PST)
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 ANpulqhv91n9 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 12:44:11 -0800 (PST)
Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.121]) by core3.amsl.com (Postfix) with ESMTP id E951F3A68A5 for <xmpp@ietf.org>; Wed, 10 Nov 2010 12:44:10 -0800 (PST)
X-Authority-Analysis: v=1.1 cv=3jtQBdTzPyV+fq4oCU/u8ZPrJJGN11HvhaDVxyWhycI= c=1 sm=0 a=kj9zAlcOel0A:10 a=YWjQDfagILte+x2FM25ZOA==:17 a=kSWH_a04ltJ9Qn05brgA:9 a=5RoHzDk3uMOW6ul2CD7VZB5c4_sA:4 a=CjuIK1q_8ugA:10 a=YWjQDfagILte+x2FM25ZOA==:117
X-Cloudmark-Score: 0
X-Originating-IP: 174.109.192.205
Received: from [174.109.192.205] ([174.109.192.205:39684] helo=tacobell.localdomain) by cdptpa-oedge02.mail.rr.com (envelope-from <tapplek@gmail.com>) (ecelerity 2.2.3.46 r()) with ESMTP id A6/73-02631-5340BDC4; Wed, 10 Nov 2010 20:44:37 +0000
Received: by tacobell.localdomain (Postfix, from userid 501) id D4A0A18C9D15; Wed, 10 Nov 2010 15:44:36 -0500 (EST)
Date: Wed, 10 Nov 2010 15:44:36 -0500
From: Matthew Fulmer <tapplek@gmail.com>
To: xmpp@ietf.org
Message-ID: <20101110204436.GF5939@tacobell.nc.rr.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: [xmpp] Stanza errors of type auth
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, 10 Nov 2010 20:44:12 -0000

I'm unfamiliar with xmpp and was reading
draft-ietf-xmpp-3920bis-18 to gain familiarity with it. In
section 8.3.3, I don't feel the document adequately explains the
difference between these four error types:

8.3.3.4  forbidden
8.3.3.11 not-authorized
8.3.3.16 registration-required
8.3.3.21 subscription-required

They all seem mostly synonymous, especially the last two

-- 
Matthew Fulmer (a.k.a. Tapple)

From fippo@mail.symlynx.com  Wed Nov 10 12:58:10 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 7F2573A6936 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 12:58:10 -0800 (PST)
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 7Gg5TAPEF16t for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 12:58:09 -0800 (PST)
Received: from lo.psyced.org (lost.IN.psyced.org [188.40.42.221]) by core3.amsl.com (Postfix) with ESMTP id 693CE3A6916 for <xmpp@ietf.org>; Wed, 10 Nov 2010 12:58:09 -0800 (PST)
Received: from [192.168.2.103] (p4FF0C6C6.dip.t-dialin.net [79.240.198.198]) (authenticated bits=0) by lo.psyced.org (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAAKwvvb007669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <xmpp@ietf.org>; Wed, 10 Nov 2010 21:58:59 +0100
Message-ID: <4CDB0774.9030206@mail.symlynx.com>
Date: Wed, 10 Nov 2010 21:58:28 +0100
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@ietf.org
References: <4CD47814.3010508@KingsMountain.com>	<4CD913FA.2070308@mail.symlynx.com>	<4CD9C4E4.4030603@stpeter.im> <4CD9C7A8.6090303@stpeter.im>
In-Reply-To: <4CD9C7A8.6090303@stpeter.im>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] [certid]  accommodating server-to-server
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, 10 Nov 2010 20:58:10 -0000

Peter Saint-Andre wrote:
> [trimmed to the XMPP WG list only]
[...]
>>> You might split this in such a way that you describe how to get the
>>> certificate and reference identifiers first (which is slightly different
>>> for client and server) and then the process of validation for a given
>>> certificate and a given reference identifiers (which no longer depends
>>> on whether a client or a server is doing that). Essentially, that means
>>> replacing most occurences of "client" with "verifying entity".
>>>
>>> However, I am not sure if this really going to improve readability for
>>> anyone that is not looking for xmpp-s2s :-/
>>
>> Right, which is why I think it's better to put this in 3920bis.

I am not sure if I agree (yet).

> The best place seems to be Section 13.7.2.1 (on validation of server
> certificates). I propose adding the following paragraph at the end of
> that section:
>
>     In the case of server-to-server communication, the matching procedure
>     described in [TLS-CERTS] can be performed by an application server
>     (receiving entity) when verifying an incoming server-to-server
>     connection from a peer server (initiating entity).  In this case, the
>     receiving entity verifies the identity of the initiating entity and

s/the identity/the asserted identity/?

>     uses as its reference identifier the DNS domain name asserted by the
>     initiating entity.

in the stream's from attribute.

From tapplek@gmail.com  Wed Nov 10 13:56:18 2010
Return-Path: <tapplek@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 58A2B3A67C3 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 13:56:18 -0800 (PST)
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 aDnYX0VkXCh0 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 13:56:17 -0800 (PST)
Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.121]) by core3.amsl.com (Postfix) with ESMTP id 54D623A67A3 for <xmpp@ietf.org>; Wed, 10 Nov 2010 13:56:17 -0800 (PST)
X-Authority-Analysis: v=1.1 cv=3jtQBdTzPyV+fq4oCU/u8ZPrJJGN11HvhaDVxyWhycI= c=1 sm=0 a=kj9zAlcOel0A:10 a=YWjQDfagILte+x2FM25ZOA==:17 a=xR9L_lnWijK74nVriZMA:9 a=9wLbySgsT2lPvFk9SrK0bQaAGtMA:4 a=CjuIK1q_8ugA:10 a=YWjQDfagILte+x2FM25ZOA==:117
X-Cloudmark-Score: 0
X-Originating-IP: 174.109.192.205
Received: from [174.109.192.205] ([174.109.192.205:47686] helo=tacobell.localdomain) by cdptpa-oedge02.mail.rr.com (envelope-from <tapplek@gmail.com>) (ecelerity 2.2.3.46 r()) with ESMTP id C7/C4-02631-C151BDC4; Wed, 10 Nov 2010 21:56:45 +0000
Received: by tacobell.localdomain (Postfix, from userid 501) id 9872B18C9D15; Wed, 10 Nov 2010 16:56:44 -0500 (EST)
Date: Wed, 10 Nov 2010 16:56:44 -0500
From: Matthew Fulmer <tapplek@gmail.com>
To: xmpp@ietf.org
Message-ID: <20101110215644.GG5939@tacobell.nc.rr.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.20 (2009-06-14)
Subject: [xmpp] Mandatory 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, 10 Nov 2010 21:56:18 -0000

I am confused about where the <required/> tag does and does not
belong from reading the draft-ietf-xmpp-3920bis-18 document:

TLS, SASL, and Resource Binding can all be mandatory, in the
sense that a server can requires all streams to set up these
features. 

TLS <starttls /> is mandatory only when a <required /> tag is
inside it, but SASL <mechanisms /> and Resource <bind /> are
necessary stream features just because they are listed in
<stream:features />. I think the document should be clear that
<required /> should not be in the tags for <mechanisms /> and
<bind />, or whatever the protocol policy is

Affected sections:

5.4.1 starttls
6.4.1 mechanimsm
7.3   bind
9.x   examples

-- 
Matthew Fulmer (a.k.a. Tapple)

From stpeter@stpeter.im  Wed Nov 10 14:09: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 C81D43A63CB for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:09:25 -0800 (PST)
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 3BbsP5JcDNje for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:09:24 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id BA8243A6358 for <xmpp@ietf.org>; Wed, 10 Nov 2010 14:09:24 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id CB45940BB9 for <xmpp@ietf.org>; Wed, 10 Nov 2010 15:19:12 -0700 (MST)
Message-ID: <4CDB182C.4050600@stpeter.im>
Date: Thu, 11 Nov 2010 06:09:48 +0800
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: xmpp@ietf.org
References: <20101110204436.GF5939@tacobell.nc.rr.com>
In-Reply-To: <20101110204436.GF5939@tacobell.nc.rr.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="------------ms050901020402060707010402"
Subject: Re: [xmpp] Stanza errors of type auth
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, 10 Nov 2010 22:09:25 -0000

This is a cryptographically signed message in MIME format.

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

On 11/11/10 4:44 AM, Matthew Fulmer wrote:
> I'm unfamiliar with xmpp and was reading
> draft-ietf-xmpp-3920bis-18 to gain familiarity with it. In
> section 8.3.3, I don't feel the document adequately explains the
> difference between these four error types:
>=20
> 8.3.3.4  forbidden
> 8.3.3.11 not-authorized
> 8.3.3.16 registration-required
> 8.3.3.21 subscription-required
>=20
> They all seem mostly synonymous, especially the last two

Thanks for the feedback. Please realize that the comment period has
closed. Based on Yaron Sheffer's security review, I will publish -19
very very soon (if we can agree on whether SASL PLAIN is
mandatory-to-implement). In his review, Yaron also mentioned that the
text in -18 did not make clear the difference between
registration-required and subscription-required, so I have added some
examples and pointers to other specs on that point. I will take another
look at all of the sections you mention to see if I can add a few
clarifying words.

Peter

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




--------------ms050901020402060707010402
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
aWVudCBDQTCCASI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ikYaTzrLVohYc1
GH1EvPhai7Dvpi4qKcg7gRI7LEmi7aXNXh4o49iLIEKyQQqFuNH8/oRg72BgCV++6QRyyMmw
7tG+dRVkLyzLxBS2SQbX8NT1tfJVebYU24TTiQssTPYA/HCYflxe/8PrOTZUC4T5IYzgdl0U
aZKNR85Tk2h3Q7snhxrKTgUncf4lFdqHHYMDOrkcGfYU1k3hoLEk9hJTUOmrhDU55/7qAAAA
AAAA
--------------ms050901020402060707010402--

From stpeter@stpeter.im  Wed Nov 10 14:17: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 DABD53A63EB for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:17:57 -0800 (PST)
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 QMy1U9-DRtiY for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:17:56 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B2FDD3A657C for <xmpp@ietf.org>; Wed, 10 Nov 2010 14:17:56 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3118140BB9 for <xmpp@ietf.org>; Wed, 10 Nov 2010 15:27:44 -0700 (MST)
Message-ID: <4CDB1A2D.9070008@stpeter.im>
Date: Thu, 11 Nov 2010 06:18:21 +0800
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: xmpp@ietf.org
References: <20101110215644.GG5939@tacobell.nc.rr.com>
In-Reply-To: <20101110215644.GG5939@tacobell.nc.rr.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="------------ms090504020709070809030206"
Subject: Re: [xmpp] Mandatory 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, 10 Nov 2010 22:17:58 -0000

This is a cryptographically signed message in MIME format.

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

On 11/11/10 5:56 AM, Matthew Fulmer wrote:
> I am confused about where the <required/> tag does and does not
> belong from reading the draft-ietf-xmpp-3920bis-18 document:

It's used for STARTTLS but not SASL or Resource Binding. IMHO this is
clear in the text right now.

> TLS, SASL, and Resource Binding can all be mandatory, in the
> sense that a server can requires all streams to set up these
> features.=20

Correct.

> TLS <starttls /> is mandatory only when a <required /> tag is
> inside it, but SASL <mechanisms /> and Resource <bind /> are
> necessary stream features just because they are listed in
> <stream:features />.=20

Correct.

> I think the document should be clear that
> <required /> should not be in the tags for <mechanisms /> and
> <bind />, or whatever the protocol policy is

The <required/> flag for STARTTLS is a kind of "legacy" element. The
other features are understood to be mandatory-to-negotiate by nature.
See Sections 4.2.1, 4.2.2, 4.2.5, 5.3.1, 6.3.1, and 7.3.1. Also, please
note that a specification positively states the nature of the protocol.
Given that <required/> is *not* defined anywhere for SASL or Resource
Binding (not in the text, not in the examples, not in the schema),
anyone who assume that <required/> might be used for those parts of the
protocol is simply making unfounded assumptions, especially because the
sections I mention above clearly state the opposite.

> Affected sections:
>=20
> 5.4.1 starttls
> 6.4.1 mechanimsm
> 7.3   bind
> 9.x   examples

I see no reason for changes to those sections.

Peter

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




--------------ms090504020709070809030206
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
tzCVUAL0DAxZ7wgzQvFz7x61jGxfhYh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NO
Ny8QhIVG/bGYl/Xi5VlgYhurlzJCBvwj/4Vj/WtJ3HcvGXRbRHfYAXas9me3rSMFrMkiAAAA
AAAA
--------------ms090504020709070809030206--

From stpeter@stpeter.im  Wed Nov 10 14:28:43 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 317373A659C for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:28:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.54
X-Spam-Level: 
X-Spam-Status: No, score=-102.54 tagged_above=-999 required=5 tests=[AWL=0.059, 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 OR8V1oKeXb8O for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:28:42 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 3C3713A657C for <xmpp@ietf.org>; Wed, 10 Nov 2010 14:28:42 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A114D40BB9 for <xmpp@ietf.org>; Wed, 10 Nov 2010 15:38:30 -0700 (MST)
Message-ID: <4CDB1CB1.20000@stpeter.im>
Date: Thu, 11 Nov 2010 06:29:05 +0800
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: xmpp@ietf.org
References: <20101110204436.GF5939@tacobell.nc.rr.com> <4CDB182C.4050600@stpeter.im>
In-Reply-To: <4CDB182C.4050600@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="------------ms020203050206060006010905"
Subject: Re: [xmpp] Stanza errors of type auth
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, 10 Nov 2010 22:28:43 -0000

This is a cryptographically signed message in MIME format.

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

On 11/11/10 6:09 AM, Peter Saint-Andre wrote:
> On 11/11/10 4:44 AM, Matthew Fulmer wrote:
>> I'm unfamiliar with xmpp and was reading
>> draft-ietf-xmpp-3920bis-18 to gain familiarity with it. In
>> section 8.3.3, I don't feel the document adequately explains the
>> difference between these four error types:
>>
>> 8.3.3.4  forbidden
>> 8.3.3.11 not-authorized
>> 8.3.3.16 registration-required
>> 8.3.3.21 subscription-required
>>
>> They all seem mostly synonymous, especially the last two
>=20
> Thanks for the feedback. Please realize that the comment period has
> closed. Based on Yaron Sheffer's security review, I will publish -19
> very very soon (if we can agree on whether SASL PLAIN is
> mandatory-to-implement). In his review, Yaron also mentioned that the
> text in -18 did not make clear the difference between
> registration-required and subscription-required, so I have added some
> examples and pointers to other specs on that point. I will take another=

> look at all of the sections you mention to see if I can add a few
> clarifying words.

In my working copy I now have:

8.3.3.4.  forbidden

   The requesting entity does not possess the necessary permissions to
   perform an action that only certain authorized roles or individuals
   are allowed to complete (i.e., it typically relates to authorization
   rather than authentication); the associated error type SHOULD be
   "auth".

8.3.3.11.  not-authorized

   The sender needs to provide credentials before being allowed to
   perform the action, or has provided improper credentials (the name
   "not-authorized", which was borrowed from the "401 Unauthorized"
   error of [HTTP], might lead the reader to think that this condition
   relates to authorization, but instead it is typically used in
   relation to authentication); the associated error type SHOULD be
   "auth".

8.3.3.16.  registration-required

   The requesting entity is not authorized to access the requested
   service because prior registration is necessary (examples of prior
   registration include members-only rooms in XMPP multi-user chat
   [XEP-0045] and gateways to non-XMPP instant messaging services, which
   traditionally required registration in order to use the gateway
   [XEP-0100]); the associated error type SHOULD be "auth".

8.3.3.21.  subscription-required

   The requesting entity is not authorized to access the requested
   service because a prior subscription is necessary (examples of prior
   subscription include authorization to receive presence information as
   defined in [XMPP-IM] and opt-in data feeds for XMPP publish-subscribe
   as defined in [XEP-0060]); the associated error type SHOULD be
   "auth".

/psa



--------------ms020203050206060006010905
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
aW5nMTgwNgYDVQQDEy9TdGFydENvbSBDb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PpRVullDIcG4haG6tRjd/o8ca2jXuVYhwc+VLVBswzmNuL4IGl1BIFHdysF+5ucewCx
ugzwHvqWZyvEC2njm388UI38zmVrfPNEW9Fa648g2s3FQgcNTI9BDjx1dcqr7keceTQSaED8
vRdxFrsKMoITyDsYj0JuxXYQgSJ0KKcfkzZww0xzlhj83Twu8xJSz8rj3LmUAlGOYsbqjTJQ
nYTvD2ykQYVqS11BLn3pVZ4QhMu0l1gvXfYH770P1gxFzxXFs89dvIEFcaWQJ3UO2wWXAAAA
AAAA
--------------ms020203050206060006010905--

From stpeter@stpeter.im  Wed Nov 10 14:33: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 1C9243A6768 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:33:30 -0800 (PST)
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 nvqDR7vN0e-6 for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 14:33:28 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 54BF93A659C for <xmpp@ietf.org>; Wed, 10 Nov 2010 14:33:28 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id BF71940BB9 for <xmpp@ietf.org>; Wed, 10 Nov 2010 15:43:16 -0700 (MST)
Message-ID: <4CDB1DD1.3070905@stpeter.im>
Date: Thu, 11 Nov 2010 06:33:53 +0800
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: xmpp@ietf.org
References: <4CD47814.3010508@KingsMountain.com>	<4CD913FA.2070308@mail.symlynx.com>	<4CD9C4E4.4030603@stpeter.im>	<4CD9C7A8.6090303@stpeter.im> <4CDB0774.9030206@mail.symlynx.com>
In-Reply-To: <4CDB0774.9030206@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="------------ms090702020403000907000806"
Subject: Re: [xmpp] [certid]  accommodating server-to-server
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, 10 Nov 2010 22:33:30 -0000

This is a cryptographically signed message in MIME format.

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

On 11/11/10 4:58 AM, Philipp Hancke wrote:
> Peter Saint-Andre wrote:
>> [trimmed to the XMPP WG list only]
> [...]
>>>> You might split this in such a way that you describe how to get the
>>>> certificate and reference identifiers first (which is slightly
>>>> different
>>>> for client and server) and then the process of validation for a give=
n
>>>> certificate and a given reference identifiers (which no longer depen=
ds
>>>> on whether a client or a server is doing that). Essentially, that me=
ans
>>>> replacing most occurences of "client" with "verifying entity".
>>>>
>>>> However, I am not sure if this really going to improve readability f=
or
>>>> anyone that is not looking for xmpp-s2s :-/
>>>
>>> Right, which is why I think it's better to put this in 3920bis.
>=20
> I am not sure if I agree (yet).

It doesn't seem to belong in draft-saintandre-server-id-check, given
that the entire document is focused on application clients. Please note
Section 1.4.2 of that document, and how strictly we limited the scope.

>> The best place seems to be Section 13.7.2.1 (on validation of server
>> certificates). I propose adding the following paragraph at the end of
>> that section:
>>
>>     In the case of server-to-server communication, the matching proced=
ure
>>     described in [TLS-CERTS] can be performed by an application server=

>>     (receiving entity) when verifying an incoming server-to-server
>>     connection from a peer server (initiating entity).  In this case, =
the
>>     receiving entity verifies the identity of the initiating entity an=
d
>=20
> s/the identity/the asserted identity/?

I think that's potentially confusing, because nowhere in
draft-saintandre-server-id-check do we talk about asserted identity, and
that's covered anyway by explaining where the reference identifier comes
from in this case.

>>     uses as its reference identifier the DNS domain name asserted by t=
he
>>     initiating entity.
>=20
> in the stream's from attribute.

Changed to:

   ... asserted by the initiating entity in the 'from' attribute of the
   initial stream header.

Peter

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




--------------ms090702020403000907000806
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
dGFydENvbSBMdG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AizANBgkqhkiG
9w0BAQEFAASCAQBSDN8J4vCpTjruZ1NYBuS3s0BvvE6x9ULlAaqa0mIpnxoDb3UOylxCBTnD
CEWkWnJIc+5S6LryuEToz1bjXAk1KO8AKBQXyZF8EDd8NnKOkFll2/G0VOAPIGl70z+nuL2S
PuND3zZq2QxrN5jXXPwRCfWcefWRXwXrVAJ8Zemp5pLZilekUa+o77lLulTAlhfGmmB+653F
6C4zLU+8caXleRzCndKKr0QqBoWJbbZjG2skSlVAu0ebqCwW+KffsUuisl3iTQdeUPJXLHll
jPBDgIe1uZscR2FqZIuZm5jByavokDZioQ47iGSTWLp59zlXRN+rHADB6/w4Ofh5kK1EAAAA
AAAA
--------------ms090702020403000907000806--

From stpeter@stpeter.im  Wed Nov 10 15:04:51 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 DE2AF3A659C for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 15:04:51 -0800 (PST)
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 ltuvEcJE+w0g for <xmpp@core3.amsl.com>; Wed, 10 Nov 2010 15:04:50 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id A678B3A63D3 for <xmpp@ietf.org>; Wed, 10 Nov 2010 15:04:50 -0800 (PST)
Received: from dhcp-429b.meeting.ietf.org (dhcp-429b.meeting.ietf.org [130.129.66.155]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B123340BB9; Wed, 10 Nov 2010 16:14:38 -0700 (MST)
Message-ID: <4CDB252A.2000604@stpeter.im>
Date: Thu, 11 Nov 2010 07:05:14 +0800
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: Matt Miller <mamille2@cisco.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <87154427-F081-4E1E-951D-92B45313A0F5@Isode.COM> <4CD9D73E.3020309@stpeter.im> <2CA6A06E-33A0-4912-9FDD-18C0CA93AC25@Isode.COM> <156AE4FD-4961-4B28-9D30-3D70A6FD2F94@Isode.COM> <618DE6B1-CFBC-4A5D-A304-6D386167E4AF@cisco.com>
In-Reply-To: <618DE6B1-CFBC-4A5D-A304-6D386167E4AF@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="------------ms050007080406050201020009"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, Kurt Zeilenga <Kurt.Zeilenga@Isode.COM>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 10 Nov 2010 23:04:52 -0000

This is a cryptographically signed message in MIME format.

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

On 11/10/10 8:26 AM, Matt Miller wrote:
> On Nov 9, 2010, at 17:15 , Kurt Zeilenga wrote:
>> As I noted before, even if we were to remove the Authenticated TLS
>> + PLAIN mandate/recommendation/option with a MUST NOT implement
>> PLAIN, PLAIN (with and without TLS, authenticated or not) support
>> is going to remain ubiquitous.   Hence users are going to
>> increasing become the target of attacks.  Aside from words of
>> caution and recommending good alternatives, there's little we can
>> presently do about that.  And that's why I'm fine with earlier
>> text.
>=20
> At the end of the day, there's only so much we can do to prevent
> everyone from shooting their own arms off (-:

Sure. People are going to implement SASL PLAIN no matter what we say in
the spec. But that doesn't mean we need to actively exhort people to
implement it.

> I was fine with the earlier missive for that reason.

And I was concerned that WG might be making a decision that was not
fully informed.

I'll post further once I've had a chance to talk with more security area
folks in Beijing.

Peter

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




--------------ms050007080406050201020009
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
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZ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FjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCMjbVrj20DWacbY9wSxWW2TjhlPIa6BsizPaUgxQyzf6ChEOviFD0a1G6S
4f52xN6XfmBiAsz7KwHajmkSj3D74LY11+wjO2RyYUk6DOKOjTkIZA2+tt8Jmwf2DYmaeDgB
3V7sCaHHBF5r0tUY6x1c5VzWfj46KTT56UYXaiCrK0YpMAeM5Wwz5A8Ze3A57Js3h9VJ4pbf
y0X6WkUvPRWIEfYSQDrhSVFsvMMvS7wIUA+UY3qziz1Vfd6mDc+bEEfZwvwrjQea2MUKMYQP
2h3/xAMpAab5gqjShiouV0b1n7KTzGTsuGDNoX0+4El/CoqrnTsvw5kILXTJZ8pIJhgnAAAA
AAAA
--------------ms050007080406050201020009--

From stpeter@stpeter.im  Wed Nov 10 18:06: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 A9D7D3A68FE; Wed, 10 Nov 2010 18:06:18 -0800 (PST)
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 sfgilrDFyXfH; Wed, 10 Nov 2010 18:06:17 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id AA3573A6903; Wed, 10 Nov 2010 18:06:11 -0800 (PST)
Received: from dhcp-8662.meeting.ietf.org (dhcp-8662.meeting.ietf.org [130.129.134.98]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 9BD7040BB9; Wed, 10 Nov 2010 19:16:00 -0700 (MST)
Message-ID: <4CDB4FAC.7000209@stpeter.im>
Date: Thu, 11 Nov 2010 10:06:36 +0800
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: "dispatch@ietf.org" <dispatch@ietf.org>, XMPP <xmpp@ietf.org>,  sip-xmpp@xmpp.org, XMPP Jingle <jingle@xmpp.org>,  Jabber/XMPP software development list <jdev@jabber.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="------------ms030103010409030504010702"
Subject: [xmpp] new list for SIXPAC (SIP Interworking with XMPP in Presence Aware Clients)
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, 11 Nov 2010 02:06:18 -0000

This is a cryptographically signed message in MIME format.

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

Folks, I've created a new mailing list sixpac@ietf.org for discussion
about dual-stack SIP/XMPP user agents. Based on a breakfast meeting
yesterday at IETF 79 in Beijing, I think we've got a good core group of
people who want to work on solutions here, so if you are interested in
the topic please join the list:

https://www.ietf.org/mailman/listinfo/sixpac

Thanks!

Peter

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




--------------ms030103010409030504010702
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/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBot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yahoo.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 7096E28C0E9 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 08:34:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 h9B-SuUOcGtR for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 08:34:21 -0800 (PST)
Received: from nm3-vm0.bullet.mail.in.yahoo.com (nm3-vm0.bullet.mail.in.yahoo.com [121.101.151.212]) by core3.amsl.com (Postfix) with SMTP id C757B3A6A8E for <xmpp@ietf.org>; Thu, 11 Nov 2010 08:34:20 -0800 (PST)
Received: from [121.101.151.238] by nm3.bullet.mail.in.yahoo.com with NNFMP; 11 Nov 2010 16:34:48 -0000
Received: from [121.101.151.235] by tm3.bullet.mail.in.yahoo.com with NNFMP; 11 Nov 2010 16:34:48 -0000
Received: from [127.0.0.1] by omp1004.mail.in.yahoo.com with NNFMP; 11 Nov 2010 16:35:16 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 467039.67390.bm@omp1004.mail.in.yahoo.com
Received: (qmail 83259 invoked by uid 60001); 11 Nov 2010 16:34:45 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289493285; bh=BXcAviVROEcfKE8ucggLjnUPCxxD6S/NpXH+4GPpWz0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UBg0ILdEETwK8Frs6dYlLPP+fYGYfNgw/L8uksBll2xMDIh63xM9+pWfw52i9eeK0uQRWeodrNUWLHj5Y3sEKFz3Th8hW91dCSBvh8wV4CkeSLZH5ZYPSRdVZiI/RtgH5c1/qN3Gh6mp8dM62bQpcO1GkKNdtJWJ32JZVEYBocE=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IOqj+Hk/sfRYa/yB4gLI5VRxYmCy0vN+qmR905gKao7MXMtdqYSAqn3mFFMkTZLvzvBg2kg6IP+HpH7gKIDFW3Olu3iwe1wt8zXE0FmpwlpX3TpwKfQmcQE0+wfis2WaZMiW7YXklAE2IfG29erh07w5uPnSdRwZkmHZVgTqtbY=;
Message-ID: <353294.81749.qm@web95413.mail.in2.yahoo.com>
X-YMail-OSG: Tf7WtsoVM1liUOznEpBqzk4.zEEtUY.pfXhDOIsr.ZMjOYn pGfaoevcPx6tdRiw6Usd7YoPW5YrNYWymk1YtoBOMtzDIF3ZjIfqvwv7JnSd bhiTvNoJYVJlJ5v8riE9SgpJF1Wv4MRuyExlBUHYERqlKlnHLiD2Sk8lfIxN OSYGoSOd0Uomtx39ptdi7qnqgDIkvriSSlpSNktIQpJQTdkM_WXVlvGQv6E7 JmFOk47SvDnCq5Jn8eC4SH1.1PswLLGw.x552a48kfw.UqDPtg52T36PxI6g Mg.kWvDBXLgIS5mwhKypnqSc1YXSxKP5i7OU6t5GlRw--
Received: from [122.167.84.118] by web95413.mail.in2.yahoo.com via HTTP; Thu, 11 Nov 2010 22:04:44 IST
X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.285259
Date: Thu, 11 Nov 2010 22:04:44 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: xmpp@ietf.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: [xmpp] "re-scope" of xmpp stanza's
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, 11 Nov 2010 16:34:22 -0000

Hi all,=0A=0A=0A  Are there are rules regarding re-scoping of xmpp stanza f=
rom jabber:client =0Ato jabber:server or vice versa ? I did not find much e=
laboration in 3920 or =0A3920bis.=0A(Assuming I am not missing some general=
 document !).=0A=0AI am thinking of scenarios which include :=0A=0Aa) Expli=
cit namespace prefix whose uri which matches the default stream =0Anamespac=
e=0AExample:=0A=0A   <stream:stream        from=3D'juliet@im.example.com'  =
      to=3D'im.example.com'        =0Aversion=3D'1.0'        xml:lang=3D'en=
'        xmlns=3D'jabber:client'        =0Axmlns:stream=3D'http://etherx.ja=
bber.org/streams'>=0A...=0A      <iq myns:to=3D"im.remote.net" xmlns:myns=
=3D'jabber:client' type=3D'get'>       =0A<myns:query><myns:my_tag>custom_d=
ata</myns:my_tag></myns:query>=0A     </iq>=0A=0AIf this is to be forwarded=
 over from a C2S to an S2S, what rules apply - what =0A'parts' of the xml s=
tanza should be "re-scoped" and what cant be ?=0A=0A=0A=0Ab) Explicit names=
pace specified at each level in the xml stanza.=0A=0A     <myns1:iq myns1:t=
o=3D"im.remote.net" xmlns:myns1=3D'jabber:client' type=3D'get'>       =0A<m=
yns2:query xmlns:myns2=3D'jabber:client'><myns3:my_tag xmlns:myns3=3D'jabbe=
r:client'>custom_data</myns3:my_tag></myns2:query>=0A=0A     </myns1:iq>=0A=
=0A=0AAnd possibly other variations of the two above I guess and more ...=
=0A=0A=0AThanks,=0AMridul=0A=0A

From ibc@aliax.net  Thu Nov 11 11:25:03 2010
Return-Path: <ibc@aliax.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 5C1403A68BD for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 11:25:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level: 
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 CRiWG58-l4K0 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 11:25:01 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id B91093A6853 for <xmpp@ietf.org>; Thu, 11 Nov 2010 11:25:01 -0800 (PST)
Received: by vws8 with SMTP id 8so263481vws.31 for <xmpp@ietf.org>; Thu, 11 Nov 2010 11:25:32 -0800 (PST)
MIME-Version: 1.0
Received: by 10.229.212.82 with SMTP id gr18mr1065531qcb.177.1289503531865; Thu, 11 Nov 2010 11:25:31 -0800 (PST)
Received: by 10.229.48.196 with HTTP; Thu, 11 Nov 2010 11:25:31 -0800 (PST)
In-Reply-To: <4CDB4FAC.7000209@stpeter.im>
References: <4CDB4FAC.7000209@stpeter.im>
Date: Thu, 11 Nov 2010 20:25:31 +0100
Message-ID: <AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@mail.gmail.com>
From: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] new list for SIXPAC (SIP Interworking with XMPP in Presence Aware Clients)
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, 11 Nov 2010 19:25:03 -0000

2010/11/11 Peter Saint-Andre <stpeter@stpeter.im>:
> Folks, I've created a new mailing list sixpac@ietf.org for discussion
> about dual-stack SIP/XMPP user agents. Based on a breakfast meeting
> yesterday at IETF 79 in Beijing, I think we've got a good core group of
> people who want to work on solutions here, so if you are interested in
> the topic please join the list:
>
> https://www.ietf.org/mailman/listinfo/sixpac

Interesting. So I'm not the only want thinking that SIMPLE specs are bad.
I would like to know what IETF-SIMPLE people thinks about the demand
of such kind of solutions (SIP for voice + XMPP for IM/presence) as,
in their opinnion, SIMPLE is much better than XMPP.


--=20
I=C3=B1aki Baz Castillo
<ibc@aliax.net>

From ibc@aliax.net  Thu Nov 11 14:00:20 2010
Return-Path: <ibc@aliax.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 5CAE73A6954 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:00:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level: 
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 sQjHFLZn-GUs for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:00:19 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id A76643A6907 for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:00:19 -0800 (PST)
Received: by qyk31 with SMTP id 31so328861qyk.10 for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:00:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.229.184.13 with SMTP id ci13mr1173121qcb.253.1289512847174; Thu, 11 Nov 2010 14:00:47 -0800 (PST)
Received: by 10.229.48.196 with HTTP; Thu, 11 Nov 2010 14:00:47 -0800 (PST)
In-Reply-To: <AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@mail.gmail.com>
References: <4CDB4FAC.7000209@stpeter.im> <AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@mail.gmail.com>
Date: Thu, 11 Nov 2010 23:00:47 +0100
Message-ID: <AANLkTim0OkgStY++o45JhePAHUj6ZX6d0qrXYFF1ePoX@mail.gmail.com>
From: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] new list for SIXPAC (SIP Interworking with XMPP in Presence Aware Clients)
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, 11 Nov 2010 22:00:20 -0000

2010/11/11 I=C3=B1aki Baz Castillo <ibc@aliax.net>:
> So I'm not the only want

I meant  "the only one" :)

--=20
I=C3=B1aki Baz Castillo
<ibc@aliax.net>

From stpeter@stpeter.im  Thu Nov 11 14:15: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 509423A6407 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:15:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.41
X-Spam-Level: 
X-Spam-Status: No, score=-102.41 tagged_above=-999 required=5 tests=[AWL=-0.111, 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 Y0ryR7k87zFY for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:15:22 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 4D39F3A67AB for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:15:22 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 40A4840BB9; Thu, 11 Nov 2010 15:25:18 -0700 (MST)
Message-ID: <4CDC6B13.50003@stpeter.im>
Date: Fri, 12 Nov 2010 06:15:47 +0800
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: =?UTF-8?B?ScOxYWtpIEJheiBDYXN0aWxsbw==?= <ibc@aliax.net>
References: <4CDB4FAC.7000209@stpeter.im> <AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@mail.gmail.com>
In-Reply-To: <AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@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="------------ms000706080205000905060209"
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] new list for SIXPAC (SIP Interworking with XMPP in Presence Aware Clients)
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, 11 Nov 2010 22:15:23 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 3:25 AM, I=C3=B1aki Baz Castillo wrote:
> 2010/11/11 Peter Saint-Andre <stpeter@stpeter.im>:
>> Folks, I've created a new mailing list sixpac@ietf.org for discussion
>> about dual-stack SIP/XMPP user agents. Based on a breakfast meeting
>> yesterday at IETF 79 in Beijing, I think we've got a good core group o=
f
>> people who want to work on solutions here, so if you are interested in=

>> the topic please join the list:
>>
>> https://www.ietf.org/mailman/listinfo/sixpac
>=20
> Interesting. So I'm not the only want thinking that SIMPLE specs are ba=
d.
> I would like to know what IETF-SIMPLE people thinks about the demand
> of such kind of solutions (SIP for voice + XMPP for IM/presence) as,
> in their opinnion, SIMPLE is much better than XMPP.

Pointing fingers is out of scope for the sixpac effort. :)

Peter

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




--------------ms000706080205000905060209
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/telEFj5rD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ibc@aliax.net  Thu Nov 11 14:26:46 2010
Return-Path: <ibc@aliax.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 30AA03A693B for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:26:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level: 
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 3hWR5oVnuMFg for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:26:45 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 49EE63A68AD for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:26:42 -0800 (PST)
Received: by qwb7 with SMTP id 7so2495791qwb.31 for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:27:13 -0800 (PST)
MIME-Version: 1.0
Received: by 10.229.192.76 with SMTP id dp12mr1256475qcb.63.1289514432933; Thu, 11 Nov 2010 14:27:12 -0800 (PST)
Received: by 10.229.48.196 with HTTP; Thu, 11 Nov 2010 14:27:12 -0800 (PST)
In-Reply-To: <4CDC6B13.50003@stpeter.im>
References: <4CDB4FAC.7000209@stpeter.im> <AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@mail.gmail.com> <4CDC6B13.50003@stpeter.im>
Date: Thu, 11 Nov 2010 23:27:12 +0100
Message-ID: <AANLkTi=KRtb1pZ4Z-SpsaTAyifkQzyUs5sH1+4N=21vu@mail.gmail.com>
From: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] new list for SIXPAC (SIP Interworking with XMPP in Presence Aware Clients)
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, 11 Nov 2010 22:26:46 -0000

2010/11/11 Peter Saint-Andre <stpeter@stpeter.im>:
>> Interesting. So I'm not the only want thinking that SIMPLE specs are bad=
.
>> I would like to know what IETF-SIMPLE people thinks about the demand
>> of such kind of solutions (SIP for voice + XMPP for IM/presence) as,
>> in their opinnion, SIMPLE is much better than XMPP.
>
> Pointing fingers is out of scope for the sixpac effort. :)

Sure :)

BTW I would like to know if people here (in XMPP world) knows SIMPLE
and what they think about it.
IMHO SIMPLE (in presence area) is a crazy and over-enginered
specification (people reading IETF-SIMPLE probably know my opinion),
but I would really appreciate the opinion of people involved in XMPP.

Who does demand the creation of sixpac to join SIP and XMPP? why
SIMPLE is not valid for them?

I'm not alone XD

Regards.

--=20
I=C3=B1aki Baz Castillo
<ibc@aliax.net>

From stpeter@stpeter.im  Thu Nov 11 14:35: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 69F203A6A69 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:35:22 -0800 (PST)
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.110, 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 xlBuKaMdQc42 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:35:21 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 22EF43A6A4E for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:35:21 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D690040BB9; Thu, 11 Nov 2010 15:45:17 -0700 (MST)
Message-ID: <4CDC6FC4.10608@stpeter.im>
Date: Fri, 12 Nov 2010 06:35:48 +0800
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: =?UTF-8?B?ScOxYWtpIEJheiBDYXN0aWxsbw==?= <ibc@aliax.net>
References: <4CDB4FAC.7000209@stpeter.im>	<AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@mail.gmail.com>	<4CDC6B13.50003@stpeter.im> <AANLkTi=KRtb1pZ4Z-SpsaTAyifkQzyUs5sH1+4N=21vu@mail.gmail.com>
In-Reply-To: <AANLkTi=KRtb1pZ4Z-SpsaTAyifkQzyUs5sH1+4N=21vu@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="------------ms000700080808030703000000"
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] new list for SIXPAC (SIP Interworking with XMPP in Presence Aware Clients)
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, 11 Nov 2010 22:35:22 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 6:27 AM, I=C3=B1aki Baz Castillo wrote:
> 2010/11/11 Peter Saint-Andre <stpeter@stpeter.im>:
>>> Interesting. So I'm not the only want thinking that SIMPLE specs are =
bad.
>>> I would like to know what IETF-SIMPLE people thinks about the demand
>>> of such kind of solutions (SIP for voice + XMPP for IM/presence) as,
>>> in their opinnion, SIMPLE is much better than XMPP.
>>
>> Pointing fingers is out of scope for the sixpac effort. :)
>=20
> Sure :)
>=20
> BTW I would like to know if people here (in XMPP world) knows SIMPLE
> and what they think about it.
> IMHO SIMPLE (in presence area) is a crazy and over-enginered
> specification (people reading IETF-SIMPLE probably know my opinion),
> but I would really appreciate the opinion of people involved in XMPP.

I've never been one to cast stones, and I think this is off-topic for
the XMPP WG list. We've got plenty of work to do without tangents about
non-XMPP technologies.

> Who does demand the creation of sixpac to join SIP and XMPP? why
> SIMPLE is not valid for them?

Feel free to join the sixpac list and ask folks there. But realize that
the sixpac folks have plenty of work to do and are focused on building
positive solutions, not complaining about any given technology.

Peter

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




--------------ms000700080808030703000000
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/BAQDAgEGMB0GA1Ud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w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCExLk8e9EWgdDjEQmOLP8dfoWHD2JAAYEe5hzciT6+yJxzPYFK4PLNzoiM
qSIQdSQe9VPpBUXOBo6VVDFxV9at9gbx0wauez4KaD0peoY2S/FixKTYgT/eB0xM856s38Oq
SLUThcaQb9W8Qt5vOTArGUzSIQpAU7Aw8x+7M/ePkt0X9qzoFuzj6FBHIiSVm7PYCfMcjROy
h/o+9nAozFlZQl23buUtZJmPtceYMBTbhf5dmvcougIC+EzJlXNNMvk7nD7/AHFewXXW5J72
2TC2AWLlEbbAGMRpYwtxRtJXYuyRkChijWRElq2cHIXDRHND/csgyQdZrt4u5KKRb5S6AAAA
AAAA
--------------ms000700080808030703000000--

From ibc@aliax.net  Thu Nov 11 14:39:38 2010
Return-Path: <ibc@aliax.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 D5BE23A6407 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:39:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level: 
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 NHPr2FE1kdPw for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 14:39:29 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 789F83A6A87 for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:38:58 -0800 (PST)
Received: by qwb7 with SMTP id 7so2506106qwb.31 for <xmpp@ietf.org>; Thu, 11 Nov 2010 14:39:09 -0800 (PST)
MIME-Version: 1.0
Received: by 10.229.227.12 with SMTP id iy12mr1241202qcb.101.1289515149243; Thu, 11 Nov 2010 14:39:09 -0800 (PST)
Received: by 10.229.48.196 with HTTP; Thu, 11 Nov 2010 14:39:09 -0800 (PST)
In-Reply-To: <4CDC6FC4.10608@stpeter.im>
References: <4CDB4FAC.7000209@stpeter.im> <AANLkTikdbH4cYDzFAk6D=qETr49hAyX0ftwdOdqhL43d@mail.gmail.com> <4CDC6B13.50003@stpeter.im> <AANLkTi=KRtb1pZ4Z-SpsaTAyifkQzyUs5sH1+4N=21vu@mail.gmail.com> <4CDC6FC4.10608@stpeter.im>
Date: Thu, 11 Nov 2010 23:39:09 +0100
Message-ID: <AANLkTimVdQooAT2dqWZibm1fnGQ7Fi4bXSjb7W6eLzWQ@mail.gmail.com>
From: =?UTF-8?Q?I=C3=B1aki_Baz_Castillo?= <ibc@aliax.net>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] new list for SIXPAC (SIP Interworking with XMPP in Presence Aware Clients)
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, 11 Nov 2010 22:39:38 -0000

2010/11/11 Peter Saint-Andre <stpeter@stpeter.im>:
> I've never been one to cast stones, and I think this is off-topic for
> the XMPP WG list. We've got plenty of work to do without tangents about
> non-XMPP technologies.

Sure, you are 100% right. I'm sorry.

Regards.



--=20
I=C3=B1aki Baz Castillo
<ibc@aliax.net>

From stpeter@stpeter.im  Thu Nov 11 17:53: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 EE13128C142 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 17:53:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.259
X-Spam-Level: 
X-Spam-Status: No, score=-102.259 tagged_above=-999 required=5 tests=[AWL=-0.260, 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 Oz0PyUszmmm3 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 17:53:12 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 627B63A67EE for <xmpp@ietf.org>; Thu, 11 Nov 2010 17:53:12 -0800 (PST)
Received: from dhcp-73e4.meeting.ietf.org (dhcp-73e4.meeting.ietf.org [130.129.115.228]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5E06B40BB9 for <xmpp@ietf.org>; Thu, 11 Nov 2010 19:03:10 -0700 (MST)
Message-ID: <4CDC9E22.1090102@stpeter.im>
Date: Fri, 12 Nov 2010 09:53:38 +0800
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: xmpp@ietf.org
References: <353294.81749.qm@web95413.mail.in2.yahoo.com>
In-Reply-To: <353294.81749.qm@web95413.mail.in2.yahoo.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="------------ms020403060607040900090208"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 12 Nov 2010 01:53:14 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 12:34 AM, Mridul Muralidharan wrote:
> Hi all,
>=20
>=20
>   Are there are rules regarding re-scoping of xmpp stanza from jabber:c=
lient=20
> to jabber:server or vice versa ? I did not find much elaboration in 392=
0 or=20
> 3920bis.
> (Assuming I am not missing some general document !).

Section 4.7.5 of 3920bis says:

      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').

If you think more needs to be said, please propose text very soon
because the comment window is closed. I think the current text is fine
and everything else is a matter of implmentation, but you might disagree.=


> I am thinking of scenarios which include :
>=20
> a) Explicit namespace prefix whose uri which matches the default stream=
=20
> namespace

Disallowed. Section 4.7.4 of 3920bis states:

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

> b) Explicit namespace specified at each level in the xml stanza.
>=20
>      <myns1:iq myns1:to=3D"im.remote.net" xmlns:myns1=3D'jabber:client'=
 type=3D'get'>      =20
> <myns2:query xmlns:myns2=3D'jabber:client'><myns3:my_tag xmlns:myns3=3D=
'jabber:client'>custom_data</myns3:my_tag></myns2:query>
>=20
>      </myns1:iq>

Such data is preserved, because Section 8.4 of 3920bis states:

   If a server handles a stanza that is intended for delivery to another
   entity and that contains a child element it does not understand, it
   MUST route the stanza unmodified to a remote server or deliver the
   stanza unmodified to a connected client associated with a local
   account.

Peter

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




--------------ms020403060607040900090208
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
BjQwggQcoAMCAQICASMwDQ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nRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBtr6g0QG5saNpWvqXc3TaB3UlYZWMaCfa4Qakj8f884wbnHZqo9KL5mYWr
9jMXHkQj/beiK4GP8AN1eVQiNzylSUiDz1oy8P6oJGlLhIfbm1OQKoTwX/znDk1vr4Qdztes
E9f+xyxBfFnXNTMWCEXyQajXMpxJ5N0INIEbGCRSFde2E24iAKDmp1GPgRYGPiJWO6FrDIls
iW7dqz1le4BkH1KGs+liPK0NQ/2iBSku+mw5QSzRewxbtWoQAnvlvYv5fdBlIuQegpbUihvw
l3g1yPaYv5NI2p5+wfOFfqy1sV7I7GdBcMJfMBS2UKSbbrpFAkl9FZt75k1J3G567sHYAAAA
AAAA
--------------ms020403060607040900090208--

From Jeff.Hodges@KingsMountain.com  Thu Nov 11 18:11:23 2010
Return-Path: <Jeff.Hodges@KingsMountain.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 6506528C14B for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 18:11:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -99.461
X-Spam-Level: 
X-Spam-Status: No, score=-99.461 tagged_above=-999 required=5 tests=[AWL=2.204, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, 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 tqWkVMAw7yHm for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 18:11:21 -0800 (PST)
Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by core3.amsl.com (Postfix) with SMTP id E6F7628C10B for <xmpp@ietf.org>; Thu, 11 Nov 2010 18:11:20 -0800 (PST)
Received: (qmail 24622 invoked by uid 0); 12 Nov 2010 02:11:52 -0000
Received: from unknown (HELO box514.bluehost.com) (74.220.219.114) by cpoproxy3.bluehost.com with SMTP; 12 Nov 2010 02:11:52 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=kingsmountain.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding:X-Identified-User; b=bcrwbEy3ww1uL2xdbS24q6cW2CndG97H1BDMcDg37CCEQ7oQybuvIV5aw/jcMZe2zV3GyhEX5ml0kuupWDHeKkXsiP+VXp+f9oW7PtLy3b0nAxKP10IjNnevlZNk8caf;
Received: from dhcp-4d0d.meeting.ietf.org ([130.129.77.13]) by box514.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from <Jeff.Hodges@KingsMountain.com>) id 1PGj7H-0001dk-Lp; Thu, 11 Nov 2010 19:11:52 -0700
Message-ID: <4CDCA262.6060709@KingsMountain.com>
Date: Thu, 11 Nov 2010 18:11:46 -0800
From: =JeffH <Jeff.Hodges@KingsMountain.com>
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
MIME-Version: 1.0
To: IETF cert-based identity <certid@ietf.org>,  XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Identified-User: {11025:box514.bluehost.com:kingsmou:kingsmountain.com} {sentby:smtp auth 130.129.77.13 authed with jeff.hodges+kingsmountain.com}
Subject: Re: [xmpp] accommodating server-to-server (was: 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: Fri, 12 Nov 2010 02:11:23 -0000

On Tue, 09 Nov 2010, PeterSA replied:
 >
 > On 11/6/10 5:33 AM, =JeffH wrote:
 >>
 >> Peter Saint-Andre replied:
 >>>
 >>> Philipp Hancke replied:
 >>>
 >>>> Peter Saint-Andre wrote:
 >>>>>
 >>>>>     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
 >>>>
 >>>> s/TLS client/TLS server/
 >>>
 >>> In XMPP at least, if Romeo's personal server (montague.lit) attempts to
 >>> connect to Juliet's personal server (capulet.lit), he asserts to her
 >>> that he is montague.lit and she takes that as her reference identifier.
 >>> Thus her server is acting as a TLS client in relation to the presented
 >>> identifiers in the certificate that Romeo's personal server provides.
 >>> This is what's distinctive about the server-to-server case -- an
 >>> application service is acting as a TLS client.
 >>>
 >>> ...
 >>>
 >>>> I think it is not clear who is verifying
 >>>
 >>> If you try to connect to me, I'm going to verify you -- even if I'm an
 >>> XMPP server.
 >>>
 >>>> (probably because both parties
 >>>> are for xmpp-s2s).
 >>>
 >>> Yes, ideally the verification happens in both directions.
 >>
 >>
 >> To me, what Peter wrote in the proposed "Note:" is confusing because it
 >> is labeling an entity as a "TLS client" that is not a TLS client in the
 >> TLS protocol sense -- it is playing the TLS server role, and is only
 >> behaving as a "TLS client" would in the sense of verifying the entity at
 >> the other end of the incoming connection.
 >
 > You're right. I've scrubbed mention of "TLS client" from that paragraph:
 >
 >       Note: In some application protocols that support server-to-server
 >       communication (e.g., XMPP), the procedure described in this
 >       section can be performed by an application server acting when
 >       verifying an incoming server-to-server connection, not only by an
 >       application client when verifying the server with which it is
 >       interacting to establish an outgoing client-to-server connection.
 >       In this case, the application server verifies the identity of the
 >       peer server that is attempting to connect and uses as its
 >       reference identifier the DNS domain name asserted 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 reversal of roles, the verification
 >       process remains unchanged.


great, thx, that works for me and seems much clearer.


 >> In this case we ostensibly have the "peer server" -- legitimately acting
 >> as a TLS client -- presenting its certificate during the TLS handshake,
 >> and thus the application service is obliged to perform the same checks
 >> on the peer server's asserted identity, as an actual TLS client performs
 >> on asserted app service identity.
 >>
 >> yes?
 >
 > Yes.

good, we're on same page.


 >> If so, it seems we're linguistically standing on our heads here trying
 >> to shoehorn the notion of "verification of client identity (by the app
 >> service)" into section 4 "Verification of Service Identity".
 >
 > By "service" here we're talking about an application service, not a TLS
 > server. In the server-to-server scenario, we're talking about one
 > application service verifying the identity of a peer service.

Ok.


 >> I propose that we need to perhaps have a separate section for the former
 >> and figure out how to refactor the more detailed section 4 subsections
 >> such that we don't have to needlessly repeat text.
 >
 > I don't particularly want to do a lot of refactoring on this I-D to
 > incorporate the server-to-server case. Perhaps this note belongs in
 > documents that re-use the server-id-check methodology -- e.g., we could
 > add it to draft-ietf-xmpp-3920bis for the XMPP case.

Ok, good idea.


 >> It also seems we ought to do this in a general fashion such that its
 >> applicable for any TLS server processing an inbound connection where the
 >> client elects to assert its identity (eg by presenting a cert).
 >
 > I think that's out of scope for this I-D, and we already say so in
 > Section 1.4.2.

ah ha, yes, you're correct, nevermind.

thanks,


=JeffH




From stpeter@stpeter.im  Thu Nov 11 18:57:39 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 9877D3A6943 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 18:57:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.555
X-Spam-Level: 
X-Spam-Status: No, score=-102.555 tagged_above=-999 required=5 tests=[AWL=0.044, 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 meqtBEARnR+E for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 18:57:38 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C16413A6932 for <xmpp@ietf.org>; Thu, 11 Nov 2010 18:57:38 -0800 (PST)
Received: from dhcp-73e4.meeting.ietf.org (dhcp-73e4.meeting.ietf.org [130.129.115.228]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 0DC9B40BB9 for <xmpp@ietf.org>; Thu, 11 Nov 2010 20:07:36 -0700 (MST)
Message-ID: <4CDCAD3C.4060804@stpeter.im>
Date: Fri, 12 Nov 2010 10:58:04 +0800
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: 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="------------ms010406000505060606010307"
Subject: [xmpp] 3921bis: security note about roster pushes
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, 12 Nov 2010 02:57:39 -0000

This is a cryptographically signed message in MIME format.

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

During discussions in Beijing, Joe Hildebrand mentioned to me that we're
missing a security note in 3921bis about client handling of roster
pushes, which might come from entities other than the server now that
we've removed special-casing of roster information by the server.
Therefore I propose adding the following note to Section 2.1.6 of 3920bis=
:

      Security Note: Traditionally, a roster push included no 'from'
      address, with the result that all roster pushes were sent
      implicitly from the bare JID of the account itself.  However, this
      specification allows entities other than the user's server to
      maintain roster information, which means that a roster push might
      include a 'from' address other than the bare JID of the user's
      account.  Therefore, the client MUST check the 'from' address to
      verify that the sender of the roster push is authorized to update
      the roster.  If the client receives a roster push from an
      unauthorized entity, it MUST NOT process the pushed data; in
      addition, the client can either return a stanza error of <service-
      unavailable/> error or refuse to return a stanza error at all (the
      latter behavior overrides a MUST-level requirement from
      [XMPP-CORE] for the purpose of preventing a presence leak).

/psa



--------------ms010406000505060606010307
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
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZS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DELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB30HaO5t5NqmqH3E36s0QhqYhWWZSaR1alBW8nmVm2yaKBKoBeM4a+dt8S
XdVh7jyVKnQjIMbDgbxMjp6KqQfDv+jpRclW0wZUhd6jyY8OnS06nhLnMoRH4eNDy22sV0Io
i5B2WeFKPFoUfAOKcay8ZPFRTSb1LgAZzHVexykdXpi6Wzt1nYBzbtTjTt6UDpGmha6RjEV/
jb6NghtHD1qA8lc3P+OA1tMvjN2FbvL1sVLSlJJqF24k0r1hE3VVqF0bRJKJPXmi+QiGDdZw
7ZOAatr+b3jW/H7Jq8d6yjWF9ehfxnhRJJ6XfyO6c/3X9xINqpTWOqpDuSA4w2KaNYVjAAAA
AAAA
--------------ms010406000505060606010307--

From paul@darkrain42.org  Thu Nov 11 21:20: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 70A363A6979 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:20:32 -0800 (PST)
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 JOxSglHmGmcx for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:20:23 -0800 (PST)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id F0C5A3A6916 for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:20:22 -0800 (PST)
Received: from [192.168.1.150] (c-24-19-135-94.hsd1.wa.comcast.net [24.19.135.94]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id 4E021806D for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:20:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1289539253; bh=zSzKbovpri/i/RcE+zH+Nm4IVGQxl8jVE4RRuycgWHc=; l=1422; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding: DomainKey-Signature; b=b3nGB7ugob5PddJ8RnI8aAmK5s7NK8ArhgkiX8VxzUQx9LXl/bo7VEp+454lT2sTW lmd4NkdeVMdexDAH//z63nhIz9m6Mxuv7HT0PNPXU95gxKNNnouKZ+yjVI52dRPT58 V++EV5DAcAX3VpPzyikQvlPOdwMb3R+0JNJ9x5oS0nfAhA2Jehla/cAIRft/o0/P9C DBo4xT9XgBk9DlZpF4wv7W8LBtQh7IKbbT/svHL/LPDAiKwiiUigELpe9SARbjCF0V ABxqQuiz+LX0YosflkEGLr5klfL/UZpX6X4vIJBx2lSg4FsXHdTcjpsKvFLmens8a/ yvG3DE40QtFUg==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=k+lgJH8uPvwL/H2SRZ1dXGjph8R7BPM7r7W6lHSat8GgyhcMxfvaOUrldMmmyPY40 hFUkMwjZCm4E4KeQpeDxcwnzgRWwsQFA9vMZZ9tMaO7tnjhsYAzWs0zSJim2GyF0fz9 U2dnvzUc1wgIsOuEqomFpvnSHdNkZT71yIVhXyNeHLZ6QSG6SM2UmWd0Vg0qBI6MXtu MYPRP8FD7LVZ6MTkXA9qNFWES091poCvqPy1wLf6WQLCzf7dVT1VfiMoHZBGvdnA2RM daP/lLZsjEIlxiCrUe2fvURW5pjHbjhDE64676ZnsG4zzLvncl5MTABzA6W50qIgtSA ETQb9ygJw==
Message-ID: <4CDCCEB3.10100@darkrain42.org>
Date: Thu, 11 Nov 2010 21:20:51 -0800
From: Paul Aurich <paul@darkrain42.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20090105 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
To: XMPP <xmpp@ietf.org>
References: <4CDCAD3C.4060804@stpeter.im>
In-Reply-To: <4CDCAD3C.4060804@stpeter.im>
X-Enigmail-Version: 1.0.1
OpenPGP: id=A6FB30F7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 3921bis: security note about roster pushes
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, 12 Nov 2010 05:20:32 -0000

And Peter Saint-Andre spoke on 11/11/2010 06:58 PM, saying:
> During discussions in Beijing, Joe Hildebrand mentioned to me that we're
> missing a security note in 3921bis about client handling of roster
> pushes, which might come from entities other than the server now that
> we've removed special-casing of roster information by the server.
> Therefore I propose adding the following note to Section 2.1.6 of 3920bis:

3921bis, I hope :)

> 
>       Security Note: Traditionally, a roster push included no 'from'
>       address, with the result that all roster pushes were sent
>       implicitly from the bare JID of the account itself.  However, this
>       specification allows entities other than the user's server to
>       maintain roster information, which means that a roster push might
>       include a 'from' address other than the bare JID of the user's
>       account.  Therefore, the client MUST check the 'from' address to
>       verify that the sender of the roster push is authorized to update
>       the roster.  If the client receives a roster push from an
>       unauthorized entity, it MUST NOT process the pushed data; in
>       addition, the client can either return a stanza error of <service-
>       unavailable/> error or refuse to return a stanza error at all (the
>       latter behavior overrides a MUST-level requirement from
>       [XMPP-CORE] for the purpose of preventing a presence leak).
> 
> /psa
> 

Seems reasonable to me.

~Paul

From paul@darkrain42.org  Thu Nov 11 21:25:22 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 950783A6A87 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:25:22 -0800 (PST)
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 wTCMUERJPW47 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:25:14 -0800 (PST)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id 555303A6982 for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:25:14 -0800 (PST)
Received: from [192.168.1.150] (c-24-19-135-94.hsd1.wa.comcast.net [24.19.135.94]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id BBD5A8054 for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:25:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1289539543; bh=tRxhsZc1Z2MCQV7551w9ohkE0EDQlXfKEZzqrWLKPL8=; l=2247; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: DomainKey-Signature; b=oBNdDQomjzpiIIv/XEQS9AUqOYIcv1SiIPPkCf3qLfZ6pXw6rutAmElMl38RAhm2x nRQPrevzMxYhg9tvdHnEMnVOh2KOBtyZW73pfsf3921cPHqPY1mEjanC5zQQ+HZJnN 06eo4t7tynIhVyNcyguE9iq338WW6VGzMV0f5StE2oCc9ex8UbEYEVAzOf35yKXSj+ YZZV096k/bI/CRDEMkgPkm1KBBtyaGjBoGU7HDWVSHmmShnlQrn656b9mJbOo6/8cm H5tQyOVKoqRNl8+IYj+oxonYIA96+7h+2VH0LPefcokSHeAKUycSDyACpETZvQIgvh qrCTaSWhsmffg==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=Gvbk+z3PvQja3Gx8T9JL86JE1Avua6epZ+OxtBQf3VsqNp3kg70y9aACsqKN3iec7 feTLDs69xSJHtINJKkQTm0KiT7BobnevuneJ7vsGIPvf4lkgl2K+iJ8B29DlVOyxsAk avyRCmoANQeYqQ2Ev9EoK7+n8lA3EKmCKTGXM33YKYvbziNXtMLibBQGJ2pNfq2tiGk 1r6N8VVrxARoFKG4Pbzyf9kr7RaSfQqbaJrfbcRgjuA3iny38xTYadyMiBz3mqDcAu7 4y02JuqKNIdtaryH8qE33JUw7SHD9HBdfmKKGSkL5hM0gFosJZP8HIT1Q7/9jc4T0XN 49MMyoISQ==
Message-ID: <4CDCCFD3.7010308@darkrain42.org>
Date: Thu, 11 Nov 2010 21:25:39 -0800
From: Paul Aurich <paul@darkrain42.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20090105 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
To: XMPP Working Group <xmpp@ietf.org>
X-Enigmail-Version: 1.0.1
OpenPGP: id=A6FB30F7
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigC7CCC5795FEAE15A54E98427"
Subject: [xmpp] _xmpp-client SRV-ID type support
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, 12 Nov 2010 05:25:22 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigC7CCC5795FEAE15A54E98427
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

3920bis-18 13.7.1.2.1. reads, in part:
   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.

What exactly does it mean that a server needs to support the "_xmpp-clien=
t"
service type?  I read these sections as referencing what implementations
need to be able to validate, but I can't come up with circumstances under=

which a server would be validating an _xmpp-client asserted SRV-ID.

~Paul


--------------enigC7CCC5795FEAE15A54E98427
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 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJM3M/XAAoJEEkfeuGm+zD3zA4QALdA1veV1tYdiA4qVWZItcSR
CoSEvGo80bXjbHF8dbu3G1qrcX1Ri3RVuQST4AqrZqdWhsfAhAPQafTUGOK5oVVH
nT65E/NLBXZ+rQy44qEXqdEsrt8AyEFNnXod7yk+qPT5lgDSMv0A51komjKFRq5Z
Xz7v1z4gqITiJ6hfJWSFkgumIY2p9mbm6Ma8vsZRjUnbF8YEoBReRLTmcv8wRTTr
G/MeNvT5wuNMQHhUPJEo6HdE0wgjmtOVgXhiHdSlrkPbZ3JjUM4TOOwJHYAdX015
KDPXZ1Byuv0qyaG8XIjnR61jddshDmMe9Vh+uyhi5/24ZeVliFTW9YzrcX819e83
+YwquacObhUmKdayscY2YClCKkHsOCZ0oanvb9tUIEfRUBL/CaOaTe4WcgpguU9u
WRGwSN1TmNzh95LW/42q+RaSDWUT3FeP2M4IwplwfSNEQmSEt92KO9IyjWLswCdy
aQn9A0/DGtTvT9RwNbNFTMnc//Nf5VGmD8+PeV8IWDrAmrWJkaSCSAXhYjMufX2R
Rj9fvOJkqwT507n9dblYq9oWuudGP23Oe5ggYJSR1cLdECr9wqRSKaoKguCm7ZTV
b31OuAUhsbn0PrzE0rEw/P7xGHnrwu5FLpPeD88bVrJTvSZUTh3dpY701qjmHHLQ
IxMEtlQpDJ0SXHWi3306
=Czcl
-----END PGP SIGNATURE-----

--------------enigC7CCC5795FEAE15A54E98427--

From stpeter@stpeter.im  Thu Nov 11 21:25:43 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 4A9E33A6AA6 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:25:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.557
X-Spam-Level: 
X-Spam-Status: No, score=-102.557 tagged_above=-999 required=5 tests=[AWL=0.042, 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 yqc-ZxHW4sDQ for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:25:36 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 5822B3A6A87 for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:25:36 -0800 (PST)
Received: from dhcp-73e4.meeting.ietf.org (dhcp-73e4.meeting.ietf.org [130.129.115.228]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B37C140BB9 for <xmpp@ietf.org>; Thu, 11 Nov 2010 22:35:35 -0700 (MST)
Message-ID: <4CDCCFED.3060103@stpeter.im>
Date: Fri, 12 Nov 2010 13:26:05 +0800
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: xmpp@ietf.org
References: <4CDCAD3C.4060804@stpeter.im> <4CDCCEB3.10100@darkrain42.org>
In-Reply-To: <4CDCCEB3.10100@darkrain42.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="------------ms060608000802060609050907"
Subject: Re: [xmpp] 3921bis: security note about roster pushes
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, 12 Nov 2010 05:25:43 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 1:20 PM, Paul Aurich wrote:
> And Peter Saint-Andre spoke on 11/11/2010 06:58 PM, saying:
>> During discussions in Beijing, Joe Hildebrand mentioned to me that we'=
re
>> missing a security note in 3921bis about client handling of roster
>> pushes, which might come from entities other than the server now that
>> we've removed special-casing of roster information by the server.
>> Therefore I propose adding the following note to Section 2.1.6 of 3920=
bis:
>=20
> 3921bis, I hope :)

Yes. Too much multitasking...

>>       Security Note: Traditionally, a roster push included no 'from'
>>       address, with the result that all roster pushes were sent
>>       implicitly from the bare JID of the account itself.  However, th=
is
>>       specification allows entities other than the user's server to
>>       maintain roster information, which means that a roster push migh=
t
>>       include a 'from' address other than the bare JID of the user's
>>       account.  Therefore, the client MUST check the 'from' address to=

>>       verify that the sender of the roster push is authorized to updat=
e
>>       the roster.  If the client receives a roster push from an
>>       unauthorized entity, it MUST NOT process the pushed data; in
>>       addition, the client can either return a stanza error of <servic=
e-
>>       unavailable/> error or refuse to return a stanza error at all (t=
he
>>       latter behavior overrides a MUST-level requirement from
>>       [XMPP-CORE] for the purpose of preventing a presence leak).
>>
>> /psa
>>
>=20
> Seems reasonable to me.

Thanks.

Peter

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




--------------ms060608000802060609050907
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
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV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dGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBDrTpX3zzkbs1zHwhYSXmuAJrxMg929GG8bpiqYRIpSZ47Uk9cs146U4ug
3QXwiAaYB4O569j0fUS0YQughB5rJN2Ghs4dP16Gjm+vjVsF4nzB1e4a0Es0QJ4kZTp4Nt80
p60k3OUF3OQwXH7ejBayDHQ7mjDB9jLptwluYkEyGiM/hc8ILUgZXN1vNKiPFYWqG/nDEQx6
SOWK981Oc28KPcll9yC8CAb0w+6wW36CXw6R/qQHVYziqTrlQvG/UMeBxPt5A7tSKCjmjnA6
vntcvWRQdldaapaI0NsLU47jwQxK9GBTK+lbfVYgyprNiGxfodZJ0M5rVEuTISNmxZEzAAAA
AAAA
--------------ms060608000802060609050907--

From mridulm80@yahoo.com  Thu Nov 11 21:35:35 2010
Return-Path: <mridulm80@yahoo.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 AD5D03A6784 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:35:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 0WqXkdjf0FTU for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:35:28 -0800 (PST)
Received: from nm2-vm0.bullet.mail.in.yahoo.com (nm2-vm0.bullet.mail.in.yahoo.com [121.101.151.210]) by core3.amsl.com (Postfix) with SMTP id 87AE73A6943 for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:35:21 -0800 (PST)
Received: from [121.101.151.236] by nm2.bullet.mail.in.yahoo.com with NNFMP; 12 Nov 2010 05:35:48 -0000
Received: from [121.101.151.235] by tm1.bullet.mail.in.yahoo.com with NNFMP; 12 Nov 2010 05:35:53 -0000
Received: from [127.0.0.1] by omp1004.mail.in.yahoo.com with NNFMP; 12 Nov 2010 05:36:18 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 344547.48980.bm@omp1004.mail.in.yahoo.com
Received: (qmail 7430 invoked by uid 60001); 12 Nov 2010 05:35:48 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289540148; bh=dQ5NJYNKFQQoQuJMwuwFI4E+ytK1LdCjV3FkyHt+c/w=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fvva9nWmlHDng/ZPK+VKhk5nwS7paKbJfT6cQLKG0x7B2QDQRPL0mJz8TpdYEqEX9f8Qb38/nTDbBAWQZyWGY9o7HOiqR1IOl4+/hev3jfnCHNppivHReN3hFsQmk6XoGLEvPg6ErV4VPM0Z61KzBHZP/5K9XGwUXQd42s4qnAA=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ENfB/FVdGNiAkCvBzWif11SfPyL7gcbClX3XfVsKonzkDKPK6jSlsSAv+/3WW35Z7LHOFj2w3orsrx+dA2h2WESx4MNWe4jDGjBRbij7F7n2dM6OBiYVEnIybbhoJ3KZlkhpT2EHMcqc7+mFLCR1DjwnJ8CDBDgYRtrR/RG80rc=;
Message-ID: <159935.6489.qm@web95413.mail.in2.yahoo.com>
X-YMail-OSG: sgeryioVM1ktY2XKZfB7AlAWH1S5YN8gBxw2zQK05cSFy6b cSpTnZspw
Received: from [122.167.84.118] by web95413.mail.in2.yahoo.com via HTTP; Fri, 12 Nov 2010 11:05:47 IST
X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.285259
References: <353294.81749.qm@web95413.mail.in2.yahoo.com> <4CDC9E22.1090102@stpeter.im>
Date: Fri, 12 Nov 2010 11:05:47 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, xmpp@ietf.org
In-Reply-To: <4CDC9E22.1090102@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 12 Nov 2010 05:35:35 -0000

Hi Peter,=0A=0A=0A  Please see inline.=0A=0A=0ARegards,=0AMridul=0A=0A=0A=
=0A----- Original Message ----=0A> From: Peter Saint-Andre <stpeter@stpeter=
.im>=0A> To: xmpp@ietf.org=0A> Sent: Fri, 12 November, 2010 7:23:38 AM=0A> =
Subject: Re: [xmpp] "re-scope" of xmpp stanza's=0A> =0A> On 11/12/10 12:34 =
AM, Mridul Muralidharan wrote:=0A> > Hi all,=0A> > =0A> > =0A> >   Are ther=
e are rules regarding re-scoping of xmpp stanza  from jabber:client =0A>=0A=
> > to jabber:server or vice versa ? I did not find much  elaboration in 39=
20 or =0A=0A> > 3920bis.=0A> > (Assuming I am not missing some  general doc=
ument !).=0A> =0A> Section 4.7.5 of 3920bis says:=0A> =0A>        Implement=
ation Note: Because a client sends stanzas over a  stream=0A>       whose c=
ontent namespace is 'jabber:client', if  the server to which=0A>       the =
client is connected needs to  route a client-generated stanza=0A>       to =
another server then  it MUST "re-scope" the stanza so that its=0A>       co=
ntent  namespace is 'jabber:server' (i.e., it MUST NOT send a=0A>        st=
anza qualified by the 'jabber:client' namespace over a stream=0A>        wh=
ose content namespace is 'jabber:server').  Similarly, a  routing=0A>      =
 server MUST "re-scope" a stanza received over a  server-to-server=0A>     =
  stream (whose content namespace is  'jabber:server') so that the=0A>     =
  stanza is qualified by the  'jabber:client' namespace before=0A>       se=
nding it over a  client-to-server stream (whose content namespace=0A>      =
 is  'jabber:client').=0A> =0A> If you think more needs to be said, please =
propose text  very soon=0A> because the comment window is closed. I think t=
he current text is  fine=0A> and everything else is a matter of implmentati=
on, but you might  disagree.=0A=0A=0AIn the common case of :=0A=0A1) Only s=
tream namespace defined through xmlns as jabber:client/jabber:server.=0A2) =
No explicit stanza and attribute namespace specified.=0AThe rules above wil=
l work - which should actually cover most of the usecases =0Athankfully !=
=0AIt becomes a simple case of rescoping the stanza from jabber:client to =
=0Ajabber:server (and vice versa) and everything else will work as-is.=0A=
=0A=0ABut for a general case.=0A=0Aa) We need not have default namespace de=
fined for the stream (<client:stream =0Axmlns:client=3D"jabber:client"> ...=
 )=0A=0Ab) Explicitly specifying attribute namespace is not disallowed - so=
 how is it =0Asupposed to be handled when they have a different ns-name com=
pared to stanza.=0A(<client:iq  c:to=3D"server.net" xmlns:c=3D"jabber:clien=
t"> ... )=0A=0A[read in conjugation with http://www.w3.org/TR/REC-xml-names=
/#defaulting ].=0A=0A=0AIn these cases (or combinations thereof), how is re=
-scoping to be handled.=0AFor a jabber:client to jabber:server rescoping ca=
se, should we :=0A=0A1) Completely replace all occurance of 'jabber:client'=
 namespace in the stanza =0Aand all its children (down to the leaves) to 'j=
abber:server' ?=0A2) Only replace at the (top level) stanza for only the el=
ement nsname ?=0A3) Replace all jabber:client nsname's at the (top level) s=
tanza but not for the =0Achildren ?=0A=0A> =0A> > I am thinking of scenario=
s which include :=0A> > =0A> > a) Explicit namespace prefix whose uri which=
 matches the default stream =0A> > namespace=0A> =0A> Disallowed. Section 4=
.7.4 of 3920bis  states:=0A> =0A>    An implementation MUST NOT generate na=
mespace prefixes  for elements=0A>    qualified by the content namespace if=
 the content  namespace is=0A>    'jabber:client' or 'jabber:server'.=0A=0A=
=0ADoes this apply only to stream namespace or also to stanza namespace ?=
=0AIf both, then it answers this part of my query I guess.=0A=0AAs in:=0A=
=0A<client:stream xmlns:client=3D"jabber:client" ...>=0A...=0A<iq xmlns=3D"=
jabber:client" to=3D"server.net">=0A  <query />=0A</iq>=0A=0A=0A=0A> =0A> >=
 b)  Explicit namespace specified at each level in the xml stanza.=0A> > =
=0A> >      <myns1:iq myns1:to=3D"im.remote.net"  xmlns:myns1=3D'jabber:cli=
ent' =0A>type=3D'get'>      =0A>=0A> >  <myns2:query xmlns:myns2=3D'jabber:=
client'><myns3:my_tag  =0A>xmlns:myns3=3D'jabber:client'>custom_data</myns3=
:my_tag></myns2:query>=0A> > =0A> >      </myns1:iq>=0A> =0A> Such data is =
preserved,  because Section 8.4 of 3920bis states:=0A> =0A>    If a server =
handles a  stanza that is intended for delivery to another=0A>    entity an=
d that  contains a child element it does not understand, it=0A>    MUST rou=
te the  stanza unmodified to a remote server or deliver the=0A>    stanza u=
nmodified  to a connected client associated with a local=0A>     account.=
=0A=0A=0APlease note that there are two cases here:=0A=0A1) iq has to be re=
scoped from jabber:client to jabber:server.=0A2) Child elements have explic=
it jabber:client namespace (for query tag for =0Aexample).=0A=0A=0ATo illus=
trate-=0AIn a 'normal' case, the above would be :=0A=0A<stream xmlns=3D"jab=
ber:client" ...>=0A...=0A<iq to=3D"im.remote.net"  type=3D'get'>=0A  <query=
 >=0A    <my_tag>custom_data</my_tag>=0A  </query>=0A</iq>=0A=0A=0AWhich en=
tirely gets rescoped to jabber:server namespace as opposed to the =0Aexampl=
e you responded to.=0A=0A=0AIf the behavior in both cases is going to be di=
fferent - then we have additional =0Aconstraints on how xml is to be serial=
ized and deserialized from an xml stream =0Adue to rescoping and how to int=
erpret it ...=0AHopefully I am not missing something.=0A=0A=0AThanks for cl=
arifying.=0ARegards,=0AMridul=0A=0A=0A> =0A> Peter=0A> =0A> -- =0A> Peter S=
aint-Andre=0A> https://stpeter.im/=0A> =0A> =0A> =0A> =0A=0A

From paul@darkrain42.org  Thu Nov 11 21:39:11 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 375E73A6AA5 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:39:11 -0800 (PST)
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 FdsSzh-9ZWBE for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:39:03 -0800 (PST)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id A2BDF3A67C3 for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:39:02 -0800 (PST)
Received: from [192.168.1.150] (c-24-19-135-94.hsd1.wa.comcast.net [24.19.135.94]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id 0558E806D for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:39:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1289540374; bh=IKvHgkSCXC6M2f1cYXeiv/FxE6N80r5Bk/bw8lIUoGM=; l=2438; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:DomainKey-Signature; b=J8v1O+MuS0hLpEdBmKimHA6nwPOds32iuqT2neU6EES/wwz7K6zSpqANUHtGyjIS1 nA/Zj54IrJuuCtO8r5iQxChMrjUc6UoPXIX6eCiMBd/uge3qcgvnndrysZfF8/dFkZ HvgFy0HiVkJKF5PuIp60ybeTZszm/g2dJIfSL0czjiQTXntg13njQQzBlbgKylL420 BB/UTiQhzViDXrtk7Mg970p1Q5qyNAvQjraZ6mkTEYwAV/ECvo5d7+o24P6wv5q120 TS5/cfcRasrkZD/IQHursOeI/AfnsHkxJiggGgkyP+qUADUjFQ0FUWS0vAuarKKqW/ 3ZoMbmBj6TmKw==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=UoOK/1QH7lccryXVsP2K4pRk3vxfg52mSonUYsay6uB/MfCanRsA0PuH8FMftjm4q L/vfppNbcRgswJZJTKXCjAoZTSFIugOgmI679V7/4mDEIGEEDMA68yJDvErSCZVQtZs Gu2J2ouApgzttbSuthWpNmo4rf1QIQ69zsWLPDuWd73KWlvployzWov1n9Oek4C6Iz9 mr3jI5DSH9xKtOHpt34Thj88T+PxuvRv8uzBJigrc/lvSzmHtnnaetTpWHig5ISgpRQ dqgIs1Qq4XElZ2Ot6nFbaH7trfna/TeFKaPgnbSpqeGcxk8MjgNOZ7C7tmkg/CLOo9A H2s7kqFKA==
Message-ID: <4CDCD312.9000902@darkrain42.org>
Date: Thu, 11 Nov 2010 21:39:30 -0800
From: Paul Aurich <paul@darkrain42.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20090105 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
To: XMPP Working Group <xmpp@ietf.org>
References: <4CDCCFD3.7010308@darkrain42.org>
In-Reply-To: <4CDCCFD3.7010308@darkrain42.org>
X-Enigmail-Version: 1.0.1
OpenPGP: id=A6FB30F7
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigFEF5E18B3CD8C43E238AB727"
Subject: Re: [xmpp] _xmpp-client SRV-ID type support
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, 12 Nov 2010 05:39:11 -0000

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigFEF5E18B3CD8C43E238AB727
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

And Paul Aurich spoke on 11/11/2010 09:25 PM, saying:
> 3920bis-18 13.7.1.2.1. reads, in part:
>    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 th=
e
>       "_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.
>=20
> What exactly does it mean that a server needs to support the "_xmpp-cli=
ent"
> service type?  I read these sections as referencing what implementation=
s
> need to be able to validate, but I can't come up with circumstances und=
er
> which a server would be validating an _xmpp-client asserted SRV-ID.
>=20
> ~Paul
>=20

Hmm, nevermind me.  I think I need the exhaustion-equivalent of Google's
Mail Goggles.


--------------enigFEF5E18B3CD8C43E238AB727
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 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJM3NMVAAoJEEkfeuGm+zD3aVQP/3VZNGyIAAEIpoiMdm8ZpRws
zoGS/TZ2AU/KeHyXFznIxJNH6ndQsqXuWJ/BKnkeD2GZPS1oEFj/hZpEsPxcKLD6
v4rNjSxnW3dTe2S0r0KIZHI269ldR8dzySIKlAGf8Z7oe8Ym8jOZl9iqGkC6S3lO
awfIGk8aaRd+FWq0QQrb8ss6A4uLkXsB1FmxiDsb0kwzQmdYEllAcenaEx7JwCHb
b2HSz+1mSo0LHxiiCZQvIoYmFaJxG1JQhQm/FUsi4xQPtFXgPjc4h3Zf3pKawrdX
3qWa2+pnbFHikyDB1tBW56ERcC2IoPqPs7dw9fMyuZYXuKd1Buy8U4DwagIvmuO2
tADWOfcnNp2DjSKTeaDB5BdwV2UwxvOmfeTA/RUiTB6ne8HoyXmil1oeXbGVOT8I
46O+3SUApjYlUyqbRFI5jZMFMGbXaSUA60ahWjHNXczxm/0Rs1atsif6k096q9YA
+OYoY3keaFm+F/tuxPKMGgTaHpAoefVFxo6tynStvUXSRmKNsATdFfbZVnJqD4z2
0TFz67rX7OhYz52QYnYc+rPeGJuYER47XwZu1xnGTlt1M6GOKME4hiuMPiJ+ERxK
kSqFJLaHhYYshj6sJgQaxHSAVIDnGeuozo9d4yR4k/LAYuJsPgJOWA4T3CIK4+wG
0nsIl+z6++TtNHgbtaoX
=p7CO
-----END PGP SIGNATURE-----

--------------enigFEF5E18B3CD8C43E238AB727--

From stpeter@stpeter.im  Thu Nov 11 21:44:06 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 A161C3A69A1 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:44:06 -0800 (PST)
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 G7KMdfhOIhvP for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 21:43:59 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 8B99E3A682D for <xmpp@ietf.org>; Thu, 11 Nov 2010 21:43:59 -0800 (PST)
Received: from dhcp-73e4.meeting.ietf.org (dhcp-73e4.meeting.ietf.org [130.129.115.228]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D085C40BB9; Thu, 11 Nov 2010 22:53:58 -0700 (MST)
Message-ID: <4CDCD43C.1060901@stpeter.im>
Date: Fri, 12 Nov 2010 13:44:28 +0800
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: Paul Aurich <paul@darkrain42.org>
References: <4CDCCFD3.7010308@darkrain42.org> <4CDCD312.9000902@darkrain42.org>
In-Reply-To: <4CDCD312.9000902@darkrain42.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="------------ms090501050404010306020104"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] _xmpp-client SRV-ID type support
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, 12 Nov 2010 05:44:06 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 1:39 PM, Paul Aurich wrote:
> And Paul Aurich spoke on 11/11/2010 09:25 PM, saying:
>> 3920bis-18 13.7.1.2.1. reads, in part:
>>    o  Support for the SRV-ID identifier type [PKIX-SRV] is REQUIRED fo=
r
>>       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 t=
he
>>       "_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 th=
e
>>       SRV-ID identifier type in certificate requests.
>>
>> What exactly does it mean that a server needs to support the "_xmpp-cl=
ient"
>> service type?  I read these sections as referencing what implementatio=
ns
>> need to be able to validate, but I can't come up with circumstances un=
der
>> which a server would be validating an _xmpp-client asserted SRV-ID.
>>
>> ~Paul
>>
>=20
> Hmm, nevermind me.  I think I need the exhaustion-equivalent of Google'=
s
> Mail Goggles.

There is a typo: for verification purposes, the client needs to support
the "_xmpp-server" service type, not "_xmpp-client".

Peter

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




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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIT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ZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAnSt6NERli8aPQVBGyD69p9Lnz5Zbt5m7FVRzvT3PGZnrCIVPFkWfKfdLU
mVsnPdPvT4OmkAKpQ4ucbmvzRslLQ/LxBkJCWiTmGEcSYMP+AMfxLewEXa5/6O33QW58r6iS
4Fp4ITObLa6RD0z0Y5vAj7r2mXOT2TwT8jXYZYxeZumhCeTrBAe1HJApUqTQTLHR+DJioC4Z
kF8QaSRlkRJCXvoV7uKsLHBmailkp2jPwGzkUry6s2UpNKt6N4KzYO9B8LdOAIsQOpr9aCkq
EOXD95jVdv6zhoU91B+v1OYR2USVzeyUaA5ucyk+wpJWk7WzlRPEt7x9Eqnd420DvPN3AAAA
AAAA
--------------ms090501050404010306020104--

From stpeter@stpeter.im  Thu Nov 11 22:14: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 377A53A6AC6 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 22:14:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.258
X-Spam-Level: 
X-Spam-Status: No, score=-102.258 tagged_above=-999 required=5 tests=[AWL=-0.259, 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 h53obj3nP7ZI for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 22:14:23 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 00CC43A6AC9 for <xmpp@ietf.org>; Thu, 11 Nov 2010 22:12:50 -0800 (PST)
Received: from dhcp-73e4.meeting.ietf.org (dhcp-73e4.meeting.ietf.org [130.129.115.228]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id F001840BB9; Thu, 11 Nov 2010 23:22:37 -0700 (MST)
Message-ID: <4CDCDAF3.20202@stpeter.im>
Date: Fri, 12 Nov 2010 14:13:07 +0800
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: Mridul Muralidharan <mridulm80@yahoo.com>
References: <353294.81749.qm@web95413.mail.in2.yahoo.com> <4CDC9E22.1090102@stpeter.im> <159935.6489.qm@web95413.mail.in2.yahoo.com>
In-Reply-To: <159935.6489.qm@web95413.mail.in2.yahoo.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="------------ms060301000602090609070407"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 12 Nov 2010 06:14:31 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 1:35 PM, Mridul Muralidharan wrote:
> Hi Peter,
>=20
>=20
>   Please see inline.
>=20
>=20
> Regards,
> Mridul
>=20
>=20
>=20
> ----- Original Message ----
>> From: Peter Saint-Andre <stpeter@stpeter.im>
>> To: xmpp@ietf.org
>> Sent: Fri, 12 November, 2010 7:23:38 AM
>> Subject: Re: [xmpp] "re-scope" of xmpp stanza's
>>
>> On 11/12/10 12:34 AM, Mridul Muralidharan wrote:
>>> Hi all,
>>>
>>>
>>>   Are there are rules regarding re-scoping of xmpp stanza  from jabbe=
r:client=20
>>
>>> to jabber:server or vice versa ? I did not find much  elaboration in =
3920 or=20
>=20
>>> 3920bis.
>>> (Assuming I am not missing some  general document !).
>>
>> Section 4.7.5 of 3920bis says:
>>
>>        Implementation Note: Because a client sends stanzas over a  str=
eam
>>       whose content namespace is 'jabber:client', if  the server to wh=
ich
>>       the client is connected needs to  route a client-generated stanz=
a
>>       to another server then  it MUST "re-scope" the stanza so that it=
s
>>       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  rou=
ting
>>       server MUST "re-scope" a stanza received over a  server-to-serve=
r
>>       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 namesp=
ace
>>       is  'jabber:client').
>>
>> If you think more needs to be said, please propose text  very soon
>> because the comment window is closed. I think the current text is  fin=
e
>> and everything else is a matter of implmentation, but you might  disag=
ree.
>=20
>=20
> In the common case of :
>=20
> 1) Only stream namespace defined through xmlns as jabber:client/jabber:=
server.
> 2) No explicit stanza and attribute namespace specified.
> The rules above will work - which should actually cover most of the use=
cases=20
> thankfully !
> It becomes a simple case of rescoping the stanza from jabber:client to =

> jabber:server (and vice versa) and everything else will work as-is.
>=20
>=20
> But for a general case.
>=20
> a) We need not have default namespace defined for the stream (<client:s=
tream=20
> xmlns:client=3D"jabber:client"> ... )
>=20
> b) Explicitly specifying attribute namespace is not disallowed - so how=
 is it=20
> supposed to be handled when they have a different ns-name compared to s=
tanza.
> (<client:iq  c:to=3D"server.net" xmlns:c=3D"jabber:client"> ... )
>=20
> [read in conjugation with http://www.w3.org/TR/REC-xml-names/#defaultin=
g ].
>=20
>=20
> In these cases (or combinations thereof), how is re-scoping to be handl=
ed.
> For a jabber:client to jabber:server rescoping case, should we :
>=20
> 1) Completely replace all occurance of 'jabber:client' namespace in the=
 stanza=20
> and all its children (down to the leaves) to 'jabber:server' ?
> 2) Only replace at the (top level) stanza for only the element nsname ?=

> 3) Replace all jabber:client nsname's at the (top level) stanza but not=
 for the=20
> children ?

Please read this text from 3920bis:

###

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/>.

###

Does that address your questions?

>>> I am thinking of scenarios which include :
>>>
>>> a) Explicit namespace prefix whose uri which matches the default stre=
am=20
>>> namespace
>>
>> Disallowed. Section 4.7.4 of 3920bis  states:
>>
>>    An implementation MUST NOT generate namespace prefixes  for element=
s
>>    qualified by the content namespace if the content  namespace is
>>    'jabber:client' or 'jabber:server'.
>=20
>=20
> Does this apply only to stream namespace or also to stanza namespace ?
> If both, then it answers this part of my query I guess.
>=20
> As in:
>=20
> <client:stream xmlns:client=3D"jabber:client" ...>
> ...
> <iq xmlns=3D"jabber:client" to=3D"server.net">
>   <query />
> </iq>

See this:

###

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).

###

>>> b)  Explicit namespace specified at each level in the xml stanza.
>>>
>>>      <myns1:iq myns1:to=3D"im.remote.net"  xmlns:myns1=3D'jabber:clie=
nt'=20
>> type=3D'get'>     =20
>>
>>>  <myns2:query xmlns:myns2=3D'jabber:client'><myns3:my_tag =20
>> xmlns:myns3=3D'jabber:client'>custom_data</myns3:my_tag></myns2:query>=

>>>
>>>      </myns1:iq>
>>
>> Such data is preserved,  because Section 8.4 of 3920bis states:
>>
>>    If a server handles a  stanza that is intended for delivery to anot=
her
>>    entity and that  contains a child element it does not understand, i=
t
>>    MUST route the  stanza unmodified to a remote server or deliver the=

>>    stanza unmodified  to a connected client associated with a local
>>     account.
>=20
>=20
> Please note that there are two cases here:
>=20
> 1) iq has to be rescoped from jabber:client to jabber:server.

Sure.

> 2) Child elements have explicit jabber:client namespace (for query tag =
for=20
> example).

Why would you do that? Doesn't namespace inheritance handle that?

> To illustrate-
> In a 'normal' case, the above would be :
>=20
> <stream xmlns=3D"jabber:client" ...>
> ...
> <iq to=3D"im.remote.net"  type=3D'get'>
>   <query >
>     <my_tag>custom_data</my_tag>
>   </query>
> </iq>
>=20
>=20
> Which entirely gets rescoped to jabber:server namespace as opposed to t=
he=20
> example you responded to.

Correct.

> If the behavior in both cases is going to be different - then we have a=
dditional=20
> constraints on how xml is to be serialized and deserialized from an xml=
 stream=20
> due to rescoping and how to interpret it ...
> Hopefully I am not missing something.

Inheritance?

Peter

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




--------------ms060301000602090609070407
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
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbCBDZX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EcP4NwSGl0i28ytJ+qUChx55WkvWi43hMFUrrgfsquvPyL/w2+Mm
IOYi9TaqzfwVnOp0uM/q+J0su9qKjYKsKa24/HHfnQGnyOxO1SW/gZZtabFrtI7n6xuARdJX
6Ai2SEhVb8vOfyx/XGMXSXF5lcKeFEn1Tmrg4xpHx+NmX5LRaYdW/cWQlXFT0a76hVtEAzC3
YewkGTFffdATsDGYiL3VpECxlAqi/u6upivpjO7gyct3gu5XKZ67KzeU98B0PMMGHpax9xTY
gaNELM8CBjyxS40z2EXnI1SbAwgwjCjoM9zGv7YOY7Ynxg5OhSyJUd6LO2xf/XrtHFlYAAAA
AAAA
--------------ms060301000602090609070407--

From florob@babelmonkeys.de  Thu Nov 11 23:52: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 2115D3A6AD5 for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 23:52:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.648
X-Spam-Level: 
X-Spam-Status: No, score=-1.648 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, 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 LOI2Q0BwEdMy for <xmpp@core3.amsl.com>; Thu, 11 Nov 2010 23:52:08 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 364D63A6ABC for <xmpp@ietf.org>; Thu, 11 Nov 2010 23:52:08 -0800 (PST)
Received: from 85-110.eduroam.rwth-aachen.de ([134.61.85.110]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PGoR4-0000PH-HH; Fri, 12 Nov 2010 08:52:38 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
To: Mridul Muralidharan <mridulm80@yahoo.com>
X-Mailer: Modest 3.2
References: <353294.81749.qm@web95413.mail.in2.yahoo.com> <4CDC9E22.1090102@stpeter.im> <159935.6489.qm@web95413.mail.in2.yahoo.com> <4CDCDAF3.20202@stpeter.im>
In-Reply-To: <4CDCDAF3.20202@stpeter.im>
Content-Type: multipart/alternative; boundary="=-SflGqEvanRa15y4hTERc"
Date: Fri, 12 Nov 2010 08:52:33 +0100
Message-Id: <1289548353.26353.5.camel@Nokia-N900>
Mime-Version: 1.0
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: Florian Zeitz <florob@babelmonkeys.de>
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, 12 Nov 2010 07:52:16 -0000

--=-SflGqEvanRa15y4hTERc
Content-Type: text/plain; charset=utf-8
Content-ID: <1289548352.26353.2.camel@Nokia-N900>
Content-Transfer-Encoding: quoted-printable

Some time ago in a galaxy not that far away Peter Saint-Andre wrote:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0  <ns2:message xmlns:pre=3D'http://examp=
le.org/ns2'
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0  from=3D'romeo@example=
.net/resource1'
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0  to=3D'juliet@example.=
com'>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0  <body>hi</body>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0  </ns2:message>
>=20
Somehow I would've expexted xmlns:ns2=3D'http://example.org/ns2' here.

> > Please note that there are two cases here:
> >=20
> > 1) iq has to be rescoped from jabber:client to jabber:server.
>=20
> Sure.
>=20
> > 2) Child elements have explicit jabber:client namespace (for query tag
> > for=C2=A0  example).
>=20
> Why would you do that? Doesn't namespace inheritance handle that?
>=20
I guess the point is it's possible. In fact prosody used to put xmlns=3D'ja=
bber:client' pretty much everywhere until we discovered it breaks esessions=
 (IIRC).

> > To illustrate-
> > In a 'normal' case, the above would be :
> >=20
> > <stream xmlns=3D"jabber:client" ...>
> > ...
> > <iq to=3D"im.remote.net"=C2=A0  type=3D'get'>
> > <query >
> > <my_tag>custom_data</my_tag>
> > </query>
> > </iq>
> >=20
> >=20
> > Which entirely gets rescoped to jabber:server namespace as opposed to
> > the=C2=A0  example you responded to.
>=20
> Correct.
>=20
> > If the behavior in both cases is going to be different - then we have
> > additional=C2=A0  constraints on how xml is to be serialized and
> > deserialized from an xml stream=C2=A0  due to rescoping and how to inte=
rpret
> > it ... Hopefully I am not missing something.
>=20
> Inheritance?
>=20
Personally I think it ought to be as easy as replacing all occurences of ja=
bber:client in an xmlns attribute (at all levels) with jabber:server and vi=
ce versa. This will however fail if one tried to tunnel jabber:server over =
jabber:client.
E.g.:
C2S: <message to=3D'alice@example.com' xmlns=3D'jabber:client>
       <presence to=3D'bob@example.net' xmlns=3D'jabber:server'/>
     </message>

S2S: <message to=3D'alice@example.com' xmlns=3D'jabber:server>
       <presence to=3D'bob@example.net' xmlns=3D'jabber:server'/>
     </message>

S2C: <message to=3D'alice@example.com' xmlns=3D'jabber:client>
       <presence to=3D'bob@example.net' xmlns=3D'jabber:client'/>
     </message>

Which clearly falls into "Why would you", but is entirely possible AFAICT.

--
Florian Zeitz

--=-SflGqEvanRa15y4hTERc
Content-Type: text/html; charset=utf-8
Content-ID: <1289548352.26353.4.camel@Nokia-N900>
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="generator" content="Osso Notes">
    <title></title></head>
<body>
<p>Some time ago in a galaxy not that far away Peter Saint-Andre wrote:
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;&lt;ns2:message xmlns:pre='<a href="http://example.org/ns2">http://example.org/ns2</a>'
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;from='<a href="mailto:romeo@example.net">romeo@example.net</a>/resource1'
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;to='<a href="mailto:juliet@example.com">juliet@example.com</a>'&gt;
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;&lt;body&gt;hi&lt;/body&gt;
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#32;&lt;/ns2:message&gt;
<br>&gt; 
<br>Somehow I would've expexted xmlns:ns2='<a href="http://example.org/ns2">http://example.org/ns2</a>' here.
<br>
<br>&gt; &gt; Please note that there are two cases here:
<br>&gt; &gt; 
<br>&gt; &gt; 1) iq has to be rescoped from jabber:client to jabber:server.
<br>&gt; 
<br>&gt; Sure.
<br>&gt; 
<br>&gt; &gt; 2) Child elements have explicit jabber:client namespace (for query tag
<br>&gt; &gt; for&nbsp; &#32;example).
<br>&gt; 
<br>&gt; Why would you do that? Doesn't namespace inheritance handle that?
<br>&gt; 
<br>I guess the point is it's possible. In fact prosody used to put xmlns='jabber:client' pretty much everywhere until we discovered it breaks esessions (IIRC).
<br>
<br>&gt; &gt; To illustrate-
<br>&gt; &gt; In a 'normal' case, the above would be :
<br>&gt; &gt; 
<br>&gt; &gt; &lt;stream xmlns="jabber:client" ...&gt;
<br>&gt; &gt; ...
<br>&gt; &gt; &lt;iq to="im.remote.net"&nbsp; &#32;type='get'&gt;
<br>&gt; &gt; &lt;query &gt;
<br>&gt; &gt; &lt;my_tag&gt;custom_data&lt;/my_tag&gt;
<br>&gt; &gt; &lt;/query&gt;
<br>&gt; &gt; &lt;/iq&gt;
<br>&gt; &gt; 
<br>&gt; &gt; 
<br>&gt; &gt; Which entirely gets rescoped to jabber:server namespace as opposed to
<br>&gt; &gt; the&nbsp; &#32;example you responded to.
<br>&gt; 
<br>&gt; Correct.
<br>&gt; 
<br>&gt; &gt; If the behavior in both cases is going to be different - then we have
<br>&gt; &gt; additional&nbsp; &#32;constraints on how xml is to be serialized and
<br>&gt; &gt; deserialized from an xml stream&nbsp; &#32;due to rescoping and how to interpret
<br>&gt; &gt; it ... Hopefully I am not missing something.
<br>&gt; 
<br>&gt; Inheritance?
<br>&gt; 
<br>Personally I think it ought to be as easy as replacing all occurences of jabber:client in an xmlns attribute (at all levels) with jabber:server and vice versa. This will however fail if one tried to tunnel jabber:server over jabber:client.
<br>E.g.:
<br>C2S: &lt;message to='<a href="mailto:alice@example.com">alice@example.com</a>' xmlns='jabber:client&gt;
<br>&#32;&#32;&#32;&#32;&#32;&#32;&#32;&lt;presence to='<a href="mailto:bob@example.net">bob@example.net</a>' xmlns='jabber:server'/&gt;
<br>&#32;&#32;&#32;&#32;&#32;&lt;/message&gt;
<br>
<br>S2S: &lt;message to='<a href="mailto:alice@example.com">alice@example.com</a>' xmlns='jabber:server&gt;
<br>&#32;&#32;&#32;&#32;&#32;&#32;&#32;&lt;presence to='<a href="mailto:bob@example.net">bob@example.net</a>' xmlns='jabber:server'/&gt;
<br>&#32;&#32;&#32;&#32;&#32;&lt;/message&gt;
<br>
<br>S2C: &lt;message to='<a href="mailto:alice@example.com">alice@example.com</a>' xmlns='jabber:client&gt;
<br>&#32;&#32;&#32;&#32;&#32;&#32;&#32;&lt;presence to='<a href="mailto:bob@example.net">bob@example.net</a>' xmlns='jabber:client'/&gt;
<br>&#32;&#32;&#32;&#32;&#32;&lt;/message&gt;
<br>
<br>Which clearly falls into "Why would you", but is entirely possible AFAICT.
<br>
<br>--
<br>Florian Zeitz<br></p>
</body>
</html>

--=-SflGqEvanRa15y4hTERc--


From paul@darkrain42.org  Fri Nov 12 00:12:27 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 E363F28C105 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 00:12:27 -0800 (PST)
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 oh1WuqKggPqN for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 00:12:18 -0800 (PST)
Received: from mail.darkrain42.org (o-chul.darkrain42.org [IPv6:2001:470:1f05:d58::1]) by core3.amsl.com (Postfix) with ESMTP id B2D0B28C0FF for <xmpp@ietf.org>; Fri, 12 Nov 2010 00:12:15 -0800 (PST)
Received: from [192.168.1.122] (c-24-19-135-94.hsd1.wa.comcast.net [24.19.135.94]) by mail.darkrain42.org (mail.darkrain42.org) with ESMTPSA id 19861806D;  Fri, 12 Nov 2010 00:12:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=darkrain42.org; s=a; t=1289549567; bh=mZqP/4K9YOl25lpoexWX411B3SmRd+qh0u3KqFy5lfg=; l=1877; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding: DomainKey-Signature; b=k8tpmHyhjxvgp7jotXBVaBNfmRJsay/7Or0icTNpz6FiEtrSwlOzDyuz8tSUCFrlF x0OtNpmemobuBDuT4j8/8gNrxX0+1jhZqPLPf8X7DrprJMN+sdJ09b1luwQLoisdiP X+TqyFP7SvtcmdddermJkj717z+Ryir8do+Cy/UezJzEVdMkpMC6Hpp6Z6g37K4zEL o62H76yfJIQFk0aIKmluWlWBz6cb+Z7nbDaWwHQ/2wB2AWnVH/u2HAdi+vRXaH9qdW B1NjnYLkCA0XWFCv1U0EvxrLc5PfDkndXmwWI2NThcyU4xcPgcqZJd56ifQ0IRJgfn +Hp256ubpo7SA==
DomainKey-Signature: a=rsa-sha1; s=a; d=darkrain42.org; c=simple; q=dns; b=qKWDF2UVBFeduPZIwIuVbdwqPAMxCnvs81R/m7+1u5hSoQO4ZsBQCmeG7Mv3Vfyi1 LnYeOyJIuYiSIpYuaQ7iYvIoBvIzVWWUSo5gNP3ill4LMSTR6kC4PKhRFgnJS8Gxd7O wdtkf3MeLpH3QKY5wZGdbeAGw5pykLqN8EszogSw36T2Gc/6xECYaVNH5PPzZMZ2P5s ZtHfoXpRO8WSq969UaKar0Q9WH6vCU6UpHzyfr2c2St3D5xGRApX7dZ7vdvjYfOJ5YB J8TYpKQ7k8kdWp7Xw+99nLHNqpx5MqklNgLsx/Mvj5z0SiZk+TUJHmtg+KpA/DMVCaS O4LmKTLLw==
Message-ID: <4CDCF6FC.8020907@darkrain42.org>
Date: Fri, 12 Nov 2010 00:12:44 -0800
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.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <4CDCCFD3.7010308@darkrain42.org> <4CDCD312.9000902@darkrain42.org> <4CDCD43C.1060901@stpeter.im>
In-Reply-To: <4CDCD43C.1060901@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] _xmpp-client SRV-ID type support
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, 12 Nov 2010 08:12:28 -0000

On 2010-11-11 21:44, Peter Saint-Andre wrote:
> On 11/12/10 1:39 PM, Paul Aurich wrote:
>> And Paul Aurich spoke on 11/11/2010 09:25 PM, saying:
>>> 3920bis-18 13.7.1.2.1. reads, in part:
>>>    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.
>>>
>>> What exactly does it mean that a server needs to support the "_xmpp-client"
>>> service type?  I read these sections as referencing what implementations
>>> need to be able to validate, but I can't come up with circumstances under
>>> which a server would be validating an _xmpp-client asserted SRV-ID.
>>>
>>> ~Paul
>>>
>>
>> Hmm, nevermind me.  I think I need the exhaustion-equivalent of Google's
>> Mail Goggles.
> 
> There is a typo: for verification purposes, the client needs to support
> the "_xmpp-server" service type, not "_xmpp-client".

Hmm, really?  I'll admit that printing out, sitting down, and reading
the SRV-ID spec is on my TODO list for tomorrow, but a quick perusal
makes me think that an XMPP client would be expected to validate an
_xmpp-client service type (it's connecting to an XMPP client<>server
service, after all).

(If this is the case, I think I'm still not quite understanding under
what circumstances a server needs to verify an _xmpp-client SRV-ID.  Or
is this section meant to talk about what types a server offering to let
an admin generate a CSR MUST/SHOULD offer?)

~Paul

From stpeter@stpeter.im  Fri Nov 12 00:51: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 614FD3A6B0B for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 00:51:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.555
X-Spam-Level: 
X-Spam-Status: No, score=-102.555 tagged_above=-999 required=5 tests=[AWL=0.044, 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 90bJqJsggYIE for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 00:51:52 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B3F293A6AF6 for <xmpp@ietf.org>; Fri, 12 Nov 2010 00:51:45 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2959140BB9; Fri, 12 Nov 2010 02:01:44 -0700 (MST)
Message-ID: <4CDD003B.1000800@stpeter.im>
Date: Fri, 12 Nov 2010 16:52:11 +0800
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: Paul Aurich <paul@darkrain42.org>
References: <4CDCCFD3.7010308@darkrain42.org> <4CDCD312.9000902@darkrain42.org> <4CDCD43C.1060901@stpeter.im> <4CDCF6FC.8020907@darkrain42.org>
In-Reply-To: <4CDCF6FC.8020907@darkrain42.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="------------ms030206030309030800070006"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] _xmpp-client SRV-ID type support
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, 12 Nov 2010 08:51:59 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 4:12 PM, Paul Aurich wrote:
> On 2010-11-11 21:44, Peter Saint-Andre wrote:
>> On 11/12/10 1:39 PM, Paul Aurich wrote:
>>> And Paul Aurich spoke on 11/11/2010 09:25 PM, saying:
>>>> 3920bis-18 13.7.1.2.1. reads, in part:
>>>>    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" servic=
e
>>>>       type, whereas XMPP server implementations need to support both=
 the
>>>>       "_xmpp-client" and "_xmpp-server" service types).  Certificati=
on
>>>>       authorities that issue XMPP-specific certificates SHOULD suppo=
rt
>>>>       the SRV-ID identifier type.  Service providers SHOULD include =
the
>>>>       SRV-ID identifier type in certificate requests.
>>>>
>>>> What exactly does it mean that a server needs to support the "_xmpp-=
client"
>>>> service type?  I read these sections as referencing what implementat=
ions
>>>> need to be able to validate, but I can't come up with circumstances =
under
>>>> which a server would be validating an _xmpp-client asserted SRV-ID.
>>>>
>>>> ~Paul
>>>>
>>>
>>> Hmm, nevermind me.  I think I need the exhaustion-equivalent of Googl=
e's
>>> Mail Goggles.
>>
>> There is a typo: for verification purposes, the client needs to suppor=
t
>> the "_xmpp-server" service type, not "_xmpp-client".
>=20
> Hmm, really?  I'll admit that printing out, sitting down, and reading
> the SRV-ID spec is on my TODO list for tomorrow, but a quick perusal
> makes me think that an XMPP client would be expected to validate an
> _xmpp-client service type (it's connecting to an XMPP client<>server
> service, after all).
>=20
> (If this is the case, I think I'm still not quite understanding under
> what circumstances a server needs to verify an _xmpp-client SRV-ID.  Or=

> is this section meant to talk about what types a server offering to let=

> an admin generate a CSR MUST/SHOULD offer?)

Oh yes, I'm sorry. Too much multitasking here at the IETF meeting.

Peter

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




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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEH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gU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCAP4odfY9mjPWZoVOzuTjM1H27w25EslKjlUd+fAJDWZ9oNodPXtI5DHr+
uZOf9fdOggGDp5NRmrKsSihuXaqYb/2REsQw7jEi1ufvtThmL/I5/pVX+m6bW61954Qr1G67
CStH4kNY6ijfL/xuKxE76d9nxoDZwwDFbdoC7nN2fMlTpedatFCNra5rLYScQudhs2L8F2En
aR/uZpJ6k6NfzNL7OFZY2/hbhFa3c0PtgmxmhY8qjjWf3M1vZGib1kIl3nj/NAHyx4YQO2bz
2fPWO0KfJhCFKZHOdqEYHx0q7IC+kWnYKGoQdMUVnp/hSYNv9Q1I/9KTdHDnPUD4NZ3ZAAAA
AAAA
--------------ms030206030309030800070006--

From stpeter@stpeter.im  Fri Nov 12 01:05:39 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 7117028C117 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 01:05:39 -0800 (PST)
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 ow5JY79w1jY4 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 01:05:32 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 064373A6A45 for <xmpp@ietf.org>; Fri, 12 Nov 2010 01:05:32 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id BB7BA40BB9; Fri, 12 Nov 2010 02:15:31 -0700 (MST)
Message-ID: <4CDD0377.3020203@stpeter.im>
Date: Fri, 12 Nov 2010 17:05:59 +0800
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: XMPP Working Group <xmpp@ietf.org>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com>
In-Reply-To: <4CDA6A52.3020306@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="------------ms000607090507020109080404"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 09:05:39 -0000

This is a cryptographically signed message in MIME format.

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

On 11/10/10 5:48 PM, Yaron Sheffer wrote:
> Although a literary analysis of RFC 2119 is much more fun, I would like=

> to comment on the paragraph below:
>=20
> The crux of the matter is the parenthetical "and proper certificate
> validation and so on": while the TLS *protocol* offers a very high leve=
l
> of security, TLS *in actual use* unfortunately often does not. Jehan
> pointed out some of the reasons earlier today (negligent CA procedures,=

> security "warnings" whose goal is to let the communication proceed - no=

> matter what, etc.). This makes the distinction between authenticated an=
d
> unautheticated TLS much more blurry than we would have liked it to be.
> And if it wasn't clear: please don't send plaintext passwords over this=

> channel.

Yes, that is the crux.

Here at IETF 79 in Beijing, I've talked with both of the Security ADs as
well as several other folks who are active in the security area. I've
also raised the issue of plaintext passwords over TLS during the
Security Area Advisory Group (SAAG) session. I've also talked with the
XMPP WG chairs. Based on those discussions as well as Yaron's feedback,
here is how I see it:

1. Developers will implement SASL PLAIN no matter what we say in the spec=
=2E

2. I don't particularly want to give people an official blessing to use
SASL PLAIN, but I recognize that in sometime it's unavoidable. I think
we need to say a bit more about what those circumstances are, but we
need to recognize reality.

3. We need to have strong text about when it's appropriate to use TLS
plus SASL PLAIN instead of SCRAM.

Therefore I (somewhat reluctantly) propose the following text:

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants.

   In addition, servers and clients SHOULD implement TLS with the
   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.

      Security Note: The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants of
      the SCRAM mechanism are strongly preferred over the PLAIN
      mechanism because of their superior security properties (including
      the ability to enforce channel binding as described under
      Section 13.9.4).  Therefore, a client SHOULD treat TLS plus SASL
      PLAIN as a technology of last resort to be used only when
      interacting with a server that does not yet support SCRAM, MUST
      prefer more secure mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-
      PLUS, and EXTERNAL) to the PLAIN mechanism, and MUST NOT use the
      PLAIN mechanism if the stream does not at a minimum have
      confidentiality and integrity protection via TLS with full
      certificate validation as described under Section 13.7.2.1.
      Similarly, a server MUST NOT offer SASL PLAIN if the stream is not
      protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unless
      it is unable to offer some variant of SASL SCRAM, e.g., because
      the XMPP service depends for authentication purposes on a database
      or directory that is not under the control of the XMPP
      administrators, such as Pluggable Authentication Modules (PAM), an
      LDAP database [LDAP], or an Authentication, Authorization, and
      Accounting (AAA) key management protocol (for guidance, refer to
      [AAA]).

###

Feedback is welcome from our Security Directorate reviewer and from the W=
G.

Peter

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


--------------ms000607090507020109080404
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
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCS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WF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQC1zjKvEGno+F935Xqpdlggltb7NGl4GGCsXld+1J3KaLVWBTZx4ET+3rCz
QI7v7MDD8zMjbCWEDFCssNq2EH5ulslqk3e+uKIfhY9Eas8Z7sL8G1y+e6iKVNBLzBg/THbU
/YG8V+q5mofSYzRzemigkTuNSknKFrvtiiOG1Lr4SZvjlXvgAxZqWt+ytU4G4j6MQgKV3SIv
NCGfefC8sL34KUEVnJZ99LSq0/L3ezmkiwOLG5xt98DTazbANBdShmAkiL5xSG/Ee6C6ksDu
yiX22Vp8W/4KVw0nHRELjS9s9flrV20mykiiknKorJStpg3AMaPTGL+A7il+zm3DJHsWAAAA
AAAA
--------------ms000607090507020109080404--

From dave@cridland.net  Fri Nov 12 03:23:13 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 4C8613A695B for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 03:23:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.369
X-Spam-Level: 
X-Spam-Status: No, score=-2.369 tagged_above=-999 required=5 tests=[AWL=0.230,  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 YbbWKS8trGTo for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 03:23:06 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 0C0F23A69BE for <xmpp@ietf.org>; Fri, 12 Nov 2010 03:23:05 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 27FEE11680F8 for <xmpp@ietf.org>; Fri, 12 Nov 2010 11:23:37 +0000 (GMT)
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 mjS8PqblUB4b for <xmpp@ietf.org>; Fri, 12 Nov 2010 11:23:30 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 1391511680CA for <xmpp@ietf.org>; Fri, 12 Nov 2010 11:23:30 +0000 (GMT)
References: <353294.81749.qm@web95413.mail.in2.yahoo.com>
In-Reply-To: <353294.81749.qm@web95413.mail.in2.yahoo.com>
MIME-Version: 1.0
Message-Id: <2850.1289561010.064691@puncture>
Date: Fri, 12 Nov 2010 11:23:30 +0000
From: Dave Cridland <dave@cridland.net>
To: XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 12 Nov 2010 11:23:13 -0000

On Thu Nov 11 16:34:44 2010, Mridul Muralidharan wrote:
> b) Explicit namespace specified at each level in the xml stanza.
> 
>      <myns1:iq myns1:to="im.remote.net" xmlns:myns1='jabber:client'  
> type='get'>
> <myns2:query xmlns:myns2='jabber:client'><myns3:my_tag  
> xmlns:myns3='jabber:client'>custom_data</myns3:my_tag></myns2:query>
> 
>      </myns1:iq>

Just as a side-note, that stanza has no to attribute, so won't get  
routed at all.

f:to='...' xmlns:f='...' is not the same as a simple to='...'

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 k.i.smith@gmail.com  Fri Nov 12 03:32:33 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 9C4FB3A69A3 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 03:32:33 -0800 (PST)
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 0KuKdnZZ8iXA for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 03:32:32 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id C601D3A69D9 for <xmpp@ietf.org>; Fri, 12 Nov 2010 03:32:30 -0800 (PST)
Received: by qyk7 with SMTP id 7so112163qyk.10 for <xmpp@ietf.org>; Fri, 12 Nov 2010 03:33:03 -0800 (PST)
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=f9nHGn+xSvZ0mfH1sZt3wFQQCO9kgztyFeg/X06+aAU=; b=Sco/RHwsJUysMGdz0qAVoR69/nCEooR47ITxVnzxIx04bCmmSMQOcYX8URpKnawdPH 1SRoamxJwuPjHBQlL7eGtWZWl0heLiJVWdWmKBzxYfhLb33mxuffNhYhyFF7kB+0hZyT ZSiQS+DXxsvL2gB9aDWRI2rQMy7VtEwxV8ch4=
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=t35obPx1QaNODy/qkTIIQTEiQVNPfsVC8HiZI10MpL51aCPsJ9/FjvFeSqmTidhd4q QBMDj58H09U7/T/dZ3Iy7VQiJa8JYZYGhpEEwxWjBlHIN2LekXQhivXuOjANTqqWcqsx 8L6TcnoeJxz7XeQr3GU6mkD0ak7u6YuaSrh30=
MIME-Version: 1.0
Received: by 10.229.223.139 with SMTP id ik11mr1852678qcb.273.1289561582846; Fri, 12 Nov 2010 03:33:02 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Fri, 12 Nov 2010 03:33:02 -0800 (PST)
In-Reply-To: <4CDD0377.3020203@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im>
Date: Fri, 12 Nov 2010 11:33:02 +0000
X-Google-Sender-Auth: ervT_jFJWQsK59Gf7r_RobKXX6E
Message-ID: <AANLkTimh5HqU4ao_BX3t6C-1shkti59pzTRayZKXwWoF@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: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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: Fri, 12 Nov 2010 11:32:33 -0000

On Fri, Nov 12, 2010 at 9:05 AM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> ###
>
> 13.8.3. =A0For Confidentiality and Authentication With Passwords
>
> =A0 For both confidentiality and authentication with passwords, servers
> =A0 and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
> =A0 ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
> =A0 SHA-1-PLUS variants.
>
> =A0 In addition, servers and clients SHOULD implement TLS with the
> =A0 TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>
> =A0 =A0 =A0Security Note: The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants o=
f
> =A0 =A0 =A0the SCRAM mechanism are strongly preferred over the PLAIN
> =A0 =A0 =A0mechanism because of their superior security properties (inclu=
ding
> =A0 =A0 =A0the ability to enforce channel binding as described under
> =A0 =A0 =A0Section 13.9.4). =A0Therefore, a client SHOULD treat TLS plus =
SASL
> =A0 =A0 =A0PLAIN as a technology of last resort to be used only when
> =A0 =A0 =A0interacting with a server that does not yet support SCRAM, MUS=
T
> =A0 =A0 =A0prefer more secure mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-
> =A0 =A0 =A0PLUS, and EXTERNAL) to the PLAIN mechanism, and MUST NOT use t=
he
> =A0 =A0 =A0PLAIN mechanism if the stream does not at a minimum have
> =A0 =A0 =A0confidentiality and integrity protection via TLS with full
> =A0 =A0 =A0certificate validation as described under Section 13.7.2.1.
> =A0 =A0 =A0Similarly, a server MUST NOT offer SASL PLAIN if the stream is=
 not
> =A0 =A0 =A0protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unl=
ess
> =A0 =A0 =A0it is unable to offer some variant of SASL SCRAM, e.g., becaus=
e
> =A0 =A0 =A0the XMPP service depends for authentication purposes on a data=
base
> =A0 =A0 =A0or directory that is not under the control of the XMPP
> =A0 =A0 =A0administrators, such as Pluggable Authentication Modules (PAM)=
, an
> =A0 =A0 =A0LDAP database [LDAP], or an Authentication, Authorization, and
> =A0 =A0 =A0Accounting (AAA) key management protocol (for guidance, refer =
to
> =A0 =A0 =A0[AAA]).
>
> ###
>
> Feedback is welcome from our Security Directorate reviewer and from the W=
G.

That works for me, thanks Peter.

/K

From dave@cridland.net  Fri Nov 12 03:45:50 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 EAF653A6B32 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 03:45:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.39
X-Spam-Level: 
X-Spam-Status: No, score=-2.39 tagged_above=-999 required=5 tests=[AWL=0.209,  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 CyCjspsfDuRI for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 03:45:43 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 7753D3A69A3 for <xmpp@ietf.org>; Fri, 12 Nov 2010 03:45:00 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 41C2011680F8; Fri, 12 Nov 2010 11:45:32 +0000 (GMT)
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 dVLoPAIyejHD; Fri, 12 Nov 2010 11:45:25 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 0956411680CA; Fri, 12 Nov 2010 11:45:25 +0000 (GMT)
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im>
In-Reply-To: <4CDD0377.3020203@stpeter.im>
MIME-Version: 1.0
Message-Id: <2850.1289562325.026803@puncture>
Date: Fri, 12 Nov 2010 11:45:25 +0000
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 11:45:51 -0000

On Fri Nov 12 09:05:59 2010, Peter Saint-Andre wrote:
> 13.8.3.  For Confidentiality and Authentication With Passwords
> 
>    For both confidentiality and authentication with passwords,  
> servers
>    and clients MUST implement TLS with the  
> TLS_RSA_WITH_AES_128_CBC_SHA
>    ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and  
> SCRAM-
>    SHA-1-PLUS variants.
> 
>    In addition, servers and clients SHOULD implement TLS with the
>    TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
> 
>       Security Note: The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants  
> of
>       the SCRAM mechanism are strongly preferred over the PLAIN
>       mechanism because of their superior security properties  
> (including
>       the ability to enforce channel binding as described under
>       Section 13.9.4).  Therefore, a client SHOULD treat TLS plus  
> SASL
>       PLAIN as a technology of last resort to be used only when
>       interacting with a server that does not yet support SCRAM,  
> MUST
>       prefer more secure mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-
>       PLUS, and EXTERNAL) to the PLAIN mechanism, and MUST NOT use  
> the
>       PLAIN mechanism if the stream does not at a minimum have
>       confidentiality and integrity protection via TLS with full
>       certificate validation as described under Section 13.7.2.1.
>       Similarly, a server MUST NOT offer SASL PLAIN if the stream  
> is not
>       protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN  
> unless
>       it is unable to offer some variant of SASL SCRAM, e.g.,  
> because
>       the XMPP service depends for authentication purposes on a  
> database
>       or directory that is not under the control of the XMPP
>       administrators, such as Pluggable Authentication Modules  
> (PAM), an
>       LDAP database [LDAP], or an Authentication, Authorization, and
>       Accounting (AAA) key management protocol (for guidance, refer  
> to
>       [AAA]).

 From the PLAIN perspective, this is fine, modulo  
s/database/directory/.

However, can we replace "SCRAM-SHA-1 and SCRAM-SHA-1-PLUS" with  
"SCRAM-SHA-1-PLUS, or, failing that, SCRAM-SHA-1" or something, just  
to remind readers that they ought to be using channel binding?

(We chose the names to make it obvious that the -PLUS variant is the  
one you want to use, but even so).

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  Fri Nov 12 04:39:18 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 F1CEF3A69CB for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 04:39:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.991
X-Spam-Level: 
X-Spam-Status: No, score=-1.991 tagged_above=-999 required=5 tests=[AWL=0.308,  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 CZeCgEN8--KQ for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 04:39:09 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id C637B3A69EF for <xmpp@ietf.org>; Fri, 12 Nov 2010 04:39:03 -0800 (PST)
Received: by wwi14 with SMTP id 14so40696wwi.13 for <xmpp@ietf.org>; Fri, 12 Nov 2010 04:39:35 -0800 (PST)
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=fKqQFD5ORSELLIGmb1MmiQvmv6l10XoCRYYv3Nuu2JQ=; b=XeBP+zketUw2umpxS8ck2JFBMnhzmda5CElo/1292GYbxTHZYIaE2eHpuU2GmCZKdE qFBK1vlpiKqK2U8INsfnLvNcXgz1eOGOle0LyRik9vShaQWv9NhK8XYFqBZGt4Cr2r+P vt2600losdKCmv4N9IJHr3fz7Wk8VXXVasQCQ=
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=S+drKVqQHbluNL1iRrgWttyx58KZ4+zZCmGgFeus+k+6XM99E/zrgnOJigwPS6UATu ofVhxBKXX2/jKS2EbE59KEgpoGPP0c4jrnXwLQowExAbE6vOi8fpu2kFiEQDiHNBhjrM nKJiVsW7oE6qiJsm85ZYHYzmIA6Dglaats2uI=
MIME-Version: 1.0
Received: by 10.216.1.17 with SMTP id 17mr3355527wec.99.1289565574611; Fri, 12 Nov 2010 04:39:34 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Fri, 12 Nov 2010 04:39:34 -0800 (PST)
In-Reply-To: <4CDD0377.3020203@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im>
Date: Fri, 12 Nov 2010 21:39:34 +0900
Message-ID: <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@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=windows-1252
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 12:39:18 -0000

Hi,

On Fri, Nov 12, 2010 at 6:05 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 11/10/10 5:48 PM, Yaron Sheffer wrote:
>> Although a literary analysis of RFC 2119 is much more fun, I would like
>> to comment on the paragraph below:
>>
>> The crux of the matter is the parenthetical "and proper certificate
>> validation and so on": while the TLS *protocol* offers a very high level
>> of security, TLS *in actual use* unfortunately often does not. Jehan
>> pointed out some of the reasons earlier today (negligent CA procedures,
>> security "warnings" whose goal is to let the communication proceed - no
>> matter what, etc.). This makes the distinction between authenticated and
>> unautheticated TLS much more blurry than we would have liked it to be.
>> And if it wasn't clear: please don't send plaintext passwords over this
>> channel.
>
> Yes, that is the crux.
>
> Here at IETF 79 in Beijing, I've talked with both of the Security ADs as
> well as several other folks who are active in the security area. I've
> also raised the issue of plaintext passwords over TLS during the
> Security Area Advisory Group (SAAG) session. I've also talked with the
> XMPP WG chairs. Based on those discussions as well as Yaron's feedback,
> here is how I see it:
>
> 1. Developers will implement SASL PLAIN no matter what we say in the spec=
.
>
> 2. I don't particularly want to give people an official blessing to use
> SASL PLAIN, but I recognize that in sometime it's unavoidable. I think
> we need to say a bit more about what those circumstances are, but we
> need to recognize reality.
>
> 3. We need to have strong text about when it's appropriate to use TLS
> plus SASL PLAIN instead of SCRAM.
>
> Therefore I (somewhat reluctantly) propose the following text:
>

As you might guess from the previous discussion, I don't like this new
version. See comments below.

> ###
>
> 13.8.3. =A0For Confidentiality and Authentication With Passwords
>
> =A0 For both confidentiality and authentication with passwords, servers
> =A0 and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
> =A0 ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
> =A0 SHA-1-PLUS variants.
>
> =A0 In addition, servers and clients SHOULD implement TLS with the
> =A0 TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>

Even from what you reported from your previous discussions with
various security people, I don't understand why it makes the feature
become a MUST. Even without a MUST, it doesn't mean we forbid people
from implementing PLAIN (not using a MUST is not a MUST NOT), and we
would still recognize the existence and sometimes even the necessity
(necessity also is not a MUST, it is not a "mandatory in all
situations" but "sometimes this is unfortunately unavoidable) in the
following note. I really don't understand because you do the opposite
of what you say before: here we give the blessing to use PLAIN.

> =A0 =A0 =A0Security Note: The SCRAM-SHA-1 and CRAM-SHA-1-PLUS variants of
> =A0 =A0 =A0the SCRAM mechanism are strongly preferred over the PLAIN
> =A0 =A0 =A0mechanism because of their superior security properties (inclu=
ding
> =A0 =A0 =A0the ability to enforce channel binding as described under
> =A0 =A0 =A0Section 13.9.4). =A0Therefore, a client SHOULD treat TLS plus =
SASL
> =A0 =A0 =A0PLAIN as a technology of last resort to be used only when
> =A0 =A0 =A0interacting with a server that does not yet support SCRAM, MUS=
T
> =A0 =A0 =A0prefer more secure mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-
> =A0 =A0 =A0PLUS, and EXTERNAL) to the PLAIN mechanism, and MUST NOT use t=
he
> =A0 =A0 =A0PLAIN mechanism if the stream does not at a minimum have
> =A0 =A0 =A0confidentiality and integrity protection via TLS with full
> =A0 =A0 =A0certificate validation as described under Section 13.7.2.1.

Here to me, that's nearly as though we were giving the directions to
malevolent people on how to make a successful downgrade attack.

I still go from the base that it is possible, and have already been
done (so this is not some theoretical stuff) to get certificates which
validate perfectly (either by fooling CAs to give them, as it happened
in 2001 for Microsoft for instance:
http://www.verisign.com/support/advisories/authenticodefraud.html or
by exploiting cryptographic exploits, which with time and technical
progress can always occurre again:
http://phreedom.org/research/rogue-ca/ or probably other ways, like
simply being able to steal a certificate on the machine itself during
an intrusion) for a domain, and also to redirect connections (DNS
cache poisoining being one common solution, but not the only one, far
from it unfortunately), all your recommendations are not enough to be
secure enough to be passing PLAIN password in my opinion.

A client would need for instance to cache certificates and compare the
old and current one. If the certificate is different =97=A0even though
valid=A0=97 while the previous one has apparently not be revoked nor
approaching end of validity, that's suspicious for instance. Also even
SASL mechanisms should be memorized by the clients to prevent
downgrade attacks: if the server usually only propose SCRAM or some
other very strong mechanisms and suddenly propose only PLAIN (which in
the new text seems to be considered as completely acceptable...
hum...), this is EXTREMELY suspicious on a normal running service,
even with a perfectly valid and well authenticated certificate.

That's recommendations among many others that would be worth written
in a security XEP. But if we are to say PLAIN is a "MUST", then this
should as well be in the RFC itself if we don't want the protocol to
be completely weak on security.

> =A0 =A0 =A0Similarly, a server MUST NOT offer SASL PLAIN if the stream is=
 not
> =A0 =A0 =A0protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unl=
ess
> =A0 =A0 =A0it is unable to offer some variant of SASL SCRAM, e.g., becaus=
e
> =A0 =A0 =A0the XMPP service depends for authentication purposes on a data=
base
> =A0 =A0 =A0or directory that is not under the control of the XMPP
> =A0 =A0 =A0administrators, such as Pluggable Authentication Modules (PAM)=
, an
> =A0 =A0 =A0LDAP database [LDAP], or an Authentication, Authorization, and
> =A0 =A0 =A0Accounting (AAA) key management protocol (for guidance, refer =
to
> =A0 =A0 =A0[AAA]).
>
> ###
>
> Feedback is welcome from our Security Directorate reviewer and from the W=
G.
>

And so here is was above. ;-)

> Peter
>

Bye.

Jehan

From stpeter@stpeter.im  Fri Nov 12 05:24:01 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 409C03A6A14 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:24:01 -0800 (PST)
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 x5j+xd8gTfbe for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:24:00 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 435183A69E4 for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:24:00 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 4B83840BB9; Fri, 12 Nov 2010 06:34:01 -0700 (MST)
Message-ID: <4CDD400D.9050801@stpeter.im>
Date: Fri, 12 Nov 2010 21:24:29 +0800
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: Dave Cridland <dave@cridland.net>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture>
In-Reply-To: <2850.1289562325.026803@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="------------ms050808020307050209070202"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 13:24:01 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 7:45 PM, Dave Cridland wrote:
> On Fri Nov 12 09:05:59 2010, Peter Saint-Andre wrote:
>> 13.8.3.  For Confidentiality and Authentication With Passwords
>>
>>    For both confidentiality and authentication with passwords, servers=

>>    and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SH=
A
>>    ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRA=
M-
>>    SHA-1-PLUS variants.
>>
>>    In addition, servers and clients SHOULD implement TLS with the
>>    TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>>
>>       Security Note: The SCRAM-SHA-1 and SCRAM-SHA-1-PLUS variants of
>>       the SCRAM mechanism are strongly preferred over the PLAIN
>>       mechanism because of their superior security properties (includi=
ng
>>       the ability to enforce channel binding as described under
>>       Section 13.9.4).  Therefore, a client SHOULD treat TLS plus SASL=

>>       PLAIN as a technology of last resort to be used only when
>>       interacting with a server that does not yet support SCRAM, MUST
>>       prefer more secure mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-
>>       PLUS, and EXTERNAL) to the PLAIN mechanism, and MUST NOT use the=

>>       PLAIN mechanism if the stream does not at a minimum have
>>       confidentiality and integrity protection via TLS with full
>>       certificate validation as described under Section 13.7.2.1.
>>       Similarly, a server MUST NOT offer SASL PLAIN if the stream is n=
ot
>>       protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unles=
s
>>       it is unable to offer some variant of SASL SCRAM, e.g., because
>>       the XMPP service depends for authentication purposes on a databa=
se
>>       or directory that is not under the control of the XMPP
>>       administrators, such as Pluggable Authentication Modules (PAM), =
an
>>       LDAP database [LDAP], or an Authentication, Authorization, and
>>       Accounting (AAA) key management protocol (for guidance, refer to=

>>       [AAA]).
>=20
> From the PLAIN perspective, this is fine, modulo s/database/directory/.=

>=20
> However, can we replace "SCRAM-SHA-1 and SCRAM-SHA-1-PLUS" with
> "SCRAM-SHA-1-PLUS, or, failing that, SCRAM-SHA-1" or something, just to=

> remind readers that they ought to be using channel binding?

Further edited...

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants (with SCRAM-SHA1-PLUS being preferred, as
   described under Section 13.9.4).

   In addition, servers and clients SHOULD implement TLS with the
   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.

      Security Note: The SCRAM-SHA-1 and especially SCRAM-SHA-1-PLUS
      variants of the SCRAM mechanism are strongly preferred over the
      PLAIN mechanism because of their superior security properties
      (including for SCRAM-SHA-1-PLUS the ability to enforce channel
      binding as described under Section 13.9.4).  Therefore, a client
      SHOULD treat TLS plus SASL PLAIN as a technology of last resort to
      be used only when interacting with a server that does not yet
      support SCRAM, MUST prefer more secure mechanisms (e.g., EXTERNAL,
      SCRAM-SHA-1-PLUS, and SCRAM-SHA-1) to the PLAIN mechanism, and
      MUST NOT use the PLAIN mechanism if the stream does not at a
      minimum have confidentiality and integrity protection via TLS with
      full certificate validation as described under Section 13.7.2.1.
      Similarly, a server MUST NOT offer SASL PLAIN if the stream is not
      protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unless
      it is unable to offer some variant of SASL SCRAM, e.g., because
      the XMPP service depends for authentication purposes on a database
      or directory that is not under the control of the XMPP
      administrators, such as Pluggable Authentication Modules (PAM), an
      LDAP directory [LDAP], or an Authentication, Authorization, and
      Accounting (AAA) key management protocol (for guidance, refer to
      [AAA]).

###




--------------ms050808020307050209070202
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/telEFj5rDTX2juTvZ3Qhf3XQX5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12 05:33:19 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 A88BD3A6B46 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:33:19 -0800 (PST)
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 XE-GxEH832V5 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:33:18 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id 9C2B43A6B43 for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:33:18 -0800 (PST)
Received: by qyk7 with SMTP id 7so232687qyk.10 for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:33:51 -0800 (PST)
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=+jNCxe4v9FKrlhIsFuThWZUyBlnRLPPHWzAldyAJLhM=; b=hmws2rZTOGfK3Fclj9kOklf/gw11z+/QR7Cxp8BHAJwbmIRb0b8QZtoBqYQ13Mgkhu ODz6TjuKMLB0r/94mYerulLZQ10hxMzGxq+q5cnx4TzlX5rwxwfU9Im+ai5QlzAzCX30 YHwF2tXP/d43uyP/eIp4zZV/dgg6XxFn9pJNU=
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=qauA3EK1WQACviSSu+aeNDon6h1kRx9NrZ6HCCaaP37dxkuhMCBBCJKEeFsLLsQuv9 +Vx5EgGsIEqbBhluKOscSP+N1kWDs2ILf6aWwoCGoMnu28d1EkjeIU04LjcF3LgAcqAc fktL3kuefnOIJUthbx1ofpiZLikzTEiQ/IlmQ=
MIME-Version: 1.0
Received: by 10.229.86.7 with SMTP id q7mr2009579qcl.45.1289568831231; Fri, 12 Nov 2010 05:33:51 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Fri, 12 Nov 2010 05:33:50 -0800 (PST)
In-Reply-To: <4CDD400D.9050801@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im>
Date: Fri, 12 Nov 2010 13:33:50 +0000
X-Google-Sender-Auth: eDqbBPVIUhpcZ6RklfoWIYzMT2Q
Message-ID: <AANLkTi=EuYN8zwV+43QY=mwz56oe0y9xG1MfDdsz4_ui@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] consensus call on TLS plus SASL PLAIN
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: Fri, 12 Nov 2010 13:33:19 -0000

On Fri, Nov 12, 2010 at 1:24 PM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> Further edited...
>
> ###
>
> 13.8.3. =A0For Confidentiality and Authentication With Passwords
>
> =A0 For both confidentiality and authentication with passwords, servers
> =A0 and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
> =A0 ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
> =A0 SHA-1-PLUS variants (with SCRAM-SHA1-PLUS being preferred, as
> =A0 described under Section 13.9.4).
>
> =A0 In addition, servers and clients SHOULD implement TLS with the
> =A0 TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>
> =A0 =A0 =A0Security Note: The SCRAM-SHA-1 and especially SCRAM-SHA-1-PLUS
> =A0 =A0 =A0variants of the SCRAM mechanism are strongly preferred over th=
e
> =A0 =A0 =A0PLAIN mechanism because of their superior security properties
> =A0 =A0 =A0(including for SCRAM-SHA-1-PLUS the ability to enforce channel
> =A0 =A0 =A0binding as described under Section 13.9.4). =A0Therefore, a cl=
ient
> =A0 =A0 =A0SHOULD treat TLS plus SASL PLAIN as a technology of last resor=
t to
> =A0 =A0 =A0be used only when interacting with a server that does not yet
> =A0 =A0 =A0support SCRAM, MUST prefer more secure mechanisms (e.g., EXTER=
NAL,
> =A0 =A0 =A0SCRAM-SHA-1-PLUS, and SCRAM-SHA-1) to the PLAIN mechanism, and
> =A0 =A0 =A0MUST NOT use the PLAIN mechanism if the stream does not at a
> =A0 =A0 =A0minimum have confidentiality and integrity protection via TLS =
with
> =A0 =A0 =A0full certificate validation as described under Section 13.7.2.=
1.
> =A0 =A0 =A0Similarly, a server MUST NOT offer SASL PLAIN if the stream is=
 not
> =A0 =A0 =A0protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unl=
ess
> =A0 =A0 =A0it is unable to offer some variant of SASL SCRAM, e.g., becaus=
e
> =A0 =A0 =A0the XMPP service depends for authentication purposes on a data=
base
> =A0 =A0 =A0or directory that is not under the control of the XMPP
> =A0 =A0 =A0administrators, such as Pluggable Authentication Modules (PAM)=
, an
> =A0 =A0 =A0LDAP directory [LDAP], or an Authentication, Authorization, an=
d
> =A0 =A0 =A0Accounting (AAA) key management protocol (for guidance, refer =
to
> =A0 =A0 =A0[AAA]).
>
> ###

Also works for me.

/K

From stpeter@stpeter.im  Fri Nov 12 05:33: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 623773A6B4B for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:33:34 -0800 (PST)
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.109, 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 scCr6bOhIiyP for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:33:26 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id DCF883A6B4C for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:33:25 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id AFBBA40BB9; Fri, 12 Nov 2010 06:43:27 -0700 (MST)
Message-ID: <4CDD4243.1070200@stpeter.im>
Date: Fri, 12 Nov 2010 21:33:55 +0800
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: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im>	<2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im>	<4CDA6A52.3020306@gmail.com>	<4CDD0377.3020203@stpeter.im> <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com>
In-Reply-To: <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@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="------------ms050904080206050109020400"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 13:33:34 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 8:39 PM, Jehan Pag=C3=A8s wrote:
> Hi,
>=20
> On Fri, Nov 12, 2010 at 6:05 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>> On 11/10/10 5:48 PM, Yaron Sheffer wrote:
>>> Although a literary analysis of RFC 2119 is much more fun, I would li=
ke
>>> to comment on the paragraph below:
>>>
>>> The crux of the matter is the parenthetical "and proper certificate
>>> validation and so on": while the TLS *protocol* offers a very high le=
vel
>>> of security, TLS *in actual use* unfortunately often does not. Jehan
>>> pointed out some of the reasons earlier today (negligent CA procedure=
s,
>>> security "warnings" whose goal is to let the communication proceed - =
no
>>> matter what, etc.). This makes the distinction between authenticated =
and
>>> unautheticated TLS much more blurry than we would have liked it to be=
=2E
>>> And if it wasn't clear: please don't send plaintext passwords over th=
is
>>> channel.
>>
>> Yes, that is the crux.
>>
>> Here at IETF 79 in Beijing, I've talked with both of the Security ADs =
as
>> well as several other folks who are active in the security area. I've
>> also raised the issue of plaintext passwords over TLS during the
>> Security Area Advisory Group (SAAG) session. I've also talked with the=

>> XMPP WG chairs. Based on those discussions as well as Yaron's feedback=
,
>> here is how I see it:
>>
>> 1. Developers will implement SASL PLAIN no matter what we say in the s=
pec.
>>
>> 2. I don't particularly want to give people an official blessing to us=
e
>> SASL PLAIN, but I recognize that in sometime it's unavoidable. I think=

>> we need to say a bit more about what those circumstances are, but we
>> need to recognize reality.
>>
>> 3. We need to have strong text about when it's appropriate to use TLS
>> plus SASL PLAIN instead of SCRAM.
>>
>> Therefore I (somewhat reluctantly) propose the following text:
>>
>=20
> As you might guess from the previous discussion, I don't like this new
> version. See comments below.

I'm not particularly happy, either, but I think this is the best we'll
do for now.

>> ###
>>
>> 13.8.3.  For Confidentiality and Authentication With Passwords
>>
>>   For both confidentiality and authentication with passwords, servers
>>   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA=

>>   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM=
-
>>   SHA-1-PLUS variants.
>>
>>   In addition, servers and clients SHOULD implement TLS with the
>>   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>>
>=20
> Even from what you reported from your previous discussions with
> various security people, I don't understand why it makes the feature
> become a MUST.=20

It is SHOULD, not MUST.

> Even without a MUST, it doesn't mean we forbid people
> from implementing PLAIN (not using a MUST is not a MUST NOT), and we
> would still recognize the existence and sometimes even the necessity
> (necessity also is not a MUST, it is not a "mandatory in all
> situations" but "sometimes this is unfortunately unavoidable) in the
> following note. I really don't understand because you do the opposite
> of what you say before: here we give the blessing to use PLAIN.

Given the widespread deployment of LDAP directories as the
authentication backend for XMPP services, I think we're stuck with PLAIN
as a very common server offering.

>>      Security Note: The SCRAM-SHA-1 and CRAM-SHA-1-PLUS variants of
>>      the SCRAM mechanism are strongly preferred over the PLAIN
>>      mechanism because of their superior security properties (includin=
g
>>      the ability to enforce channel binding as described under
>>      Section 13.9.4).  Therefore, a client SHOULD treat TLS plus SASL
>>      PLAIN as a technology of last resort to be used only when
>>      interacting with a server that does not yet support SCRAM, MUST
>>      prefer more secure mechanisms (e.g., SCRAM-SHA-1, SCRAM-SHA-1-
>>      PLUS, and EXTERNAL) to the PLAIN mechanism, and MUST NOT use the
>>      PLAIN mechanism if the stream does not at a minimum have
>>      confidentiality and integrity protection via TLS with full
>>      certificate validation as described under Section 13.7.2.1.
>=20
> Here to me, that's nearly as though we were giving the directions to
> malevolent people on how to make a successful downgrade attack.

You think they can't figure it out on their own?

> I still go from the base that it is possible, and have already been
> done (so this is not some theoretical stuff) to get certificates which
> validate perfectly (either by fooling CAs to give them, as it happened
> in 2001 for Microsoft for instance:
> http://www.verisign.com/support/advisories/authenticodefraud.html or
> by exploiting cryptographic exploits, which with time and technical
> progress can always occurre again:
> http://phreedom.org/research/rogue-ca/ or probably other ways, like
> simply being able to steal a certificate on the machine itself during
> an intrusion) for a domain, and also to redirect connections (DNS
> cache poisoining being one common solution, but not the only one, far
> from it unfortunately), all your recommendations are not enough to be
> secure enough to be passing PLAIN password in my opinion.
>=20
> A client would need for instance to cache certificates and compare the
> old and current one. If the certificate is different =E2=80=94 even tho=
ugh
> valid =E2=80=94 while the previous one has apparently not be revoked no=
r
> approaching end of validity, that's suspicious for instance. Also even
> SASL mechanisms should be memorized by the clients to prevent
> downgrade attacks: if the server usually only propose SCRAM or some
> other very strong mechanisms and suddenly propose only PLAIN (which in
> the new text seems to be considered as completely acceptable...
> hum...), this is EXTREMELY suspicious on a normal running service,
> even with a perfectly valid and well authenticated certificate.
>=20
> That's recommendations among many others that would be worth written
> in a security XEP. But if we are to say PLAIN is a "MUST", then this
> should as well be in the RFC itself if we don't want the protocol to
> be completely weak on security.

The best way to improve security would be to move away from
password-based authentication entirely (unless it's something like
Secure Remote Password), i.e., to use certificate auth or key auth. We
need more deployment experience before we can recommend that even more
strongly.

Peter

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




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

MIAGCSqGSIb3DQEHAqCAMIACAQEx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JlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBxHwXIPGZCnHlAKn6jQhjfP1hZsCO0G6xFVeg1hdB51THmHvfSK0D691Yc
UsCPuRCVMxSoBi9dpEEPe4KJ7ohUzp129UusDwOAfQ/soovLQdEcQKE2PXG1M9U0hKTRuIZd
M0P3XqyiUWrJhApUiv+d+rvaCAEuh19NGGqeaN2dVhGtFvTfzXqDxqiLIKDis9ZccSWC6JX7
AAC8WnRTPf5v47WQZlW2csEqaa/NH/KDFT5bbAV6D0PU6uMvxAoDwhhXPhxdgSTqzvlVh4VB
vonnP6ws1VRvXRqCo8d+feB0QYpJFr/di5glhP02+peAZROFxYGws30xpIwWsGFzgwfDAAAA
AAAA
--------------ms050904080206050109020400--

From mwild1@gmail.com  Fri Nov 12 05:43:05 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 B69F33A6A73 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:43:05 -0800 (PST)
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 aBX1dyWMG86d for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:43:05 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id D03613A6886 for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:43:04 -0800 (PST)
Received: by qyk7 with SMTP id 7so241971qyk.10 for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:43:37 -0800 (PST)
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=J/Eu/nbNpvZNGNlVq1rBVa88rmA3+K0zZ3Z3LOA3ej0=; b=kcjpn1Jo3XvECYe+SLbXKwoHvU2pgooMIysd68YQ1RFXdpWrYN4aToEu16QLhoaEsA DC+0HSz063D9fCkl/fMWFVeDXhT92zxneV7soIv0HW/PtGAviqkPxwmfhCCZsvgnX+9f EuXxlTXz16x0MpWHA0cWR/5xSAJt6rxH5c0LI=
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=ViQrxcPzITjfW0ZjqUq0AdXfZ5Y9sM1W4TxoKBaJlxS3nhqbsalo7T6sdE+V77XG5X x/JwfmLTvCE+HWwd/04Tm845gXReX7BW6RYT5n/8N5pBjKe7QhskERZUImeNLypNzTma VmADtl3vn80mjimwNDJmQLTAGanGqMWVD+wew=
Received: by 10.229.229.83 with SMTP id jh19mr1970540qcb.130.1289569417346; Fri, 12 Nov 2010 05:43:37 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Fri, 12 Nov 2010 05:43:17 -0800 (PST)
In-Reply-To: <4CDD400D.9050801@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Fri, 12 Nov 2010 13:43:17 +0000
Message-ID: <AANLkTinVPDNoQrsMXrcx6Bz49eQogbF0o0P5ore17knm@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 13:43:05 -0000

This is the best text proposed so far in my opinion; it most
accurately reflects the majority consensus call responses and
addresses the security and interoperability issues directly. However a
couple of points inline...

On 12 November 2010 13:24, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 11/12/10 7:45 PM, Dave Cridland wrote:
>> On Fri Nov 12 09:05:59 2010, Peter Saint-Andre wrote:
>>> 13.8.3. =C2=A0For Confidentiality and Authentication With Passwords
>>>
>>> =C2=A0 =C2=A0For both confidentiality and authentication with passwords=
, servers
>>> =C2=A0 =C2=A0and clients MUST implement TLS with the TLS_RSA_WITH_AES_1=
28_CBC_SHA
>>> =C2=A0 =C2=A0ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1=
 and SCRAM-
>>> =C2=A0 =C2=A0SHA-1-PLUS variants.
>>>
>>> =C2=A0 =C2=A0In addition, servers and clients SHOULD implement TLS with=
 the
>>> =C2=A0 =C2=A0TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>>>

Consensus was that PLAIN ought to be SHOULD only for clients - servers
can implement it as fitting for the deployment scenarios they want to
support.

>>> =C2=A0 =C2=A0 =C2=A0 Similarly, a server MUST NOT offer SASL PLAIN if t=
he stream is not
>>> =C2=A0 =C2=A0 =C2=A0 protected via TLS and SHOULD NOT offer TLS plus SA=
SL PLAIN unless
>>> =C2=A0 =C2=A0 =C2=A0 it is unable to offer some variant of SASL SCRAM

I don't see that this requirement aids security or interoperability.
Assuming the client obeys the rest of the text, it will not use PLAIN
even if offered. Also this essentially discourages a SCRAM-capable
server from ever offering PLAIN for interoperability with clients that
do not support SCRAM. This is the majority of clients in the field
today. I believe whether to offer PLAIN should be a deployment and
implementation decision entirely.

Thanks,
Matthew

From jehan.marmottard@gmail.com  Fri Nov 12 05:49: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 BD0E628C0D6 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:49:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.042
X-Spam-Level: 
X-Spam-Status: No, score=-2.042 tagged_above=-999 required=5 tests=[AWL=0.257,  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 72x5PNk0VFlq for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 05:49:05 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 53C643A6824 for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:49:05 -0800 (PST)
Received: by wwb28 with SMTP id 28so45714wwb.13 for <xmpp@ietf.org>; Fri, 12 Nov 2010 05:49:37 -0800 (PST)
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=eZHEFyr/wdneGweXIsPLNJyAhnnIZl1w+shruqBmtjg=; b=hZA0dcRvBPMvM7QIVpn+jJtBNtINQw7xQeTl92ddssaN/J+3V+A/dGlSGd9cSFKyIZ 6E3sVEex7z8WfFz+lSNm9KPzy3rMN8coDfKY4I5oPdAI+n12jJjEHYTgH7AHW/06Ik0f cw75Jag614bn3dopu9l1WrN5Ht5S8jJiwmVIc=
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=rr+WaTRQ+FLXwOpCNy6DiSrjppLG+TR3p9mQ4FcQOlWnqSbLPQs/Ig+qTVbE7lYwwX BGS5hcXkQjQH4RcC52Dqr0bPnezcneDun9L71+r5m5crjJNeUdwqic1KcUTlIMa+H6EB UsL8W0GhpOI8tha082fguwzMSeTgJawDDeDAc=
MIME-Version: 1.0
Received: by 10.216.11.66 with SMTP id 44mr1976322wew.69.1289569776499; Fri, 12 Nov 2010 05:49:36 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Fri, 12 Nov 2010 05:49:36 -0800 (PST)
In-Reply-To: <4CDAA037.2000706@babelmonkeys.de>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <AANLkTikgRnJr1pFXpx+tQg1O7hqKZXQHviQuCjvt0C5d@mail.gmail.com> <4CD9E655.7020607@babelmonkeys.de> <AANLkTikbhp6JzPF+cBMpEb5zQs-7SAx_qYe=Z7CwR4kO@mail.gmail.com> <4CDAA037.2000706@babelmonkeys.de>
Date: Fri, 12 Nov 2010 22:49:36 +0900
Message-ID: <AANLkTimuw4EoWv_4nU_vOoJ-nToT37QqSQj-g3inuUQU@mail.gmail.com>
From: =?ISO-8859-1?Q?Jehan_Pag=E8s?= <jehan.marmottard@gmail.com>
To: Florian Zeitz <florob@babelmonkeys.de>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 13:49:13 -0000

Hi,

sorry I come back to an older message. It is not really relevant
because the discussion has moved on, but I felt bad leaving this
discussion with Florian Zeitz like this (though it is my last answer
on these points with Florian).

On Wed, Nov 10, 2010 at 10:37 PM, Florian Zeitz <florob@babelmonkeys.de> wr=
ote:
> On 10.11.2010 12:36, Jehan Pag=E8s wrote:
>> Hi,
>>
>> Euh... not at all. A self-signed cert is just like no cert at all. A
>> self-signed cert is as though someone in the street that you don't
>> know tell you "hello my name is Florian Zeitz" (and considering that
>> anyone can make a cert on one's computer, it is not like a country ID,
>> more like he shows you a random paper with his name on it as a proof).
>> Having nothing to prove it right or wrong at this time, I am still at
>> the same point: I don't know if this guy is actually you or not, but
>> all I have is the word of the guy who pretend to be.
>>
>> As for a CA, even though we still cannot trust them to the point of
>> saying "this is an extremely good security", that's still better than
>> nothing (as I said, we stick with it as long as there is no better
>> option). Having a CA is like you definitely know someone whose job is
>> to check identities of others, but he is not a friend, and you don't
>> trust him fully because you suspect he is lazy and does not always
>> does his work very well (as long as he get paid, sometimes he is
>> reluctant to look for details). And this guy tells you: "yeah this guy
>> is indeed Florian Zeitz!". You cannot trust the answer at 100% because
>> your CA guy can still be fooled by a fake ID (or whatever) but that's
>> still a first good insurance.
>>
>> Saying that self-certs are the same is exactly what I said: you didn't
>> understand fully how TLS work so you assume that anyway a cert is a
>> cert. A self-signed cert has absolutely NO VALUE at all (unless, as I
>> told, when you get handed this cert via another trusted network, as I
>> said, which is what people do when they make keysigning party, so that
>> they can exchange "physically" their certs).
>>
> Thank you, but I was in fact fully aware of this. This was partially
> speaking as devils advocate.

Yeah I am sorry. I hesitated before writing this like that because I
feared to appear rude. But the fact is that you are maybe the
advocate, but the devils, they really think so in the end. And those
devils are most people because they just don't care about security or
don't understand it simply. And unfortunately this applies too to
soooo many of computer scientists as well.

> You can not honestly say in the same breath that CAs aren't to be
> trusted, but self-signed certs are worthless.
> The statement I made is absolutely true. A cert signed by a CA you don't
> trust is as good as a self-signed one. That CA could be completely made
> up after all.

Of course I can say this! This is not because this is POSSIBLE to
break a security measure that this is the same than no security at
all. And if you really think that a self-cert cert is the same as one
signed by a CA which you don't fully trust (and I don't because they
are human, that's all basically), then I am sorry but I will have
again to be rude and say you didn't fully understand how TLS work. But
I think you just are still being the "advocate". ;-)

>
> Self-signed certs don't have a great value or anything, they slightly
> reduced the risk though. And apparently to an extend that some people
> are willing to take it.

But we are making an Internet standard here. We are not simply end
user playing around.
We should actually not take any risk *on the behalf of users* as much
as we can avoid them. Because that's the problem: here we are
upstream, we make decisions for end users, that nearly most of them
will most probably never know about. Our role is to reduce the risks
to the maximum so that these users will have only finale decisions to
make (and a very good security is when they do not have any more
decisions to make, because users are tempted to always take these
"leap of faith" you talk about =3D clicking "yes" on any warning without
reading nor understanding).

Because it is simply not our role to take "leap of faith". We are not
any kind of religion, there is no faith in security.
In life, I am actually pretty "light", not paranoid at all, but when
it comes to work about security, I need to become paranoid just for
this. Because this is our job here: being paranoid on the behalf of
users, and let them have faith if they wish to, whatever.

>> As for the =AB having a MITM on your very first connection is relatively
>> rare =BB, I "don't think" attackers care. That's not relevant. Basically
>> if some server gets redirected to a malevolent one (through a DNS
>> vulnerability for instance) , they'll just get everyone who connects
>> during this lapse of time, whatever this is their first connection or
>> not. Moreover even though it is true that we connect for the first
>> time only once (if not changing clients), making security rules on
>> this kind of probability is not the best choice.
>> And finally we really cannot say this kind of thing in a "connected
>> world" where users are constantly switching from a machine to another
>> (theirs, their mobile, from a friend's computer), or via web clients,
>> or on random machines when traveling, etc. So in fact people connects
>> "for the first time" many many times (if not each time in some
>> environment which does not "remember" the certs).
>>
> The friend's computer probably had a key-logger installed anyway ;)
> It's definitely much worse than a CA signed cert, but I maintain it's
> better than no cert at all or worthless (at least as long as you cache
> certs).
> Even encryption without authentication has some (limited) merit.

Of course it has. It is all a question of "security level". Let's just
try to be at the higher possible level.
We must make the higher recommendation. In the end, implementers,
administrators and users will do what they can or want with it, but at
least let's not make our recommendation weak. As I said: our job is to
be paranoid.

> Consider everyone on the same WLAN hotspot vs. one potential attacker
> being able to see your password.
> I'm not saying it's a good idea to use self-signed certs, or anything
> like that.
> But I'm also not fine with this "We are all screwed"-subtone some of
> this discussion has taken. There is no such thing as perfect security.

I didn't say this, either "we are screwed", nor "there is a perfect securit=
y".

> Leap-of-faith gives you limited, better not risk it security.

See above. Not our role.

> CAs give you acceptable security if you got the CA's cert out of band.
> Checking the certificate against another copy of it you received out of
> band gives you relatively strong security.
> One can have all three of these with TLS. I don't see a reason to think
> it has failed us as a technology. The system surrounding it is a far
> bigger problem.

I didn't say that either. It is one of the best we have (or at least
widely deployed), but it is still breakable (has already been broken
several time and will most certainly be again) and we cannot rely on
it fully, not enough to send PLAIN password at least, in my opinion,
considering we have access to technologies allowing us not to do so
(SCRAM or other secure enough mechanisms).

> E.g. people are often not willing or capable of paying for certificates
> (I myself am a student and could barely take even money for one of the
> cheaper certs out of my "budget" and I know of people that have an even
> tighter one).

Some CA gives free certificates. Sometimes not as featured as paid one
(like only one domain, etc.). Some CA are also community driven (I
think obviously about CAcert and I hear they are quite secure), and
fully free. I understand the excuse of this being annoying and
complicated (I myself =97=A0lazy as a cat!=A0=97 has not had a CA signed ce=
rt
for years, just by laziness), but not the money excuse because they
are many free solution better than self-signed certs.

> Also CAs that don't require payment are often not taken seriously,
> because they get no compensation for their honesty (The assumption
> apparently being that bribing a "normal" CA would be too expensive if
> you want to compensate for the potential loss of trust/income).

That's not true. I know at the opposite many people who give more
trust to cacert for instance than for some of the well know commercial
CAs. The main reason why they are not integrated in browser for
instance is money: they don't get paid for the service, hence are
small on money as well and a security audit to get proven secure is
extremely expensive (see http://wiki.cacert.org/InclusionStatus ).

> That's nothing for this WG to solve though.
>
>>>> But the truth is that CA makes mistakes and give away some certs, that
>>>> developpers don't really warn well against unsecure streams to users
>>>> (it becomes better in web browsers, but in XMPP, that's definitely
>>>> still bad, looking at the behaviour of all well-spread clients) nor do
>>> Did you report that as bugs against those clients?
>>> Also which were those?
>>> I have seen shiny windows with big fonts about failed certificate check=
s
>>> that asked you to check the fingerprint etc. in most clients I have
>>> used. Complaining isn't going to get us anywhere.
> My question here still stands. If you really want to change something
> misbehaving clients are a good start.

I am participating in many ways in many Free softwares, in the XMPP
world and outside. Don't worry for this.
And the misbehaving is for instance that clients don't tell you what
kind of connection you are on. They will tell you a problem on a cert
but a non TLS connection will make no warning!

We have lot to learn from modern browsers, how they deal with level of
connections with colors (on the url bar for instance), icons (the
lock), etc.

>> You can do a lot of thing with passwords:
>> - keep a database of common passwords for future brute force attacks.
>> - try it on several other Internet services associated with the login,
>> because many people use the same login/password couple across services
>> (so an automated script to run on all famous services to check which
>> log/pass will work and hop you have access to dozens of people's
>> emails, paypal accounts, private photos and data, and so on).
>> - if this is a targeted attack, you can also study the password (in
>> case the person does not use the same login/pass everywhere) because
>> many people use a same pattern to make different passwords for all
>> service without having to remember. Then you may figure out their
>> passwords for other services.
>>
> Sure, I never claimed getting access to passwords was useless. It would
> just not be my personal primary worry on a hijacked session.

That's the worst one! The guy get full access and forever to this
service, and potentially others.

>> With SASL SCRAM, if the attacker can pass TLS, then with a MITM, he
>> will be able to connect "ONCE" (thanks to the nonce attribute used, so
>> that the attacker cannot connect again with the data he stole once he
>> disconnected). Of course he may still make a mess, but that's worse
>> with PLAIN where if he forgot something, he can just connect again as
>> much as he want (or do nothing to remain unseen but regularly connect
>> in order to spy on you regularly, which he cannot do if he cannot
>> reconnect). And also he can do =A0all the actions previously cited, like
>> connect on another services you use, etc.
>> MITM on SCRAM enables this one thing if TLS is broken: connect ONCE,
>> nothing more (of course if once connected, big security leaks like
>> ad-hoc commands enables to retrieve the password, or modify it without
>> having to rewrite the old one... that's another issue about crazy
>> unsafe features). You can't knowingly compare damages possible with
>> SCRAM and PLAIN.
>>
> I disagree. ONCE would be nice. But an attacker can do this EVERY TIME
> you log in.

Usually such attacks are only lasting a given period, until the
administrators of the right service notice there is a problem and take
act.

> He can also maintain the session for as long as he wants to.

Then he might be noticed more easily with his resource. Not as useful
as being able to regularly connect a few second, gather information
and disconnect.

> And then there are those "crazy unsafe features" that most people in
> fact really like. Especially being able to change your password once in
> a while sounds nice if you don't assume that you will be impersonated.
> Teaching people to assume they might be impersonated is quite hard, and
> as far as I'm concerned that is something we actually (should) try to
> protect against anyway.

This is why we should make this as secure as possible upstream to make
problems less serious for users who don't understand these security
issues and often don't listen nor learn.

> My point is: We are discussing password security for a scenario that
> should ideally never happen for a lot of other good reasons.

But which happened already quite a few times (see my previous email
for instance, and I just took 2 random examples) and will certainly
again. I told it: our role is not to imagine an "ideal", we must
imagine the "worst".

> Florian Zeitz

Bye.

Jehan

From jehan.marmottard@gmail.com  Fri Nov 12 06:03:31 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 E6A353A68C1 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 06:03:31 -0800 (PST)
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=[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 GOrur+nJ+pXn for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 06:03:31 -0800 (PST)
Received: from mail-ew0-f44.google.com (mail-ew0-f44.google.com [209.85.215.44]) by core3.amsl.com (Postfix) with ESMTP id D90923A6886 for <xmpp@ietf.org>; Fri, 12 Nov 2010 06:03:30 -0800 (PST)
Received: by ewy27 with SMTP id 27so1907389ewy.31 for <xmpp@ietf.org>; Fri, 12 Nov 2010 06:04:03 -0800 (PST)
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=kooVSS+FfkFVpLhf916+lXhXnWwuSBrtdqt/FYCt4Ic=; b=gidQx/PnVIlCJZZ2fbPPJGSvgxbzIxVHdwr84Dmty9OZN1e0o8YwZxQ5aFjQwGJE2V XL+mAsJV4t/z6TCshcs8rwPGvtgMKvpnCU5Q0hm4IUvWOLKZ7vzfzVR6NuCLJAid9jC0 4Zt48mFcJHmVgTEuBuYZmh7lQoqcNIBPubc2I=
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=FgNbEYEJzxfKQ6sMsNWJWpfgSwwjzqgIUONwaR1wwSctITKFgIOAyz+3StWav18whR iMU09ZmUHa8+jvYJ9ouBvZ0n66SPmxsDq/2nNGg0OxexAzsqCa+hRImWMMP1COL5Kfmf /ZK2zdGH87YrW7+/O1UhWUDZHCGMQhIDNSS8g=
MIME-Version: 1.0
Received: by 10.216.23.129 with SMTP id v1mr1985679wev.84.1289570642095; Fri, 12 Nov 2010 06:04:02 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Fri, 12 Nov 2010 06:04:01 -0800 (PST)
In-Reply-To: <4CDD4243.1070200@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com> <4CDD4243.1070200@stpeter.im>
Date: Fri, 12 Nov 2010 23:04:01 +0900
Message-ID: <AANLkTi=vMkY2n+N8j22DTBf8ZUzHuLA2H4da31gXbfXs@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: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 14:03:32 -0000

Hi,

2010/11/12 Peter Saint-Andre <stpeter@stpeter.im>:
> On 11/12/10 8:39 PM, Jehan Pag=E8s wrote:
>>> =A0 In addition, servers and clients SHOULD implement TLS with the
>>> =A0 TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>>>
>>
>> Even from what you reported from your previous discussions with
>> various security people, I don't understand why it makes the feature
>> become a MUST.
>
> It is SHOULD, not MUST.
>

Yes right. Still as we said in a previous email, experience teach that
SHOULD are usually to be considered as MUST. I would have prefered
MAY.
Anyway as Matthew Wild point in a further email, SHOULD was only for
the client, not for the server. So at least if we ever have to accept
compromise, let's take the stronger one.

>> That's recommendations among many others that would be worth written
>> in a security XEP. But if we are to say PLAIN is a "MUST", then this
>> should as well be in the RFC itself if we don't want the protocol to
>> be completely weak on security.
>
> The best way to improve security would be to move away from
> password-based authentication entirely (unless it's something like
> Secure Remote Password), i.e., to use certificate auth or key auth. We
> need more deployment experience before we can recommend that even more
> strongly.
>

That might be pretty hard to be deployed massively (I mean with common
users, with corporate use, it might work well) with the current state
of technology. Right now, it is pretty annoying procedure.
But yeah that could be great. But obviously it should not stop us from
securing what is currently used, which is why I will always fight as
much as I can from this kind of things (though I obviously accept
finale consensus even though it disagrees with me).
Bye!

Jehan

From mridulm80@yahoo.com  Fri Nov 12 06:04:29 2010
Return-Path: <mridulm80@yahoo.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 E12EB3A6886 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 06:04:29 -0800 (PST)
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 Gnv4ta4IChXy for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 06:04:12 -0800 (PST)
Received: from nm2.bullet.mail.in.yahoo.com (nm2.bullet.mail.in.yahoo.com [121.101.151.224]) by core3.amsl.com (Postfix) with SMTP id D23933A6B46 for <xmpp@ietf.org>; Fri, 12 Nov 2010 06:04:02 -0800 (PST)
Received: from [121.101.151.236] by nm2.bullet.mail.in.yahoo.com with NNFMP; 12 Nov 2010 14:04:32 -0000
Received: from [121.101.151.232] by tm1.bullet.mail.in.yahoo.com with NNFMP; 12 Nov 2010 14:04:37 -0000
Received: from [127.0.0.1] by omp1001.mail.in.yahoo.com with NNFMP; 12 Nov 2010 14:04:54 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 153428.32937.bm@omp1001.mail.in.yahoo.com
Received: (qmail 70811 invoked by uid 60001); 12 Nov 2010 14:04:32 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289570672; bh=HbIEm+i7Lu9l4nd5FhXXmxhPZxdQpkFXqnMBqDaBjHE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dQwZ7HuHjRBsQRuliZqhrnbzjIInnErtWV9xvA2zDsp1E5Vz2O4C5PM7F4UaFiUBWlEFDVx6sUIO9j08djEflKPipZnxUvC/W+fosnoVeHSnEFsX/DkDnV/0JnJBE5OjJz5WoJfERrLIFqoM2KIhaLd4AX6NAsvIC39vkA7CpcA=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vQBohe5L3clfB5yPkwk0r0vS6d1ha1tYjar1KHuyw7HmGyjUOc8qk0Cc4Z/r6/p3ioEjdCt+dwEaRTflXYTgYhAgkdyie1KnSvR8bOvwyuf3IUpPSVatojFiajYl1RTO7gNzmJsVGjnt7dA7jkjiBxD/CiRSoh6zk2WQSIVlTK0=;
Message-ID: <407698.70662.qm@web95413.mail.in2.yahoo.com>
X-YMail-OSG: 3p796OEVM1lfv2d.frBDmVw7LOSu2T7i82Y16FlryobJj4i zzOso2LBoNjOl34c8cG6RVkuZB17Zq2ASGwOlbeU2KKhdPe1PdNQwsI0TcOU 0HSsnZtQF_l3gpoT6mYsPoJHNvXdg_7YV.hn5wcBWC94Ix_IVnqVmqysDYL0 nTxYhz2.A3XWRylmYJmcj5g9htrIDr9gq8ssD755drpQLxjwpuXnRjojwOFP tog0Htpn02nx6NIEx8m8afzvbnIpfJD6cGGpySOVkxKiWBF8ax2bIsGq2C43 AnX7p6xbf4ayzcANAdDcftJCu7KjCn_kVeoetiOpkjrFACeMm7zp3APGu1mj 7ef0-
Received: from [209.131.62.115] by web95413.mail.in2.yahoo.com via HTTP; Fri, 12 Nov 2010 19:34:31 IST
X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259
Date: Fri, 12 Nov 2010 19:34:31 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: XMPP Working Group <xmpp@ietf.org>, Dave Cridland <dave@cridland.net>
In-Reply-To: <2850.1289561010.064691@puncture>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 12 Nov 2010 14:04:30 -0000

=0A=0AI dont see what the difference between=0A=0A=0A1) <iq to=3D"im.remote=
.net"  xmlns=3D"jabber:client"> ...=0A=0A=0Aand=0A=0A2) <iq ns1:to=3D"im.re=
mote.net" xmlns=3D"jabber:client"  ns1:xmlns=3D"jabber:client"> ...=0A=0Aan=
d =0A=0A3) <ns:iq ns1:to=3D"im.remote.net" xmlns:ns=3D"jabber:client"  ns1:=
xmlns=3D"jabber:client"> ...=0A=0A=0Ais.=0AAtleast from an xml point of vie=
w, there is no difference imo. =0A=0A=0AIf there are specific reasons why i=
t does not work for xml streams, or due to implementation quirks, then we w=
ould need them to be elaborated. I think bis spec does try to address few, =
but probably there are cases where it does not.=0A=0A=0A=0A=0ARegards,=0AMr=
idul=0A=0A=0A--- On Fri, 12/11/10, Dave Cridland <dave@cridland.net> wrote:=
=0A=0A> From: Dave Cridland <dave@cridland.net>=0A> Subject: Re: [xmpp] "re=
-scope" of xmpp stanza's=0A> To: "XMPP Working Group" <xmpp@ietf.org>=0A> D=
ate: Friday, 12 November, 2010, 4:53 PM=0A> On Thu Nov 11 16:34:44 2010, Mr=
idul=0A> Muralidharan wrote:=0A> > b) Explicit namespace specified at each =
level in the=0A> xml stanza.=0A> > =0A> >=A0 =A0 =A0 <myns1:iq=0A> myns1:to=
=3D"im.remote.net" xmlns:myns1=3D'jabber:client'=0A> type=3D'get'>=0A> > <m=
yns2:query=0A> xmlns:myns2=3D'jabber:client'><myns3:my_tag=0A> xmlns:myns3=
=3D'jabber:client'>custom_data</myns3:my_tag></myns2:query>=0A> > =0A> >=A0=
 =A0 =A0 </myns1:iq>=0A> =0A> Just as a side-note, that stanza has no to at=
tribute, so=0A> won't get routed at all.=0A> =0A> f:to=3D'...' xmlns:f=3D'.=
..' is not the same as a simple=0A> to=3D'...'=0A> =0A> Dave.=0A> --Dave Cr=
idland - mailto:dave@cridland.net=0A> - xmpp:dwd@dave.cridland.net=0A>  -=
=0A> acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/=0A>  - http:=
//dave.cridland.net/=0A> Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonad=
e=0A> _______________________________________________=0A> xmpp mailing list=
=0A> xmpp@ietf.org=0A> https://www.ietf.org/mailman/listinfo/xmpp=0A> =0A=
=0A

From mridulm80@yahoo.com  Fri Nov 12 06:40:35 2010
Return-Path: <mridulm80@yahoo.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 995213A693B for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 06:40:35 -0800 (PST)
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 Xom9flkNgh9Z for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 06:40:28 -0800 (PST)
Received: from nm4-vm0.bullet.mail.in.yahoo.com (nm4-vm0.bullet.mail.in.yahoo.com [121.101.151.213]) by core3.amsl.com (Postfix) with SMTP id AA4283A68CD for <xmpp@ietf.org>; Fri, 12 Nov 2010 06:40:20 -0800 (PST)
Received: from [121.101.151.236] by nm4.bullet.mail.in.yahoo.com with NNFMP; 12 Nov 2010 14:40:57 -0000
Received: from [121.101.151.232] by tm1.bullet.mail.in.yahoo.com with NNFMP; 12 Nov 2010 14:40:54 -0000
Received: from [127.0.0.1] by omp1001.mail.in.yahoo.com with NNFMP; 12 Nov 2010 14:41:10 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 510697.43458.bm@omp1001.mail.in.yahoo.com
Received: (qmail 27137 invoked by uid 60001); 12 Nov 2010 14:40:48 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289572848; bh=+LAcWaIQ7Etc5CQRQ7JX8tubZmReorORwpmS3vttAQw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ErH0Ceab6IHPqPqIwtkHIgdxpJqZMiI6oMsWXFYUaS/uwXGOk0YT70UcjS0Lhp6AVkvrZjNrc6HgsvBEPR7xDkn7v8/4p9n+lAn9no5GdyG7gbUa0jQX5nhHWkAlCKdXHoxRro62iYf6bJlq1OduTDM5sb8bNc6xMIrOkZmUs4E=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=IQ9TMgLFwhYEBgxiJXREQWFCE0ujnDBuiwrxiQxA72t31yfzDL6iyDAoeVca6Ji5T8fMHZooNQCHafcDE34H87AJkIOBawBnyaiO7+sUWzyCjfOHVkIcZedOi3J5cN+QwciK+sVsIfdehxJD+rCrqul02J+CJTVZ6oK68/m1Nvw=;
Message-ID: <801030.25604.qm@web95403.mail.in2.yahoo.com>
X-YMail-OSG: yeAwsiUVM1lc6B2iqD8aC45DcPvovdEN254_XTzE2X5.GmG 4OunvfhNX5MCJRF3_vZAHe5bF.gHdeVlxQYzF2KOckRt8sgxbnn4ZB0H1wrR byLcdqS9zPrZFG6N6jE.Kc0cLVvooSIpZcqPWvEokJbnGnvGO2vaRs97YBBu 2KdNbe8csXHmXsV70v.Ay7Lb5w9OJub7cNYY5XOz7rg00YhbhRAUz7RQiNW7 Z4JTE13aGiDgo9fOYwFWMCkeVOBWH_KpQu8G6F84MlNvqjNkG12Iiptx2dn5 mZp7CkNS2GGqO0B32LN5ZFXDaDynTHj3j334hG57MXMOSqJ2QBHuwbTF6ZIL 5ucE-
Received: from [209.131.62.115] by web95403.mail.in2.yahoo.com via HTTP; Fri, 12 Nov 2010 20:10:48 IST
X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259
Date: Fri, 12 Nov 2010 20:10:48 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: XMPP Working Group <xmpp@ietf.org>, Dave Cridland <dave@cridland.net>
In-Reply-To: <407698.70662.qm@web95413.mail.in2.yahoo.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 12 Nov 2010 14:40:35 -0000

=0A=0A=0AMissed the part about :=0A=0APer the Namespaces in XML Specificati=
on [XML Namespaces] an attribute does not inherit its namespace from the el=
ement it is attached to. If an attribute is not explicitly given a namespac=
e, it simply has no namespace.=0A=0A=0A=0A=0ASo yes, first is indeed not sa=
me as second or third.=0A=0ARegards,=0AMridul=0A=0A--- On Fri, 12/11/10, Mr=
idul Muralidharan <mridulm80@yahoo.com> wrote:=0A=0A> From: Mridul Muralidh=
aran <mridulm80@yahoo.com>=0A> Subject: Re: [xmpp] "re-scope" of xmpp stanz=
a's=0A> To: "XMPP Working Group" <xmpp@ietf.org>, "Dave Cridland" <dave@cri=
dland.net>=0A> Date: Friday, 12 November, 2010, 7:34 PM=0A> =0A> =0A> I don=
t see what the difference between=0A> =0A> =0A> 1) <iq to=3D"im.remote.net"=
=A0=0A> xmlns=3D"jabber:client"> ...=0A> =0A> =0A> and=0A> =0A> 2) <iq ns1:=
to=3D"im.remote.net"=0A> xmlns=3D"jabber:client"=A0 ns1:xmlns=3D"jabber:cli=
ent">=0A> ...=0A> =0A> and =0A> =0A> 3) <ns:iq ns1:to=3D"im.remote.net"=0A>=
 xmlns:ns=3D"jabber:client"=A0 ns1:xmlns=3D"jabber:client">=0A> ...=0A> =0A=
> =0A> is.=0A> Atleast from an xml point of view, there is no difference=0A=
> imo. =0A> =0A> =0A> If there are specific reasons why it does not work fo=
r xml=0A> streams, or due to implementation quirks, then we would need=0A> =
them to be elaborated. I think bis spec does try to address=0A> few, but pr=
obably there are cases where it does not.=0A> =0A> =0A> =0A> =0A> Regards,=
=0A> Mridul=0A> =0A> =0A> --- On Fri, 12/11/10, Dave Cridland <dave@cridlan=
d.net>=0A> wrote:=0A> =0A> > From: Dave Cridland <dave@cridland.net>=0A> > =
Subject: Re: [xmpp] "re-scope" of xmpp stanza's=0A> > To: "XMPP Working Gro=
up" <xmpp@ietf.org>=0A> > Date: Friday, 12 November, 2010, 4:53 PM=0A> > On=
 Thu Nov 11 16:34:44 2010, Mridul=0A> > Muralidharan wrote:=0A> > > b) Expl=
icit namespace specified at each level in=0A> the=0A> > xml stanza.=0A> > >=
 =0A> > >=A0 =A0 =A0 <myns1:iq=0A> > myns1:to=3D"im.remote.net" xmlns:myns1=
=3D'jabber:client'=0A> > type=3D'get'>=0A> > > <myns2:query=0A> > xmlns:myn=
s2=3D'jabber:client'><myns3:my_tag=0A> >=0A> xmlns:myns3=3D'jabber:client'>=
custom_data</myns3:my_tag></myns2:query>=0A> > > =0A> > >=A0 =A0 =A0 </myns=
1:iq>=0A> > =0A> > Just as a side-note, that stanza has no to attribute,=0A=
> so=0A> > won't get routed at all.=0A> > =0A> > f:to=3D'...' xmlns:f=3D'..=
.' is not the same as a simple=0A> > to=3D'...'=0A> > =0A> > Dave.=0A> > --=
Dave Cridland - mailto:dave@cridland.net=0A> > - xmpp:dwd@dave.cridland.net=
=0A> >=A0 -=0A> >=0A> acap://acap.dave.cridland.net/byowner/user/dwd/bookma=
rks/=0A> >=A0 - http://dave.cridland.net/=0A> > Infotrope Polymer - ACAP, I=
MAP, ESMTP, and Lemonade=0A> > ____________________________________________=
___=0A> > xmpp mailing list=0A> > xmpp@ietf.org=0A> > https://www.ietf.org/=
mailman/listinfo/xmpp=0A> > =0A> =0A> =0A> ________________________________=
_______________=0A> xmpp mailing list=0A> xmpp@ietf.org=0A> https://www.iet=
f.org/mailman/listinfo/xmpp=0A> =0A=0A

From mamille2@cisco.com  Fri Nov 12 07:03:10 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 8562A3A6953 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 07:03:10 -0800 (PST)
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 1cDJ6A8iCSYz for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 07:03:09 -0800 (PST)
Received: from sj-iport-6.cisco.com (sj-iport-6.cisco.com [171.71.176.117]) by core3.amsl.com (Postfix) with ESMTP id 64CED3A68CD for <xmpp@ietf.org>; Fri, 12 Nov 2010 07:03:09 -0800 (PST)
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: AvsEAKbm3EyrR7Ht/2dsb2JhbACiVHGjI5s/hUoEhFqFfQ
X-IronPort-AV: E=Sophos;i="4.59,188,1288569600"; d="scan'208";a="618802035"
Received: from sj-core-1.cisco.com ([171.71.177.237]) by sj-iport-6.cisco.com with ESMTP; 12 Nov 2010 15:03:40 +0000
Received: from dhcp-64-101-72-212.cisco.com (dhcp-64-101-72-212.cisco.com [64.101.72.212]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id oACF3dBr015366; Fri, 12 Nov 2010 15:03:39 GMT
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset=us-ascii
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <4CDD400D.9050801@stpeter.im>
Date: Fri, 12 Nov 2010 08:03:41 -0700
Content-Transfer-Encoding: 7bit
Message-Id: <99C1796C-FDB1-4B19-A113-818C4CA87DED@cisco.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1081)
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 15:03:10 -0000

On Nov 12, 2010, at 06:24 , Peter Saint-Andre wrote:
> ###
> 
> 13.8.3.  For Confidentiality and Authentication With Passwords
> 
>   For both confidentiality and authentication with passwords, servers
>   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
>   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
>   SHA-1-PLUS variants (with SCRAM-SHA1-PLUS being preferred, as
>   described under Section 13.9.4).
> 
>   In addition, servers and clients SHOULD implement TLS with the
>   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
> 
>      Security Note: The SCRAM-SHA-1 and especially SCRAM-SHA-1-PLUS
>      variants of the SCRAM mechanism are strongly preferred over the
>      PLAIN mechanism because of their superior security properties
>      (including for SCRAM-SHA-1-PLUS the ability to enforce channel
>      binding as described under Section 13.9.4).  Therefore, a client
>      SHOULD treat TLS plus SASL PLAIN as a technology of last resort to
>      be used only when interacting with a server that does not yet
>      support SCRAM, MUST prefer more secure mechanisms (e.g., EXTERNAL,
>      SCRAM-SHA-1-PLUS, and SCRAM-SHA-1) to the PLAIN mechanism, and
>      MUST NOT use the PLAIN mechanism if the stream does not at a
>      minimum have confidentiality and integrity protection via TLS with
>      full certificate validation as described under Section 13.7.2.1.
>      Similarly, a server MUST NOT offer SASL PLAIN if the stream is not
>      protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unless
>      it is unable to offer some variant of SASL SCRAM, e.g., because
>      the XMPP service depends for authentication purposes on a database
>      or directory that is not under the control of the XMPP
>      administrators, such as Pluggable Authentication Modules (PAM), an
>      LDAP directory [LDAP], or an Authentication, Authorization, and
>      Accounting (AAA) key management protocol (for guidance, refer to
>      [AAA]).
> 
> ###

I can live this this also.


- m&m


From luca.tagliaferri@gmail.com  Fri Nov 12 07:12:05 2010
Return-Path: <luca.tagliaferri@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 088073A6917 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 07:12:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.141
X-Spam-Level: 
X-Spam-Status: No, score=-1.141 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457]
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 aT2HofWuGOfX for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 07:11:54 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 643463A6912 for <xmpp@ietf.org>; Fri, 12 Nov 2010 07:11:51 -0800 (PST)
Received: by wwb18 with SMTP id 18so78773wwb.13 for <xmpp@ietf.org>; Fri, 12 Nov 2010 07:12:23 -0800 (PST)
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:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=prdpga7zx8O33FIqepVBwk2nsfWIZ+VxR+dvTwr/AiQ=; b=RPsCVDfrlz9tBgQ4ASiCrwc95jfDW96G+nOxeiYyjatcezumQqX/BKc0GmnUmMT8PL pJUB+Rkf1KEA0fQUTDlpjQKqbtOZqAAdWw/5Yq9CNHpNvYs88I70cWdMB13zh3k2sAKf hm9w6Zbaq0m79BgMyw4GYxbDuRUdkIOlR/KJY=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jH/WB94oJFEEFKoEEDKndGfYX0DFZi6l1FaeJS61PHlT1ITBw4iEA0/MKt9Rin5G3E ItzIc5CviE2lx8jpqjQR5096hV8nSELyUZHUNE567vLhdkcB3DziRq3edByAq2odiBeh nhtOW5DP7bwgXwJgJc3We6UxPjPzCd44scsrE=
Received: by 10.227.157.17 with SMTP id z17mr2498350wbw.142.1289574742612; Fri, 12 Nov 2010 07:12:22 -0800 (PST)
Received: from [192.168.11.56] (93-39-47-145.ip74.fastwebnet.it [93.39.47.145]) by mx.google.com with ESMTPS id i19sm2901874wbe.11.2010.11.12.07.12.20 (version=SSLv3 cipher=RC4-MD5); Fri, 12 Nov 2010 07:12:21 -0800 (PST)
Message-ID: <4CDD5960.2010308@gmail.com>
Date: Fri, 12 Nov 2010 16:12:32 +0100
From: luca tagliaferri <luca.tagliaferri@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101031 Mandriva/3.0.10-0.1mdv2010.1 (2010.1) Thunderbird/3.0.10
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CDCAD3C.4060804@stpeter.im> <4CDCCEB3.10100@darkrain42.org> <4CDCCFED.3060103@stpeter.im>
In-Reply-To: <4CDCCFED.3060103@stpeter.im>
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 3921bis: security note about roster pushes
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, 12 Nov 2010 15:12:05 -0000

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
actually in Bluendo we are dealing with distributed rosters and hence
we are facing similar problems.<br>
Actually we are using an xmpp2xmpp gateway that stores a remote roster
for connected client<br>
We mapped the presence subscription stanzas with iq packets so that the
component and the server<br>
do not interfere with each other when a new jid is added to the remote
roster<br>
We added two new states for the subscription like in the following
stanzas:<br>
<span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 id="internal-source-marker_0.4055871271993965"
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br>
<br>
This iq is sent when a user ask to subscribe to the contact presence<br>
<br>
&lt;iq from='xmpp2xmpp.jabber.bluendo.com'
to='<a class="moz-txt-link-abbreviated" href="mailto:glenda@jabber.bluendo.com/lampiro">glenda@jabber.bluendo.com/lampiro</a>' type='set'</span><span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">
id='150'&gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query
xmlns=&#8217;jabber:iq:roster#new&#8217;&gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;"> </span><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;item
jid='hecate\<a class="moz-txt-link-abbreviated" href="mailto:40example.com@xmpp2xmpp.jabber.bluendo.com">40example.com@xmpp2xmpp.jabber.bluendo.com</a>'
subscription='ask'/&gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query&gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">&lt;/iq&gt;<br>
<br>
<br>
This one instead is sent by the client that wished to add a new contact
to its roster<br>
<br>
</span></span><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">
<div style="margin: 0px; background-color: transparent;"><span
 id="internal-source-marker_0.4055871271993965"
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">&lt;iq
from='<a class="moz-txt-link-abbreviated" href="mailto:glenda@jabber.bluendo.com/lampiro">glenda@jabber.bluendo.com/lampiro</a>'
to='xmpp2xmpp.jabber.bluendo.com' type='set' id='130' &gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query
xmlns=&#8217;jabber:iq:roster#new&#8217;&gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;"> </span><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;item
jid='hecate\<a class="moz-txt-link-abbreviated" href="mailto:40example.com@xmpp2xmpp.jabber.bluendo.com">40example.com@xmpp2xmpp.jabber.bluendo.com</a>'
subscription='add'/&gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query&gt;</span><br>
<span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">&lt;/iq&gt;</span></div>
</span><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></span><br>
<br>
<br>
<span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">
<div style="margin: 0px; background-color: transparent;"><span
 id="internal-source-marker_0.4055871271993965"
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br>
</div>
</span>Il 12/11/2010 06:26, Peter Saint-Andre ha scritto:
<blockquote cite="mid:4CDCCFED.3060103@stpeter.im" type="cite">
  <pre wrap="">On 11/12/10 1:20 PM, Paul Aurich wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">And Peter Saint-Andre spoke on 11/11/2010 06:58 PM, saying:
    </pre>
    <blockquote type="cite">
      <pre wrap="">During discussions in Beijing, Joe Hildebrand mentioned to me that we're
missing a security note in 3921bis about client handling of roster
pushes, which might come from entities other than the server now that
we've removed special-casing of roster information by the server.
Therefore I propose adding the following note to Section 2.1.6 of 3920bis:
      </pre>
    </blockquote>
    <pre wrap="">
3921bis, I hope :)
    </pre>
  </blockquote>
  <pre wrap="">
Yes. Too much multitasking...

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">      Security Note: Traditionally, a roster push included no 'from'
      address, with the result that all roster pushes were sent
      implicitly from the bare JID of the account itself.  However, this
      specification allows entities other than the user's server to
      maintain roster information, which means that a roster push might
      include a 'from' address other than the bare JID of the user's
      account.  Therefore, the client MUST check the 'from' address to
      verify that the sender of the roster push is authorized to update
      the roster.  If the client receives a roster push from an
      unauthorized entity, it MUST NOT process the pushed data; in
      addition, the client can either return a stanza error of &lt;service-
      unavailable/&gt; error or refuse to return a stanza error at all (the
      latter behavior overrides a MUST-level requirement from
      [XMPP-CORE] for the purpose of preventing a presence leak).

/psa

      </pre>
    </blockquote>
    <pre wrap="">
Seems reasonable to me.
    </pre>
  </blockquote>
  <pre wrap="">
Thanks.

Peter

  </pre>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
xmpp mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmpp@ietf.org">xmpp@ietf.org</a>
<a class="moz-txt-link-freetext" href="https://www.ietf.org/mailman/listinfo/xmpp">https://www.ietf.org/mailman/listinfo/xmpp</a>
  </pre>
</blockquote>
</body>
</html>

From florob@babelmonkeys.de  Fri Nov 12 09:15:41 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 A5FB93A69F4 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 09:15:41 -0800 (PST)
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 qcpfilLemLqC for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 09:15:40 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id B1D133A69B8 for <xmpp@ietf.org>; Fri, 12 Nov 2010 09:15:40 -0800 (PST)
Received: from xdsl-78-34-107-136.netcologne.de ([78.34.107.136] helo=[192.168.234.167]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PGxES-0006gh-Tq for xmpp@ietf.org; Fri, 12 Nov 2010 18:16:13 +0100
Message-ID: <4CDD76B3.5050206@babelmonkeys.de>
Date: Fri, 12 Nov 2010 18:17:39 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com>	<4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im>
In-Reply-To: <4CDD400D.9050801@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 17:15:41 -0000

On 12.11.2010 14:24, Peter Saint-Andre wrote:
> On 11/12/10 7:45 PM, Dave Cridland wrote:
>>
>> From the PLAIN perspective, this is fine, modulo s/database/directory/.
>>
>> However, can we replace "SCRAM-SHA-1 and SCRAM-SHA-1-PLUS" with
>> "SCRAM-SHA-1-PLUS, or, failing that, SCRAM-SHA-1" or something, just to
>> remind readers that they ought to be using channel binding?
> 
> Further edited...
> 
> ###
> 
> 13.8.3.  For Confidentiality and Authentication With Passwords
> 
>    For both confidentiality and authentication with passwords, servers
>    and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
>    ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
>    SHA-1-PLUS variants (with SCRAM-SHA1-PLUS being preferred, as
>    described under Section 13.9.4).
> 
>    In addition, servers and clients SHOULD implement TLS with the
>    TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
> 
>       Security Note: The SCRAM-SHA-1 and especially SCRAM-SHA-1-PLUS
>       variants of the SCRAM mechanism are strongly preferred over the
>       PLAIN mechanism because of their superior security properties
>       (including for SCRAM-SHA-1-PLUS the ability to enforce channel
>       binding as described under Section 13.9.4).  Therefore, a client
>       SHOULD treat TLS plus SASL PLAIN as a technology of last resort to
>       be used only when interacting with a server that does not yet
>       support SCRAM, MUST prefer more secure mechanisms (e.g., EXTERNAL,
>       SCRAM-SHA-1-PLUS, and SCRAM-SHA-1) to the PLAIN mechanism, and
>       MUST NOT use the PLAIN mechanism if the stream does not at a
>       minimum have confidentiality and integrity protection via TLS with
>       full certificate validation as described under Section 13.7.2.1.
>       Similarly, a server MUST NOT offer SASL PLAIN if the stream is not
>       protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unless
>       it is unable to offer some variant of SASL SCRAM, e.g., because
>       the XMPP service depends for authentication purposes on a database
>       or directory that is not under the control of the XMPP
>       administrators, such as Pluggable Authentication Modules (PAM), an
>       LDAP directory [LDAP], or an Authentication, Authorization, and
>       Accounting (AAA) key management protocol (for guidance, refer to
>       [AAA]).
> 
> ###
> 

As Matthew Wild noted I think we had pretty strong consensus on making
PLAIN a MAY for servers. Otherwise this looks good to me.

My personal rational for having PLAIN as a SHOULD for clients
(admittedly somewhat included as a semi-response to Jehan PagÃ¨s) is that
while we need to be as secure as possible we also need to care about
interoperability.
We certainly can do better than using SASL PLAIN over TLS, but it's in
fact quite secure (if done correctly and the text is quite precise on
what "correct" should mean here (at least IMHO)).
Considering PLAIN as strictly optional on the other hand seems like a
burden for interoperability given current deployments.
I agree people would probably figure out they need to implement SASL
PLAIN to be able to authenticate against some deployments, but they
shouldn't run into issues in the first place after implementing the RFC.

--
Florian Zeitz

From stpeter@stpeter.im  Fri Nov 12 15:50: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 C66CF3A6B59 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 15:50:15 -0800 (PST)
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 25RWvBYF8w+c for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 15:50:01 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 56E323A6B5A for <xmpp@ietf.org>; Fri, 12 Nov 2010 15:50:01 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2075740BB9; Fri, 12 Nov 2010 17:00:05 -0700 (MST)
Message-ID: <4CDDD2C7.6080202@stpeter.im>
Date: Sat, 13 Nov 2010 07:50:31 +0800
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: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im>	<2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im>	<4CDA6A52.3020306@gmail.com>	<4CDD0377.3020203@stpeter.im> <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com> <4CDD4243.1070200@stpeter.im> <4CDD6CA3.8050908@gmail.com>
In-Reply-To: <4CDD6CA3.8050908@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="------------ms040707090905070804060703"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 23:50:15 -0000

This is a cryptographically signed message in MIME format.

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

Yes, that is the approach I was going to take before the WG chairs
talked me back from the edge. :)

That is, in relation to my previous email:

1. Remove this sentence:

   In addition, servers and clients SHOULD implement TLS with the
   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.

2. Add this sentence to the beginning of the Security Note:

   In practice, many servers offer, and many clients use, TLS plus
   SASL PLAIN.

So that would result in:

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants (with SCRAM-SHA1-PLUS being preferred, as
   described under Section 13.9.4).

      Interoperability and Security Note: In practice, many servers
      offer, and many clients use, TLS plus SASL PLAIN.  However, the
      SCRAM-SHA-1 and especially SCRAM-SHA-1-PLUS variants of the SCRAM
      mechanism are strongly preferred over the PLAIN mechanism because
      of their superior security properties (including for SCRAM-SHA-1-
      PLUS the ability to enforce channel binding as described under
      Section 13.9.4).  Therefore, a client SHOULD treat TLS plus SASL
      PLAIN as a technology of last resort to be used only when
      interacting with a server that does not yet support SCRAM, MUST
      prefer more secure mechanisms (e.g., EXTERNAL, SCRAM-SHA-1-PLUS,
      and SCRAM-SHA-1) to the PLAIN mechanism, and MUST NOT use the
      PLAIN mechanism if the stream does not at a minimum have
      confidentiality and integrity protection via TLS with full
      certificate validation as described under Section 13.7.2.1.
      Similarly, a server MUST NOT offer SASL PLAIN if the stream is not
      protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unless
      it is unable to offer some variant of SASL SCRAM, e.g., because
      the XMPP service depends for authentication purposes on a database
      or directory that is not under the control of the XMPP
      administrators, such as Pluggable Authentication Modules (PAM), an
      LDAP directory [LDAP], or an Authentication, Authorization, and
      Accounting (AAA) key management protocol (for guidance, refer to
      [AAA]).

###

On 11/13/10 12:34 AM, Yaron Sheffer wrote:
> I agree that the best way forward is to move to password-based mutual
> authentication methods. Two efforts that I'm involved with are:
>=20
> - An EAP method using the EKE protocol:
> http://tools.ietf.org/html/draft-sheffer-emu-eap-eke-08
>=20
> - IKEv2 with PACE:
> http://tools.ietf.org/html/draft-kuegler-ipsecme-pace-ikev2-04
>=20
> And to go back to the matter at hand, there is a conceptual problem wit=
h
> making PLAIN a SHOULD on the client side (although I appreciate  the
> interop aspects): if there are problems with the SSL channel, you are
> mandating that the client be susceptible to downgrade attacks. Or to pu=
t
> it bluntly, the client software is betraying the user. I think the way
> out is to avoid 2119 language even for the client, so that implementors=

> can choose what is right for their deployments. For example, they can
> avoid PLAIN altogether for specific, well known servers.
>=20
> Thanks,
>     Yaron
>=20
> On 11/12/2010 03:33 PM, Peter Saint-Andre wrote:
>> On 11/12/10 8:39 PM, Jehan Pag=C3=A8s wrote:
>>> Hi,
>>>
>>
>> The best way to improve security would be to move away from
>> password-based authentication entirely (unless it's something like
>> Secure Remote Password), i.e., to use certificate auth or key auth. We=

>> need more deployment experience before we can recommend that even more=

>> strongly.
>>
>> Peter
>>


--------------ms040707090905070804060703
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
ZOVf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6w9Ry5RiLVCcAGbecRjx3lUhe
hrXOWjv67UaEpSyKohpHIk4Rc7um8M5ApENlGZktlz2WSeE/7aralkGgCK06J0TF9F3urixu
bU9zTzdSexhN1kyL1ec3HdZrsvCWXOTxCjfq7uGf8J/ZWA1+hqX+GxUcqSa1Ku8Knra7AAAA
AAAA
--------------ms040707090905070804060703--

From stpeter@stpeter.im  Fri Nov 12 15:55: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 D9B693A6AED for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 15:55:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.557
X-Spam-Level: 
X-Spam-Status: No, score=-102.557 tagged_above=-999 required=5 tests=[AWL=0.042, 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 IZLGIAm+3pp1 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 15:55:24 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C03EF3A677E for <xmpp@ietf.org>; Fri, 12 Nov 2010 15:55:24 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 4F4AE40BB9 for <xmpp@ietf.org>; Fri, 12 Nov 2010 17:05:30 -0700 (MST)
Message-ID: <4CDDD40B.3060408@stpeter.im>
Date: Sat, 13 Nov 2010 07:55:55 +0800
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: xmpp@ietf.org
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im>	<2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im>	<4CDA6A52.3020306@gmail.com>	<4CDD0377.3020203@stpeter.im>	<2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de>
In-Reply-To: <4CDD76B3.5050206@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="------------ms040800090406010608000605"
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 23:55:32 -0000

This is a cryptographically signed message in MIME format.

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

On 11/13/10 1:17 AM, Florian Zeitz wrote:

> My personal rational for having PLAIN as a SHOULD for clients
> (admittedly somewhat included as a semi-response to Jehan Pag=C3=A8s) i=
s that
> while we need to be as secure as possible we also need to care about
> interoperability.
> We certainly can do better than using SASL PLAIN over TLS, but it's in
> fact quite secure (if done correctly and the text is quite precise on
> what "correct" should mean here (at least IMHO)).
> Considering PLAIN as strictly optional on the other hand seems like a
> burden for interoperability given current deployments.
> I agree people would probably figure out they need to implement SASL
> PLAIN to be able to authenticate against some deployments, but they
> shouldn't run into issues in the first place after implementing the RFC=
=2E

My personal rationale for saying that SASL PLAIN is only a MAY (i.e.,
strictly optional) is that we know that developers will implement it no
matter what we say in the spec anyway. However, I think it would be bad
for us to enable developers to point to the spec and say "oh sure there
are problems with SASL PLAIN, but the XMPP spec says I SHOULD implement
it and I couldn't find a good reason not to, so in our implementation we
just use SASL PLAIN -- I'm sorry that we haven't gotten around to adding
SCRAM yet, but we'll do it someday and in the meantime we basically
comply with the spec so what's the big deal?"

I'd rather not be responsible for that kind of thinking.

Peter

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




--------------ms040800090406010608000605
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
dGFydENvbSBMdGQuMSsw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AizANBgkqhkiG
9w0BAQEFAASCAQC3Qifo5g8/171A3CFEhg3rjM5Dg5n1D/P8ioGRL7DcHUJMCmCMVI/DUSeL
Fu/qcO24ocn8PHZYBh55hF0wneJytlOXyH5NyhIe+sY11FHw+GBbGKi+hbaNsMb4+DbunQ7t
z409NMQis5IxeRWVvBa7TNVyqsrVwJT7Pc4uIykhV7r9wmxH81AaTGdHnIVHbLBbMVVzHPic
bWbV9eehYTpek+cX1ygCP8h1+SjI9AOpqNxw431o9goe4L6usCx0++qXIauUHNiwBZlqo7vE
sDkLhxvIDor9SuyfPjSGTTs28wxKM5JsQ96fONPCbLjJOPWiRliw0zWzytkR/LCjKAuvAAAA
AAAA
--------------ms040800090406010608000605--

From stpeter@stpeter.im  Fri Nov 12 16:06: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 4D35D3A697F for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:06:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.557
X-Spam-Level: 
X-Spam-Status: No, score=-102.557 tagged_above=-999 required=5 tests=[AWL=0.042, 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 zxJ8VP0EqwK2 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:06:01 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 384003A657C for <xmpp@ietf.org>; Fri, 12 Nov 2010 16:06:01 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3CDBC40BB9; Fri, 12 Nov 2010 17:16:06 -0700 (MST)
Message-ID: <4CDDD687.6070309@stpeter.im>
Date: Sat, 13 Nov 2010 08:06:31 +0800
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: Matthew Wild <mwild1@gmail.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <AANLkTinVPDNoQrsMXrcx6Bz49eQogbF0o0P5ore17knm@mail.gmail.com>
In-Reply-To: <AANLkTinVPDNoQrsMXrcx6Bz49eQogbF0o0P5ore17knm@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="------------ms080008090709080709050908"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 13 Nov 2010 00:06:02 -0000

This is a cryptographically signed message in MIME format.

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

On 11/12/10 9:43 PM, Matthew Wild wrote:
> This is the best text proposed so far in my opinion; it most
> accurately reflects the majority consensus call responses and
> addresses the security and interoperability issues directly. However a
> couple of points inline...
>=20
> On 12 November 2010 13:24, Peter Saint-Andre <stpeter@stpeter.im> wrote=
:
>> On 11/12/10 7:45 PM, Dave Cridland wrote:
>>> On Fri Nov 12 09:05:59 2010, Peter Saint-Andre wrote:
>>>> 13.8.3.  For Confidentiality and Authentication With Passwords
>>>>
>>>>    For both confidentiality and authentication with passwords, serve=
rs
>>>>    and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_=
SHA
>>>>    ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SC=
RAM-
>>>>    SHA-1-PLUS variants.
>>>>
>>>>    In addition, servers and clients SHOULD implement TLS with the
>>>>    TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>>>>
>=20
> Consensus was that PLAIN ought to be SHOULD only for clients - servers
> can implement it as fitting for the deployment scenarios they want to
> support.

Right. We'll see where things actually end up (e.g., no conformance
language whatsoever).

>>>>       Similarly, a server MUST NOT offer SASL PLAIN if the stream is=
 not
>>>>       protected via TLS and SHOULD NOT offer TLS plus SASL PLAIN unl=
ess
>>>>       it is unable to offer some variant of SASL SCRAM
>=20
> I don't see that this requirement aids security or interoperability.

I assume you are referring to the second clause, not the first.

> Assuming the client obeys the rest of the text, it will not use PLAIN
> even if offered. Also this essentially discourages a SCRAM-capable
> server from ever offering PLAIN for interoperability with clients that
> do not support SCRAM. This is the majority of clients in the field
> today. I believe whether to offer PLAIN should be a deployment and
> implementation decision entirely.

In which case, there's a good reason for overriding the SHOULD NOT at a
deployment level.

Thus:

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants (with SCRAM-SHA1-PLUS being preferred, as
   described under Section 13.9.4).

      Interoperability and Security Note: In practice, many servers
      offer, and many clients use, TLS plus SASL PLAIN.  The SCRAM-SHA-1
      and especially SCRAM-SHA-1-PLUS variants of the SCRAM mechanism
      are strongly preferred over the PLAIN mechanism because of their
      superior security properties (including for SCRAM-SHA-1-PLUS the
      ability to enforce channel binding as described under
      Section 13.9.4).  A client SHOULD treat TLS plus SASL PLAIN as a
      technology of last resort to be used only when interacting with a
      server that does not yet support SCRAM, MUST prefer more secure
      mechanisms (e.g., EXTERNAL, SCRAM-SHA-1-PLUS, and SCRAM-SHA-1) to
      the PLAIN mechanism, and MUST NOT use the PLAIN mechanism if the
      stream does not at a minimum have confidentiality and integrity
      protection via TLS with full certificate validation as described
      under Section 13.7.2.1.  A server MUST NOT offer SASL PLAIN if the
      stream is not protected via TLS.  A server SHOULD NOT offer TLS
      plus SASL PLAIN unless it is unable to offer some variant of SASL
      SCRAM, e.g., because the XMPP service depends for authentication
      purposes on a database or directory that is not under the control
      of the XMPP administrators, such as Pluggable Authentication
      Modules (PAM), an LDAP directory [LDAP], or an Authentication,
      Authorization, and Accounting (AAA) key management protocol (for
      guidance, refer to [AAA]); however, offering TLS plus SASL PLAIN
      even when the server supports SCRAM might be appropriate if the
      server needs to enable interoperability with an installed base of
      clients that do not yet support SCRAM.

###





--------------ms080008090709080709050908
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content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QGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB+8DF24vyRfAg8RJXonOSoD3wMHeqawyoqjt60JTAW4y/V6jdFD37LFzKf
x/UVU9GrgvYW5mIE5JaV7/1YRNY2n1ARbNtepsoJncZ/8B4p4jDA38U5MHvIJIlFGEsTSYe6
6R2Y63qcqgDxb4O5KFqPUDKuz6C1S8Dju/KSyJFmm6KVyRE/2DKNT3o2obMvtt7A6gVbZf8M
AkBvcloclwCdvY2LKbPQWjBo6saOiZCqTqZYttV9imaqIazgR1AwCuyIJ5be179EjqPFM2Nt
DUPgfPFCy/Ro5cTZRV52+/tGur7F9dztoeNX8FNjTB12ruGlec9CxWrS3GxMEwND7909AAAA
AAAA
--------------ms080008090709080709050908--

From mwild1@gmail.com  Fri Nov 12 16:08:31 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 BE0403A697F for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:08:30 -0800 (PST)
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 qFTLOnPINHf6 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:08:26 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 80B5D3A657C for <xmpp@ietf.org>; Fri, 12 Nov 2010 16:08:24 -0800 (PST)
Received: by qyk30 with SMTP id 30so53647qyk.10 for <xmpp@ietf.org>; Fri, 12 Nov 2010 16:08:58 -0800 (PST)
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=T8KqwLOPsfO7odF0p4A/cxSYMFKBQimEdC1A4cR9AzE=; b=Qx4cSLU4rbKBJ9lsPrOXnhpddnGEZPL6WZ/T8hvLiPYwSXtyBBLciFNG+o88zogOD9 lXcMnH5OetZQAeebyNZ5AA1+EMtVJwwn66XF+/QzEMevTp4rwixKqnD+eM3X76+uKtNr u9jZIbFUhO1JxUWKEwEM2bfInEtVFfZ+QOlIc=
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=lZdokW27bC2qrw1aBvjPzBeAyP5cLMmm2fxwqWtWgHdAz8QSOLC/eLTsSIREYA21vx b5YNmY8NvFzoN7CWNxvqxXQwpxQxU+SjpIwtURlhOSxJlF77WFeAkXvy717I/k9ZxPxP KRc3D0Nw+AtGrSd7kUyU9pz2knetCUVdwdIxE=
Received: by 10.229.224.201 with SMTP id ip9mr2478422qcb.16.1289606938106; Fri, 12 Nov 2010 16:08:58 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Fri, 12 Nov 2010 16:08:37 -0800 (PST)
In-Reply-To: <4CDDD40B.3060408@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Sat, 13 Nov 2010 00:08:37 +0000
Message-ID: <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 13 Nov 2010 00:08:31 -0000

On 12 November 2010 23:55, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 11/13/10 1:17 AM, Florian Zeitz wrote:
>
>> My personal rational for having PLAIN as a SHOULD for clients
>> (admittedly somewhat included as a semi-response to Jehan Pag=C3=A8s) is=
 that
>> while we need to be as secure as possible we also need to care about
>> interoperability.
>> We certainly can do better than using SASL PLAIN over TLS, but it's in
>> fact quite secure (if done correctly and the text is quite precise on
>> what "correct" should mean here (at least IMHO)).
>> Considering PLAIN as strictly optional on the other hand seems like a
>> burden for interoperability given current deployments.
>> I agree people would probably figure out they need to implement SASL
>> PLAIN to be able to authenticate against some deployments, but they
>> shouldn't run into issues in the first place after implementing the RFC.
>
> My personal rationale for saying that SASL PLAIN is only a MAY (i.e.,
> strictly optional) is that we know that developers will implement it no
> matter what we say in the spec anyway. However, I think it would be bad
> for us to enable developers to point to the spec and say "oh sure there
> are problems with SASL PLAIN, but the XMPP spec says I SHOULD implement
> it and I couldn't find a good reason not to, so in our implementation we
> just use SASL PLAIN -- I'm sorry that we haven't gotten around to adding
> SCRAM yet, but we'll do it someday and in the meantime we basically
> comply with the spec so what's the big deal?"
>
> I'd rather not be responsible for that kind of thinking.
>

It's easy to get into pointless arguments about how people are going
to interpret the spec. However I'll just note that 1) if they don't
implement and use SCRAM over PLAIN wherever possible they are /not/
complying with the spec 2) the kind of people you're talking about -
we both know they're not going to change depending on what we put in
the spec now anyway :)

I don't think I've much more to contribute to this discussion, I've
given the rationale for my viewpoint and I bow to the better judgement
of the editor and security-focused people in the IETF.

Regards,
Matthew

From k.i.smith@gmail.com  Fri Nov 12 16:08:40 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 9861A3A6B6F for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:08:40 -0800 (PST)
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 qQsRV-ub0hsQ for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:08:39 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id B80DB3A6B6C for <xmpp@ietf.org>; Fri, 12 Nov 2010 16:08:39 -0800 (PST)
Received: by mail-qy0-f179.google.com with SMTP id 30so53647qyk.10 for <xmpp@ietf.org>; Fri, 12 Nov 2010 16:09:13 -0800 (PST)
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=qhBpd0zpYroAXyF+ZZn3wcuTvMesQhmoNOXN6Adif/4=; b=Jsuw4zfb8vUIkEfrBN33dm8tZ7g6Comzis+3+ZwJb61zFet+ZZLfhz/mtHCWWW49CV SQbpWG3Q/oJqZxjH1mPGc4TC7RYabLtm7PA91vKcw/AIq/HSp9aFR6Gz8qoSxOa6HqUn +2CCSEXGFem69heAuSa/xdGzN4wQinzPgpwgg=
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=wMO0snxtz83mt+IA7Rb2BR4ESWolflbEtYvhfjYH/FVGijImAuMj5jxpee8E5MuXz1 fF5LYhXXLZr4X6I19oGkTh1rS//m6eAMPqk1n6L4jar6YNiZ0IYcIuf4sWLj2ZIHsGsS ivGCRuW9/ukADzXe3+icvoS7NqANfYLzOsNmc=
MIME-Version: 1.0
Received: by 10.229.237.212 with SMTP id kp20mr2503839qcb.83.1289606953902; Fri, 12 Nov 2010 16:09:13 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Fri, 12 Nov 2010 16:09:13 -0800 (PST)
In-Reply-To: <4CDDD2C7.6080202@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com> <4CDD4243.1070200@stpeter.im> <4CDD6CA3.8050908@gmail.com> <4CDDD2C7.6080202@stpeter.im>
Date: Sat, 13 Nov 2010 00:09:13 +0000
X-Google-Sender-Auth: UbfBN-lXbTGKhBGGMZz0ttdGuOE
Message-ID: <AANLkTinmDDEtMpkfG_cbW2pQa=3_CXoj3aOdCLE0oPdB@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: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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: Sat, 13 Nov 2010 00:08:40 -0000

On Fri, Nov 12, 2010 at 11:50 PM, Peter Saint-Andre <stpeter@stpeter.im> wr=
ote:
> Yes, that is the approach I was going to take before the WG chairs
> talked me back from the edge. :)
>
> That is, in relation to my previous email:
>
> 1. Remove this sentence:
>
> =A0 In addition, servers and clients SHOULD implement TLS with the
> =A0 TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.

-1

/K

From stpeter@stpeter.im  Fri Nov 12 16:17: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 6AF9B3A6B77 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:17:26 -0800 (PST)
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 ygt+2fG+L8wb for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 16:17:19 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 511093A697F for <xmpp@ietf.org>; Fri, 12 Nov 2010 16:17:19 -0800 (PST)
Received: from dhcp-4316.meeting.ietf.org (dhcp-4316.meeting.ietf.org [130.129.67.22]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B050A40BB9; Fri, 12 Nov 2010 17:27:24 -0700 (MST)
Message-ID: <4CDDD92D.7010805@stpeter.im>
Date: Sat, 13 Nov 2010 08:17:49 +0800
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: kevin@kismith.co.uk
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im>	<2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im>	<4CDA6A52.3020306@gmail.com>	<4CDD0377.3020203@stpeter.im>	<AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com>	<4CDD4243.1070200@stpeter.im>	<4CDD6CA3.8050908@gmail.com>	<4CDDD2C7.6080202@stpeter.im> <AANLkTinmDDEtMpkfG_cbW2pQa=3_CXoj3aOdCLE0oPdB@mail.gmail.com>
In-Reply-To: <AANLkTinmDDEtMpkfG_cbW2pQa=3_CXoj3aOdCLE0oPdB@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="------------ms060006020502000701020605"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 13 Nov 2010 00:17:26 -0000

This is a cryptographically signed message in MIME format.

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

On 11/13/10 8:09 AM, Kevin Smith wrote:
> On Fri, Nov 12, 2010 at 11:50 PM, Peter Saint-Andre <stpeter@stpeter.im=
> wrote:
>> Yes, that is the approach I was going to take before the WG chairs
>> talked me back from the edge. :)
>>
>> That is, in relation to my previous email:
>>
>> 1. Remove this sentence:
>>
>>   In addition, servers and clients SHOULD implement TLS with the
>>   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>=20
> -1

It's easy to say "-1" when it's not your name that's on the rope
developers use to hang themselves and their users. :)

Practically it's not going to make much of a difference whether we say
SHOULD or non-normatively explain the reasons why it sometimes makes
sense to use PLAIN over TLS. Morally it makes a difference to me as a
spec writer.

Peter

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




--------------ms060006020502000701020605
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
BjQwggQcoAMCAQICASMw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Db20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBh1E4Nwc926a2Llc9rFonBXBSy39xXSEVSIJVadmzRTdxSUQHKeRpQZNAr
LTMT4UZTdus4POSw3SrIKlNT27MQkkoKSsUJeyJaEArqumCppklI3oNgyzaOruSyNRH/NjGx
ysqfoWmkLhjEMhUHV6I+OJPzr0amMZnHGfPTc2UDgEI75kOpcH8Tenhafvtz2ApIt4e4Y23h
m0y9oPmt0AO+Sow/hDs1/IFgZB11Q3TVn7fVJbJnh1eieG0NC4LSnryg4uZ6PmfpYEaNXVLX
qAjgrUynNWuMJNclopk5R1/7ib2wokog7qKg/CIyTaOPsmp1UM8Go1IYGSUohJ9eGfOzAAAA
AAAA
--------------ms060006020502000701020605--

From k.i.smith@gmail.com  Sat Nov 13 01:32:27 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 D47F63A6B08 for <xmpp@core3.amsl.com>; Sat, 13 Nov 2010 01:32:27 -0800 (PST)
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 WO4ZXqX6XK+U for <xmpp@core3.amsl.com>; Sat, 13 Nov 2010 01:32:27 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 280DA28C0DB for <xmpp@ietf.org>; Sat, 13 Nov 2010 01:32:17 -0800 (PST)
Received: by qyk30 with SMTP id 30so302942qyk.10 for <xmpp@ietf.org>; Sat, 13 Nov 2010 01:32:52 -0800 (PST)
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=NncEUvfQlEGOOe/sfzeFMfJwll8KVOEhQSQtFAEtBxo=; b=OIyj+y8gn8KJHGkkdomxK+6s5d6z3BLhaWbNh4/57tMsy7JQGOtvycuBPbc8C4Ipdt pP95qcic8QBpnSJ5G6igjsFGO3RtqdDpqGrEgoxp/0JFkfTPAFDdBf/3C0MnqUr1tVfA eg8dP3tcBMEUpUzeWaBv0/dOIu8g97JuPgcF4=
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=bZbkKMeQEXzwKsV+IyXdpmRAtQzoKv3QFNV0L5Ffeqt4vonKKdfDWgwcXCX4GIICvt dmTAnGfuHKUX6Po7lCOFcMb+BS5BTPc6VgHOGxRxQh1EVHlaSug1S91R+Kf2Fy2BKpCz VVmV8oJqtDfJI0JsNREfGykKzxCJnypkgm5JY=
MIME-Version: 1.0
Received: by 10.229.214.139 with SMTP id ha11mr2857888qcb.235.1289640771982; Sat, 13 Nov 2010 01:32:51 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Sat, 13 Nov 2010 01:32:51 -0800 (PST)
In-Reply-To: <4CDDD92D.7010805@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com> <4CDD4243.1070200@stpeter.im> <4CDD6CA3.8050908@gmail.com> <4CDDD2C7.6080202@stpeter.im> <AANLkTinmDDEtMpkfG_cbW2pQa=3_CXoj3aOdCLE0oPdB@mail.gmail.com> <4CDDD92D.7010805@stpeter.im>
Date: Sat, 13 Nov 2010 09:32:51 +0000
X-Google-Sender-Auth: XXc07H3aUzjHC3YQ7l3Ih6tzWvs
Message-ID: <AANLkTikJ_PMcg00Jt0gf8+apEdnhZu352nqOPUidnU5b@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: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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: Sat, 13 Nov 2010 09:32:27 -0000

On Sat, Nov 13, 2010 at 12:17 AM, Peter Saint-Andre <stpeter@stpeter.im> wr=
ote:
> On 11/13/10 8:09 AM, Kevin Smith wrote:
>> On Fri, Nov 12, 2010 at 11:50 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>>> Yes, that is the approach I was going to take before the WG chairs
>>> talked me back from the edge. :)
>>>
>>> That is, in relation to my previous email:
>>>
>>> 1. Remove this sentence:
>>>
>>> =A0 In addition, servers and clients SHOULD implement TLS with the
>>> =A0 TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN.
>>
>> -1
>
> It's easy to say "-1" when it's not your name that's on the rope
> developers use to hang themselves and their users. :)

It is; I didn't want to write a multi-page mail that didn't say
anything new, but still wanted to say that I still think this is the
wrong way to go.

Without PLAIN we've got an MTI that is currently available in a
shockingly small number of software/deployments and that we know is
going to be unsuitable for (it seems to me given my experience so far)
the majority of enterprise deployments. I'd rather we specced
something that we know will work, and explained how to use it as
safely as possible, than spec something we believe to be safe but that
we know isn't adequate for interop.

If a new client implements just SCRAM, which is what 3920bis is
suggesting is all that's needed for interop given that it's the only
MTI, what proportion of the XMPP network will they be able to interop
with? What proportion of the XMPP network SHOULD a client that
implements 3920bis be able to interop with? I'm sorry for sounding
like a broken record here, but I think it should be the vast majority
(and ideally all), not a tiny minority.

/K

From dave@cridland.net  Sat Nov 13 03:48:13 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 CE3243A69E2 for <xmpp@core3.amsl.com>; Sat, 13 Nov 2010 03:48:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.407
X-Spam-Level: 
X-Spam-Status: No, score=-2.407 tagged_above=-999 required=5 tests=[AWL=0.192,  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 QTJPDE8BKi1z for <xmpp@core3.amsl.com>; Sat, 13 Nov 2010 03:48:06 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 17E513A68E5 for <xmpp@ietf.org>; Sat, 13 Nov 2010 03:48:06 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id D0A5D11680FD; Sat, 13 Nov 2010 11:48:39 +0000 (GMT)
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 qU7OUYXyRntO; Sat, 13 Nov 2010 11:48:32 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id B033C11680FB; Sat, 13 Nov 2010 11:48:32 +0000 (GMT)
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com>
In-Reply-To: <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <2850.1289648912.721167@puncture>
Date: Sat, 13 Nov 2010 11:48:32 +0000
From: Dave Cridland <dave@cridland.net>
To: Matthew Wild <mwild1@gmail.com>, XMPP Working Group <xmpp@ietf.org>, Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 13 Nov 2010 11:48:13 -0000

On Sat Nov 13 00:08:37 2010, Matthew Wild wrote:
> It's easy to get into pointless arguments about how people are going
> to interpret the spec. However I'll just note that 1) if they don't
> implement and use SCRAM over PLAIN wherever possible they are /not/
> complying with the spec 2) the kind of people you're talking about -
> we both know they're not going to change depending on what we put in
> the spec now anyway :)

I'd note that the argument that "whatever the spec says people will  
do X anyway" is entirely self-defeating, anyway. Why bother writing a  
specification *at all*?

The purpose of the specification is twofold:

1) To document how to an implementation needs to behave to work with  
as many deployments as possible.

2) To inform implementors on how to do so with the maximum security.

In the XMPP community, perhaps more so than anywhere else (and  
certainly more so than anywhere else I've had the pleasure of  
experiencing), implementors and even operators are exceptionally  
close to the standards process. The vast majority of implementors  
follow the specifications and contribute to their development - one  
only needs to look at those involved in the consensus call here.  
Operators of larger services *also* keenly follow the standards  
process and ensure that their deployments, too, match the   
requirements.

If there is a single application protocol that's likely to have the  
RFCs carefully read by all involved, it'll be these.

Even if this weren't the case, I feel every bit as morally obliged to  
document reality and running code over some theoretical ideal - and  
XMPP is highly deployed, and we have certainly got the deployment  
knowledge available to inform us on this list. Producing an  
unrealistic specification which "everyone knows" you don't need to  
adhere to is a recipe for condemnation to irrelevance.

Yes, indeed, we understand that PLAIN is not, from a security  
standpoint, the ideal, and the proposals document this clearly.  
However, we also know that SCRAM is not always possible, and not yet  
commonplace (though, by way of illustrating previous points, SCRAM  
has far more deployed implementations in XMPP than anywhere else).  
PLAIN, however, is always possible - the reason for its very  
existence - and thus the best choice for maximal interoperability for  
clients.

There is, in my opinion, clear consensus that the best option we  
have, balancing the demands of security with those of  
interoperability, is to state that clients SHOULD, and servers MAY,  
implement PLAIN.

> I don't think I've much more to contribute to this discussion, I've
> given the rationale for my viewpoint and I bow to the better  
> judgement
> of the editor and security-focused people in the IETF.

Given the result of the consensus call, it's not entirely clear to me  
why we are continuing to debate this.

Do the chairs believe that the consensus call is unclear?

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  Sat Nov 13 17:12:51 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 F06153A6A4E for <xmpp@core3.amsl.com>; Sat, 13 Nov 2010 17:12:51 -0800 (PST)
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 EUw8oyW2t0OJ for <xmpp@core3.amsl.com>; Sat, 13 Nov 2010 17:12:45 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id F1FFD3A693A for <xmpp@ietf.org>; Sat, 13 Nov 2010 17:12:44 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3736940BB9; Sat, 13 Nov 2010 18:22:59 -0700 (MST)
Message-ID: <4CDF37AE.2060902@stpeter.im>
Date: Sun, 14 Nov 2010 09:13:18 +0800
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: kevin@kismith.co.uk
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im>	<2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im>	<4CDA6A52.3020306@gmail.com>	<4CDD0377.3020203@stpeter.im>	<AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com>	<4CDD4243.1070200@stpeter.im>	<4CDD6CA3.8050908@gmail.com>	<4CDDD2C7.6080202@stpeter.im>	<AANLkTinmDDEtMpkfG_cbW2pQa=3_CXoj3aOdCLE0oPdB@mail.gmail.com>	<4CDDD92D.7010805@stpeter.im> <AANLkTikJ_PMcg00Jt0gf8+apEdnhZu352nqOPUidnU5b@mail.gmail.com>
In-Reply-To: <AANLkTikJ_PMcg00Jt0gf8+apEdnhZu352nqOPUidnU5b@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="------------ms040504060402000706090000"
Cc: Yaron Sheffer <yaronf.ietf@gmail.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 14 Nov 2010 01:12:52 -0000

This is a cryptographically signed message in MIME format.

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

<snip/>

I just got home from IETF 79 in Beijing so it might take me a day or two
to reply further in this thread. Just so you know!

Peter

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




--------------ms040504060402000706090000
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/BAQDAgEGMB0GA1UdDgQWBBR7iZySlyShhEcCy3T8LvSs3DLl8zAf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GT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCV21z5sIWe4HvXjP1w/J1Wpw3NoI9WSmENl+jyvs4dGuib4GB5B+dl/AST
2ho1PcwMhHXgwHCZJm1nJfOPMhDbrVbM8KUztHeR7IyaIaA4CSxYENTtRQ11XJ87VHiPIGED
Te6G1f7CVMTUXZ4XaPaGwSY8C/E53pG7IA6THAZJ3B9rvSVhOylGmxqv7k0wy2AWj7Ke4RBv
FonsppPOZKdPoxYCKM4kPtSiVj8+v0koXWUvClxH/N/dHRLP0lA6Zo+nfj0HeCZV1BtvdVbk
uVBBwmZ2CrBB7O6u3MYKLgJOpA8DzD+Lq+BBF/hCEhOHlEHds/uv/ie2Q3zclf+WKs99AAAA
AAAA
--------------ms040504060402000706090000--

From mridulm80@yahoo.com  Mon Nov 15 00:48:35 2010
Return-Path: <mridulm80@yahoo.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 20B0C3A6A9B for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 00:48:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 hh6vRc6ke8cx for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 00:48:28 -0800 (PST)
Received: from nm3-vm0.bullet.mail.in.yahoo.com (nm3-vm0.bullet.mail.in.yahoo.com [121.101.151.212]) by core3.amsl.com (Postfix) with SMTP id 9ED7F3A69B9 for <xmpp@ietf.org>; Mon, 15 Nov 2010 00:48:27 -0800 (PST)
Received: from [121.101.151.237] by nm3.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 08:49:05 -0000
Received: from [121.101.151.233] by tm2.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 08:49:03 -0000
Received: from [127.0.0.1] by omp1002.mail.in.yahoo.com with NNFMP; 15 Nov 2010 08:49:02 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 944748.96584.bm@omp1002.mail.in.yahoo.com
Received: (qmail 29367 invoked by uid 60001); 15 Nov 2010 08:49:03 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289810943; bh=hltXnTKui6YjWkNKQxunkFXt237i724sXT891J322x0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=306IVPe/DPddzXYZx0VUZYLWbeE4fV4wl/gRR9wrNJ7M+YdofGcNVieFGxfPj4tAqMntV0D+1TajgBwCYpmKvNtA17nmcsET2aqcKG2gSJF7oOJoE1ffRFIz64AdU1HRaDI2rnIuAowtfyJLr25mUEkkct17gKdhrgyn16I4s70=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=c96x2E6uvpsjDjQ7nMaJrGU5nQ8iqf2+Pr1e6JCLCobTf4r2qfqPeoICuStzTLgcs53a46ofTpqUc1Jyc3u85WOgODB1BqzRarZiqVnkG9Cbl72xQbCZ1GGNqYX//Aswv6qmu3WZuj4I2MIKcQFU+wm/Gs5+cs14FDoZoViA6Yk=;
Message-ID: <449317.8206.qm@web95405.mail.in2.yahoo.com>
X-YMail-OSG: A8I2bVQVM1lM3spzzhDQassbPNeXuOUx8IKe7xDVGZEAdFc FZpjwhpx.OC0.JqRqhFcMn.skbitciUiKRf3mz.xgZiPEF9RSlY0awEhTePM Y0jeriil7HzIeyL8_za2jQIr9h4GGl9_QQDf9JFL63v8xe6eVLSno.852qnt mWAi8241J8tQhbSjHml1dBRtl.eWpyW9wUTw63KnLZnyRUwijMcD071ze5xD JuFni6i9vnTOjJGQlqit9WQpyd3t5bHQ4W5Z6Kxw0Yyc1IRJc6Kq6aMRK0o. P_gyQgXhtdUuDk.txgLlybbpSi3E0H6ernHaQF0GRVA--
Received: from [122.167.84.118] by web95405.mail.in2.yahoo.com via HTTP; Mon, 15 Nov 2010 14:19:03 IST
X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259
Date: Mon, 15 Nov 2010 14:19:03 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CDCDAF3.20202@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 15 Nov 2010 08:48:35 -0000

=0A=0AI just ran a few experiments, and apparently there is incompatibility=
 in terms of how re-scoping is handled in the current servers.=0AI have pub=
lished the results here [1], [2]=0AHopefully, the posts clarify what I was =
referring to more than my attempts at sending them over email here :-)=0A=
=0AEssentially, interpretation of what re-scoping means is implementation d=
ependent when you have explicit namespaces defined.=0AI am not sure if that=
 is a very good thing for interoperability.=0A=0A=0ARegards,=0AMridul=0A=0A=
=0A[1] http://xmpp-expt.blogspot.com/2010/11/re-scoping-experiments-1.html=
=0A[2] http://xmpp-expt.blogspot.com/2010/11/re-scoping-experiment-2-openfi=
re-to.html=0A=0A--- On Fri, 12/11/10, Peter Saint-Andre <stpeter@stpeter.im=
> wrote:=0A=0A> From: Peter Saint-Andre <stpeter@stpeter.im>=0A> Subject: R=
e: [xmpp] "re-scope" of xmpp stanza's=0A> To: "Mridul Muralidharan" <mridul=
m80@yahoo.com>=0A> Cc: xmpp@ietf.org=0A> Date: Friday, 12 November, 2010, 1=
1:43 AM=0A> On 11/12/10 1:35 PM, Mridul=0A> Muralidharan wrote:=0A> > Hi Pe=
ter,=0A> > =0A> > =0A> >=A0=A0=A0Please see inline.=0A> > =0A> > =0A> > Reg=
ards,=0A> > Mridul=0A> > =0A> > =0A> > =0A> > ----- Original Message ----=
=0A> >> From: Peter Saint-Andre <stpeter@stpeter.im>=0A> >> To: xmpp@ietf.o=
rg=0A> >> Sent: Fri, 12 November, 2010 7:23:38 AM=0A> >> Subject: Re: [xmpp=
] "re-scope" of xmpp stanza's=0A> >>=0A> >> On 11/12/10 12:34 AM, Mridul Mu=
ralidharan wrote:=0A> >>> Hi all,=0A> >>>=0A> >>>=0A> >>>=A0=A0=A0Are there=
 are rules regarding=0A> re-scoping of xmpp stanza=A0 from jabber:client =
=0A> >>=0A> >>> to jabber:server or vice versa ? I did not=0A> find much=A0=
 elaboration in 3920 or =0A> > =0A> >>> 3920bis.=0A> >>> (Assuming I am not=
 missing some=A0 general=0A> document !).=0A> >>=0A> >> Section 4.7.5 of 39=
20bis says:=0A> >>=0A> >>=A0 =A0 =A0 =A0 Implementation Note:=0A> Because a=
 client sends stanzas over a=A0 stream=0A> >>=A0 =A0 =A0=A0=A0whose content=
=0A> namespace is 'jabber:client', if=A0 the server to which=0A> >>=A0 =A0 =
=A0=A0=A0the client is=0A> connected needs to=A0 route a client-generated s=
tanza=0A> >>=A0 =A0 =A0=A0=A0to another server=0A> then=A0 it MUST "re-scop=
e" the stanza so that its=0A> >>=A0 =A0 =A0=A0=A0content=A0=0A> namespace i=
s 'jabber:server' (i.e., it MUST NOT send a=0A> >>=A0 =A0 =A0 =A0 stanza qu=
alified by the=0A> 'jabber:client' namespace over a stream=0A> >>=A0 =A0 =
=A0 =A0 whose content namespace=0A> is 'jabber:server').=A0 Similarly, a=A0=
 routing=0A> >>=A0 =A0 =A0=A0=A0server MUST=0A> "re-scope" a stanza receive=
d over a=A0 server-to-server=0A> >>=A0 =A0 =A0=A0=A0stream (whose=0A> conte=
nt namespace is=A0 'jabber:server') so that the=0A> >>=A0 =A0 =A0=A0=A0stan=
za is qualified=0A> by the=A0 'jabber:client' namespace before=0A> >>=A0 =
=A0 =A0=A0=A0sending it over=0A> a=A0 client-to-server stream (whose conten=
t namespace=0A> >>=A0 =A0 =A0=A0=A0is=A0=0A> 'jabber:client').=0A> >>=0A> >=
> If you think more needs to be said, please propose=0A> text=A0 very soon=
=0A> >> because the comment window is closed. I think the=0A> current text =
is=A0 fine=0A> >> and everything else is a matter of implmentation,=0A> but=
 you might=A0 disagree.=0A> > =0A> > =0A> > In the common case of :=0A> > =
=0A> > 1) Only stream namespace defined through xmlns as=0A> jabber:client/=
jabber:server.=0A> > 2) No explicit stanza and attribute namespace=0A> spec=
ified.=0A> > The rules above will work - which should actually=0A> cover mo=
st of the usecases =0A> > thankfully !=0A> > It becomes a simple case of re=
scoping the stanza from=0A> jabber:client to =0A> > jabber:server (and vice=
 versa) and everything else=0A> will work as-is.=0A> > =0A> > =0A> > But fo=
r a general case.=0A> > =0A> > a) We need not have default namespace define=
d for the=0A> stream (<client:stream =0A> > xmlns:client=3D"jabber:client">=
 ... )=0A> > =0A> > b) Explicitly specifying attribute namespace is not=0A>=
 disallowed - so how is it =0A> > supposed to be handled when they have a d=
ifferent=0A> ns-name compared to stanza.=0A> > (<client:iq=A0 c:to=3D"serve=
r.net"=0A> xmlns:c=3D"jabber:client"> ... )=0A> > =0A> > [read in conjugati=
on with http://www.w3.org/TR/REC-xml-names/#defaulting ].=0A> > =0A> > =0A>=
 > In these cases (or combinations thereof), how is=0A> re-scoping to be ha=
ndled.=0A> > For a jabber:client to jabber:server rescoping case,=0A> shoul=
d we :=0A> > =0A> > 1) Completely replace all occurance of 'jabber:client'=
=0A> namespace in the stanza =0A> > and all its children (down to the leave=
s) to=0A> 'jabber:server' ?=0A> > 2) Only replace at the (top level) stanza=
 for only the=0A> element nsname ?=0A> > 3) Replace all jabber:client nsnam=
e's at the (top=0A> level) stanza but not for the =0A> > children ?=0A> =0A=
> Please read this text from 3920bis:=0A> =0A> ###=0A> =0A> 4.7.3.=A0 Other=
 Namespaces=0A> =0A> =A0=A0=A0Either party to a stream MAY send data=0A> qu=
alified by namespaces other=0A> =A0=A0=A0than the content namespace and the=
=0A> streams namespace.=A0 For example,=0A> =A0=A0=A0this is how data relat=
ed to TLS=0A> negotiation and SASL negotiation are=0A> =A0=A0=A0exchanged, =
as well as XMPP extensions=0A> such as Stream Management=0A> =A0=A0=A0[XEP-=
0198] and Server Dialback=0A> [XEP-0220].=A0 (For historical reasons,=0A> =
=A0=A0=A0some server implementations expect a=0A> declaration of the 'jabbe=
r:=0A> =A0=A0=A0server:dialback' namespace on=0A> server-to-server streams,=
 as explained=0A> =A0=A0=A0in [XEP-0220].)=0A> =0A> =A0=A0=A0However, an XM=
PP server MUST NOT route or=0A> deliver data received over=0A> =A0=A0=A0an =
input stream if that data is (a)=0A> qualified by another namespace=0A> =A0=
=A0=A0and (b) addressed to an entity other than=0A> the server, unless the=
=0A> =A0=A0=A0other party to the output stream over=0A> which the server wo=
uld send the=0A> =A0=A0=A0data has explicitly negotiated or=0A> advertised =
support for receiving=0A> =A0=A0=A0arbitrary data from the server.=A0=0A> T=
his rule is included because XMPP=0A> =A0=A0=A0is designed for the exchange=
 of XML=0A> stanzas (not arbitrary XML data),=0A> =A0=A0=A0and because allo=
wing an entity to send=0A> arbitrary data to other=0A> =A0=A0=A0entities co=
uld significantly increase the=0A> potential for exchanging=0A> =A0=A0=A0ma=
licious information.=A0 As an=0A> example of this rule, the server=0A> =A0=
=A0=A0hosting the example.net domain would not=0A> route the following firs=
t-=0A> =A0=A0=A0level XML element from <romeo@example.net>=0A> to <juliet@e=
xample.com>:=0A> =0A> =A0 =A0=A0=A0<ns1:foo xmlns:ns1=3D'http://example.org=
/ns1'=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 from=3D'romeo@example.net/resource1'=
=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 to=3D'juliet@example.com'>=0A> =A0 =A0 =A0=
=A0=A0<ns1:bar/>=0A> =A0 =A0=A0=A0</ns1:foo>=0A> =0A> =A0=A0=A0This rule al=
so applies to first-level=0A> elements that look like stanzas=0A> =A0=A0=A0=
but that are improperly namespaced and=0A> therefore really are not=0A> =A0=
=A0=A0stanzas at all (see also Section 4.7.4),=0A> for example:=0A> =0A> =
=A0 =A0=A0=A0<ns2:message xmlns:pre=3D'http://example.org/ns2'=0A> =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 from=3D'romeo@example.net/resource1'=0A> =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 to=3D'juliet@example.com'>=0A> =A0 =
=A0=0A> =A0=A0=A0<body>hi</body>=0A> =A0 =A0=A0=A0</ns2:message>=0A> =0A> =
=A0=A0=A0Upon receiving arbitrary first-level XML=0A> elements over an inpu=
t=0A> =A0=A0=A0stream, a server MUST either ignore the=0A> data or return a=
 stream=0A> =A0=A0=A0error, which SHOULD be=0A> <unsupported-stanza-type/>.=
=0A> =0A> ###=0A> =0A> Does that address your questions?=0A> =0A> >>> I am =
thinking of scenarios which include :=0A> >>>=0A> >>> a) Explicit namespace=
 prefix whose uri which=0A> matches the default stream =0A> >>> namespace=
=0A> >>=0A> >> Disallowed. Section 4.7.4 of 3920bis=A0=0A> states:=0A> >>=
=0A> >>=A0 =A0 An implementation MUST NOT generate=0A> namespace prefixes=
=A0 for elements=0A> >>=A0 =A0 qualified by the content namespace if=0A> th=
e content=A0 namespace is=0A> >>=A0 =A0 'jabber:client' or 'jabber:server'.=
=0A> > =0A> > =0A> > Does this apply only to stream namespace or also to=0A=
> stanza namespace ?=0A> > If both, then it answers this part of my query I=
=0A> guess.=0A> > =0A> > As in:=0A> > =0A> > <client:stream xmlns:client=3D=
"jabber:client"=0A> ...>=0A> > ...=0A> > <iq xmlns=3D"jabber:client" to=3D"=
server.net">=0A> >=A0=A0=A0<query />=0A> > </iq>=0A> =0A> See this:=0A> =0A=
> ###=0A> =0A> 4.7.2.=A0 Content Namespace=0A> =0A> =A0=A0=A0An entity MAY =
declare a "content=0A> namespace" as the default namespace=0A> =A0=A0=A0for=
 data sent over the stream (i.e., data=0A> other than elements=0A> =A0=A0=
=A0qualified by the streams=0A> namespace).=A0 If so, (1) the content=0A> =
=A0=A0=A0namespace MUST be other than the streams=0A> namespace, and (2) th=
e=0A> =A0=A0=A0content namespace MUST be the same for=0A> the initial strea=
m and the=0A> =A0=A0=A0response stream so that both streams are=0A> qualifi=
ed consistently.=A0 The=0A> =A0=A0=A0content namespace applies to all=0A> f=
irst-level child elements sent over=0A> =A0=A0=A0the stream unless explicit=
ly qualified by=0A> another namespace (i.e.,=0A> =A0=A0=A0the content names=
pace is the default=0A> namespace).=0A> =0A> ###=0A> =0A> >>> b)=A0 Explici=
t namespace specified at each=0A> level in the xml stanza.=0A> >>>=0A> >>>=
=A0 =A0 =A0 <myns1:iq=0A> myns1:to=3D"im.remote.net"=A0 xmlns:myns1=3D'jabb=
er:client' =0A> >> type=3D'get'>=A0 =A0 =A0 =0A> >>=0A> >>>=A0 <myns2:query=
=0A> xmlns:myns2=3D'jabber:client'><myns3:my_tag=A0 =0A> >>=0A> xmlns:myns3=
=3D'jabber:client'>custom_data</myns3:my_tag></myns2:query>=0A> >>>=0A> >>>=
=A0 =A0 =A0 </myns1:iq>=0A> >>=0A> >> Such data is preserved,=A0 because Se=
ction 8.4=0A> of 3920bis states:=0A> >>=0A> >>=A0 =A0 If a server handles a=
=A0 stanza=0A> that is intended for delivery to another=0A> >>=A0 =A0 entit=
y and that=A0 contains a=0A> child element it does not understand, it=0A> >=
>=A0 =A0 MUST route the=A0 stanza=0A> unmodified to a remote server or deli=
ver the=0A> >>=A0 =A0 stanza unmodified=A0 to a=0A> connected client associ=
ated with a local=0A> >>=A0 =A0=A0=A0account.=0A> > =0A> > =0A> > Please no=
te that there are two cases here:=0A> > =0A> > 1) iq has to be rescoped fro=
m jabber:client to=0A> jabber:server.=0A> =0A> Sure.=0A> =0A> > 2) Child el=
ements have explicit jabber:client=0A> namespace (for query tag for =0A> > =
example).=0A> =0A> Why would you do that? Doesn't namespace inheritance han=
dle=0A> that?=0A> =0A> > To illustrate-=0A> > In a 'normal' case, the above=
 would be :=0A> > =0A> > <stream xmlns=3D"jabber:client" ...>=0A> > ...=0A>=
 > <iq to=3D"im.remote.net"=A0 type=3D'get'>=0A> >=A0=A0=A0<query >=0A> >=
=A0=0A> =A0=A0=A0<my_tag>custom_data</my_tag>=0A> >=A0=A0=A0</query>=0A> > =
</iq>=0A> > =0A> > =0A> > Which entirely gets rescoped to jabber:server=0A>=
 namespace as opposed to the =0A> > example you responded to.=0A> =0A> Corr=
ect.=0A> =0A> > If the behavior in both cases is going to be different=0A> =
- then we have additional =0A> > constraints on how xml is to be serialized=
 and=0A> deserialized from an xml stream =0A> > due to rescoping and how to=
 interpret it ...=0A> > Hopefully I am not missing something.=0A> =0A> Inhe=
ritance?=0A> =0A> Peter=0A> =0A> -- =0A> Peter Saint-Andre=0A> https://stpe=
ter.im/=0A> =0A> =0A> =0A> =0A=0A

From k.i.smith@gmail.com  Mon Nov 15 00:59: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 D85163A6C5B for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 00:59:51 -0800 (PST)
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 F59Hcli-dK7A for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 00:59:51 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 1B1FE3A69B9 for <xmpp@ietf.org>; Mon, 15 Nov 2010 00:59:50 -0800 (PST)
Received: by qwd6 with SMTP id 6so1075227qwd.31 for <xmpp@ietf.org>; Mon, 15 Nov 2010 01:00:31 -0800 (PST)
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; bh=mPFvO4betlDqxklwnq7GrrGdnzckGHehUWYy5NKww4g=; b=fOcA2NBV7CQ7SbKuAmEfHwiKiRaiE58bkdaPAdxk2eBmuJIRwB+V8UWlSoitzqVGfB FnaAwe3DksTVv22KnkoK3Ghgpwt34VdtKsqjlv9Kg/A8c+PoiCEy1A/R3b+ZFPVmDZ3T SeNRn2wTtkMJZwz2AgBBVl5LxVdLwm0F6NUM8=
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; b=nuyzRRXtzWDy/va7AVmfOWRbmfLU5BlEWAQ36CkCLFx635ImmAG4p9Q11KBGplcPo1 hhtpNcElk/Gs5WNfpYn7sW/PvDdV1K2N8+UUnZ0Xr+67sbRy0c0JimmQUeM6Wwd1XHO6 RrC6HY9WKOqqV7ossqV75ezjH+POEWQsZq/FU=
MIME-Version: 1.0
Received: by 10.229.233.19 with SMTP id jw19mr5012068qcb.7.1289811631528; Mon, 15 Nov 2010 01:00:31 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Mon, 15 Nov 2010 01:00:31 -0800 (PST)
In-Reply-To: <449317.8206.qm@web95405.mail.in2.yahoo.com>
References: <4CDCDAF3.20202@stpeter.im> <449317.8206.qm@web95405.mail.in2.yahoo.com>
Date: Mon, 15 Nov 2010 09:00:31 +0000
X-Google-Sender-Auth: pKse4TBuv_iJkvfmwqN8guUE-ZQ
Message-ID: <AANLkTineiEp9yXMa7rMKV_eOjNuCWj7UNSBD3=KMLM1v@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Mridul Muralidharan <mridulm80@yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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: Mon, 15 Nov 2010 08:59:51 -0000

On Mon, Nov 15, 2010 at 8:49 AM, Mridul Muralidharan
<mridulm80@yahoo.com> wrote:
> I just ran a few experiments, and apparently there is incompatibility in terms of how re-scoping is handled in the current servers.
> I have published the results here [1], [2]
> Hopefully, the posts clarify what I was referring to more than my attempts at sending them over email here :-)
> Essentially, interpretation of what re-scoping means is implementation dependent when you have explicit namespaces defined.
> I am not sure if that is a very good thing for interoperability.

I confess that I only read the first of the two links, but given that
all the experiments were based on sending data that break a MUST NOT
in the spec, expecting interoperability here seems a bit steep.

/K

From mridulm80@yahoo.com  Mon Nov 15 02:17:33 2010
Return-Path: <mridulm80@yahoo.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 7597A3A6ABE for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 02:17:33 -0800 (PST)
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 6XbPthPFGEvF for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 02:17:32 -0800 (PST)
Received: from nm2.bullet.mail.in.yahoo.com (nm2.bullet.mail.in.yahoo.com [121.101.151.224]) by core3.amsl.com (Postfix) with SMTP id 280B83A6C59 for <xmpp@ietf.org>; Mon, 15 Nov 2010 02:17:31 -0800 (PST)
Received: from [121.101.151.238] by nm2.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 10:18:08 -0000
Received: from [121.101.151.233] by tm3.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 10:18:10 -0000
Received: from [127.0.0.1] by omp1002.mail.in.yahoo.com with NNFMP; 15 Nov 2010 10:18:08 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 70549.15648.bm@omp1002.mail.in.yahoo.com
Received: (qmail 55083 invoked by uid 60001); 15 Nov 2010 10:18:08 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289816288; bh=gGVMyjMwvJfosUTLPjTYUKQtkQvwnzYQhxAPzwW9BDA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tRnbGhY8Ux363567n8UJI19kMkctsYtH9D1UWcfS7Yz6cIOxDqvhxz2IdMAecnlOg9SZl8bz+j+IFRskuKZMo4S7eaZjTTvpJi/Go9wdIArJJAmuaLtXtT8eeLOB0jPXNW2a0/oQNH5dcFqnCmusly8OwSkj10it3QNLkeCOj+I=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=EqDMOq8X3zPvF2ozmQZoktu0kNLrpZsMaUncRQCLYhy+dHikb3Wpk9cPsQmp70motUIkyck7KMuuXvTvLQ7MX5zc0ScDzU2MGYmFJAANjQBbkGFTVLv6rpMj3izkoJI1WFgCUpjP5KbntNitT8kOBXjCWZ2hVEH/Dj99wclDnSQ=;
Message-ID: <561133.32102.qm@web95412.mail.in2.yahoo.com>
X-YMail-OSG: s8Heam4VM1n84d5laK9ewUgm184pKU6xe5kN0As.wnxlxvZ Fb4ShI4LOiFRh5Lls2mhZrNS9ZPccPxnaCcCc4c2zX0BhM2mCd91B217F8Yu Rj0cmhyLF3cv.r_bA6mml09NlK0u1rU6sxsBVXYZJ1uw9fPRAkGr49XHiuKE pR4FtaWyIWSmHYjmyKt0NeUphPp6vy6OmqpZFE7xvStIzQVkEuVb0Yre41ex IBwsh8s4hRaAD1kuUnDKrvFOSs1ecqGL5Cuz20qLcmjGY4PU6JgOuFpE6g8i qKt5L2N1.AykbQbljhSjGKGb08xCM39fQmWwT5wXA84mq71.rkifnCw--
Received: from [209.131.62.115] by web95412.mail.in2.yahoo.com via HTTP; Mon, 15 Nov 2010 15:48:08 IST
X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.285259
References: <4CDCDAF3.20202@stpeter.im> <449317.8206.qm@web95405.mail.in2.yahoo.com> <AANLkTineiEp9yXMa7rMKV_eOjNuCWj7UNSBD3=KMLM1v@mail.gmail.com>
Date: Mon, 15 Nov 2010 15:48:08 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: kevin@kismith.co.uk
In-Reply-To: <AANLkTineiEp9yXMa7rMKV_eOjNuCWj7UNSBD3=KMLM1v@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 15 Nov 2010 10:17:33 -0000

=0AOther than two cases, imo the others were not violating MUST NOT : and t=
here =0Awere differences in the way stanzas were treated by various servers=
.=0A=0AIn addition, I did mention that until I get my hands on a client whi=
ch supports =0Aprefix-free canonicalization (or hack up one by myself), I c=
ant test for those =0Atwo valid cases too.=0A=0A=0A=0ARegards,=0AMridul=0A=
=0A=0A=0A----- Original Message ----=0A> From: Kevin Smith <kevin@kismith.c=
o.uk>=0A> To: Mridul Muralidharan <mridulm80@yahoo.com>=0A> Cc: Peter Saint=
-Andre <stpeter@stpeter.im>; xmpp@ietf.org=0A> Sent: Mon, 15 November, 2010=
 2:30:31 PM=0A> Subject: Re: [xmpp] "re-scope" of xmpp stanza's=0A> =0A> On=
 Mon, Nov 15, 2010 at 8:49 AM, Mridul Muralidharan=0A> <mridulm80@yahoo.com=
> wrote:=0A> > I  just ran a few experiments, and apparently there is incom=
patibility in =0A>terms of  how re-scoping is handled in the current server=
s.=0A> > I have published the  results here [1], [2]=0A> > Hopefully, the p=
osts clarify what I was referring  to more than my attempts =0A>at sending =
them over email here :-)=0A> >  Essentially, interpretation of what re-scop=
ing means is implementation =0A>dependent  when you have explicit namespace=
s defined.=0A> > I am not sure if that is a  very good thing for interopera=
bility.=0A> =0A> I confess that I only read the  first of the two links, bu=
t given that=0A> all the experiments were based on  sending data that break=
 a MUST NOT=0A> in the spec, expecting interoperability  here seems a bit s=
teep.=0A> =0A> /K=0A> =0A=0A

From mridulm80@yahoo.com  Mon Nov 15 03:18:57 2010
Return-Path: <mridulm80@yahoo.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 041C53A6C6D for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 03:18:57 -0800 (PST)
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 Ac8jh5jyM0va for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 03:18:56 -0800 (PST)
Received: from nm3.bullet.mail.in.yahoo.com (nm3.bullet.mail.in.yahoo.com [121.101.151.225]) by core3.amsl.com (Postfix) with SMTP id B1A533A6BF2 for <xmpp@ietf.org>; Mon, 15 Nov 2010 03:18:55 -0800 (PST)
Received: from [121.101.151.238] by nm3.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 11:19:33 -0000
Received: from [121.101.151.233] by tm3.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 11:19:34 -0000
Received: from [127.0.0.1] by omp1002.mail.in.yahoo.com with NNFMP; 15 Nov 2010 11:19:31 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 383819.34026.bm@omp1002.mail.in.yahoo.com
Received: (qmail 14794 invoked by uid 60001); 15 Nov 2010 11:19:32 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289819971; bh=48+yVOgcrqMzTGHdHzX34UYS3R4gDDrTN3EKwnUsu2I=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=buP3wOAxdtc8V2swGyKNH+j/VrxIC9GNOe9ntjP3QCpJYq1Tz0FvW2gZAO9+uNbU51pH/CwL2h8rXiFKLkG/nPFR3YItvCQT0+FtSU1D2WJCY7N5CKtX5tbwvLfWLCZwBwkUW6dScqsNTcTTf4jhDuhflgNHkPbvV9WjAI8kRLE=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MGtj3SwnuNCDEI0m6RJZK7YuK3W/wDnCeV3AXJKKLkWa3GXkf5784eY9azcn9Sxopz4hDxrFy3muF+Pw1pPo3Z4OoDfAzWJtoI4/PDDkWbcB2pqKZ7cGtaQhMnfDS7vIlWSfJvIJSujLf4hV7d7r4XtRXMgeE2MF5ZniGL9Lq0g=;
Message-ID: <853084.14773.qm@web95403.mail.in2.yahoo.com>
X-YMail-OSG: PXP1LygVM1nNJ6Xgt2TmRhxVG_qYqXiLaHDsF.ZXrYLyrW2 SH4VOZSAeNtXODiWqSCxosxIK6Qt4mMVvg06TvtrNn1hYCW1OU6Bma5kOE6S OrDRWwUfMbhv0pk97t9qUP7fzQ9pTNSsEQ11.Wdv0bvu_vZsQQRkJw9PFJJ_ z9HBl7SwQcf1W64QDs.Nheh69j6Sx5azUMsKzsnr_QwSgXul_pjGWMSSA2EY O2.EX0kOOfrUH6.dMXtlpC_npz1Qvv._cWXBXiGKjoOX59sptLe7HILNFk0l 1VTleO.ePYXyNzIt51HveqrnwHjpnzICSILuifYax2ZlTsABZNUkYgQ--
Received: from [209.131.62.115] by web95403.mail.in2.yahoo.com via HTTP; Mon, 15 Nov 2010 16:49:31 IST
X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259
Date: Mon, 15 Nov 2010 16:49:31 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: kevin@kismith.co.uk
In-Reply-To: <AANLkTineiEp9yXMa7rMKV_eOjNuCWj7UNSBD3=KMLM1v@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 15 Nov 2010 11:18:57 -0000

=0AI re-ran the same experiment with prefix-free canonicalization to avoid =
the issue Kevin mentioned for the cases where it was applicable.=0AUnfortun=
ately, the results were the same, and the posts have been updated to indica=
te the same.=0A=0AHopefully that should clarify better. Thanks for pointing=
 out the error.=0A=0A=0A=0ATo add, the reason for bringing this up is - I w=
ant to know what the 'right' way to do re-scoping is in case of ambiguity f=
or the parser we are doing. Various servers seem to implement it depending =
in their own way which can lead to interoperability issues somewhere down t=
he line.=0AIt is not a mental exercise on how to break protocol, or get spe=
c updated, etc :-)=0A=0ARegards,=0AMridul=0A=0A--- On Mon, 15/11/10, Kevin =
Smith <kevin@kismith.co.uk> wrote:=0A=0A> From: Kevin Smith <kevin@kismith.=
co.uk>=0A> Subject: Re: [xmpp] "re-scope" of xmpp stanza's=0A> To: "Mridul =
Muralidharan" <mridulm80@yahoo.com>=0A> Cc: "Peter Saint-Andre" <stpeter@st=
peter.im>, xmpp@ietf.org=0A> Date: Monday, 15 November, 2010, 2:30 PM=0A> O=
n Mon, Nov 15, 2010 at 8:49 AM,=0A> Mridul Muralidharan=0A> <mridulm80@yaho=
o.com>=0A> wrote:=0A> > I just ran a few experiments, and apparently there =
is=0A> incompatibility in terms of how re-scoping is handled in the=0A> cur=
rent servers.=0A> > I have published the results here [1], [2]=0A> > Hopefu=
lly, the posts clarify what I was referring to=0A> more than my attempts at=
 sending them over email here :-)=0A> > Essentially, interpretation of what=
 re-scoping means=0A> is implementation dependent when you have explicit=0A=
> namespaces defined.=0A> > I am not sure if that is a very good thing for=
=0A> interoperability.=0A> =0A> I confess that I only read the first of the=
 two links, but=0A> given that=0A> all the experiments were based on sendin=
g data that break a=0A> MUST NOT=0A> in the spec, expecting interoperabilit=
y here seems a bit=0A> steep.=0A> =0A> /K=0A> =0A=0A

From florob@babelmonkeys.de  Mon Nov 15 05:43:37 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 9DFB728C131 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 05:43:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.649
X-Spam-Level: 
X-Spam-Status: No, score=-1.649 tagged_above=-999 required=5 tests=[AWL=0.001,  BAYES_00=-2.599, HELO_EQ_DE=0.35, 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 j9YFcWapNSnw for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 05:43:36 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id AE5733A6CA6 for <xmpp@ietf.org>; Mon, 15 Nov 2010 05:43:21 -0800 (PST)
Received: from 78-038.eduroam.rwth-aachen.de ([134.61.78.38]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PHzLl-0000Zq-QV for xmpp@ietf.org; Mon, 15 Nov 2010 14:44:01 +0100
Message-ID: <4CE13980.1020707@babelmonkeys.de>
Date: Mon, 15 Nov 2010 14:45:36 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CDCDAF3.20202@stpeter.im>	<449317.8206.qm@web95405.mail.in2.yahoo.com>	<AANLkTineiEp9yXMa7rMKV_eOjNuCWj7UNSBD3=KMLM1v@mail.gmail.com> <561133.32102.qm@web95412.mail.in2.yahoo.com>
In-Reply-To: <561133.32102.qm@web95412.mail.in2.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 15 Nov 2010 13:43:37 -0000

On 15.11.2010 11:18, Mridul Muralidharan wrote:
> 
> Other than two cases, imo the others were not violating MUST NOT : and there 
> were differences in the way stanzas were treated by various servers.
> 
> In addition, I did mention that until I get my hands on a client which supports 
> prefix-free canonicalization (or hack up one by myself), I cant test for those 
> two valid cases too.
> 
> 
> 
> Regards,
> Mridul
> 
> 

I think some of this stems from the fact that you seem to be reading
3920bis-13 and not the current 3920bis-18 that reads:
   "An implementation MUST NOT generate namespace prefixes for elements
   qualified by the content namespace if the content namespace is
   'jabber:client' or 'jabber:server'"
(Previously you could bind namespace prefixes if the default namespace
was not set...)
That means all of the examples but
<message  xml:lang="en" to="mridul@ejabberd.daigoro.net" >
<ns1:body xmlns:ns1="jabber:server" >Test 4</ns1:body>
</message>
are invalid. In that case ns1 is bound to jabber:server, but
jabber:server is not the content namespace of the C2S stream.
However this in turn causes the server to send invalid stanzas over the
S2S stream, and the receiving server to reconstruct a different stanza
and send that over the C2S stream.
I'm honestly not sure how to solve this (or if we really need to).
We could aways just forbid sending elements with a namespace name of
jabber:server over a C2S stream (or do we already?).

--
Florian Zeitz

From mridulm80@yahoo.com  Mon Nov 15 06:05:10 2010
Return-Path: <mridulm80@yahoo.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 13E913A6A70 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 06:05:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, 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 sU+oNpf6yoKs for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 06:05:04 -0800 (PST)
Received: from nm4-vm0.bullet.mail.in.yahoo.com (nm4-vm0.bullet.mail.in.yahoo.com [121.101.151.213]) by core3.amsl.com (Postfix) with SMTP id 733893A68D4 for <xmpp@ietf.org>; Mon, 15 Nov 2010 06:05:03 -0800 (PST)
Received: from [121.101.151.237] by nm4.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 14:05:49 -0000
Received: from [121.101.151.232] by tm2.bullet.mail.in.yahoo.com with NNFMP; 15 Nov 2010 14:05:40 -0000
Received: from [127.0.0.1] by omp1001.mail.in.yahoo.com with NNFMP; 15 Nov 2010 14:06:02 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 434078.35551.bm@omp1001.mail.in.yahoo.com
Received: (qmail 77243 invoked by uid 60001); 15 Nov 2010 14:05:40 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289829940; bh=Pq/otGEny79zrr46kqDAIDOuxK8XQJb34WNNM1EejNY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dIWh7v0nRBId1wti5ASfnc3vaNE8NlnR49pCxwNjRRKaBthAeM5P018i/gaNRdiFQGQr0n5IfcollfBHW193Vn8/CJh1guKpWwW8SODzvVCIrd6PbfdUqoW5+CBamCpvhy88yeZjadAvhlt7kEfoKPzek5+oymJ+qqQkLfeF/Ks=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=P2SzVygx2E5VBdAb7u9CPnUgLWQ4gYO5ly4FsXtFKGcf0LCtstVkd1rLO3JU+wEC+skZ+07MhMybi/XaLk3M/AmLqjAM3hxxUmRn5Xizd/CAGZq/v/T3A7+eeF6vSuGaHTlnE+4fvAZPI0Z3H8raFS+yHxsQC6FfEeKLywtxTgI=;
Message-ID: <523676.75240.qm@web95412.mail.in2.yahoo.com>
X-YMail-OSG: v4AwUYYVM1mHij5iA18sQt.sk1K4rmzYsEWR0k.WPZJBWRJ BNNenMnFvcTNqgPW_50zJDTPQyHD0OSLjPbq42hDsVDtUzhLmOOt1CXrMHE_ uVh009pshybKw3QpSAKGBSu4U8RqjwXFu6EGIV2Fvfyoec_tbGdkCa0wEngr wynP36b8Ls7KqrDbt0C4pRzdgo29efGTWhNz5yPCf5wJpE5_a.GHEHCcubgJ 5bp1HqvI8y8bd1.zSswDVMtQQZObc6PZE3HPtWYGvTqB3D9m_fcSoQL4tWQD rUN.22kTZh.D8.jU1ENVTpOEw093XEw--
Received: from [122.167.84.118] by web95412.mail.in2.yahoo.com via HTTP; Mon, 15 Nov 2010 19:35:40 IST
X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259
Date: Mon, 15 Nov 2010 19:35:40 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: xmpp@ietf.org, Florian Zeitz <florob@babelmonkeys.de>
In-Reply-To: <4CE13980.1020707@babelmonkeys.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 15 Nov 2010 14:05:10 -0000

=0A--- On Mon, 15/11/10, Florian Zeitz <florob@babelmonkeys.de> wrote:=0A=
=0A> From: Florian Zeitz <florob@babelmonkeys.de>=0A> Subject: Re: [xmpp] "=
re-scope" of xmpp stanza's=0A> To: xmpp@ietf.org=0A> Date: Monday, 15 Novem=
ber, 2010, 7:15 PM=0A> On 15.11.2010 11:18, Mridul=0A> Muralidharan wrote:=
=0A> > =0A> > Other than two cases, imo the others were not=0A> violating M=
UST NOT : and there =0A> > were differences in the way stanzas were treated=
 by=0A> various servers.=0A> > =0A> > In addition, I did mention that until=
 I get my hands=0A> on a client which supports =0A> > prefix-free canonical=
ization (or hack up one by=0A> myself), I cant test for those =0A> > two va=
lid cases too.=0A> > =0A> > =0A> > =0A> > Regards,=0A> > Mridul=0A> > =0A> =
> =0A> =0A> I think some of this stems from the fact that you seem to=0A> b=
e reading=0A> 3920bis-13 and not the current 3920bis-18 that reads:=0A> =A0=
=A0=A0"An implementation MUST NOT generate=0A> namespace prefixes for eleme=
nts=0A> =A0=A0=A0qualified by the content namespace if the=0A> content name=
space is=0A> =A0=A0=A0'jabber:client' or 'jabber:server'"=0A> (Previously y=
ou could bind namespace prefixes if the=0A> default namespace=0A> was not s=
et...)=0A> That means all of the examples but=0A> <message=A0 xml:lang=3D"e=
n" to=3D"mridul@ejabberd.daigoro.net"=0A> >=0A> <ns1:body xmlns:ns1=3D"jabb=
er:server" >Test=0A> 4</ns1:body>=0A> </message>=0A> are invalid. In that c=
ase ns1 is bound to jabber:server,=0A> but=0A> jabber:server is not the con=
tent namespace of the C2S=0A> stream.=0A=0A=0AIf you notice, the responses =
were the same even in case of a xmpp stream which is not bound to jabber:cl=
ient or jabber:server as the default xmlns namespace (what is referred to a=
s prefix-free canonicalization in the rfc).=0A=0A=0AThat is, the xmpp strea=
m was opened as :=0A=0A<stream:stream xmlns:stream=3D"http://etherx.jabber.=
org/streams" version=3D"1.0" to=3D"domain" xml:lang=3D"en" xmlns:xml=3D"htt=
p://www.w3.org/XML/1998/namespace" >=0A=0A=0A- with no xmlns defined for th=
e stream.=0A=0A=0A=0A=0A=0A=0A=0A=0A> However this in turn causes the serve=
r to send invalid=0A> stanzas over the=0A> S2S stream, and the receiving se=
rver to reconstruct a=0A> different stanza=0A> and send that over the C2S s=
tream.=0A> I'm honestly not sure how to solve this (or if we really=0A> nee=
d to).=0A> We could aways just forbid sending elements with a=0A> namespace=
 name of=0A> jabber:server over a C2S stream (or do we already?).=0A=0A=0AI=
 dont think we do.=0ABut the same applies to component stream too btw (I ju=
st did not explicitly include it in the examples).=0A=0A=0A=0A=0AIn general=
 though, it would be nice if we had the restrictions on XML streams laid ou=
t - and where it deviates from XML : since XMPP defines what XML stream is =
supposed to look like - like usecases of XML stream within context of only =
3920 (not necessarily with 3921).=0A=0AFor example: the note above which yo=
u referred to [1] looks like a attempt to prevent issues but perhaps does n=
ot deal with the underlying cause of it.=0A=0A=0A=0A=0AThanks,=0AMridul=0A=
=0A=0A=0A[1] MUST NOT have prefix if same as content namespace which is jab=
ber:client or jabber:server.=0A=0A=0A=0A=0A> =0A> --=0A> Florian Zeitz=0A> =
_______________________________________________=0A> xmpp mailing list=0A> x=
mpp@ietf.org=0A> https://www.ietf.org/mailman/listinfo/xmpp=0A> =0A=0A

From luca.tagliaferri@gmail.com  Mon Nov 15 07:12:44 2010
Return-Path: <luca.tagliaferri@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 BD53C28C147 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 07:12:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.141
X-Spam-Level: 
X-Spam-Status: No, score=-1.141 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_HTML_ONLY=1.457]
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 eqcbLLmqcFZf for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 07:12:34 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 9226A28C13F for <xmpp@ietf.org>; Mon, 15 Nov 2010 07:12:33 -0800 (PST)
Received: by wwa36 with SMTP id 36so126963wwa.13 for <xmpp@ietf.org>; Mon, 15 Nov 2010 07:13:14 -0800 (PST)
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:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9ggP1V/BfSF7T9K3Ro0c9iFf3b8+kRO9RhECF9CAsRc=; b=sBWI9u3qU2cCC/kpJvcdrfKOeq8XKx3oSR9gaQfgIFl7mPh+GG9aGyBfjmW3IfBcJ4 +W0cai+6tP0fi1cHA2l2s8Lly7JQXYFpetBvipk30KQAwv6S6IfBWiOlkR1kEWkmBoom wqune6XwNgYpFJncIRlHyHA7tWtpYM+Jp+8G4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jvTtAHUDUo88sCHYWkgKg6A/vs+dLd1xZ5HI5gxJ17DJYZFvYRWBTVhBv97HzE3eZA Lg9Grht3eRyYWqzXRKqmBS0Ux3tPYvhnzJiRfRQnz6iVm7xVf9FhBOvShN+BWuuIr5i3 Lm50JcfeUgJX65qdMCbHiN2Vhc4vYgdUFqwTE=
Received: by 10.216.13.69 with SMTP id a47mr885960wea.51.1289833994114; Mon, 15 Nov 2010 07:13:14 -0800 (PST)
Received: from [192.168.11.56] (93-39-47-145.ip74.fastwebnet.it [93.39.47.145]) by mx.google.com with ESMTPS id p4sm37522wej.4.2010.11.15.07.13.11 (version=SSLv3 cipher=RC4-MD5); Mon, 15 Nov 2010 07:13:12 -0800 (PST)
Message-ID: <4CE14E21.3040404@digigroup.com>
Date: Mon, 15 Nov 2010 16:13:37 +0100
From: Luca Tagliaferri <luca.tagliaferri@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101031 Mandriva/3.0.10-0.1mdv2010.1 (2010.1) Thunderbird/3.0.10
MIME-Version: 1.0
To: xmpp@ietf.org
References: <4CDCAD3C.4060804@stpeter.im> <4CDCCEB3.10100@darkrain42.org> <4CDCCFED.3060103@stpeter.im> <4CDD5960.2010308@gmail.com>
In-Reply-To: <4CDD5960.2010308@gmail.com>
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] 3921bis: security note about roster pushes
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, 15 Nov 2010 15:12:44 -0000

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi, <br>
<br>
I would like to underline that such an approach is meant to replace the
usual presence subscription packages<br>
when dealing with distributed rosters<br>
Any comment to this approach?<br>
Would it be a feasible way to follow?<br>
<br>
Il 12/11/2010 16:12, luca tagliaferri ha scritto:
<blockquote cite="mid:4CDD5960.2010308@gmail.com" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
Hi,<br>
  <br>
actually in Bluendo we are dealing with distributed rosters and hence
we are facing similar problems.<br>
Actually we are using an xmpp2xmpp gateway that stores a remote roster
for connected client<br>
We mapped the presence subscription stanzas with iq packets so that the
component and the server<br>
do not interfere with each other when a new jid is added to the remote
roster<br>
We added two new states for the subscription like in the following
stanzas:<br>
  <span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 id="internal-source-marker_0.4055871271993965"
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br>
  <br>
  <br>
  <br>
This iq is sent when a user ask to subscribe to the contact presence<br>
  <br>
  <br>
  <br>
&lt;iq from='xmpp2xmpp.jabber.bluendo.com'<br>
to='<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:glenda@jabber.bluendo.com/lampiro">glenda@jabber.bluendo.com/lampiro</a>'
type='set'</span><span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br>
id='150'&gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query<br>
xmlns=&#8217;jabber:iq:roster#new&#8217;&gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;"> </span><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;item<br>
jid='hecate\<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:40example.com@xmpp2xmpp.jabber.bluendo.com">40example.com@xmpp2xmpp.jabber.bluendo.com</a>'<br>
subscription='ask'/&gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query&gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">&lt;/iq&gt;<br>
  <br>
  <br>
  <br>
  <br>
  <br>
This one instead is sent by the client that wished to add a new contact<br>
to its roster<br>
  <br>
  <br>
  <br>
  </span></span><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">
  <div style="margin: 0px; background-color: transparent;"><span
 id="internal-source-marker_0.4055871271993965"
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">&lt;iq<br>
from='<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:glenda@jabber.bluendo.com/lampiro">glenda@jabber.bluendo.com/lampiro</a>'<br>
to='xmpp2xmpp.jabber.bluendo.com' type='set' id='130' &gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query<br>
xmlns=&#8217;jabber:iq:roster#new&#8217;&gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="Apple-tab-span" style="white-space: pre;"> </span><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;item<br>
jid='hecate\<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:40example.com@xmpp2xmpp.jabber.bluendo.com">40example.com@xmpp2xmpp.jabber.bluendo.com</a>'<br>
subscription='add'/&gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><span
 class="Apple-tab-span" style="white-space: pre;"> </span>&lt;query&gt;</span><br>
  <span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">&lt;/iq&gt;</span></div>
  </span><span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;"><span
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></span><br>
  <br>
  <br>
  <span class="Apple-style-span"
 style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; font-size: medium;">
  <div style="margin: 0px; background-color: transparent;"><span
 id="internal-source-marker_0.4055871271993965"
 style="font-size: 12pt; font-family: 'Times New Roman'; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br>
  </div>
  </span>Il 12/11/2010 06:26, Peter Saint-Andre ha scritto:
  <blockquote cite="mid:4CDCCFED.3060103@stpeter.im" type="cite">
    <pre wrap="">On 11/12/10 1:20 PM, Paul Aurich wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">And Peter Saint-Andre spoke on 11/11/2010 06:58 PM, saying:
    </pre>
      <blockquote type="cite">
        <pre wrap="">During discussions in Beijing, Joe Hildebrand mentioned to me that we're
missing a security note in 3921bis about client handling of roster
pushes, which might come from entities other than the server now that
we've removed special-casing of roster information by the server.
Therefore I propose adding the following note to Section 2.1.6 of 3920bis:
      </pre>
      </blockquote>
      <pre wrap="">3921bis, I hope :)
    </pre>
    </blockquote>
    <pre wrap="">Yes. Too much multitasking...

  </pre>
    <blockquote type="cite">
      <blockquote type="cite">
        <pre wrap="">      Security Note: Traditionally, a roster push included no 'from'
      address, with the result that all roster pushes were sent
      implicitly from the bare JID of the account itself.  However, this
      specification allows entities other than the user's server to
      maintain roster information, which means that a roster push might
      include a 'from' address other than the bare JID of the user's
      account.  Therefore, the client MUST check the 'from' address to
      verify that the sender of the roster push is authorized to update
      the roster.  If the client receives a roster push from an
      unauthorized entity, it MUST NOT process the pushed data; in
      addition, the client can either return a stanza error of &lt;service-
      unavailable/&gt; error or refuse to return a stanza error at all (the
      latter behavior overrides a MUST-level requirement from
      [XMPP-CORE] for the purpose of preventing a presence leak).

/psa

      </pre>
      </blockquote>
      <pre wrap="">Seems reasonable to me.
    </pre>
    </blockquote>
    <pre wrap="">Thanks.

Peter

  </pre>
    <pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
xmpp mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:xmpp@ietf.org">xmpp@ietf.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="https://www.ietf.org/mailman/listinfo/xmpp">https://www.ietf.org/mailman/listinfo/xmpp</a>
  </pre>
  </blockquote>
</blockquote>
</body>
</html>

From yaronf.ietf@gmail.com  Fri Nov 12 08:34:28 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 241603A6A08 for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 08:34:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.364
X-Spam-Level: 
X-Spam-Status: No, score=-102.364 tagged_above=-999 required=5 tests=[AWL=0.235, 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 B5wvEZRyWEER for <xmpp@core3.amsl.com>; Fri, 12 Nov 2010 08:34:21 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id D7EE63A69D3 for <xmpp@ietf.org>; Fri, 12 Nov 2010 08:34:20 -0800 (PST)
Received: by wyb29 with SMTP id 29so106941wyb.31 for <xmpp@ietf.org>; Fri, 12 Nov 2010 08:34:53 -0800 (PST)
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=8eS31sc+y7UISNFE/GRBbOBHARuGsfXUR9Hlk2ZuJqc=; b=IwvhGRVPM+9HyMCEOVCbwq2Ckr6x0QZBXbBXsP2ggr0TjJ0CTJqtJHkTDRCetdQjxe KJOvQsUnx1wwyRTC/S8mOEWu0Z36Vb1c/pV1kfijjGIWtfw+FB9J5b4pAziW3xtb83BP GiDUm9KODDXzpiLnjyhZ1GhQgw62JUotCjDp8=
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=GnJWq0I1+7Nf2m0htCR5NX6QnYD6GSekzmYO1oNsK4uf6SNNdzScbatMp4oP7m/8La V2XvRHCsSq/FZ/G2niCET3eifRH7KebkQD7t4+CEJn+dTPuSmQnrZrogoQ8c9zIrgSob hRGzBvduqLSOfrYRVPNZfL1su2sfS/ivUl9lI=
Received: by 10.227.137.203 with SMTP id x11mr2621863wbt.105.1289579692067; Fri, 12 Nov 2010 08:34:52 -0800 (PST)
Received: from [10.0.0.2] (bzq-79-181-26-165.red.bezeqint.net [79.181.26.165]) by mx.google.com with ESMTPS id a17sm2963394wbe.18.2010.11.12.08.34.46 (version=SSLv3 cipher=RC4-MD5); Fri, 12 Nov 2010 08:34:49 -0800 (PST)
Message-ID: <4CDD6CA3.8050908@gmail.com>
Date: Fri, 12 Nov 2010 18:34:43 +0200
From: Yaron Sheffer <yaronf.ietf@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <0885629943.973293031@cridland.net>	<C8F95150.39924%joe.hildebrand@webex.com>	<AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com>	<4CD55D20.5070304@babelmonkeys.de>	<4CD55F93.8030008@stpeter.im>	<AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com>	<4CD85D19.4080601@stpeter.im>	<AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com>	<4CD9C450.8070506@stpeter.im>	<2850.1289341066.377699@puncture>	<4CD9CF46.2000400@stpeter.im>	<4CDA6A52.3020306@gmail.com>	<4CDD0377.3020203@stpeter.im> <AANLkTi=ZgnFnR6bcMmRe8m9aAX_K1FfGUOdxCs7rbhqD@mail.gmail.com> <4CDD4243.1070200@stpeter.im>
In-Reply-To: <4CDD4243.1070200@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Mailman-Approved-At: Mon, 15 Nov 2010 13:58:06 -0800
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 12 Nov 2010 16:34:28 -0000

I agree that the best way forward is to move to password-based mutual 
authentication methods. Two efforts that I'm involved with are:

- An EAP method using the EKE protocol: 
http://tools.ietf.org/html/draft-sheffer-emu-eap-eke-08

- IKEv2 with PACE: 
http://tools.ietf.org/html/draft-kuegler-ipsecme-pace-ikev2-04

And to go back to the matter at hand, there is a conceptual problem with 
making PLAIN a SHOULD on the client side (although I appreciate  the 
interop aspects): if there are problems with the SSL channel, you are 
mandating that the client be susceptible to downgrade attacks. Or to put 
it bluntly, the client software is betraying the user. I think the way 
out is to avoid 2119 language even for the client, so that implementors 
can choose what is right for their deployments. For example, they can 
avoid PLAIN altogether for specific, well known servers.

Thanks,
	Yaron

On 11/12/2010 03:33 PM, Peter Saint-Andre wrote:
> On 11/12/10 8:39 PM, Jehan Pagès wrote:
>> Hi,
>>
>
> The best way to improve security would be to move away from
> password-based authentication entirely (unless it's something like
> Secure Remote Password), i.e., to use certificate auth or key auth. We
> need more deployment experience before we can recommend that even more
> strongly.
>
> Peter
>

From ben@nostrum.com  Mon Nov 15 14:04:01 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 DDC8428C127 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 14:04:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.6
X-Spam-Level: 
X-Spam-Status: No, score=-102.6 tagged_above=-999 required=5 tests=[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 sHISViyHZT82 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 14:03:59 -0800 (PST)
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 C7D9D3A6C3C for <xmpp@ietf.org>; Mon, 15 Nov 2010 14:03:55 -0800 (PST)
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 oAFM4anA041970 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 15 Nov 2010 16:04:37 -0600 (CST) (envelope-from ben@nostrum.com)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
From: Ben Campbell <ben@nostrum.com>
In-Reply-To: <2850.1289648912.721167@puncture>
Date: Mon, 15 Nov 2010 16:04:36 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture>
To: XMPP Working Group <xmpp@ietf.org>
X-Mailer: Apple Mail (2.1082)
Received-SPF: pass (nostrum.com: 75.53.54.121 is authenticated by a trusted mechanism)
Cc: Joe Hildebrand <joe.hildebrand@webex.com>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 15 Nov 2010 22:04:02 -0000

(as chair)

On Nov 13, 2010, at 5:48 AM, Dave Cridland wrote:

> Given the result of the consensus call, it's not entirely clear to me =
why we are continuing to debate this.
>=20
> Do the chairs believe that the consensus call is unclear?

The chairs see a rough consensus for:

- servers MAY offer PLAIN over TLS in the cases where something better
cannot be deployed

- clients SHOULD implement PLAIN over TLS (while preferring anything =
more
secure) in order to maximize interoperability with the servers that =
can't
deploy anything else

- Implementations SHOULD try really hard not to use PLAIN except as a =
last resort.

Let's move on to seeing if we can agree to text that adequately =
describes
this in more normative language. I think we are close, but may need =
another round of word-smithing to be sure.

Thanks!

Ben.=

From stpeter@stpeter.im  Mon Nov 15 14:17: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 681673A6D4A for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 14:17:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.553
X-Spam-Level: 
X-Spam-Status: No, score=-102.553 tagged_above=-999 required=5 tests=[AWL=0.046, 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 rvNbEzCOlRa8 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 14:17:51 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id EC3983A6D52 for <xmpp@ietf.org>; Mon, 15 Nov 2010 14:17:46 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id EA7A840BB9 for <xmpp@ietf.org>; Mon, 15 Nov 2010 15:28:16 -0700 (MST)
Message-ID: <4CE1B1B3.9020604@stpeter.im>
Date: Mon, 15 Nov 2010 15:18:27 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <523676.75240.qm@web95412.mail.in2.yahoo.com>
In-Reply-To: <523676.75240.qm@web95412.mail.in2.yahoo.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="------------ms070706030200050004080707"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 15 Nov 2010 22:17:57 -0000

This is a cryptographically signed message in MIME format.

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

On 11/15/10 7:05 AM, Mridul Muralidharan wrote:

> In general though, it would be nice if we had the restrictions on XML
> streams laid out=20

Well, one solution would be to forbid prefix-free canonicalization at
the stream level. Be careful what you wish for... ;-)

Peter

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




--------------ms070706030200050004080707
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
tzCVUAL0DAxZ7wgzQv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2jpNcaKlCt6nv49xp
jo6+ZnhPHFidqz2mWQ6ljsGdJZfifg8iaWYaZ9oDI3ufB9BHlGp3U4GW51Gt4QXqeSXOAAAA
AAAA
--------------ms070706030200050004080707--

From stpeter@stpeter.im  Mon Nov 15 17:41: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 5E29F3A6AB9 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 17:41:57 -0800 (PST)
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 svsb-zNNflnP for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 17:41:56 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 023CE3A6B72 for <xmpp@ietf.org>; Mon, 15 Nov 2010 17:41:56 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2E30540D15; Mon, 15 Nov 2010 18:52:24 -0700 (MST)
Message-ID: <4CE1E189.60705@stpeter.im>
Date: Mon, 15 Nov 2010 18:42:33 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Ben Campbell <ben@nostrum.com>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture> <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com>
In-Reply-To: <096872F3-6F72-431B-A66B-EE50B469AECC@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="------------ms080306020409000304080907"
Cc: Joe Hildebrand <joe.hildebrand@webex.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 16 Nov 2010 01:41:57 -0000

This is a cryptographically signed message in MIME format.

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

On 11/15/10 3:04 PM, Ben Campbell wrote:
> (as chair)
>=20
> On Nov 13, 2010, at 5:48 AM, Dave Cridland wrote:
>=20
>> Given the result of the consensus call, it's not entirely clear to me =
why we are continuing to debate this.
>>
>> Do the chairs believe that the consensus call is unclear?
>=20
> The chairs see a rough consensus for:
>=20
> - servers MAY offer PLAIN over TLS in the cases where something better
> cannot be deployed
>=20
> - clients SHOULD implement PLAIN over TLS (while preferring anything mo=
re
> secure) in order to maximize interoperability with the servers that can=
't
> deploy anything else
>=20
> - Implementations SHOULD try really hard not to use PLAIN except as a l=
ast resort.

For the record, I still think this text is unnecessarily normative. Hmm,
I wonder if I can lodge a DISCUSS against my own document during IESG
review. ;-)

(JUST KIDDING!)

> Let's move on to seeing if we can agree to text that adequately describ=
es
> this in more normative language. I think we are close, but may need ano=
ther round of word-smithing to be sure.

Bowing to the rough consensus, here is proposed text:

###

13.8.3.  For Confidentiality and Authentication With Passwords

   For both confidentiality and authentication with passwords, servers
   and clients MUST implement TLS with the TLS_RSA_WITH_AES_128_CBC_SHA
   ciphersuite plus SASL SCRAM, in particular the SCRAM-SHA-1 and SCRAM-
   SHA-1-PLUS variants (with SCRAM-SHA1-PLUS being preferred, as
   described under Section 13.9.4).

   As further explained in the following Security Note, in certain
   circumstances a server MAY offer TLS with the
   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite plus SASL PLAIN when it is
   not possible to offer more secure alternatives; in addition, clients
   SHOULD implement PLAIN over TLS in order to maximize interoperability
   with servers that are not able to deploy more secure alternatives.

      Security Note: In practice, many servers offer, and many clients
      use, TLS plus SASL PLAIN.  The SCRAM-SHA-1 and especially SCRAM-
      SHA-1-PLUS variants of the SCRAM mechanism are strongly preferred
      over the PLAIN mechanism because of their superior security
      properties (including for SCRAM-SHA-1-PLUS the ability to enforce
      channel binding as described under Section 13.9.4).  A client
      SHOULD treat TLS plus SASL PLAIN as a technology of last resort to
      be used only when interacting with a server that does not offer
      SCRAM (or other alternatives that are more secure than TLS plus
      SASL PLAIN), MUST prefer more secure mechanisms (e.g., EXTERNAL,
      SCRAM-SHA-1-PLUS, SCRAM-SHA-1, or the older DIGEST-MD5 mechanism)
      to the PLAIN mechanism, and MUST NOT use the PLAIN mechanism if
      the stream does not at a minimum have confidentiality and
      integrity protection via TLS with full certificate validation as
      described under Section 13.7.2.1.  A server MUST NOT offer SASL
      PLAIN if the stream is not protected via TLS.  A server SHOULD NOT
      offer TLS plus SASL PLAIN unless it is unable to offer some
      variant of SASL SCRAM (or other alternatives that are more secure
      than TLS plus SASL PLAIN), e.g., because the XMPP service depends
      for authentication purposes on a database or directory that is not
      under the control of the XMPP administrators, such as Pluggable
      Authentication Modules (PAM), an LDAP directory [LDAP], or an
      Authentication, Authorization, and Accounting (AAA) key management
      protocol (for guidance, refer to [AAA]); however, offering TLS
      plus SASL PLAIN even when the server supports more secure
      alternatives might be appropriate if the server needs to enable
      interoperability with an installed base of clients that do not yet
      support SCRAM or other alternatives that are more secure than TLS
      plus SASL PLAIN.

###


--------------ms080306020409000304080907
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
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCzAJBgNVBAYTAklMMRYwFAYDVQ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m1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCAJEs+lfrEtXRTAYILUvvmU6Dfi8DhkhyXo1RpsZ7yIOym3FZhU2LEd36A
wAhH6PZTwQhBW1wytNg2juZo3r4jO4dzp3/sY0E0FXYWsJp9FDyy9C/TC6u6vchy1jZ1H6vc
Ypy/jyyG5RD5vEkhYT50umccOxkybb5We0VNWWjSnjEtddb0ZzqR0xPvBSvEEH4V+lFfqrpX
PWkbpnzwj0bVev9xKj8p8qOLHKeDr6pvxld5rUpprSqCQQ/saEHTsSAttjTB87pFkkXdryLb
KUhOK5WaqvP1uMGFpvTCAlKpVwPejBvvcMJ4AjbcYMXUe8IY+JAIG4LpCewtnYNLzsXqAAAA
AAAA
--------------ms080306020409000304080907--

From mridulm80@yahoo.com  Mon Nov 15 18:36:23 2010
Return-Path: <mridulm80@yahoo.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 EF3843A6A8E for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 18:36:22 -0800 (PST)
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 UQPE5d+dxpPI for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 18:36:19 -0800 (PST)
Received: from nm3.bullet.mail.in.yahoo.com (nm3.bullet.mail.in.yahoo.com [121.101.151.225]) by core3.amsl.com (Postfix) with SMTP id 7C1AB3A6D87 for <xmpp@ietf.org>; Mon, 15 Nov 2010 18:36:18 -0800 (PST)
Received: from [121.101.151.236] by nm3.bullet.mail.in.yahoo.com with NNFMP; 16 Nov 2010 02:36:58 -0000
Received: from [121.101.151.233] by tm1.bullet.mail.in.yahoo.com with NNFMP; 16 Nov 2010 02:37:01 -0000
Received: from [127.0.0.1] by omp1002.mail.in.yahoo.com with NNFMP; 16 Nov 2010 02:36:55 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 817466.87055.bm@omp1002.mail.in.yahoo.com
Received: (qmail 57523 invoked by uid 60001); 16 Nov 2010 02:36:56 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289875016; bh=+oD8XGWsioLE1harQeGrVc82G7HvXLyR+6Q/3j6h/t8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=VIJQ9/ayaPchDy5ZNG29gkonvUsN6DBkbQwvuee1AYM7V2F8Ud24ALFlH+O0wRXrv0RkmtL+xN1aNmoZ78i9fFzuKuG6QppXwxl5HCWlzhHZiMYUzfJFidAfMu8nCjDaz0B8yFUbZA9RiM7P67h73OBTUToIRuJp6muQyLyJHpo=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=JOj0j/553y3QqPTGqmzIiwi6pQ3Sf/Z5TI1WFEyz/btN8a8kPgdD9wuM95OF1mNo2AjZDH5maQSmlYbMzR0Yrv0CZCr0VZM21OzSkWf8EjFGLNkCbpj5owJtc7A73zhorhYfdSbd28XvWKGpcB7XCnvO2349YPKXe97uInS72Oo=;
Message-ID: <314798.57147.qm@web95406.mail.in2.yahoo.com>
X-YMail-OSG: OyfqIWIVM1mNT2J0TFBDglv2Au1YcrdOTpjSa_3Q3D.raZB 46OZ.2Jx5b6geLr3UCZktDEnkM2iuYFckoVvwrCnp6oo3HNexOoFnZ0q6J1t cm9UvoCImoIaM7uUtdQEyrvXo0GMVS9kyUyW8Ntf9UJpbFmquuTvUhXMQKf6 f8pZKBwIun2bXB1_ORgieUDJePdFALY_UBc8neUzQRwV0p3NrvK1OYLSugTr D6n4zPpuCKtLkDUR002zpMbqIyWIAuavIJZ9x6ZAtUz5UvF7_CLS56eV5R_2 EQ7gnyI_XLDx5SaMqQTYNr7.b7j3114oFGb5M2Q--
Received: from [122.167.84.118] by web95406.mail.in2.yahoo.com via HTTP; Tue, 16 Nov 2010 08:06:55 IST
X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259
Date: Tue, 16 Nov 2010 08:06:55 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: xmpp@ietf.org, Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CE1B1B3.9020604@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 16 Nov 2010 02:36:23 -0000

=0AAs long as we can ensure that what gets sent by user1 on server1 will ge=
t received by user2 on server2 without semantic changes, that would be fine=
.=0AAs of now, there are cases where this does not happen due to different =
interpretations of what re-scoping implies.=0A=0AThat being said, the prefi=
x restriction (as specified in the spec) is a pretty strict restriction on =
clients - not sure how many clients/api's actually impose it actively ! (as=
 opposed to having it work simply because of limited extensibility).=0A=0A=
=0ARegards,=0AMridul=0A=0A--- On Tue, 16/11/10, Peter Saint-Andre <stpeter@=
stpeter.im> wrote:=0A=0A> From: Peter Saint-Andre <stpeter@stpeter.im>=0A> =
Subject: Re: [xmpp] "re-scope" of xmpp stanza's=0A> To: xmpp@ietf.org=0A> D=
ate: Tuesday, 16 November, 2010, 3:48 AM=0A> On 11/15/10 7:05 AM, Mridul=0A=
> Muralidharan wrote:=0A> =0A> > In general though, it would be nice if we =
had the=0A> restrictions on XML=0A> > streams laid out =0A> =0A> Well, one =
solution would be to forbid prefix-free=0A> canonicalization at=0A> the str=
eam level. Be careful what you wish for... ;-)=0A> =0A> Peter=0A> =0A> -- =
=0A> Peter Saint-Andre=0A> https://stpeter.im/=0A> =0A> =0A> =0A> =0A> ----=
-Inline Attachment Follows-----=0A> =0A> __________________________________=
_____________=0A> xmpp mailing list=0A> xmpp@ietf.org=0A> https://www.ietf.=
org/mailman/listinfo/xmpp=0A> =0A=0A

From jehan.marmottard@gmail.com  Mon Nov 15 18:40:00 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 D4F2F3A6A8E for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 18:40:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.079
X-Spam-Level: 
X-Spam-Status: No, score=-2.079 tagged_above=-999 required=5 tests=[AWL=0.220,  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 WesMLd14YQ4B for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 18:40:00 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id DE83C3A6A5B for <xmpp@ietf.org>; Mon, 15 Nov 2010 18:39:59 -0800 (PST)
Received: by wwa36 with SMTP id 36so206358wwa.13 for <xmpp@ietf.org>; Mon, 15 Nov 2010 18:40:41 -0800 (PST)
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; bh=Zpo5PLA3n+1UX6asEjQ+htzLTab4gL2qfsEegOq1zro=; b=VnTTt1B05tYCP7iM4qd1PyLZv35WtkECb0qnxhKibnpskkON651fCnptsmso5oqByR d0o5a29oGQnQdYNEaJ4Gy97Wmr8EYVtEvD3jspPkmUaQXUambnJdjfDUt7LHwsfZYaj+ MfL/8q8FxZ+WuBsXD2Np0Dsn9CE67tgUwb4xA=
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; b=ZO08uHOn5m0a4aIAv9T2Z7hbd2n+n3klaaOq+G4v6cTCh1LWZW2kpKwtGGxKWEhC05 Sn5wBOwswory9i2QdU2w38Z7vxuzpuEtfjC8tzwaKW3xlr/sB8nI2qspthN6eLLu1ol+ Ocv/UyKOHBCKTWXeExlJsH5VkNwuGAl8kJYDc=
MIME-Version: 1.0
Received: by 10.216.11.66 with SMTP id 44mr5822700wew.69.1289875241477; Mon, 15 Nov 2010 18:40:41 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Mon, 15 Nov 2010 18:40:41 -0800 (PST)
In-Reply-To: <4CE1E189.60705@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture> <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com> <4CE1E189.60705@stpeter.im>
Date: Tue, 16 Nov 2010 11:40:41 +0900
Message-ID: <AANLkTiksNVO0_2=AOWDKNvq0b-OmWsckoxt-Obom4upp@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
Cc: XMPP Working Group <xmpp@ietf.org>, Joe Hildebrand <joe.hildebrand@webex.com>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 16 Nov 2010 02:40:01 -0000

Hi,

On Tue, Nov 16, 2010 at 10:42 AM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 11/15/10 3:04 PM, Ben Campbell wrote:
>> (as chair)
[...]
> Bowing to the rough consensus, here is proposed text:
[...]

Ok, I guess this text looks ok, in the view of the consensus.

Jehan

From stpeter@stpeter.im  Mon Nov 15 21:23: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 8BEE23A6C71 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 21:23:17 -0800 (PST)
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 0QDDlvbmK35R for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 21:23:15 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 04C9C3A6BD3 for <xmpp@ietf.org>; Mon, 15 Nov 2010 21:23:15 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DAF9F40BB9; Mon, 15 Nov 2010 22:33:46 -0700 (MST)
Message-ID: <4CE21562.3010505@stpeter.im>
Date: Mon, 15 Nov 2010 22:23:46 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Mridul Muralidharan <mridulm80@yahoo.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>
In-Reply-To: <314798.57147.qm@web95406.mail.in2.yahoo.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="------------ms020208030903040103010608"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 16 Nov 2010 05:23:18 -0000

This is a cryptographically signed message in MIME format.

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

Mridul, it's still not clear to me what you are worried about. Could you
propose some small textual changes that could be incorporated into the
spec? (I emphasize "small" because I freely admit that I don't want to
make further changes at this point for fear of introducing bugs.)

On 11/15/10 7:36 PM, Mridul Muralidharan wrote:
>=20
> As long as we can ensure that what gets sent by user1 on server1 will
> get received by user2 on server2 without semantic changes, that would
> be fine. As of now, there are cases where this does not happen due to
> different interpretations of what re-scoping implies.
>=20
> That being said, the prefix restriction (as specified in the spec) is
> a pretty strict restriction on clients - not sure how many
> clients/api's actually impose it actively ! (as opposed to having it
> work simply because of limited extensibility).
>=20
>=20
> Regards, Mridul
>=20
> --- On Tue, 16/11/10, Peter Saint-Andre <stpeter@stpeter.im> wrote:
>=20
>> From: Peter Saint-Andre <stpeter@stpeter.im> Subject: Re: [xmpp]
>> "re-scope" of xmpp stanza's To: xmpp@ietf.org Date: Tuesday, 16
>> November, 2010, 3:48 AM On 11/15/10 7:05 AM, Mridul Muralidharan
>> wrote:
>>=20
>>> In general though, it would be nice if we had the
>> restrictions on XML
>>> streams laid out
>>=20
>> Well, one solution would be to forbid prefix-free canonicalization
>> at the stream level. Be careful what you wish for... ;-)
>>=20
>> Peter
>>=20
>> -- Peter Saint-Andre https://stpeter.im/
>>=20


--------------ms020208030903040103010608
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+UA9EO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JYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCfOVwh55DVxHUJrzLoXpbyPmPo1HntcE2W8YjoBG65aVYySnZZ9UwMR/En
HJPaaYtE6Ps5QBEyLiipJqTsvzbZrNV9lCVludgIU9dy+oYbwVjSPpxZKhrWVTD0bIrF1q+u
09RyBl+/Y+AGNqM/m3hDI16obEK6cvRzi8EXV1lwHtjEc4XHPf4M6XPjouZlTYWQN3ovYUWU
AogBP3WZaG34IcIpufDF+fuEr4WaZg3oUD3fJbjg7OVHsQZJboL2hz+o7WtiC0ja6fJBRU+S
oK2mFwQhiZE3T3Q4J+lg+YCXhxcgC2wuSL8BfNBjFnnUQHDGjCztokPLZf2ne+ltld7OAAAA
AAAA
--------------ms020208030903040103010608--

From k.i.smith@gmail.com  Mon Nov 15 22:58: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 7433D3A6B77 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 22:58:10 -0800 (PST)
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 tqj-feUYnBHK for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 22:58:09 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 626B53A67A7 for <xmpp@ietf.org>; Mon, 15 Nov 2010 22:58:07 -0800 (PST)
Received: by qwd7 with SMTP id 7so214939qwd.31 for <xmpp@ietf.org>; Mon, 15 Nov 2010 22:58:50 -0800 (PST)
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; bh=17HOOrMXzGQ5lSXaCD0dkm7Jb1Hjg1R0pq6YOTlUN9E=; b=gSUkppIuVSZuuP5aQ8yk5cDqVd8IV/j39cn/ruzZDvJxV51h2b36PWUQ6KDHvnmsXC 8myaynuuVdBheE0jbFf27tNa61/MZzpPkHHISJJ62SzKqXE6h8uHedv1LAHunrAkg2ec yKTOvi6D8q8oDXwTLdEGwKFp2h3aosF2QaUD0=
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; b=Y+hJba3bBXyBLT3aJQefbwDDQblPUyfsHUi9sUC9h91BqD+eaelctzHK5fwvgb3XKh ZtVRPiEcg2B4wBsot2fZP5Bw8udOgRwVcprZ3xcnkLy78VQvpJd3xoy4UyAHxTw5jD3J 8D88Ke9DVKgUjdLXclotoIy9b+G/TtolI6LmU=
MIME-Version: 1.0
Received: by 10.229.222.212 with SMTP id ih20mr6007868qcb.121.1289890730189; Mon, 15 Nov 2010 22:58:50 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Mon, 15 Nov 2010 22:58:50 -0800 (PST)
In-Reply-To: <4CE1E189.60705@stpeter.im>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture> <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com> <4CE1E189.60705@stpeter.im>
Date: Tue, 16 Nov 2010 06:58:50 +0000
X-Google-Sender-Auth: NS2ATJu94YdMiYMljjM4JYy8wp8
Message-ID: <AANLkTinQDkBi=ZBc5HazsokJTrGanrkx4Qu4BtF09cZ4@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
Cc: XMPP Working Group <xmpp@ietf.org>, Joe Hildebrand <joe.hildebrand@webex.com>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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: Tue, 16 Nov 2010 06:58:10 -0000

On Tue, Nov 16, 2010 at 1:42 AM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> <proposed-text/>

Works for me, thanks.

/K

From waqas20@gmail.com  Mon Nov 15 23:18:30 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 8F5463A6DB0 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 23:18:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 HNDulMZvVBUk for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 23:18:26 -0800 (PST)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by core3.amsl.com (Postfix) with ESMTP id ED4703A6DAD for <xmpp@ietf.org>; Mon, 15 Nov 2010 23:18:24 -0800 (PST)
Received: by gxk27 with SMTP id 27so167096gxk.31 for <xmpp@ietf.org>; Mon, 15 Nov 2010 23:19:07 -0800 (PST)
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=w0RWJbNqqEVH0br2lJCLDJ8TqMDIOy4sUXL+xp5y5wg=; b=P6/k7lOBu041OWTZar0qHQgn2GYeDztnj1TwsEJYgZQh6c8qmuyyq3HOho+xkYyl1e 2BRxtTho4VUFcl5Dr+1n9semO2J1lDEK4JrzT1UjDJimLHEkcSGmPUPxkC5WtgcEtUnf qVq0IzrmoqiXT11mXwHGmHo11YQgyGe/sMkWc=
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=EFdrfozEPFVSjOCMMNZSPa5lpPYAz8WUOk2gsqqqQM7k/xmPIW9/hk849QQGwNa9lx IICArhLQwWZCF8ej/PkNjae8UtU9V9CfDGL4sYbvgLLr12Rc+kufQljaWFiHO4swifeF lZIKFpk0wZZSjlgzxP99iUuhxegy6F1vnyoLo=
Received: by 10.150.200.7 with SMTP id x7mr11094250ybf.153.1289891947582; Mon, 15 Nov 2010 23:19:07 -0800 (PST)
MIME-Version: 1.0
Received: by 10.151.145.20 with HTTP; Mon, 15 Nov 2010 23:18:47 -0800 (PST)
In-Reply-To: <4CE21562.3010505@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im>
From: Waqas Hussain <waqas20@gmail.com>
Date: Tue, 16 Nov 2010 12:18:47 +0500
Message-ID: <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=ISO-8859-1
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 16 Nov 2010 07:18:30 -0000

On Tue, Nov 16, 2010 at 10:23 AM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> Mridul, it's still not clear to me what you are worried about. Could you
> propose some small textual changes that could be incorporated into the
> spec? (I emphasize "small" because I freely admit that I don't want to
> make further changes at this point for fear of introducing bugs.)
>

I can explain, because MattJ and I have had this discussion a number of times.

Consider a user1@host1.com sends this:

<message to='contact'>
  <custom xmlns='custom'>
    <message xmlns='jabber:client'/>
    <message xmlns='jabber:server'/>
  </custom>
  <message xmlns='jabber:client'/>
  <message xmlns='jabber:server'/>
</message>

i.e., it has some custom tag which can contain an arbitrary XML
payload, and that payload in this example happens to use our two
stream namespaces.

Now, if contact is user2@host1.com, that payload may arrive as-is.

But if the contact is on another server, that payload would be
modified in transit in many (most? all?) servers.

Mridul's point is, the modification to the payload is different for
different servers, and isn't defined in the spec. The same stanza
getting sent to e.g., a local MUC room is going to appear different to
a remote user than a local user. The difference is dependent on the
server software, and undefined in the spec.

Here's how it might look like when recieved by a remote client:

1. Server's stanza handling omits the stream namespace at all levels:

<message to='contact'>
  <custom xmlns='custom'>
    <message/>
    <message/>
  </custom>
  <message/>
  <message/>
</message>

(the top-level children inherit the jabber:client namespace, while the
inner messages inherit the custom namespace)

2. Server's stanza handling only omits stream namespace at the top level:

<message to='contact'>
  <custom xmlns='custom'>
    <message xmlns='jabber:server'/>
    <message xmlns='jabber:client'/>
  </custom>
  <message/>
  <message/>
</message>

(the top-level children inherit the jabber:client namespace, while the
inner messages preserve their original namespace)

3. Server's stanza handling attempts to preserve everything: the
original stanza is recieved with all child namespaces preserved, same
as the original stanza.

And so on.

Now, the spec isn't clear on which case is valid. I'll repeat the
problem again: The same stanza when sent to a local contact and to a
remote contact would appear different to both contacts. The same
stanza sent to a MUC room would appear different to remote occupants,
and the difference would be different depending on the server software
involved. The spec mentions "re-scope", but doesn't actually define
it. Must child elements be affected? Must child elements not be
affected?

I did some tests. The local host was ejabberd, and I tried sending the
above message to remote chatrooms.
1. Sending to a remote ejabberd chatroom, I got it back as-is
(ejabberd being namespace unaware didn't touch the xmlns attributes at
all).
2. Sending to M-Link caused connections to drop silently (tested using
both c2s and s2s). It doesn't seem to like messages inside a message.
Even if the inner message has a custom namespace. It did preserve
namespaces when I changed the element names from 'message' to 't'.
3. Sending to Openfire removed the top child namespaces (making them
both jabber:client), while set the inner child namespaces to the empty
string (xmlns="").
4. Prosody removes the current stream namespace from all elements
received on that stream, top level or not.

Clearly, sending stanzas as payload in another stanza doesn't work
very well in current XMPP servers.

P.S. And Mridul, the reason you see different behavior from openfire
and ejabberd when using namespace prefixes is likely because
openfire's parser parses in namespace aware mode, while ejabberd's
doesn't.

--
Waqas Hussain

From mridulm80@yahoo.com  Mon Nov 15 23:37:10 2010
Return-Path: <mridulm80@yahoo.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 A7BA63A6B92 for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 23:37:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.059
X-Spam-Level: 
X-Spam-Status: No, score=-2.059 tagged_above=-999 required=5 tests=[AWL=-0.060, BAYES_00=-2.599, 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 eSIQugRWoxkU for <xmpp@core3.amsl.com>; Mon, 15 Nov 2010 23:37:09 -0800 (PST)
Received: from nm1-vm0.bullet.mail.in.yahoo.com (nm1-vm0.bullet.mail.in.yahoo.com [121.101.151.211]) by core3.amsl.com (Postfix) with SMTP id D9B7F3A69CE for <xmpp@ietf.org>; Mon, 15 Nov 2010 23:37:08 -0800 (PST)
Received: from [121.101.151.236] by nm1.bullet.mail.in.yahoo.com with NNFMP; 16 Nov 2010 07:38:10 -0000
Received: from [121.101.151.233] by tm1.bullet.mail.in.yahoo.com with NNFMP; 16 Nov 2010 07:37:52 -0000
Received: from [127.0.0.1] by omp1002.mail.in.yahoo.com with NNFMP; 16 Nov 2010 07:37:46 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 208721.1334.bm@omp1002.mail.in.yahoo.com
Received: (qmail 3448 invoked by uid 60001); 16 Nov 2010 07:37:46 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1289893066; bh=Z2+yrMZl3SqIcu2rqp6kkBfE68oK6+U+3G6c4LWcngk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=iWap9iE9EHrKwubrNc8lytt4UfFxjzEza2BZikuXvc8GJpP8pqNH7PKKcaIQ8PWKUcEmRGALQqoZGlGs9k5LcDmXBs7GA/YFqEE/w0qO1oPLNMG8ZkJQWQtanESCDO7lSQdebrvkW0zzbG3iipOTA4897F/sGI4Z0k5yeUU1wU4=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=bd58NuINWfEl7NUmesnYv+mY+0wWqISF6nChUdxDIqQK6tpYIzQHmHjoQ4+AD0/DBQ0Uyz+f7ckdkwHK88zo/BH6nJ22UalpLPNmqTPxAhX3Jgptz6hSbo15j5ERjAmFBYrssKcquexVqU3MScr8iNIEnSrGbxPj352MXLv4p/Q=;
Message-ID: <725260.2831.qm@web95413.mail.in2.yahoo.com>
X-YMail-OSG: MDZyQgEVM1mJY4Uacev_0Hn4ZxvLLFdBcIE919dR7TrF808 qRxqwjaXyWcs4D58w5SewM.rgBzrifb2Hr57eBAWk1bh.GoTK5Sp1gAuup4H P_fGuFf6kP8SjjIv8j.vDOKizjjGE7gzQsBW4Ht0FfrZi1HK1DLahY.bzDk8 4Fph0oMsDDcAdi1bvXvjgPmc4n6P7owmzp7H6hHFYKxQ4jc9RVfxNihw_7iZ BK2p1uzQBi5rGgauCcRr2Luc1mNADUF6XXkLH3AWcjlwyGDHArtNmusDNyq8 b3UkPyvBtwwULyAb6AWYLIVH.XZHeUI0-
Received: from [122.167.84.118] by web95413.mail.in2.yahoo.com via HTTP; Tue, 16 Nov 2010 13:07:46 IST
X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.285259
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com>
Date: Tue, 16 Nov 2010 13:07:46 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: Waqas Hussain <waqas20@gmail.com>, Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 16 Nov 2010 07:37:10 -0000

=0AI wont have been able to put it better Waqas Hussain, thanks !=0A=0APete=
r, I am sorry that I cant really propose good alternate text because I am =
=0Anot as good an xml expert. I am not even sure what are the various ways =
in which =0Athis can fail : my examples were based on my off-late limited e=
xposure to xmpp =0Astanzas.=0A=0ASince we have an extensible jabber:client,=
 jabber:server, etc schema - we can =0Ahave users extending it in proprieta=
ry custom ways, and be surprised at the =0Aunexpected stanza transformation=
. I am only aware of the problem due to my =0Aattempts to write a streaming=
 xml parser [1].=0A=0AI was hoping that someone from the group might either=
 have a solution, have best =0Apractices doc for these corner cases, or be =
able to propose the required =0Achanges.=0A=0A=0AThanks !=0AMridul=0A=0A[1]=
 Actually, while trying to do a slightly "shady" optimization to minimize =
=0Acost of c2s -> s2s stanza transformation=0A=0A=0A----- Original Message =
----=0A> From: Waqas Hussain <waqas20@gmail.com>=0A> To: Peter Saint-Andre =
<stpeter@stpeter.im>=0A> Cc: Mridul Muralidharan <mridulm80@yahoo.com>; xmp=
p@ietf.org=0A> Sent: Tue, 16 November, 2010 12:48:47 PM=0A> Subject: Re: [x=
mpp] "re-scope" of xmpp stanza's=0A> =0A> On Tue, Nov 16, 2010 at 10:23 AM,=
 Peter Saint-Andre <stpeter@stpeter.im> =0Awrote:=0A> >  Mridul, it's still=
 not clear to me what you are worried about. Could you=0A> >  propose some =
small textual changes that could be incorporated into the=0A> >  spec? (I e=
mphasize "small" because I freely admit that I don't want to=0A> >  make fu=
rther changes at this point for fear of introducing  bugs.)=0A> >=0A> =0A> =
I can explain, because MattJ and I have had this  discussion a number of =
=0Atimes.=0A> =0A> Consider a user1@host1.com sends this:=0A> =0A> <message=
  to=3D'contact'>=0A>   <custom xmlns=3D'custom'>=0A>      <message xmlns=
=3D'jabber:client'/>=0A>     <message  xmlns=3D'jabber:server'/>=0A>   </cu=
stom>=0A>   <message  xmlns=3D'jabber:client'/>=0A>   <message  xmlns=3D'ja=
bber:server'/>=0A> </message>=0A> =0A> i.e., it has some custom  tag which =
can contain an arbitrary XML=0A> payload, and that payload in this  example=
 happens to use our two=0A> stream namespaces.=0A> =0A> Now, if contact is =
user2@host1.com, that payload may arrive  as-is.=0A> =0A> But if the contac=
t is on another server, that payload would  be=0A> modified in transit in m=
any (most? all?) servers.=0A> =0A> Mridul's point  is, the modification to =
the payload is different for=0A> different servers, and  isn't defined in t=
he spec. The same stanza=0A> getting sent to e.g., a local MUC  room is goi=
ng to appear different to=0A> a remote user than a local user. The  differe=
nce is dependent on the=0A> server software, and undefined in the  spec.=0A=
> =0A> Here's how it might look like when recieved by a remote  client:=0A>=
 =0A> 1. Server's stanza handling omits the stream namespace at all  levels=
:=0A> =0A> <message to=3D'contact'>=0A>   <custom  xmlns=3D'custom'>=0A>   =
  <message/>=0A>      <message/>=0A>   </custom>=0A>   <message/>=0A>    <m=
essage/>=0A> </message>=0A> =0A> (the top-level children inherit the  jabbe=
r:client namespace, while the=0A> inner messages inherit the custom  namesp=
ace)=0A> =0A> 2. Server's stanza handling only omits stream namespace at th=
e  top level:=0A> =0A> <message to=3D'contact'>=0A>   <custom  xmlns=3D'cus=
tom'>=0A>     <message  xmlns=3D'jabber:server'/>=0A>     <message  xmlns=
=3D'jabber:client'/>=0A>   </custom>=0A>    <message/>=0A>   <message/>=0A>=
 </message>=0A> =0A> (the  top-level children inherit the jabber:client nam=
espace, while the=0A> inner  messages preserve their original namespace)=0A=
> =0A> 3. Server's stanza handling  attempts to preserve everything: the=0A=
> original stanza is recieved with all  child namespaces preserved, same=0A=
> as the original stanza.=0A> =0A> And so  on.=0A> =0A> Now, the spec isn't=
 clear on which case is valid. I'll repeat  the=0A> problem again: The same=
 stanza when sent to a local contact and to  a=0A> remote contact would app=
ear different to both contacts. The same=0A> stanza  sent to a MUC room wou=
ld appear different to remote occupants,=0A> and the  difference would be d=
ifferent depending on the server software=0A> involved. The  spec mentions =
"re-scope", but doesn't actually define=0A> it. Must child elements  be aff=
ected? Must child elements not be=0A> affected?=0A> =0A> I did some tests. =
 The local host was ejabberd, and I tried sending the=0A> above message to =
remote  chatrooms.=0A> 1. Sending to a remote ejabberd chatroom, I got it b=
ack  as-is=0A> (ejabberd being namespace unaware didn't touch the xmlns att=
ributes  at=0A> all).=0A> 2. Sending to M-Link caused connections to drop s=
ilently (tested  using=0A> both c2s and s2s). It doesn't seem to like messa=
ges inside a  message.=0A> Even if the inner message has a custom namespace=
. It did  preserve=0A> namespaces when I changed the element names from 'me=
ssage' to  't'.=0A> 3. Sending to Openfire removed the top child namespaces=
 (making  them=0A> both jabber:client), while set the inner child namespace=
s to the  empty=0A> string (xmlns=3D"").=0A> 4. Prosody removes the current=
 stream namespace  from all elements=0A> received on that stream, top level=
 or not.=0A> =0A> Clearly,  sending stanzas as payload in another stanza do=
esn't work=0A> very well in  current XMPP servers.=0A> =0A> P.S. And Mridul=
, the reason you see different  behavior from openfire=0A> and ejabberd whe=
n using namespace prefixes is likely  because=0A> openfire's parser parses =
in namespace aware mode, while  ejabberd's=0A> doesn't.=0A> =0A> --=0A> Waq=
as Hussain=0A> =0A=0A

From dave@cridland.net  Tue Nov 16 00:57:33 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 D68813A69CE for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 00:57:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.422
X-Spam-Level: 
X-Spam-Status: No, score=-2.422 tagged_above=-999 required=5 tests=[AWL=0.177,  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 GALZfpkTtZVG for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 00:57:32 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 9C18D3A6D05 for <xmpp@ietf.org>; Tue, 16 Nov 2010 00:57:32 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id E6CB311680FE; Tue, 16 Nov 2010 08:58:14 +0000 (GMT)
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 7MTPIi3C-JRG; Tue, 16 Nov 2010 08:58:11 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id EB7BD11680CA; Tue, 16 Nov 2010 08:58:10 +0000 (GMT)
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture> <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com> <4CE1E189.60705@stpeter.im>
In-Reply-To: <4CE1E189.60705@stpeter.im>
MIME-Version: 1.0
Message-Id: <2850.1289897890.929446@puncture>
Date: Tue, 16 Nov 2010 08:58:10 +0000
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, Joe Hildebrand <joe.hildebrand@webex.com>, XMPP Working Group <xmpp@ietf.org>, Ben Campbell <ben@nostrum.com>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 16 Nov 2010 08:57:33 -0000

On Tue Nov 16 01:42:33 2010, Peter Saint-Andre wrote:
>       PLAIN if the stream is not protected via TLS.  A server  
> SHOULD NOT
>       offer TLS plus SASL PLAIN unless it is unable to offer some
>       variant of SASL SCRAM (or other alternatives that are more  
> secure

I'm not entirely comfortable with this, but I'm willing to go along  
with it if this is what people want.

Otherwise the text is spot on, thanks.

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 k.i.smith@gmail.com  Tue Nov 16 01:01:20 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 2522D3A6C69 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 01:01:20 -0800 (PST)
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 j2NGhrA0pV4T for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 01:01:19 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 3ABFE3A69CE for <xmpp@ietf.org>; Tue, 16 Nov 2010 01:01:19 -0800 (PST)
Received: by qyk2 with SMTP id 2so362117qyk.10 for <xmpp@ietf.org>; Tue, 16 Nov 2010 01:02:02 -0800 (PST)
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=7pxxQNT51yAd8gyvqaUCrjt2C21fA8YThORaetfCzmw=; b=mWgkz6XOF/LeG0e22e0cYuTrvWRbX4GjoDV2ewsavU76nMsgNBcT42D1W/KEsgrZvl gsbfB1c9XNIwxhkgZd+pBAgmpaUVYQPtS4qobzBceAuid4pCO6ny5mGh9dQdbLd4Aref UPBWopTT2Uw2XejcBunoF7l/mvuHtTPZoG9Vo=
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=p3wd8M458Kv1k2ozcMMyrRbjv5//abLoiDfGiijpCRH2ZnJ0nfkP7TfGIkKoU27+pw E0aJhmU5bSTYLAb8lXQEN5aQIVg0YM1lfHdhvMlO3659/mEgcWZCOluTk6kdNNx9qFfg Vus2P7RAl0rSCR8oZjmAUCBmzWYbs0J3CB20Q=
MIME-Version: 1.0
Received: by 10.229.222.212 with SMTP id ih20mr6113235qcb.121.1289898122227; Tue, 16 Nov 2010 01:02:02 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Tue, 16 Nov 2010 01:02:02 -0800 (PST)
In-Reply-To: <2850.1289897890.929446@puncture>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture> <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com> <4CE1E189.60705@stpeter.im> <2850.1289897890.929446@puncture>
Date: Tue, 16 Nov 2010 09:02:02 +0000
X-Google-Sender-Auth: YQ1ci68eu8-BdfDteDfsWECBXQ0
Message-ID: <AANLkTincMcDA7FOLeQSfAW_gEpvPfm30ate=jDgXqFrO@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Dave Cridland <dave@cridland.net>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Joe Hildebrand <joe.hildebrand@webex.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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: Tue, 16 Nov 2010 09:01:20 -0000

On Tue, Nov 16, 2010 at 8:58 AM, Dave Cridland <dave@cridland.net> wrote:
> On Tue Nov 16 01:42:33 2010, Peter Saint-Andre wrote:
>>
>> =A0 =A0 =A0PLAIN if the stream is not protected via TLS. =A0A server SHO=
ULD NOT
>> =A0 =A0 =A0offer TLS plus SASL PLAIN unless it is unable to offer some
>> =A0 =A0 =A0variant of SASL SCRAM (or other alternatives that are more se=
cure
>
> I'm not entirely comfortable with this, but I'm willing to go along with =
it
> if this is what people want.

Me neither, but the later "Yeah, but it can do it anyway" negates this.

(however, offering TLS
     plus SASL PLAIN even when the server supports more secure
     alternatives might be appropriate if the server needs to enable
     interoperability with an installed base of clients that do not yet
     support SCRAM or other alternatives that are more secure than TLS
     plus SASL PLAIN.)

/K

From dave@cridland.net  Tue Nov 16 01:18:56 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 2C5163A6A3C for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 01:18:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.434
X-Spam-Level: 
X-Spam-Status: No, score=-2.434 tagged_above=-999 required=5 tests=[AWL=0.165,  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 1nyMIwnS5v9C for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 01:18:55 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id D8D1F3A69CE for <xmpp@ietf.org>; Tue, 16 Nov 2010 01:18:54 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 2FC9D11680FB; Tue, 16 Nov 2010 09:19:37 +0000 (GMT)
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 5PSZyhu5R7Ur; Tue, 16 Nov 2010 09:19:31 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 481F011680CA; Tue, 16 Nov 2010 09:19:31 +0000 (GMT)
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture> <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com> <4CE1E189.60705@stpeter.im> <2850.1289897890.929446@puncture> <AANLkTincMcDA7FOLeQSfAW_gEpvPfm30ate=jDgXqFrO@mail.gmail.com>
In-Reply-To: <AANLkTincMcDA7FOLeQSfAW_gEpvPfm30ate=jDgXqFrO@mail.gmail.com>
MIME-Version: 1.0
Message-Id: <2850.1289899171.272827@puncture>
Date: Tue, 16 Nov 2010 09:19:31 +0000
From: Dave Cridland <dave@cridland.net>
To: Kevin Smith <kevin@kismith.co.uk>, Peter Saint-Andre <stpeter@stpeter.im>, Joe Hildebrand <joe.hildebrand@webex.com>, XMPP Working Group <xmpp@ietf.org>, Ben Campbell <ben@nostrum.com>
Content-Type: text/plain; delsp="yes"; charset="iso-8859-1"; format="flowed"
Content-Transfer-Encoding: 8Bit
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 16 Nov 2010 09:18:56 -0000

On Tue Nov 16 09:02:02 2010, Kevin Smith wrote:
> On Tue, Nov 16, 2010 at 8:58 AM, Dave Cridland <dave@cridland.net>  
> wrote:
> > On Tue Nov 16 01:42:33 2010, Peter Saint-Andre wrote:
> >>
> >>      PLAIN if the stream is not protected via TLS.  A server  
> SHOULD NOT
> >>      offer TLS plus SASL PLAIN unless it is unable to offer some
> >>      variant of SASL SCRAM (or other alternatives that are more  
> secure
> >
> > I'm not entirely comfortable with this, but I'm willing to go  
> along with it
> > if this is what people want.
> 
> Me neither, but the later "Yeah, but it can do it anyway" negates  
> this.
> 
> (however, offering TLS
>      plus SASL PLAIN even when the server supports more secure
>      alternatives might be appropriate if the server needs to enable
>      interoperability with an installed base of clients that do not  
> yet
>      support SCRAM or other alternatives that are more secure than  
> TLS
>      plus SASL PLAIN.)

Yes, indeed - explicitly spelling this out as a potential reason to  
ignore the SHOULD NOT does make this fine by me.

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  Tue Nov 16 10:07: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 1F62F3A6DC3 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 10:07:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.182
X-Spam-Level: 
X-Spam-Status: No, score=-102.182 tagged_above=-999 required=5 tests=[AWL=0.417, 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 d1P7ZFHsMauU for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 10:07:17 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 0DFBE3A6D8C for <xmpp@ietf.org>; Tue, 16 Nov 2010 10:07:17 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 076D240D15; Tue, 16 Nov 2010 11:17:52 -0700 (MST)
Message-ID: <4CE2C87E.20400@stpeter.im>
Date: Tue, 16 Nov 2010 11:07:58 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <0885629943.973293031@cridland.net> <C8F95150.39924%joe.hildebrand@webex.com> <AANLkTimeRZrsmVHG_Hj_EwjMtVmKhuT-hnn7YSo4M7Ka@mail.gmail.com> <4CD55D20.5070304@babelmonkeys.de> <4CD55F93.8030008@stpeter.im> <AANLkTinCE5Bm8LPBBK+td59bYnS_ybzwphFNp1yBAU3r@mail.gmail.com> <4CD85D19.4080601@stpeter.im> <AANLkTi=MpYfQtUZ4o7jGedhXa3oGT0A9yKQCjguUOPUE@mail.gmail.com> <4CD9C450.8070506@stpeter.im> <2850.1289341066.377699@puncture> <4CD9CF46.2000400@stpeter.im> <4CDA6A52.3020306@gmail.com> <4CDD0377.3020203@stpeter.im> <2850.1289562325.026803@puncture> <4CDD400D.9050801@stpeter.im> <4CDD76B3.5050206@babelmonkeys.de> <4CDDD40B.3060408@stpeter.im> <AANLkTi=R6MuRg7TH7WoyRkgeLJoji75a0Pc3Py0qm8xw@mail.gmail.com> <2850.1289648912.721167@puncture> <096872F3-6F72-431B-A66B-EE50B469AECC@nostrum.com> <4CE1E189.60705@stpeter.im> <2850.1289897890.929446@puncture> <AANLkTincMcDA7FOLeQSfAW_gEpvPfm30ate=jDgXqFrO@mail.gmail.com> <2850.1289899171.272827@puncture>
In-Reply-To: <2850.1289899171.272827@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="------------ms050001010805020907090809"
Cc: Joe Hildebrand <joe.hildebrand@webex.com>, XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] consensus call on TLS plus SASL PLAIN
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, 16 Nov 2010 18:07:18 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 2:19 AM, Dave Cridland wrote:
> On Tue Nov 16 09:02:02 2010, Kevin Smith wrote:
>> On Tue, Nov 16, 2010 at 8:58 AM, Dave Cridland <dave@cridland.net> wro=
te:
>> > On Tue Nov 16 01:42:33 2010, Peter Saint-Andre wrote:
>> >>
>> >>      PLAIN if the stream is not protected via TLS.  A server SHOULD=

>> NOT
>> >>      offer TLS plus SASL PLAIN unless it is unable to offer some
>> >>      variant of SASL SCRAM (or other alternatives that are more sec=
ure
>> >
>> > I'm not entirely comfortable with this, but I'm willing to go along
>> with it
>> > if this is what people want.
>>
>> Me neither, but the later "Yeah, but it can do it anyway" negates this=
=2E
>>
>> (however, offering TLS
>>      plus SASL PLAIN even when the server supports more secure
>>      alternatives might be appropriate if the server needs to enable
>>      interoperability with an installed base of clients that do not ye=
t
>>      support SCRAM or other alternatives that are more secure than TLS=

>>      plus SASL PLAIN.)
>=20
> Yes, indeed - explicitly spelling this out as a potential reason to
> ignore the SHOULD NOT does make this fine by me.

Right. I'm beginning to understand why it's important to explain why an
implementation can legitimately not follow a SHOULD or SHOULD NOT. Not
that I have time to do that for every instance in the specs...

Peter

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




--------------ms050001010805020907090809
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+PPOLk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HxlzkQ4/TCh7Pa+XhAlrXH4PX1bCQLuXV1ZHhyoRGt3NQsWZgqmRk+KJ1KDNk2Q9BAAAA
AAAA
--------------ms050001010805020907090809--

From stpeter@stpeter.im  Tue Nov 16 10:54: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 E9B1D3A6E0F for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 10:54:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.229
X-Spam-Level: 
X-Spam-Status: No, score=-102.229 tagged_above=-999 required=5 tests=[AWL=0.370, 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 xMQ8eQIIDpQg for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 10:54:52 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 08E673A6E17 for <xmpp@ietf.org>; Tue, 16 Nov 2010 10:54:52 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 733EF40BB9; Tue, 16 Nov 2010 12:05:28 -0700 (MST)
Message-ID: <4CE2D3A4.70302@stpeter.im>
Date: Tue, 16 Nov 2010 11:55:32 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Waqas Hussain <waqas20@gmail.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com>
In-Reply-To: <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@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="------------ms000104040203080507000706"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 16 Nov 2010 18:54:55 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 12:18 AM, Waqas Hussain wrote:
> On Tue, Nov 16, 2010 at 10:23 AM, Peter Saint-Andre <stpeter@stpeter.im=
> wrote:
>> Mridul, it's still not clear to me what you are worried about. Could y=
ou
>> propose some small textual changes that could be incorporated into the=

>> spec? (I emphasize "small" because I freely admit that I don't want to=

>> make further changes at this point for fear of introducing bugs.)
>>
>=20
> I can explain, because MattJ and I have had this discussion a number of=
 times.

Thanks, Waqas.

> Consider a user1@host1.com sends this:
>=20
> <message to=3D'contact'>
>   <custom xmlns=3D'custom'>
>     <message xmlns=3D'jabber:client'/>
>     <message xmlns=3D'jabber:server'/>
>   </custom>
>   <message xmlns=3D'jabber:client'/>
>   <message xmlns=3D'jabber:server'/>
> </message>
>=20
> i.e., it has some custom tag which can contain an arbitrary XML
> payload, and that payload in this example happens to use our two
> stream namespaces.

I have a clarifying question: does this problem apply only to "nested"
stanzas as shown in your example (i.e., child elements qualified by
'jabber:client' or 'jabber:server')?

/psa




--------------ms000104040203080507000706
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/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX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U87YLJQ8xOQMF8GCSqGSIb3
DQEJDzFSMFAwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAqGhCbZM/WNgQG+4e4lDe4AdwIoHM6/Nn87VAvPIaQmvfhK/lPVHKTvRd4
bXKN96AI2vzYD1rxNjfqa+9wGqpLnrw8dhRhSes+P7T8krsH82wrzMCWWxoslTMy/23O8Dfg
pMPoDE6fRhFbreZHdgyBzQyH+sf2wgpsoA7aGMrI6irdm2tHCbCXISZX6hrn6AAvjn20RViJ
6B2J1MmfQrL8i1s/QwaZN0Ji2xXhqhIaFE8e9S0KVF2UBCM9IIuXkWptADXNapomG/HESmW9
UvRGC/p0BBRY/Xhu9BiB/aLvNVNV6yR+OdRmQovioz+BMQ5774I1qR31iw5fYxGSDnMRAAAA
AAAA
--------------ms000104040203080507000706--

From stpeter@stpeter.im  Tue Nov 16 11:17: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 3A8023A6DE1 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 11:17:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.966
X-Spam-Level: 
X-Spam-Status: No, score=-101.966 tagged_above=-999 required=5 tests=[AWL=0.033, 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 qSHFHMXgHcuB for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 11:17:43 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id DDBE33A6DB5 for <xmpp@ietf.org>; Tue, 16 Nov 2010 11:17:42 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 4860140BB9; Tue, 16 Nov 2010 12:28:19 -0700 (MST)
Message-ID: <4CE2D900.30404@stpeter.im>
Date: Tue, 16 Nov 2010 12:18:24 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Waqas Hussain <waqas20@gmail.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com>
In-Reply-To: <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@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="------------ms050908020905030001060907"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 16 Nov 2010 19:17:44 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 12:18 AM, Waqas Hussain wrote:
> On Tue, Nov 16, 2010 at 10:23 AM, Peter Saint-Andre <stpeter@stpeter.im=
> wrote:
>> Mridul, it's still not clear to me what you are worried about. Could y=
ou
>> propose some small textual changes that could be incorporated into the=

>> spec? (I emphasize "small" because I freely admit that I don't want to=

>> make further changes at this point for fear of introducing bugs.)
>>
>=20
> I can explain, because MattJ and I have had this discussion a number of=
 times.
>=20
> Consider a user1@host1.com sends this:
>=20
> <message to=3D'contact'>
>   <custom xmlns=3D'custom'>
>     <message xmlns=3D'jabber:client'/>
>     <message xmlns=3D'jabber:server'/>
>   </custom>
>   <message xmlns=3D'jabber:client'/>
>   <message xmlns=3D'jabber:server'/>
> </message>
>=20
> i.e., it has some custom tag which can contain an arbitrary XML
> payload, and that payload in this example happens to use our two
> stream namespaces.
>=20
> Now, if contact is user2@host1.com, that payload may arrive as-is.
>=20
> But if the contact is on another server, that payload would be
> modified in transit in many (most? all?) servers.
>=20
> Mridul's point is, the modification to the payload is different for
> different servers, and isn't defined in the spec. The same stanza
> getting sent to e.g., a local MUC room is going to appear different to
> a remote user than a local user. The difference is dependent on the
> server software, and undefined in the spec.
>=20
> Here's how it might look like when recieved by a remote client:
>=20
> 1. Server's stanza handling omits the stream namespace at all levels:
>=20
> <message to=3D'contact'>
>   <custom xmlns=3D'custom'>
>     <message/>
>     <message/>
>   </custom>
>   <message/>
>   <message/>
> </message>
>=20
> (the top-level children inherit the jabber:client namespace, while the
> inner messages inherit the custom namespace)
>=20
> 2. Server's stanza handling only omits stream namespace at the top leve=
l:
>=20
> <message to=3D'contact'>
>   <custom xmlns=3D'custom'>
>     <message xmlns=3D'jabber:server'/>
>     <message xmlns=3D'jabber:client'/>
>   </custom>
>   <message/>
>   <message/>
> </message>
>=20
> (the top-level children inherit the jabber:client namespace, while the
> inner messages preserve their original namespace)
>=20
> 3. Server's stanza handling attempts to preserve everything: the
> original stanza is recieved with all child namespaces preserved, same
> as the original stanza.
>=20
> And so on.
>=20
> Now, the spec isn't clear on which case is valid. I'll repeat the
> problem again: The same stanza when sent to a local contact and to a
> remote contact would appear different to both contacts. The same
> stanza sent to a MUC room would appear different to remote occupants,
> and the difference would be different depending on the server software
> involved. The spec mentions "re-scope", but doesn't actually define
> it. Must child elements be affected? Must child elements not be
> affected?

I think this is clear in the spec as long as you understand the
definition of "XML stanza", which is: a first-level child element (at
depth=3D1 of the stream) whose element name is "message", "presence", or
"iq" and whose qualifying namespace is 'jabber:client' or 'jabber:server'=
=2E

So in your example, the <message/> elements that are children of the
<message/> stanza or of the <custom/> element are *not* stanzas.

Could this be a bit clearer in the spec to prevent all possible
confusion? Yes, it could. So I propose the following small fixes:

In Section 4.1:

   Definition of XML Stanza:  An XML stanza is the basic unit of meaning
      in XMPP.  A stanza is only a first-level element (at depth=3D1 of
      the stream) whose element name is "message", "presence", or "iq"
      and whose qualifying namespace is 'jabber:client' or 'jabber:
      server'.  By contrast, a first-level element qualified by any
      other namespace is not an XML stanza (stream errors, stream
      features, TLS-related elements, SASL-related elements, etc.), nor
      is a <message/>, <presence/>, or <iq/> element that is qualified
      by the 'jabber:client' or 'jabber:server' namespace but that
      occurs at a depth other than one (e.g., a stanza that is included
      as the child element of a stanza for reporting purposes), nor is a
      <message/>, <presence/>, or <iq/> element that is qualified by a
      namespace other than 'jabber:client' or 'jabber:server'.  An XML
      stanza typically contains one or more child elements (with
      accompanying attributes, elements, and XML character data) as
      necessary in order to convey the desired information, which MAY be
      qualified by any XML namespace (see [XML-NAMES] as well as
      Section 8.4 in this specification).

In Section 4.7.5:

      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 (i.e., the
      first-level <message/>, <presence/>, or <iq/> element qualified by
      the 'jabber:client' namespace) 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').  This
      rule applies only to XML stanzas as defined under Section 4.1.

And I think those small clarifications put this issue to rest.

Peter

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




--------------ms050908020905030001060907
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
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR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ZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBRL6ns4My3DHyq8WrSSakW0Z5wAwhAFj7ZXTagHojiN2aD3JRUHOK4EozO
cLK8p+dEOhgOovvAUG6xuXmaec8/sxGx5/tmnnbut6lH0IrlMLDgmPgiYbYplADhzy9yg+6J
d4zpxGc5f/FR71gli4qvq76s74+3oJaFv4t+kRx3XO+WlVAqCEKR0WNJmPUECF8k6CfuWxX4
5tVvBYnB4W8DHQ9+KoWMDpUL2k6ybk0SDgoCu4ZJDhzzmGJLQD/UnLfF8y36QfyLxPanHmQH
X7BLUtQ4/B9GmB5WARCFA7nQMP9QRK4ZqjTbLO405uKIT1tZtda8MuOfkF7ZGA8hnGA2AAAA
AAAA
--------------ms050908020905030001060907--

From dave@cridland.net  Tue Nov 16 14:59:27 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 D2CA43A6828 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 14:59:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.445
X-Spam-Level: 
X-Spam-Status: No, score=-2.445 tagged_above=-999 required=5 tests=[AWL=0.154,  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 8vQpLCyOblhu for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 14:59:26 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id B37E63A6852 for <xmpp@ietf.org>; Tue, 16 Nov 2010 14:59:26 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 6B35611680FB; Tue, 16 Nov 2010 23:00:07 +0000 (GMT)
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 PLvq+nayUNsE; Tue, 16 Nov 2010 23:00:03 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 467C711680CA; Tue, 16 Nov 2010 23:00:03 +0000 (GMT)
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im>
In-Reply-To: <4CE2D900.30404@stpeter.im>
MIME-Version: 1.0
Message-Id: <2850.1289948403.277035@puncture>
Date: Tue, 16 Nov 2010 23:00:03 +0000
From: Dave Cridland <dave@cridland.net>
To: Peter Saint-Andre <stpeter@stpeter.im>, XMPP Working Group <xmpp@ietf.org>, Waqas Hussain <waqas20@gmail.com>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 16 Nov 2010 22:59:27 -0000

On Tue Nov 16 19:18:24 2010, Peter Saint-Andre wrote:
> And I think those small clarifications put this issue to rest.

<!-- C2S -->

<message xmlns='jabber:client' to='stpeter@jabber.org' type='chat'>
  <body>You think?</body>
</message>

<!-- S2S -->

<message xmlns='jabber:server' from='dwd@dave.cridland.net/IETF'  
to='stpeter@jabber.org' type='chat'>
  <body xmlns='jabber:client'>You think?</body>
</message>

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  Tue Nov 16 16:22: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 8BC113A6890 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 16:22:58 -0800 (PST)
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 IR+xV+tozaUb for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 16:22:57 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 8F93F3A688B for <xmpp@ietf.org>; Tue, 16 Nov 2010 16:22:54 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id AB0FC40BB9; Tue, 16 Nov 2010 17:33:32 -0700 (MST)
Message-ID: <4CE32089.9010001@stpeter.im>
Date: Tue, 16 Nov 2010 17:23:37 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture>
In-Reply-To: <2850.1289948403.277035@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="------------ms090207080808060305050005"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 00:22:58 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 4:00 PM, Dave Cridland wrote:
> On Tue Nov 16 19:18:24 2010, Peter Saint-Andre wrote:
>> And I think those small clarifications put this issue to rest.
>=20
> <!-- C2S -->
>=20
> <message xmlns=3D'jabber:client' to=3D'stpeter@jabber.org' type=3D'chat=
'>
>  <body>You think?</body>
> </message>
>=20
> <!-- S2S -->
>=20
> <message xmlns=3D'jabber:server' from=3D'dwd@dave.cridland.net/IETF'
> to=3D'stpeter@jabber.org' type=3D'chat'>
>  <body xmlns=3D'jabber:client'>You think?</body>
> </message>

You forgot the end game:

<!-- C2S -->

<message xmlns=3D'jabber:client' to=3D'dwd@dave.cridland.net' type=3D'cha=
t'>
 <body>I think so!</body>
</message>

<!-- S2S -->

<message xmlns=3D'jabber:server' from=3D'stpeter@jabber.org/squire'
to=3D'dwd@dave.cridland.net' type=3D'chat'>
 <body xmlns=3D'jabber:client'>I think so!</body>
</message>

<!-- C2S -->

<message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
to=3D'dwd@dave.cridland.net' type=3D'chat'>
 <body>I think so!</body>
</message>

/psa


--------------ms090207080808060305050005
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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0dzURkU8ns9WLy5UnRGIyt
eB/Mo16CfnryuXrDGR9+nAYZGvrqKpKn+uAXelBqDkBuX+aFFy2+divgfvCZ/Ut9Ojvu8Xm6
r5jtw6n3Cnq83f5zEg9ENCcqG5l42P9MPJ/wT6u7wrB1msOgF0wfojZvkwNmBN7YNi14AAAA
AAAA
--------------ms090207080808060305050005--

From mwild1@gmail.com  Tue Nov 16 16:24:21 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 2DCBB3A68A2 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 16:24:21 -0800 (PST)
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, 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 3r0ndYut2NPE for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 16:24:20 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id 337C53A68A0 for <xmpp@ietf.org>; Tue, 16 Nov 2010 16:24:20 -0800 (PST)
Received: by qyk8 with SMTP id 8so107490qyk.10 for <xmpp@ietf.org>; Tue, 16 Nov 2010 16:25:04 -0800 (PST)
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=90LWcqAwGNphh535lP676QDb96r/ISuwpWz7by4EgvU=; b=V1Xp4b6A4AuMJWjRNs89XO+v7zVnPOPpglJ4GPfzv/RTPl1qT1grDZS+tvfJDAIjDz hH2Ut7JFr6Rexzqr5BK+AEbBmW1O4OGE9UnNvqZ1jVZbCoe1SyC5oAq72CRomC2IyIgB 8wTlOvH4RoSvQ+ONXlStXQb80AFQwx2RuluLs=
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=T2aGkhkMEB5A8xC4fjR0tpxEsbStkYbYzmduH1AX5GEoy6T2+j2ZSYb4g9SB7jU4wF RXwGJDH1C+beUdaTsxbj4GXKvCUMeJunhuajzpn21JPPwzq/yxQxZlijf0ZCixa7vtnZ /4TopnH6OYGSZGQvLrtiguDYr9xT+3I+l2yDs=
Received: by 10.224.89.17 with SMTP id c17mr6911713qam.226.1289953504487; Tue, 16 Nov 2010 16:25:04 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Tue, 16 Nov 2010 16:24:44 -0800 (PST)
In-Reply-To: <2850.1289948403.277035@puncture>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture>
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 17 Nov 2010 00:24:44 +0000
Message-ID: <AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@mail.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] "re-scope" of xmpp stanza's
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, 17 Nov 2010 00:24:21 -0000

On 16 November 2010 23:00, Dave Cridland <dave@cridland.net> wrote:
> On Tue Nov 16 19:18:24 2010, Peter Saint-Andre wrote:
>>
>> And I think those small clarifications put this issue to rest.
>
> <!-- C2S -->
>
> <message xmlns=3D'jabber:client' to=3D'stpeter@jabber.org' type=3D'chat'>
> =C2=A0<body>You think?</body>
> </message>
>
> <!-- S2S -->
>
> <message xmlns=3D'jabber:server' from=3D'dwd@dave.cridland.net/IETF'
> to=3D'stpeter@jabber.org' type=3D'chat'>
> =C2=A0<body xmlns=3D'jabber:client'>You think?</body>
> </message>
>

Translation (also based on an extensive discussion this evening in the
Prosody room):

The proposed text doesn't cover what to do about the namespaces of
children. Currently most servers change the xmlns on the top tag,
meaning that any descendents with the stream's default namespace (such
as <body> in the C2S example of Dave's) suddenly change from
jabber:client to jabber:server too.

>From an XML cleanliness point of view, <body> and other such tags are
really only meant to be in jabber:client (right?). This means that
after "re-scoping" they should retain the jabber:client namespace,
even if this means the server has to manually inject xmlns
declarations on them. The downside is, this does not at all reflect
what is currently done in practice today.

The real solution, of course, is to do away with re-scoping
altogether. There is and never was any need for a different namespace
on s2s streams, and any solution we try to come up with to work around
it is going to be less than perfect.

I suggest that for the sake of the document we seek documenting the
best *current* practice, with some restrictive text to ensure interop,
and avoid trying to fix something that really can't be fixed now.

From stpeter@stpeter.im  Tue Nov 16 16:41: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 A6D433A68A0 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 16:40:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.266
X-Spam-Level: 
X-Spam-Status: No, score=-102.266 tagged_above=-999 required=5 tests=[AWL=-0.267, 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 vlkcmxP0BNb9 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 16:40:55 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id CBEDA3A68B3 for <xmpp@ietf.org>; Tue, 16 Nov 2010 16:40:53 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DAA2E40BB9; Tue, 16 Nov 2010 17:50:52 -0700 (MST)
Message-ID: <4CE32499.2010404@stpeter.im>
Date: Tue, 16 Nov 2010 17:40:57 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture> <AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@mail.gmail.com>
In-Reply-To: <AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@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="------------ms000204090202060200020009"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 00:41:00 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 5:24 PM, Matthew Wild wrote:
> On 16 November 2010 23:00, Dave Cridland <dave@cridland.net> wrote:
>> On Tue Nov 16 19:18:24 2010, Peter Saint-Andre wrote:
>>>
>>> And I think those small clarifications put this issue to rest.
>>
>> <!-- C2S -->
>>
>> <message xmlns=3D'jabber:client' to=3D'stpeter@jabber.org' type=3D'cha=
t'>
>>  <body>You think?</body>
>> </message>
>>
>> <!-- S2S -->
>>
>> <message xmlns=3D'jabber:server' from=3D'dwd@dave.cridland.net/IETF'
>> to=3D'stpeter@jabber.org' type=3D'chat'>
>>  <body xmlns=3D'jabber:client'>You think?</body>
>> </message>
>>
>=20
> Translation (also based on an extensive discussion this evening in the
> Prosody room):
>=20
> The proposed text doesn't cover what to do about the namespaces of
> children. Currently most servers change the xmlns on the top tag,
> meaning that any descendents with the stream's default namespace (such
> as <body> in the C2S example of Dave's) suddenly change from
> jabber:client to jabber:server too.

That is the traditional behavior, yes.

> From an XML cleanliness point of view, <body> and other such tags are
> really only meant to be in jabber:client (right?).=20

Not right. :) The schemas for both namespaces are identical except for
requiring 'to' and 'from' in the server namespace.

> This means that
> after "re-scoping" they should retain the jabber:client namespace,
> even if this means the server has to manually inject xmlns
> declarations on them.=20

If your premise were correct, I'd agree with your conclusion. But your
premise is false.

> The downside is, this does not at all reflect
> what is currently done in practice today.

Because there's no necessity to change the child elements.

> The real solution, of course, is to do away with re-scoping
> altogether.=20

And break all interoperability? Baby, say goodbye to bathwater.

> There is and never was any need for a different namespace
> on s2s streams,=20

Talk to Jer about that. :P

> and any solution we try to come up with to work around
> it is going to be less than perfect.

On that we can agree.

> I suggest that for the sake of the document we seek documenting the
> best *current* practice, with some restrictive text to ensure interop,
> and avoid trying to fix something that really can't be fixed now.

IMHO the preferred text would say that you touch only the root element
of the stanza and you don't add a namespace to child elements that are
unqualified. Thus:

<!-- C2S -->

<message xmlns=3D'jabber:client' to=3D'dwd@dave.cridland.net' type=3D'cha=
t'>
 <body>I think so!</body>
</message>

<!-- S2S -->

<message xmlns=3D'jabber:server' from=3D'stpeter@jabber.org/squire'
to=3D'dwd@dave.cridland.net' type=3D'chat'>
 <body>I think so!</body>
</message>

<!-- S2C -->

<message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
to=3D'dwd@dave.cridland.net' type=3D'chat'>
 <body>I think so!</body>
</message>

You also do not change any child elements that are qualified:

<!-- C2S -->

<message xmlns=3D'jabber:client' to=3D'abuse@jabber.org'>
  <report xmlns=3D'urn:xmpp:example'>
    <message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
             to=3D'dwd@dave.cridland.net' type=3D'chat'>
      <body>I think so!</body>
    </message>
  </report>
</message>

<!-- S2S -->

<message xmlns=3D'jabber:server' to=3D'abuse@jabber.org'>
  <report xmlns=3D'urn:xmpp:example'>
    <message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
             to=3D'dwd@dave.cridland.net' type=3D'chat'>
      <body>I think so!</body>
    </message>
  </report>
</message>

<!-- S2C -->

<message xmlns=3D'jabber:client' to=3D'abuse@jabber.org'>
  <report xmlns=3D'urn:xmpp:example'>
    <message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
             to=3D'dwd@dave.cridland.net' type=3D'chat'>
      <body>I think so!</body>
    </message>
  </report>
</message>

C'mon folks, is this really so hard?

Peter

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




--------------ms000204090202060200020009
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/cWJOJ7F5RltbE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mail.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 6250D3A68B6 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:00:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.239
X-Spam-Level: 
X-Spam-Status: No, score=-2.239 tagged_above=-999 required=5 tests=[AWL=-0.240, BAYES_00=-2.599, 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 E27pVYWqz6sS for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:00:42 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 5643F3A68B3 for <xmpp@ietf.org>; Tue, 16 Nov 2010 17:00:42 -0800 (PST)
Received: by qwg5 with SMTP id 5so147361qwg.31 for <xmpp@ietf.org>; Tue, 16 Nov 2010 17:01:26 -0800 (PST)
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=PhA6sWKXO4OmwmbyCf7pjotkOKyS7KDL57Oc89MBhlo=; b=t34IXXqGZtESX2xa3dWUPhm1d+5YivCDqdpYBm/ub7NaPpd4jpo77IpU49xw9MpyIl YYfqggrN7ycoQtoDCcEQh/heUkJeJBlXJtxqBzpNwXil96i1W/MO494AKyyq1yEklUSX AtT8iQhU5E5Pl0IZMgGAT2xMvzFV6T5lfg5Gc=
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=BZK513N3N0qiTrtRPa4mPbpub18xaxsmpR7/h9q1WF7nIanxnI8hoqlrDcQY3f1eDH 7+l1RPvgrSA8CLDNE3zcptOGT6PBoEQErEGqRlkU6qK/L3IZZccosg/Y4kyGMopofCbW wqo8mIf6+mIxocYFx5PjOtezgoozB9V+a7/RE=
Received: by 10.229.239.145 with SMTP id kw17mr6877540qcb.54.1289955686242; Tue, 16 Nov 2010 17:01:26 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Tue, 16 Nov 2010 17:01:05 -0800 (PST)
In-Reply-To: <4CE32499.2010404@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture> <AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@mail.gmail.com> <4CE32499.2010404@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 17 Nov 2010 01:01:05 +0000
Message-ID: <AANLkTim9w4RdAECfYdNpN3jsX9pPXmkbVFxgi-Dv5RRp@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] "re-scope" of xmpp stanza's
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, 17 Nov 2010 01:00:43 -0000

On 17 November 2010 00:40, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 11/16/10 5:24 PM, Matthew Wild wrote:
>> On 16 November 2010 23:00, Dave Cridland <dave@cridland.net> wrote:
>>> On Tue Nov 16 19:18:24 2010, Peter Saint-Andre wrote:
>>>>
>>>> And I think those small clarifications put this issue to rest.
>>>
>>> <!-- C2S -->
>>>
>>> <message xmlns=3D'jabber:client' to=3D'stpeter@jabber.org' type=3D'chat=
'>
>>> =C2=A0<body>You think?</body>
>>> </message>
>>>
>>> <!-- S2S -->
>>>
>>> <message xmlns=3D'jabber:server' from=3D'dwd@dave.cridland.net/IETF'
>>> to=3D'stpeter@jabber.org' type=3D'chat'>
>>> =C2=A0<body xmlns=3D'jabber:client'>You think?</body>
>>> </message>
>>>
>>
>> Translation (also based on an extensive discussion this evening in the
>> Prosody room):
>>
>> The proposed text doesn't cover what to do about the namespaces of
>> children. Currently most servers change the xmlns on the top tag,
>> meaning that any descendents with the stream's default namespace (such
>> as <body> in the C2S example of Dave's) suddenly change from
>> jabber:client to jabber:server too.
>
> That is the traditional behavior, yes.
>
>> From an XML cleanliness point of view, <body> and other such tags are
>> really only meant to be in jabber:client (right?).
>
> Not right. :) The schemas for both namespaces are identical except for
> requiring 'to' and 'from' in the server namespace.
>

Sigh :)

>> The real solution, of course, is to do away with re-scoping
>> altogether.
>
> And break all interoperability? Baby, say goodbye to bathwater.
>

The s2s protocol is hairy in a number of places. I wonder if... oh
well, that's another document :)

>> There is and never was any need for a different namespace
>> on s2s streams,
>
> Talk to Jer about that. :P
>

Even Jer makes mistakes :)

> IMHO the preferred text would say that you touch only the root element
> of the stanza and you don't add a namespace to child elements that are
> unqualified. Thus:
>
> <!-- C2S -->
>
> <message xmlns=3D'jabber:client' to=3D'dwd@dave.cridland.net' type=3D'cha=
t'>
> =C2=A0<body>I think so!</body>
> </message>
>
> <!-- S2S -->
>
> <message xmlns=3D'jabber:server' from=3D'stpeter@jabber.org/squire'
> to=3D'dwd@dave.cridland.net' type=3D'chat'>
> =C2=A0<body>I think so!</body>
> </message>
>
> <!-- S2C -->
>
> <message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
> to=3D'dwd@dave.cridland.net' type=3D'chat'>
> =C2=A0<body>I think so!</body>
> </message>
>
> You also do not change any child elements that are qualified:
>

[snip]

>
> C'mon folks, is this really so hard?
>

Yes and no. The problem is the number of corner-cases.

--
<message>
   <foo xmlns=3D"jabber:server"/>
</message>

<foo> would end up in jabber:client at the receiving side. Forbid
jabber:server elements *anywhere* in c2s streams?
--
<message>
   <body xmlns=3D"jabber:client"/>
</message>

Here, should <body> be re-scoped to jabber:server? or should the
explicit xmlns declaration override that? I'd argue the former.
Correct?
--

As I said, I'm sure we can get something together even if it's not
pretty given what we have to work with. Hard, no - but not trivial
either.

Regards,
Matthew

From stpeter@stpeter.im  Tue Nov 16 17:09:03 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 7CBA23A68D4 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:09:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.252
X-Spam-Level: 
X-Spam-Status: No, score=-102.252 tagged_above=-999 required=5 tests=[AWL=-0.253, 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 2UIux5m3apNf for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:09:02 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 69E6C3A68CF for <xmpp@ietf.org>; Tue, 16 Nov 2010 17:09:02 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 685CA40BB9; Tue, 16 Nov 2010 18:19:40 -0700 (MST)
Message-ID: <4CE32B50.2030602@stpeter.im>
Date: Tue, 16 Nov 2010 18:09:36 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture> <AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@mail.gmail.com> <4CE32499.2010404@stpeter.im> <AANLkTim9w4RdAECfYdNpN3jsX9pPXmkbVFxgi-Dv5RRp@mail.gmail.com>
In-Reply-To: <AANLkTim9w4RdAECfYdNpN3jsX9pPXmkbVFxgi-Dv5RRp@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="------------ms010901070704030704020702"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 01:09:03 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 6:01 PM, Matthew Wild wrote:
> On 17 November 2010 00:40, Peter Saint-Andre <stpeter@stpeter.im> wrote=
:
>> On 11/16/10 5:24 PM, Matthew Wild wrote:
>>> On 16 November 2010 23:00, Dave Cridland <dave@cridland.net> wrote:
>>>> On Tue Nov 16 19:18:24 2010, Peter Saint-Andre wrote:
>>>>>
>>>>> And I think those small clarifications put this issue to rest.
>>>>
>>>> <!-- C2S -->
>>>>
>>>> <message xmlns=3D'jabber:client' to=3D'stpeter@jabber.org' type=3D'c=
hat'>
>>>>  <body>You think?</body>
>>>> </message>
>>>>
>>>> <!-- S2S -->
>>>>
>>>> <message xmlns=3D'jabber:server' from=3D'dwd@dave.cridland.net/IETF'=

>>>> to=3D'stpeter@jabber.org' type=3D'chat'>
>>>>  <body xmlns=3D'jabber:client'>You think?</body>
>>>> </message>
>>>>
>>>
>>> Translation (also based on an extensive discussion this evening in th=
e
>>> Prosody room):
>>>
>>> The proposed text doesn't cover what to do about the namespaces of
>>> children. Currently most servers change the xmlns on the top tag,
>>> meaning that any descendents with the stream's default namespace (suc=
h
>>> as <body> in the C2S example of Dave's) suddenly change from
>>> jabber:client to jabber:server too.
>>
>> That is the traditional behavior, yes.
>>
>>> From an XML cleanliness point of view, <body> and other such tags are=

>>> really only meant to be in jabber:client (right?).
>>
>> Not right. :) The schemas for both namespaces are identical except for=

>> requiring 'to' and 'from' in the server namespace.
>>
>=20
> Sigh :)
>=20
>>> The real solution, of course, is to do away with re-scoping
>>> altogether.
>>
>> And break all interoperability? Baby, say goodbye to bathwater.
>>
>=20
> The s2s protocol is hairy in a number of places. I wonder if... oh
> well, that's another document :)
>=20
>>> There is and never was any need for a different namespace
>>> on s2s streams,
>>
>> Talk to Jer about that. :P
>>
>=20
> Even Jer makes mistakes :)
>=20
>> IMHO the preferred text would say that you touch only the root element=

>> of the stanza and you don't add a namespace to child elements that are=

>> unqualified. Thus:
>>
>> <!-- C2S -->
>>
>> <message xmlns=3D'jabber:client' to=3D'dwd@dave.cridland.net' type=3D'=
chat'>
>>  <body>I think so!</body>
>> </message>
>>
>> <!-- S2S -->
>>
>> <message xmlns=3D'jabber:server' from=3D'stpeter@jabber.org/squire'
>> to=3D'dwd@dave.cridland.net' type=3D'chat'>
>>  <body>I think so!</body>
>> </message>
>>
>> <!-- S2C -->
>>
>> <message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
>> to=3D'dwd@dave.cridland.net' type=3D'chat'>
>>  <body>I think so!</body>
>> </message>
>>
>> You also do not change any child elements that are qualified:
>>
>=20
> [snip]
>=20
>>
>> C'mon folks, is this really so hard?
>>
>=20
> Yes and no. The problem is the number of corner-cases.
>=20
> --
> <message>
>    <foo xmlns=3D"jabber:server"/>
> </message>
>=20
> <foo> would end up in jabber:client at the receiving side. Forbid
> jabber:server elements *anywhere* in c2s streams?
> --
> <message>
>    <body xmlns=3D"jabber:client"/>
> </message>
>=20
> Here, should <body> be re-scoped to jabber:server? or should the
> explicit xmlns declaration override that? I'd argue the former.
> Correct?
> --
>=20
> As I said, I'm sure we can get something together even if it's not
> pretty given what we have to work with. Hard, no - but not trivial
> either.

A proposal:

      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 (i.e., the
      first-level <message/>, <presence/>, or <iq/> element qualified by
      the 'jabber:client' namespace) so that its content namespace is
      'jabber:server' (i.e., it MUST NOT route 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 so that the stanza
      is qualified by the 'jabber:client' namespace before delivering it
      over a client-to-server stream.  This rule applies only to XML
      stanzas as defined under Section 4.1; when re-scoping a stanza for
      routing over a server-to-server stream, a server (i) MUST NOT
      modify the namespaces of explicitly qualified child elements even
      if the qualifying namespace is 'jabber:client', such as <body
      xmlns=3D'jabber:client'/> (since such qualifying namespaces might b=
e
      significant), and (ii) MUST NOT add a 'jabber:client' namespace to
      unqualified child elements defined by the 'jabber:client' schema,
      such as <body/> (since the 'jabber:client' and 'jabber:server'
      namespaces are semantically equivalent below the "root"
      <message/>, <presence/>, and <iq/> elements).

/psa




--------------ms010901070704030704020702
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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GoqFez1lhukI5k5L7r1W6CQnVVgOAAAA
AAAA
--------------ms010901070704030704020702--

From stpeter@stpeter.im  Tue Nov 16 17:16: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 419C23A6832 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:16:20 -0800 (PST)
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 9xocSZ-J2UP5 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:16:19 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 016C43A67B2 for <xmpp@ietf.org>; Tue, 16 Nov 2010 17:16:19 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C58A640BB9; Tue, 16 Nov 2010 18:26:56 -0700 (MST)
Message-ID: <4CE32D0B.5030803@stpeter.im>
Date: Tue, 16 Nov 2010 18:16:59 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE21562.3010505@stpeter.im>	<AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com>	<4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture>	<AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@mail.gmail.com>	<4CE32499.2010404@stpeter.im>	<AANLkTim9w4RdAECfYdNpN3jsX9pPXmkbVFxgi-Dv5RRp@mail.gmail.com> <4CE32B50.2030602@stpeter.im>
In-Reply-To: <4CE32B50.2030602@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="------------ms060205010906080801090003"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 01:16:20 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 6:09 PM, Peter Saint-Andre wrote:
> On 11/16/10 6:01 PM, Matthew Wild wrote:
>> On 17 November 2010 00:40, Peter Saint-Andre <stpeter@stpeter.im> wrot=
e:
>>> On 11/16/10 5:24 PM, Matthew Wild wrote:
>>>> On 16 November 2010 23:00, Dave Cridland <dave@cridland.net> wrote:
>>>>> On Tue Nov 16 19:18:24 2010, Peter Saint-Andre wrote:
>>>>>>
>>>>>> And I think those small clarifications put this issue to rest.
>>>>>
>>>>> <!-- C2S -->
>>>>>
>>>>> <message xmlns=3D'jabber:client' to=3D'stpeter@jabber.org' type=3D'=
chat'>
>>>>>  <body>You think?</body>
>>>>> </message>
>>>>>
>>>>> <!-- S2S -->
>>>>>
>>>>> <message xmlns=3D'jabber:server' from=3D'dwd@dave.cridland.net/IETF=
'
>>>>> to=3D'stpeter@jabber.org' type=3D'chat'>
>>>>>  <body xmlns=3D'jabber:client'>You think?</body>
>>>>> </message>
>>>>>
>>>>
>>>> Translation (also based on an extensive discussion this evening in t=
he
>>>> Prosody room):
>>>>
>>>> The proposed text doesn't cover what to do about the namespaces of
>>>> children. Currently most servers change the xmlns on the top tag,
>>>> meaning that any descendents with the stream's default namespace (su=
ch
>>>> as <body> in the C2S example of Dave's) suddenly change from
>>>> jabber:client to jabber:server too.
>>>
>>> That is the traditional behavior, yes.
>>>
>>>> From an XML cleanliness point of view, <body> and other such tags ar=
e
>>>> really only meant to be in jabber:client (right?).
>>>
>>> Not right. :) The schemas for both namespaces are identical except fo=
r
>>> requiring 'to' and 'from' in the server namespace.
>>>
>>
>> Sigh :)
>>
>>>> The real solution, of course, is to do away with re-scoping
>>>> altogether.
>>>
>>> And break all interoperability? Baby, say goodbye to bathwater.
>>>
>>
>> The s2s protocol is hairy in a number of places. I wonder if... oh
>> well, that's another document :)
>>
>>>> There is and never was any need for a different namespace
>>>> on s2s streams,
>>>
>>> Talk to Jer about that. :P
>>>
>>
>> Even Jer makes mistakes :)
>>
>>> IMHO the preferred text would say that you touch only the root elemen=
t
>>> of the stanza and you don't add a namespace to child elements that ar=
e
>>> unqualified. Thus:
>>>
>>> <!-- C2S -->
>>>
>>> <message xmlns=3D'jabber:client' to=3D'dwd@dave.cridland.net' type=3D=
'chat'>
>>>  <body>I think so!</body>
>>> </message>
>>>
>>> <!-- S2S -->
>>>
>>> <message xmlns=3D'jabber:server' from=3D'stpeter@jabber.org/squire'
>>> to=3D'dwd@dave.cridland.net' type=3D'chat'>
>>>  <body>I think so!</body>
>>> </message>
>>>
>>> <!-- S2C -->
>>>
>>> <message xmlns=3D'jabber:client' from=3D'stpeter@jabber.org/squire'
>>> to=3D'dwd@dave.cridland.net' type=3D'chat'>
>>>  <body>I think so!</body>
>>> </message>
>>>
>>> You also do not change any child elements that are qualified:
>>>
>>
>> [snip]
>>
>>>
>>> C'mon folks, is this really so hard?
>>>
>>
>> Yes and no. The problem is the number of corner-cases.
>>
>> --
>> <message>
>>    <foo xmlns=3D"jabber:server"/>
>> </message>
>>
>> <foo> would end up in jabber:client at the receiving side. Forbid
>> jabber:server elements *anywhere* in c2s streams?
>> --
>> <message>
>>    <body xmlns=3D"jabber:client"/>
>> </message>
>>
>> Here, should <body> be re-scoped to jabber:server? or should the
>> explicit xmlns declaration override that? I'd argue the former.
>> Correct?
>> --
>>
>> As I said, I'm sure we can get something together even if it's not
>> pretty given what we have to work with. Hard, no - but not trivial
>> either.
>=20
> A proposal:
>=20
>       Implementation Note: Because a client sends stanzas over a stream=

>       whose content namespace is 'jabber:client', if the server to whic=
h
>       the client is connected needs to route a client-generated stanza
>       to another server then it MUST "re-scope" the stanza (i.e., the
>       first-level <message/>, <presence/>, or <iq/> element qualified b=
y
>       the 'jabber:client' namespace) so that its content namespace is
>       'jabber:server' (i.e., it MUST NOT route a stanza qualified by th=
e
>       'jabber:client' namespace over a stream whose content namespace i=
s
>       'jabber:server').  Similarly, a routing server MUST "re-scope" a
>       stanza received over a server-to-server stream so that the stanza=

>       is qualified by the 'jabber:client' namespace before delivering i=
t
>       over a client-to-server stream.  This rule applies only to XML
>       stanzas as defined under Section 4.1; when re-scoping a stanza fo=
r
>       routing over a server-to-server stream, a server (i) MUST NOT
>       modify the namespaces of explicitly qualified child elements even=

>       if the qualifying namespace is 'jabber:client', such as <body
>       xmlns=3D'jabber:client'/> (since such qualifying namespaces might=
 be
>       significant), and (ii) MUST NOT add a 'jabber:client' namespace t=
o
>       unqualified child elements defined by the 'jabber:client' schema,=

>       such as <body/> (since the 'jabber:client' and 'jabber:server'
>       namespaces are semantically equivalent below the "root"
>       <message/>, <presence/>, and <iq/> elements).

Now with 15% more pedantry to cover your wacky cases like this:

<message>
   <foo xmlns=3D"jabber:server"/>
</message>

###

      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 (i.e., the
      first-level <message/>, <presence/>, or <iq/> element qualified by
      the 'jabber:client' namespace) so that its content namespace is
      'jabber:server' (i.e., it MUST NOT route 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 so that the stanza
      is qualified by the 'jabber:client' namespace before delivering it
      over a client-to-server stream.  This rule applies only to XML
      stanzas as defined under Section 4.1; when re-scoping a stanza for
      routing over a server-to-server stream, a server (i) MUST NOT
      modify the namespaces of explicitly qualified child elements even
      if the qualifying namespace is 'jabber:client' or 'jabber:server',
      such as <body xmlns=3D'jabber:client'/> (since such qualifying
      namespaces might be significant), and (ii) MUST NOT add an
      explicit 'jabber:client' or 'jabber:server' namespace to
      unqualified child elements defined by the 'jabber:client' schema,
      such as <body/> (since the 'jabber:client' and 'jabber:server'
      namespaces are semantically equivalent below the "root"
      <message/>, <presence/>, and <iq/> elements).

###

Sheesh.


--------------ms060205010906080801090003
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
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29tIENlcnRpZmljYXRpb24gQXV0aG9yaXR5M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mljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCjkyF2qfyznTQjogXs7jyjbj57CUzU+kva8qfipjnEX3BZW6tSNHf2mB9J
28y7yX7HN6MVNmbEDZFNitfyRRfZwoIaaVUCnuIIH7P7Kk6K8tGSjfWgQjPG/m8MX1CV57Q7
OmuQCUagtPM2aCaWmiAtIgfcKmRVl2gK5KrnyQ1pDnmlX2YDTahDUfxkAeNonNKHsTbaHZif
FGn7lU3RN1s+/6XLy2yYGJLniijljZ8ekTdChlAb17u1lVg6yYEvo+OEvCBW29zz6Cua+amR
J3BueaDXGzmAMdPVuITNwkOYXVjHWUN4HdxMbwp/DK4zOKyIRPNqnv+b4mhO9KQjr2/9AAAA
AAAA
--------------ms060205010906080801090003--

From mwild1@gmail.com  Tue Nov 16 17:31:20 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 504AA3A680E for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:31:20 -0800 (PST)
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 8NfnygFs92r7 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:31:18 -0800 (PST)
Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by core3.amsl.com (Postfix) with ESMTP id 94CC73A67A3 for <xmpp@ietf.org>; Tue, 16 Nov 2010 17:31:18 -0800 (PST)
Received: by qwd7 with SMTP id 7so255701qwd.27 for <xmpp@ietf.org>; Tue, 16 Nov 2010 17:32:03 -0800 (PST)
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=AeMSDm/h1InFemqwUf0qU2W6v0tCFzoC1+obT8ieGog=; b=aeLcTl4VOL9KzJQf7uo5SgBKof0sXe6VwQ3U5e02IVc8/CU+USesgvKh0GerSKdN5I qeiJn8NyP045SYUTot1lVwt2wFaPaGrcCsUvlvkJOk5NvrQEizXnAp3CxgsZIMkxZCIA pD5/9Ih1NxuOClL1wJgDI/28H1YyTWxR2yI0g=
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=TkwTKrzxPSltsAixf5CvqNrqgNiQwqxp98q+6CMW6l9/jNsTE2eGBSnx+2XJAgqNaV J34NHxmploVr9UwyhR7SknnVQpEzYylVpHtsdGZSuB3MP0/m60tZ/oG0NYpX5CC8ZqWU 8p5jzSqJ2hmK0SMB9esTdZ6rfeeT+hrjNlFAI=
Received: by 10.229.224.201 with SMTP id ip9mr6954926qcb.16.1289957522885; Tue, 16 Nov 2010 17:32:02 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Tue, 16 Nov 2010 17:31:42 -0800 (PST)
In-Reply-To: <4CE32D0B.5030803@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture> <AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@mail.gmail.com> <4CE32499.2010404@stpeter.im> <AANLkTim9w4RdAECfYdNpN3jsX9pPXmkbVFxgi-Dv5RRp@mail.gmail.com> <4CE32B50.2030602@stpeter.im> <4CE32D0B.5030803@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 17 Nov 2010 01:31:42 +0000
Message-ID: <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@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] "re-scope" of xmpp stanza's
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, 17 Nov 2010 01:31:20 -0000

On 17 November 2010 01:16, Peter Saint-Andre <stpeter@stpeter.im> wrote:
>
> ###
>

[snip]

>      when re-scoping a stanza for
> =C2=A0 =C2=A0 =C2=A0routing over a server-to-server stream, a server (i) =
MUST NOT
> =C2=A0 =C2=A0 =C2=A0modify the namespaces of explicitly qualified child e=
lements even
> =C2=A0 =C2=A0 =C2=A0if the qualifying namespace is 'jabber:client' or 'ja=
bber:server',
> =C2=A0 =C2=A0 =C2=A0such as <body xmlns=3D'jabber:client'/> (since such q=
ualifying
> =C2=A0 =C2=A0 =C2=A0namespaces might be significant)
>

Easier said than done. In many parser APIs, including expat in
namespace-aware mode, it wouldn't be possible to tell if an element
originally had an explicit xmlns declaration. You receive every
element along with its attributes and the namespace it is in. Because
of the various rules about xmlns handling and inheritance, it's quite
right that the parser should take care of this - and they are
semantically the exact same stanza after all, where the xmlns is
declared and where it isn't should have no bearing on processing.

In other words, I don't see that we can avoid:

<m xmlns=3D"jabber:client">
   <b xmlns=3D"jabber:client"/>
</m>

becoming

<m xmlns=3D"jabber:server">
    <b xmlns=3D"jabber:server"/> <!-- or omitted xmlns -->
</m>

over s2s streams.

What /could/ be said, however, is that (sigh, I don't want to be you
having to word this):

<!-- every xmlns declared explicitly for clarity -->
<stanza xmlns=3D"jabber:client">
    <does-change xmlns=3D"jabber:client">
        <still-does-change xmlns=3D"jabber:client"/>
     </does-change>
     <other-element xmlns=3D"someothernamespace">
         <does-not-change xmlns=3D"jabber:client"/>
      </other-element>
</stanza>

becomes:

<stanza xmlns=3D"jabber:server">
    <does-change xmlns=3D"jabber:server">
        <still-does-change xmlns=3D"jabber:server"/>
     </does-change>
     <other-element xmlns=3D"someothernamespace">
         <does-not-change xmlns=3D"jabber:client"/>
      </other-element>
</stanza>

In other words, re-scoping for stanzas and all their descendants, but
not re-scoping anything inside non-default-namespace elements.

> Sheesh.
>

+10. You know where Jer lives ;)

Regards,
Matthew

From stpeter@stpeter.im  Tue Nov 16 17:56: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 C1B6F3A67DA for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:56:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.378
X-Spam-Level: 
X-Spam-Status: No, score=-101.378 tagged_above=-999 required=5 tests=[AWL=-1.079, BAYES_00=-2.599, MANGLED_SAVELE=2.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 N6sn2W3-Vvzr for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 17:56:09 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B0FBD3A67A3 for <xmpp@ietf.org>; Tue, 16 Nov 2010 17:56:09 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 7C27F40BB9; Tue, 16 Nov 2010 19:06:46 -0700 (MST)
Message-ID: <4CE33662.3020709@stpeter.im>
Date: Tue, 16 Nov 2010 18:56:50 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE21562.3010505@stpeter.im> <AANLkTim_J=uMaqG3nsJDvVwKndB3BTJZ3am96nzKMzO6@mail.gmail.com> <4CE2D900.30404@stpeter.im> <2850.1289948403.277035@puncture> <AANLkTinaRxNbY_-DV=sj2VXpnL+hHRqG3ZZTy145FmcB@mail.gmail.com> <4CE32499.2010404@stpeter.im> <AANLkTim9w4RdAECfYdNpN3jsX9pPXmkbVFxgi-Dv5RRp@mail.gmail.com> <4CE32B50.2030602@stpeter.im> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>
In-Reply-To: <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@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="------------ms080309090808060703060107"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 01:56:10 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 6:31 PM, Matthew Wild wrote:
> On 17 November 2010 01:16, Peter Saint-Andre <stpeter@stpeter.im> wrote=
:
>>
>> ###
>>
>=20
> [snip]
>=20
>>      when re-scoping a stanza for
>>      routing over a server-to-server stream, a server (i) MUST NOT
>>      modify the namespaces of explicitly qualified child elements even=

>>      if the qualifying namespace is 'jabber:client' or 'jabber:server'=
,
>>      such as <body xmlns=3D'jabber:client'/> (since such qualifying
>>      namespaces might be significant)
>>
>=20
> Easier said than done. In many parser APIs, including expat in
> namespace-aware mode, it wouldn't be possible to tell if an element
> originally had an explicit xmlns declaration. You receive every
> element along with its attributes and the namespace it is in. Because
> of the various rules about xmlns handling and inheritance, it's quite
> right that the parser should take care of this - and they are
> semantically the exact same stanza after all, where the xmlns is
> declared and where it isn't should have no bearing on processing.

You make an excellent point.

> In other words, I don't see that we can avoid:
>=20
> <m xmlns=3D"jabber:client">
>    <b xmlns=3D"jabber:client"/>
> </m>
>=20
> becoming
>=20
> <m xmlns=3D"jabber:server">
>     <b xmlns=3D"jabber:server"/> <!-- or omitted xmlns -->
> </m>
>=20
> over s2s streams.
>=20
> What /could/ be said, however, is that (sigh, I don't want to be you
> having to word this):
>=20
> <!-- every xmlns declared explicitly for clarity -->
> <stanza xmlns=3D"jabber:client">
>     <does-change xmlns=3D"jabber:client">
>         <still-does-change xmlns=3D"jabber:client"/>
>      </does-change>
>      <other-element xmlns=3D"someothernamespace">
>          <does-not-change xmlns=3D"jabber:client"/>
>       </other-element>
> </stanza>
>=20
> becomes:
>=20
> <stanza xmlns=3D"jabber:server">
>     <does-change xmlns=3D"jabber:server">
>         <still-does-change xmlns=3D"jabber:server"/>
>      </does-change>
>      <other-element xmlns=3D"someothernamespace">
>          <does-not-change xmlns=3D"jabber:client"/>
>       </other-element>
> </stanza>
>=20
> In other words, re-scoping for stanzas and all their descendants, but
> not re-scoping anything inside non-default-namespace elements.

Right. Further wordsmithing in progress.

>> Sheesh.
>>
>=20
> +10. You know where Jer lives ;)

Yeah, but it's a 13-hour drive from here. ;-)

Peter

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




--------------ms080309090808060703060107
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
aWVudCBDQTCCASIwDQYJKoZIhvcNA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jSWA
6WumltCkcVt2jtNl/Brz5u5dBxnAAwdyYHNyovpK1bgNPvYyYXKYBj/7/gS1dIQyZ+Dc5+/w
fLgw1IcT3zLcGvbh3N/kmZwTqN1zsnCtHWHZGeUMvD3rGAZjmqbDOa8yxKFeyEcVHJboEqbB
NT1lJwqm3qPTW6ftgQ2C5NlfuXvK2duBeI1ei0FHnJZStilV95BK+HG56spN5MKdhwvjAAAA
AAAA
--------------ms080309090808060703060107--

From justin@affinix.com  Tue Nov 16 18:04:43 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 B3F293A67DA for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 18:04:43 -0800 (PST)
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 smGLowoqm4+D for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 18:04:37 -0800 (PST)
Received: from homiemail-a5.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by core3.amsl.com (Postfix) with ESMTP id 66D6E3A67A3 for <xmpp@ietf.org>; Tue, 16 Nov 2010 18:04:30 -0800 (PST)
Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 09F72704071 for <xmpp@ietf.org>; Tue, 16 Nov 2010 18:05:15 -0800 (PST)
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=e 8onPGMyeMM5FCirvucGOvPRgaFC2Yx+BMaf9S0s8tWIRMSxMDql9sOGkYLTDv0rv K8OtvTqjzNS9YrUXbxtDInMQ2MtIot9UiKAeW41w6xzfja4IeMr/E5i2hPCrOABI z96htdtjqM580TJQnuFK0b6pcsMaAKbQtyqA2YF2Qs=
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=3xXfGLS bWAFPgeIbEj4qY84y8HY=; b=I6K7H1suYMQlD4pyU45pmvxdyofD2ohj0UgZC2O rVONG5xewmbwRCjIzaYN5BmxjYXPBOY6r4Ux3PZw+t5pxNwxdTldIsZraXZW2wft n5cTQA3v6xy+lAMrffDsICThwytIeI6JFQww3Z8bfN+tz+f74LnYnymhlLPv4LjD lYr8=
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-a5.g.dreamhost.com (Postfix) with ESMTPSA id EABE870406E for <xmpp@ietf.org>; Tue, 16 Nov 2010 18:05:14 -0800 (PST)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Tue, 16 Nov 2010 18:05:17 -0800
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>
In-Reply-To: <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201011161805.18288.justin@affinix.com>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 02:04:43 -0000

On Tuesday 16 November 2010 17:31:42 Matthew Wild wrote:
> What /could/ be said, however, is that (sigh, I don't want to be you
> having to word this):
> 
> <!-- every xmlns declared explicitly for clarity -->
> <stanza xmlns="jabber:client">
>     <does-change xmlns="jabber:client">
>         <still-does-change xmlns="jabber:client"/>
>      </does-change>
>      <other-element xmlns="someothernamespace">
>          <does-not-change xmlns="jabber:client"/>
>       </other-element>
> </stanza>
> 
> becomes:
> 
> <stanza xmlns="jabber:server">
>     <does-change xmlns="jabber:server">
>         <still-does-change xmlns="jabber:server"/>
>      </does-change>
>      <other-element xmlns="someothernamespace">
>          <does-not-change xmlns="jabber:client"/>
>       </other-element>
> </stanza>
> 
> In other words, re-scoping for stanzas and all their descendants, but
> not re-scoping anything inside non-default-namespace elements.

I agree on Matthew's points about how XML parsers generally work and how 
tracking declarations is discouraged/hard/impossible.

The suggestion that all elements in the hierarchy flip between "jabber:client" 
and "jabber:server", unless they are protected by a parent element that isn't 
in those namespaces, regardless of how any of these namespaces are declared, 
manages to document current practice while staying very clean.

-Justin

From stpeter@stpeter.im  Tue Nov 16 18:56:51 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 90BC13A681A for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 18:56:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.479
X-Spam-Level: 
X-Spam-Status: No, score=-102.479 tagged_above=-999 required=5 tests=[AWL=0.120, 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 f-BqUNW9k9Vi for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 18:56:50 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 94A443A6808 for <xmpp@ietf.org>; Tue, 16 Nov 2010 18:56:50 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 3780940BB9 for <xmpp@ietf.org>; Tue, 16 Nov 2010 20:07:29 -0700 (MST)
Message-ID: <4CE34495.3010200@stpeter.im>
Date: Tue, 16 Nov 2010 19:57:25 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com>
In-Reply-To: <201011161805.18288.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="------------ms030907070701090908080700"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 02:56:51 -0000

This is a cryptographically signed message in MIME format.

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

On 11/16/10 7:05 PM, Justin Karneges wrote:
> On Tuesday 16 November 2010 17:31:42 Matthew Wild wrote:
>> What /could/ be said, however, is that (sigh, I don't want to be you
>> having to word this):
>>
>> <!-- every xmlns declared explicitly for clarity -->
>> <stanza xmlns=3D"jabber:client">
>>     <does-change xmlns=3D"jabber:client">
>>         <still-does-change xmlns=3D"jabber:client"/>
>>      </does-change>
>>      <other-element xmlns=3D"someothernamespace">
>>          <does-not-change xmlns=3D"jabber:client"/>
>>       </other-element>
>> </stanza>
>>
>> becomes:
>>
>> <stanza xmlns=3D"jabber:server">
>>     <does-change xmlns=3D"jabber:server">
>>         <still-does-change xmlns=3D"jabber:server"/>
>>      </does-change>
>>      <other-element xmlns=3D"someothernamespace">
>>          <does-not-change xmlns=3D"jabber:client"/>
>>       </other-element>
>> </stanza>
>>
>> In other words, re-scoping for stanzas and all their descendants, but
>> not re-scoping anything inside non-default-namespace elements.
>=20
> I agree on Matthew's points about how XML parsers generally work and ho=
w=20
> tracking declarations is discouraged/hard/impossible.
>=20
> The suggestion that all elements in the hierarchy flip between "jabber:=
client"=20
> and "jabber:server", unless they are protected by a parent element that=
 isn't=20
> in those namespaces, regardless of how any of these namespaces are decl=
ared,=20
> manages to document current practice while staying very clean.

Agreed.

An updated proposal:

###

      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 route 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 so that the stanza is qualified by the 'jabber:client'
      namespace before delivering it over a client-to-server stream.
      This rule applies to XML stanzas as defined under Section 4.1
      (i.e., a first-level <message/>, <presence/>, or <iq/> element
      qualified by the 'jabber:client' or 'jabber:server' namespace),
      along with any direct child elements of a stanza that are defined
      by the schemas for the 'jabber:client' and 'jabber:server'
      namespaces (e.g., <body/> or <status/>); however the rule does not
      apply to such elements located anywhere else within the data sent
      by a client or server (e.g., a <message/> element contained within
      an extension element for reporting purposes), or to elements
      qualified by other namespaces.

###



--------------ms030907070701090908080700
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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2wx40prR689/Wt5PcjNzZYFGk+wKQmIUL
pWeu+yVR1ba7Duq9AcTyVmEgaSio47o6Yn950zJB1uIYrq1jn22RdnU2RNRni6JrvkEp1SpN
MDWPTtQ3bPj6xVLOT59vBfBOTP0p3rUqt/9CSD3xSAKdaYyIBHXaReJJG05uRqAaOEcGAAAA
AAAA
--------------ms030907070701090908080700--

From stpeter@stpeter.im  Tue Nov 16 22:25:21 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 61BCF3A687F for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 22:25:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.484
X-Spam-Level: 
X-Spam-Status: No, score=-102.484 tagged_above=-999 required=5 tests=[AWL=0.115, 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 J3JRAjzt4qIP for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 22:25:19 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 634A33A67FA for <xmpp@ietf.org>; Tue, 16 Nov 2010 22:25:19 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DCC9C40BB9 for <xmpp@ietf.org>; Tue, 16 Nov 2010 23:35:58 -0700 (MST)
Message-ID: <4CE37579.3080901@stpeter.im>
Date: Tue, 16 Nov 2010 23:26:01 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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="------------ms040300040602000000080506"
Subject: [xmpp] setting a deadline
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, 17 Nov 2010 06:25:21 -0000

This is a cryptographically signed message in MIME format.

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

Folks, we could keep discussing fine points forever. I think the text I
proposed in my last message addresses the issue about stanza re-scoping
so I am going to consider that issue closed, and I think all the other
issues are closed, too. If I don't hear any screaming on this list in
the next 24 hours, I am going to submit updated versions of our three
main specs, at which point they can move ahead to IESG review. Let's be
done with this work, give ourselves a pat on the back, and get to work
on other fun topics like end-to-end encryption...

Peter

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




--------------ms040300040602000000080506
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
DVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGF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hMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAkYajYEGEzL5BZIOW2uqsff/bcdkd5vV73t3qdW2S5r2+VUNDMzQgBA93+
IJiSVlFdZrFK5D5hC98LUUdV0TMspFhmipydonZdeKUqWqoLSA8TlKO8CDlvxnyKOB6EULtr
LZlRwhTJnSaLvUjnwbCMM+AA3pMWVSBTAV5/mEIf1WtBBgBJbLBjDVi6aDY3u/lcqA+5nMNa
0si+hTD2gs53Bnj+9Lxixr/PsHUXlqtDPnHOzmpMeNZiDu9a9B+CsDIjnUyOW2ax9GCvahpR
0Dg7jp3c9lyFTRUcf0fLUx50XnI8BPZIkcfFRDoe986zS8d6DTzat62X4jf9KBRkR9ksAAAA
AAAA
--------------ms040300040602000000080506--

From jehan.marmottard@gmail.com  Tue Nov 16 23:03:52 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 788C43A6860 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 23:03:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level: 
X-Spam-Status: No, score=-2.107 tagged_above=-999 required=5 tests=[AWL=0.193,  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 lQ3Pc3sKZK6P for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 23:03:51 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 45C303A680C for <xmpp@ietf.org>; Tue, 16 Nov 2010 23:03:51 -0800 (PST)
Received: by wyb29 with SMTP id 29so1594408wyb.31 for <xmpp@ietf.org>; Tue, 16 Nov 2010 23:04:35 -0800 (PST)
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; bh=fHw2Zv+6tPcvppR9Xl2DUJPULrF9uTwYyiTqPStGg6Q=; b=TRQnqpSXKeWSNS/+N1XubpkC6XQf3iFVqU/mcbWMnZ/tYjqgs/rMnJgulw08h8HHSH cO6hW90X3fM6cOgA5qY6OqAfKrrwbwmZr/0BxOYxemsNv8SnOf079STEfzV/2piYcmmL 8tuKaYnAoK1RCSGlgWLCvEEiZ8A9MH55f1cyE=
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; b=QMgQrsOYl9cYD8MeoEOuyytrbuPznWGSYqc327BmVlRKHmp0kAGx02h1XWwp0D9DPD iUyQ03MGzPqafcw2MB5gwOWPFtCDb3quMQ+oJXxgUqlKT0cUgQa9opquL51iPVhRqoHS 0Vo2IgJx56ihX9zB2XsI4Du+zvwDYBbnReHXg=
MIME-Version: 1.0
Received: by 10.216.64.17 with SMTP id b17mr7041748wed.114.1289977474963; Tue, 16 Nov 2010 23:04:34 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Tue, 16 Nov 2010 23:04:34 -0800 (PST)
In-Reply-To: <4CE37579.3080901@stpeter.im>
References: <4CE37579.3080901@stpeter.im>
Date: Wed, 17 Nov 2010 16:04:34 +0900
Message-ID: <AANLkTikNfJjNKB8wWG+-wL=mdrEwS3g0Riqi0Gqu0OcZ@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
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] setting a deadline
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, 17 Nov 2010 07:03:52 -0000

Hi,

On Wed, Nov 17, 2010 at 3:26 PM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> Folks, we could keep discussing fine points forever. I think the text I
> proposed in my last message addresses the issue about stanza re-scoping
> so I am going to consider that issue closed, and I think all the other
> issues are closed, too. If I don't hear any screaming on this list in

AAAAAAAAH.
Just kidding. :-D Anyway very clever from you: it will be hard to
"hear" screaming on a "mailing" list. Good way to avoid any complaint
and just finish with it. ;-)

> the next 24 hours, I am going to submit updated versions of our three
> main specs, at which point they can move ahead to IESG review. Let's be
> done with this work, give ourselves a pat on the back, and get to work
> on other fun topics like end-to-end encryption...
>

More seriously, I think that's good for me. Let's go to the next step!

> Peter
>

Jehan

From justin@affinix.com  Tue Nov 16 23:41:13 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 4F2E43A68B7 for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 23:41:13 -0800 (PST)
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 rdIUlMASlsIw for <xmpp@core3.amsl.com>; Tue, 16 Nov 2010 23:41:12 -0800 (PST)
Received: from homiemail-a38.g.dreamhost.com (caiajhbdcaid.dreamhost.com [208.97.132.83]) by core3.amsl.com (Postfix) with ESMTP id 2D4AA3A680C for <xmpp@ietf.org>; Tue, 16 Nov 2010 23:41:12 -0800 (PST)
Received: from homiemail-a38.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id 3C41210AFAA for <xmpp@ietf.org>; Tue, 16 Nov 2010 23:41:57 -0800 (PST)
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=S /583DgffWAMfsOdsUROVaqJW+L4kbp1l92wdc3OtqL1AKJl1wZkd5k/98vfTSfqa nOW03thnrn9WNUuvyTL0yXtsfjt7TxHnY842rkSQjtzCGIhMu5LUTOe8j21c3rq5 /zUwCMxxSKr/uvYHwMZsMJpAUX+kYpBCLc0Fy70MTg=
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=Sr028hv 29SSq3hgBELZS9UDX9qU=; b=kRtRKjLN1pfzj6g2ugjz12aIgFx26dtion4AvwJ VRt4/cbvl63yLAam/0J9orgK/oa7xdMs+iFP5fkOkRzIfo4Gg1ABrOKFn7i2IQng mDFVV7lRyFMcfBuCAwEuJK9adq4z3Ed5jZpHseoziZnoBDgRrtt0L/4izayelNtX Y2CU=
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-a38.g.dreamhost.com (Postfix) with ESMTPSA id 2914410AFA5 for <xmpp@ietf.org>; Tue, 16 Nov 2010 23:41:57 -0800 (PST)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Tue, 16 Nov 2010 23:41:55 -0800
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im>
In-Reply-To: <4CE34495.3010200@stpeter.im>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201011162341.55563.justin@affinix.com>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 07:41:13 -0000

On Tuesday 16 November 2010 18:57:25 Peter Saint-Andre wrote:
> On 11/16/10 7:05 PM, Justin Karneges wrote:
> > The suggestion that all elements in the hierarchy flip between
> > "jabber:client" and "jabber:server", unless they are protected by a
> > parent element that isn't in those namespaces, regardless of how any of
> > these namespaces are declared, manages to document current practice
> > while staying very clean.
> 
> Agreed.
> 
> An updated proposal:
> 
> ###
> 
>       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 route 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 so that the stanza is qualified by the 'jabber:client'
>       namespace before delivering it over a client-to-server stream.
>       This rule applies to XML stanzas as defined under Section 4.1
>       (i.e., a first-level <message/>, <presence/>, or <iq/> element
>       qualified by the 'jabber:client' or 'jabber:server' namespace),
>       along with any direct child elements of a stanza that are defined
>       by the schemas for the 'jabber:client' and 'jabber:server'
>       namespaces (e.g., <body/> or <status/>); however the rule does not
>       apply to such elements located anywhere else within the data sent
>       by a client or server (e.g., a <message/> element contained within
>       an extension element for reporting purposes), or to elements
>       qualified by other namespaces.
> 
> ###

Hmm, sorry to nitpick here but I think instead of only rescoping direct 
children it ought to be all children except when shielded by an element 
qualified by a non-default namespace, which is how Matthew originally described 
it.

How about changing:

"along with any direct child elements of a stanza that are defined by the 
schemas for the 'jabber:client' and 'jabber:server' namespaces (e.g., <body/> 
or <status/>); however the rule does not apply to such elements located 
anywhere else within the data sent by a client or server (e.g., a <message/> 
element contained within an extension element for reporting purposes), or to 
elements qualified by other namespaces"

to:

"along with all child elements of a stanza; however the rule does not apply to 
elements qualified by namespaces other than 'jabber:client' and 'jabber:server' 
nor to all children of such elements (e.g., a <message/> element contained 
within an extension element for reporting purposes)."

-Justin

From florob@babelmonkeys.de  Wed Nov 17 02:46:22 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 2783F3A68E7 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 02:46:22 -0800 (PST)
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 qqQQ-aeL6pMh for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 02:46:21 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 30B4F3A68D1 for <xmpp@ietf.org>; Wed, 17 Nov 2010 02:46:20 -0800 (PST)
Received: from xdsl-87-79-138-251.netcologne.de ([87.79.138.251] helo=[192.168.234.167]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PIfXd-0007Qs-9P for xmpp@ietf.org; Wed, 17 Nov 2010 11:47:05 +0100
Message-ID: <4CE3B304.3050605@babelmonkeys.de>
Date: Wed, 17 Nov 2010 11:48:36 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im>
In-Reply-To: <4CE34495.3010200@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 10:46:22 -0000

On 17.11.2010 03:57, Peter Saint-Andre wrote:
> An updated proposal:
> 
> ###
> 
>       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 route 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 so that the stanza is qualified by the 'jabber:client'
>       namespace before delivering it over a client-to-server stream.
>       This rule applies to XML stanzas as defined under Section 4.1
>       (i.e., a first-level <message/>, <presence/>, or <iq/> element
>       qualified by the 'jabber:client' or 'jabber:server' namespace),
>       along with any direct child elements of a stanza that are defined
>       by the schemas for the 'jabber:client' and 'jabber:server'
>       namespaces (e.g., <body/> or <status/>); however the rule does not
>       apply to such elements located anywhere else within the data sent
>       by a client or server (e.g., a <message/> element contained within
>       an extension element for reporting purposes), or to elements
>       qualified by other namespaces.
> 
> ###
> 
> 
> 
With that text we still have (if I'm not overlooking something)

<!-- C2S -->
<stanza xmlns="jabber:client">
	<first-level-child xmlns="jabber:server"/>
</stanza>

<!-- S2S -->
<stanza xmlns="jabber:server">
	<first-level-child xmlns="jabber:server"/>
</stanza>

<!-- C2S -->
<stanza xmlns="jabber:client">
	<first-level-child xmlns="jabber:client"/>
</stanza>

i.e. the sent stanza differs from the received stanza.

I'm not sure we should actually care about this edge case, but AFAICT
that is one of the cases the thread starter complained about and it
doesn't look solved to me...

From k.i.smith@gmail.com  Wed Nov 17 02:49:13 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 BF1763A68EA for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 02:49:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.677
X-Spam-Level: 
X-Spam-Status: No, score=-1.677 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 r3SZrVcZBJfk for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 02:49:13 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id DEBD83A68E7 for <xmpp@ietf.org>; Wed, 17 Nov 2010 02:49:12 -0800 (PST)
Received: by qyk8 with SMTP id 8so602246qyk.10 for <xmpp@ietf.org>; Wed, 17 Nov 2010 02:49:58 -0800 (PST)
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=8sCgEpD+VHiRZkZ/UMzlVJen9FmCIl4ix0qDErlcXiM=; b=Xuq9RsopTQaa/HAX4L1cJJVmExzxrbCCDPliK0StSEFMNp15vxi+wbzQ4SMmPX6Qnd 7vN7CjWRe0LjCcusftBlr/zsEHng+aNfD8z7AoPmhPoMyyR0wk6c9Q/xWb2pm6wS20Pg iNzqYHhlhbdNRtZ2r07tkPVpBS5wtjBaVAdPs=
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=JIChyiUn4z3fBcr8c+hdplwzc+ALIlwdWpb92Ca3D8dXOOuyDJTyWlkvjmlmEUr0rz 2zVlJGjbEXxtuEj7tAFhq5ySSFhw2c//xW8Xjbq7O6BRpHwUu/knl9LCtZWOvWopJXyY XYkVFwzlmJOX/+Y9I/Ck0169ygzW1GC+y1Jk4=
MIME-Version: 1.0
Received: by 10.229.222.65 with SMTP id if1mr7500915qcb.159.1289990998077; Wed, 17 Nov 2010 02:49:58 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Wed, 17 Nov 2010 02:49:57 -0800 (PST)
In-Reply-To: <4CE3B304.3050605@babelmonkeys.de>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de>
Date: Wed, 17 Nov 2010 10:49:57 +0000
X-Google-Sender-Auth: ZJampJcN6Y991bZe8dQuLLhXikM
Message-ID: <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Florian Zeitz <florob@babelmonkeys.de>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 10:49:13 -0000

On Wed, Nov 17, 2010 at 10:48 AM, Florian Zeitz <florob@babelmonkeys.de> wr=
ote:
> On 17.11.2010 03:57, Peter Saint-Andre wrote:
>> An updated proposal:
>>
>> ###
>>
>> =A0 =A0 =A0 Implementation Note: Because a client sends stanzas over a s=
tream
>> =A0 =A0 =A0 whose content namespace is 'jabber:client', if the server to=
 which
>> =A0 =A0 =A0 the client is connected needs to route a client-generated st=
anza
>> =A0 =A0 =A0 to another server then it MUST "re-scope" the stanza so that=
 its
>> =A0 =A0 =A0 content namespace is 'jabber:server' (i.e., it MUST NOT rout=
e a
>> =A0 =A0 =A0 stanza qualified by the 'jabber:client' namespace over a str=
eam
>> =A0 =A0 =A0 whose content namespace is 'jabber:server'). =A0Similarly, a=
 routing
>> =A0 =A0 =A0 server MUST "re-scope" a stanza received over a server-to-se=
rver
>> =A0 =A0 =A0 stream so that the stanza is qualified by the 'jabber:client=
'
>> =A0 =A0 =A0 namespace before delivering it over a client-to-server strea=
m.
>> =A0 =A0 =A0 This rule applies to XML stanzas as defined under Section 4.=
1
>> =A0 =A0 =A0 (i.e., a first-level <message/>, <presence/>, or <iq/> eleme=
nt
>> =A0 =A0 =A0 qualified by the 'jabber:client' or 'jabber:server' namespac=
e),
>> =A0 =A0 =A0 along with any direct child elements of a stanza that are de=
fined
>> =A0 =A0 =A0 by the schemas for the 'jabber:client' and 'jabber:server'
>> =A0 =A0 =A0 namespaces (e.g., <body/> or <status/>); however the rule do=
es not
>> =A0 =A0 =A0 apply to such elements located anywhere else within the data=
 sent
>> =A0 =A0 =A0 by a client or server (e.g., a <message/> element contained =
within
>> =A0 =A0 =A0 an extension element for reporting purposes), or to elements
>> =A0 =A0 =A0 qualified by other namespaces.
>>
>> ###
>>
>>
>>
> With that text we still have (if I'm not overlooking something)
>
> <!-- C2S -->
> <stanza xmlns=3D"jabber:client">
> =A0 =A0 =A0 =A0<first-level-child xmlns=3D"jabber:server"/>
> </stanza>
>
> <!-- S2S -->
> <stanza xmlns=3D"jabber:server">
> =A0 =A0 =A0 =A0<first-level-child xmlns=3D"jabber:server"/>
> </stanza>
>
> <!-- C2S -->
> <stanza xmlns=3D"jabber:client">
> =A0 =A0 =A0 =A0<first-level-child xmlns=3D"jabber:client"/>
> </stanza>
>
> i.e. the sent stanza differs from the received stanza.
>
> I'm not sure we should actually care about this edge case, but AFAICT
> that is one of the cases the thread starter complained about and it
> doesn't look solved to me...

Easily solved with the following text:
"Clients MUST NOT send any data that are in the jabber:server namespace"

/K

From stpeter@stpeter.im  Wed Nov 17 06:15: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 375AF3A6921 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:15:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.489
X-Spam-Level: 
X-Spam-Status: No, score=-102.489 tagged_above=-999 required=5 tests=[AWL=0.110, 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 nl7qOPofqejN for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:15:47 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 6D6AB28C0EC for <xmpp@ietf.org>; Wed, 17 Nov 2010 06:15:46 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A52EC40BB9 for <xmpp@ietf.org>; Wed, 17 Nov 2010 07:26:28 -0700 (MST)
Message-ID: <4CE3E3BE.8090407@stpeter.im>
Date: Wed, 17 Nov 2010 07:16:30 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im> <201011162341.55563.justin@affinix.com>
In-Reply-To: <201011162341.55563.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="------------ms050301070805020108000707"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 14:15:48 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 12:41 AM, Justin Karneges wrote:
> On Tuesday 16 November 2010 18:57:25 Peter Saint-Andre wrote:
>> On 11/16/10 7:05 PM, Justin Karneges wrote:
>>> The suggestion that all elements in the hierarchy flip between
>>> "jabber:client" and "jabber:server", unless they are protected by a
>>> parent element that isn't in those namespaces, regardless of how any =
of
>>> these namespaces are declared, manages to document current practice
>>> while staying very clean.
>>
>> Agreed.
>>
>> An updated proposal:
>>
>> ###
>>
>>       Implementation Note: Because a client sends stanzas over a strea=
m
>>       whose content namespace is 'jabber:client', if the server to whi=
ch
>>       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 route a
>>       stanza qualified by the 'jabber:client' namespace over a stream
>>       whose content namespace is 'jabber:server').  Similarly, a routi=
ng
>>       server MUST "re-scope" a stanza received over a server-to-server=

>>       stream so that the stanza is qualified by the 'jabber:client'
>>       namespace before delivering it over a client-to-server stream.
>>       This rule applies to XML stanzas as defined under Section 4.1
>>       (i.e., a first-level <message/>, <presence/>, or <iq/> element
>>       qualified by the 'jabber:client' or 'jabber:server' namespace),
>>       along with any direct child elements of a stanza that are define=
d
>>       by the schemas for the 'jabber:client' and 'jabber:server'
>>       namespaces (e.g., <body/> or <status/>); however the rule does n=
ot
>>       apply to such elements located anywhere else within the data sen=
t
>>       by a client or server (e.g., a <message/> element contained with=
in
>>       an extension element for reporting purposes), or to elements
>>       qualified by other namespaces.
>>
>> ###
>=20
> Hmm, sorry to nitpick here but I think instead of only rescoping direct=
=20
> children it ought to be all children except when shielded by an element=
=20
> qualified by a non-default namespace, which is how Matthew originally d=
escribed=20
> it.

The schemas for 'jabber:client' and 'jabber:server' contain only child
elements (subject, body, and thread for the message stanza, show,
status, and priority for the presence stanza), so in practice I don't
think it makes a difference.

> How about changing:
>=20
> "along with any direct child elements of a stanza that are defined by t=
he=20
> schemas for the 'jabber:client' and 'jabber:server' namespaces (e.g., <=
body/>=20
> or <status/>); however the rule does not apply to such elements located=
=20
> anywhere else within the data sent by a client or server (e.g., a <mess=
age/>=20
> element contained within an extension element for reporting purposes), =
or to=20
> elements qualified by other namespaces"
>=20
> to:
>=20
> "along with all child elements of a stanza; however the rule does not a=
pply to=20
> elements qualified by namespaces other than 'jabber:client' and 'jabber=
:server'=20
> nor to all children of such elements (e.g., a <message/> element contai=
ned=20
> within an extension element for reporting purposes)."

Yes, that is better.

Peter

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




--------------ms050301070805020108000707
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/BAQDAgEGM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zANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCikYq9ddTfSvatxDEJkPupYsOc5cgXfXR2r9xs5sr+1+11kwO7Nkvv8fB2
UzpP6Vl22nsbhxVlybC7zu1CL41jx+4AbtRWgQGFrPS+Nwh/F+KCo5/mv52VUxjxncvVP0lW
nXpdjdoC7IEGCaSKdZCYEzJuVqrPdckFOr9chNih38eHUiAwW8sWx4qqC0mKK5hieXFDUuz3
ZQA7ET6WEXDomiDJLK4rPieXAYxHqaasptzQcdmGcGnDblnK5Do7zzymApSi4kBkFsOYDq86
CimRQhGnp9p0GuB8wbn6XvUZjWTms9NTEYuoISwVsYlBrwwBVcKy2AXFdYa3rMXPc5uvAAAA
AAAA
--------------ms050301070805020108000707--

From stpeter@stpeter.im  Wed Nov 17 06:19: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 EABA83A691A for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:19:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.193
X-Spam-Level: 
X-Spam-Status: No, score=-102.193 tagged_above=-999 required=5 tests=[AWL=-0.194, 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 6OrF2mT3qiA4 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:19:20 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id F304D3A6922 for <xmpp@ietf.org>; Wed, 17 Nov 2010 06:19:19 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 60F4F40BB9 for <xmpp@ietf.org>; Wed, 17 Nov 2010 07:30:02 -0700 (MST)
Message-ID: <4CE3E494.9000202@stpeter.im>
Date: Wed, 17 Nov 2010 07:20:04 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>
In-Reply-To: <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@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="------------ms060605050203090103020801"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 14:19:21 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 3:49 AM, Kevin Smith wrote:
> On Wed, Nov 17, 2010 at 10:48 AM, Florian Zeitz <florob@babelmonkeys.de=
> wrote:
>> On 17.11.2010 03:57, Peter Saint-Andre wrote:
>>> An updated proposal:
>>>
>>> ###
>>>
>>>       Implementation Note: Because a client sends stanzas over a stre=
am
>>>       whose content namespace is 'jabber:client', if the server to wh=
ich
>>>       the client is connected needs to route a client-generated stanz=
a
>>>       to another server then it MUST "re-scope" the stanza so that it=
s
>>>       content namespace is 'jabber:server' (i.e., it MUST NOT route a=

>>>       stanza qualified by the 'jabber:client' namespace over a stream=

>>>       whose content namespace is 'jabber:server').  Similarly, a rout=
ing
>>>       server MUST "re-scope" a stanza received over a server-to-serve=
r
>>>       stream so that the stanza is qualified by the 'jabber:client'
>>>       namespace before delivering it over a client-to-server stream.
>>>       This rule applies to XML stanzas as defined under Section 4.1
>>>       (i.e., a first-level <message/>, <presence/>, or <iq/> element
>>>       qualified by the 'jabber:client' or 'jabber:server' namespace),=

>>>       along with any direct child elements of a stanza that are defin=
ed
>>>       by the schemas for the 'jabber:client' and 'jabber:server'
>>>       namespaces (e.g., <body/> or <status/>); however the rule does =
not
>>>       apply to such elements located anywhere else within the data se=
nt
>>>       by a client or server (e.g., a <message/> element contained wit=
hin
>>>       an extension element for reporting purposes), or to elements
>>>       qualified by other namespaces.
>>>
>>> ###
>>>
>>>
>>>
>> With that text we still have (if I'm not overlooking something)
>>
>> <!-- C2S -->
>> <stanza xmlns=3D"jabber:client">
>>        <first-level-child xmlns=3D"jabber:server"/>
>> </stanza>
>>
>> <!-- S2S -->
>> <stanza xmlns=3D"jabber:server">
>>        <first-level-child xmlns=3D"jabber:server"/>
>> </stanza>
>>
>> <!-- C2S -->
>> <stanza xmlns=3D"jabber:client">
>>        <first-level-child xmlns=3D"jabber:client"/>
>> </stanza>
>>
>> i.e. the sent stanza differs from the received stanza.
>>
>> I'm not sure we should actually care about this edge case, but AFAICT
>> that is one of the cases the thread starter complained about and it
>> doesn't look solved to me...
>=20
> Easily solved with the following text:
> "Clients MUST NOT send any data that are in the jabber:server namespace=
"

+1 to that. I've modified the following paragraph:

   Client implementations MUST support the 'jabber:client' content
   namespace as a default namespace.  The 'jabber:server' content
   namespace is out of scope for an XMPP client, and a client MUST NOT
   send any data qualified by the 'jabber:server' namespace.

/psa




--------------ms060605050203090103020801
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
MTAyNDIxMDMzM1o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BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAZrPrCos3fonp8CifCD2nvgrHrNVLA3PwgwVf4O+rWJNexmq8OvRbi9nVY
dDvSSdC6RlUoaQJ/kb3Jxzmsn97CA7cj1HVRv77DT25LVmcCXrISDcEyLj+Zti1UhvCCQQny
6huwaUxCJeLUsOrpMnV+Nd1cHks1+XVJ01LOYV2MUXi5udigaUwUdIWtq3I19t4yM2eA0OSj
aIYigefjNi5l9h1lL41EQ5Exci5HHrTDzXL02PcVOVYpn/Q4N24b2bsuSRVlyiiHFERBiwqZ
WamPB9fvMvNMh3tQFfi/jSj+cCFvIWp0Bmc2Jwo6mBn49fvl68lIywxH/jE26c2sdK7dAAAA
AAAA
--------------ms060605050203090103020801--

From mwild1@gmail.com  Wed Nov 17 06:31:23 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 D9D7D3A6905 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:31:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.213
X-Spam-Level: 
X-Spam-Status: No, score=-2.213 tagged_above=-999 required=5 tests=[AWL=-0.214, BAYES_00=-2.599, 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 pOYvO6L4X1jf for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:31:23 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id E16933A68F6 for <xmpp@ietf.org>; Wed, 17 Nov 2010 06:31:22 -0800 (PST)
Received: by qwh5 with SMTP id 5so622719qwh.31 for <xmpp@ietf.org>; Wed, 17 Nov 2010 06:32:08 -0800 (PST)
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=UywGPlRDUIXqacRReKlOQ8MhXHzN3r3dbZ4z5MUxF+c=; b=lVjngSSuqFZGzPrknc4/1mWOKYEJYPMr1XULGFcCoB4ZC/gcnFjk4RLvR57UC0F8bs d89WIojVRRo6jZb+EaJhYl6AXaCmyp3mRiM2xLLKvZhcAj/lrENBbEuOz3Dv5zjDxfyf rjuX0mt5RBXAa9LGSnNiGuHaQRQJO9GkS2iuQ=
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=RJnwg8Z5xRM3HrNhdc0bkNVKhJ2FSBvsascpjL+9IqjTwQX5tPO6CGhAWwXSheyVsp Zwdx+cTe/dS2X2CQIUAstZqvj+6WieIl95cpI6Wll50cmTcNc7DFfp9UrAlfKmNw8Lsa nkW+mtCmFyhs09L+EeclyS0ZbgZcq7T4r7yxo=
Received: by 10.229.229.83 with SMTP id jh19mr7510008qcb.130.1290004328355; Wed, 17 Nov 2010 06:32:08 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Wed, 17 Nov 2010 06:31:48 -0800 (PST)
In-Reply-To: <4CE3E494.9000202@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 17 Nov 2010 14:31:48 +0000
Message-ID: <AANLkTinkVXY-n3BRECOHA2XOOMYD+u5=KRyEh14Tr0PD@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 14:31:24 -0000

On 17 November 2010 14:20, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> On 11/17/10 3:49 AM, Kevin Smith wrote:
>> On Wed, Nov 17, 2010 at 10:48 AM, Florian Zeitz <florob@babelmonkeys.de>=
 wrote:
>>> On 17.11.2010 03:57, Peter Saint-Andre wrote:
>>>> An updated proposal:
>>>>
>>>> ###
>>>>
>>>> =C2=A0 =C2=A0 =C2=A0 Implementation Note: Because a client sends stanz=
as over a stream
>>>> =C2=A0 =C2=A0 =C2=A0 whose content namespace is 'jabber:client', if th=
e server to which
>>>> =C2=A0 =C2=A0 =C2=A0 the client is connected needs to route a client-g=
enerated stanza
>>>> =C2=A0 =C2=A0 =C2=A0 to another server then it MUST "re-scope" the sta=
nza so that its
>>>> =C2=A0 =C2=A0 =C2=A0 content namespace is 'jabber:server' (i.e., it MU=
ST NOT route a
>>>> =C2=A0 =C2=A0 =C2=A0 stanza qualified by the 'jabber:client' namespace=
 over a stream
>>>> =C2=A0 =C2=A0 =C2=A0 whose content namespace is 'jabber:server'). =C2=
=A0Similarly, a routing
>>>> =C2=A0 =C2=A0 =C2=A0 server MUST "re-scope" a stanza received over a s=
erver-to-server
>>>> =C2=A0 =C2=A0 =C2=A0 stream so that the stanza is qualified by the 'ja=
bber:client'
>>>> =C2=A0 =C2=A0 =C2=A0 namespace before delivering it over a client-to-s=
erver stream.
>>>> =C2=A0 =C2=A0 =C2=A0 This rule applies to XML stanzas as defined under=
 Section 4.1
>>>> =C2=A0 =C2=A0 =C2=A0 (i.e., a first-level <message/>, <presence/>, or =
<iq/> element
>>>> =C2=A0 =C2=A0 =C2=A0 qualified by the 'jabber:client' or 'jabber:serve=
r' namespace),
>>>> =C2=A0 =C2=A0 =C2=A0 along with any direct child elements of a stanza =
that are defined
>>>> =C2=A0 =C2=A0 =C2=A0 by the schemas for the 'jabber:client' and 'jabbe=
r:server'
>>>> =C2=A0 =C2=A0 =C2=A0 namespaces (e.g., <body/> or <status/>); however =
the rule does not
>>>> =C2=A0 =C2=A0 =C2=A0 apply to such elements located anywhere else with=
in the data sent
>>>> =C2=A0 =C2=A0 =C2=A0 by a client or server (e.g., a <message/> element=
 contained within
>>>> =C2=A0 =C2=A0 =C2=A0 an extension element for reporting purposes), or =
to elements
>>>> =C2=A0 =C2=A0 =C2=A0 qualified by other namespaces.
>>>>
>>>> ###
>>>>
>>>>
>>>>
>>> With that text we still have (if I'm not overlooking something)
>>>
>>> <!-- C2S -->
>>> <stanza xmlns=3D"jabber:client">
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0<first-level-child xmlns=3D"jabber:server"/>
>>> </stanza>
>>>
>>> <!-- S2S -->
>>> <stanza xmlns=3D"jabber:server">
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0<first-level-child xmlns=3D"jabber:server"/>
>>> </stanza>
>>>
>>> <!-- C2S -->
>>> <stanza xmlns=3D"jabber:client">
>>> =C2=A0 =C2=A0 =C2=A0 =C2=A0<first-level-child xmlns=3D"jabber:client"/>
>>> </stanza>
>>>
>>> i.e. the sent stanza differs from the received stanza.
>>>
>>> I'm not sure we should actually care about this edge case, but AFAICT
>>> that is one of the cases the thread starter complained about and it
>>> doesn't look solved to me...
>>
>> Easily solved with the following text:
>> "Clients MUST NOT send any data that are in the jabber:server namespace"
>
> +1 to that. I've modified the following paragraph:
>
> =C2=A0 Client implementations MUST support the 'jabber:client' content
> =C2=A0 namespace as a default namespace. =C2=A0The 'jabber:server' conten=
t
> =C2=A0 namespace is out of scope for an XMPP client, and a client MUST NO=
T
> =C2=A0 send any data qualified by the 'jabber:server' namespace.
>

A big +1 from me to all the latest text.

Thanks for bearing with us! :)
Matthew

From mridulm80@yahoo.com  Wed Nov 17 06:40:22 2010
Return-Path: <mridulm80@yahoo.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 D3D573A6903 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:40:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.049
X-Spam-Level: 
X-Spam-Status: No, score=-2.049 tagged_above=-999 required=5 tests=[AWL=-0.050, BAYES_00=-2.599, 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 bU6pihrO+LXA for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:40:21 -0800 (PST)
Received: from nm1-vm1.bullet.mail.in.yahoo.com (nm1-vm1.bullet.mail.in.yahoo.com [121.101.151.242]) by core3.amsl.com (Postfix) with SMTP id 08D663A6905 for <xmpp@ietf.org>; Wed, 17 Nov 2010 06:40:20 -0800 (PST)
Received: from [121.101.151.236] by nm1.bullet.mail.in.yahoo.com with NNFMP; 17 Nov 2010 14:41:23 -0000
Received: from [121.101.151.234] by tm1.bullet.mail.in.yahoo.com with NNFMP; 17 Nov 2010 14:41:05 -0000
Received: from [127.0.0.1] by omp1003.mail.in.yahoo.com with NNFMP; 17 Nov 2010 14:41:00 -0000
X-Yahoo-Newman-Property: ymail-5
X-Yahoo-Newman-Id: 404403.53702.bm@omp1003.mail.in.yahoo.com
Received: (qmail 30882 invoked by uid 60001); 17 Nov 2010 14:41:00 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1290004860; bh=ohFRT5jUh30ccmKwEU6upaxI+qJinM8NIUu70WhzWwk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=d73ohct3IBCpp3N3KGC0rL/eGLIXcb8PBayncEUlVguOJOUijyTuahDaRFw5SpTPfziKC/oDkV+DY/1vbNU1dnxvQW9f27U2a9uqK9LP6sp0HVBjSG7QFB14dCj6CkOMS/YDfXsrvLaCMQP7z01Uhapm7rWEmJRYyfjnXi/MZ7Y=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s0BAqu5+QFT51Z1b1IRsIS0nv7nBDqbPgEacax6514hicqNQ3yySYx5ciFjJqvVxdzZqJDdCljmt138rI6Mb2km2nK0Q1yAZ+jmwXZW+UUbgJfaTa0mT4lW1Yy3/PyXhWiRRocYsHwobaRTk1UL6iCMbxU38hzyYnoCP/dtK/FQ=;
Message-ID: <707068.29474.qm@web95403.mail.in2.yahoo.com>
X-YMail-OSG: b8Avr3UVM1ljFRJAsCgPNleXw0hF1BnkW29S89VPjHtHXYO bkwvESAQp8qICBhnO_KUyCgsT983zRUdMMmsC2ila2ekfiAbFmRI6lId1Tk3 WHgQhtxuXa_MUeLASNa2w5ix4jj053g6cMYYvitw0Aro8WItLg2ozfrgXBgE jTJGbCHAS2_UJHsXqAkhP7L3eBK0S9Qd7bK77Typt0eajx0HyjVln98iSoP6 AxFFM8CkGMhQt99.Xa1Vx8MkeyvTkI0l1YwnmjvWyZmJAhO2yo.t2kEjhgkF 6epsb2I8Pd16xnkmapQuuF4KJnzg8OA--
Received: from [122.167.95.73] by web95403.mail.in2.yahoo.com via HTTP; Wed, 17 Nov 2010 20:11:00 IST
X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.285259
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im>
Date: Wed, 17 Nov 2010 20:11:00 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, xmpp@ietf.org
In-Reply-To: <4CE3E494.9000202@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 14:40:22 -0000

=0A=0ASo to summarize, if I am not wrong, the final set of recommendations =
seem to be =0A:=0A=0A=0A1) clients/servers should not extend the jabber:cli=
ent and jabber:server =0Anamespace if they can help it.=0AThis should be in=
teresting from forward & migration compatibility point of view =0A:-)=0A=0A=
2) clients MUST NOT use jabber:server namespace at all.=0AThis might be pro=
blematic - resulting in hacks like sending snippets of xml =0Aencoded as te=
xt, etc ... not very 'xml-ly'.=0A=0A3) servers MUST only change xmlns of st=
anza root element from jabber:client to =0Ajabber:server (and vice-versa on=
 reception) - by inheritance, if namespace =0Achanges, fine : else it remai=
ns same.=0A=0A4) Clients and servers MUST NOT use namespace prefix for the =
content namespace.=0AThis is pretty restrictive on client libraries and imp=
lementations : thankfully, =0Amost are already conforming to this (by conve=
ntion ?).=0A=0A=0A=0AHopefully I am not missing anything.=0AThis should, un=
less I am overlooking something, address the cornercases I =0Aobserved.=0A=
=0A=0A=0AThanks !=0AMridul=0A=0A=0A=0A=0A----- Original Message ----=0A> Fr=
om: Peter Saint-Andre <stpeter@stpeter.im>=0A> To: xmpp@ietf.org=0A> Sent: =
Wed, 17 November, 2010 7:50:04 PM=0A> Subject: Re: [xmpp] "re-scope" of xmp=
p stanza's=0A> =0A> On 11/17/10 3:49 AM, Kevin Smith wrote:=0A> > On Wed, N=
ov 17, 2010 at 10:48  AM, Florian Zeitz <florob@babelmonkeys.de>  =0A>wrote=
:=0A> >> On 17.11.2010 03:57, Peter Saint-Andre wrote:=0A> >>>  An updated =
proposal:=0A> >>>=0A> >>>  ###=0A> >>>=0A> >>>       Implementation Note:  =
Because a client sends stanzas over a stream=0A> >>>        whose content n=
amespace is 'jabber:client', if the server to  which=0A> >>>       the clie=
nt is connected needs to  route a client-generated stanza=0A> >>>       to =
another  server then it MUST "re-scope" the stanza so that its=0A> >>>     =
   content namespace is 'jabber:server' (i.e., it MUST NOT route  a=0A> >>>=
       stanza qualified by the 'jabber:client'  namespace over a stream=0A>=
 >>>       whose content  namespace is 'jabber:server').  Similarly, a rout=
ing=0A> >>>        server MUST "re-scope" a stanza received over a  server-=
to-server=0A> >>>       stream so that the stanza  is qualified by the 'jab=
ber:client'=0A> >>>        namespace before delivering it over a client-to-=
server  stream.=0A> >>>       This rule applies to XML stanzas as  defined =
under Section 4.1=0A> >>>       (i.e., a  first-level <message/>, <presence=
/>, or <iq/>  element=0A> >>>       qualified by the 'jabber:client' or  'j=
abber:server' namespace),=0A> >>>       along with any  direct child elemen=
ts of a stanza that are defined=0A> >>>        by the schemas for the 'jabb=
er:client' and  'jabber:server'=0A> >>>       namespaces (e.g.,  <body/> or=
 <status/>); however the rule does  not=0A> >>>       apply to such element=
s located anywhere  else within the data sent=0A> >>>       by a client or =
 server (e.g., a <message/> element contained within=0A> >>>        an exte=
nsion element for reporting purposes), or to  elements=0A> >>>       qualif=
ied by other  namespaces.=0A> >>>=0A> >>>  ###=0A> >>>=0A> >>>=0A> >>>=0A> =
>> With that text  we still have (if I'm not overlooking something)=0A> >>=
=0A> >> <!--  C2S -->=0A> >> <stanza xmlns=3D"jabber:client">=0A> >>       =
  <first-level-child  xmlns=3D"jabber:server"/>=0A> >> </stanza>=0A> >>=0A>=
 >>  <!-- S2S -->=0A> >> <stanza  xmlns=3D"jabber:server">=0A> >>         <=
first-level-child xmlns=3D"jabber:server"/>=0A> >>  </stanza>=0A> >>=0A> >>=
 <!-- C2S -->=0A> >>  <stanza xmlns=3D"jabber:client">=0A> >>         <firs=
t-level-child xmlns=3D"jabber:client"/>=0A> >>  </stanza>=0A> >>=0A> >> i.e=
. the sent stanza differs from the  received stanza.=0A> >>=0A> >> I'm not =
sure we should actually care  about this edge case, but AFAICT=0A> >> that =
is one of the cases the thread  starter complained about and it=0A> >> does=
n't look solved to me...=0A> > =0A> > Easily solved with the following text=
:=0A> > "Clients MUST NOT send  any data that are in the jabber:server name=
space"=0A> =0A> +1 to that. I've  modified the following paragraph:=0A> =0A=
>    Client implementations MUST  support the 'jabber:client' content=0A>  =
  namespace as a default  namespace.  The 'jabber:server' content=0A>    na=
mespace is out of  scope for an XMPP client, and a client MUST NOT=0A>    s=
end any data  qualified by the 'jabber:server' namespace.=0A> =0A> /psa=0A>=
 =0A> =0A> =0A> =0A=0A

From mwild1@gmail.com  Wed Nov 17 06:56: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 0BF183A6914 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:56:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.187
X-Spam-Level: 
X-Spam-Status: No, score=-2.187 tagged_above=-999 required=5 tests=[AWL=-0.188, BAYES_00=-2.599, 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 G8ecjS3jddWF for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 06:56:29 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 35FBD3A6918 for <xmpp@ietf.org>; Wed, 17 Nov 2010 06:56:29 -0800 (PST)
Received: by qyk5 with SMTP id 5so303738qyk.10 for <xmpp@ietf.org>; Wed, 17 Nov 2010 06:57:14 -0800 (PST)
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=rtAkYmpeJ2YEXRivae7PEtu2VGU27zayb4bjJ37mlYo=; b=WcIDsIda5BDvg7lXi5QsoivOKrRpyH+dbxslRGzuBGmRaQDhC0MjHlbyrXusqbe1fH id0d2enUHcLcj5ADNp5RolJChwmu6jel21s2p+uLf4Bj+10oTcbSH93/FoZeDMPNc7cr 1rSdzPh4ceVAlubibHm7XPeg46dmcU+C0UhbU=
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=hZ+BujJhnmAIcC8U4aiescsVV/YCRzp0BasNlsqNQOy/m3Yt4I1hC7EYAGWX8fp1LC QtFZzdXnmkwLB9u0GnKAdmVCRCtFcczFkYouW9U5UGnbk+jjqFr2XxeO2/FodDAG/vx9 YLE0csJ0zkCz+JJ3L0z3b+zoagxarnUZRFCcw=
Received: by 10.224.90.20 with SMTP id g20mr8460745qam.276.1290005834587; Wed, 17 Nov 2010 06:57:14 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Wed, 17 Nov 2010 06:56:54 -0800 (PST)
In-Reply-To: <707068.29474.qm@web95403.mail.in2.yahoo.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com>
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 17 Nov 2010 14:56:54 +0000
Message-ID: <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>
To: Mridul Muralidharan <mridulm80@yahoo.com>
Content-Type: text/plain; charset=UTF-8
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 14:56:30 -0000

On 17 November 2010 14:41, Mridul Muralidharan <mridulm80@yahoo.com> wrote:
>
>
> So to summarize, if I am not wrong, the final set of recommendations seem to be
> :
>
>
> 1) clients/servers should not extend the jabber:client and jabber:server
> namespace if they can help it.
> This should be interesting from forward & migration compatibility point of view
> :-)
>

I think that was already a given. I think everyone is pretty good at
using their own namespaces for stuff, that's just the way things are
done in XMPP. You can't introduce your own elements ad-hoc into an
existing and well-defined schema.

> 2) clients MUST NOT use jabber:server namespace at all.
> This might be problematic - resulting in hacks like sending snippets of xml
> encoded as text, etc ... not very 'xml-ly'.
>

I doubt it. If it's transmitted as XML then it should use the correct
namespace for the tags. Since there is absolutely no reason to use
tags from jabber:server in a c2s stream (because they have exact
equivalents in jabber:client) then there is no need to allow this.

If it's random unvetted XML then it'll likely be text already, e.g.
transmitted inside the <body> of a message. It's no longer XML as far
as XMPP is concerned and namespaces don't matter.

Perfectly "xml-ly" if you ask me.

> 3) servers MUST only change xmlns of stanza root element from jabber:client to
> jabber:server (and vice-versa on reception) - by inheritance, if namespace
> changes, fine : else it remains same.
>

Correct.

> 4) Clients and servers MUST NOT use namespace prefix for the content namespace.
> This is pretty restrictive on client libraries and implementations : thankfully,
> most are already conforming to this (by convention ?).
>

Correct.

Regards,
Matthew

From stpeter@stpeter.im  Wed Nov 17 07:18: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 E15183A6914 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 07:18:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.186
X-Spam-Level: 
X-Spam-Status: No, score=-102.186 tagged_above=-999 required=5 tests=[AWL=-0.187, 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 t3L1vsJAZ6p4 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 07:18:25 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id CBDDE3A6912 for <xmpp@ietf.org>; Wed, 17 Nov 2010 07:18:25 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 01C1940BB9; Wed, 17 Nov 2010 08:29:07 -0700 (MST)
Message-ID: <4CE3F26D.2080506@stpeter.im>
Date: Wed, 17 Nov 2010 08:19:09 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>
In-Reply-To: <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@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="------------ms060506040309080006030706"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 15:18:27 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 7:56 AM, Matthew Wild wrote:
> On 17 November 2010 14:41, Mridul Muralidharan <mridulm80@yahoo.com> wr=
ote:
>>
>>
>> So to summarize, if I am not wrong, the final set of recommendations s=
eem to be
>> :
>>
>>
>> 1) clients/servers should not extend the jabber:client and jabber:serv=
er
>> namespace if they can help it.
>> This should be interesting from forward & migration compatibility poin=
t of view
>> :-)
>>
>=20
> I think that was already a given. I think everyone is pretty good at
> using their own namespaces for stuff, that's just the way things are
> done in XMPP. You can't introduce your own elements ad-hoc into an
> existing and well-defined schema.

A big +1 to that. If you want new features, define new namespaces.

>> 2) clients MUST NOT use jabber:server namespace at all.
>> This might be problematic - resulting in hacks like sending snippets o=
f xml
>> encoded as text, etc ... not very 'xml-ly'.
>>
>=20
> I doubt it. If it's transmitted as XML then it should use the correct
> namespace for the tags. Since there is absolutely no reason to use
> tags from jabber:server in a c2s stream (because they have exact
> equivalents in jabber:client) then there is no need to allow this.
>=20
> If it's random unvetted XML then it'll likely be text already, e.g.
> transmitted inside the <body> of a message. It's no longer XML as far
> as XMPP is concerned and namespaces don't matter.
>=20
> Perfectly "xml-ly" if you ask me.

Agreed.

>> 3) servers MUST only change xmlns of stanza root element from jabber:c=
lient to
>> jabber:server (and vice-versa on reception) - by inheritance, if names=
pace
>> changes, fine : else it remains same.
>>
>=20
> Correct.
>=20
>> 4) Clients and servers MUST NOT use namespace prefix for the content n=
amespace.
>> This is pretty restrictive on client libraries and implementations : t=
hankfully,
>> most are already conforming to this (by convention ?).
>>
>=20
> Correct.

Yep, that all looks correct.

Peter

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




--------------ms060506040309080006030706
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+Js1HAh8CgWFl34sOxx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umaCmMWLM1r2xIjdaqcQ92YlXrUKR0rBDk2RGVlkAs30RP0JoMVcYUrx2WWCEf3L
m3yaiLVdAiheMu+uHd9BPblblK5tmhxRA6cdSh2OZpB+tScXPz1hXKgD061EkJFYTkCmAAAA
AAAA
--------------ms060506040309080006030706--

From stpeter@stpeter.im  Wed Nov 17 08:40:43 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 9449E3A692A for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 08:40:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.269
X-Spam-Level: 
X-Spam-Status: No, score=-102.269 tagged_above=-999 required=5 tests=[AWL=0.330, 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 IQ30vtSwjj+a for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 08:40:36 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id A786B3A6941 for <xmpp@ietf.org>; Wed, 17 Nov 2010 08:40:33 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C6BEC40BB9 for <xmpp@ietf.org>; Wed, 17 Nov 2010 09:51:16 -0700 (MST)
Message-ID: <4CE405AB.1040505@stpeter.im>
Date: Wed, 17 Nov 2010 09:41:15 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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="------------ms090707000305050207080808"
Subject: [xmpp] editorial: where to put the schemas
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, 17 Nov 2010 16:40:43 -0000

This is a cryptographically signed message in MIME format.

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

A long time ago in a working group far far away, we moved the schemas
for the 'jabber:client' and 'jabber:server' namespaces from the core
spec to the IM and presence spec (probably because they contain some
details about the markup of messages and presence). However, I think
they belong in the core spec because we reference them in text about
resource binding, content namespaces, stanza re-scoping, etc. If there
are no objections, I'll move them before publishing revised I-Ds tonight
(that would leave only the roster schema in 3921bis).

Peter

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




--------------ms090707000305050207080808
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
Z25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N0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBTQjR2gqdFji7oozm42wNmfP4c/0tUbuGPwXq4iPlFZr8qmfWC7MtPrK7R
O2oMqt7JPMLHK+AVcap/qNa8myXTmdIYrUPOSiSAcUOb2OY0+jV3z3PtskiR7tOMZhHdtBNP
QdGDC8DqPTbsyqr55bE5S15S7Kwf+T9d1WhJKs7xEZz1D+Flv+UvOrBeJzy35iaa26jMKks3
74g+MZGx8beIMn71NhO5z/1qK50SUampL9A6hII1sH2vA+QmJ+m2gkRmLEVJfCubWEWIbiEv
u/C5ZEkdJg9QTyK5yLOBnH3UClw3DZFNJuuSdp8SaqzuRzPiZNQSIZGkROtmFS/xkgjBAAAA
AAAA
--------------ms090707000305050207080808--

From mwild1@gmail.com  Wed Nov 17 08:49:33 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 62E963A693C for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 08:49:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.466
X-Spam-Level: 
X-Spam-Status: No, score=-2.466 tagged_above=-999 required=5 tests=[AWL=0.133,  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 fkVSzljYbWHw for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 08:49:32 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id 81C0D3A6936 for <xmpp@ietf.org>; Wed, 17 Nov 2010 08:49:32 -0800 (PST)
Received: by qyk8 with SMTP id 8so974349qyk.10 for <xmpp@ietf.org>; Wed, 17 Nov 2010 08:50:18 -0800 (PST)
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=U3OWQ3j4BzUzXGMzH1M7cRQOsupzdckyfpdKLlCRJII=; b=wc6wOXhJeI5n/LYNyt25g2c0bX+DPMkoVhjs4yBKnN0VgPiJtdX40yTA4u6SKPHuLQ XI9aWBpeQEQR4gm2/71ba8tDL9OHVvAHFdENsXTeW+C6B37s0/KGe4jpvtbWx2mEIbXf hIojE/H+toHQoMTiLqLyPDvisguI6OYyOUoyU=
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=RKpRrBOXpNKnk+isVzpsB8Rfi5axx43Do8DrwCJ0xbxHag/Q4StUNbNs1mq5/V5oU7 8EbMwisfggsk7/n0qoyXXZcAJjizYFP3FJ0ZgkquwzAIlprM97XtQd287um0Ejx+p7qV F2wpQZkv1L3tUePVEBI396TYbPJ5pRBNbfHnw=
Received: by 10.224.90.20 with SMTP id g20mr8594155qam.276.1290012617995; Wed, 17 Nov 2010 08:50:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.166.84 with HTTP; Wed, 17 Nov 2010 08:49:57 -0800 (PST)
In-Reply-To: <4CE405AB.1040505@stpeter.im>
References: <4CE405AB.1040505@stpeter.im>
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 17 Nov 2010 16:49:57 +0000
Message-ID: <AANLkTikxYomDEyofv7CK0Uc87kCG8s4zyKO5MXxycAX3@mail.gmail.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] editorial: where to put the schemas
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, 17 Nov 2010 16:49:33 -0000

On 17 November 2010 16:41, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> A long time ago in a working group far far away, we moved the schemas
> for the 'jabber:client' and 'jabber:server' namespaces from the core
> spec to the IM and presence spec (probably because they contain some
> details about the markup of messages and presence). However, I think
> they belong in the core spec because we reference them in text about
> resource binding, content namespaces, stanza re-scoping, etc. If there
> are no objections, I'll move them before publishing revised I-Ds tonight
> (that would leave only the roster schema in 3921bis).
>

No objections. I noticed it last night when I was looking for them,
and wondered why on earth they were in 3921bis.

I'm now dutifully sweeping such issues under the carpet to keep you
and our patient chairs happy. :)

Matthew

From stpeter@stpeter.im  Wed Nov 17 08:58: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 1F7CD3A6947 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 08:58:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.296
X-Spam-Level: 
X-Spam-Status: No, score=-102.296 tagged_above=-999 required=5 tests=[AWL=0.303, 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 f3FstmzEbYck for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 08:58:57 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 0A3103A693C for <xmpp@ietf.org>; Wed, 17 Nov 2010 08:58:57 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id AEAAC40D1E; Wed, 17 Nov 2010 10:09:40 -0700 (MST)
Message-ID: <4CE409FC.8070408@stpeter.im>
Date: Wed, 17 Nov 2010 09:59:40 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Matthew Wild <mwild1@gmail.com>
References: <4CE405AB.1040505@stpeter.im> <AANLkTikxYomDEyofv7CK0Uc87kCG8s4zyKO5MXxycAX3@mail.gmail.com>
In-Reply-To: <AANLkTikxYomDEyofv7CK0Uc87kCG8s4zyKO5MXxycAX3@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="------------ms020602040605000106010306"
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] editorial: where to put the schemas
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, 17 Nov 2010 16:58:58 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 9:49 AM, Matthew Wild wrote:
> On 17 November 2010 16:41, Peter Saint-Andre <stpeter@stpeter.im> wrote=
:
>> A long time ago in a working group far far away, we moved the schemas
>> for the 'jabber:client' and 'jabber:server' namespaces from the core
>> spec to the IM and presence spec (probably because they contain some
>> details about the markup of messages and presence). However, I think
>> they belong in the core spec because we reference them in text about
>> resource binding, content namespaces, stanza re-scoping, etc. If there=

>> are no objections, I'll move them before publishing revised I-Ds tonig=
ht
>> (that would leave only the roster schema in 3921bis).
>>
>=20
> No objections. I noticed it last night when I was looking for them,
> and wondered why on earth they were in 3921bis.
>=20
> I'm now dutifully sweeping such issues under the carpet to keep you
> and our patient chairs happy. :)

Why, that's awfully sweet of you. ;-)

But it's been bothering me for a long time, too, and this is my last
chance to fix it...

Peter

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




--------------ms020602040605000106010306
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
dGFydENvbSBMdGQuM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BgkqhkiG
9w0BAQEFAASCAQB87V2/t78IBFtB1PKJup2PIvU2AZa2xURHULY72PoApQC3BXRIoifcBE5c
DV75elsRClYXL6tlCBrlYoYGlAvkUHfboOVq6xsCIsyD+aZ4eFGWT9o7xJOQatexZuAfYZ2b
WBI6DVqo5ZKiYHdxQPKm/uk8m5SmXKW+KhPWRkILR4tRU0vBw1/EXt1niTVuJKIfHwWkGybd
8bYxOwMnCBI7JE31kNJQIXsMg32V2dRsDl3jIthPEQCWAi3Q/nrNUZdgKa7+R/Y0VHmLVgng
+qYFRKZdwRXXguFp/JOgrw9AboEstr7qPZ165pFcncUejWjNIEan3xrQC7LvhqsuYe1kAAAA
AAAA
--------------ms020602040605000106010306--

From mamille2@cisco.com  Wed Nov 17 09:05:25 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 BBB773A6943 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 09:05:25 -0800 (PST)
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 FgzlfxvTfcGj for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 09:05:21 -0800 (PST)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id A8F323A6940 for <xmpp@ietf.org>; Wed, 17 Nov 2010 09:05:16 -0800 (PST)
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: AvsEAJSZ40yrR7Hu/2dsb2JhbACiSXGmdZsqhUsEhFqFfg
X-IronPort-AV: E=Sophos;i="4.59,212,1288569600"; d="scan'208";a="288060014"
Received: from sj-core-5.cisco.com ([171.71.177.238]) by sj-iport-5.cisco.com with ESMTP; 17 Nov 2010 17:06:02 +0000
Received: from dhcp-64-101-72-215.cisco.com (dhcp-64-101-72-215.cisco.com [64.101.72.215]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id oAHH62qh012494; Wed, 17 Nov 2010 17:06:02 GMT
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <4CE409FC.8070408@stpeter.im>
Date: Wed, 17 Nov 2010 10:06:14 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <70CAAD2E-269C-46FE-91B1-C9A92292B08D@cisco.com>
References: <4CE405AB.1040505@stpeter.im> <AANLkTikxYomDEyofv7CK0Uc87kCG8s4zyKO5MXxycAX3@mail.gmail.com> <4CE409FC.8070408@stpeter.im>
To: Peter Saint-Andre <stpeter@stpeter.im>
X-Mailer: Apple Mail (2.1082)
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] editorial: where to put the schemas
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, 17 Nov 2010 17:05:25 -0000

On Nov 17, 2010, at 09:59 , Peter Saint-Andre wrote:

> On 11/17/10 9:49 AM, Matthew Wild wrote:
>> On 17 November 2010 16:41, Peter Saint-Andre <stpeter@stpeter.im> =
wrote:
>>> A long time ago in a working group far far away, we moved the =
schemas
>>> for the 'jabber:client' and 'jabber:server' namespaces from the core
>>> spec to the IM and presence spec (probably because they contain some
>>> details about the markup of messages and presence). However, I think
>>> they belong in the core spec because we reference them in text about
>>> resource binding, content namespaces, stanza re-scoping, etc. If =
there
>>> are no objections, I'll move them before publishing revised I-Ds =
tonight
>>> (that would leave only the roster schema in 3921bis).
>>>=20
>>=20
>> No objections. I noticed it last night when I was looking for them,
>> and wondered why on earth they were in 3921bis.
>>=20
>> I'm now dutifully sweeping such issues under the carpet to keep you
>> and our patient chairs happy. :)
>=20
> Why, that's awfully sweet of you. ;-)
>=20
> But it's been bothering me for a long time, too, and this is my last
> chance to fix it...

I didn't really like the separation in the first place, either.  And =
trying to explain to people that you need to look at 3921 for things =
mentioned in 3920 was odd.

+1000 on putting the schemas back in 3920bis.


- m&m


From mridulm80@yahoo.com  Wed Nov 17 11:03:55 2010
Return-Path: <mridulm80@yahoo.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 49C633A69B2 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 11:03:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.042
X-Spam-Level: 
X-Spam-Status: No, score=-2.042 tagged_above=-999 required=5 tests=[AWL=-0.043, BAYES_00=-2.599, 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 Q-CDP5qPTl5S for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 11:03:54 -0800 (PST)
Received: from nm3-vm1.bullet.mail.in.yahoo.com (nm3-vm1.bullet.mail.in.yahoo.com [121.101.151.208]) by core3.amsl.com (Postfix) with SMTP id 92F4B3A69B1 for <xmpp@ietf.org>; Wed, 17 Nov 2010 11:03:52 -0800 (PST)
Received: from [121.101.151.237] by nm3.bullet.mail.in.yahoo.com with NNFMP; 17 Nov 2010 19:04:36 -0000
Received: from [121.101.151.235] by tm2.bullet.mail.in.yahoo.com with NNFMP; 17 Nov 2010 19:04:34 -0000
Received: from [127.0.0.1] by omp1004.mail.in.yahoo.com with NNFMP; 17 Nov 2010 19:05:04 -0000
X-Yahoo-Newman-Property: ymail-5
X-Yahoo-Newman-Id: 174611.6343.bm@omp1004.mail.in.yahoo.com
Received: (qmail 46852 invoked by uid 60001); 17 Nov 2010 19:04:34 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1290020674; bh=YKTrRTNSP28dD7G+AHpT6cFyFczFuos2uEIeQ6QrJNA=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YV+QTeAHmh1FbjfSalMTghslhm+SSHnJJEjCHRuXsuxoxxuEynAqnsqH9aFzwapqYf+9UDh3kI2KR60x0MbLBQU+lnnqoC1D3TM4gLDSO5ZpzcAOFrINReTUcIGAG3kQj0v2Luht/aH0Qd+wTeMzQ69KuZMCEaP5F8xDHbKU8CI=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=jiRB2AYToH9ttec00dpfRyOm98HNHYMqfRJ0jJwOg9JS2azFeY8wZYGGWN2ZC46+xGTBj/q4BzXbmaYOW3gdnYEi/30J2ns/QF6a5ocvarhkbYe7lbNBtXWM3q31NcmnpVw+yXWB1F9Dz2SFfx8L4ZLyNPJPDxCQdFwD4pwXNcw=;
Message-ID: <204473.45686.qm@web95406.mail.in2.yahoo.com>
X-YMail-OSG: NzTiK8cVM1mNymuzcQl011zkHghfVE_T0EZ4UsT29VUzYcQ bl.ps2UQesnLyKaxtPLvxefd.A3WN7RMApflVQxbpGE01bOnl5TWh3n_OXN5 R8gNgL_AeTs6jmATJ7p2oKfL.fXbZwGpY1rJkE6TihxGY4eSKGu63EMxT.qe YsN1eHNJUQYB3S6aWzTsbJQyXkrpGyEttGAy9m8pSsp68Vh03nhjuI9QHZa1 cUIlOXLgix6wdiK4thaKcJu9j8VQuUqAgpKihZcR1c1UGI7SpAPxbJvl.9XO 3kT_Sr5bQGbYSz4zpiq.lnyPgEXDI1Q--
Received: from [122.167.95.73] by web95406.mail.in2.yahoo.com via HTTP; Thu, 18 Nov 2010 00:34:33 IST
X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.285259
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>
Date: Thu, 18 Nov 2010 00:34:33 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: Matthew Wild <mwild1@gmail.com>
In-Reply-To: <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 19:03:55 -0000

=0A=0A=0A=0A----- Original Message ----=0A> From: Matthew Wild <mwild1@gmai=
l.com>=0A> To: Mridul Muralidharan <mridulm80@yahoo.com>=0A> Cc: Peter Sain=
t-Andre <stpeter@stpeter.im>; xmpp@ietf.org=0A> Sent: Wed, 17 November, 201=
0 8:26:54 PM=0A> Subject: Re: [xmpp] "re-scope" of xmpp stanza's=0A> =0A> O=
n 17 November 2010 14:41, Mridul Muralidharan <mridulm80@yahoo.com>  wrote:=
=0A> >=0A> >=0A> > So to summarize, if I am not wrong, the final set  of re=
commendations seem to =0A>be=0A> > :=0A> >=0A> >=0A> > 1)  clients/servers =
should not extend the jabber:client and jabber:server=0A> >  namespace if t=
hey can help it.=0A> > This should be interesting from forward  & migration=
 compatibility point of =0A>view=0A> > :-)=0A> >=0A> =0A> I think  that was=
 already a given. I think everyone is pretty good at=0A> using their own  n=
amespaces for stuff, that's just the way things are=0A> done in XMPP. You c=
an't  introduce your own elements ad-hoc into an=0A> existing and well-defi=
ned  schema.=0A=0A=0AThe xmpp schema, as defined in rfc, allows for it.=0AS=
o from an xml correctness point of view, it is to be supported (for example=
: =0Afor streaming xml parsers).=0AWhether these changes are mandated by a =
change in spec, or by custom =0Aimplementation : as long as schema allows f=
or it, implementations (parsers, etc) =0Amust support it. Hence the need fo=
r clarification.=0A=0A=0A> =0A> > 2) clients MUST NOT use jabber:server nam=
espace at  all.=0A> > This might be problematic - resulting in hacks like s=
ending  snippets of xml=0A> > encoded as text, etc ... not very  'xml-ly'.=
=0A> >=0A> =0A> I doubt it. If it's transmitted as XML then it should  use =
the correct=0A> namespace for the tags. Since there is absolutely no reason=
  to use=0A> tags from jabber:server in a c2s stream (because they have  ex=
act=0A> equivalents in jabber:client) then there is no need to allow  this.=
=0A> =0A> If it's random unvetted XML then it'll likely be text already,  e=
.g.=0A> transmitted inside the <body> of a message. It's no longer XML as  =
far=0A> as XMPP is concerned and namespaces don't matter.=0A> =0A> Perfectl=
y  "xml-ly" if you ask me.=0A=0A=0AI really dont want to get into actual us=
ecases of why this would be required : =0Asuffice to say, there are usecase=
s which would need transmitting stanza's :  to =0Atunnel one connection ove=
r another for example. Changes specified implies that =0Axml snippets "wrap=
ped" in message, etc wont work anymore : and we will need to =0Aessentially=
 transmit the snippets as text or other encoded format.=0A=0AIf the spec cl=
early mandates that this is not supported - then it is fine, we =0Awill nee=
d to look at other encoding : as long as it was not clear, we were not =0As=
ure where it could/would work, where it would fail - and or what the expect=
ed =0Abehavior was !=0A=0A=0A=0AThanks for clarification !=0ARegards,=0AMri=
dul=0A=0A> =0A> > 3) servers MUST only change xmlns of stanza  root element=
 from jabber:client =0A>to=0A> > jabber:server (and vice-versa on  receptio=
n) - by inheritance, if namespace=0A> > changes, fine : else it  remains sa=
me.=0A> >=0A> =0A> Correct.=0A> =0A> > 4) Clients and servers MUST  NOT use=
 namespace prefix for the content =0A>namespace.=0A> > This is pretty  rest=
rictive on client libraries and implementations : =0A>thankfully,=0A> > mos=
t  are already conforming to this (by convention  ?).=0A> >=0A> =0A> Correc=
t.=0A> =0A> Regards,=0A> Matthew=0A> =0A=0A

From stpeter@stpeter.im  Wed Nov 17 14:00: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 EA5473A6948 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:00:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.057
X-Spam-Level: 
X-Spam-Status: No, score=-102.057 tagged_above=-999 required=5 tests=[AWL=-0.058, 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 fsoWNAWsZL2E for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:00:18 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id C0DCA3A6781 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:00:17 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 61FCD40BB9; Wed, 17 Nov 2010 15:11:02 -0700 (MST)
Message-ID: <4CE4509E.5020207@stpeter.im>
Date: Wed, 17 Nov 2010 15:01:02 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Mridul Muralidharan <mridulm80@yahoo.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com> <204473.45686.qm@web95406.mail.in2.yahoo.com>
In-Reply-To: <204473.45686.qm@web95406.mail.in2.yahoo.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="------------ms060003060206070004090800"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:00:19 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 12:04 PM, Mridul Muralidharan wrote:
>=20
>=20
>=20
>=20
> ----- Original Message ----
>> From: Matthew Wild <mwild1@gmail.com>
>> To: Mridul Muralidharan <mridulm80@yahoo.com>
>> Cc: Peter Saint-Andre <stpeter@stpeter.im>; xmpp@ietf.org
>> Sent: Wed, 17 November, 2010 8:26:54 PM
>> Subject: Re: [xmpp] "re-scope" of xmpp stanza's
>>
>> On 17 November 2010 14:41, Mridul Muralidharan <mridulm80@yahoo.com>  =
wrote:
>>>
>>>
>>> So to summarize, if I am not wrong, the final set  of recommendations=
 seem to=20
>> be
>>> :
>>>
>>>
>>> 1)  clients/servers should not extend the jabber:client and jabber:se=
rver
>>>  namespace if they can help it.
>>> This should be interesting from forward  & migration compatibility po=
int of=20
>> view
>>> :-)
>>>
>>
>> I think  that was already a given. I think everyone is pretty good at
>> using their own  namespaces for stuff, that's just the way things are
>> done in XMPP. You can't  introduce your own elements ad-hoc into an
>> existing and well-defined  schema.
>=20
>=20
> The xmpp schema, as defined in rfc, allows for it.
> So from an xml correctness point of view, it is to be supported (for ex=
ample:=20
> for streaming xml parsers).
> Whether these changes are mandated by a change in spec, or by custom=20
> implementation : as long as schema allows for it, implementations (pars=
ers, etc)=20
> must support it. Hence the need for clarification.

The schema defines the namespace! If you send <presence type=3D'mridul'/>=

you are in violation of the schema. I don't see how you can construe
things differently.

>>> 2) clients MUST NOT use jabber:server namespace at  all.
>>> This might be problematic - resulting in hacks like sending  snippets=
 of xml
>>> encoded as text, etc ... not very  'xml-ly'.
>>>
>>
>> I doubt it. If it's transmitted as XML then it should  use the correct=

>> namespace for the tags. Since there is absolutely no reason  to use
>> tags from jabber:server in a c2s stream (because they have  exact
>> equivalents in jabber:client) then there is no need to allow  this.
>>
>> If it's random unvetted XML then it'll likely be text already,  e.g.
>> transmitted inside the <body> of a message. It's no longer XML as  far=

>> as XMPP is concerned and namespaces don't matter.
>>
>> Perfectly  "xml-ly" if you ask me.
>=20
>=20
> I really dont want to get into actual usecases of why this would be req=
uired :=20
> suffice to say, there are usecases which would need transmitting stanza=
's :  to=20
> tunnel one connection over another for example. Changes specified impli=
es that=20
> xml snippets "wrapped" in message, etc wont work anymore : and we will =
need to=20
> essentially transmit the snippets as text or other encoded format.
>=20
> If the spec clearly mandates that this is not supported - then it is fi=
ne, we=20
> will need to look at other encoding : as long as it was not clear, we w=
ere not=20
> sure where it could/would work, where it would fail - and or what the e=
xpected=20
> behavior was !

The current wording would allow you to do something like this:

<iq type=3D'set' xmlns=3D'jabber:client'>
  <tunnel xmlns=3D'urn:xmpp:example'>
    <message xmlns=3D'jabber:server'>
      <foo xmlns=3D'http://example.com/ns'/>
    </message>
  </tunnel>
</iq>

But not this (over a client-to-server stream):

<presence xmlns=3D'jabber:server'/>

However, to make that clearer, I think we could change this:

   a client MUST NOT send any data qualified by the
   'jabber:server' namespace

to:

   a client MUST NOT send any stanzas qualified by the
   'jabber:server' namespace

or even:

   a client MUST NOT send any first-level elements qualified
   by the 'jabber:server' namespace

Peter

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




--------------ms060003060206070004090800
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/XkCAwEAAaOC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MA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAkvAwE9a6rZpHU6BQdKvpO7Ty9ufC3HvAeLfKxTk5jukYAi6bMmUtupRWL
qOU/4R8kqMGRVL7OzLq+Sw4h/HyQM5iTEjvC1nWjHPL0CC7C3OC6Yrk2v4+BulyU1tVlYCM7
BrjyupLSynBMeonEYczHugAwol5qHBQ6xV5BkxxUaMkvs1T3iMiYJMwVsofq4j+T7duZifwR
tS/s+WQVzBY4LqHt+MoMx3ABprBpVmUV9whbx2BdIg3seJRmoG1gEMrleYjCBkFgqVQkGrOF
L1D6LGD0jUJrC52yVwcN3WYEgX0S4wURGhm9m+ZRUCZ9sV0VHmKO7pM0ILA3gSt+DVkbAAAA
AAAA
--------------ms060003060206070004090800--

From k.i.smith@gmail.com  Wed Nov 17 14:03:21 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 CFF933A67F0 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:03:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.647
X-Spam-Level: 
X-Spam-Status: No, score=-1.647 tagged_above=-999 required=5 tests=[AWL=-0.270, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 Rvpi82olEFFZ for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:03:21 -0800 (PST)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 18E0A3A67DB for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:03:21 -0800 (PST)
Received: by qwg5 with SMTP id 5so349686qwg.31 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:04:07 -0800 (PST)
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=MfLhFmIwV5JXXHhHTYPXroPHHN7uVV9kqPpX+6dlWfw=; b=RcDlrsZjoP2meib7vIFJbB1cPHoa276KVfmbDaQ1DItLSsqKnpzfcQ635tELVQSpGX o6GeMNaY833KVLrlCuiRTJdeMBZMh6FGsdMzxMJRWAZpbinjYtrsBTKSEofRyN6ImIHV vcXZS0wa5U84iQLnjofJcOHZ41acbmXw/oE/c=
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=Tl7SD25kZ1GUbhBSlf1A6eRKgsewhvmu5iFmhJaDZwnUA1ZLdh+HPKFxlVh4NjYybs YtMfwIY4VPYmlU/quPBcIDjr2Eyu0NvS1pDCDEshMmAihhnfbeBFwn2rrvDZu9Yqy7cc UJMVNzS3upILTIV+sv3QBgKz0gFt/A133GPjk=
MIME-Version: 1.0
Received: by 10.229.223.139 with SMTP id ik11mr8029474qcb.273.1290031447016; Wed, 17 Nov 2010 14:04:07 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Wed, 17 Nov 2010 14:04:06 -0800 (PST)
In-Reply-To: <4CE4509E.5020207@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com> <204473.45686.qm@web95406.mail.in2.yahoo.com> <4CE4509E.5020207@stpeter.im>
Date: Wed, 17 Nov 2010 22:04:06 +0000
X-Google-Sender-Auth: k4Sj_0kYFWih0v20l6TuGbN7Upo
Message-ID: <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@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@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:03:21 -0000

On Wed, Nov 17, 2010 at 10:01 PM, Peter Saint-Andre <stpeter@stpeter.im> wr=
ote:
> The current wording would allow you to do something like this:
>
> <iq type=3D'set' xmlns=3D'jabber:client'>
> =A0<tunnel xmlns=3D'urn:xmpp:example'>
> =A0 =A0<message xmlns=3D'jabber:server'>
> =A0 =A0 =A0<foo xmlns=3D'http://example.com/ns'/>
> =A0 =A0</message>
> =A0</tunnel>
> </iq>

The text I sent was intended to disallow this. A client shouldn't be
sending anything in jabber:server, at all. In my /very/ humble
opinion..

/K

From stpeter@stpeter.im  Wed Nov 17 14:05: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 18A063A6800 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:05:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.053
X-Spam-Level: 
X-Spam-Status: No, score=-102.053 tagged_above=-999 required=5 tests=[AWL=-0.054, 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 Cz9jqQx4ZHcB for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:05:39 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 1C2903A67DB for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:05:39 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 2FECC40BB9; Wed, 17 Nov 2010 15:16:24 -0700 (MST)
Message-ID: <4CE451DF.2020606@stpeter.im>
Date: Wed, 17 Nov 2010 15:06:23 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: kevin@kismith.co.uk
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im>	<4CE3B304.3050605@babelmonkeys.de>	<AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>	<4CE3E494.9000202@stpeter.im>	<707068.29474.qm@web95403.mail.in2.yahoo.com>	<AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>	<204473.45686.qm@web95406.mail.in2.yahoo.com>	<4CE4509E.5020207@stpeter.im> <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>
In-Reply-To: <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@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="------------ms070808080804070009060302"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:05:40 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 3:04 PM, Kevin Smith wrote:
> On Wed, Nov 17, 2010 at 10:01 PM, Peter Saint-Andre <stpeter@stpeter.im=
> wrote:
>> The current wording would allow you to do something like this:
>>
>> <iq type=3D'set' xmlns=3D'jabber:client'>
>>  <tunnel xmlns=3D'urn:xmpp:example'>
>>    <message xmlns=3D'jabber:server'>
>>      <foo xmlns=3D'http://example.com/ns'/>
>>    </message>
>>  </tunnel>
>> </iq>
>=20
> The text I sent was intended to disallow this. A client shouldn't be
> sending anything in jabber:server, at all. In my /very/ humble
> opinion..

Given that the <message/> element above is wrapped in some other
namespace and thus shielded from the re-scoping operation, is there harm
in allowing it? I don't have a strong opinion either way (I admit that I
see no good reason to send such data, but I can imagine some scenarios
in which it might be legitimate, such as abuse reporting).

Peter

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




--------------ms070808080804070009060302
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
DVN0YXJ0Q29tIEx0ZC4xKzAp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CRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAvNHpV1D0hwUbwS9OHWpSWbkKWsx/RjuPdGTJ+NezT+/DAuv02y9qanCLE
ytwB6h914phgl4BoBYf8TbZaXvdVRzB1oxM7KpZ5y1B1mEixbYMbAqsj8HLEwwEME790qUSl
nL9U3IBDt6TC11XilsjJKmJ4Nwpkwr0ez3mSsHn2f2FBaOXpGpbr8VecpYcq7SYZZfngYwA4
EApPk3mCy/HReb9nJyEnmbEwzD7SLA953LHG79jWF2pHfJ8fc1cMuXyUSHWe/4LYUPk8Gffn
rZJPcIUYmBDyeKrz2y0AFhqAk1RlX1tHil+1mnMtIX0fmlo9k6i8ehK1K9WSxdpayw8lAAAA
AAAA
--------------ms070808080804070009060302--

From mamille2@cisco.com  Wed Nov 17 14:10:01 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 92DCB3A6781 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:10:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_66=0.6, 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 E7QLzS+Vftyz for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:10:00 -0800 (PST)
Received: from sj-iport-5.cisco.com (sj-iport-5.cisco.com [171.68.10.87]) by core3.amsl.com (Postfix) with ESMTP id B63513A67F0 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:10:00 -0800 (PST)
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: AkIFAEvh40yrR7Hu/2dsb2JhbACUU44BcaUQmz2FSwSEWoV+
X-IronPort-AV: E=Sophos;i="4.59,213,1288569600"; d="scan'208";a="288255047"
Received: from sj-core-5.cisco.com ([171.71.177.238]) by sj-iport-5.cisco.com with ESMTP; 17 Nov 2010 22:10:46 +0000
Received: from dhcp-64-101-72-215.cisco.com (dhcp-64-101-72-215.cisco.com [64.101.72.215]) by sj-core-5.cisco.com (8.13.8/8.14.3) with ESMTP id oAHMAkEV012642; Wed, 17 Nov 2010 22:10:46 GMT
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset=us-ascii
From: Matt Miller <mamille2@cisco.com>
In-Reply-To: <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>
Date: Wed, 17 Nov 2010 15:10:56 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <57C2DAE6-6BE3-4294-AF1E-B15BF29CBDE6@cisco.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com> <204473.45686.qm@web95406.mail.in2.yahoo.com> <4CE4509E.5020207@stpeter.im> <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>
To: kevin@kismith.co.uk
X-Mailer: Apple Mail (2.1082)
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:10:01 -0000

On Nov 17, 2010, at 15:04 , Kevin Smith wrote:

> On Wed, Nov 17, 2010 at 10:01 PM, Peter Saint-Andre =
<stpeter@stpeter.im> wrote:
>> The current wording would allow you to do something like this:
>>=20
>> <iq type=3D'set' xmlns=3D'jabber:client'>
>>  <tunnel xmlns=3D'urn:xmpp:example'>
>>    <message xmlns=3D'jabber:server'>
>>      <foo xmlns=3D'http://example.com/ns'/>
>>    </message>
>>  </tunnel>
>> </iq>
>=20
> The text I sent was intended to disallow this. A client shouldn't be
> sending anything in jabber:server, at all. In my /very/ humble
> opinion..

It's not feasible to enforce a "no 'jabber:server' elements EVER" =
policy.  At the stanza (first-child) layer; definitely.  At the second =
(direct payload) layer; most likely.  At *any* layer; that's seems like =
a good chunk of wasted processing to me.


- m&m


From k.i.smith@gmail.com  Wed Nov 17 14:11:27 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 08BE63A69AC for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:11:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.622
X-Spam-Level: 
X-Spam-Status: No, score=-1.622 tagged_above=-999 required=5 tests=[AWL=-0.245, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 IkTIXqYhiJ73 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:11:26 -0800 (PST)
Received: from mail-qy0-f172.google.com (mail-qy0-f172.google.com [209.85.216.172]) by core3.amsl.com (Postfix) with ESMTP id 93EFF3A69A9 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:11:25 -0800 (PST)
Received: by qyk32 with SMTP id 32so263840qyk.10 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:12:11 -0800 (PST)
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=YAUVTTGNnmOOkIRv1e99g73oGjQ+nRU2TzfEXolz2Z8=; b=skn3rKSvrC7wazWcB4TW9ZqgNoOagYU80ALnfUeEgkMUr/lEuETArKxblhj+wCBLmM 8HXaIV2+KYOcskNznqrNm5FSAdWXpYKSv3B7SkuO56mlnFv3S1lC4QOM3Ev2SWtpdEdp ceCkzzCSET1j5XByKeVjIG7EF7gYBK2JRkhw8=
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=uXTRLWvWez88PXVQYooF+IRlCtQA9xdk2Hiph7307bzNbDR21tAe2SSTAON0uVHC6S oJWFHr4w5gpvc6TGm571Lll0Nm3102xvryjZp6FSVHPCkjRjsvZ5VK0llH8DaSTBv8Hb MYJVAvV9ePy0hAohadAvDTuzWxos2IR6revn4=
MIME-Version: 1.0
Received: by 10.229.214.139 with SMTP id ha11mr8042938qcb.235.1290031931701; Wed, 17 Nov 2010 14:12:11 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Wed, 17 Nov 2010 14:12:11 -0800 (PST)
In-Reply-To: <4CE451DF.2020606@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com> <204473.45686.qm@web95406.mail.in2.yahoo.com> <4CE4509E.5020207@stpeter.im> <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com> <4CE451DF.2020606@stpeter.im>
Date: Wed, 17 Nov 2010 22:12:11 +0000
X-Google-Sender-Auth: F6fD7e2ZBjnVeDFAFjGaxTau8lc
Message-ID: <AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@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@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:11:27 -0000

On Wed, Nov 17, 2010 at 10:06 PM, Peter Saint-Andre <stpeter@stpeter.im> wr=
ote:
> On 11/17/10 3:04 PM, Kevin Smith wrote:
>> On Wed, Nov 17, 2010 at 10:01 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>>> The current wording would allow you to do something like this:
>>>
>>> <iq type=3D'set' xmlns=3D'jabber:client'>
>>> =A0<tunnel xmlns=3D'urn:xmpp:example'>
>>> =A0 =A0<message xmlns=3D'jabber:server'>
>>> =A0 =A0 =A0<foo xmlns=3D'http://example.com/ns'/>
>>> =A0 =A0</message>
>>> =A0</tunnel>
>>> </iq>
>>
>> The text I sent was intended to disallow this. A client shouldn't be
>> sending anything in jabber:server, at all. In my /very/ humble
>> opinion..
>
> Given that the <message/> element above is wrapped in some other
> namespace and thus shielded from the re-scoping operation, is there harm
> in allowing it? I don't have a strong opinion either way (I admit that I
> see no good reason to send such data, but I can imagine some scenarios
> in which it might be legitimate, such as abuse reporting).

Well, if we can mandate that the default namespace is declared only
once, in the stream header, then this seems reasonable. Then a server
need only pass the stanzas straight through without mangling them and
everything's good. If we do that, I don't have a problem with saying
that servers pass through any explicitly namespaced stanza children,
irrespective of whether they're urn:xmpp:delay or jabber:server I
guess. What I don't like is the way we seem to be going with requiring
deep inspection with special rules about which children need
rescoping, which don't, etc.

But I don't  think this is an issue worth delaying over overly much, I
would have been happy with the text as it was before the start of this
thread, so as long as we don't take a big step backwards it seems
fine.

/K

From k.i.smith@gmail.com  Wed Nov 17 14:12:09 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 DE32A3A6800 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:12:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.602
X-Spam-Level: 
X-Spam-Status: No, score=-1.602 tagged_above=-999 required=5 tests=[AWL=-0.225, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 urvnSfHavhu2 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:12:08 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 069743A69A5 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:12:07 -0800 (PST)
Received: by vws19 with SMTP id 19so171766vws.31 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:12:54 -0800 (PST)
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=GdJRozXyf5G8ObGNrxrC46k2CxVhrpK9dD/d4kEDjCE=; b=d6A2ndZiXC0RD0Ofr1IN1kFAnJuHZ4D2Fv1y9XzwmAr/f3/lWuo94dr5CT0cuNpXk/ KKyQRZUNiGAlKIh1PWFSdaDwyFQcau9kjoP3XzuczYWf6j8/T5ieLTIb+BNgN/quE3yV yKyKRGMb/zn/TqsylVnrPMyCGrB1jDkfBmI34=
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=Bdarqgfz8ewKfBTsHidw1m8m8d7emfTYOOUdPPD2f3M1eyHha+siD2wuktumpTfUzz l+tuNaPP3DrgsamcQa4qtoCgfZcCVSyU0KcIklmMRGcDbEurzCiivUckvKvI88g2OXh7 HbFVzWCU6N5HL1fe1oNR826DDE3A6k7MRx+Wc=
MIME-Version: 1.0
Received: by 10.229.222.65 with SMTP id if1mr8112479qcb.159.1290031973991; Wed, 17 Nov 2010 14:12:53 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Wed, 17 Nov 2010 14:12:53 -0800 (PST)
In-Reply-To: <57C2DAE6-6BE3-4294-AF1E-B15BF29CBDE6@cisco.com>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com> <204473.45686.qm@web95406.mail.in2.yahoo.com> <4CE4509E.5020207@stpeter.im> <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com> <57C2DAE6-6BE3-4294-AF1E-B15BF29CBDE6@cisco.com>
Date: Wed, 17 Nov 2010 22:12:53 +0000
X-Google-Sender-Auth: hD3KXMbWUsdtLTytApckOxDIom0
Message-ID: <AANLkTimUXL_bHZ63q56X=mquOYAoE-7nDVe-NSOPE+Wx@mail.gmail.com>
From: Kevin Smith <kevin@kismith.co.uk>
To: Matt Miller <mamille2@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:12:09 -0000

On Wed, Nov 17, 2010 at 10:10 PM, Matt Miller <mamille2@cisco.com> wrote:
> On Nov 17, 2010, at 15:04 , Kevin Smith wrote:
>
>> On Wed, Nov 17, 2010 at 10:01 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>>> The current wording would allow you to do something like this:
>>>
>>> <iq type=3D'set' xmlns=3D'jabber:client'>
>>> =A0<tunnel xmlns=3D'urn:xmpp:example'>
>>> =A0 =A0<message xmlns=3D'jabber:server'>
>>> =A0 =A0 =A0<foo xmlns=3D'http://example.com/ns'/>
>>> =A0 =A0</message>
>>> =A0</tunnel>
>>> </iq>
>>
>> The text I sent was intended to disallow this. A client shouldn't be
>> sending anything in jabber:server, at all. In my /very/ humble
>> opinion..
>
> It's not feasible to enforce a "no 'jabber:server' elements EVER" policy.=
 =A0At the stanza (first-child) layer; definitely. =A0At the second (direct=
 payload) layer; most likely. =A0At *any* layer; that's seems like a good c=
hunk of wasted processing to me.

The intention wasn't to require servers to validate this. It was to
tell clients not to do it, and if you do, well - a pox upon you, good
sir.

/K

From stpeter@stpeter.im  Wed Nov 17 14:28:19 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 A04AA3A69AB for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:28:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.05
X-Spam-Level: 
X-Spam-Status: No, score=-102.05 tagged_above=-999 required=5 tests=[AWL=-0.051, 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 Zw8-wbnrPqKe for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:28:18 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 5FB3C3A69A7 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:28:18 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 7C62E40BB9; Wed, 17 Nov 2010 15:39:03 -0700 (MST)
Message-ID: <4CE4572F.3030807@stpeter.im>
Date: Wed, 17 Nov 2010 15:29:03 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: kevin@kismith.co.uk
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im>	<4CE3B304.3050605@babelmonkeys.de>	<AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>	<4CE3E494.9000202@stpeter.im>	<707068.29474.qm@web95403.mail.in2.yahoo.com>	<AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>	<204473.45686.qm@web95406.mail.in2.yahoo.com>	<4CE4509E.5020207@stpeter.im>	<AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>	<4CE451DF.2020606@stpeter.im> <AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com>
In-Reply-To: <AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@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="------------ms090306040605090704070406"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:28:19 -0000

This is a cryptographically signed message in MIME format.

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

/me glances at his deadline clock, which shows ~8 hours before submit

On 11/17/10 3:12 PM, Kevin Smith wrote:
> On Wed, Nov 17, 2010 at 10:06 PM, Peter Saint-Andre <stpeter@stpeter.im=
> wrote:
>> On 11/17/10 3:04 PM, Kevin Smith wrote:
>>> On Wed, Nov 17, 2010 at 10:01 PM, Peter Saint-Andre <stpeter@stpeter.=
im> wrote:
>>>> The current wording would allow you to do something like this:
>>>>
>>>> <iq type=3D'set' xmlns=3D'jabber:client'>
>>>>  <tunnel xmlns=3D'urn:xmpp:example'>
>>>>    <message xmlns=3D'jabber:server'>
>>>>      <foo xmlns=3D'http://example.com/ns'/>
>>>>    </message>
>>>>  </tunnel>
>>>> </iq>
>>>
>>> The text I sent was intended to disallow this. A client shouldn't be
>>> sending anything in jabber:server, at all. In my /very/ humble
>>> opinion..
>>
>> Given that the <message/> element above is wrapped in some other
>> namespace and thus shielded from the re-scoping operation, is there ha=
rm
>> in allowing it? I don't have a strong opinion either way (I admit that=
 I
>> see no good reason to send such data, but I can imagine some scenarios=

>> in which it might be legitimate, such as abuse reporting).
>=20
> Well, if we can mandate that the default namespace is declared only
> once, in the stream header, then this seems reasonable. Then a server
> need only pass the stanzas straight through without mangling them and
> everything's good. If we do that, I don't have a problem with saying
> that servers pass through any explicitly namespaced stanza children,
> irrespective of whether they're urn:xmpp:delay or jabber:server I
> guess. What I don't like is the way we seem to be going with requiring
> deep inspection with special rules about which children need
> rescoping, which don't, etc.

Yes, I don't like DPI, either.

IMHO the child elements would be re-scoped by inheritance from the
stanza level. Some parsers might do that by adding 'jabber:server' to
each unqualified child element, and some might do that by adding it only
to the stanza element itself (implementation detail). But I think it
would be odd for the server to perform deep packet inspection and then
re-scoping surgery on elements way down in the hierarchy.

> But I don't  think this is an issue worth delaying over overly much, I
> would have been happy with the text as it was before the start of this
> thread, so as long as we don't take a big step backwards it seems
> fine.

Agreed. Here is what I now have in my working copy for the relevant part
of Section 4.7.5 (includes some small text fixes):

###

   Client implementations MUST support the 'jabber:client' content
   namespace as a default namespace.  The 'jabber:server' content
   namespace is out of scope for an XMPP client, and a client MUST NOT
   send stanzas qualified by the 'jabber:server' namespace.

   Server implementations MUST support as default content namespaces
   both the 'jabber:client' namespace (when the stream is used for
   communication between a client and a server) and the 'jabber:server'
   namespace (when the stream is used for communication between two
   servers).  When communicating with a connected client, a server MUST
   NOT send stanzas qualified by the 'jabber:server' namespace; when
   communicating with a peer server, a server MUST NOT send stanzas
   qualified by the 'jabber:client' namespace.

      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 needs to "re-scope" the stanza so that
      its content namespace is 'jabber:server'.  Similarly, a routing
      server needs to "re-scope" a stanza received over a server-to-
      server stream so that the stanza is qualified by the 'jabber:
      client' namespace before delivering it over a client-to-server
      stream.  This rule applies to XML stanzas as defined under
      Section 4.1 (i.e., a first-level <message/>, <presence/>, or <iq/>
      element qualified by the 'jabber:client' or 'jabber:server'
      namespace), and by inheritance to all child elements of a stanza;
      however the rule does not apply to elements qualified by
      namespaces other than 'jabber:client' and 'jabber:server' nor to
      any children of such elements (e.g., a <message/> element
      contained within an extension element (Section 8.4) for reporting
      purposes).

###


--------------ms090306040605090704070406
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
dGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRhbC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PRVNmmFfoEeFF3YOj2b4yFELWYwzOREJ9obTj/bXnNQm0o2iJtt2Jwe
YS70J3iyhYRyZbMGTOaCMvIj8Xc7kTywpY2DRsw21oqDkWkmkvwweiOIQ5FSjPTdcV9sF1yu
du3Xy8/SHE8FWo88IqziDjEFp1Hhyr8daWM0unPtg+eoa9lWN0y3oIxnq2/7nRtvPifZxomZ
YZE7a8ATTPTSfvkhodDs60GMrvgj0+beMfh7gDTdeOh6i2ZBkspdZdbfXZj9dol9uoj0ezb5
0fJFVCrQ6z0zSGVhyxjCV8V/sNJy+r7XLHyg9PI57iWpWoZ+ArYVSuhnR3jznjN+MOoaAAAA
AAAA
--------------ms090306040605090704070406--

From stpeter@stpeter.im  Wed Nov 17 14:40: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 6D1423A69BD for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:40:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.347
X-Spam-Level: 
X-Spam-Status: No, score=-102.347 tagged_above=-999 required=5 tests=[AWL=0.252, 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 EwcLBUHXKrtt for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:40:47 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 37CD73A6781 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:40:46 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 5768440BB9 for <xmpp@ietf.org>; Wed, 17 Nov 2010 15:51:00 -0700 (MST)
Message-ID: <4CE459FB.6090701@stpeter.im>
Date: Wed, 17 Nov 2010 15:40:59 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im>	<4CE3B304.3050605@babelmonkeys.de>	<AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>	<4CE3E494.9000202@stpeter.im>	<707068.29474.qm@web95403.mail.in2.yahoo.com>	<AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>	<204473.45686.qm@web95406.mail.in2.yahoo.com>	<4CE4509E.5020207@stpeter.im>	<AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>	<4CE451DF.2020606@stpeter.im>	<AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com> <4CE4572F.3030807@stpeter.im>
In-Reply-To: <4CE4572F.3030807@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="------------ms030007060707090203090207"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:40:54 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 3:29 PM, Peter Saint-Andre wrote:

>       Implementation Note: Because a client sends stanzas over a stream=

>       whose content namespace is 'jabber:client', if the server to whic=
h
>       the client is connected needs to route a client-generated stanza
>       to another server then it needs to "re-scope" the stanza so that
>       its content namespace is 'jabber:server'.  Similarly, a routing
>       server needs to "re-scope" a stanza received over a server-to-
>       server stream so that the stanza is qualified by the 'jabber:
>       client' namespace before delivering it over a client-to-server
>       stream.  This rule applies to XML stanzas as defined under
>       Section 4.1 (i.e., a first-level <message/>, <presence/>, or <iq/=
>
>       element qualified by the 'jabber:client' or 'jabber:server'
>       namespace), and by inheritance to all child elements of a stanza;=

>       however the rule does not apply to elements qualified by
>       namespaces other than 'jabber:client' and 'jabber:server' nor to
>       any children of such elements (e.g., a <message/> element
>       contained within an extension element (Section 8.4) for reporting=

>       purposes).

That's confusingly worded in places. I think this is more readable:

      Implementation Note: Because a client sends stanzas over a stream
      whose content namespace is 'jabber:client', if a server routes to
      a peer server a stanza it has received from a connected client
      then it needs to "re-scope" the stanza so that its content
      namespace is 'jabber:server'.  Similarly, if a server delivers to
      a connected client a stanza it has received from a peer server
      then it needs to "re-scope" the stanza so that its content
      namespace is 'jabber:client'.  This rule applies to XML stanzas as
      defined under Section 4.1 (i.e., a first-level <message/>,
      <presence/>, or <iq/> element qualified by the 'jabber:client' or
      'jabber:server' namespace), and by namespace inheritance to all
      child elements of a stanza; however the rule does not apply to
      elements qualified by namespaces other than 'jabber:client' and
      'jabber:server' nor to any children of such elements (e.g., a
      <message/> element contained within an extension element
      (Section 8.4) for reporting purposes).

/psa


--------------ms030007060707090203090207
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/XkCAwEAAaOCAa0wggGpMA8GA1U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MCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCVr/HsG2V4pYYThYFD6ywovAjykMs0y2FXU9E4+pD08pSvR32f/qeQSohp
nwL7aKH/Ke/uPIyvRFucA3eU6zSKeZWkfALeQ3quJD6y9M5fY0t02Wg3gIvsB2hjOVKXqrRP
t7zGkd2fJGPMiScxVEpFPQe2qig3qQxaosDqN9XXJw5hU2suTl7VTDT5+u/w8M9cTLHa/cfR
WR2y5gs6y4dD1tylijlVx8drGw+tipdjKa1RRkPu1TRdQWY0LayzzClkthuUE4P4kTbyOAEH
xE3ZemvHY9m/Dl77DpwRaJ7sZcOnPqz91aWC+HMPHxxkI6LCX2tGwPh7zBaEOCOz/f1YAAAA
AAAA
--------------ms030007060707090203090207--

From k.i.smith@gmail.com  Wed Nov 17 14:40:55 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 AE75C3A682A for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:40:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.585
X-Spam-Level: 
X-Spam-Status: No, score=-1.585 tagged_above=-999 required=5 tests=[AWL=-0.208, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, 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 gYXMZh0nb+ZI for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:40:54 -0800 (PST)
Received: from mail-vw0-f44.google.com (mail-vw0-f44.google.com [209.85.212.44]) by core3.amsl.com (Postfix) with ESMTP id 63B643A69AB for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:40:46 -0800 (PST)
Received: by vws19 with SMTP id 19so195788vws.31 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:41:05 -0800 (PST)
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=zZ0xwPTmasQW4E+PNayoylWrx7mjOgRxzlG/Ek1u95k=; b=qTnrMrUe0rILzbZaa8ZytbjarPbWPpL6s8DzaHkBk1jkGRmIW+uvs6UsF6d4P1TBuh rHgySfUov/NxlhCg0KHoZ+cJ4Wx+3GCSrH5rci1VxSyfOkq8pS8jZImp+rUqd78ckANR vvCJaLiJt/4Y1IDMrydnag/cHpWBhHFwu05nU=
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=J3GsBaa/VGsotmrNsf3tSeio1tNHOdyI0Vstf5yRDXATWdZwT7Qyxq//pR+h7AAL+x thVXVEtp1H+67Pm6oN2fKEmgQIIwcMwZjLeUBWUupi6S3uaHynTu0uVXKLrD036tVrG4 IwIxZNKUpP+2DSYKldPiruDxb12qWXEoWTtxo=
MIME-Version: 1.0
Received: by 10.229.233.19 with SMTP id jw19mr8135916qcb.7.1290033665252; Wed, 17 Nov 2010 14:41:05 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Wed, 17 Nov 2010 14:41:05 -0800 (PST)
In-Reply-To: <4CE4572F.3030807@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com> <204473.45686.qm@web95406.mail.in2.yahoo.com> <4CE4509E.5020207@stpeter.im> <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com> <4CE451DF.2020606@stpeter.im> <AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com> <4CE4572F.3030807@stpeter.im>
Date: Wed, 17 Nov 2010 22:41:05 +0000
X-Google-Sender-Auth: jBGnTS-mcWulBiB8gbMgTBQ55Z0
Message-ID: <AANLkTikaCQq6pvBpcgdttXXhcQ-bpLLLvNa=7x9NkicV@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@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:40:55 -0000

On Wed, Nov 17, 2010 at 10:29 PM, Peter Saint-Andre <stpeter@stpeter.im> wr=
ote:
> /me glances at his deadline clock, which shows ~8 hours before submit
>
> On 11/17/10 3:12 PM, Kevin Smith wrote:
>> On Wed, Nov 17, 2010 at 10:06 PM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>>> On 11/17/10 3:04 PM, Kevin Smith wrote:
>>>> On Wed, Nov 17, 2010 at 10:01 PM, Peter Saint-Andre <stpeter@stpeter.i=
m> wrote:
>>>>> The current wording would allow you to do something like this:
>>>>>
>>>>> <iq type=3D'set' xmlns=3D'jabber:client'>
>>>>> =A0<tunnel xmlns=3D'urn:xmpp:example'>
>>>>> =A0 =A0<message xmlns=3D'jabber:server'>
>>>>> =A0 =A0 =A0<foo xmlns=3D'http://example.com/ns'/>
>>>>> =A0 =A0</message>
>>>>> =A0</tunnel>
>>>>> </iq>
>>>>
>>>> The text I sent was intended to disallow this. A client shouldn't be
>>>> sending anything in jabber:server, at all. In my /very/ humble
>>>> opinion..
>>>
>>> Given that the <message/> element above is wrapped in some other
>>> namespace and thus shielded from the re-scoping operation, is there har=
m
>>> in allowing it? I don't have a strong opinion either way (I admit that =
I
>>> see no good reason to send such data, but I can imagine some scenarios
>>> in which it might be legitimate, such as abuse reporting).
>>
>> Well, if we can mandate that the default namespace is declared only
>> once, in the stream header, then this seems reasonable. Then a server
>> need only pass the stanzas straight through without mangling them and
>> everything's good. If we do that, I don't have a problem with saying
>> that servers pass through any explicitly namespaced stanza children,
>> irrespective of whether they're urn:xmpp:delay or jabber:server I
>> guess. What I don't like is the way we seem to be going with requiring
>> deep inspection with special rules about which children need
>> rescoping, which don't, etc.
>
> Yes, I don't like DPI, either.
>
> IMHO the child elements would be re-scoped by inheritance from the
> stanza level. Some parsers might do that by adding 'jabber:server' to
> each unqualified child element, and some might do that by adding it only
> to the stanza element itself (implementation detail). But I think it
> would be odd for the server to perform deep packet inspection and then
> re-scoping surgery on elements way down in the hierarchy.
>
>> But I don't =A0think this is an issue worth delaying over overly much, I
>> would have been happy with the text as it was before the start of this
>> thread, so as long as we don't take a big step backwards it seems
>> fine.
>
> Agreed. Here is what I now have in my working copy for the relevant part
> of Section 4.7.5 (includes some small text fixes):
>
> ###
>
> =A0 Client implementations MUST support the 'jabber:client' content
> =A0 namespace as a default namespace. =A0The 'jabber:server' content
> =A0 namespace is out of scope for an XMPP client, and a client MUST NOT
> =A0 send stanzas qualified by the 'jabber:server' namespace.
>
> =A0 Server implementations MUST support as default content namespaces
> =A0 both the 'jabber:client' namespace (when the stream is used for
> =A0 communication between a client and a server) and the 'jabber:server'
> =A0 namespace (when the stream is used for communication between two
> =A0 servers). =A0When communicating with a connected client, a server MUS=
T
> =A0 NOT send stanzas qualified by the 'jabber:server' namespace; when
> =A0 communicating with a peer server, a server MUST NOT send stanzas
> =A0 qualified by the 'jabber:client' namespace.
>
> =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 needs to "re-scope" the stanza so th=
at
> =A0 =A0 =A0its content namespace is 'jabber:server'. =A0Similarly, a rout=
ing
> =A0 =A0 =A0server needs to "re-scope" a stanza received over a server-to-
> =A0 =A0 =A0server stream so that the stanza is qualified by the 'jabber:
> =A0 =A0 =A0client' namespace before delivering it over a client-to-server
> =A0 =A0 =A0stream. =A0This rule applies to XML stanzas as defined under
> =A0 =A0 =A0Section 4.1 (i.e., a first-level <message/>, <presence/>, or <=
iq/>
> =A0 =A0 =A0element qualified by the 'jabber:client' or 'jabber:server'
> =A0 =A0 =A0namespace), and by inheritance to all child elements of a stan=
za;
> =A0 =A0 =A0however the rule does not apply to elements qualified by
> =A0 =A0 =A0namespaces other than 'jabber:client' and 'jabber:server' nor =
to
> =A0 =A0 =A0any children of such elements (e.g., a <message/> element
> =A0 =A0 =A0contained within an extension element (Section 8.4) for report=
ing
> =A0 =A0 =A0purposes).
>
> ###

This seems to be internally consistent, and clearly specified,
addressing all the previously noted interop issues. Whether it's the
very best we could do I'm not sure, but it seems sufficient and
timely. I'd suggest simply appending the following text (or something
wordsmithed to your satisfaction), but won't cry foul if you disagree:
"""
While it is not forbidden for entities to generate stanzas whereby a
child element with an extension namespace has a child whose namespace
is 'jabber:client' or 'jabber:server', it is known that existing
implementations will handle this inconsistently, so an implementor
will need to weigh this against the possible utility of such a stanza.
"""

/K

From stpeter@stpeter.im  Wed Nov 17 14: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 7B2C93A67B4 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:42:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.36
X-Spam-Level: 
X-Spam-Status: No, score=-102.36 tagged_above=-999 required=5 tests=[AWL=0.239, 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 zM6hMr1qI9tL for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:42:50 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 5119C3A6781 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:42:49 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 611DD40BB9; Wed, 17 Nov 2010 15:53:34 -0700 (MST)
Message-ID: <4CE45A96.8010606@stpeter.im>
Date: Wed, 17 Nov 2010 15:43:34 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: kevin@kismith.co.uk
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im>	<4CE3B304.3050605@babelmonkeys.de>	<AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>	<4CE3E494.9000202@stpeter.im>	<707068.29474.qm@web95403.mail.in2.yahoo.com>	<AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>	<204473.45686.qm@web95406.mail.in2.yahoo.com>	<4CE4509E.5020207@stpeter.im>	<AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>	<4CE451DF.2020606@stpeter.im>	<AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com>	<4CE4572F.3030807@stpeter.im> <AANLkTikaCQq6pvBpcgdttXXhcQ-bpLLLvNa=7x9NkicV@mail.gmail.com>
In-Reply-To: <AANLkTikaCQq6pvBpcgdttXXhcQ-bpLLLvNa=7x9NkicV@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="------------ms090305020601040508050201"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:42:53 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 3:41 PM, Kevin Smith wrote:

> I'd suggest simply appending the following text (or something
> wordsmithed to your satisfaction), but won't cry foul if you disagree:
> """
> While it is not forbidden for entities to generate stanzas whereby a
> child element with an extension namespace has a child whose namespace
> is 'jabber:client' or 'jabber:server', it is known that existing
> implementations will handle this inconsistently, so an implementor
> will need to weigh this against the possible utility of such a stanza.
> """

That seems helpful, thanks. It *is* an implementation note, after all. ;-=
)

Peter

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




--------------ms090305020601040508050201
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
BjQwggQcoAMCAQICASMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1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EludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAlIhby7dYV0GPERCSyu7qHiuYPPa6uy1m4FDMhl1ftvYd1rTEbt5R4Jfr9
awlmLw1cI9pRBOF6IuVbjh8cbY/Po0qMq9RjUSFDwA9CnsMIOWDP+PwlKDMQT7vRog3q5HlP
M6Cd1lUF2ILXhMBeb8oWSNqWbljowewqjoozIBjcq7scWLocSjaqB0BGYb+QE+xNX5Q+feHG
iRH6mzgSBkkVNeEbWzQB2zgy+44TPnhEYd4HFslSA0DNutK2F0LHAuPq+umJ9K2Vs9NBJsMs
nDWWHXcL/WElKOG62bHjg/9rSh6+TuNCDtoAahoc4ewxNrj/6xYaSGix4kVNIY6il6sVAAAA
AAAA
--------------ms090305020601040508050201--

From stpeter@stpeter.im  Wed Nov 17 14:50:19 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 BA5713A680F for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:50:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.372
X-Spam-Level: 
X-Spam-Status: No, score=-102.372 tagged_above=-999 required=5 tests=[AWL=0.227, 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 Xkc3kVRiQuVD for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 14:50:19 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id DD3683A6807 for <xmpp@ietf.org>; Wed, 17 Nov 2010 14:50:18 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 47D8840BB9; Wed, 17 Nov 2010 16:01:04 -0700 (MST)
Message-ID: <4CE45C57.6030106@stpeter.im>
Date: Wed, 17 Nov 2010 15:51:03 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: kevin@kismith.co.uk
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im>	<4CE3B304.3050605@babelmonkeys.de>	<AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>	<4CE3E494.9000202@stpeter.im>	<707068.29474.qm@web95403.mail.in2.yahoo.com>	<AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>	<204473.45686.qm@web95406.mail.in2.yahoo.com>	<4CE4509E.5020207@stpeter.im>	<AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>	<4CE451DF.2020606@stpeter.im>	<AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com>	<4CE4572F.3030807@stpeter.im>	<AANLkTikaCQq6pvBpcgdttXXhcQ-bpLLLvNa=7x9NkicV@mail.gmail.com> <4CE45A96.8010606@stpeter.im>
In-Reply-To: <4CE45A96.8010606@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="------------ms020507040800020901080504"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 22:50:19 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 3:43 PM, Peter Saint-Andre wrote:
> On 11/17/10 3:41 PM, Kevin Smith wrote:
>=20
>> I'd suggest simply appending the following text (or something
>> wordsmithed to your satisfaction), but won't cry foul if you disagree:=

>> """
>> While it is not forbidden for entities to generate stanzas whereby a
>> child element with an extension namespace has a child whose namespace
>> is 'jabber:client' or 'jabber:server', it is known that existing
>> implementations will handle this inconsistently, so an implementor
>> will need to weigh this against the possible utility of such a stanza.=

>> """
>=20
> That seems helpful, thanks. It *is* an implementation note, after all. =
;-)

Wordsmithed in my working copy to:

                                              Although it is not
      forbidden for an entity to generate stanzas in which an extension
      element contains a child element qualified by the 'jabber:client'
      or 'jabber:server' namespace, existing implementations handle such
      stanzas inconsistently; therefore implementers are advised to
      weigh the likely lack of interoperability against the possible
      utility of such stanzas.



--------------ms020507040800020901080504
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/BAQDAgEGMB0GA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ggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB10XuxpExC3iF/UWM/CLBPjsLS0jkNork82ku9B2rDuTl9j10d5uFfKLcD
FM7XKs6P4Ce/0pHc8QxmarhC5uxUoOtFVX0mflg+O8MS8QgWbHE/zb2xdkdx0py6HR9gq2tO
iJ7mKgV3Kny65fQcerh3K3kh71EATMGQtl7hsHxyngstiVbDsZgQ39vvvtKs8mcfrzACujGO
z2oU9Rsv3jxBRZhpE/EfQail/TGqZnt/ZXWHdLaYiDKCIvJC4+VAek5TIiVxXoqfJ7Vv5ONx
Len7yIzgMRSXi3hSBmHAAVKIB9cS5tDm0a+KF2VKqa80BgpRzpkea+L7De6cwhwdBJE8AAAA
AAAA
--------------ms020507040800020901080504--

From k.i.smith@gmail.com  Wed Nov 17 15:03:45 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 8DF7F3A6807 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 15:03:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.87
X-Spam-Level: 
X-Spam-Status: No, score=-1.87 tagged_above=-999 required=5 tests=[AWL=0.107,  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 VIP1Ghf3UOXT for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 15:03:44 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 149D73A67FC for <xmpp@ietf.org>; Wed, 17 Nov 2010 15:03:43 -0800 (PST)
Received: by qyk5 with SMTP id 5so791573qyk.10 for <xmpp@ietf.org>; Wed, 17 Nov 2010 15:04:30 -0800 (PST)
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=TtcCbcUMtoIQAJiHskd32qeLSi4NJBjISnYyojs3s3M=; b=JbinKS+2j7re+fg6mQostDMK4EK06FtT86815AAjERGuQ/oKbzX2cb2LXqQenf5woA mY4e5L/Kgxot04YrmKum5Z243Fu3wbGVKhRn9xn068IdGF3549OO1ftaZFovhM6WuBBZ ixXUgFeuU074XZnKmtKhIxny5xmV/wNCoiJto=
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=Y6r3904xBqN/T2xTqaSaFVJrP7ZzS6h2G4qB8HoeCqn5IyQQ+7Wjv4bati3AeWkDQY bzpsLrUT2ri3Ddl2Z2x1VdFDa4mfX3cY9LZ8Q1gD5OPYOYsmpyJKkVllOoEv6RrSP8vy g+hKnssZO5IH3thI3EAFsN1CE0V3CjrsXKesQ=
MIME-Version: 1.0
Received: by 10.229.223.139 with SMTP id ik11mr8085523qcb.273.1290035069952; Wed, 17 Nov 2010 15:04:29 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Wed, 17 Nov 2010 15:04:29 -0800 (PST)
In-Reply-To: <4CE45C57.6030106@stpeter.im>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE32D0B.5030803@stpeter.im> <AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com> <201011161805.18288.justin@affinix.com> <4CE34495.3010200@stpeter.im> <4CE3B304.3050605@babelmonkeys.de> <AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com> <4CE3E494.9000202@stpeter.im> <707068.29474.qm@web95403.mail.in2.yahoo.com> <AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com> <204473.45686.qm@web95406.mail.in2.yahoo.com> <4CE4509E.5020207@stpeter.im> <AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com> <4CE451DF.2020606@stpeter.im> <AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com> <4CE4572F.3030807@stpeter.im> <AANLkTikaCQq6pvBpcgdttXXhcQ-bpLLLvNa=7x9NkicV@mail.gmail.com> <4CE45A96.8010606@stpeter.im> <4CE45C57.6030106@stpeter.im>
Date: Wed, 17 Nov 2010 23:04:29 +0000
X-Google-Sender-Auth: sdyr6_5uCMMhKNEqG9E6vfZqz54
Message-ID: <AANLkTikci0PvyJpK56qx3GR=B_56PUJDmwWjBkFyLyDE@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@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 23:03:45 -0000

On Wed, Nov 17, 2010 at 10:51 PM, Peter Saint-Andre <stpeter@stpeter.im> wr=
ote:
> On 11/17/10 3:43 PM, Peter Saint-Andre wrote:
>> On 11/17/10 3:41 PM, Kevin Smith wrote:
>>
>>> I'd suggest simply appending the following text (or something
>>> wordsmithed to your satisfaction), but won't cry foul if you disagree:
>>> """
>>> While it is not forbidden for entities to generate stanzas whereby a
>>> child element with an extension namespace has a child whose namespace
>>> is 'jabber:client' or 'jabber:server', it is known that existing
>>> implementations will handle this inconsistently, so an implementor
>>> will need to weigh this against the possible utility of such a stanza.
>>> """
>>
>> That seems helpful, thanks. It *is* an implementation note, after all. ;=
-)
>
> Wordsmithed in my working copy to:
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0Although it is not
> =A0 =A0 =A0forbidden for an entity to generate stanzas in which an extens=
ion
> =A0 =A0 =A0element contains a child element qualified by the 'jabber:clie=
nt'
> =A0 =A0 =A0or 'jabber:server' namespace, existing implementations handle =
such
> =A0 =A0 =A0stanzas inconsistently; therefore implementers are advised to
> =A0 =A0 =A0weigh the likely lack of interoperability against the possible
> =A0 =A0 =A0utility of such stanzas.

Ta.

/K

From florob@babelmonkeys.de  Wed Nov 17 15:20:32 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 A35143A67FC for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 15:20:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.249
X-Spam-Level: 
X-Spam-Status: No, score=-3.249 tagged_above=-999 required=5 tests=[AWL=1.000,  BAYES_00=-2.599, GB_I_LETTER=-2, 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 NlRpisSDHxNO for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 15:20:29 -0800 (PST)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 492E83A69AC for <xmpp@ietf.org>; Wed, 17 Nov 2010 15:20:29 -0800 (PST)
Received: from xdsl-87-79-172-28.netcologne.de ([87.79.172.28] helo=[192.168.234.167]) by babelmonkeys.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1PIrJL-0001H0-8f for xmpp@ietf.org; Thu, 18 Nov 2010 00:21:07 +0100
Message-ID: <4CE463BF.1020401@babelmonkeys.de>
Date: Thu, 18 Nov 2010 00:22:39 +0100
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101028 Lanikai/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im>	<4CE3B304.3050605@babelmonkeys.de>	<AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>	<4CE3E494.9000202@stpeter.im>	<707068.29474.qm@web95403.mail.in2.yahoo.com>	<AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>	<204473.45686.qm@web95406.mail.in2.yahoo.com>	<4CE4509E.5020207@stpeter.im>	<AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>	<4CE451DF.2020606@stpeter.im>	<AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com>	<4CE4572F.3030807@stpeter.im>	<AANLkTikaCQq6pvBpcgdttXXhcQ-bpLLLvNa=7x9NkicV@mail.gmail.com>	<4CE45A96.8010606@stpeter.im> <4CE45C57.6030106@stpeter.im>
In-Reply-To: <4CE45C57.6030106@stpeter.im>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 23:20:32 -0000

On 17.11.2010 23:51, Peter Saint-Andre wrote:
> On 11/17/10 3:43 PM, Peter Saint-Andre wrote:
>> On 11/17/10 3:41 PM, Kevin Smith wrote:
>>
>>> I'd suggest simply appending the following text (or something
>>> wordsmithed to your satisfaction), but won't cry foul if you disagree:
>>> """
>>> While it is not forbidden for entities to generate stanzas whereby a
>>> child element with an extension namespace has a child whose namespace
>>> is 'jabber:client' or 'jabber:server', it is known that existing
>>> implementations will handle this inconsistently, so an implementor
>>> will need to weigh this against the possible utility of such a stanza.
>>> """
>>
>> That seems helpful, thanks. It *is* an implementation note, after all. ;-)
> 
> Wordsmithed in my working copy to:
> 
>                                               Although it is not
>       forbidden for an entity to generate stanzas in which an extension
>       element contains a child element qualified by the 'jabber:client'
>       or 'jabber:server' namespace, existing implementations handle such
>       stanzas inconsistently; therefore implementers are advised to
>       weigh the likely lack of interoperability against the possible
>       utility of such stanzas.
> 

I start feeling bad about saying this, but my comment still holds true.
<message xmlns="jabber:client"><body xmlns="jabber:server"/></message>
will ultimately end up as
<message xmlns="jabber:client"><body/></message>
even when following the proposed text to the letter (assuming
namespace-awareness).
It's true we do additionally have a inconsistency, because servers that
don't use parsers in namespace-aware mode do actually re-re-scope the
stanzas as
<message xmlns="jabber:client"><body xmlns="jabber:server"/></message>
but technically, that is due to wrong handling of namespaces...

--
Florian Zeitz

From stpeter@stpeter.im  Wed Nov 17 15:34: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 8EAE73A69B4 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 15:34:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.383
X-Spam-Level: 
X-Spam-Status: No, score=-103.383 tagged_above=-999 required=5 tests=[AWL=1.216, 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 DY2a0STOleQY for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 15:34:45 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2939A3A69B3 for <xmpp@ietf.org>; Wed, 17 Nov 2010 15:34:45 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 8093640BB9; Wed, 17 Nov 2010 16:45:30 -0700 (MST)
Message-ID: <4CE466C1.6080206@stpeter.im>
Date: Wed, 17 Nov 2010 16:35:29 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Florian Zeitz <florob@babelmonkeys.de>
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE32D0B.5030803@stpeter.im>	<AANLkTi=Xc4YQ6s1ppzFQSbMfVHLjRw6-az3Bn-8=onNJ@mail.gmail.com>	<201011161805.18288.justin@affinix.com>	<4CE34495.3010200@stpeter.im>	<4CE3B304.3050605@babelmonkeys.de>	<AANLkTikKwieSZcRh6qKDGHE0mTNptJ=+7RkAabvXz1xC@mail.gmail.com>	<4CE3E494.9000202@stpeter.im>	<707068.29474.qm@web95403.mail.in2.yahoo.com>	<AANLkTimQtMW-3u++y86BD+F4=W7gZ8EEorcN4tuendK2@mail.gmail.com>	<204473.45686.qm@web95406.mail.in2.yahoo.com>	<4CE4509E.5020207@stpeter.im>	<AANLkTikvosEimDXrDsW2K+K0zZEMYGjU5Z_2R1Y8nzsg@mail.gmail.com>	<4CE451DF.2020606@stpeter.im>	<AANLkTi=WRJVyB5meLFWKSgO2d2pUqNm5GWm0rnLDxn9p@mail.gmail.com>	<4CE4572F.3030807@stpeter.im>	<AANLkTikaCQq6pvBpcgdttXXhcQ-bpLLLvNa=7x9NkicV@mail.gmail.com>	<4CE45A96.8010606@stpeter.im>	<4CE45C57.6030106@stpeter.im> <4CE463BF.1020401@babelmonkeys.de>
In-Reply-To: <4CE463BF.1020401@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="------------ms090301090401040800020504"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 17 Nov 2010 23:34:49 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 4:22 PM, Florian Zeitz wrote:
> On 17.11.2010 23:51, Peter Saint-Andre wrote:
>> On 11/17/10 3:43 PM, Peter Saint-Andre wrote:
>>> On 11/17/10 3:41 PM, Kevin Smith wrote:
>>>
>>>> I'd suggest simply appending the following text (or something
>>>> wordsmithed to your satisfaction), but won't cry foul if you disagre=
e:
>>>> """
>>>> While it is not forbidden for entities to generate stanzas whereby a=

>>>> child element with an extension namespace has a child whose namespac=
e
>>>> is 'jabber:client' or 'jabber:server', it is known that existing
>>>> implementations will handle this inconsistently, so an implementor
>>>> will need to weigh this against the possible utility of such a stanz=
a.
>>>> """
>>>
>>> That seems helpful, thanks. It *is* an implementation note, after all=
=2E ;-)
>>
>> Wordsmithed in my working copy to:
>>
>>                                               Although it is not
>>       forbidden for an entity to generate stanzas in which an extensio=
n
>>       element contains a child element qualified by the 'jabber:client=
'
>>       or 'jabber:server' namespace, existing implementations handle su=
ch
>>       stanzas inconsistently; therefore implementers are advised to
>>       weigh the likely lack of interoperability against the possible
>>       utility of such stanzas.
>>
>=20
> I start feeling bad about saying this, but my comment still holds true.=

> <message xmlns=3D"jabber:client"><body xmlns=3D"jabber:server"/></messa=
ge>
> will ultimately end up as
> <message xmlns=3D"jabber:client"><body/></message>
> even when following the proposed text to the letter (assuming
> namespace-awareness).

Yes, that's true, and I think it's intentional. I also think it doesn't
matter, because the two namespaces are semantically equivalent.

> It's true we do additionally have a inconsistency, because servers that=

> don't use parsers in namespace-aware mode do actually re-re-scope the
> stanzas as
> <message xmlns=3D"jabber:client"><body xmlns=3D"jabber:server"/></messa=
ge>
> but technically, that is due to wrong handling of namespaces...

Yeah, we can't design around such bugs. :)

Peter

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




--------------ms090301090401040800020504
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
aW5nMTgwNgYDVQQDEy9TdGFydEN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xs
PrHSZ0pDlFBz/z5IbE1ttQAvpAnYd2yiM1VN7GaqQUQ5HugWGqOE7zD3F8nxwqtZKSSl3NIt
kq3Xat2B8YFdZI+1ZE7/maMP/PrfgnFw3JPvPgi3GMJv/lFP3jS4eIF6F5bHOBTKa7WDzYw3
bZF/+DiuUf67UeYhzRNQ+DVkYm127ZrBy2treEgvqAhsQ1qVbCA/PJc5OS6dAV9zgglM+odj
0PdvnyesMGFQZ0xxg3RRQyG7PsvnDKBwcARLiCb1yDVHkapKMG7A+ODZp/EyvzVZSNeNAAAA
AAAA
--------------ms090301090401040800020504--

From Internet-Drafts@ietf.org  Wed Nov 17 17:00:02 2010
Return-Path: <Internet-Drafts@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 A4A303A6452; Wed, 17 Nov 2010 17:00:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.823
X-Spam-Level: 
X-Spam-Status: No, score=-101.823 tagged_above=-999 required=5 tests=[AWL=0.776, 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 ryRT8N8dr0Vw; Wed, 17 Nov 2010 17:00:01 -0800 (PST)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A1A2F3A63D3; Wed, 17 Nov 2010 17:00:01 -0800 (PST)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.09
Message-ID: <20101118010001.21363.15785.idtracker@localhost>
Date: Wed, 17 Nov 2010 17:00:01 -0800
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-3920bis-19.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: Thu, 18 Nov 2010 01:00:02 -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-19.txt
	Pages           : 205
	Date            : 2010-11-17

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-19.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-19.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

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


--NextPart--

From Internet-Drafts@ietf.org  Wed Nov 17 17:00:03 2010
Return-Path: <Internet-Drafts@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 42E1B3A6452; Wed, 17 Nov 2010 17:00:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.952
X-Spam-Level: 
X-Spam-Status: No, score=-101.952 tagged_above=-999 required=5 tests=[AWL=0.647, 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 9pslRIhv6oqA; Wed, 17 Nov 2010 17:00:02 -0800 (PST)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id BB2AD3A676A; Wed, 17 Nov 2010 17:00:01 -0800 (PST)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.09
Message-ID: <20101118010001.21363.69794.idtracker@localhost>
Date: Wed, 17 Nov 2010 17:00:01 -0800
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-3921bis-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: Thu, 18 Nov 2010 01:00:03 -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-17.txt
	Pages           : 114
	Date            : 2010-11-17

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-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-3921bis-17.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

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


--NextPart--

From Internet-Drafts@ietf.org  Wed Nov 17 17:00:03 2010
Return-Path: <Internet-Drafts@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 DD2973A6778; Wed, 17 Nov 2010 17:00:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.045
X-Spam-Level: 
X-Spam-Status: No, score=-102.045 tagged_above=-999 required=5 tests=[AWL=0.554, 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 gZ5zTOWTqBDW; Wed, 17 Nov 2010 17:00:03 -0800 (PST)
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id CFEC53A677D; Wed, 17 Nov 2010 17:00:01 -0800 (PST)
MIME-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
From: Internet-Drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.09
Message-ID: <20101118010001.21363.26758.idtracker@localhost>
Date: Wed, 17 Nov 2010 17:00:01 -0800
Cc: xmpp@ietf.org
Subject: [xmpp] I-D Action:draft-ietf-xmpp-address-07.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: Thu, 18 Nov 2010 01:00: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): Address Format
	Author(s)       : P. Saint-Andre
	Filename        : draft-ietf-xmpp-address-07.txt
	Pages           : 22
	Date            : 2010-11-17

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-07.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-07.txt";
	site="ftp.ietf.org"; access-type="anon-ftp";
	directory="internet-drafts"

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


--NextPart--

From stpeter@stpeter.im  Wed Nov 17 17:14:32 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 61E4D3A677E for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 17:14:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.479
X-Spam-Level: 
X-Spam-Status: No, score=-102.479 tagged_above=-999 required=5 tests=[AWL=0.120, 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 GWTeNQnRR340 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 17:14:23 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 8266C3A6774 for <xmpp@ietf.org>; Wed, 17 Nov 2010 17:14:23 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DA73C40BB9; Wed, 17 Nov 2010 18:25:08 -0700 (MST)
Message-ID: <4CE47E1B.60605@stpeter.im>
Date: Wed, 17 Nov 2010 18:15:07 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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="------------ms050007040405060208090500"
Subject: [xmpp] next stop: IESG
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, 18 Nov 2010 01:14:32 -0000

This is a cryptographically signed message in MIME format.

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

As you can see, I've submitted revised I-Ds for the specs that our
responsible AD has called the XMPP trilogy (move over, Lord of the Rings!=
).

Most of the changes in these versions resulted from the security reviews
provided by Yaron Sheffer (3920bis) and Richard Barnes (3921bis,
address). I found their reviews very helpful, so thanks to Yaron and
Richard.

Diffs are here:

http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-xmpp-3920bis-19

http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-xmpp-3921bis-17

http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-xmpp-address-07

FYI, I also just posted a revised I-D for one of our normative references=
:

http://tools.ietf.org/rfcdiff?url2=3Ddraft-saintandre-tls-server-id-check=
-11

If you are so inclined, feel free to check the diffs to make sure that
all feedback was incorporated correctly.

Next step: review by the IESG. (We're also still hoping for reviews by
the General Area Review Team.)

Onward and upward!

Peter

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




--------------ms050007040405060208090500
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
Z25pbmcxKTAnBgNVBAMTIFN0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zApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB638Ql9EnX5hj7j7RkW9qxg4sayLqjKoRickIFCHXjA+rDSLHTBP/ed4li
snPUWd1tS/3Mw54UvOGJ9Cv+FVNqXuwSCag/0QAnA2FcdDcOmYLXrQGVwfbWyc96rCeTkMIK
X/4fvReeL3j6JUsZfsqY27bSAJBMnJlrXVrnH4li9sHxgcjfQpxcTcqoNAnOdJ9CUP5lU/8E
MCOEdBUeDlrJlT5xToSnApM4lI07sCDbqWR+qACoPprRawjq0xesZdgUaxZFRpi1gnfe20vG
XgX0J3Wu0qjKtQKZpWqyG/9E6VhD68Aeej4I0b1owULhzmVo0n0nAwztfXDkyPe5sG28AAAA
AAAA
--------------ms050007040405060208090500--

From justin@affinix.com  Wed Nov 17 17:19:13 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 D57EC3A6778 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 17:19:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[AWL=1.000,  BAYES_00=-2.599, GB_I_LETTER=-2]
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 hmNeAPWc-rRA for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 17:19:12 -0800 (PST)
Received: from homiemail-a6.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by core3.amsl.com (Postfix) with ESMTP id 52C1A3A6774 for <xmpp@ietf.org>; Wed, 17 Nov 2010 17:19:12 -0800 (PST)
Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id E387E59806B for <xmpp@ietf.org>; Wed, 17 Nov 2010 17:19:58 -0800 (PST)
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=X BTDkjDeDEYSo5zPvqyDvsJwFvxpyYhu6oTyi2ich+6v3yCJru2f3j6nvYIkQZH9W 5aoO1Aa8d7S3PM97fw+yzBvV+1Z42W8XYfDZ1P22QBqCVMsS4JJFEnQQdRPMKoBK RmA/XNPxDUyu87EiriCeFRzPWArOyx/dezRtm7S0bM=
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=kM5pKfd pYEDBPUS6pqcMQKYNT0w=; b=etTG+B0Qlz6AM0yPPVcK2bCF4ApBX96i/oJBVQf xZ4jW+USyMYvQQhWjfXL4Y47uFLwxklsWQNwi35F6rAr55O34MQOnlRD7Hu3OkwM 4iZ7r2phUYCu+zOp+sppJFrCATVWesHbwwn3o2/Km/HHqAhUaAPNK5dEba3TmxNg t4+k=
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 C8BF3598069 for <xmpp@ietf.org>; Wed, 17 Nov 2010 17:19:58 -0800 (PST)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Wed, 17 Nov 2010 17:19:59 -0800
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <314798.57147.qm@web95406.mail.in2.yahoo.com> <4CE463BF.1020401@babelmonkeys.de> <4CE466C1.6080206@stpeter.im>
In-Reply-To: <4CE466C1.6080206@stpeter.im>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201011171720.00057.justin@affinix.com>
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 18 Nov 2010 01:19:14 -0000

On Wednesday 17 November 2010 15:35:29 Peter Saint-Andre wrote:
> On 11/17/10 4:22 PM, Florian Zeitz wrote:
> > On 17.11.2010 23:51, Peter Saint-Andre wrote:
> >> On 11/17/10 3:43 PM, Peter Saint-Andre wrote:
> >>> On 11/17/10 3:41 PM, Kevin Smith wrote:
> >>>> I'd suggest simply appending the following text (or something
> >>>> wordsmithed to your satisfaction), but won't cry foul if you disagree:
> >>>> """
> >>>> While it is not forbidden for entities to generate stanzas whereby a
> >>>> child element with an extension namespace has a child whose namespace
> >>>> is 'jabber:client' or 'jabber:server', it is known that existing
> >>>> implementations will handle this inconsistently, so an implementor
> >>>> will need to weigh this against the possible utility of such a stanza.
> >>>> """
> >>> 
> >>> That seems helpful, thanks. It *is* an implementation note, after all.
> >>> ;-)
> >> 
> >> Wordsmithed in my working copy to:
> >>                                               Although it is not
> >>       
> >>       forbidden for an entity to generate stanzas in which an extension
> >>       element contains a child element qualified by the 'jabber:client'
> >>       or 'jabber:server' namespace, existing implementations handle such
> >>       stanzas inconsistently; therefore implementers are advised to
> >>       weigh the likely lack of interoperability against the possible
> >>       utility of such stanzas.
> > 
> > I start feeling bad about saying this, but my comment still holds true.
> > <message xmlns="jabber:client"><body xmlns="jabber:server"/></message>
> > will ultimately end up as
> > <message xmlns="jabber:client"><body/></message>
> > even when following the proposed text to the letter (assuming
> > namespace-awareness).
> 
> Yes, that's true, and I think it's intentional. I also think it doesn't
> matter, because the two namespaces are semantically equivalent.

Yup, my feeling too.  You pretty much only ever want one or the other 
namespace.  When mixing, don't be surprised if they merge along the way.  If 
there is ever an XMPP extension that suggests using an element in the 
"jabber:server" namspace as a direct child of a "jabber:client" stanza, it 
would do so while understanding the consequences.

In practice, it's simple enough to use a specially-namespaced wrapper element 
whenever one of "jabber:client" or "jabber:server" needs to be preserved.

-Justin

From stpeter@stpeter.im  Wed Nov 17 17:21: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 8815D3A676A for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 17:21:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.487
X-Spam-Level: 
X-Spam-Status: No, score=-103.487 tagged_above=-999 required=5 tests=[AWL=1.112, 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 qBwfelBNGQ7V for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 17:21:24 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id AA16E3A6768 for <xmpp@ietf.org>; Wed, 17 Nov 2010 17:21:24 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id AECDC40BB9 for <xmpp@ietf.org>; Wed, 17 Nov 2010 18:32:10 -0700 (MST)
Message-ID: <4CE47FBF.7080708@stpeter.im>
Date: Wed, 17 Nov 2010 18:22:07 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <314798.57147.qm@web95406.mail.in2.yahoo.com>	<4CE463BF.1020401@babelmonkeys.de> <4CE466C1.6080206@stpeter.im> <201011171720.00057.justin@affinix.com>
In-Reply-To: <201011171720.00057.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="------------ms000500050900080208000606"
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 18 Nov 2010 01:21:26 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 6:19 PM, Justin Karneges wrote:
> On Wednesday 17 November 2010 15:35:29 Peter Saint-Andre wrote:
>> On 11/17/10 4:22 PM, Florian Zeitz wrote:
>>> On 17.11.2010 23:51, Peter Saint-Andre wrote:
>>>> On 11/17/10 3:43 PM, Peter Saint-Andre wrote:
>>>>> On 11/17/10 3:41 PM, Kevin Smith wrote:
>>>>>> I'd suggest simply appending the following text (or something
>>>>>> wordsmithed to your satisfaction), but won't cry foul if you disag=
ree:
>>>>>> """
>>>>>> While it is not forbidden for entities to generate stanzas whereby=
 a
>>>>>> child element with an extension namespace has a child whose namesp=
ace
>>>>>> is 'jabber:client' or 'jabber:server', it is known that existing
>>>>>> implementations will handle this inconsistently, so an implementor=

>>>>>> will need to weigh this against the possible utility of such a sta=
nza.
>>>>>> """
>>>>>
>>>>> That seems helpful, thanks. It *is* an implementation note, after a=
ll.
>>>>> ;-)
>>>>
>>>> Wordsmithed in my working copy to:
>>>>                                               Although it is not
>>>>      =20
>>>>       forbidden for an entity to generate stanzas in which an extens=
ion
>>>>       element contains a child element qualified by the 'jabber:clie=
nt'
>>>>       or 'jabber:server' namespace, existing implementations handle =
such
>>>>       stanzas inconsistently; therefore implementers are advised to
>>>>       weigh the likely lack of interoperability against the possible=

>>>>       utility of such stanzas.
>>>
>>> I start feeling bad about saying this, but my comment still holds tru=
e.
>>> <message xmlns=3D"jabber:client"><body xmlns=3D"jabber:server"/></mes=
sage>
>>> will ultimately end up as
>>> <message xmlns=3D"jabber:client"><body/></message>
>>> even when following the proposed text to the letter (assuming
>>> namespace-awareness).
>>
>> Yes, that's true, and I think it's intentional. I also think it doesn'=
t
>> matter, because the two namespaces are semantically equivalent.
>=20
> Yup, my feeling too.  You pretty much only ever want one or the other=20
> namespace.  When mixing, don't be surprised if they merge along the way=
=2E  If=20
> there is ever an XMPP extension that suggests using an element in the=20
> "jabber:server" namspace as a direct child of a "jabber:client" stanza,=
 it=20
> would do so while understanding the consequences.
>=20
> In practice, it's simple enough to use a specially-namespaced wrapper e=
lement=20
> whenever one of "jabber:client" or "jabber:server" needs to be preserve=
d.

I very much agree.

Hopefully the text in -19 captures all that. :)

Peter

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




--------------ms000500050900080208000606
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/BAQDAgEGMB0GA1UdDgQWBBR7iZyS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BpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBrwZm03uFa5fxhX1sFnWPn0wprG4QqgLK3FIY37awf4xvYGZ4VcHLPuUNx
zgjBanOrxf4mX2YJ+Hpa4vnhxKswZKC3duWqxdZsXtVhv4SJ8HFUjr0EerggV/QGDWzmI+hp
0mSd4GyP8KoKvWM+3WPZHJMfW67xC+UOgW/OthBOWpv1HFxQ6bbyvYray0yxY+aaHEqZm8Ma
r5dHsal8j5SrGcs3lGBem7K1NWRXYSfz0Aapuvy3TQV5geDae4XIhewML+acVwSNIJUHsJdV
GyTBDNfHblUsBGWENs3mP+GT8ZwktSYEBNzCbL2R0AE8lxbGHr2yRKnv+GnbtUjTKAdzAAAA
AAAA
--------------ms000500050900080208000606--

From mridulm80@yahoo.com  Wed Nov 17 22:22:41 2010
Return-Path: <mridulm80@yahoo.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 689B93A67F8 for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 22:22:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.299
X-Spam-Level: 
X-Spam-Status: No, score=-3.299 tagged_above=-999 required=5 tests=[AWL=0.700,  BAYES_00=-2.599, GB_I_LETTER=-2, 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 WH8EG8C3nqhk for <xmpp@core3.amsl.com>; Wed, 17 Nov 2010 22:22:36 -0800 (PST)
Received: from nm3.bullet.mail.in.yahoo.com (nm3.bullet.mail.in.yahoo.com [121.101.151.225]) by core3.amsl.com (Postfix) with SMTP id 0CA1A3A67F3 for <xmpp@ietf.org>; Wed, 17 Nov 2010 22:21:29 -0800 (PST)
Received: from [121.101.151.237] by nm3.bullet.mail.in.yahoo.com with NNFMP; 18 Nov 2010 06:22:14 -0000
Received: from [121.101.151.234] by tm2.bullet.mail.in.yahoo.com with NNFMP; 18 Nov 2010 06:22:12 -0000
Received: from [127.0.0.1] by omp1003.mail.in.yahoo.com with NNFMP; 18 Nov 2010 06:22:12 -0000
X-Yahoo-Newman-Property: ymail-3
X-Yahoo-Newman-Id: 258883.45569.bm@omp1003.mail.in.yahoo.com
Received: (qmail 21675 invoked by uid 60001); 18 Nov 2010 06:22:12 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1290061332; bh=ysmjnp64Yzs1zPZdIRdf6YEbhgKORRkGCxSICSZSF1k=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XVLVxaiJWYasrKv4CNoSO0P4lqMM2tbnquc5Sj36i8bTF1Fl9JH4/0It6ZRhEW2jP6XFou0pFtSuQbKKuO3eLgr91trquCDBSOdpdCX/kSQPoLHw1TaRfZHwmLBM039lUZV4OKt6Xq2c8E9uvDC95UYxj3FyE5qKs3yyhy8V6gE=
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Kv8CMlpua8uul7J06ocTIpO5rUAmzvi/0GLY8Tr/4IAUcpdCO8BA8pwEZjFC8CG0TFYJwfpHO1M97LeJMf8TssHbbuGUg+PC0nEJsZm1jQSKqsj5K3/0sWtJknLrBexd9fMt8osJYRdffHtwpsG06ySqO03E4GEKXUwiKpDCijs=;
Message-ID: <383294.21510.qm@web95410.mail.in2.yahoo.com>
X-YMail-OSG: TwnVXNUVM1mJgUc248pjvJvL3aSzHbV1ppVqy58A7JJfuoB ad0y.wiKylDIwdRgmfeQlLtdxGJV3Yn7RToJieJxQ7_puZ9aabtn4hipdWMd 7BxxSkqOg1G_nAoRlnuMeQusT2LTYpEWZqNYTKL_vN.i4lcpVDEKjMHHtpBk TY_T.U.3L3oYwFsJxw_jDQauhgSRyJXDe0brztuOUnokUTjhIZCkr4rx9.a8 HNPRuW0BudYVAyBuDQyAvDfkrrgCXPCdAoRnVthfaT.Z68w3z4J37W0.jOGz zpcHs075v6QYqhSZT3osDfavyNnzM6r25F8eFh5ekoRM2NCOOP2.reFs6dA- -
Received: from [209.131.62.115] by web95410.mail.in2.yahoo.com via HTTP; Thu, 18 Nov 2010 11:52:11 IST
X-Mailer: YahooMailClassic/11.4.9 YahooMailWebService/0.8.107.285259
Date: Thu, 18 Nov 2010 11:52:11 +0530 (IST)
From: Mridul Muralidharan <mridulm80@yahoo.com>
To: xmpp@ietf.org, Peter Saint-Andre <stpeter@stpeter.im>
In-Reply-To: <4CE47FBF.7080708@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 18 Nov 2010 06:22:41 -0000

=0ASo essentially, direct children under stanza MUST NOT be jabber:server -=
 but any jabber:server xml snippet MUST be within a custom (neither jabber:=
client, jabber:server or component) namespace.=0A=0A=0AThat looks reasonabl=
e, thanks for clarifying !=0A=0A=0ARegards,=0AMridul=0A=0A--- On Thu, 18/11=
/10, Peter Saint-Andre <stpeter@stpeter.im> wrote:=0A=0A> From: Peter Saint=
-Andre <stpeter@stpeter.im>=0A> Subject: Re: [xmpp] "re-scope" of xmpp stan=
za's=0A> To: xmpp@ietf.org=0A> Date: Thursday, 18 November, 2010, 6:52 AM=
=0A> On 11/17/10 6:19 PM, Justin Karneges=0A> wrote:=0A> > On Wednesday 17 =
November 2010 15:35:29 Peter=0A> Saint-Andre wrote:=0A> >> On 11/17/10 4:22=
 PM, Florian Zeitz wrote:=0A> >>> On 17.11.2010 23:51, Peter Saint-Andre wr=
ote:=0A> >>>> On 11/17/10 3:43 PM, Peter Saint-Andre=0A> wrote:=0A> >>>>> O=
n 11/17/10 3:41 PM, Kevin Smith=0A> wrote:=0A> >>>>>> I'd suggest simply ap=
pending the=0A> following text (or something=0A> >>>>>> wordsmithed to your=
 satisfaction),=0A> but won't cry foul if you disagree:=0A> >>>>>> """=0A> =
>>>>>> While it is not forbidden for=0A> entities to generate stanzas where=
by a=0A> >>>>>> child element with an extension=0A> namespace has a child w=
hose namespace=0A> >>>>>> is 'jabber:client' or=0A> 'jabber:server', it is =
known that existing=0A> >>>>>> implementations will handle this=0A> inconsi=
stently, so an implementor=0A> >>>>>> will need to weigh this against=0A> t=
he possible utility of such a stanza.=0A> >>>>>> """=0A> >>>>>=0A> >>>>> Th=
at seems helpful, thanks. It *is* an=0A> implementation note, after all.=0A=
> >>>>> ;-)=0A> >>>>=0A> >>>> Wordsmithed in my working copy to:=0A> >>>>=
=A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0=
 =A0 =A0 =A0 =A0 =A0=0A> =A0=A0=A0Although it is not=0A> >>>>=A0 =A0 =A0=A0=
=A0=0A> >>>>=A0 =A0 =A0=A0=A0forbidden=0A> for an entity to generate stanza=
s in which an extension=0A> >>>>=A0 =A0 =A0=A0=A0element=0A> contains a chi=
ld element qualified by the 'jabber:client'=0A> >>>>=A0 =A0 =A0=A0=A0or=0A>=
 'jabber:server' namespace, existing implementations handle=0A> such=0A> >>=
>>=A0 =A0 =A0=A0=A0stanzas=0A> inconsistently; therefore implementers are a=
dvised to=0A> >>>>=A0 =A0 =A0=A0=A0weigh the=0A> likely lack of interoperab=
ility against the possible=0A> >>>>=A0 =A0 =A0=A0=A0utility of=0A> such sta=
nzas.=0A> >>>=0A> >>> I start feeling bad about saying this, but my=0A> com=
ment still holds true.=0A> >>> <message xmlns=3D"jabber:client"><body=0A> x=
mlns=3D"jabber:server"/></message>=0A> >>> will ultimately end up as=0A> >>=
> <message=0A> xmlns=3D"jabber:client"><body/></message>=0A> >>> even when =
following the proposed text to the=0A> letter (assuming=0A> >>> namespace-a=
wareness).=0A> >>=0A> >> Yes, that's true, and I think it's intentional. I=
=0A> also think it doesn't=0A> >> matter, because the two namespaces are=0A=
> semantically equivalent.=0A> > =0A> > Yup, my feeling too.=A0 You pretty =
much only ever=0A> want one or the other =0A> > namespace.=A0 When mixing, =
don't be surprised if=0A> they merge along the way.=A0 If =0A> > there is e=
ver an XMPP extension that suggests using an=0A> element in the =0A> > "jab=
ber:server" namspace as a direct child of a=0A> "jabber:client" stanza, it =
=0A> > would do so while understanding the consequences.=0A> > =0A> > In pr=
actice, it's simple enough to use a=0A> specially-namespaced wrapper elemen=
t =0A> > whenever one of "jabber:client" or "jabber:server"=0A> needs to be=
 preserved.=0A> =0A> I very much agree.=0A> =0A> Hopefully the text in -19 =
captures all that. :)=0A> =0A> Peter=0A> =0A> -- =0A> Peter Saint-Andre=0A>=
 https://stpeter.im/=0A> =0A> =0A> =0A> =0A> -----Inline Attachment Follows=
-----=0A> =0A> _______________________________________________=0A> xmpp mai=
ling list=0A> xmpp@ietf.org=0A> https://www.ietf.org/mailman/listinfo/xmpp=
=0A> =0A=0A

From gonzalo.camarillo@ericsson.com  Thu Nov 18 00:13:23 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 EAE7B3A67FC for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 00:13:22 -0800 (PST)
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=0.000, 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 1oIQQaUwdZBB for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 00:13:16 -0800 (PST)
Received: from mailgw10.se.ericsson.net (mailgw10.se.ericsson.net [193.180.251.61]) by core3.amsl.com (Postfix) with ESMTP id 11B4D3A67AF for <xmpp@ietf.org>; Thu, 18 Nov 2010 00:13:14 -0800 (PST)
X-AuditID: c1b4fb3d-b7c05ae0000028e7-06-4ce4e0497283
Received: from esessmw0197.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw10.se.ericsson.net (Symantec Mail Security) with SMTP id 4B.01.10471.940E4EC4; Thu, 18 Nov 2010 09:14:01 +0100 (CET)
Received: from [131.160.126.184] (153.88.115.8) by esessmw0197.eemea.ericsson.se (153.88.115.88) with Microsoft SMTP Server id 8.2.234.1; Thu, 18 Nov 2010 09:14:01 +0100
Message-ID: <4CE4E048.9070304@ericsson.com>
Date: Thu, 18 Nov 2010 10:14:00 +0200
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: <4CE47E1B.60605@stpeter.im>
In-Reply-To: <4CE47E1B.60605@stpeter.im>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: AAAAAA==
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] next stop: IESG
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, 18 Nov 2010 08:13:23 -0000

Hi,

I am putting these drafts on the agenda of the next IESG telechat.

Thanks,

Gonzalo

On 18/11/2010 3:15 AM, Peter Saint-Andre wrote:
> As you can see, I've submitted revised I-Ds for the specs that our
> responsible AD has called the XMPP trilogy (move over, Lord of the Rings!).
> 
> Most of the changes in these versions resulted from the security reviews
> provided by Yaron Sheffer (3920bis) and Richard Barnes (3921bis,
> address). I found their reviews very helpful, so thanks to Yaron and
> Richard.
> 
> Diffs are here:
> 
> http://tools.ietf.org/rfcdiff?url2=draft-ietf-xmpp-3920bis-19
> 
> http://tools.ietf.org/rfcdiff?url2=draft-ietf-xmpp-3921bis-17
> 
> http://tools.ietf.org/rfcdiff?url2=draft-ietf-xmpp-address-07
> 
> FYI, I also just posted a revised I-D for one of our normative references:
> 
> http://tools.ietf.org/rfcdiff?url2=draft-saintandre-tls-server-id-check-11
> 
> If you are so inclined, feel free to check the diffs to make sure that
> all feedback was incorporated correctly.
> 
> Next step: review by the IESG. (We're also still hoping for reviews by
> the General Area Review Team.)
> 
> Onward and upward!
> 
> Peter
> 


From k.i.smith@gmail.com  Thu Nov 18 00:22:14 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 9CA823A67C2 for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 00:22:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.877
X-Spam-Level: 
X-Spam-Status: No, score=-1.877 tagged_above=-999 required=5 tests=[AWL=0.100,  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 Mf4a0GU-TJb7 for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 00:22:13 -0800 (PST)
Received: from mail-qy0-f179.google.com (mail-qy0-f179.google.com [209.85.216.179]) by core3.amsl.com (Postfix) with ESMTP id 13E753A67DB for <xmpp@ietf.org>; Thu, 18 Nov 2010 00:22:10 -0800 (PST)
Received: by qyk5 with SMTP id 5so1237791qyk.10 for <xmpp@ietf.org>; Thu, 18 Nov 2010 00:22:47 -0800 (PST)
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; bh=BYqqrOXlCDpbzj/Dqvnsaxm5SGgpnMkqdfN6hVoMfko=; b=l1LD9j2Sjg8r+cmSEbvro9LupvkhSK77t4xTOOjFo5uGGYyL597OMiRrJouobnlHUD Po4QlvOoSArWmSKYd7KgVVdOuO8ynZ1aEd0Cefl9LCLbTgFUtOmnp7pSYdkOW+z+ozsH /X5DCAzxcXRnazQO/0cgYKti+hr16b7tcYPnc=
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; b=flAKcKvLwzAdZgzEXtrnbbuwtLbnHUdiu0YBVaX9C57n8B69sXetVVviRUdg+LD9M2 iXupfyvTlU9/GQI2wTruvKoTncURd49UxyvGAw6DKWt8H+4Gat/ngUXkUEVzC475IWe5 0T6VVgmxlKc64s8HeRW06jOQJ7yc5976v9eLY=
MIME-Version: 1.0
Received: by 10.229.215.76 with SMTP id hd12mr296704qcb.197.1290068566950; Thu, 18 Nov 2010 00:22:46 -0800 (PST)
Sender: k.i.smith@gmail.com
Received: by 10.229.187.202 with HTTP; Thu, 18 Nov 2010 00:22:46 -0800 (PST)
In-Reply-To: <4CE47E1B.60605@stpeter.im>
References: <4CE47E1B.60605@stpeter.im>
Date: Thu, 18 Nov 2010 08:22:46 +0000
X-Google-Sender-Auth: 0X3uY_cJY1o-9sIhqF9n3VApxSg
Message-ID: <AANLkTinhQfRgmGiLiChnMw9xhOeWHr8CPoFZ4DWbuEfw@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
Cc: XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] next stop: IESG
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: Thu, 18 Nov 2010 08:22:14 -0000

On Thu, Nov 18, 2010 at 1:15 AM, Peter Saint-Andre <stpeter@stpeter.im> wrote:
> As you can see, I've submitted revised I-Ds for the specs that our
> responsible AD has called the XMPP trilogy (move over, Lord of the Rings!).

Thanks Peter.

/K

From dave@cridland.net  Thu Nov 18 01:02:08 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 50ABB3A67D3 for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 01:02:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.455
X-Spam-Level: 
X-Spam-Status: No, score=-2.455 tagged_above=-999 required=5 tests=[AWL=0.144,  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 72e4NI0Rz0rK for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 01:02:07 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 5CE213A67B7 for <xmpp@ietf.org>; Thu, 18 Nov 2010 01:02:07 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id A235711680FF; Thu, 18 Nov 2010 09:02:53 +0000 (GMT)
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 btQeLtDkAwiM; Thu, 18 Nov 2010 09:02:47 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id C248211680FB; Thu, 18 Nov 2010 09:02:46 +0000 (GMT)
References: <4CE47E1B.60605@stpeter.im>
In-Reply-To: <4CE47E1B.60605@stpeter.im>
MIME-Version: 1.0
Message-Id: <2850.1290070966.793169@puncture>
Date: Thu, 18 Nov 2010 09:02:46 +0000
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] next stop: IESG
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, 18 Nov 2010 09:02:08 -0000

On Thu Nov 18 01:15:07 2010, Peter Saint-Andre wrote:
> As you can see, I've submitted revised I-Ds for the specs that our
> responsible AD has called the XMPP trilogy (move over, Lord of the  
> Rings!).

But... What will you do with your evenings now?

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  Thu Nov 18 05:37: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 5C3923A677D for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 05:37:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.229
X-Spam-Level: 
X-Spam-Status: No, score=-102.229 tagged_above=-999 required=5 tests=[AWL=-0.230, 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 hQtYxpRRezXG for <xmpp@core3.amsl.com>; Thu, 18 Nov 2010 05:37:36 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 164B73A657C for <xmpp@ietf.org>; Thu, 18 Nov 2010 05:37:36 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 9074C400F6; Thu, 18 Nov 2010 06:48:25 -0700 (MST)
Message-ID: <4CE52C4E.80001@stpeter.im>
Date: Thu, 18 Nov 2010 06:38:22 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Mridul Muralidharan <mridulm80@yahoo.com>
References: <383294.21510.qm@web95410.mail.in2.yahoo.com>
In-Reply-To: <383294.21510.qm@web95410.mail.in2.yahoo.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="------------ms020201010102070607010908"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] "re-scope" of xmpp stanza's
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, 18 Nov 2010 13:37:37 -0000

This is a cryptographically signed message in MIME format.

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

On 11/17/10 11:22 PM, Mridul Muralidharan wrote:
>=20
> So essentially, direct children under stanza MUST NOT be
> jabber:server - but any jabber:server xml snippet MUST be within a
> custom (neither jabber:client, jabber:server or component)
> namespace.

Exactly!

/psa


--------------ms020201010102070607010908
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
dGFydENvbSBMdGQuMSswKQYDVQQL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iG
9w0BAQEFAASCAQCMuz1zbwKSCE9+urxIT9691K5DHDYaLx/QkfBB7SDH7ir++XuOqRsoo1ry
oNKKInQ4coAuMpqYn2jglG1z2uRTwsmdc2G6OEM9U52ZvlHEkw45X1srVndB6X9WPprk7o4Y
Aq1ZjwP67yfGQ17kyqQ1PdtZ0ruteCNLXuWAOvIbHX8yiutZjiYGRauNuaDO2KkQVqu7G6Z/
+IQ8t9pzR1VzQSr1L3G8SWU+yPsYE8MSgOyfggCY4To6rOgUWqpd7DOwdpD0At+mDticxH/n
CcjFg/40+I+6QKURIy3uKuEbLqqSr3iQHm0zpfpLCI0a0SNYgNwkhGoK880SkMs1aW2cAAAA
AAAA
--------------ms020201010102070607010908--

From jehan.marmottard@gmail.com  Sun Nov 21 04:46:40 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 416983A6A94 for <xmpp@core3.amsl.com>; Sun, 21 Nov 2010 04:46:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.128
X-Spam-Level: 
X-Spam-Status: No, score=-2.128 tagged_above=-999 required=5 tests=[AWL=0.171,  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 w23hRAgqOFGT for <xmpp@core3.amsl.com>; Sun, 21 Nov 2010 04:46:39 -0800 (PST)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id E8E253A6A8F for <xmpp@ietf.org>; Sun, 21 Nov 2010 04:46:38 -0800 (PST)
Received: by wyb29 with SMTP id 29so6069808wyb.31 for <xmpp@ietf.org>; Sun, 21 Nov 2010 04:47:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=QRV4nJxopljnHX3LLgFUNQIFxnh6SnrGx47dj6ogmR0=; b=Kv/K0ghzf3qSE+p/gGmdnBEUhgtvLiSoNlmxXxg6P3GCQC0CMDD7XyHHXIrldK6UWT QsGQCdq3mwjBToSGQvP/QvnmyXoJTSlaFKXiokPXUfPwTlYQxPBtFjLV3qadWu0qsWhj KE/N+lCRR7JdSC4Hhu4GAp649FCtal3CjiXOc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZIAtRid+JnKhgzSSNy/EgQl2NfE8PIemv2bBwthkIDlQ03AqBCX9bkYca0EaBb5UC3 +fkux1tXnI0n+KjVgSgKA1465Z3bPGUnMNokX/rf9qQ2JrTsvyVwLbG2D6+tUjx+Blsd A19JMWK7LgJatVGxv43FouOAbZ++gCXcN5F6w=
MIME-Version: 1.0
Received: by 10.216.30.67 with SMTP id j45mr2873284wea.99.1290343648946; Sun, 21 Nov 2010 04:47:28 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Sun, 21 Nov 2010 04:47:28 -0800 (PST)
Date: Sun, 21 Nov 2010 21:47:28 +0900
Message-ID: <AANLkTinkoZj3L-=hKdVcrTxEPdbz1NJDccXezPCeUbSE@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
Subject: [xmpp] Type in 3920bis-19
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, 21 Nov 2010 12:46:40 -0000

Hi,

I just stepped on a typography error. That's not very serious but
still it is nicer with a nice looking RFC, so if it is not too late:

6.4.1. Exchange of Stream Headers and Stream Features

[...]
   The receiving entity MUST send a response stream header to the
   initiating entity (for which it MUST generate a new stream ID instead
   of re-using the old stream ID).

   R: <stream:stream
        from='im.example.com'
        id='vgKi/bkYME8OAj4rlXMkpucAqe4='
        to='juliet@im.example.com'
        version='1.0'
        xml:lang='en'
        xmlns='jabber:client'
        xmlns:stream='http://etherx.jabber.org/streams'

---------------------

The '>' is missing at the end of the stanza. :-)
Bye.

Jehan

From stpeter@stpeter.im  Mon Nov 22 11:18: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 4FC163A69C2 for <xmpp@core3.amsl.com>; Mon, 22 Nov 2010 11:18:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.306
X-Spam-Level: 
X-Spam-Status: No, score=-102.306 tagged_above=-999 required=5 tests=[AWL=-0.307, BAYES_00=-2.599, J_CHICKENPOX_37=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 wjxhYjFbqroa for <xmpp@core3.amsl.com>; Mon, 22 Nov 2010 11:18:36 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 330773A6933 for <xmpp@ietf.org>; Mon, 22 Nov 2010 11:18:36 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 69B6C40327 for <xmpp@ietf.org>; Mon, 22 Nov 2010 12:29:57 -0700 (MST)
Message-ID: <4CEAC242.7060303@stpeter.im>
Date: Mon, 22 Nov 2010 12:19:30 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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="------------ms050703000107030805010504"
Subject: [xmpp] Fwd: Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-address-07
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, 22 Nov 2010 19:18:37 -0000

This is a cryptographically signed message in MIME format.

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

Keeping the XMPP WG in the loop on incoming IESG feedback. I'll also
forward one or more replies because they concern the WG.

/psa

-------- Original Message --------
Subject: Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-address=
-07
Date: Fri, 19 Nov 2010 04:20:04 -0800
From: Alexey Melnikov <alexey.melnikov@isode.com>
To: The IESG <iesg@ietf.org>
CC: xmpp-chairs@tools.ietf.org, draft-ietf-xmpp-address@tools.ietf.org

Alexey Melnikov has entered the following ballot position for
draft-ietf-xmpp-address-07.

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)

Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

I just can't possibly resist not having a DISCUSS on this document ;-).
Below are my review comments:

1).
RFC 3920:

      domain          =3D fqdn / address-literal
      fqdn            =3D (sub-domain 1*("." sub-domain))
      sub-domain      =3D (internationalized domain label)
      address-literal =3D IPv4address / IPv6address


draft-ietf-xmpp-address:

      domainpart    =3D IP-literal / IPv4address / ifqdn
                      ; the "IPv4address" and "IP-literal" rules are
                      ; defined in RFC 3986, and the first-match-wins
                      ; (a.k.a. "greedy") algorithm described in RFC
                      ; 3986 applies to the matching process


RFC 3986:

      IP-literal =3D "[" ( IPv6address / IPvFuture  ) "]"

      IPvFuture  =3D "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )=


(DISCUSS DISCUSS)
This means that the draft is proposing usage of "[" and "]" around IPv6
addresses, which is a change from RFC 3920.
I think the change is sensible, but is it covered by Appendix C?

2).
In Section 2.1:

   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.

I think this text is misleading for URIs: it is effectively suggesting
that percent-decoding/encoding is not needed
when converting a JID to URI, which is not correct. URIs are always in
US-ASCII, while JIDs are not.
Similar assumptions about mailto: URIs caused some interoperability
problems.

3). [DNS] seems to be Normative (for the definition of a Fully Qualified
Domain Name).

4). DISCUSS DISCUSS:
Should domainpart be migrated to IDNA2008 now? Apps Area is pretty much
requiring use of IDNA2008 in all documents.

5). I still need to double check the following, but from a cursory look
this seems to be a minor problem:

Can application of Nodeprep/resourceprep to a non empty string result in
an empty string, which would violate the requirement on
nodepart/resourcepart being non empty?

This will affect several sections, including Section 6.



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

1). In 4.3.1 SASL needs an Informative Reference

2).

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,

Can you expand on what is the problem with binding multiple resources to
the same name?

3).
In Section 6:

   Feature:  address-domain-length
   Description:  Ensure that the domainpart of an XMPP address is at
      least one byte in length and at most 1023 bytes in length.

Domain names have lower length boundary due to DNS restrictions.
Should this be at least mentioned? (Also applies elsewhere)

   Section:  Section 2.2
   Roles:  Both MUST.




--------------ms050703000107030805010504
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
aWVudCBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC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Szdk/iSlq8K9txdfREqvT/JX0ZMWsEs1X9u3ctrOouOQGV7VFPU5z
MdoWX+z+zkYGOTOJtfNFJE8MCeoX5t3wU0NKBh/+Y51yD3jog8vT6s8ijJRk1OPfX78AJhfD
BcjhoDXREkZ6s75dxXvipcdO774XznYpbJMt53a8Q+Z6iqISEZrnYsPZ2TeNIfbFwR/PAAAA
AAAA
--------------ms050703000107030805010504--

From stpeter@stpeter.im  Mon Nov 22 11:20: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 343D528C125 for <xmpp@core3.amsl.com>; Mon, 22 Nov 2010 11:20:18 -0800 (PST)
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 ig2qUaopj-5N for <xmpp@core3.amsl.com>; Mon, 22 Nov 2010 11:20:16 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 697793A69C2 for <xmpp@ietf.org>; Mon, 22 Nov 2010 11:20:16 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id DD6C1400F6 for <xmpp@ietf.org>; Mon, 22 Nov 2010 12:31:37 -0700 (MST)
Message-ID: <4CEAC2A7.5010707@stpeter.im>
Date: Mon, 22 Nov 2010 12:21:11 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: xmpp@ietf.org
References: <AANLkTinkoZj3L-=hKdVcrTxEPdbz1NJDccXezPCeUbSE@mail.gmail.com>
In-Reply-To: <AANLkTinkoZj3L-=hKdVcrTxEPdbz1NJDccXezPCeUbSE@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="------------ms070404040205010904030100"
Subject: Re: [xmpp] Type in 3920bis-19
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, 22 Nov 2010 19:20:18 -0000

This is a cryptographically signed message in MIME format.

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

On 11/21/10 5:47 AM, Jehan Pag=C3=A8s wrote:
> Hi,
>=20
> I just stepped on a typography error. That's not very serious but
> still it is nicer with a nice looking RFC, so if it is not too late:
>=20
> 6.4.1. Exchange of Stream Headers and Stream Features
>=20
> [...]
>    The receiving entity MUST send a response stream header to the
>    initiating entity (for which it MUST generate a new stream ID instea=
d
>    of re-using the old stream ID).
>=20
>    R: <stream:stream
>         from=3D'im.example.com'
>         id=3D'vgKi/bkYME8OAj4rlXMkpucAqe4=3D'
>         to=3D'juliet@im.example.com'
>         version=3D'1.0'
>         xml:lang=3D'en'
>         xmlns=3D'jabber:client'
>         xmlns:stream=3D'http://etherx.jabber.org/streams'
>=20
> ---------------------
>=20
> The '>' is missing at the end of the stanza. :-)

Fixed in my working copy. Thanks!

Peter

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




--------------ms070404040205010904030100
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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3
DQEJDzFSMFAwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBd379rvTXw9Hh5OWmU/X3qq5uWm6baFw1wDUrWq5WITvIdtl0JzPIgbdjR
FlfjGMuOguF+zhj7jdp6+OmxQ19RHQAyQcfKDMDD5YNlwgRVv7EZ2y+NO91HX6W0x8YhuYTS
AUY8rt6DxZLoHxxP182ni08nJAiy46UUtpc/dInem2mgYrNlh4fNRFyvhYDwppJ4K07OmjKY
JTJLzDrdjteAjr2Im79TFtTlJ2t0sdK1rs4/yrsB2OHtb5MWxKPW6eM8r8+v+EL7K2Ug/IcS
9DkmPzyA+ruCumlGcOFDb+whJ/fTzRnAImU4pkw9C0nKUpzOdYHAz2RHSX9Hx7r0pV/eAAAA
AAAA
--------------ms070404040205010904030100--

From stpeter@stpeter.im  Mon Nov 22 11:26:36 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 57AFF28C108 for <xmpp@core3.amsl.com>; Mon, 22 Nov 2010 11:26:35 -0800 (PST)
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 D1FZu+Q7timD for <xmpp@core3.amsl.com>; Mon, 22 Nov 2010 11:26:16 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 2DBDB3A69C2 for <xmpp@ietf.org>; Mon, 22 Nov 2010 11:26:14 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B6EF0400F6; Mon, 22 Nov 2010 12:37:34 -0700 (MST)
Message-ID: <4CEAC40B.2090200@stpeter.im>
Date: Mon, 22 Nov 2010 12:27:07 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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="------------ms080609010800050708000809"
Subject: [xmpp] stringprep: full, partial, none
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, 22 Nov 2010 19:26:36 -0000

This is a cryptographically signed message in MIME format.

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

Here is the main issue that concerns the XMPP WG.

IIRC the group did not consider "partial stringprep" (switch to IDNA2008
but keep using nodeprep and resourceprep), only "full stringprep" (keep
using IDNA2003 along with nodeprep and resourceprep) and "no stringprep"
(wait until the PRECIS WG finishes its work, then switch to IDNA2008 and
whatever replaces nodeprep and resourceprep).

/psa

#######################################################################

-------- Original Message --------
Subject: Re: Alexey Melnikov's DISCUSS and COMMENT on
draft-ietf-xmpp-address-07
Date: Mon, 22 Nov 2010 09:25:30 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
To: Alexey Melnikov <alexey.melnikov@isode.com>
CC: xmpp-chairs@tools.ietf.org, draft-ietf-xmpp-address@tools.ietf.org,
The IESG <iesg@ietf.org>

On 11/22/10 8:39 AM, Alexey Melnikov wrote:
> Hi Peter,
>=20
> Peter Saint-Andre wrote:
>=20
>> On 11/19/10 5:20 AM, Alexey Melnikov wrote:
>> =20
>>
> [...]
>=20
>>> 4). DISCUSS DISCUSS: Should domainpart be migrated to IDNA2008 now?
>>> Apps Area is pretty much requiring use of IDNA2008 in all documents.
>>>  =20
>> This spec documents the legacy usage as a placeholder while the XMPP
>> community contributes to the PRECIS WG in its work on a replacement fo=
r
>> stringprep. I think the XMPP WG agreed that it would move away from
>> stringprep for all parts of a JID at the same time -- not temporarily
>> replace IDNA2003 with IDNA2008 for the domainpart but keep using
>> stringprep for the localpart and resourcepart pending the output of th=
e
>> PRECIS WG, and then switch the localpart and resourcepart over to a
>> non-stringprep approach once the PRECIS WG is done.
>> =20
>>
> Firstly, I think a statement on this should be made in the document.

We tried to say that in the introduction.

> Secondly, there is no "temporary replace IDNA2003 with IDNA2008" ;-).
> IDNA2003 is gone.=20

By temporary I meant:

1. do IDNA2008 + nodeprep + resourceprep for a while (part-stringprep)

2. then do IDNA2008 + precis-based solutions for nodeprep and
resourceprep (no-stringprep)

vs.

1a. do IDNA2003 + nodeprep + resourceprep for a while more (full
stringprep), until we can do #2

> If IDNA2008 has issues, than it needs to be fixed.

I see no issues with IDNA2008.

> I am also concerned about the possibility of Precis WG failing to
> deliver a Stringprep-bis, or doing it very slowly.=20

One solution is to push forward as fast as possible with PRECIS. :)

> I suspect soon
> registries will start allowing registrations of domains with Unicode
> characters that map differently under IDNA2008 and IDNA2003 and that
> would cause an interop issue.

Yes, that is a concern.

I think we want to move to IDNA2008 with all due speed. The alternatives
listed above (1=3D>2 vs. 1a=3D>2) were not explicitly presented to the XM=
PP
WG, so that would need to happen. If I recall correctly, most people
seemed to be thinking that the alternatives were all-stringprep or
no-stringprep, not part-stringrep for a while and then no-stringprep.

#######################################################################



--------------ms080609010800050708000809
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
dGFydENvb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2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBETlTNOfYSMyx/5+ppezz4Q2h48tLhHV49D4LViEP8/uvdpjvFCbMIpprD
z/s8YbTJBtEXFp/lDJkUNtdCS8tCrBRQ3Gye3lckitVekGAgXKduzSMy2A/efny60hMUXLQN
NfannxmIU1AKOQexfEG6qJY/a6ZXTmCkbm3QucEXR8r/g182uTVj8SdsV+q1Orkm23FFtABC
QL+soU4DASmVHS6G30iqAdP7HnujjJGKy/KBflZl2pu+PNBQHb+GUxWbYDnIxmgDFBXOQaYF
Kj0p/6hQ8COvGljhPxCHYemcFvvTwnHahO+jWdHezmGA3J+LGQSMvhzTb+miEnArlNQZAAAA
AAAA
--------------ms080609010800050708000809--

From Joe.Hildebrand@webex.com  Tue Nov 23 08:56:22 2010
Return-Path: <Joe.Hildebrand@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 0167E3A6985 for <xmpp@core3.amsl.com>; Tue, 23 Nov 2010 08:56:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.865
X-Spam-Level: 
X-Spam-Status: No, score=-102.865 tagged_above=-999 required=5 tests=[AWL=-0.969, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_MED=-4, RCVD_NUMERIC_HELO=2.067, SARE_LWSHORTT=1.24, 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 Vlk5B61-yT7v for <xmpp@core3.amsl.com>; Tue, 23 Nov 2010 08:56:21 -0800 (PST)
Received: from gw1.webex.com (gw1.webex.com [64.68.122.208]) by core3.amsl.com (Postfix) with SMTP id 1F4363A693E for <xmpp@ietf.org>; Tue, 23 Nov 2010 08:56:21 -0800 (PST)
Received: from SRV-EXSC03.webex.local ([192.168.252.197]) by gw1.webex.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 23 Nov 2010 08:57:18 -0800
Received: from 66.114.169.7 ([66.114.169.7]) by SRV-EXSC03.webex.local ([192.168.252.200]) via Exchange Front-End Server mailus.webex.com ([66.114.175.12]) with Microsoft Exchange Server HTTP-DAV ; Tue, 23 Nov 2010 16:57:18 +0000
User-Agent: Microsoft-Entourage/12.24.0.100205
Date: Tue, 23 Nov 2010 09:57:21 -0700
From: Joe Hildebrand <joe.hildebrand@webex.com>
To: Peter Saint-Andre <stpeter@stpeter.im>, XMPP <xmpp@ietf.org>
Message-ID: <C9114081.4280B%joe.hildebrand@webex.com>
Thread-Topic: [xmpp] stringprep: full, partial, none
Thread-Index: AcuLL35dJpXtwEzqn0OnATBWHLg7iw==
In-Reply-To: <4CEAC40B.2090200@stpeter.im>
IM-ID: xmpp:jhildebr@cisco.com
Presence-ID: xmpp:jhildebr@cisco.com
Jabber-ID: jhildebr@cisco.com
Mime-version: 1.0
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
X-OriginalArrivalTime: 23 Nov 2010 16:57:18.0778 (UTC) FILETIME=[7D0AE1A0:01CB8B2F]
Subject: Re: [xmpp] stringprep: full, partial, none
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, 23 Nov 2010 16:56:22 -0000

As an individual, not chair:

The domainpart is often user-entered in our world, and has always been
written down on business cards and the like with the expectation that it
would be case-folded before comparison or DNS lookup.  Switching to the
dangerously incomplete IDNA2008, which does not specify any canonicalizatio=
n
is not an option for us, in my opinion.  We would also have to specify
something nameprep-like, and I'd much rather wait on the output of the
Pr=E9cis working group.

I also don't want to hold up 3920bis and 3921bis waiting for that uncertain
future.  If the IESG didn't want us to keep using nameprep, they should hav=
e
forced the IDNA2008 team to complete their work, coming up with a
replacement.

In the meantime, I think sticking with nodeprep/nameprep/resourceprep for
the short term is the best of what are all bad options.

On 11/22/10 12:27 PM, "Peter Saint-Andre" <stpeter@stpeter.im> wrote:

> Here is the main issue that concerns the XMPP WG.
>=20
> IIRC the group did not consider "partial stringprep" (switch to IDNA2008
> but keep using nodeprep and resourceprep), only "full stringprep" (keep
> using IDNA2003 along with nodeprep and resourceprep) and "no stringprep"
> (wait until the PRECIS WG finishes its work, then switch to IDNA2008 and
> whatever replaces nodeprep and resourceprep).
>=20
> /psa
>=20
> #######################################################################
>=20
> -------- Original Message --------
> Subject: Re: Alexey Melnikov's DISCUSS and COMMENT on
> draft-ietf-xmpp-address-07
> Date: Mon, 22 Nov 2010 09:25:30 -0700
> From: Peter Saint-Andre <stpeter@stpeter.im>
> To: Alexey Melnikov <alexey.melnikov@isode.com>
> CC: xmpp-chairs@tools.ietf.org, draft-ietf-xmpp-address@tools.ietf.org,
> The IESG <iesg@ietf.org>
>=20
> On 11/22/10 8:39 AM, Alexey Melnikov wrote:
>> Hi Peter,
>>=20
>> Peter Saint-Andre wrote:
>>=20
>>> On 11/19/10 5:20 AM, Alexey Melnikov wrote:
>>> =20
>>>=20
>> [...]
>>=20
>>>> 4). DISCUSS DISCUSS: Should domainpart be migrated to IDNA2008 now?
>>>> Apps Area is pretty much requiring use of IDNA2008 in all documents.
>>>>  =20
>>> This spec documents the legacy usage as a placeholder while the XMPP
>>> community contributes to the PRECIS WG in its work on a replacement for
>>> stringprep. I think the XMPP WG agreed that it would move away from
>>> stringprep for all parts of a JID at the same time -- not temporarily
>>> replace IDNA2003 with IDNA2008 for the domainpart but keep using
>>> stringprep for the localpart and resourcepart pending the output of the
>>> PRECIS WG, and then switch the localpart and resourcepart over to a
>>> non-stringprep approach once the PRECIS WG is done.
>>> =20
>>>=20
>> Firstly, I think a statement on this should be made in the document.
>=20
> We tried to say that in the introduction.
>=20
>> Secondly, there is no "temporary replace IDNA2003 with IDNA2008" ;-).
>> IDNA2003 is gone.
>=20
> By temporary I meant:
>=20
> 1. do IDNA2008 + nodeprep + resourceprep for a while (part-stringprep)
>=20
> 2. then do IDNA2008 + precis-based solutions for nodeprep and
> resourceprep (no-stringprep)
>=20
> vs.
>=20
> 1a. do IDNA2003 + nodeprep + resourceprep for a while more (full
> stringprep), until we can do #2
>=20
>> If IDNA2008 has issues, than it needs to be fixed.
>=20
> I see no issues with IDNA2008.
>=20
>> I am also concerned about the possibility of Precis WG failing to
>> deliver a Stringprep-bis, or doing it very slowly.
>=20
> One solution is to push forward as fast as possible with PRECIS. :)
>=20
>> I suspect soon
>> registries will start allowing registrations of domains with Unicode
>> characters that map differently under IDNA2008 and IDNA2003 and that
>> would cause an interop issue.
>=20
> Yes, that is a concern.
>=20
> I think we want to move to IDNA2008 with all due speed. The alternatives
> listed above (1=3D>2 vs. 1a=3D>2) were not explicitly presented to the XMPP
> WG, so that would need to happen. If I recall correctly, most people
> seemed to be thinking that the alternatives were all-stringprep or
> no-stringprep, not part-stringrep for a while and then no-stringprep.
>=20
> #######################################################################
>=20
>=20
> _______________________________________________
> xmpp mailing list
> xmpp@ietf.org
> https://www.ietf.org/mailman/listinfo/xmpp

--=20
Joe Hildebrand


From stpeter@stpeter.im  Tue Nov 23 13:28: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 7A9D93A69C7; Tue, 23 Nov 2010 13:28:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.296
X-Spam-Level: 
X-Spam-Status: No, score=-102.296 tagged_above=-999 required=5 tests=[AWL=-0.297, BAYES_00=-2.599, J_CHICKENPOX_37=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 SS80IXQw1jyj; Tue, 23 Nov 2010 13:28:09 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id B917F28C1AB; Tue, 23 Nov 2010 13:28:09 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 7BF00400F6; Tue, 23 Nov 2010 14:39:38 -0700 (MST)
Message-ID: <4CEC3221.4080602@stpeter.im>
Date: Tue, 23 Nov 2010 14:29:05 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20101119122004.21146.35286.idtracker@localhost> <4CEA8CE4.6070603@stpeter.im>
In-Reply-To: <4CEA8CE4.6070603@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="------------ms090002060402000101050506"
Cc: xmpp-chairs@tools.ietf.org, draft-ietf-xmpp-address@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-address-07
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, 23 Nov 2010 21:28:11 -0000

This is a cryptographically signed message in MIME format.

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

Hi Alexey, this email message provides proposed text to address your
DISCUSSes and COMMENTs.

On 11/22/10 8:31 AM, Peter Saint-Andre wrote:
> On 11/19/10 5:20 AM, Alexey Melnikov wrote:
>> Alexey Melnikov has entered the following ballot position for=20
>> draft-ietf-xmpp-address-07.
>>
>> When responding, please keep the subject line intact and reply to
>> all email addresses included in the To and CC lines. (Feel free to
>> cut this introductory paragraph, however.)
>>
>> Please refer to
>> http://www.ietf.org/iesg/statement/discuss-criteria.html for more
>> information about IESG DISCUSS and COMMENT positions.
>>
>>
>> ----------------------------------------------------------------------=

>>
>> DISCUSS:
>> ----------------------------------------------------------------------=

>>
>>  I just can't possibly resist not having a DISCUSS on this document
>> ;-).=20
>=20
> You would. :P
>=20
>> Below are my review comments:
>>
>> 1). RFC 3920:
>>
>> domain          =3D fqdn / address-literal fqdn            =3D
>> (sub-domain 1*("." sub-domain)) sub-domain      =3D (internationalized=

>> domain label) address-literal =3D IPv4address / IPv6address
>>
>>
>> draft-ietf-xmpp-address:
>>
>> domainpart    =3D IP-literal / IPv4address / ifqdn ; the "IPv4address"=

>> and "IP-literal" rules are ; defined in RFC 3986, and the
>> first-match-wins ; (a.k.a. "greedy") algorithm described in RFC ;
>> 3986 applies to the matching process
>>
>>
>> RFC 3986:
>>
>> IP-literal =3D "[" ( IPv6address / IPvFuture  ) "]"
>>
>> IPvFuture  =3D "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
>>
>> (DISCUSS DISCUSS) This means that the draft is proposing usage of "["
>> and "]" around IPv6 addresses, which is a change from RFC 3920. I
>> think the change is sensible, but is it covered by Appendix C?
>=20
> Yes, that's missing from the summary of changes. The ABNF fixes
> attempted to align the formal definition with both existing standards
> (e.g., RFC 3986) and existing usage. I don't think that the IPv6
> correction was specifically called out in the WG, though.

In Section 2.1, I've added the following additional note:

      domainpart    =3D IP-literal / IPv4address / ifqdn
                      ; the "IPv4address" and "IP-literal" rules are
                      ; defined in RFC 3986, and the first-match-wins
                      ; (a.k.a. "greedy") algorithm described in RFC
                      ; 3986 applies to the matching process
                      ;
                      ; note well that re-use of the IP-literal rule
                      ; from RFC 3986 implies that IPv6 addresses are
                      ; enclosed in square brackets (i.e., beginning
                      ; with '[' and ending with ']'), which was not
                      ; the case in RFC 3920

In Appendix C, I've modified that bullet point as follows:

   o  Corrected the ABNF syntax to ensure consistency with [URI] and
      [IRI]; one consequence is that IPv6 addresses are enclosed in
      square brackets (i.e., beginning with '[' and ending with ']').

>> 2). In Section 2.1:
>>
>> 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.
>>
>> I think this text is misleading for URIs: it is effectively
>> suggesting that percent-decoding/encoding is not needed when
>> converting a JID to URI, which is not correct. URIs are always in
>> US-ASCII, while JIDs are not. Similar assumptions about mailto: URIs
>> caused some interoperability problems.
>=20
> It should say:
>=20
>    An XMPP IRI ...
>=20
> Not:
>=20
>    An XMPP URI or IRI...

In Section 2.1, I've removed "URI or" from that sentence:

   An XMPP IRI [XMPP-URI] is in essence a JID prepended with 'xmpp:';
   however, the native addressing format used in XMPP is that of a mere
   JID without a URI scheme.

>> 3). [DNS] seems to be Normative (for the definition of a Fully
>> Qualified Domain Name).
>=20
> Yes.

I've moved that reference from Section 7.2 to Section 7.1.

>> 4). DISCUSS DISCUSS: Should domainpart be migrated to IDNA2008 now?
>> Apps Area is pretty much requiring use of IDNA2008 in all documents.
>=20
> This spec documents the legacy usage as a placeholder while the XMPP
> community contributes to the PRECIS WG in its work on a replacement for=

> stringprep. I think the XMPP WG agreed that it would move away from
> stringprep for all parts of a JID at the same time -- not temporarily
> replace IDNA2003 with IDNA2008 for the domainpart but keep using
> stringprep for the localpart and resourcepart pending the output of the=

> PRECIS WG, and then switch the localpart and resourcepart over to a
> non-stringprep approach once the PRECIS WG is done.

See other thread.

>> 5). I still need to double check the following, but from a cursory
>> look this seems to be a minor problem:
>>
>> Can application of Nodeprep/resourceprep to a non empty string result
>> in an empty string, which would violate the requirement on
>> nodepart/resourcepart being non empty?
>>
>> This will affect several sections, including Section 6.
>=20
> I think this is possible, and XMPP implementations need to (and, AFAIK,=

> do) enforce the non-zero-length restriction. IMHO this works as designe=
d
> and is not a problem, but perhaps needs to be called out in the text.

In Sections 2.2, 2.3, and 2.4 respectively, I've modified the relevant
paragraphs as follows:

   A domainpart MUST NOT be zero bytes in length and MUST NOT be more
   than 1023 bytes in length.  This rule is to be enforced after any
   mapping or normalization resulting from application of the Nameprep
   profile of stringprep (e.g., in Nameprep some characters can be
   mapped to nothing, which might result in a string of zero length).

   A localpart MUST NOT be zero bytes in length and MUST NOT be more
   than 1023 bytes in length.  This rule is to be enforced after any
   mapping or normalization resulting from application of the Nodeprep
   profile of stringprep (e.g., in Nodeprep some characters can be
   mapped to nothing, which might result in a string of zero length).

   A resourcepart MUST NOT be zero bytes in length and MUST NOT be more
   than 1023 bytes in length.  This rule is to be enforced after any
   mapping or normalization resulting from application of the
   Resourceprep profile of stringprep (e.g., in Resourceprep some
   characters can be mapped to nothing, which might result in a string
   of zero length).

>> ----------------------------------------------------------------------=

>>
>> COMMENT:
>> ----------------------------------------------------------------------=

>>
>>  1). In 4.3.1 SASL needs an Informative Reference
>=20
> Yes.

In Section 7.2, I've added a reference for RFC 4422.

In Section 4.3.1, I've modified the relevant sentence as follows:

   In the context of XMPP technologies, address forging occurs when an
   entity is able to generate an XML stanza whose 'from' address does
   not correspond to the account credentials with which the entity
   authenticated onto the network (or an authorization identity provided
   during negotiation of SASL authentication [SASL] as described in
   [XMPP]).

>> 2).
>>
>> o  A resourcepart can be employed as one part of an entity's address=20
>> in XMPP.  One common usage is as the name for an instant messaging=20
>> 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=20
>> resourceparts as part of their addresses.  The security of such=20
>> 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,
>>
>> Can you expand on what is the problem with binding multiple resources
>> to the same name?
>=20
> Authorization decisions could be based on a full JID, not a bare JID. I=
n
> general we don't recommend that when building authorization into variou=
s
> XMPP extensions, but it's not disallowed.

In Section 4.3.2, I've modified the relevant paragraph as follows:

   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, two or more
      confusable resources could be bound to the same bare JID
      (resulting in inconsistent authorization decisions in an XMPP
      application), or a user could send a message to someone other than
      the intended recipient in a multi-user chat room.

>> 3). In Section 6:
>>
>> Feature:  address-domain-length Description:  Ensure that the
>> domainpart of an XMPP address is at least one byte in length and at
>> most 1023 bytes in length.
>>
>> Domain names have lower length boundary due to DNS restrictions.=20
>> Should this be at least mentioned? (Also applies elsewhere)
>=20
> Yes, it should. Nothing in this spec shall be taken to override the DNS=

> specifications. I thought we'd added a sentence about length limits fro=
m
> DNS, but apparently not.

In Section 2.2, I've added the last sentence to the following paragraph:

   A domainpart MUST NOT be zero bytes in length and MUST NOT be more
   than 1023 bytes in length.  This rule is to be enforced after any
   mapping or normalization resulting from application of the Nameprep
   profile of stringprep (e.g., in Nameprep some characters can be
   mapped to nothing, which might result in a string of zero length).
   Naturally, the length limits of [DNS] apply, and nothing in this
   document is to be interpreted as overriding those more fundamental
   limits.

In Section 6, I've changed the relevant feature to:

   Feature:  address-domain-length
   Description:  Ensure that the domainpart of an XMPP address is at
      least one byte in length and at most 1023 bytes in length, and
      conforms to the underlying length limits of the DNS.
   Section:  Section 2.2
   Roles:  Both MUST.

Let me know if these adjustments address your feedback.

Peter

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




--------------ms090002060402000101050506
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
7A10zrU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return-Path: <alexey.melnikov@isode.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 136B228C193; Wed, 24 Nov 2010 03:46:52 -0800 (PST)
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_37=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 BjY8t64u8fAq; Wed, 24 Nov 2010 03:46:50 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id EEC8328C1C1; Wed, 24 Nov 2010 03:46:49 -0800 (PST)
Received: from [172.16.2.108] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TOz7YQAEeWcg@rufus.isode.com>; Wed, 24 Nov 2010 11:47:47 +0000
Message-ID: <4CECFB55.3030205@isode.com>
Date: Wed, 24 Nov 2010 11:47:33 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <20101119122004.21146.35286.idtracker@localhost> <4CEA8CE4.6070603@stpeter.im> <4CEC3221.4080602@stpeter.im>
In-Reply-To: <4CEC3221.4080602@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: xmpp-chairs@tools.ietf.org, draft-ietf-xmpp-address@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-address-07
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, 24 Nov 2010 11:46:52 -0000

Peter Saint-Andre wrote:

>Hi Alexey, this email message provides proposed text to address your
>DISCUSSes and COMMENTs.
>  
>
Hi Peter,

>On 11/22/10 8:31 AM, Peter Saint-Andre wrote:
>
>>On 11/19/10 5:20 AM, Alexey Melnikov wrote:
>>    
>>
>>>Alexey Melnikov has entered the following ballot position for 
>>>draft-ietf-xmpp-address-07.
>>>
>>>When responding, please keep the subject line intact and reply to
>>>all email addresses included in the To and CC lines. (Feel free to
>>>cut this introductory paragraph, however.)
>>>
>>>Please refer to
>>>http://www.ietf.org/iesg/statement/discuss-criteria.html for more
>>>information about IESG DISCUSS and COMMENT positions.
>>>
>>>
>>>----------------------------------------------------------------------
>>>
>>>DISCUSS:
>>>----------------------------------------------------------------------
>>>
>>> I just can't possibly resist not having a DISCUSS on this document
>>>;-).
>>>
>>You would. :P
>>    
>>
>>>Below are my review comments:
>>>
>>>1). RFC 3920:
>>>
>>>domain          = fqdn / address-literal fqdn            =
>>>(sub-domain 1*("." sub-domain)) sub-domain      = (internationalized
>>>domain label) address-literal = IPv4address / IPv6address
>>>
>>>
>>>draft-ietf-xmpp-address:
>>>
>>>domainpart    = IP-literal / IPv4address / ifqdn ; the "IPv4address"
>>>and "IP-literal" rules are ; defined in RFC 3986, and the
>>>first-match-wins ; (a.k.a. "greedy") algorithm described in RFC ;
>>>3986 applies to the matching process
>>>
>>>
>>>RFC 3986:
>>>
>>>IP-literal = "[" ( IPv6address / IPvFuture  ) "]"
>>>
>>>IPvFuture  = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )
>>>
>>>(DISCUSS DISCUSS) This means that the draft is proposing usage of "["
>>>and "]" around IPv6 addresses, which is a change from RFC 3920. I
>>>think the change is sensible, but is it covered by Appendix C?
>>>      
>>>
>>Yes, that's missing from the summary of changes. The ABNF fixes
>>attempted to align the formal definition with both existing standards
>>(e.g., RFC 3986) and existing usage. I don't think that the IPv6
>>correction was specifically called out in the WG, though.
>>    
>>
>
>In Section 2.1, I've added the following additional note:
>
>      domainpart    = IP-literal / IPv4address / ifqdn
>                      ; the "IPv4address" and "IP-literal" rules are
>                      ; defined in RFC 3986, and the first-match-wins
>                      ; (a.k.a. "greedy") algorithm described in RFC
>                      ; 3986 applies to the matching process
>                      ;
>                      ; note well that re-use of the IP-literal rule
>                      ; from RFC 3986 implies that IPv6 addresses are
>                      ; enclosed in square brackets (i.e., beginning
>                      ; with '[' and ending with ']'), which was not
>                      ; the case in RFC 3920
>
>In Appendix C, I've modified that bullet point as follows:
>
>   o  Corrected the ABNF syntax to ensure consistency with [URI] and
>      [IRI]; one consequence is that IPv6 addresses are enclosed in
>      square brackets (i.e., beginning with '[' and ending with ']').
>
Works for me.

>>>2). In Section 2.1:
>>>
>>>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.
>>>
>>>I think this text is misleading for URIs: it is effectively
>>>suggesting that percent-decoding/encoding is not needed when
>>>converting a JID to URI, which is not correct. URIs are always in
>>>US-ASCII, while JIDs are not. Similar assumptions about mailto: URIs
>>>caused some interoperability problems.
>>>      
>>>
>>It should say:
>>
>>   An XMPP IRI ...
>>
>>Not:
>>
>>   An XMPP URI or IRI...
>>    
>>
>
>In Section 2.1, I've removed "URI or" from that sentence:
>
>   An XMPP IRI [XMPP-URI] is in essence a JID prepended with 'xmpp:';
>   however, the native addressing format used in XMPP is that of a mere
>   JID without a URI scheme.
>  
>
Ok.

>>>3). [DNS] seems to be Normative (for the definition of a Fully
>>>Qualified Domain Name).      
>>>
>>Yes.   
>>
>
>I've moved that reference from Section 7.2 to Section 7.1.
>  
>
Thanks.

>>>4). DISCUSS DISCUSS: Should domainpart be migrated to IDNA2008 now?
>>>Apps Area is pretty much requiring use of IDNA2008 in all documents.
>>>      
>>>
>>This spec documents the legacy usage as a placeholder while the XMPP
>>community contributes to the PRECIS WG in its work on a replacement for
>>stringprep. I think the XMPP WG agreed that it would move away from
>>stringprep for all parts of a JID at the same time -- not temporarily
>>replace IDNA2003 with IDNA2008 for the domainpart but keep using
>>stringprep for the localpart and resourcepart pending the output of the
>>PRECIS WG, and then switch the localpart and resourcepart over to a
>>non-stringprep approach once the PRECIS WG is done.
>>    
>>
>
>See other thread.
>  
>
Yes, this certainly need more discussion, as opinions on the subject differ.

>>>5). I still need to double check the following, but from a cursory
>>>look this seems to be a minor problem:
>>>
>>>Can application of Nodeprep/resourceprep to a non empty string result
>>>in an empty string, which would violate the requirement on
>>>nodepart/resourcepart being non empty?
>>>
>>>This will affect several sections, including Section 6.
>>>      
>>>
>>I think this is possible, and XMPP implementations need to (and, AFAIK,
>>do) enforce the non-zero-length restriction. IMHO this works as designed
>>and is not a problem, but perhaps needs to be called out in the text.
>>    
>>
>
>In Sections 2.2, 2.3, and 2.4 respectively, I've modified the relevant
>paragraphs as follows:
>
>   A domainpart MUST NOT be zero bytes in length and MUST NOT be more
>   than 1023 bytes in length.  This rule is to be enforced after any
>   mapping or normalization resulting from application of the Nameprep
>   profile of stringprep (e.g., in Nameprep some characters can be
>   mapped to nothing, which might result in a string of zero length).
>
>   A localpart MUST NOT be zero bytes in length and MUST NOT be more
>   than 1023 bytes in length.  This rule is to be enforced after any
>   mapping or normalization resulting from application of the Nodeprep
>   profile of stringprep (e.g., in Nodeprep some characters can be
>   mapped to nothing, which might result in a string of zero length).
>
>   A resourcepart MUST NOT be zero bytes in length and MUST NOT be more
>   than 1023 bytes in length.  This rule is to be enforced after any
>   mapping or normalization resulting from application of the
>   Resourceprep profile of stringprep (e.g., in Resourceprep some
>   characters can be mapped to nothing, which might result in a string
>   of zero length).
>  
>
Works for me.

>>>----------------------------------------------------------------------
>>>
>>>COMMENT:
>>>----------------------------------------------------------------------
>>>
>>> 1). In 4.3.1 SASL needs an Informative Reference      
>>>
>>Yes.
>>    
>>
>
>In Section 7.2, I've added a reference for RFC 4422.
>
>In Section 4.3.1, I've modified the relevant sentence as follows:
>
>   In the context of XMPP technologies, address forging occurs when an
>   entity is able to generate an XML stanza whose 'from' address does
>   not correspond to the account credentials with which the entity
>   authenticated onto the network (or an authorization identity provided
>   during negotiation of SASL authentication [SASL] as described in
>   [XMPP]).
>  
>
Ok.

>>>2).
>>>
>>>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,
>>>
>>>Can you expand on what is the problem with binding multiple resources
>>>to the same name?
>>>      
>>>
>>Authorization decisions could be based on a full JID, not a bare JID. In
>>general we don't recommend that when building authorization into various
>>XMPP extensions, but it's not disallowed.
>>    
>>
>
>In Section 4.3.2, I've modified the relevant paragraph as follows:
>
>   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, two or more
>      confusable resources could be bound to the same bare JID
>      (resulting in inconsistent authorization decisions in an XMPP
>      application), or a user could send a message to someone other than
>      the intended recipient in a multi-user chat room.
>  
>
This is better, thanks.

>>>3). In Section 6:
>>>
>>>Feature:  address-domain-length Description:  Ensure that the
>>>domainpart of an XMPP address is at least one byte in length and at
>>>most 1023 bytes in length.
>>>
>>>Domain names have lower length boundary due to DNS restrictions. 
>>>Should this be at least mentioned? (Also applies elsewhere)
>>>      
>>>
>>Yes, it should. Nothing in this spec shall be taken to override the DNS
>>specifications. I thought we'd added a sentence about length limits from
>>DNS, but apparently not.
>>    
>>
>
>In Section 2.2, I've added the last sentence to the following paragraph:
>
>   A domainpart MUST NOT be zero bytes in length and MUST NOT be more
>   than 1023 bytes in length.  This rule is to be enforced after any
>   mapping or normalization resulting from application of the Nameprep
>   profile of stringprep (e.g., in Nameprep some characters can be
>   mapped to nothing, which might result in a string of zero length).
>   Naturally, the length limits of [DNS] apply, and nothing in this
>   document is to be interpreted as overriding those more fundamental
>   limits.
>
>In Section 6, I've changed the relevant feature to:
>
>   Feature:  address-domain-length
>   Description:  Ensure that the domainpart of an XMPP address is at
>      least one byte in length and at most 1023 bytes in length, and
>      conforms to the underlying length limits of the DNS.
>
Nit: "underlying domain length limit of the DNS". But the current text 
is Ok as well.

>   Section:  Section 2.2
>   Roles:  Both MUST.
>
>Let me know if these adjustments address your feedback.
>
Best Regards,
Alexey

-- 
IETF Application Area Director, <http://www.ietf.org/iesg/members.html>
Internet Messaging Team Lead, <http://www.isode.com>
JID: same as my email address


From jehan.marmottard@gmail.com  Sun Nov 28 09:12:59 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 ECF3228C0E3 for <xmpp@core3.amsl.com>; Sun, 28 Nov 2010 09:12:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level: 
X-Spam-Status: No, score=-2.021 tagged_above=-999 required=5 tests=[AWL=0.278,  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 SOy99E3SlYHo for <xmpp@core3.amsl.com>; Sun, 28 Nov 2010 09:12:58 -0800 (PST)
Received: from mail-ww0-f44.google.com (mail-ww0-f44.google.com [74.125.82.44]) by core3.amsl.com (Postfix) with ESMTP id 74D6528B23E for <xmpp@ietf.org>; Sun, 28 Nov 2010 09:12:58 -0800 (PST)
Received: by wwa36 with SMTP id 36so3777230wwa.13 for <xmpp@ietf.org>; Sun, 28 Nov 2010 09:14:05 -0800 (PST)
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=+uxv+B3Qihh9yobYa5sD+pTqDBuiB+WYcP2JEjncMlA=; b=AfXRsCVOit/rdYTwIAdjZgo+uGvVeHYGAP54N+9Ik1UFLZUjiqV1ZxCllEAbPIzhB/ EWDLY/IiSYUKE1BZ+3a24+qGHH0L7JWFZVUO1nLl6gb8EaauQjln5lw0vmSBOL5yKh6W MCgyrUgvzMg583QpQS2vlyQLpORnyYfrfXquY=
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=qdZevS4NL+HqZSUut3r1Mj4WuMEJ3l8LQYJkzJDb6kizoXoPee81hOTpBNyjNKsKng yM7PCbccXaRNGRPDeAsbqrVkdcYUY5Hbn29huhE77Aye8mPFmWQZBa1l0kgR091l7u4P GnicX+tPPBoLCAwunrE4wXveaO1Jlig4DMd1w=
MIME-Version: 1.0
Received: by 10.216.11.66 with SMTP id 44mr3888750wew.69.1290964444064; Sun, 28 Nov 2010 09:14:04 -0800 (PST)
Received: by 10.216.153.202 with HTTP; Sun, 28 Nov 2010 09:14:03 -0800 (PST)
In-Reply-To: <4CEAC2A7.5010707@stpeter.im>
References: <AANLkTinkoZj3L-=hKdVcrTxEPdbz1NJDccXezPCeUbSE@mail.gmail.com> <4CEAC2A7.5010707@stpeter.im>
Date: Mon, 29 Nov 2010 02:14:04 +0900
Message-ID: <AANLkTikcza7kNSDHreuzSefCL4JWPKQxy8FBfd=k5ZqZ@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] Type in 3920bis-19
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, 28 Nov 2010 17:13:00 -0000

Hi,

On Tue, Nov 23, 2010 at 4:21 AM, Peter Saint-Andre <stpeter@stpeter.im> wro=
te:
> On 11/21/10 5:47 AM, Jehan Pag=E8s wrote:
>> Hi,
>>
>> I just stepped on a typography error. That's not very serious but
>> still it is nicer with a nice looking RFC, so if it is not too late:
>>
>> 6.4.1. Exchange of Stream Headers and Stream Features
>>
>> [...]
>> =A0 =A0The receiving entity MUST send a response stream header to the
>> =A0 =A0initiating entity (for which it MUST generate a new stream ID ins=
tead
>> =A0 =A0of re-using the old stream ID).
>>
>> =A0 =A0R: <stream:stream
>> =A0 =A0 =A0 =A0 from=3D'im.example.com'
>> =A0 =A0 =A0 =A0 id=3D'vgKi/bkYME8OAj4rlXMkpucAqe4=3D'
>> =A0 =A0 =A0 =A0 to=3D'juliet@im.example.com'
>> =A0 =A0 =A0 =A0 version=3D'1.0'
>> =A0 =A0 =A0 =A0 xml:lang=3D'en'
>> =A0 =A0 =A0 =A0 xmlns=3D'jabber:client'
>> =A0 =A0 =A0 =A0 xmlns:stream=3D'http://etherx.jabber.org/streams'
>>
>> ---------------------
>>
>> The '>' is missing at the end of the stanza. :-)
>
> Fixed in my working copy. Thanks!
>
> Peter
>

By working again on the RFC, I noticed this same stream header is on 2
other places in the document with the same typo (probably
copied-pasted):
- 5.4.3.3. TLS Success
- 9.1.2. SASL

Did you see this and fixed them in your working copy as well? If not
some more job for you. ;-)
Bye.

Jehan

From stpeter@stpeter.im  Sun Nov 28 10:43: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 4EFC328C128 for <xmpp@core3.amsl.com>; Sun, 28 Nov 2010 10:43:33 -0800 (PST)
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 dQ30U121Vojb for <xmpp@core3.amsl.com>; Sun, 28 Nov 2010 10:43:27 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 6AFA328C10F for <xmpp@ietf.org>; Sun, 28 Nov 2010 10:42:56 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 408044009B; Sun, 28 Nov 2010 11:54:18 -0700 (MST)
Message-ID: <4CF2A2B7.2000108@stpeter.im>
Date: Sun, 28 Nov 2010 11:43:03 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: =?UTF-8?B?SmVoYW4gUGFnw6hz?= <jehan.marmottard@gmail.com>
References: <AANLkTinkoZj3L-=hKdVcrTxEPdbz1NJDccXezPCeUbSE@mail.gmail.com>	<4CEAC2A7.5010707@stpeter.im> <AANLkTikcza7kNSDHreuzSefCL4JWPKQxy8FBfd=k5ZqZ@mail.gmail.com>
In-Reply-To: <AANLkTikcza7kNSDHreuzSefCL4JWPKQxy8FBfd=k5ZqZ@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="------------ms090805070303010900060907"
Cc: xmpp@ietf.org
Subject: Re: [xmpp] Type in 3920bis-19
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, 28 Nov 2010 18:43:34 -0000

This is a cryptographically signed message in MIME format.

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

On 11/28/10 10:14 AM, Jehan Pag=C3=A8s wrote:
> Hi,
>=20
> On Tue, Nov 23, 2010 at 4:21 AM, Peter Saint-Andre <stpeter@stpeter.im>=
 wrote:
>> On 11/21/10 5:47 AM, Jehan Pag=C3=A8s wrote:
>>> Hi,
>>>
>>> I just stepped on a typography error. That's not very serious but
>>> still it is nicer with a nice looking RFC, so if it is not too late:
>>>
>>> 6.4.1. Exchange of Stream Headers and Stream Features
>>>
>>> [...]
>>>    The receiving entity MUST send a response stream header to the
>>>    initiating entity (for which it MUST generate a new stream ID inst=
ead
>>>    of re-using the old stream ID).
>>>
>>>    R: <stream:stream
>>>         from=3D'im.example.com'
>>>         id=3D'vgKi/bkYME8OAj4rlXMkpucAqe4=3D'
>>>         to=3D'juliet@im.example.com'
>>>         version=3D'1.0'
>>>         xml:lang=3D'en'
>>>         xmlns=3D'jabber:client'
>>>         xmlns:stream=3D'http://etherx.jabber.org/streams'
>>>
>>> ---------------------
>>>
>>> The '>' is missing at the end of the stanza. :-)
>>
>> Fixed in my working copy. Thanks!
>>
>> Peter
>>
>=20
> By working again on the RFC, I noticed this same stream header is on 2
> other places in the document with the same typo (probably
> copied-pasted):
> - 5.4.3.3. TLS Success
> - 9.1.2. SASL
>=20
> Did you see this and fixed them in your working copy as well? If not
> some more job for you. ;-)

Yes, I found many instances when I grepped for:

   streams'$



--------------ms090805070303010900060907
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
MTAyNDIxMDMzM1oXDTE3MTAyNDIxMDMzM1owgYwxCz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IDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQBFaBDqKMXrg0nZCu7LqNI6FMOBYT7IlCLmOTU+h6h5/1nLE1pXdrV/+zUr
KuCSH/cc+GfFn1bf13royvbl7Muosl3wYKbMRXb8S23IWN3h+73V1pVilLnjSyYdlA3oXvkA
uVMlKPMhmao3kj8RrhV4pOTyWidBOc4R8cUBzWqTrnwyiQDRWW7jVPotTxGWqR3XULpNuSxm
2JbxzhNRs+uQP9CspNx/2YNbb7ckHkTs7+MmgGQHTXee6G2yTFaGjaZpFhks0IOqhI8nzHiG
pXjYuXWM6ITWwweL6z+5BeZm+sU83e8WBV9hdp/cUODG8T6yKJMufL/qYO7AXi7e1lK6AAAA
AAAA
--------------ms090805070303010900060907--

From stpeter@stpeter.im  Mon Nov 29 13:20:56 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 75F643A6A6E; Mon, 29 Nov 2010 13:20:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.258
X-Spam-Level: 
X-Spam-Status: No, score=-102.258 tagged_above=-999 required=5 tests=[AWL=-0.259, BAYES_00=-2.599, J_CHICKENPOX_34=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 xJlFGJ7SvodM; Mon, 29 Nov 2010 13:20:53 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 671483A6BDB; Mon, 29 Nov 2010 13:20:52 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 93A384009B; Mon, 29 Nov 2010 14:33:05 -0700 (MST)
Message-ID: <4CF41977.70903@stpeter.im>
Date: Mon, 29 Nov 2010 14:21:59 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20101128211639.18974.78409.idtracker@localhost>
In-Reply-To: <20101128211639.18974.78409.idtracker@localhost>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms060102000602060208090307"
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 21:20:56 -0000

This is a cryptographically signed message in MIME format.

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

[cc'ing xmpp@ietf.org to keep the WG in the loop...]

On 11/28/10 2:16 PM, Alexey Melnikov wrote:
> Alexey Melnikov has entered the following ballot position for
> draft-ietf-xmpp-3920bis-19.
>=20
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this=

> introductory paragraph, however.)
>=20
> Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.htm=
l
> for more information about IESG DISCUSS and COMMENT positions.
>=20
>=20
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>=20
> [This is the initial version of my comments. I only finished reading se=
ction 6.6 at this point.]

OK.

> I am not really surprised, but this is a very well written document.=20

But it's long! Sorry about that...

> Some quick comments/questions before I can recommend approving it:
>=20
> 1)
> 4.5.3.  Idle Peer
>=20
>    Even if the underlying TCP connection is alive and the stream is not=

>    broken, the peer might have sent no stanzas for a certain period of
>    time.  In this case, the peer SHOULD close the stream using the
>    handshake described under Section 4.4.
>=20
> SHOULD close the stream, or SHOULD use the procedure in Section 4.4 if =
it decides to close it?

This might be clearer:

   In this case, the peer itself SHOULD close the stream
   (as described under <xref target=3D'streams-close'/>)
   rather than leaving an unused stream open.

>    If the idle peer does not
>    close the stream, the other party MAY either close the stream using
>    the handshake described under Section 4.4 or return a stream error
>    (e.g., <resource-constraint/> if the entity has reached a limit on
>    the number of open TCP connections or <policy-violation/> if the
>    connection has exceeded a local timeout policy).  However, consisten=
t
>    with the order of layers (specified under Section 13.3), the other
>    party is advised to verify that the underlying TCP connection is
>    alive and the stream is unbroken (as described above) before
>    concluding that the peer is idle.  Furthermore, it is preferable to
>    be liberal in accepting idle peers, since experience has shown that
>    doing so improves the reliability of communication over XMPP network=
s
>    and that it is typically more efficient to maintain a stream between=

>    two servers than to aggressively timeout such a stream.
>=20
> This is arguing for MAY above.

The SHOULD above is about the idle peer, not the entity to which the
idle peer is connected. I've tried to make that clearer in the proposed
modification above.

> 2)
> 4.6.4.  xml:lang
>=20
>    o  If the receiving entity supports a language that closely matches
>       the initiating entity's preferred language (e.g., "de" instead of=

>       "de-CH"),
>=20
> I think you really need to be referencing Section 3.4 of RFC 4647 for t=
his,
> as the process you describe above is not very formal (and might introdu=
ce
> wrong results if coded by a naive implementor).

That is an excellent suggestion. Proposed text:

   o  If the receiving entity supports a language that matches the
      initiating entity's preferred language according to the "lookup
      scheme" specified in Section 3.4 of [LANGMATCH] (e.g., "de"
      instead of "de-CH"), then the value of the 'xml:lang' attribute
      SHOULD be the identifier for the matching language (e.g., "de").

Where [LANGMATCH] =3D RFC 4647.

> 3)
> 5.3.5.  TLS Renegotiation
>=20
>    Support for TLS renegotiation is strictly OPTIONAL.  However,
>    implementations that support TLS renegotiation MUST implement and us=
e
>    the TLS Renegotiation Extension [TLS-NEG].
>=20
> This makes [TLS-NEG] a Normative Reference.

Fixed.

> 4)
> 6.4.2.  Initiation
>=20
>    If the initiating entity subsequently sends another <auth/> element
>    (even if the ongoing authentication handshake has not yet completed)=
,
>    the server SHOULD discard the ongoing handshake and begin a new
>    handshake for the subsequently requested SASL mechanism.
>=20
> What are the possible conditions for violating the SHOULD?

IIRC, that was not discussed within the WG.

> The server really MUST fail the existing handshake, but maybe it doesn'=
t have
> to begin a new handshake (e.g. it might choose to close the connection =
instead?).

You are suggesting:

   If the initiating entity subsequently sends another <auth/> element
   and the ongoing authentication handshake has not yet completed, the
   server MUST discard the ongoing handshake and SHOULD begin a new
   handshake for the subsequently requested SASL mechanism.

That seems fine.

As for violating the SHOULD, perhaps the initiating entity has attempted
to fall back too many different authentication mechanisms. See similar
text about retries in Section 6.4.5:

   If the initiating entity exceeds the number of retries, the receiving
   entity MUST return a stream error, which SHOULD be <policy-
   violation/>...

Do you think that it would be helpful to specify this scenario more
completely? For example, we could say:

   If the initiating entity subsequently sends another <auth/> element
   and the ongoing authentication handshake has not yet completed, the
   server MUST discard the ongoing handshake and MUST either begin a new
   handshake for the subsequently requested SASL mechanism or return a
   stream error, which SHOULD be <policy-violation/>.

> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>=20
> 1.4.  Terminology
>=20
>    The term "whitespace" is used to refer to any character that matches=

>    production [3] content of [XML], i.e., any instance of the SP, HTAB,=

>    CR, or LF rules defined in [ABNF].
>=20
> Any single character or multiple characters?

Good catch. That should be:

   .. one or more instances of...

> 3.2.1.  Preferred Process: SRV Lookup
>=20
>    3.  If a response is received, it will contain one or more
>        combinations of a port and hostname, each of which is weighted
>        and prioritized as described in [DNS-SRV].  However, if the
>        result of the SRV lookup is a single resource record with a
>        Target of ".", i.e. the root domain, then the initiating entity
>        MUST abort SRV processing at this point (but SHOULD attempt the
>        fallback process described in the next section).
>=20
>  [...]
>=20
>    7.  If the initiating entity fails to connect using all resolved IP
>        addresses for a given hostname, then it repeats the process of
>        resolution and connection for the next hostname returned by the
>        SRV lookup.
>=20
> While this is implied, it might be better to point out that the "next" =
is
> selected based on priority/weight from [DNS-SRV].

Fixed.

> 3.2.2.  Fallback Processes
>=20
>    For client-to-server connections, the fallback MAY be a [DNS-TXT]
>=20
> Is this Normative? It looks like it is.

Sure. Fixed.

> 3.2.3.  When Not to Use SRV
>=20
>    If the initiating entity has been explicitly configured to associate=

>    a particular hostname (and potentially port) with the origin domain
>    of the receiving entity (say, to "hardcode" an association from an
>    origin domain of example.net to a configured hostname of
>    webcm.example.com:80), the initiating entity SHOULD use the
>=20
> Is use of port 80 a good example in this document?

Probably not. :) In my working copy I've changed "webcm.example.com:80"
to "apps.example.com".

> 4.2.2.  Stream Features Format
>=20
>    A <features/> element MAY contain more than one mandatory feature.
>    This means that the initiating entity can choose among the mandatory=

>    features.  For example, perhaps a future technology will perform
>    roughly the same function as TLS, so the receiving entity might
>    advertise support for both TLS and the future technology.
>=20
> So if the server requires both TLS and SASL, does this mean that it fir=
st
> advertises TLS as required (and SASL is either advertised as optional o=
r not advertised),
> and then once TLS negotiation is complete, SASL needs to be advertised =
as required
> (on the restarted stream)?

Yes.

I propose the following adjusted text to make this clearer:

   A <features/> element MAY contain more than one mandatory-to-
   negotiate feature.  This means that the initiating entity can choose
   among the mandatory-to-negotiate features at this stage of the stream
   negotiation process.  As an example, perhaps a future technology will
   perform roughly the same function as TLS, so the receiving entity
   might advertise support for both TLS and the future technology at the
   same stage of the stream negotiation process.  However, this applies
   only at a given stage of the stream negotiation process and does not
   apply to features that are be mandatory-to-negotiate at different
   stages (e.g., the receiving entity would not advertise both STARTTLS
   and SASL as mandatory, or both SASL and resource binding as
   mandatory, because TLS would need to be negotiated before SASL and
   SASL would need to be negotiated before resource binding).

> 4.2.7.  Flow Chart
>=20
> In the flowchart - is "receive stream features" required after each neg=
otiation
> of a voluntary feature?

Section 4.2.4 states:

   The receiving entity MUST send an updated list of stream features to
   the initiating entity after a stream restart, and MAY do so after
   completing negotiation of a stream feature that does not require a
   stream restart.  The list of updated features MAY be empty if there
   are no further features to be advertised or MAY include any
   combination of features.

I've changed the flow chart to:

                           |                                   |
                           v                                   |
                    +----------------+                         |
                    | receive stream |                         |
+------------------>| features       |                         |
^   {OPTIONAL}      +----------------+                         |
|                          |                                   |

> 4.6.  Stream Attributes
>=20
>    The attributes of the root <stream/> element are defined in the
>    following sections.
>=20
>       Security Note: Until and unless the confidentiality and integrity=

>       of a stream header is ensured via Transport Layer Security as
>       described under Section 5, the attributes provided in a stream
>       header could be tampered with by an attacker.
>=20
> Or SASL security layer (e.g. GSSAPI).

Good point. Fixed.

> 4.7.2.  Content Namespace
>=20
>    When a content namespace is not declared as the default namespace an=
d
>    so-called "prefix-free canonicalization" is used instead, in rough
>    outline a stream will look something like the following.
>=20
>    <stream
>        from=3D'juliet@im.example.com'
>        to=3D'im.example.com'
>        version=3D'1.0'
>        xml:lang=3D'en'
>        xmlns=3D'http://etherx.jabber.org/streams'>
>      <message xmlns=3D'jabber:client'>
>        <body>foo</body>
>      </message>
>    </stream:stream>
>=20
> Should the closing tag be </stream> above?

Yes, fixed.

> 4.7.4.  Namespace Declarations and Prefixes
>=20
>    An implementation MUST NOT generate namespace prefixes for elements
>    qualified by the content namespace if the content namespace is
>    'jabber:client' or 'jabber:server' (e.g., <foo:presence/>).  An XMPP=

>=20
> Can you try to explain this again, you lost me here.
>=20
>    entity MUST NOT accept data that violates this rule (in particular,
>    an XMPP server MUST NOT route or deliver such data to another
>    entity); instead it MUST either ignore the data or return a stream
>    error (which SHOULD be <bad-namespace-prefix/>).

This point can indeed be confusing and resulted in a long discussion
within the WG recently.

I think an example would help, so perhaps this is a bit clearer:

###

   An implementation MUST NOT generate namespace prefixes for elements
   qualified by the content namespace (i.e., the default namespace for
   data sent over the stream) if the content namespace is 'jabber:
   client' or 'jabber:server'.  For example, the following is illegal:

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

   An XMPP entity MUST NOT accept data that violates this rule (in
   particular, an XMPP server MUST NOT route or deliver such data to
   another entity); instead it MUST either ignore the data or return a
   stream error (which SHOULD be <bad-namespace-prefix/>).

###

> 5.4.3.1.  Rules
>=20
>    7.  Following successful TLS negotiation, all further data
>        transmitted by either party MUST be encrypted.
>=20
> Did you really meant "encrypted" here? What about use of NULL ciphers
> with integrity protection?

We forgot about those.

Is this more accurate?

   7.  Following successful TLS negotiation, all further data
       transmitted by either party MUST be protected with the negotiated
       algorithms, keys, and secrets (i.e., encrypted, integrity-
       protected, or both depending on the ciphersuite used).

> 5.4.3.3.  TLS Success
>=20
>    R: <stream:features>
>         <mechanisms xmlns=3D'urn:ietf:params:xml:ns:xmpp-sasl'>
>           <mechanism>EXTERNAL</mechanism>
>           <mechanism>PLAIN</mechanism>
>         </mechanisms>
>       </stream:features>
>=20
> This should include SCRAM-SHA-1 :-), as it is an MTI.

Good point. Changed to:

R: <stream:features>
     <mechanisms xmlns=3D'urn:ietf:params:xml:ns:xmpp-sasl'>
       <mechanism>EXTERNAL</mechanism>
       <mechanism>SCRAM-SHA-1-PLUS</mechanism>
       <mechanism>SCRAM-SHA-1</mechanism>
       <mechanism>PLAIN</mechanism>
     </mechanisms>
   </stream:features>

> 6.3.3.  Mechanism Preferences
>=20
>    Any entity that will act as a SASL client or a SASL server MUST
>    maintain an ordered list of its preferred SASL mechanisms according
>    to the client or server, where the list is ordered according to loca=
l
>    policy or user configuration (which SHOULD be in order of perceived
>    strength to enable the strongest authentication possible).  A server=

>    MUST offer and a client MUST try SASL mechanisms in preference order=
=2E
>=20
> Is this clear that server's and client's preference orders are differen=
t?

Section 6.4.1 states:

   The <mechanisms/> element MUST contain one <mechanism/> child element
   for each authentication mechanism the receiving entity offers to the
   initiating entity.  The order of <mechanism/> elements in the XML
   indicates the preference order of the SASL mechanisms according to
   the receiving entity; however the initiating entity MUST maintain its
   own preference order independent of the preference order of the
   receiving entity.

I think the last clause really belongs in Section 6.3.3.

Thus Section 6.3.3:

   Any entity that will act as a SASL client or a SASL server MUST
   maintain an ordered list of its preferred SASL mechanisms according
   to the client or server, where the list is ordered according to local
   policy or user configuration (which SHOULD be in order of perceived
   strength to enable the strongest authentication possible).  The
   initiating entity MUST maintain its own preference order independent
   of the preference order of the receiving entity.  A server MUST offer
   and a client MUST try SASL mechanisms in preference order.  For
   example, if the server offers the ordered list "PLAIN SCRAM-SHA-1
   GSSAPI" or "SCRAM-SHA-1 GSSAPI PLAIN" but the client's ordered list
   is "GSSAPI SCRAM-SHA-1", the client MUST try GSSAPI first and then
   SCRAM-SHA-1 but MUST NOT try PLAIN (since PLAIN is not on its list).

and in Section 6.4.1:

   The <mechanisms/> element MUST contain one <mechanism/> child element
   for each authentication mechanism the receiving entity offers to the
   initiating entity.  As noted, the order of <mechanism/> elements in
   the XML indicates the preference order of the SASL mechanisms
   according to the receiving entity (which is not necessarily the
   preference order according to the initiating entity.

> 6.3.7.  Simple User Name
>=20
>    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 o=
f
>    the user's JID.
>=20
> Or bare JID? I believe many implementations based on Cyrus SASL allow f=
ull email-like syntax here.

The WG had a long debate about this and settled on localpart as opposed
to bare JID. The matter was unclear in RFC 3920, resulting in confusion
among implementers.

In fact we should add the following to Appendix D:

  o Clarified that a SASL simple user name is the localpart, not
    the bare JID.

> 6.3.9.  Realms
>=20
>    The receiving entity MAY include a realm when negotiating certain
>    SASL mechanisms.  If the receiving entity does not communicate a
>    realm, the initiating entity MUST NOT assume that any realm exists.
>    The realm MUST be used only for the purpose of authentication; in
>    particular, an initiating entity MUST NOT attempt to derive an XMPP
>    hostname from the realm information provided by the receiving entity=
=2E
>=20
> Should this be clearer about which mechanisms are we talking about?
> IMHO, being vague is not being helpful here.

RFC 4422 was vague about this, too. :P

As far as I can see, DIGEST-MD5 has a concept of realm, but the concept
is absent from EXTERNAL, SCRAM, PLAIN, and CRAM-MD5. I'm not sure about
GSSAPI. Does that look right to you? I agree that it would be helpful to
clarify this, but only as examples because future SASL mechanisms might
or might not include the concept of a realm.

Looking forward to your review of Section 7 onward...

Peter

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




--------------ms060102000602060208090307
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
Z25pbmcxKTAnBgNVBAMTIFN0YXJ0Q29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BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQB7hk5I41Vix3kfcYQb9oZA3R+34j0f5cPBTd4sU/C4WgpVeEYExHLd4dis
+XRz1hQAZwVJggrdEQWqYFXdmJkcIytGyFEtgowlF8EDKYkhiTFU0SeuMVCPSwk+CNnGNm2f
5N7gDx8muPoHRpnmAKUIQYm3CBxTLhMv0SnpenYU3Z2ybKQHo6FAo+CHKJ9/8rewMYFtp7Cp
DosHUQEsY8OM9bDXtcfZrB955PcImQSyZR2epc2il0Qxlvp353kvZ5UgfuPybE9993/dCp4o
d7vOiy1LNEe3lsetpCkMH4iG040Tb2KqcLPtDw8SNscYfnKRayoqBTRS5cUJXu4aNqp7AAAA
AAAA
--------------ms060102000602060208090307--

From stpeter@stpeter.im  Mon Nov 29 13:47: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 8D07B3A6C10; Mon, 29 Nov 2010 13:47:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.251
X-Spam-Level: 
X-Spam-Status: No, score=-102.251 tagged_above=-999 required=5 tests=[AWL=-0.252, BAYES_00=-2.599, 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 EI1L6Dol0ZZ4; Mon, 29 Nov 2010 13:47:23 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 9817B3A6A56; Mon, 29 Nov 2010 13:47:23 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 71AD14009B; Mon, 29 Nov 2010 14:59:37 -0700 (MST)
Message-ID: <4CF41FAF.6070709@stpeter.im>
Date: Mon, 29 Nov 2010 14:48:31 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20101129213125.16045.22285.idtracker@localhost>
In-Reply-To: <20101129213125.16045.22285.idtracker@localhost>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020908090101060909010303"
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 21:47:24 -0000

This is a cryptographically signed message in MIME format.

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

Replying to only the new items, and once again cc'ing the WG...

On 11/29/10 2:31 PM, Alexey Melnikov wrote:

> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------

<snip/>

> 5) DISCUSS DISCUSS
>=20
>    [UNICODE]  The Unicode Consortium, "The Unicode Standard, Version
>               3.2.0", 2000.
>=20
>               The Unicode Standard, Version 3.2.0 is defined by The
>               Unicode Standard, Version 3.0 (Reading, MA, Addison-
>               Wesley, 2000.  ISBN 0-201-61633-5), as amended by the
>               Unicode Standard Annex #27: Unicode 3.1
>               (http://www.unicode.org/reports/tr27/) and by the Unicode=

>               Standard Annex #28: Unicode 3.2
>               (http://www.unicode.org/reports/tr28/).
>=20
> Should this be upgraded to at least Unicode 5.1?

Why not 6.0?

It was 3.2 because of the dependency on 3.2 for stringprep, but that is
not cited from this document so updating it to the most recent version
seems appropriate.

> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------

<snip/>

> ----NEW----
>=20
> 8.3.1.  Rules
>=20
>    4.  An error stanza MUST contain an <error/> child element.
>=20
>    7.  An <error/> child MUST NOT be included if the 'type' attribute
>        has a value other than "error" (or if there is no 'type'
>        attribute).
>=20
> Are these 2 in conflict? If they are not, should they be combined into =
a single rule?

It's not an error stanza if the type is not "error", so I don't think
those two rules are in conflict.

> 8.3.3.13.  policy-violation
>=20
>    The entity has violated some local service policy (e.g., a message
>    contains words that are prohibited by the service); the server MAY
>    choose to specify the policy in the <text/> element or in an
>    application-specific condition element; the associated error type
>    SHOULD be "modify" or "wait" depending on the policy being violated.=

>=20
>=20
>    (In the following example, the client sends an XMPP message that is
>    too large according to the server's local service policy.)
>=20
> It might be better to change the description to mention prohibited word=
s (e.g. "!!!").
> Otherwise this looks too similar to <not-acceptable/>.
>=20
>    C: <message from=3D'romeo@example.net/foo'
>                to=3D'bill@im.example.com'
>                id=3D'vq71f4nb'>
>         <body>%#&@^!!!</body>
>       </message>

Sure, will do. :)

Peter

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




--------------ms020908090101060909010303
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/BAQDAgEGMB0GA1UdDgQW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DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAt4vPsh/Tb17+aY9/SlBObM9Y7u/kNlVNLT3m9rtjkzFEAm6GHmCKRcP13
kJnufk7D70VZ+ILbD4wDaLwcpVS41ZZQ2WKBkRvXIHSMxyJlWc0dxe1IlIwe2UMrrTZayEGA
E+VJmwjPPQrEgfHKePXmEihUHIGi9vz1I6xyuQoWFjgDnpJBS9OIXEUciNFfSGew9xvBOpcA
0z9OC3F2kPQZqFx99hksfCqcre/eTYr1x5cAfWxaxyrsCAJFftSdPhngEy0Aj2S1Vqp237IU
CaMOWT9ESEFDXScrZnMBcbuxxx+FQzbQ2tADwTwKlxCuTNbEDeJQiCeivqJPKmEy94vqAAAA
AAAA
--------------ms020908090101060909010303--

From alexey.melnikov@isode.com  Mon Nov 29 14:01:38 2010
Return-Path: <alexey.melnikov@isode.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 44BBB3A6B28; Mon, 29 Nov 2010 14:01:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.58
X-Spam-Level: 
X-Spam-Status: No, score=-102.58 tagged_above=-999 required=5 tests=[AWL=0.019, 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 RZSIl+f4zw+j; Mon, 29 Nov 2010 14:01:36 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 309663A6C40; Mon, 29 Nov 2010 14:01:36 -0800 (PST)
Received: from [92.40.131.75] (92.40.131.75.sub.mbb.three.co.uk [92.40.131.75])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TPQi=gAEeU-b@rufus.isode.com>; Mon, 29 Nov 2010 22:02:41 +0000
Message-ID: <4CF422C4.7090700@isode.com>
Date: Mon, 29 Nov 2010 22:01:40 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <20101128211639.18974.78409.idtracker@localhost> <4CF41977.70903@stpeter.im>
In-Reply-To: <4CF41977.70903@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 22:01:38 -0000

Peter Saint-Andre wrote:

>[cc'ing xmpp@ietf.org to keep the WG in the loop...]
>  
>
Hi Peter,
I've deleted items where I am happy with your new text. Remaining 
comments below:

>On 11/28/10 2:16 PM, Alexey Melnikov wrote:
>  
>
>>Alexey Melnikov has entered the following ballot position for
>>draft-ietf-xmpp-3920bis-19.
>>
>>When responding, please keep the subject line intact and reply to all
>>email addresses included in the To and CC lines. (Feel free to cut this
>>introductory paragraph, however.)
>>
>>Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.html
>>for more information about IESG DISCUSS and COMMENT positions.
>>
>>
>>----------------------------------------------------------------------
>>DISCUSS:
>>----------------------------------------------------------------------
>>
>>[This is the initial version of my comments. I only finished reading section 6.6 at this point.]
>>    
>>
>OK.
>  
>
>>I am not really surprised, but this is a very well written document. 
>>    
>>
>
>But it's long! Sorry about that...
>  
>
>>Some quick comments/questions before I can recommend approving it:
>>
>>1)
>>4.5.3.  Idle Peer
>>
>>   Even if the underlying TCP connection is alive and the stream is not
>>   broken, the peer might have sent no stanzas for a certain period of
>>   time.  In this case, the peer SHOULD close the stream using the
>>   handshake described under Section 4.4.
>>
>>SHOULD close the stream, or SHOULD use the procedure in Section 4.4 if it decides to close it?
>>    
>>
>This might be clearer:
>
>   In this case, the peer itself SHOULD close the stream
>   (as described under <xref target='streams-close'/>)
>   rather than leaving an unused stream open.
>  
>
That is better.

>>   If the idle peer does not
>>   close the stream, the other party MAY either close the stream using
>>   the handshake described under Section 4.4 or return a stream error
>>   (e.g., <resource-constraint/> if the entity has reached a limit on
>>   the number of open TCP connections or <policy-violation/> if the
>>   connection has exceeded a local timeout policy).  However, consistent
>>   with the order of layers (specified under Section 13.3), the other
>>   party is advised to verify that the underlying TCP connection is
>>   alive and the stream is unbroken (as described above) before
>>   concluding that the peer is idle.  Furthermore, it is preferable to
>>   be liberal in accepting idle peers, since experience has shown that
>>   doing so improves the reliability of communication over XMPP networks
>>   and that it is typically more efficient to maintain a stream between
>>   two servers than to aggressively timeout such a stream.
>>
>>This is arguing for MAY above.
>>    
>>
>The SHOULD above is about the idle peer, not the entity to which the
>idle peer is connected. I've tried to make that clearer in the proposed
>modification above.
>  
>
 [...]

>>4)
>>6.4.2.  Initiation
>>
>>   If the initiating entity subsequently sends another <auth/> element
>>   (even if the ongoing authentication handshake has not yet completed),
>>   the server SHOULD discard the ongoing handshake and begin a new
>>   handshake for the subsequently requested SASL mechanism.
>>
>>What are the possible conditions for violating the SHOULD?
>>    
>>
>IIRC, that was not discussed within the WG.
>  
>
>>The server really MUST fail the existing handshake, but maybe it doesn't have
>>to begin a new handshake (e.g. it might choose to close the connection instead?).
>>    
>>
>
>You are suggesting:
>
>   If the initiating entity subsequently sends another <auth/> element
>   and the ongoing authentication handshake has not yet completed, the
>   server MUST discard the ongoing handshake and SHOULD begin a new
>   handshake for the subsequently requested SASL mechanism.
>
>That seems fine.
>
>As for violating the SHOULD, perhaps the initiating entity has attempted
>to fall back too many different authentication mechanisms. See similar
>text about retries in Section 6.4.5:
>
>   If the initiating entity exceeds the number of retries, the receiving
>   entity MUST return a stream error, which SHOULD be <policy-
>   violation/>...
>
>Do you think that it would be helpful to specify this scenario more
>completely? For example, we could say:
>
>   If the initiating entity subsequently sends another <auth/> element
>   and the ongoing authentication handshake has not yet completed, the
>   server MUST discard the ongoing handshake and MUST either begin a new
>   handshake for the subsequently requested SASL mechanism or return a
>   stream error, which SHOULD be <policy-violation/>.
>  
>
If this list of outcomes is exhaustive, then yes.

>>4.2.2.  Stream Features Format
>>
>>   A <features/> element MAY contain more than one mandatory feature.
>>   This means that the initiating entity can choose among the mandatory
>>   features.  For example, perhaps a future technology will perform
>>   roughly the same function as TLS, so the receiving entity might
>>   advertise support for both TLS and the future technology.
>>
>>So if the server requires both TLS and SASL, does this mean that it first
>>advertises TLS as required (and SASL is either advertised as optional or not advertised),
>>and then once TLS negotiation is complete, SASL needs to be advertised as required
>>(on the restarted stream)?
>>    
>>
>
>Yes.
>
>I propose the following adjusted text to make this clearer:
>
>   A <features/> element MAY contain more than one mandatory-to-
>   negotiate feature.  This means that the initiating entity can choose
>   among the mandatory-to-negotiate features at this stage of the stream
>   negotiation process.  As an example, perhaps a future technology will
>   perform roughly the same function as TLS, so the receiving entity
>   might advertise support for both TLS and the future technology at the
>   same stage of the stream negotiation process.  However, this applies
>   only at a given stage of the stream negotiation process and does not
>   apply to features that are be mandatory-to-negotiate at different
>   stages (e.g., the receiving entity would not advertise both STARTTLS
>   and SASL as mandatory, or both SASL and resource binding as
>   mandatory, because TLS would need to be negotiated before SASL and
>   SASL would need to be negotiated before resource binding).
>  
>
Actually I thought TLS (with possible SCRAM-SHA-1/EXTERNAL/PLAIN) as an 
alternative to SASL GSSAPI (which can provide encryption).
So your new text is slightly wrong on that.
 [...]

>>4.7.4.  Namespace Declarations and Prefixes
>>
>>   An implementation MUST NOT generate namespace prefixes for elements
>>   qualified by the content namespace if the content namespace is
>>   'jabber:client' or 'jabber:server' (e.g., <foo:presence/>).  An XMPP
>>
>>Can you try to explain this again, you lost me here.
>>
>>   entity MUST NOT accept data that violates this rule (in particular,
>>   an XMPP server MUST NOT route or deliver such data to another
>>   entity); instead it MUST either ignore the data or return a stream
>>   error (which SHOULD be <bad-namespace-prefix/>).
>>    
>>
>
>This point can indeed be confusing and resulted in a long discussion
>within the WG recently.
>
>I think an example would help, so perhaps this is a bit clearer:
>
>###
>
>   An implementation MUST NOT generate namespace prefixes for elements
>   qualified by the content namespace (i.e., the default namespace for
>   data sent over the stream) if the content namespace is 'jabber:
>   client' or 'jabber:server'.  For example, the following is illegal:
>
>   <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'>
>     <foo:message xmlns:foo='jabber:client'>
>       <foo:body>foo</foo:body>
>     </foo:message>
>  
>
Is the namespace declaration for "foo" should also be included? Or is 
lack of it is the point here?

>   </stream:stream>
>
>   An XMPP entity MUST NOT accept data that violates this rule (in
>   particular, an XMPP server MUST NOT route or deliver such data to
>   another entity); instead it MUST either ignore the data or return a
>   stream error (which SHOULD be <bad-namespace-prefix/>).
>
>###
>  
>
>>5.4.3.1.  Rules
>>
>>   7.  Following successful TLS negotiation, all further data
>>       transmitted by either party MUST be encrypted.
>>
>>Did you really meant "encrypted" here? What about use of NULL ciphers
>>with integrity protection?
>>    
>>
>
>We forgot about those.
>
>Is this more accurate?
>
>   7.  Following successful TLS negotiation, all further data
>       transmitted by either party MUST be protected with the negotiated
>       algorithms, keys, and secrets (i.e., encrypted, integrity-
>       protected, or both depending on the ciphersuite used).
>  
>
Yes.

>>6.3.7.  Simple User Name
>>
>>   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.
>>
>>Or bare JID? I believe many implementations based on Cyrus SASL allow full email-like syntax here.
>>    
>>
>The WG had a long debate about this and settled on localpart as opposed
>to bare JID. The matter was unclear in RFC 3920, resulting in confusion
>among implementers.
>
>In fact we should add the following to Appendix D:
>
>  o Clarified that a SASL simple user name is the localpart, not
>    the bare JID.
>  
>
I am thinking about multidomain servers which don't enforce localpart 
uniqueness across domains. That would be inconvenient.

But anyway, that is only a SHOULD :-).

>>6.3.9.  Realms
>>
>>   The receiving entity MAY include a realm when negotiating certain
>>   SASL mechanisms.  If the receiving entity does not communicate a
>>   realm, the initiating entity MUST NOT assume that any realm exists.
>>   The realm MUST be used only for the purpose of authentication; in
>>   particular, an initiating entity MUST NOT attempt to derive an XMPP
>>   hostname from the realm information provided by the receiving entity.
>>
>>Should this be clearer about which mechanisms are we talking about?
>>IMHO, being vague is not being helpful here.
>>    
>>
>
>RFC 4422 was vague about this, too. :P
>
>As far as I can see, DIGEST-MD5 has a concept of realm, but the concept
>is absent from EXTERNAL, SCRAM, PLAIN, and CRAM-MD5. I'm not sure about
>GSSAPI. Does that look right to you? I agree that it would be helpful to
>clarify this, but only as examples because future SASL mechanisms might
>or might not include the concept of a realm.
>  
>
I think both DIGEST-MD5 and GSSAPI use realms (and in somewhat different 
manner).

>Looking forward to your review of Section 7 onward...
>  
>
I just finished section 12 :-).


From alexey.melnikov@isode.com  Mon Nov 29 14:04:58 2010
Return-Path: <alexey.melnikov@isode.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 131223A6BDE; Mon, 29 Nov 2010 14:04:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.282
X-Spam-Level: 
X-Spam-Status: No, score=-102.282 tagged_above=-999 required=5 tests=[AWL=-0.283, BAYES_00=-2.599, 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 2jX+HuZWLijm; Mon, 29 Nov 2010 14:04:57 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id D5EFE3A6B28; Mon, 29 Nov 2010 14:04:56 -0800 (PST)
Received: from [92.40.131.75] (92.40.131.75.sub.mbb.three.co.uk [92.40.131.75])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TPQjyQAEeS=I@rufus.isode.com>; Mon, 29 Nov 2010 22:06:05 +0000
Message-ID: <4CF42398.8090903@isode.com>
Date: Mon, 29 Nov 2010 22:05:12 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <20101129213125.16045.22285.idtracker@localhost> <4CF41FAF.6070709@stpeter.im>
In-Reply-To: <4CF41FAF.6070709@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 22:04:58 -0000

Peter Saint-Andre wrote:

>Replying to only the new items, and once again cc'ing the WG...
>
>On 11/29/10 2:31 PM, Alexey Melnikov wrote:
>  
>
>>----------------------------------------------------------------------
>>DISCUSS:
>>----------------------------------------------------------------------
>>    
>>
><snip/>
>  
>
>>5) DISCUSS DISCUSS
>>
>>   [UNICODE]  The Unicode Consortium, "The Unicode Standard, Version
>>              3.2.0", 2000.
>>
>>              The Unicode Standard, Version 3.2.0 is defined by The
>>              Unicode Standard, Version 3.0 (Reading, MA, Addison-
>>              Wesley, 2000.  ISBN 0-201-61633-5), as amended by the
>>              Unicode Standard Annex #27: Unicode 3.1
>>              (http://www.unicode.org/reports/tr27/) and by the Unicode
>>              Standard Annex #28: Unicode 3.2
>>              (http://www.unicode.org/reports/tr28/).
>>
>>Should this be upgraded to at least Unicode 5.1?
>>    
>>
>Why not 6.0?
>  
>
Sure.

>It was 3.2 because of the dependency on 3.2 for stringprep, but that is
>not cited from this document so updating it to the most recent version
>seems appropriate.
>  
>
Agree. Besides this document is talking about what is allowed in stanzas 
(among other things). No need to be restrictive here.

Best Regards,
Alexey


From dave@cridland.net  Mon Nov 29 14:05:37 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 1FD6F3A6C3F for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 14:05:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.246
X-Spam-Level: 
X-Spam-Status: No, score=-0.246 tagged_above=-999 required=5 tests=[AWL=-2.081, BAYES_00=-2.599, FRT_FUCK2=3.434, SARE_OBFUFCK2=1]
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 1FWNIY8SA64M for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 14:05:36 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id B06D63A6C46 for <xmpp@ietf.org>; Mon, 29 Nov 2010 14:05:35 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 3E5C01168109; Mon, 29 Nov 2010 22:06:45 +0000 (GMT)
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 VHbxQMi4Y9aI; Mon, 29 Nov 2010 22:06:37 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id CBBFA11680FB; Mon, 29 Nov 2010 22:06:36 +0000 (GMT)
References: <20101128211639.18974.78409.idtracker@localhost> <4CF41977.70903@stpeter.im>
In-Reply-To: <4CF41977.70903@stpeter.im>
MIME-Version: 1.0
Message-Id: <2147.1291068396.807325@puncture>
Date: Mon, 29 Nov 2010 22:06:36 +0000
From: Dave Cridland <dave@cridland.net>
To: XMPP Working Group <xmpp@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 22:05:37 -0000

Nit-picking as things whizz past...

On Mon Nov 29 21:21:59 2010, Peter Saint-Andre wrote:
> > 4.5.3.  Idle Peer
> >
> >    Even if the underlying TCP connection is alive and the stream  
> is not
> >    broken, the peer might have sent no stanzas for a certain  
> period of
> >    time.  In this case, the peer SHOULD close the stream using the
> >    handshake described under Section 4.4.
> >
> > SHOULD close the stream, or SHOULD use the procedure in Section  
> 4.4 if it decides to close it?
> 
> This might be clearer:
> 
>    In this case, the peer itself SHOULD close the stream
>    (as described under <xref target='streams-close'/>)
>    rather than leaving an unused stream open.
> 
> 
Why SHOULD? It's unclear to me that leaving an idle S2S stream up is  
a problem, especially given that the other end MAY close it if it is.  
(That is, I do not see an interoperability or security issue here to  
consider).


> >    If the idle peer does not
> >    close the stream, the other party MAY either close the stream  
> using
> >    the handshake described under Section 4.4 or return a stream  
> error
> >    (e.g., <resource-constraint/> if the entity has reached a  
> limit on
> >    the number of open TCP connections or <policy-violation/> if  
> the
> >    connection has exceeded a local timeout policy).  However,  
> consistent
> >    with the order of layers (specified under Section 13.3), the  
> other
> >    party is advised to verify that the underlying TCP connection  
> is
> >    alive and the stream is unbroken (as described above) before
> >    concluding that the peer is idle.  Furthermore, it is  
> preferable to
> >    be liberal in accepting idle peers, since experience has shown  
> that
> >    doing so improves the reliability of communication over XMPP  
> networks
> >    and that it is typically more efficient to maintain a stream  
> between
> >    two servers than to aggressively timeout such a stream.
> >
> > This is arguing for MAY above.
> 
> The SHOULD above is about the idle peer, not the entity to which the
> idle peer is connected. I've tried to make that clearer in the  
> proposed
> modification above.

I agree with Alexey, here - this text is arguing that the above  
behaviour is "truly optional".

> Do you think that it would be helpful to specify this scenario more
> completely? For example, we could say:
> 
>    If the initiating entity subsequently sends another <auth/>  
> element
>    and the ongoing authentication handshake has not yet completed,  
> the
>    server MUST discard the ongoing handshake and MUST either begin  
> a new
>    handshake for the subsequently requested SASL mechanism or  
> return a
>    stream error, which SHOULD be <policy-violation/>.
> 
> 
I would rather we picked a single behaviour. I don't care much what  
it is.

>    The receiving entity MUST send an updated list of stream  
> features to
>    the initiating entity after a stream restart, and MAY do so after
>    completing negotiation of a stream feature that does not require  
> a
>    stream restart.  The list of updated features MAY be empty if  
> there
>    are no further features to be advertised or MAY include any
>    combination of features.

Really? I'd not noticed this before (I am aware that we had a  
discussion about unilaterally sending features before and the  
consensus seemed to be against that, but I acknowledge this is a  
different case to an extent). I'm somewhat nervous about how deployed  
clients might respond if we send updated features after resource  
binding, for example.

Consider me fruck out. :-)

>    An XMPP entity MUST NOT accept data that violates this rule (in
>    particular, an XMPP server MUST NOT route or deliver such data to
>    another entity); instead it MUST either ignore the data or  
> return a
>    stream error (which SHOULD be <bad-namespace-prefix/>).

It's not clear to me that an XMPP entity can fail to accept such  
data, because in many (most?) XML processors, the two forms are  
semantically equivalent. There's a sketchy argument that this is a  
SHOULD NOT accept.

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 alexey.melnikov@isode.com  Mon Nov 29 14:09:08 2010
Return-Path: <alexey.melnikov@isode.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 C4C863A6C3F; Mon, 29 Nov 2010 14:09:08 -0800 (PST)
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 d4R8XmzezAYb; Mon, 29 Nov 2010 14:09:07 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 798213A6C10; Mon, 29 Nov 2010 14:09:07 -0800 (PST)
Received: from [92.40.131.75] (92.40.131.75.sub.mbb.three.co.uk [92.40.131.75])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TPQkxQAEeZfx@rufus.isode.com>; Mon, 29 Nov 2010 22:10:16 +0000
Message-ID: <4CF42493.50301@isode.com>
Date: Mon, 29 Nov 2010 22:09:23 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <20101128211639.18974.78409.idtracker@localhost> <4CF41977.70903@stpeter.im> <4CF422C4.7090700@isode.com>
In-Reply-To: <4CF422C4.7090700@isode.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 22:09:08 -0000

Alexey Melnikov wrote:

> Peter Saint-Andre wrote:

 [...]

>>> 4.7.4.  Namespace Declarations and Prefixes
>>>
>>>   An implementation MUST NOT generate namespace prefixes for elements
>>>   qualified by the content namespace if the content namespace is
>>>   'jabber:client' or 'jabber:server' (e.g., <foo:presence/>).  An XMPP
>>>
>>> Can you try to explain this again, you lost me here.
>>>
>>>   entity MUST NOT accept data that violates this rule (in particular,
>>>   an XMPP server MUST NOT route or deliver such data to another
>>>   entity); instead it MUST either ignore the data or return a stream
>>>   error (which SHOULD be <bad-namespace-prefix/>).
>>
>> This point can indeed be confusing and resulted in a long discussion
>> within the WG recently.
>>
>> I think an example would help, so perhaps this is a bit clearer:
>>
>> ###
>>
>>   An implementation MUST NOT generate namespace prefixes for elements
>>   qualified by the content namespace (i.e., the default namespace for
>>   data sent over the stream) if the content namespace is 'jabber:
>>   client' or 'jabber:server'.  For example, the following is illegal:
>>
>>   <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'>
>>     <foo:message xmlns:foo='jabber:client'>
>>       <foo:body>foo</foo:body>
>>     </foo:message>
>
> Is the namespace declaration for "foo" should also be included? Or is 
> lack of it is the point here?

Never mind, it is in the example.

>>   </stream:stream>
>>
>>   An XMPP entity MUST NOT accept data that violates this rule (in
>>   particular, an XMPP server MUST NOT route or deliver such data to
>>   another entity); instead it MUST either ignore the data or return a
>>   stream error (which SHOULD be <bad-namespace-prefix/>).
>>
>> ###
>


From stpeter@stpeter.im  Mon Nov 29 14:27: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 66EC33A6C40; Mon, 29 Nov 2010 14:27:21 -0800 (PST)
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 wnvsxWyl3m3i; Mon, 29 Nov 2010 14:27:11 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 907973A6BD5; Mon, 29 Nov 2010 14:27:10 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id EF43F4009B; Mon, 29 Nov 2010 15:39:22 -0700 (MST)
Message-ID: <4CF428FB.4010206@stpeter.im>
Date: Mon, 29 Nov 2010 15:28:11 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20101128211639.18974.78409.idtracker@localhost>	<4CF41977.70903@stpeter.im> <4CF422C4.7090700@isode.com>
In-Reply-To: <4CF422C4.7090700@isode.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="------------ms080403070803010809090709"
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on	draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 22:27:22 -0000

This is a cryptographically signed message in MIME format.

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

On 11/29/10 3:01 PM, Alexey Melnikov wrote:
> Peter Saint-Andre wrote:
>=20
>> [cc'ing xmpp@ietf.org to keep the WG in the loop...]
>> =20
>>
> Hi Peter,
> I've deleted items where I am happy with your new text. Remaining
> comments below:

OK. Further comments (and trimming) inline.

>> On 11/28/10 2:16 PM, Alexey Melnikov wrote:
>>
>>> ---------------------------------------------------------------------=
-
>>> DISCUSS:
>>> ---------------------------------------------------------------------=
-
>>>
>>> 4)
>>> 6.4.2.  Initiation
>>>
>>>   If the initiating entity subsequently sends another <auth/> element=

>>>   (even if the ongoing authentication handshake has not yet completed=
),
>>>   the server SHOULD discard the ongoing handshake and begin a new
>>>   handshake for the subsequently requested SASL mechanism.
>>>
>>> What are the possible conditions for violating the SHOULD?
>>>  =20
>> IIRC, that was not discussed within the WG.
>> =20
>>
>>> The server really MUST fail the existing handshake, but maybe it
>>> doesn't have
>>> to begin a new handshake (e.g. it might choose to close the
>>> connection instead?).
>>>  =20
>>
>> You are suggesting:
>>
>>   If the initiating entity subsequently sends another <auth/> element
>>   and the ongoing authentication handshake has not yet completed, the
>>   server MUST discard the ongoing handshake and SHOULD begin a new
>>   handshake for the subsequently requested SASL mechanism.
>>
>> That seems fine.
>>
>> As for violating the SHOULD, perhaps the initiating entity has attempt=
ed
>> to fall back too many different authentication mechanisms. See similar=

>> text about retries in Section 6.4.5:
>>
>>   If the initiating entity exceeds the number of retries, the receivin=
g
>>   entity MUST return a stream error, which SHOULD be <policy-
>>   violation/>...
>>
>> Do you think that it would be helpful to specify this scenario more
>> completely? For example, we could say:
>>
>>   If the initiating entity subsequently sends another <auth/> element
>>   and the ongoing authentication handshake has not yet completed, the
>>   server MUST discard the ongoing handshake and MUST either begin a ne=
w
>>   handshake for the subsequently requested SASL mechanism or return a
>>   stream error, which SHOULD be <policy-violation/>.
>> =20
>>
> If this list of outcomes is exhaustive, then yes.

I think so.

A server implementer might think about sending a SASL error at the point
of receiving a subsequent <auth/> element, but I think that's a bad idea
because we don't have a SASL error defined for that scenario. Better to
either accept the new auth handshake attempt or close the stream.

>>> 4.2.2.  Stream Features Format
>>>
>>>   A <features/> element MAY contain more than one mandatory feature.
>>>   This means that the initiating entity can choose among the mandator=
y
>>>   features.  For example, perhaps a future technology will perform
>>>   roughly the same function as TLS, so the receiving entity might
>>>   advertise support for both TLS and the future technology.
>>>
>>> So if the server requires both TLS and SASL, does this mean that it
>>> first
>>> advertises TLS as required (and SASL is either advertised as optional=

>>> or not advertised),
>>> and then once TLS negotiation is complete, SASL needs to be
>>> advertised as required
>>> (on the restarted stream)?
>>>  =20
>>
>> Yes.
>>
>> I propose the following adjusted text to make this clearer:
>>
>>   A <features/> element MAY contain more than one mandatory-to-
>>   negotiate feature.  This means that the initiating entity can choose=

>>   among the mandatory-to-negotiate features at this stage of the strea=
m
>>   negotiation process.  As an example, perhaps a future technology wil=
l
>>   perform roughly the same function as TLS, so the receiving entity
>>   might advertise support for both TLS and the future technology at th=
e
>>   same stage of the stream negotiation process.  However, this applies=

>>   only at a given stage of the stream negotiation process and does not=

>>   apply to features that are be mandatory-to-negotiate at different
>>   stages (e.g., the receiving entity would not advertise both STARTTLS=

>>   and SASL as mandatory, or both SASL and resource binding as
>>   mandatory, because TLS would need to be negotiated before SASL and
>>   SASL would need to be negotiated before resource binding).
>> =20
>>
> Actually I thought TLS (with possible SCRAM-SHA-1/EXTERNAL/PLAIN) as an=

> alternative to SASL GSSAPI (which can provide encryption).
> So your new text is slightly wrong on that.

If the server requires TLS, then it requires TLS. We do not have a
stream feature for "something that ensures the confidentiality and
integrity of the stream, so at this point in the stream negotiation
process it is mandatory to negotiate either TLS or a SASL mechanism that
ensures negotiation of a security layer". In terms of XMPP, the server
would do that by saying TLS is discretionary and then offering only SASL
mechanisms that can ensure negotiation of a security layer.

>>> 4.7.4.  Namespace Declarations and Prefixes
>>>
>>>   An implementation MUST NOT generate namespace prefixes for elements=

>>>   qualified by the content namespace if the content namespace is
>>>   'jabber:client' or 'jabber:server' (e.g., <foo:presence/>).  An XMP=
P
>>>
>>> Can you try to explain this again, you lost me here.
>>>
>>>   entity MUST NOT accept data that violates this rule (in particular,=

>>>   an XMPP server MUST NOT route or deliver such data to another
>>>   entity); instead it MUST either ignore the data or return a stream
>>>   error (which SHOULD be <bad-namespace-prefix/>).
>>>  =20
>>
>> This point can indeed be confusing and resulted in a long discussion
>> within the WG recently.
>>
>> I think an example would help, so perhaps this is a bit clearer:
>>
>> ###
>>
>>   An implementation MUST NOT generate namespace prefixes for elements
>>   qualified by the content namespace (i.e., the default namespace for
>>   data sent over the stream) if the content namespace is 'jabber:
>>   client' or 'jabber:server'.  For example, the following is illegal:
>>
>>   <stream:stream
>>       from=3D'juliet@im.example.com'
>>       to=3D'im.example.com'
>>       version=3D'1.0'
>>       xml:lang=3D'en'
>>       xmlns=3D'jabber:client'
>>       xmlns:stream=3D'http://etherx.jabber.org/streams'>
>>     <foo:message xmlns:foo=3D'jabber:client'>
>>       <foo:body>foo</foo:body>
>>     </foo:message>
>> =20
>>
> Is the namespace declaration for "foo" should also be included? Or is
> lack of it is the point here?

The point is that it's evil to leave the "foo" declaration off the
stream and then attempt to send stanzas (or stanza-like data) that
declare "foo" as a namespace prefix for the default content namespace.

And the "foo" declaration should not be included on the stream header
because the following would make no sense (and might even be illegal
according to the "Namespaces in XML" specification):

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

>>> 6.3.7.  Simple User Name
>>>
>>>   Some SASL mechanisms (e.g., CRAM-MD5, DIGEST-MD5, and SCRAM) specif=
y
>>>   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.
>>>
>>> Or bare JID? I believe many implementations based on Cyrus SASL allow=

>>> full email-like syntax here.
>>>  =20
>> The WG had a long debate about this and settled on localpart as oppose=
d
>> to bare JID. The matter was unclear in RFC 3920, resulting in confusio=
n
>> among implementers.
>>
>> In fact we should add the following to Appendix D:
>>
>>  o Clarified that a SASL simple user name is the localpart, not
>>    the bare JID.
>> =20
>>
> I am thinking about multidomain servers which don't enforce localpart
> uniqueness across domains. That would be inconvenient.

Indeed, and that was one of the topics discussed by the WG before
settling on localpart.

> But anyway, that is only a SHOULD :-).

Yes.

>>> 6.3.9.  Realms
>>>
>>>   The receiving entity MAY include a realm when negotiating certain
>>>   SASL mechanisms.  If the receiving entity does not communicate a
>>>   realm, the initiating entity MUST NOT assume that any realm exists.=

>>>   The realm MUST be used only for the purpose of authentication; in
>>>   particular, an initiating entity MUST NOT attempt to derive an XMPP=

>>>   hostname from the realm information provided by the receiving entit=
y.
>>>
>>> Should this be clearer about which mechanisms are we talking about?
>>> IMHO, being vague is not being helpful here.
>>>  =20
>>
>> RFC 4422 was vague about this, too. :P
>>
>> As far as I can see, DIGEST-MD5 has a concept of realm, but the concep=
t
>> is absent from EXTERNAL, SCRAM, PLAIN, and CRAM-MD5. I'm not sure abou=
t
>> GSSAPI. Does that look right to you? I agree that it would be helpful =
to
>> clarify this, but only as examples because future SASL mechanisms migh=
t
>> or might not include the concept of a realm.
>> =20
>>
> I think both DIGEST-MD5 and GSSAPI use realms (and in somewhat differen=
t
> manner).

OK. (RFC 2743 isn't very clear on the matter, but that's another topic.)

So:

   The receiving entity MAY include a realm when negotiating certain
   SASL mechanisms (e.g., both the GSSAPI and DIGEST-MD5 mechanisms
   allow the authentication exchange to include a realm, though in
   different ways, whereas the EXTERNAL, SCRAM, and PLAIN mechanisms do
   not).  If the receiving entity does not communicate a realm, the
   initiating entity MUST NOT assume that any realm exists.  The realm
   MUST be used only for the purpose of authentication; in particular,
   an initiating entity MUST NOT attempt to derive an XMPP hostname from
   the realm information provided by the receiving entity.

Peter

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




--------------ms080403070803010809090709
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/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtV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l.com
Delivered-To: xmpp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 7C26528C167 for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 14:53:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.331
X-Spam-Level: 
X-Spam-Status: No, score=-100.331 tagged_above=-999 required=5 tests=[AWL=-2.166, BAYES_00=-2.599, FRT_FUCK2=3.434, SARE_OBFUFCK2=1, 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 t5iTWhsPhHih for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 14:53:33 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 67D4B28C0CE for <xmpp@ietf.org>; Mon, 29 Nov 2010 14:53:33 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id C73A74009B; Mon, 29 Nov 2010 16:05:47 -0700 (MST)
Message-ID: <4CF42F32.6000602@stpeter.im>
Date: Mon, 29 Nov 2010 15:54:42 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <20101128211639.18974.78409.idtracker@localhost>	<4CF41977.70903@stpeter.im> <2147.1291068396.807325@puncture>
In-Reply-To: <2147.1291068396.807325@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="------------ms030508060901090903050904"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 22:53:34 -0000

This is a cryptographically signed message in MIME format.

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

On 11/29/10 3:06 PM, Dave Cridland wrote:
> Nit-picking as things whizz past...
>=20
> On Mon Nov 29 21:21:59 2010, Peter Saint-Andre wrote:
>> > 4.5.3.  Idle Peer
>> >
>> >    Even if the underlying TCP connection is alive and the stream is =
not
>> >    broken, the peer might have sent no stanzas for a certain period =
of
>> >    time.  In this case, the peer SHOULD close the stream using the
>> >    handshake described under Section 4.4.
>> >
>> > SHOULD close the stream, or SHOULD use the procedure in Section 4.4
>> if it decides to close it?
>>
>> This might be clearer:
>>
>>    In this case, the peer itself SHOULD close the stream
>>    (as described under <xref target=3D'streams-close'/>)
>>    rather than leaving an unused stream open.
>>
>>
> Why SHOULD? It's unclear to me that leaving an idle S2S stream up is a
> problem, especially given that the other end MAY close it if it is.
> (That is, I do not see an interoperability or security issue here to
> consider).
>=20
>=20
>> >    If the idle peer does not
>> >    close the stream, the other party MAY either close the stream usi=
ng
>> >    the handshake described under Section 4.4 or return a stream erro=
r
>> >    (e.g., <resource-constraint/> if the entity has reached a limit o=
n
>> >    the number of open TCP connections or <policy-violation/> if the
>> >    connection has exceeded a local timeout policy).  However,
>> consistent
>> >    with the order of layers (specified under Section 13.3), the othe=
r
>> >    party is advised to verify that the underlying TCP connection is
>> >    alive and the stream is unbroken (as described above) before
>> >    concluding that the peer is idle.  Furthermore, it is preferable =
to
>> >    be liberal in accepting idle peers, since experience has shown th=
at
>> >    doing so improves the reliability of communication over XMPP
>> networks
>> >    and that it is typically more efficient to maintain a stream betw=
een
>> >    two servers than to aggressively timeout such a stream.
>> >
>> > This is arguing for MAY above.
>>
>> The SHOULD above is about the idle peer, not the entity to which the
>> idle peer is connected. I've tried to make that clearer in the propose=
d
>> modification above.
>=20
> I agree with Alexey, here - this text is arguing that the above
> behaviour is "truly optional".

Yes, MAY seems more sensible here.

>> Do you think that it would be helpful to specify this scenario more
>> completely? For example, we could say:
>>
>>    If the initiating entity subsequently sends another <auth/> element=

>>    and the ongoing authentication handshake has not yet completed, the=

>>    server MUST discard the ongoing handshake and MUST either begin a n=
ew
>>    handshake for the subsequently requested SASL mechanism or return a=

>>    stream error, which SHOULD be <policy-violation/>.
>>
>>
> I would rather we picked a single behaviour. I don't care much what it =
is.

"Begin the new handshake" seems preferable, and most consistent with the
rest of the text. Closing the stream might force the entities to go
through TLS negotiation again (etc.).

>>    The receiving entity MUST send an updated list of stream features t=
o
>>    the initiating entity after a stream restart, and MAY do so after
>>    completing negotiation of a stream feature that does not require a
>>    stream restart.  The list of updated features MAY be empty if there=

>>    are no further features to be advertised or MAY include any
>>    combination of features.
>=20
> Really? I'd not noticed this before (I am aware that we had a discussio=
n
> about unilaterally sending features before and the consensus seemed to
> be against that, but I acknowledge this is a different case to an
> extent). I'm somewhat nervous about how deployed clients might respond
> if we send updated features after resource binding, for example.
>=20
> Consider me fruck out. :-)

Yes, we had some discussion about this many moons ago. The alternative
would be to forbid sending of stream features except right after sending
a stream header?

>>    An XMPP entity MUST NOT accept data that violates this rule (in
>>    particular, an XMPP server MUST NOT route or deliver such data to
>>    another entity); instead it MUST either ignore the data or return a=

>>    stream error (which SHOULD be <bad-namespace-prefix/>).
>=20
> It's not clear to me that an XMPP entity can fail to accept such data,
> because in many (most?) XML processors, the two forms are semantically
> equivalent. There's a sketchy argument that this is a SHOULD NOT accept=
=2E

Hmm...



--------------ms030508060901090903050904
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/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehAX6DbDOuYoJtVxmGof6GuVGc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SIb3
DQEJDzFSMFAwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCusmjaBBLxr/r9+nLlpM3Kh0/t8ge+R1jpNLpppjAhrjHkt8YjkJLRr5vg
NtN9kHBS5n2/4yfJyvgnv/Ro3N88K8lNOgDFU9oQBvLJl3U9BUOBvyhMo2EjW/CtrVd1QWKb
PBEXMd7amVaYDIlnVV5RWABdrnv3YJZwTIvTALh1YNFZSOts6y2YxO18NJEWRCMn7kYyJ9lW
uMcyWRd+/HNG60mTTUVX0XYlsoPI4ymtJudTO4zwpZdnGHulKwOtTKhD7dhPW4phyQgDG84q
A8BMQ2kEapgc1H1UK0QTNMJmGNFEl3/h+SUyLqVH5TTxSXze2V2xhWnzpTT3+cIrqNr7AAAA
AAAA
--------------ms030508060901090903050904--

From dave@cridland.net  Mon Nov 29 14:59:02 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 9E32B28C0D6 for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 14:59:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.131
X-Spam-Level: 
X-Spam-Status: No, score=-0.131 tagged_above=-999 required=5 tests=[AWL=-1.966, BAYES_00=-2.599, FRT_FUCK2=3.434, SARE_OBFUFCK2=1]
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 uJhg1OcZgqOo for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 14:59:01 -0800 (PST)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [217.155.137.61]) by core3.amsl.com (Postfix) with ESMTP id 8372D28C0CE for <xmpp@ietf.org>; Mon, 29 Nov 2010 14:59:01 -0800 (PST)
Received: from localhost (localhost.localdomain [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id F0D781168106; Mon, 29 Nov 2010 23:00:10 +0000 (GMT)
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 H7QAK1XvIMPu; Mon, 29 Nov 2010 23:00:07 +0000 (GMT)
Received: from puncture (unknown [217.155.137.60]) by peirce.dave.cridland.net (Postfix) with ESMTPA id E77A511680FB; Mon, 29 Nov 2010 23:00:06 +0000 (GMT)
References: <20101128211639.18974.78409.idtracker@localhost> <4CF41977.70903@stpeter.im> <2147.1291068396.807325@puncture> <4CF42F32.6000602@stpeter.im>
In-Reply-To: <4CF42F32.6000602@stpeter.im>
MIME-Version: 1.0
Message-Id: <2147.1291071606.922485@puncture>
Date: Mon, 29 Nov 2010 23:00:06 +0000
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] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 22:59:02 -0000

On Mon Nov 29 22:54:42 2010, Peter Saint-Andre wrote:
> >>    The receiving entity MUST send an updated list of stream  
> features to
> >>    the initiating entity after a stream restart, and MAY do so  
> after
> >>    completing negotiation of a stream feature that does not  
> require a
> >>    stream restart.  The list of updated features MAY be empty if  
> there
> >>    are no further features to be advertised or MAY include any
> >>    combination of features.
> >
> > Really? I'd not noticed this before (I am aware that we had a  
> discussion
> > about unilaterally sending features before and the consensus  
> seemed to
> > be against that, but I acknowledge this is a different case to an
> > extent). I'm somewhat nervous about how deployed clients might  
> respond
> > if we send updated features after resource binding, for example.
> >
> > Consider me fruck out. :-)
> 
> Yes, we had some discussion about this many moons ago. The  
> alternative
> would be to forbid sending of stream features except right after  
> sending
> a stream header?

That inherently feels like the status quo (ante bellum), and as such  
the safer option.

I would not be averse to this being negotiable at some point, but an  
extension is allowed to override behaviour, right?

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 Nov 29 15:08:06 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 E5CE128C10D for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 15:08:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -100.28
X-Spam-Level: 
X-Spam-Status: No, score=-100.28 tagged_above=-999 required=5 tests=[AWL=-2.115, BAYES_00=-2.599, FRT_FUCK2=3.434, SARE_OBFUFCK2=1, 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 nozY1H0HT8CF for <xmpp@core3.amsl.com>; Mon, 29 Nov 2010 15:08:05 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id BB76F28C102 for <xmpp@ietf.org>; Mon, 29 Nov 2010 15:08:05 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 41B524009B; Mon, 29 Nov 2010 16:20:20 -0700 (MST)
Message-ID: <4CF4329A.4090803@stpeter.im>
Date: Mon, 29 Nov 2010 16:09:14 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Dave Cridland <dave@cridland.net>
References: <20101128211639.18974.78409.idtracker@localhost> <4CF41977.70903@stpeter.im> <2147.1291068396.807325@puncture> <4CF42F32.6000602@stpeter.im> <2147.1291071606.922485@puncture>
In-Reply-To: <2147.1291071606.922485@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="------------ms040101010506060706050202"
Cc: XMPP Working Group <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 29 Nov 2010 23:08:07 -0000

This is a cryptographically signed message in MIME format.

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

On 11/29/10 4:00 PM, Dave Cridland wrote:
> On Mon Nov 29 22:54:42 2010, Peter Saint-Andre wrote:
>> >>    The receiving entity MUST send an updated list of stream
>> features to
>> >>    the initiating entity after a stream restart, and MAY do so afte=
r
>> >>    completing negotiation of a stream feature that does not require=
 a
>> >>    stream restart.  The list of updated features MAY be empty if th=
ere
>> >>    are no further features to be advertised or MAY include any
>> >>    combination of features.
>> >
>> > Really? I'd not noticed this before (I am aware that we had a
>> discussion
>> > about unilaterally sending features before and the consensus seemed =
to
>> > be against that, but I acknowledge this is a different case to an
>> > extent). I'm somewhat nervous about how deployed clients might respo=
nd
>> > if we send updated features after resource binding, for example.
>> >
>> > Consider me fruck out. :-)
>>
>> Yes, we had some discussion about this many moons ago. The alternative=

>> would be to forbid sending of stream features except right after sendi=
ng
>> a stream header?
>=20
> That inherently feels like the status quo (ante bellum), and as such th=
e
> safer option.
>=20
> I would not be averse to this being negotiable at some point, but an
> extension is allowed to override behaviour, right?

The matter was underspecified in RFC 3920, but opting for safety is fine
with me. Thus we would delete the following clause:

   , and MAY do so after completing negotiation of a stream feature
   that does not require a stream restart

Objections?

Peter

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




--------------ms040101010506060706050202
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/cWJOJ7F5RltbEIaboZmX5JBUb3FhUiAdBotehA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P5tb+KG7V9WOnEMF8GCSqGSIb3
DQEJDzFSMFAwCwYJYIZIAWUDBAECMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggq
hkiG9w0DAgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBpAYJKwYBBAGCNxAEMYGWMIGT
MIGMMQswCQYDVQQGEwJJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQA37Im35ZEgOsLFBEwBtHmPp2HO2R3qZ8UgBtFPn9oOzDe8T/1iExDWzFNK
fMe6V0a92TYSHyVzaIvHlrxsAkbIY4LsQkxwzEoVl8fs3aaI2T0vtJOxIsqNTp02RZisndEs
eXexPjEK5rMJkSRNPPDJfSDoRHgfDctEF0BbNpVGulg6xQb1Stt7FpLnscf9yiNOKDcnwqMG
OPYMYMrSyhkYgZ3nY5fj5JNPck5ffMRvWQirtznaadY2GEVJD56ooomHvP2We7cHrOtoWSQ2
C4HmKIQ27BfYApsmDOXPtGetg+mAvfhdTosWs2tyyMp4llHofAD5GTKdDx75JfwwBmtyAAAA
AAAA
--------------ms040101010506060706050202--

From stpeter@stpeter.im  Tue Nov 30 08:41: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 065E83A6B94; Tue, 30 Nov 2010 08:41:48 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.159
X-Spam-Level: 
X-Spam-Status: No, score=-102.159 tagged_above=-999 required=5 tests=[AWL=-0.160, BAYES_00=-2.599, 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 iECcVjNoUleC; Tue, 30 Nov 2010 08:41:46 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 919F33A6BDD; Tue, 30 Nov 2010 08:41:46 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id B3D264009B; Tue, 30 Nov 2010 09:54:05 -0700 (MST)
Message-ID: <4CF5298E.70709@stpeter.im>
Date: Tue, 30 Nov 2010 09:42:54 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20101130154326.9962.24014.idtracker@localhost>
In-Reply-To: <20101130154326.9962.24014.idtracker@localhost>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms060000040902020103050606"
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 30 Nov 2010 16:41:48 -0000

This is a cryptographically signed message in MIME format.

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

[Again cc'ing xmpp@ietf.org, and trimming all but the new issues plus
DISCUSS #1]

On 11/30/10 8:43 AM, Alexey Melnikov wrote:

> 1)
> 4.5.3.  Idle Peer
>=20
>    Even if the underlying TCP connection is alive and the stream is not=

>    broken, the peer might have sent no stanzas for a certain period of
>    time.  In this case, the peer SHOULD close the stream using the
>    handshake described under Section 4.4.
>=20
> SHOULD close the stream, or SHOULD use the procedure in Section 4.4 if =
it decides to close it?
>=20
>    If the idle peer does not
>    close the stream, the other party MAY either close the stream using
>    the handshake described under Section 4.4 or return a stream error
>    (e.g., <resource-constraint/> if the entity has reached a limit on
>    the number of open TCP connections or <policy-violation/> if the
>    connection has exceeded a local timeout policy).  However, consisten=
t
>    with the order of layers (specified under Section 13.3), the other
>    party is advised to verify that the underlying TCP connection is
>    alive and the stream is unbroken (as described above) before
>    concluding that the peer is idle.  Furthermore, it is preferable to
>    be liberal in accepting idle peers, since experience has shown that
>    doing so improves the reliability of communication over XMPP network=
s
>    and that it is typically more efficient to maintain a stream between=

>    two servers than to aggressively timeout such a stream.
>=20
> This is arguing for MAY above.

Subsequent discussion on the XMPP WG list has me convinced that the
first SHOULD is indeed truly optional, so in my working copy I have
changed it to MAY.

> ----NEW----
>=20
> 6)
> 13.8.2.  For Confidentiality Only
>=20
>    For confidentiality only, servers SHOULD support TLS with the
>    TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite.
>=20
> Why only a SHOULD?

Because during the secdir review, Yaron Sheffer wondered why we support
confidentiality-only at all. It's not encouraged for client-to-server
connections and really will be used for server-to-server connections
only in the under-documented case of TLS + Server Dialback. Thus a
SHOULD seemed appropriate.

> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>=20
> ----NEW----
>=20
> 13.7.2.2.1.  Case #1
>=20
>    If the client certificate appears to be certified by a certification=

>    path terminating in a trust anchor (as described in Section 6.1 of
>    [PKIX]), the server MUST check the certificate for any instances of
>    the XmppAddr as described under Section 13.7.1.4.  There are three
>    possible sub-cases:
>=20
>    Sub-Case #1:  The server finds one XmppAddr for which the domainpart=

>       of the represented JID matches one of the configured hostnames of=

>       the server; the server SHOULD use this represented JID as the
>       validated identity of the client.
>=20
>    Sub-Case #2:  The server finds more than one XmppAddr for which the
>       domainpart of the represented JID matches one of the configured
>       hostnames of the server; the server SHOULD use one of these
>       represented JIDs as the validated identity of the client, choosin=
g
>       among them according to local service policies or based on the
>       'to' address of the initial stream header.
>=20
> What if the client has multiple accounts on the same server and they us=
e
> the same certificate? (I admit that that might be an obscure case.)
> Should the server be using the 'from' value to differentiate as well?

Yes, that seems reasonable (although I agree that the case is somewhat
obscure). This case might be covered by existing text in Section 13.7.2:

   Once the identity of the stream peer has been validated, the
   validating entity SHOULD also correlate the validated identity with
   the 'from' address (if any; see Section 4.6.1) of the stream header
   it received from the peer.  If the two identities do not match, the
   validating entity SHOULD terminate the connection attempt.

However, the two paragraphs are a bit at odds. I suggest modifying the
paragraph from Section 13.7.2.2.1 as follows:

   Sub-Case #2:  The server finds more than one XmppAddr for which the
      domainpart of the represented JID matches one of the configured
      hostnames of the server; the server SHOULD use one of these
      represented JIDs as the validated identity of the client, choosing
      among them based on the bare JID contained in the 'from' address
      of the initial stream header (if any), based on the domainpart
      contained in the 'to' address of the initial stream header, or in
      accordance with local service policies (such as a lookup in a
      user database based on other information contained in the
      client certificate).

> 13.9.4.  Use of SASL
>=20
>    Many deployed XMPP services authenticate client connections by means=

>    of passwords.  It is well-known that most human users choose
>    relatively weak passwords.  Although service provisioning is out of
>    scope for this document, XMPP servers that allow password-based
>    authentication SHOULD enforce minimal criteria for password strength=

>    to help prevent dictionary attacks.  Because all password-based
>    authentication mechanisms are susceptible to password guessing
>    attacks, XMPP servers MUST implement common rate-limiting
>    mitigations.
>=20
> Rate-limiting during SASL authentication?

It's not rate limiting, it's limiting the number of authentication
retries. Corrected in my working copy to:

   Because all password-based
   authentication mechanisms are susceptible to password guessing
   attacks, XMPP servers MUST limit the number of retries allowed during
   SASL authentication, as described under Section 6.4.5.

> 13.9.5.  Use of TLS
>=20
>    Implementations of TLS typically support multiple versions of the
>    Transport Layer Security protocol as well as the older Secure Socket=
s
>    Layer (SSL) protocol.  Because of known security vulnerabilities,
>    XMPP servers and clients MUST NOT request, offer, or use SSL 2.0.
>    See Appendix E.2 of [TLS] for further details.
>=20
> This should probably point to draft-ietf-tls-ssl2-must-not.

Hey, that draft borrowed the idea from the XMPP WG. :P

But sure. Do you think that needs to be a normative reference?

Peter

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




--------------ms060000040902020103050606
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
9w0BAQEFAASCAQAi10t4Er/CSyJqEE9fhePAlQJTXaeglJgQfZtq/SMtWIyTSosfDz/HUjig
wDCBgOPn1DTiCTcak3mP1t0N6GIirwVrgZvBoH70lq9aQSgZsBgBNYOqutCYpUu3N68HgHyB
GQF3yq2iSO/J9a0ETiiS/k48z6JaZHA/0XRErBynvg/QmIzSK8zl+mCP0u7VKGmfj49D3UDL
I+zJDZzD6lSbucz67IC8DGJdAGIF/2cFT1VoPeexYME8RkPWO18NCEqNae1IJ8oZjvaX3Z9H
+1eeYlKKl82KC8A1NktkdfnjPDW4muQPa1EDcHDWgSce1ENfDktC1JpIM5epRJG6xL3pAAAA
AAAA
--------------ms060000040902020103050606--

From alexey.melnikov@isode.com  Tue Nov 30 10:38:20 2010
Return-Path: <alexey.melnikov@isode.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 AF99A3A6B3D; Tue, 30 Nov 2010 10:38:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.243
X-Spam-Level: 
X-Spam-Status: No, score=-102.243 tagged_above=-999 required=5 tests=[AWL=-0.244, BAYES_00=-2.599, 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 WAQJyUBKC81h; Tue, 30 Nov 2010 10:38:19 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by core3.amsl.com (Postfix) with ESMTP id 53D3C3A6C03; Tue, 30 Nov 2010 10:38:19 -0800 (PST)
Received: from [172.16.2.157] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPA  id <TPVE3wAEeX=c@rufus.isode.com>; Tue, 30 Nov 2010 18:39:28 +0000
Message-ID: <4CF5449C.9000403@isode.com>
Date: Tue, 30 Nov 2010 18:38:20 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <20101130154326.9962.24014.idtracker@localhost> <4CF5298E.70709@stpeter.im>
In-Reply-To: <4CF5298E.70709@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 30 Nov 2010 18:38:20 -0000

Peter Saint-Andre wrote:

>[Again cc'ing xmpp@ietf.org, and trimming all but the new issues plus
>DISCUSS #1]
>
>On 11/30/10 8:43 AM, Alexey Melnikov wrote:
>  
>
>>1)
>>4.5.3.  Idle Peer
>>
>>   Even if the underlying TCP connection is alive and the stream is not
>>   broken, the peer might have sent no stanzas for a certain period of
>>   time.  In this case, the peer SHOULD close the stream using the
>>   handshake described under Section 4.4.
>>
>>SHOULD close the stream, or SHOULD use the procedure in Section 4.4 if it decides to close it?
>>
>>   If the idle peer does not
>>   close the stream, the other party MAY either close the stream using
>>   the handshake described under Section 4.4 or return a stream error
>>   (e.g., <resource-constraint/> if the entity has reached a limit on
>>   the number of open TCP connections or <policy-violation/> if the
>>   connection has exceeded a local timeout policy).  However, consistent
>>   with the order of layers (specified under Section 13.3), the other
>>   party is advised to verify that the underlying TCP connection is
>>   alive and the stream is unbroken (as described above) before
>>   concluding that the peer is idle.  Furthermore, it is preferable to
>>   be liberal in accepting idle peers, since experience has shown that
>>   doing so improves the reliability of communication over XMPP networks
>>   and that it is typically more efficient to maintain a stream between
>>   two servers than to aggressively timeout such a stream.
>>
>>This is arguing for MAY above.
>>    
>>
>
>Subsequent discussion on the XMPP WG list has me convinced that the
>first SHOULD is indeed truly optional, so in my working copy I have
>changed it to MAY.
>  
>
I like that.

>>----NEW----
>>
>>6)
>>13.8.2.  For Confidentiality Only
>>
>>   For confidentiality only, servers SHOULD support TLS with the
>>   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite.
>>
>>Why only a SHOULD?
>>    
>>
>
>Because during the secdir review, Yaron Sheffer wondered why we support
>confidentiality-only at all. It's not encouraged for client-to-server
>connections and really will be used for server-to-server connections
>only in the under-documented case of TLS + Server Dialback. Thus a
>SHOULD seemed appropriate.
>  
>
I think the use of SHOULD here is misleading. You meant "SHOULD support 
confidentiality only", but you really didn't mean that if it is 
supported than TLS (with the specified cipher) SHOULD be used. I think 
the latter is a MUST.

>>----------------------------------------------------------------------
>>COMMENT:
>>----------------------------------------------------------------------
>>
>>----NEW----
>>
>>13.7.2.2.1.  Case #1
>>
>>   If the client certificate appears to be certified by a certification
>>   path terminating in a trust anchor (as described in Section 6.1 of
>>   [PKIX]), the server MUST check the certificate for any instances of
>>   the XmppAddr as described under Section 13.7.1.4.  There are three
>>   possible sub-cases:
>>
>>   Sub-Case #1:  The server finds one XmppAddr for which the domainpart
>>      of the represented JID matches one of the configured hostnames of
>>      the server; the server SHOULD use this represented JID as the
>>      validated identity of the client.
>>
>>   Sub-Case #2:  The server finds more than one XmppAddr for which the
>>      domainpart of the represented JID matches one of the configured
>>      hostnames of the server; the server SHOULD use one of these
>>      represented JIDs as the validated identity of the client, choosing
>>      among them according to local service policies or based on the
>>      'to' address of the initial stream header.
>>
>>What if the client has multiple accounts on the same server and they use
>>the same certificate? (I admit that that might be an obscure case.)
>>Should the server be using the 'from' value to differentiate as well?
>>    
>>
>
>Yes, that seems reasonable (although I agree that the case is somewhat
>obscure). This case might be covered by existing text in Section 13.7.2:
>
>   Once the identity of the stream peer has been validated, the
>   validating entity SHOULD also correlate the validated identity with
>   the 'from' address (if any; see Section 4.6.1) of the stream header
>   it received from the peer.  If the two identities do not match, the
>   validating entity SHOULD terminate the connection attempt.
>
>However, the two paragraphs are a bit at odds. I suggest modifying the
>paragraph from Section 13.7.2.2.1 as follows:
>
>   Sub-Case #2:  The server finds more than one XmppAddr for which the
>      domainpart of the represented JID matches one of the configured
>      hostnames of the server; the server SHOULD use one of these
>      represented JIDs as the validated identity of the client, choosing
>      among them based on the bare JID contained in the 'from' address
>      of the initial stream header (if any), based on the domainpart
>      contained in the 'to' address of the initial stream header, or in
>      accordance with local service policies (such as a lookup in a
>      user database based on other information contained in the
>      client certificate).
>  
>
This looks reasonable to me.

>>13.9.4.  Use of SASL
>>
>>   Many deployed XMPP services authenticate client connections by means
>>   of passwords.  It is well-known that most human users choose
>>   relatively weak passwords.  Although service provisioning is out of
>>   scope for this document, XMPP servers that allow password-based
>>   authentication SHOULD enforce minimal criteria for password strength
>>   to help prevent dictionary attacks.  Because all password-based
>>   authentication mechanisms are susceptible to password guessing
>>   attacks, XMPP servers MUST implement common rate-limiting
>>   mitigations.
>>
>>Rate-limiting during SASL authentication?
>>    
>>
>
>It's not rate limiting, it's limiting the number of authentication
>retries. Corrected in my working copy to:
>
>   Because all password-based
>   authentication mechanisms are susceptible to password guessing
>   attacks, XMPP servers MUST limit the number of retries allowed during
>   SASL authentication, as described under Section 6.4.5.
>  
>
Thanks, that is what I was getting at.

>>13.9.5.  Use of TLS
>>
>>   Implementations of TLS typically support multiple versions of the
>>   Transport Layer Security protocol as well as the older Secure Sockets
>>   Layer (SSL) protocol.  Because of known security vulnerabilities,
>>   XMPP servers and clients MUST NOT request, offer, or use SSL 2.0.
>>   See Appendix E.2 of [TLS] for further details.
>>
>>This should probably point to draft-ietf-tls-ssl2-must-not.    
>>
>
>Hey, that draft borrowed the idea from the XMPP WG. :P
>  
>
:-)

>But sure. Do you think that needs to be a normative reference?
>
I don't think so, although it would be nice to get them published together.


From stpeter@stpeter.im  Tue Nov 30 10:56: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 AA8EC3A6C27; Tue, 30 Nov 2010 10:56:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.155
X-Spam-Level: 
X-Spam-Status: No, score=-102.155 tagged_above=-999 required=5 tests=[AWL=-0.156, BAYES_00=-2.599, 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 bakIsMiKirTL; Tue, 30 Nov 2010 10:56:12 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 79ACC3A6B9F; Tue, 30 Nov 2010 10:56:09 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 6D53F4009B; Tue, 30 Nov 2010 12:08:29 -0700 (MST)
Message-ID: <4CF5490F.5010002@stpeter.im>
Date: Tue, 30 Nov 2010 11:57:19 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <20101130154326.9962.24014.idtracker@localhost> <4CF5298E.70709@stpeter.im> <4CF5449C.9000403@isode.com>
In-Reply-To: <4CF5449C.9000403@isode.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="------------ms080201080805030706020004"
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Alexey Melnikov's DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 30 Nov 2010 18:56:13 -0000

This is a cryptographically signed message in MIME format.

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

Trimmed as needed...

On 11/30/10 11:38 AM, Alexey Melnikov wrote:
> Peter Saint-Andre wrote:
>=20
>> [Again cc'ing xmpp@ietf.org, and trimming all but the new issues plus
>> DISCUSS #1]
>>
>> On 11/30/10 8:43 AM, Alexey Melnikov wrote:

<snip/>

>>> ----NEW----
>>>
>>> 6)
>>> 13.8.2.  For Confidentiality Only
>>>
>>>   For confidentiality only, servers SHOULD support TLS with the
>>>   TLS_RSA_WITH_AES_128_CBC_SHA ciphersuite.
>>>
>>> Why only a SHOULD?
>>>  =20
>>
>> Because during the secdir review, Yaron Sheffer wondered why we suppor=
t
>> confidentiality-only at all. It's not encouraged for client-to-server
>> connections and really will be used for server-to-server connections
>> only in the under-documented case of TLS + Server Dialback. Thus a
>> SHOULD seemed appropriate.
>> =20
>>
> I think the use of SHOULD here is misleading. You meant "SHOULD support=

> confidentiality only", but you really didn't mean that if it is
> supported than TLS (with the specified cipher) SHOULD be used. I think
> the latter is a MUST.

Correct. Changed to MUST in my working copy.

>>> ---------------------------------------------------------------------=
-
>>> COMMENT:
>>> ---------------------------------------------------------------------=
-
>>>
>>> ----NEW----

<snip/>

>>> 13.9.5.  Use of TLS
>>>
>>>   Implementations of TLS typically support multiple versions of the
>>>   Transport Layer Security protocol as well as the older Secure Socke=
ts
>>>   Layer (SSL) protocol.  Because of known security vulnerabilities,
>>>   XMPP servers and clients MUST NOT request, offer, or use SSL 2.0.
>>>   See Appendix E.2 of [TLS] for further details.
>>>
>>> This should probably point to draft-ietf-tls-ssl2-must-not.  =20
>>
>> Hey, that draft borrowed the idea from the XMPP WG. :P
>> =20
>>
> :-)
>=20
>> But sure. Do you think that needs to be a normative reference?
>>
> I don't think so, although it would be nice to get them published toget=
her.

Yes, that would be nice.

In my working copy that paragraph now reads:

   Implementations of TLS typically support multiple versions of the
   Transport Layer Security protocol as well as the older Secure Sockets
   Layer (SSL) protocol.  Because of known security vulnerabilities,
   XMPP servers and clients MUST NOT request, offer, or use SSL 2.0.
   For further details, see Appendix E.2 of [TLS] along with [TLS-SSL2].

Peter

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




--------------ms080201080805030706020004
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime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JJTDEWMBQGA1UEChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCgBKx8/3rWXc3VzEIRZVs/FcDZyJ+/ajbLrd8kpr8eV3RwHAzr7y7Lq+zf
mcc/obX4tI8f/4YK/8bAnq+D5ZFOZPIWGN6GauGcgNpMkqof39KkIcuwiNBebRJJIGJRTKhr
EJCVo1lsLlwGhAF4N1+eofrl5uSVLDfKcR/xNlOZA55hRws0F6ug9HMFLvMvhqgvXYT74lG9
9z6xNQD3dO6HtgTWQUo+yzwAFznCm8Mq6CQzSx7TtRVfttXPzfAJYl/nURjPwvbIDFvWGdn6
WKjD6RxWGAcsK5Mw+wu9T6JxVqcPffTqwn3tlm6tgSj78eEpl1h1MCM+sC/6iqmbWTD7AAAA
AAAA
--------------ms080201080805030706020004--

From Peter.SaintAndre@webex.com  Tue Nov 30 13:58:42 2010
Return-Path: <Peter.SaintAndre@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 CE95A3A6C3A; Tue, 30 Nov 2010 13:58:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.932
X-Spam-Level: 
X-Spam-Status: No, score=-103.932 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_23=0.6, RCVD_IN_DNSWL_MED=-4, RCVD_NUMERIC_HELO=2.067, 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 UDzMZuOL3fdA; Tue, 30 Nov 2010 13:58:39 -0800 (PST)
Received: from gw2.webex.com (gw2.webex.com [64.68.122.209]) by core3.amsl.com (Postfix) with SMTP id 0249A3A6A6E; Tue, 30 Nov 2010 13:58:38 -0800 (PST)
Received: from SRV-EXSC03.webex.local ([192.168.252.197]) by gw2.webex.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 30 Nov 2010 13:59:50 -0800
Received: from 64.101.74.200 ([64.101.74.200]) by SRV-EXSC03.webex.local ([192.168.252.200]) with Microsoft Exchange Server HTTP-DAV ;  Tue, 30 Nov 2010 21:59:49 +0000
User-Agent: Microsoft-Entourage/12.12.0.080729
Date: Tue, 30 Nov 2010 14:59:48 -0700
From: Peter Saint-Andre <Peter.SaintAndre@webex.com>
To: Elwyn Davies <elwynd@dial.pipex.com>, "Mary Barnes (gen-art)" <mary.ietf.barnes@gmail.com>
Message-ID: <C91AC1E4.D313%Peter.SaintAndre@webex.com>
Thread-Topic: Gen-art review of draft-ietf-xmpp-3920bis-19
Thread-Index: AcuQLOXHwKoJ/XAoRWGAFumAJvfWlQArQHvu
In-Reply-To: <1291080082.4284.11303.camel@mightyatom.folly.org.uk>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 30 Nov 2010 21:59:50.0311 (UTC) FILETIME=[E9174370:01CB90D9]
Cc: draft-ietf-xmpp-3920bis.all@tools.ietf.org, General Area Review Team <gen-art@ietf.org>, iesg@ietf.org, xmpp@ietf.org
Subject: Re: [xmpp] Gen-art review of draft-ietf-xmpp-3920bis-19
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, 30 Nov 2010 21:58:42 -0000

Hi Elwyn, thank you for reviewing this long document on such short notice.
I'm cc'ing xmpp@ietf.org to keep the XMPP WG in the loop, as well as
iesg@ietf.org.

On 11/29/10 6:21 PM, "Elwyn Davies" <elwynd@dial.pipex.com> wrote:

> I am the assigned Gen-ART reviewer for this draft. For background on
> Gen-ART, please see the FAQ at
> < http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
> 
> Please wait for direction from your document shepherd
> or AD before posting a new version of the draft.
> 
> [Apologies to the author:  This document slipped through the gen-art
> last call review net and so I only got to volunteer on this one 24 hours
> ago.]
> 
> Document: draft-ietf-xmpp-3920bis-19
> Reviewer: Elwyn Davies
> Review Date: 29 November 2010
> IETF LC End Date:
> IESG Telechat date: 2 December 2010
> 
> Summary:
> This is a very well written document that is mostly easy to read and
> follow.  However I believe it is not (quite) ready for the IESG for the
> following reasons:
> 
> It has (IMO) one major issue as an EXTENSIBLE system - the three level-1
> stanzas are hard coded and it is not immediately possible to add new
> types of level-1 stanza should this be thought useful in future.

That has been the design of XMPP since 1999 and it has not visibly slowed
the development of a wide range of XMPP extensions. From this I conclude
that the existing stanza types appear to cover all of the communication
primitives that have been needed in the XMPP community. Furthermore, the
extensibility model was documented in RFC 3920 and this I-D merely provides
updated documentation for the core XMPP protocols by obsoleting RFC 3920.
It's a bit late to be changing it now. Besides, I imagine that if we want an
even more flexible extensibility model, we'll develop XMPP 2.0. :)

> There are several more minor issues with these two being important:
> There are also a largish number of SHOULD requirements where the
> alternative is not discussed or specified.

This is true. When the alternatives are not security-critical, we have in
general left them up to the best judgment of software developers and service
operators. 

I'll also admit that it's a lot of work to document the alternatives to each
SHOULD-level requirement, and that the XMPP WG and the spec writer might
lack energy to do that in all cases. A quick grep yields 137 instances of
SHOULD or RECOMMENDED, and I'd expect that well over 100 of those do not
document the alternatives.

That said, if you have concerns about specific instances of those
conformance terms, please let me know. In the meantime, I will endeavor to
look at them all, although I won't have time to do so until after the IESG
telechat this Thursday at the earliest.

> There seems to be a lack of clarity or definiteness about the effects of
> support of SASL being mandatory.  There are a number of places in the
> document where the text is written as if SASL were not mandatory, and
> others where the reverse is true but the surrounding text doesn't seem
> to think it is mandatory..  All these places need to be looked at
> critically to ensure that the wording is appropriate for SASL being
> mandatory and that the whole is consistent.

>From the perspective of software development, SASL authentication is
mandatory-to-implement for all clients and servers.

>From the perspective of service deployment, SASL authentication is
mandatory-to-negotiate without qualification for all client-to-server
streams. By contrast, for server-to-server streams, in practice SASL
authentication is used only in the case of TLS + SASL EXTERNAL with PKIX
certificates (in theory it could be used in the case of pre-shared secrets
between servers, but I am not aware of any deployment of such a solution).
However, many deployed XMPP services still do not have PKIX certificates and
therefore fall back to weak identity verification using the Server Dialback
protocol that was documented in RFC 3920 but has since been pulled out into
a separate spec. While we would love to say that TLS + SASL EXTERNAL is
mandatory-to-negotiate without qualification for all server-to-server
streams, such a mandate would be so far out of alignment with deployed
reality that people would just ignore it anyway.

However, here again I'll take another look at the text to make sure that
these matters are clear. In part, some of the confusion might derive from
the fact that in some places we use the term "mandatory" alone, rather than
"mandatory-to-implement" or "mandatory-to-negotiate". I have fixed all such
instances in my working copy.

> Apart form these there are a number of other minor issues and various
> nits/editorial issues.
> 
> Caveat: As usual I haven't tried to verify the XML in Appendix A, and my
> scan of the examples in s9 was very cursory.
> 
> Major issues:
> s4.1, Definition of XML Stanza: Given that xmpp is supposed to be
> extensible, is there a really good reason why the first-level
> stanza=defining elements (message, presence, iq) are hard-coded into the
> specification rather than being possibly extensible? There is already a
> stream features mechanism where additional first-level items could be
> signlaed.

And there's been absolutely no demand for new first-level elements. I'm not
saying there never will be such demand, but to date the XMPP community has
been able to do everything it's wanted to do using the existing stanza
types.

> Minor issues:
> s2.5, first bullet describing server respnsibilities:  The term 'local
> clients' is slightly confusing.  My immediate understanding of 'local'
> would be something attached to the server from the local network or
> machine.  In this case it is presumably intended to imply clients that
> have a session connected to this server rather than via some other
> server but may of course be very remote as regards physical and network
> location.  Maybe 'attached clients' or 'associated clients' (this term
> is used elsewhere in the document) might be clearer, or maybe this just
> needs a terminology definition for how 'local' is used - there is the
> use of 'local entities' previously in s2.5 but this didn't jar so much.

Elsewhere in this document we use the term "connected client", so I propose
using that term here as well.

> s2.5, last para: Does the use of 'local services' imply anything about
> the disposition of the code implementing the service? This use of
> 'local' may or may not conflict with the implications of 'local
> mentioned in the last comment.  Terminology needs to be made a little
> more rigorous.

Elsewhere in this document we use the term "add-on service", so I propose
using that term here as well.

> s4.2.2: Towards the end of this section, there are two statements
> stating 'the initiating entity is cleared to send XML stanzas'. Should
> this be qualified with 'unless a stream restart is required as a result
> of the feature negotiation' (at least at the first appearance)?  This
> probably depends on whether voluntary-to-negotiate features can require
> stream restarts if agreed but not otherwise.

The fact that the initiating entity is cleared to send stanzas is orthogonal
to whether a stream restart might be required after negotiation of a
voluntary-to-negotiate feature -- even if a voluntary-to-negotiate feature
required a stream restart (and so far none of them do), the initiating
entity would still be cleared to send stanzas.

Also note that stream restarts are something of a legacy "feature" (bug?),
because back in ~2003 we thought a stream restart would be necessary to
flush the security context of a stream after negotiation of TLS or
negotiation of a SASL mechanism that enforced a security layer. However, in
fact that really wasn't necessary and if we did it over again we might
remove stream restarts entirely. But there was no appetite in the WG for
making such a large change in 3920bis, so stream restarts remain as a kind
of legacy feature (bug?).

> s4.2.3 and s4.4: In s4.2.3, if a stream has to be restarted, the parties
> are supposed to consider the the stream 'replaced'.  This presumably
> means that the old stream is closed.  It is not absolutely clear whether
> this requires that a <stream/> is exchanged or definitely not exchanged
> in this case. [OK: This is cleared up for the specific TLS case at item
> 3 in s5.4.3.3 and for SASL in s6.4.6 - a general note at s4.2.3 would be
> appropriate since these are not necessarily the only restart cases.]

Section 4.2.3 states in part:

   The initiating entity then MUST send a new initial stream header,
   which SHOULD be preceded by an XML declaration as described under
   Section 11.5.

That seems clear to me.

However, this would be even clearer:

   On successful negotiation of a feature that necessitates a stream
   restart, both parties MUST consider the previous stream to be
   replaced but MUST NOT send a closing </stream> tag and MUST NOT
   terminate the underlying TCP connection; instead, the parties MUST
   reuse the existing connection, which might be in a new state (e.g.,
   encrypted as a result of TLS negotiation).  The initiating entity
   then MUST send a new initial stream header, which SHOULD be preceded
   by an XML declaration as described under Section 11.5.

> s4.2.6, paras 2 and 3: The first parts of these paragraphs are written
> as if SASL autrhentication was mandatory (which it is) and is the only
> possibility (which it might not be).  Para 2 (the client-to-server case)
> does not appear to allow for any other options.  Para 3, OTOH, goes on
> to deal with Server Dialback but the first part still reads as if SASL
> was the only option.  Both paras need to be rewritten to cater for other
> options (and the version 0.9 case?).

See above about wiggle room for weak identity verification using Server
Dialback.

Before SASL, we did also have another method for client authentication, but
that is completely deprecated, unlike Server Dialback (which unfortunately
clings to life despite our best efforts to drive a stake through its heart).

> s4.6.1, para 6:
>   'For initial stream headers in server-to-server communication, a
>    server MUST include the 'from' attribute and MUST set the value to
>    the domainpart of the 'from' attribute of the stanza that caused the
>    stream to be established...':  Is it absolutely always the case that
> a server-to-server connection would be established because some stanza
> came in (presumably from an attached client)?  Could this be indirectly
> through some local service requiring a connection for any other reason?
> It is clear why the server needs to specify 'from' but the constraint
> on the origin seems overly restrictive.

There's no reason to establish a server-to-server connection unless a server
needs to send a stanza to a peer server. The triggering stanza might have
been generated by a connected client, an add-on service, or even the server
itself. Unlike end users, servers don't connect to each other just because
they're lonely. :)

> s5.3.5: 'Because it is relatively inexpensive to establish streams in XMPP,
>    for the first two cases it is preferable to use an XMPP stream reset
>    (as described under Section 4.8.3.16) instead of performing TLS
>    renegotiation.':
> Is this always true?  Probably so for simple instant messaging but if
> the client is using some other services provided by the server, this may
> an unwarranted generalization.  I am not sufficiently expert in either
> XMPP or TLS renegotiation to know what the trade-offs would be.

The XMPP WG had a fair amount of discussion about the tradeoffs and came to
the conclusions summarized in that section. The cost here is not really
related to the application that is operated after streams are negotiated
(and don't assume that IM is a simple or inexpensive application!), but to
the process of establishing streams in the first place no matter what
application is operated over the stream.

> s5.3.5: 'However, the third case is sufficiently rare that XMPP entities
>    SHOULD NOT blindly attempt TLS renegotiation.' (the third case is
> separating client authentication from server authentication):
> I don't understand what is being said here.  Is this an opinion that the
> risk of client credential leakage is sufficiently low that the expense of
> two stage negotiation is not really worth it?  Or is this something that
> should be controlled by a configurable client policy?  Or is this an
> implementation choice?  Some clarification would help.

The WG came very close to saying that XMPP entities MUST NOT use TLS
renegotiation because in general the costs (e.g., code complexity) outweigh
the benefits. However, as described there is one case when it might be
useful. Yet that case is quite rare, because in this case essentially the
client doesn't trust the server and won't send its TLS credentials to the
server until after the server has authenticated to the client. So far we
don't know of any client implementations or deployments that are
sufficiently paranoid to behave that way and in any case end-user
certificates are extremely rare at this point in the evolution of XMPP
technologies. In the case of server-to-server connections, the server that
acts as a TLS client uses a PKIX certificate as its credential and such
certificates are public anyway, so there's no possibility of leaking private
information. End-user certificates also tend to be public in that way
(although the user might worry about leaking their bare JID before the
stream is protected).

To clarify these matters, I suggest the following modified text:

   The third case has improved security characteristics when the TLS
   client (which might be an XMPP server) presents credentials to the
   TLS server.  If communicating such credentials to an unauthenticated
   TLS server might leak private information, it can be appropriate to
   complete TLS negotiation for the purpose of authenticating the TLS
   server to the TLS client and then attempt TLS renegotiation for the
   purpose of authenticating the TLS client to the TLS server.  However,
   this case is extremely rare because the credentials presented by an
   XMPP server or XMPP client acting as a TLS client are almost always
   public (i.e., a PKIX certificate) and therefore providing those
   credentials before authenticating the XMPP server acting as a TLS
   server would not in general leak private information.

   As a result, implementers are encouraged to carefully weigh the costs
   and benefits of TLS renegotiation before supporting it in their
   software, and XMPP entities that act as TLS clients are discouraged
   from blindly attempting TLS renegotiation unless the certificate (or
   other credential information) sent during TLS negotiation is known to
   be private.

> s5.4.3.1, rule 3: Why should the receiving entity not request a certificate?

Perhaps it has no expectation that initiating entity will be able to provide
a certificate. I don't think the WG had consensus to say MUST here, but I'll
bring this up on the WG list.

> Why would the initiating entity not send its certificate if it had one? (Is
> this related to the renegotiation issue from the last comment?)

Yes, it is related -- the initiating entity might not want to send its
(private) credential information until after the receiving entity has itself
authenticated to the initiating entity.

> s5.4.3.1, rule 4: How should the receiving entity make the choice given the
> 'to' attribute (presumably some field in the certificate)?

Here the 'to' attribute essentially functions like a Server Name Indication
in TLS. If the server has multiple certificates based on domain name (e.g.,
in a virtual hosting environment), it can figure out which certificate to
present based on the domain name contained in 'to' address. I suggest the
following text clarification:

   4.  The receiving entity SHOULD choose which certificate to present
       based on the domainpart contained in the 'to' attribute of the
       initial stream header (in essence, this domainpart is
       functionally equivalent to the Server Name Indication defined for
       TLS in [TLS-EXT]).

> What happens if
> it decides not to follow this should?

The TLS negotiation might fail because the initiating entity would think
it's connecting to example.com but the receiving entity would present a
certificate for example.org (or whatever).

However, note that this doesn't apply if the XMPP server is servicing only
one domain, which is by far the most common deployment scenario.

> s5.4.3.2, para 2: The comment about not sending </stream> relates to the
> comment on s4.3.2 above. However, the reasoning for not sending </stream>
> when the TCP connection is closed due to TLS failure differs from reasoning
> given elsewhere (e.g., s5.3.5, para 8 - here the error is said to be at the
> TLS layer and not the XMPP layer so that it is not appropriate to send
> </stream>).
> A consistemt story is needed here.

The text in Section 5.3.5 is more correct, thus I propose this in 5.4.3.2:

   The receiving entity MUST NOT send a closing </stream> tag before
   terminating the TCP connection (since the failure has occurred at the
   TLS layer, not the XMPP layer; see Section 13.3).

(The text about the stream being replaced applies to TLS success but not TLS
failure.)

> s5.4.3.3, item 5:  Given that SASL support is mandatory, why is offering the
> SASL
> feature not a MUST?  Is this to do with possible future alternatives?

In the server-to-server case, if the peer server did not present a
certificate then SASL won't be possible. See above.

> s6.3.8, para 1: I suspect the two SHOULDs in this para ought to be MUSTs.
> What
> other options does initiating entity have if it does/does not want to act on
> behalf of another entity and SASL is being used?

None. So I think MUST and MUST NOT are appropriate (with the understanding
that they are hypothetical imperatives anyway, not categorical imperatives).

> However maybe all this
> should be
> qualified by 'If SASL is being used...'

I think not.

> s6.4.1, para 5: 'If the receiving entity supports SASL, the stream features
>    SHOULD include an advertisement for support of SASL negotiation,...':
> s6.2 says that XMPP entities MUST support SASL.

Right. The clause "If the receiving entity supports SASL" is a legacy of RFC
3920, when SASL was new. The clause can be safely removed now (all other
instances have been removed, but we missed this one).

> I think that this sentence
> probably needs to be turned round making it something like 'Unless support for
> SASL
> negotiation is only allowed once STARTLS negotiation has been completed, the
> stream features MUST include an advertisement for the support of SASL.'  Aside
> from
> the STARTLS case (or equivalent cases with future secure stream mechanisms),
> what
> happens if the SASL advertisement is not made?

I think that changing the sentence as you propose is not correct, because it
closes off all other reasons for not advertising support for SASL (and,
because SASL is mandatory-to-negotiate if advertised, thus forcing an
attempt at SASL negotiation).

For completeness, I think it would be best to adjust the text in this
section as follows:

###

6.4.1.  Exchange of Stream Headers and Stream Features

   If SASL negotiation follows successful STARTTLS negotiation
   (Section 5), then the SASL negotiation occurs over the encrypted
   stream that has already been negotiated.  If not, the initiating
   entity resolves the hostname of the receiving entity as specified
   under Section 3, opens a TCP connection to the advertised port at the
   resolved IP address, and sends an initial stream header to the
   receiving entity.  In either case, the receiving entity will receive
   an initial stream from the initiating entity.

   I: <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'>

   When the receiving entity processes an initial stream header from the
   initiating entity, it MUST send a response stream header to the
   initiating entity (for which it MUST generate a unique stream ID; if
   TLS negotiation has already succeeded then this stream ID MUST be
   different from the stream ID sent before TLS negotiation completed).

   R: <stream:stream
        from='im.example.com'
        id='vgKi/bkYME8OAj4rlXMkpucAqe4='
        to='juliet@im.example.com'
        version='1.0'
        xml:lang='en'
        xmlns='jabber:client'
        xmlns:stream='http://etherx.jabber.org/streams'>

   The receiving entity also MUST send stream features to the initiating
   entity.  The stream features SHOULD include an advertisement for
   support of SASL negotiation, i.e., a <mechanisms/> element qualified
   by the 'urn:ietf:params:xml:ns:xmpp-sasl' namespace.  Typically there
   are only three cases in which support for SASL negotiation would not
   be advertised here:

   o  TLS negotiation needs to happen before SASL can be offered (i.e.,
      TLS is required and the receiving entity is responding to the very
      first initial stream header it has received for this connection
      attempt).

   o  SASL negotiation is impossible for a server-to-server connection
      (i.e., the initiating server has not provided a certificate that
      would enable strong authentication and therefore the receiving
      server is falling back to weak identity verification using the
      Server Dialback protocol [XEP-0220]).

   o  SASL has already been negotiated (i.e., the receiving entity is
      responding to an initial stream header sent as a stream restart
      after successful SASL negotiation).

[...]

###

> s6.4.2, last para: '... the server SHOULD discard the ongoing handshake...':
> What happens if the server (receiving entity) chooses not to
> comply with the new proposed SASL mechanism choice?

That paragraph has changed in response to IESG feedback and subsequent WG
discussion. In my working copy it now reads:

   If the initiating entity subsequently sends another <auth/> element
   and the ongoing authentication handshake has not yet completed, the
   server MUST discard the ongoing handshake and MUST process a new
   handshake for the subsequently requested SASL mechanism.

> s6.4.5, paras 4 and 6:  'SHOULD close the stream':  What would enity do
> instead?

Return a stream error, but that's not very friendly because the initiating
entity hasn't really violated any rules, it's just that authentication has
failed.

> s6.4.6, para 1: The two SHOULDs in this paragraph ought to be MUSTs.  (if
> there is
> a 'from' address then the receiving entity MUST do the correlation - what else
> could it do?  If it does the match and they don't match, what would do other
> than
> termionate the attempt?)

We don't place a great deal of trust in the 'from' address that is sent
before confidentiality and integrity are in place. What if the initial
'from' was tampered with, but the SASL exchange succeeds anyway? In fact we
might consider changing the second SHOULD to MAY for that very reason,
although I think SHOULD is probably fine.

> s8.1.2.1, item 2; also s10.5.1 and s10.5.2:  s8.1.2.1, item 2 appears to
> introduce
> the idea that the <domainname> is the 'bare JID' of a server.  This concept
> does
> not appear anywhere else in this document (or from a brief Google search
> elsewhere). 
> It was not used in RFC 3920.  It also doesn't match the definition of Bare JID
> in
> s10.5.3.2.  Previously in this document this was known as the
> 'hostname'.  I think this is probably an error.  However s10.5.1 refers to a
> 'Mere Domain' as a JID and s10.5.2 to a <domain/resourcepart> as a JID.  This
> seems
> rather inconsistent.

The word "bare" is missing from section 4.2.6:

   For server-to-server communication, the initiating server's bare JID
   (<domainpart>)...

Historically, we referred to bare JID as <localpart@domainpart> and full JID
as <localpart@domainpart/resourcepart>, but we didn't have good terms for
<domainpart> vs. <domainpart/resourcepart> (not that anyone really uses the
latter form). Thus we borrowed the terms bare JID and full JID for servers,
as well.

You make a good point about the section names. I suggest changing them to:

     10.5.  Local Domain
       10.5.1.  domainpart
       10.5.2.  domainpart/resourcepart
       10.5.3.  localpart@domainpart
         10.5.3.1. No Such User
         10.5.3.2. User Exists
       10.5.4.  localpart@domainpart/resourcepart

> s8.1.2.1, items 2 and 4:  As written, both items refer to stanzas 'generated
> by the
> server'.  I take it that the distinction is that item 2 refers to messages
> from the
> server that are not generated by the server as a proxy for the client account
> but
> are some sort of generic control message or the like, whereas item 4 refers to
> server
> generated messages that are generated by the server as such a proxy for the
> client
> account.  The wording is somewhat confusing at present.  Presumably the lack
> of a
> 'from' attribute is intended to distinguish item 1 messages from item 4
> messages -
> this could be spelt out more positively if this is cotrrect.

I suggest the following tweaked text:

   2.  When the server generates a stanza on its own behalf for delivery
       to the client from the server itself, the stanza MUST include a
       'from' attribute whose value is the bare JID (i.e., <domainpart>)
       of the server as agreed upon during stream negotiation (e.g.,
       based on the 'to' attribute of the initial stream header).

and:

   4.  A server MUST NOT send to the client a stanza without a 'from'
       attribute if the stanza was not generated by the server on its
       own behalf (e.g., if it was generated by another client or
       another server and the server is merely delivering it to the
       client on behalf of some other entity); therefore, when a client
       receives a stanza that does not include a 'from' attribute, it
       MUST assume that the stanza is from the user's account on the
       server.

> s13.7.1.1. Both instances of item 4: 'The signatureAlgorithm SHOULD be the
> PKCS #1 version 1.5 signature algorithm with SHA-256 as defined by
> [PKIX-ALGO].':

The issuing entity (typically a CA) can use a stronger signature algorithm
if it pleases.

> What happens if it isn't?

I don't see an interoperability issue here -- we're trying to provide a
baseline for certificate issuers, but naturally CAs might choose stronger
signature algorithms in the future.

> s13.7.1.1: First item 5: 'The certificate SHOULD include an Authority
> Information Access (AIA) extension that specifies the address of an Online
> Certificate Status Protocol [OCSP] responder.'
> What happens if it doesn't?

Then entities checking the certificate might need to fall back on CRLs.

> s13.9.5 and s15: The requirement for support of TLS-NEG if TLS Renegotiation
> is to be allowed
> should be mentioned here.

We could copy the last sentence of Section 5.3.5:

   Support for TLS renegotiation is strictly OPTIONAL.  However,
   implementations that support TLS renegotiation MUST implement and use
   the TLS Renegotiation Extension [TLS-NEG].

> This is also a conformance requirement.

Section 15 does not include features that are optional.

> s14: I seem to remember that giving a working group as a registrant contact
> for an URI is deprecated as it is likely to go out of existence fairly
> shortly.

Good point, I'll change those to IESG.

> Nits/editorial comments:
> 
> 
> s3.2.1, bullet labeled '5': 'The initiating entity uses the IP
> address(es) from the first successfully resolved hostname...': 'first'
> implies that it depends on how fast the answers come back.  Presumably
> what is wanted is the IP address of the highest priority SRV record that
> is successfully resolved, maybe subject to some local policies?

Good catch. I think we can change this to:

   "...from the successfully resolved hostname..."

Where "success" is measured in the terms of the prior steps.

> s3.2.1,bullets labelled '3' and '8':  Bullet 3 suggests that the s3.2.2
> fallaback process 'SHOULD' be used whereas bullet 8 has an implicit MAY
> (that might be better if was explicit).  Why the distinction?
> [Presumably, having read on, there is little point in trying the first
> possibility in the defaults if the initiating entity has already tried
> the default port, but the alternatives might still work.] Section 3.2.2
> could mention that there is no point in trying the default ports if they
> were already tried under s3.2.1.

There's a difference here between failure in the case when there are SRV
records, and no SRV records at all. If the DNS admin has configured SRV
records but they're just wrong or result in failed lookups, I think the
fallback is not a good idea (I've received feedback about this offlist since
-19 was published as well) -- this can result in some strange cases of
one-way connections in server-to-server scenarios. Thus I think this is
correct:

   3.  If a response is received, it will contain one or more
       combinations of a port and hostname, each of which is weighted
       and prioritized as described in [DNS-SRV].  However, if the
       result of the SRV lookup is a single resource record with a
       Target of ".", i.e. the root domain, then the initiating entity
       MUST abort SRV processing at this point.

and:

   8.  If the initiating entity receives a response to its SRV query but
       it is not able to establish an XMPP connection using the data
       received in the response, it SHOULD NOT attempt the fallback
       process described in the next section (this helps to prevent a
       state mismatch between inbound and outbound connections).

   9.  If the initiating entity does not receive a response to its SRV
       query, it SHOULD attempt the fallback process described in the
       next section.

> s3.2.2: A pointer to s15.7 where the default port numbers are registered
> would be useful.

Agreed. Changed to:

   The fallback process SHOULD be a normal "A" or "AAAA" address record
   resolution to determine the IPv4 or IPv6 address of the origin
   domain, where the port used is the "xmpp-client" port of 5222 for
   client-to-server connections or the "xmpp-server" port of 5269 for
   server-to-server connections (these are the default ports as
   registered with the IANA; see Section 14.7).

> s3.2.4: Where is the appropriate XML stanza for defining add-on services
> defined?

If by "defining" you mean "communicating with", the answer is that it
depends on the application. For XMPP groupchat services of the kind used at
IETF meetings, the protocol is defined here:

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

There is no appropriate XML stanza for *defining* add-on services. If only
developing protocol extensions were that easy... :)

> s4.1, Definition of XML Stanza: The term/title 'iq'/'IQ' is not expanded
> until s8.2.3 in this document where it is expanded as info/query.  It
> would be useful to mention this here (first occurrence) and indeed maybe
> to put all three of message, presence and iq into the terminology
> section.  The usage of IQ stanzas would then be clearer and their use
> in examples would be more transparent - currently they just appear with
> no introduction (e.g, in s4.1 and then in s4.8.3.11).

Good point. I have added those to the terminology section:

   The term "XML stream" (also "stream") is defined under Section 4.1.

   The term "XML stanza" (also "stanza") is defined under Section 4.1.
   There are three kinds of stanzas: message, presence, and IQ (short
   for "Info/Query").  These are defined under Section 8.2.1,
   Section 8.2.2, and Section 8.2.3, respectively.

> s4.1, final set of bullets: Adding section references to the five topics
> would be helpful.

Done.

> s4.2.2, first para: A pointer to s4.6.5 which is very prescriptive about
> how to do the version comparison would be useful.

Agreed. Changed to:

   If the initiating entity includes in the initial stream header the
   'version' attribute set to a value of at least "1.0" (see
   Section 4.6.5)...

> Figure 3: It would help if the figure could be made one or two lines
> shorter so that the title appears on the same page.  (e.g., move the
> bottom line 'yes' and 'no' above the transition lines that they apply
> to, remove one line below the 'process complete' box.)

Done.

> s4.6.1, para 8 (also s4.6.2):  Although it may seem a bit pedantic, it
> is probably desirable to clarify that by 'hostname' the document means a
> fully qualified DNS name.  The term is used ambiguously by many
> operating systems.

Agreed. I suggest that we use the term "FQDN" instead of "hostname" anyway, 
because of the many ambiguities over the years regarding the latter term. 
Thus:

   Because XML streams are sent over TCP, the initiating entity needs to
   determine the IPv4 or IPv6 address (and port) of the receiving entity
   before it can attempt to connect to the XMPP network.  Typically this
   is done by resolving the receiving entity's fully-qualified domain
   name or "FDQN" (see [DNS-CONCEPTS]).

and then:

   The preferred process for FQDN resolution is to use [DNS-SRV] records
   as follows:

etc.

And in a few places by "hostname" we really mean "domainpart", so I've 
modified those accordingly.

> s4.6.6: The entries for to/initiating to receiving and from/receiving to
> initiating are hostnames and not JIDs always.  The other two to and from
> entries are hostnames rather than JIDs for the server-to-server case.
> [But the comments on s8.1.2.1 item 2 and ss10.5.1/2 under minor issues
> may have some bearing here.]

A mere <domainpart> is a JID.

> s5.3.3 and s6.3.5: Does 'whitespace' mean all the 'white space' items
> referred to in Section 2.10 of the current version of the XML spec
> (i.e., including line separators).  The term whitespace is used earlier
> whan referring just to spaces used in the context of keep alives.  [It
> turns out much later that s11.7 clarifies this but maybe doesn't totally
> resolve s2.10.] Note that the XML specification uses 'white space'
> rather than 'whitespace'.

Section 1.4 of 3920bis states this (including the changes resulting from 
Alexey Melnikov's IESG comments):

   The term "whitespace" is used to refer to any character or characters
   matching production [3] content of [XML], i.e., one or more instances
   of the SP, HTAB, CR, or LF rules defined in [ABNF].

> s6.4., last para:  For consistency and avoiding confusion between XMPP
> server and SASL server: s/server/receiving entity/

Fixed.

> s8.2.1: A reference to s10.3.1, where the meaning of a message with 'to'
> attribute is explained, would be clarify the first SHOULD.  Adding 'if
> possible' to route or deliver it to the intended recipient' would
> explain the second SHOULD.

Tweaked to:

   The <message/> stanza can be seen as a "push" mechanism whereby one
   entity pushes information to another entity, similar to the
   communications that occur in a system such as email.  All message
   stanzas SHOULD possess a 'to' attribute that specifies the intended
   recipient of the message (see Section 8.1.1 and Section 10.3); upon
   receiving such a stanza, a server SHOULD if possible route or deliver
   it to the intended recipient (see Section 10 for general routing and
   delivery rules related to XML stanzas).

> s8.2.2: The second and third SHOULDs probably need 'if possible' to
> explain them.

Tweaked to:

   The <presence/> stanza can be seen as a specialized broadcast or
   "publish-subscribe" mechanism, whereby multiple entities receive
   information (in this case, network availability information) about an
   entity to which they have subscribed.  In general, a publishing
   entity (client) SHOULD send a presence stanza with no 'to' attribute,
   in which case the server to which the entity is connected SHOULD if
   possible broadcast that stanza to all subscribed entities.  However,
   a publishing entity MAY also send a presence stanza with a 'to'
   attribute, in which case the server SHOULD if possible route or
   deliver that stanza to the intended recipient.  See Section 10 for
   general routing and delivery rules related to XML stanzas, and
   [XMPP-IM] for rules specific to presence applications.

> s8.3.2/s8.3.3:  All the error specifications in s8.3.3 contain a SHOULD
> specification of the error type recommended.  A note in s8.3.2 or s8.3.3
> that the values of the error type given in s8.3.3 are the usual expected
> error type, but that there are conceivably circumstances when some other
> value would be more appropriate. (the only one I copuld think of so far,
> apart from the remote-server-timeout case already in the draft, was
> associated with payment-required where a modify or cancel error type
> might be appropriate if the reason was not that the requestor wasn't
> actually authorized but that it didn't have enough credit.)

Done in 8.3.3:

   The error-type value that is RECOMMENDED for each defined condition
   is the usual expected type; however, in some circumstances a
   different type might be more appropriate.

> s11.4: 'A client SHOULD NOT rely on the ability to send data that does
> not conform to the schemas':  This is not controllable by the protocol.
> s/SHOULD NOT/should not/

Sure:

   Clients are advised not to rely on the ability to send data that 
   does not conform to the schemas...

> s11.4: What should the client do if it doesn't ignore non-conformant
> elements?

Process them. :)

Some implementation violate the schemas. Tthey can do that, but we recommend 
that they don't because violating the schemas can have bad consequences. One 
old example is <presence type='invisible'/> (ick).

> s8.3.3.15, Security Note: s/communicated/communicate/

Fixed.

> s14. The IANA Considerations mostly duplicate those in RFC 3920.  Is the
> intention that IANA should update the references to RFC3920 to point at
> this document?  If so some statement should be made about this.

The IANA knows about that because the first paragraph of Section 14 states:

   The following subsections update the registrations provided in
   [RFC3920].

> s14: Presumably 'XXXX' is to be replaced by the RFC nnnn identifier for
> the eventual RFC.  This isn't stated.  

The "XXXX" is autogenerated via the &rfc.number; predefined entity in 
xml2rfc and the RFC Editor team knows to search-and-replace on that.

> Should the various Namespace
> names refer to document sections?

I see no special reason to call out the section numbers in the IANA 
registry. That would be more work for the IANA, with very little benefit (we 
assume that readers can search the spec for strings of interest).

Thanks again for the detailed review.

Peter


From stpeter@stpeter.im  Tue Nov 30 14:09: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 DDCDA3A6C43; Tue, 30 Nov 2010 14:09:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.452
X-Spam-Level: 
X-Spam-Status: No, score=-102.452 tagged_above=-999 required=5 tests=[AWL=0.147, 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 oTLnNLhfCeSh; Tue, 30 Nov 2010 14:09:39 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 83FE83A6C97; Tue, 30 Nov 2010 14:09:39 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id D4F544009B; Tue, 30 Nov 2010 15:21:58 -0700 (MST)
Message-ID: <4CF57668.1000804@stpeter.im>
Date: Tue, 30 Nov 2010 15:10:48 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Russ Housley <housley@vigilsec.com>
References: <20101130211259.21736.79430.idtracker@localhost>
In-Reply-To: <20101130211259.21736.79430.idtracker@localhost>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020007090302060205060108"
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, elwynd@dial.pipex.com, xmpp-chairs@tools.ietf.org, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Russ Housley's DISCUSS on draft-ietf-xmpp-3920bis-19
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, 30 Nov 2010 22:09:41 -0000

This is a cryptographically signed message in MIME format.

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

On 11/30/10 2:12 PM, Russ Housley wrote:
> Russ Housley has entered the following ballot position for
> draft-ietf-xmpp-3920bis-19.
>=20
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this=

> introductory paragraph, however.)
>=20
> Please refer to http://www.ietf.org/iesg/statement/discuss-criteria.htm=
l
> for more information about IESG DISCUSS and COMMENT positions.
>=20
>=20
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>=20
>=20
>   The summary of changes since RFC 3920 includes:
>=20
>    o  Specified that the SASL SCRAM mechanism is a mandatory-to-
>       implement technology for client-to-server streams.
>    o  Specified that TLS plus the SASL PLAIN mechanism is a mandatory-
>       to-implement technology for client-to-server streams.
>    o  Specified that support for the SASL EXTERNAL mechanism is require=
d
>       for servers but only recommended for clients (since end-user X.50=
9
>       certificates are difficult to obtain and not yet widely deployed)=
=2E
>=20
>   Yet, the Gen-ART Review from Elwyn Davies on 29 November 2010 says:
>=20
>    There seems to be a lack of clarity or definiteness about the effect=
s
>    of support of SASL being mandatory.  There are a number of places in=

>    the document where the text is written as if SASL were not mandatory=
,
>    and others where the reverse is true but the surrounding text doesn'=
t
>    seem to think it is mandatory..  All these places need to be looked
>    at critically to ensure that the wording is appropriate for SASL
>    being mandatory and that the whole is consistent.
>=20
>   I do not want to block or delay this document, but it seems that this=

>   issue can easily be resolved while handling the items raised in the
>   DISCUSS position entered by Alexey.

This might now be clear based on my reply to Elwyn Davies, but I'll
await further instructions...

Peter

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




--------------ms020007090302060205060108
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
DVN0YXJ0Q29tIEx0ZC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w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQAcp83GpOuDP4fx9K6aiBkIS8+XaVfCaVlRyX+02I7efo0IFfPAhr5YXiOw
ZK0B/dhHs5UIiDMICEb+8BAqvCuLt6P1jenlN7HSyRRnK166dinX4VDZWy+1NKl49IQ/H/0P
oP5KJn+BOtkOJYmkKMG5rFWvCQXrmNS2brhais4CCLZqFOB/3B11r+YqnYmHap9rz4Yi/rJA
i7mEk7bEmesXWvkJ+R9D6pqPcahzQ5YuvEbN3xokyAdeIOBoIBZb9G+cbEhVcp0WAWeu5w3m
tU+cg6Topsxnjnya8oXCOn6QOIfONF2aQ9VP6IgDm6uIv5Bym3ALj/9WR+Fpp32HM/afAAAA
AAAA
--------------ms020007090302060205060108--

From Peter.SaintAndre@webex.com  Tue Nov 30 14:16:12 2010
Return-Path: <Peter.SaintAndre@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 CF0503A6C96; Tue, 30 Nov 2010 14:16:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.232
X-Spam-Level: 
X-Spam-Status: No, score=-104.232 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, RCVD_NUMERIC_HELO=2.067, 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 kwH6ctdmhoth; Tue, 30 Nov 2010 14:16:12 -0800 (PST)
Received: from gw2.webex.com (gw2.webex.com [64.68.122.209]) by core3.amsl.com (Postfix) with SMTP id 05F703A6C94; Tue, 30 Nov 2010 14:16:12 -0800 (PST)
Received: from SRV-EXSC03.webex.local ([192.168.252.197]) by gw2.webex.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 30 Nov 2010 14:17:24 -0800
Received: from 64.101.74.200 ([64.101.74.200]) by SRV-EXSC03.webex.local ([192.168.252.200]) with Microsoft Exchange Server HTTP-DAV ;  Tue, 30 Nov 2010 22:17:23 +0000
User-Agent: Microsoft-Entourage/12.12.0.080729
Date: Tue, 30 Nov 2010 15:17:22 -0700
From: Peter Saint-Andre <Peter.SaintAndre@webex.com>
To: Elwyn Davies <elwynd@dial.pipex.com>, "Mary Barnes (gen-art)" <mary.ietf.barnes@gmail.com>
Message-ID: <C91AC602.D31C%Peter.SaintAndre@webex.com>
Thread-Topic: Gen-art review of draft-ietf-xmpp-address-07
Thread-Index: AcuQe3GF/L5T3mv6Tgi5Y6Zj8LT33gAYOpsD
In-Reply-To: <1291113836.4284.11435.camel@mightyatom.folly.org.uk>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 30 Nov 2010 22:17:24.0067 (UTC) FILETIME=[5D2DAB30:01CB90DC]
Cc: General Area Review Team <gen-art@ietf.org>, draft-ietf-xmpp-address.all@tools.ietf.org, "xmpp@ietf.org" <xmpp@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>
Subject: Re: [xmpp] Gen-art review of draft-ietf-xmpp-address-07
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, 30 Nov 2010 22:16:12 -0000

[cc'ing xmpp@ietf.org and iesg@ietf.org]

On 11/30/10 3:43 AM, "Elwyn Davies" <elwynd@dial.pipex.com> wrote:

> I am the assigned Gen-ART reviewer for this draft. For background on
> Gen-ART, please see the FAQ at
> < http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
> 
> Please wait for direction from your document shepherd
> or AD before posting a new version of the draft.
> 
> [Apologies to the author:  This document slipped through the gen-art
> last call review net. This is a belated and very quick check of this
> document after reading xmpp-3920bis.  I didn't find anything much
> problematic.]
> 
> Document: draft-ietf-xmpp-address-07
> Reviewer: Elwyn Davies
> Review Date: 30 November 2010
> IETF LC End Date:
> IESG Telechat date: 2 December 2010
> 
> Summary:
> This is a very well written document that is mostly easy to read and
> follow.  (Essentially) ready.  There is one missing definition that is
> really needed for xmpp-3920bis - 'Bare JID'.

I think the solution is to remove both instances of "bare JID" since they
are inconsequential anyway. Thus:

(in 4.3.1)

   Therefore, an entity outside the security perimeter of a particular
   server cannot reliably distinguish between JIDs of the form
   <localpart@domainpart> at that server and thus can authenticate only
   the domainpart of such JIDs with any level of assurance.

and (in 4.3.2)

   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, two or more
      confusable resources could be bound at the same time to the same
      account (resulting in inconsistent authorization decisions in an
      XMPP application), or a user could send a message to someone other
      than the intended recipient in a multi-user chat room.

> Caveat: I haven't done a
> detailed check of the Notes and Prohibited Outputs in the appendices.
> 
> Major issues:
> None.
> 
> Minor issues:
> s4.3.1, last para: There should be a formal definition of 'Bare JID' as
> it is extensively used in draft-ietf-xmpp-3920bis.  Note that almost all the
> cases where 'Bare JID' is used, both in this document and 3920bis add a
> expansion
> that this means <localpart@domainname>,  except for one instance in s8.1.2.1
> of 3920bis where it means just <domainname> (also referred to as 'Mere
> Dominname'
> elsewhere in 3920bis!).
> 
> The definition either needs to cover both cases or a different term needs to
> be
> created and used consistently for the Mere Domainname case.
> 
> Nits/editorial comments:
> None

See above, as well as my reply to your gen-art review of 3920bis.

Peter



From Peter.SaintAndre@webex.com  Tue Nov 30 14:44:18 2010
Return-Path: <Peter.SaintAndre@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 D38FD3A6C3A; Tue, 30 Nov 2010 14:44:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -104.382
X-Spam-Level: 
X-Spam-Status: No, score=-104.382 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, RCVD_NUMERIC_HELO=2.067, 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 RjKpURQsa28t; Tue, 30 Nov 2010 14:44:17 -0800 (PST)
Received: from gw1.webex.com (gw1.webex.com [64.68.122.208]) by core3.amsl.com (Postfix) with SMTP id 906193A6B28; Tue, 30 Nov 2010 14:44:17 -0800 (PST)
Received: from SRV-EXSC03.webex.local ([192.168.252.197]) by gw1.webex.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 30 Nov 2010 14:45:29 -0800
Received: from 64.101.74.200 ([64.101.74.200]) by SRV-EXSC03.webex.local ([192.168.252.200]) with Microsoft Exchange Server HTTP-DAV ;  Tue, 30 Nov 2010 22:45:29 +0000
User-Agent: Microsoft-Entourage/12.12.0.080729
Date: Tue, 30 Nov 2010 15:45:26 -0700
From: Peter Saint-Andre <Peter.SaintAndre@webex.com>
To: Elwyn Davies <elwynd@dial.pipex.com>, "Mary Barnes (gen-art)" <mary.ietf.barnes@gmail.com>
Message-ID: <C91ACC96.D327%Peter.SaintAndre@webex.com>
Thread-Topic: Gen-art review of draft-ietf-xmpp-3920bis-19 (updated)
Thread-Index: AcuQdwE0NTKlTNOQTaCdCmi7WIdZjgAaUZ++
In-Reply-To: <1291111920.4284.11402.camel@mightyatom.folly.org.uk>
Mime-version: 1.0
Content-type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
X-OriginalArrivalTime: 30 Nov 2010 22:45:29.0668 (UTC) FILETIME=[49DFF840:01CB90E0]
Cc: "draft-ietf-xmpp-3920bis.all@tools.ietf.org" <draft-ietf-xmpp-3920bis.all@tools.ietf.org>, General Area Review Team <gen-art@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] Gen-art review of draft-ietf-xmpp-3920bis-19 (updated)
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, 30 Nov 2010 22:44:18 -0000

Hi Elwyn, unfortunately I replied to your original message, not the updated
one. I've run a diff between the two and here reply only to the points
raised in your updated text.

On 11/30/10 3:12 AM, "Elwyn Davies" <elwynd@dial.pipex.com> wrote:

> I am the assigned Gen-ART reviewer for this draft. For background on
> Gen-ART, please see the FAQ at
> < http://wiki.tools.ietf.org/area/gen/trac/wiki/GenArtfaq>.
> 
> Please wait for direction from your document shepherd
> or AD before posting a new version of the draft.
> 
> [Apologies to the author:  This document slipped through the gen-art
> last call review net and so I only got to volunteer on this one 24 hours
> ago.  Later... Having slept on the comments I see there are a couple that were
> items that I missed and should be modified or removed.  In particular
> about whitespace (where I missed the definition in terminology).
> Further I have now read (very quickly) the address draft which clarifies
> some matters on what are possible JIDs but doesn't totally solve some of the
> issues.]
> 
> Document: draft-ietf-xmpp-3920bis-19
> Reviewer: Elwyn Davies
> Review Date: 29 November 2010
> IETF LC End Date:
> IESG Telechat date: 2 December 2010
> 
> Summary:
> This is a very well written document that is mostly easy to read and
> follow.  However I believe it is not (quite) ready for the IESG for the
> following reasons:
> 
> It has (IMO) one major issue as an EXTENSIBLE system - the three level-1
> stanzas are hard coded and it is not immediately possible to add new
> types of level-1 stanza should this be thought useful in future.  This is,
> I guess a philosophical issue, and as a -bis document it probably isn't
> going to get changed at this stage, so this need not concern us deeply.
> However I think that it might be useful to provide an explanation of
> the general semantics of the three types of stanza early on in the document -
> not having participated in XMPP, it wasn't until I stepped back from
> the details of the document (as well as finding out what IQ stood for
> when I reached section 8) that I realized that the three existing
> categories of stanza are  effectively semantic types that are appropriate
> for the three classes of message for which they are named, but could
> be used for other sorts of function - this might avoid people thinking that
> they need extra stanza types and complaining that it isn't extensible :-( .

How about if we add the following paragraph right after the definition of
"XML Stanza" in Section 4.1?

   There are three kinds of stanzas: message, presence, and IQ (short
   for "Info/Query").  These stanza types provide three different
   communication primitives: a "push" mechanism for generalized
   messaging, a specialized "publish-subscribe" mechanism for
   broadcasting information about network availability, and a "request-
   response" mechanism for more structured exchanges of data (similar to
   [HTTP]).  Further explanation is provided under Section 8.2.1,
   Section 8.2.2, and Section 8.2.3, respectively.

<snip/>

> The separation of the address format into a separate document means
> that there should be some information about the terms that are
> imported in the terminology section.  The early sections on stream setup
> talking about 'from' and 'to' addresses have some difficulties with the
> use of hostname versus the term used in the JID/addressing draft of
> domainname.  Almost the whole of this document implies that a JID
> *necessarily*
> has a localpart, whereas the definition in the addressing draft allows
> it to be just a bare (or mere!) domainname.  The couple of places where
> JIDs may or in some cases, must not have a localpart confuse matters because
> they don't describe the hostname only forms as JIDs in the main text, but they
> are suddenly transformed into JIDs in summaries (in particular the summary
> table in s4.6.6
> where it turns out that, yes, all the 'to' and 'from' addresses are actually
> JIDs but (1) only restricted forms are allowed for some interactions
> and (2) these restricted forms were carefully *not* described as JIDs earlier
> in s4.6).
> Again, the term 'bare JID' is almost everywhere shown as
> <localpart@domainname>
> except for in s8.1.2.1.  This term is not actually defined in the addressing
> draft
> and appears only in one place as a term for <localpart@domainname>.

I suggest adding the following definitions to the Terminology section:

   The terms "localpart", "domainpart", and "resourcepart" are defined
   in [XMPP-ADDR].

   The term "bare JID" refers to an XMPP address of the form
   <localpart@domainpart> (for an account at a server) or of the form
   <domainpart> (for a server).

   The term "full JID" refers to an XMPP address of the form
   <localpart@domainpart/resourcepart> (for a particular authorized
   client or device associated with an account) or of the form
   <domainpart/resourcepart> (for a particular resource or script
   associated with a server).

Let me know if I've missed anything from your updated review.

Thanks again.

Peter


From stpeter@stpeter.im  Tue Nov 30 15:23: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 A560F3A6C25 for <xmpp@core3.amsl.com>; Tue, 30 Nov 2010 15:23:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.458
X-Spam-Level: 
X-Spam-Status: No, score=-102.458 tagged_above=-999 required=5 tests=[AWL=0.141, 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 n8+Gldl6XpfI for <xmpp@core3.amsl.com>; Tue, 30 Nov 2010 15:23:22 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id 6E6233A6C3C for <xmpp@ietf.org>; Tue, 30 Nov 2010 15:23:22 -0800 (PST)
Received: from dhcp-64-101-72-234.cisco.com (dhcp-64-101-72-234.cisco.com [64.101.72.234]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 38F754009B for <xmpp@ietf.org>; Tue, 30 Nov 2010 16:35:44 -0700 (MST)
Message-ID: <4CF587B1.7090804@stpeter.im>
Date: Tue, 30 Nov 2010 16:24:33 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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="------------ms080901040306020908090402"
Subject: [xmpp] <payment-required/>
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, 30 Nov 2010 23:23:27 -0000

This is a cryptographically signed message in MIME format.

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

Would anyone object if we got rid of the <payment-required/> stanza
error condition?

/psa



--------------ms080901040306020908090402
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S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EChMNU3RhcnRDb20gTHRkLjErMCkGA1UECxMiU2Vj
dXJlIERpZ2l0YWwgQ2VydGlmaWNhdGUgU2lnbmluZzE4MDYGA1UEAxMvU3RhcnRDb20gQ2xh
c3MgMyBQcmltYXJ5IEludGVybWVkaWF0ZSBDbGllbnQgQ0ECAgCLMIGmBgsqhkiG9w0BCRAC
CzGBlqCBkzCBjDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNV
BAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0
Q29tIENsYXNzIDMgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgIAizANBgkqhkiG
9w0BAQEFAASCAQCMaA/wApuq3xrji5Hr8du30/sabUkrptEYB4c+w/6iKe+6ANPXh86Sb1gC
uBGOzrtxSL+jaE/lC7gSxPuYQmGtJnowu4gEDEFmTDBsYHhrGUdCBpRQDBEDDzBggjTSuwWM
zc46IUG3YU9tzttESzz6xAslZ4HLehmSupjlIS+OnN8IocuLlLN8QtywP/NxdZsBdCcqJnvo
Cu6GkF0K47Xo3u12xt7Nedvh60c0ZczYdgGKJep6zDJjIc9wmCbA+TfgZmxUAaFWQnzFLGMk
pw6e+GzjbIMYWR4/FgD9YxHj2p0nYJLoGA/4qKlpPirIJ2pAZtoM5tBcKMGY6kkupW6HAAAA
AAAA
--------------ms080901040306020908090402--

From justin@affinix.com  Tue Nov 30 16:02:16 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 1A2CB3A6C32 for <xmpp@core3.amsl.com>; Tue, 30 Nov 2010 16:02:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level: 
X-Spam-Status: No, score=-2.799 tagged_above=-999 required=5 tests=[AWL=-0.200, 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 tDKVsHRKQbB6 for <xmpp@core3.amsl.com>; Tue, 30 Nov 2010 16:02:15 -0800 (PST)
Received: from homiemail-a3.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by core3.amsl.com (Postfix) with ESMTP id 2F1D93A6BCD for <xmpp@ietf.org>; Tue, 30 Nov 2010 16:02:15 -0800 (PST)
Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 7EB60284071 for <xmpp@ietf.org>; Tue, 30 Nov 2010 16:03:27 -0800 (PST)
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=i jrNi/m03BiNgNbhRwJbSqcrjDKKwb1DmM2fGNLuZBiL5Wq8Uth0ueGTb/4Y97QSR ckKCuxKxRpJf1l23864MzsjghyDIn8FRJAkqMsyJOle6acPHgSg6QUU5sn/MOd0y W7WOcpMOAYJxZZfuBHKQBsTIUH6T2p+vPXwTr9q5Dk=
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=7bhdv4/ whCpPn4zHRJI79qPzHHE=; b=nnCaOyQlHY0qSkUFbZ5ehD5Vzrf7HgFpoRJlt8v UsXBKbJJ/cQHA6xhy0xub/5NjZYkt0NYrP7dVx1SGAoZc756VLsT7JSHIkl7orwD Qu7DR5RTKQjWCKM1S9LIM3CggueOX0I1u6z+VrhCQR/vFm3yV+++y4iTo1S1aGc/ XBcM=
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-a3.g.dreamhost.com (Postfix) with ESMTPSA id 6F52D28406C for <xmpp@ietf.org>; Tue, 30 Nov 2010 16:03:27 -0800 (PST)
From: Justin Karneges <justin@affinix.com>
To: xmpp@ietf.org
Date: Tue, 30 Nov 2010 16:03:21 -0800
User-Agent: KMail/1.13.2 (Linux/2.6.35-rc6-vaioz; KDE/4.4.2; x86_64; ; )
References: <4CF587B1.7090804@stpeter.im>
In-Reply-To: <4CF587B1.7090804@stpeter.im>
MIME-Version: 1.0
Content-Type: Text/Plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Message-Id: <201011301603.21760.justin@affinix.com>
Subject: Re: [xmpp] <payment-required/>
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, 01 Dec 2010 00:02:16 -0000

On Tuesday 30 November 2010 15:24:33 Peter Saint-Andre wrote:
> Would anyone object if we got rid of the <payment-required/> stanza
> error condition?

But think of the profit potential!

From stpeter@stpeter.im  Tue Nov 30 18:48: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 2BCE63A6C68; Tue, 30 Nov 2010 18:48:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.206
X-Spam-Level: 
X-Spam-Status: No, score=-102.206 tagged_above=-999 required=5 tests=[AWL=-0.207, BAYES_00=-2.599, 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 FhA2IwCctT8H; Tue, 30 Nov 2010 18:48:45 -0800 (PST)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by core3.amsl.com (Postfix) with ESMTP id DDED93A6C4F; Tue, 30 Nov 2010 18:48:44 -0800 (PST)
Received: from squire.local (ip-216-17-182-51.rev.frii.com [216.17.182.51]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 29AD54009B; Tue, 30 Nov 2010 20:01:06 -0700 (MST)
Message-ID: <4CF5B7C9.70607@stpeter.im>
Date: Tue, 30 Nov 2010 19:49:45 -0700
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
MIME-Version: 1.0
To: Robert Sparks <rjsparks@nostrum.com>
References: <20101130221949.9267.41302.idtracker@localhost>
In-Reply-To: <20101130221949.9267.41302.idtracker@localhost>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms070008000503010200070001"
Cc: draft-ietf-xmpp-3920bis@tools.ietf.org, xmpp-chairs@tools.ietf.org, elwynd@dial.pipex.com, The IESG <iesg@ietf.org>, XMPP <xmpp@ietf.org>
Subject: Re: [xmpp] Robert Sparks' DISCUSS and COMMENT on draft-ietf-xmpp-3920bis-19
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, 01 Dec 2010 02:48:47 -0000

This is a cryptographically signed message in MIME format.

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

[ cc'ing xmpp@ietf.org ]

On 11/30/10 3:19 PM, Robert Sparks wrote:
> Robert Sparks has entered the following ballot position for=20
> draft-ietf-xmpp-3920bis-19.
>=20
> When responding, please keep the subject line intact and reply to
> all email addresses included in the To and CC lines. (Feel free to
> cut this introductory paragraph, however.)
>=20
> Please refer to
> http://www.ietf.org/iesg/statement/discuss-criteria.html for more
> information about IESG DISCUSS and COMMENT positions.
>=20
>=20
> ----------------------------------------------------------------------
> DISCUSS:
> ----------------------------------------------------------------------
>
>  This is a solid document. I have one major point (the first below)
> that I would like to discuss. I expect the remaining points to be
> easy to address (or be convinced to remove them after discussion).
>=20
> 1) This draft requires that an intial stream be established before
> starting TLS negotiation, and requires (at SHOULD strength) that the
> stream element that is sent in the clear have a from attribute
> identifying the user if known. It doesn't feel right to require a=20
> privacy leak like that. Would it make more sense to elide the from if
> the client knows it wants to try using TLS, or at least provide a way
> to use a from that couldn't be used by third parties to identify the
> user?

Yes, it would be better not to include the 'from' address on unprotected
initial stream headers, especially from clients (servers are typically,
but not always, more public). We could include a paragraph such as the
following at the beginning of Section 4.6.1:

      Security Note: Notwithstanding the recommendations in the
      remainder of this section, the initiating entity SHOULD NOT
      include a 'from' address on the initial stream header it sends
      before the confidentiality of the stream is protected via TLS or
      an equivalent security layer, since doing so would expose the
      initiating entity's identity to eavesdroppers.

> 2) Section 3.2.2's MAY seems to make [DNS-TXT] and [XEP-0156]
> normative.

I don't think we want to be encouraging folks to use TXT records. I'd
rather change "MAY" to "might" or something even weaker. I suggest:

   If connections via TCP are unsuccessful, the initiating entity might
   attempt to find and use alternative connection methods such as the
   HTTP binding (see [XEP-0124] and [XEP-0206]), which might be
   discovered using [DNS-TXT] records as described in [XEP-0156].

> 3) Section 4.4 - why is the specified behavior for the element that
> sends a closing stream tag defined as a SHOULD? When is it ok for the
> element to do something different, and what would it do?

I'd be fine with MUST here.

> 4) Section 8.3.1 - Does "generated stanza" mean "the stanza that
> caused an error to be generated"?=20

That term is essentially defined in Section 8.1.3:

   The 'id' attribute is used by the entity that generates a stanza
   ("the originating entity") to track any response or error stanza that
   it might receive in relation to the generated stanza from another
   entity (such as an intermediate server or the intended recipient).

However, we could move the definition to the Terminology section:

   The term "originating entity" refers to the entity that first
   generates a stanza that is sent over an XMPP network (e.g., a
   connected client, an add-on service, or a server).  The term
   "generated stanza" refers to the stanza so generated.

> Can you provide more detail about
> why swapping the to and from are SHOULD (I can't figure out what in
> section 13.10 would have you not simply swap.)

There are two main considerations:

1. Privacy. An entity might not want to expose its full JID (or a server
might obscure them).

2. Malformed JIDs. If the originating entity or a routing server sends a
stanza with a 'to' address that is malformed, simply swapping the 'to'
and the 'from' would result in an error stanza that also contains a
malformed JID. But the entity that sends the error stanza might not want
to pollute the stream with such a malformed JID.

I suggest modifying rule #3 in Section 8.3.1 to reflect that:

   3.  If the generated stanza was <message/> or <presence/> and
       included an 'id' attribute then it is REQUIRED for the error
       stanza to also include an 'id' attribute.  If the generated
       stanza was <iq/> then the error stanza MUST include an 'id'
       attribute.  In all cases, the value of the 'id' attribute MUST
       match that of the generated stanza (or be empty if the generated
       stanza did not include an 'id' attribute).

> 5) page 137 (delivery related attack point 2) : this paragraph "How a
> server ... bare JID." does not parse.

Right, that should be:

   2.  How a server processes stanzas sent to the bare JID
       <localpart@domainpart> has implications for directory harvesting,
       because an attacker could determine whether an account exists if
       the server responds differently depending on whether there there
       is an account for a given bare JID.

> 6) Section 10.5.3.1 The second bullet seems to make [XMPP-IM] a
> normative reference. There were other places in the document where
> [XMPP-IM] seemed to be required reading in order to build a
> conformant implementation.

I'd be fine with making it a normative reference -- that's especially
relevant with regard to presence.

> 7) Section 10.5.3.2 : Why, for a message stanza, do you say SHOULD
> deliver to at least one matching resource? Why is this not a MUST,

There are XMPP extensions that can be used to block abusive senders,
filter messages based on various criteria, etc.

> and why do you allow something between one and all?

Many server implementations have advanced message delivery logic based
on things like presence priority (e.g., all resources with the same
priority might receive the message).

> 8) Section 13.10.1 : It's not clear what you really mean by "make the
> IP address or method of access public". How do you test this MUST
> NOT? Can you give examples of what you're worried a server
> implemenation  might do in error?

This text goes back to RFC 3920 or beyond -- the basic contrast was with
IRC, which exposes your IP address to the world when you join a channel.
Whether that MUST NOT is testable is another matter. Examples other than
groupchat would include service discovery (XEP-0030).

> 9) Section 13.12, item 4 : this 10000 is a magic number - please
> consider calling out that it was arbitrarily chosen.=20

The WG had much discussion about the matter and settled on 10000.
Whether that counts as arbitrary is open to interpretation.

> More
> importantly, please add text disuading implementers from chosing to
> set a limit of 10000 bytes by default.

Implementations or deployments? Typically this is a deployment matter.
For example, the jabber.org service traditionally has had a maximum
stanza size of 64k.

I propose:

   4.  A server implementation SHOULD enable a server administrator to
       limit the size of stanzas it will accept from a connected client
       or peer server (where "size" is inclusive of all XML markup as
       defined in Section 2.4 of [XML], from the opening "<" character
       of the stanza to the closing ">" character).  A deployed server's
       maximum stanza size MUST NOT be smaller than 10000 bytes, which
       reflects a reasonable compromise between the benefits of
       expressiveness for originating entities and the costs of stanza
       processing for servers.  A server implementation SHOULD NOT
       blindly set 10000 bytes as the default but instead SHOULD enable
       server administrators to set their own limits....

> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
>  Please consider clarifying that you are not requiring elements to
> reject streams that use a prefix with the literal value "stream",
> only that you are allowing them to do so to allow legacy
> implementations to be compliant. It might help to be even more
> explicit that clients that chose not to use the literal "stream"=20
> prefix may have interoperability problems with those legacy
> implementations.=20

I propose:

      Interoperability Note: For historical reasons, an implementation
      MAY accept only the prefix 'stream' for the stream namespace
      (resulting in prefixed names such as <stream:stream> and <stream:
      features>); this specification retains that allowance from
      [RFC3920] for the purpose of backward compatibility.
      Implementations are advised that using a prefix other than
      'stream' for the stream namespace might result in interoperability
      problems.  If an entity receives a stream header with a stream
      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).

> Also consider pointing to this exception to the
> general principal of allowing the sender to set the string it uses as
> a prefix label in the section on page 124 (where you note that
> "receiving entities MUST NOT depend on the prefix strings to have any
> particular value.")

   Routing entities (typically servers) SHOULD try to maintain prefixes
   when serializing XML stanzas for processing, but receiving entities
   MUST NOT depend on the prefix strings to have any particular value
   (the allowance for the 'stream' prefix, described under
   Section 4.7.4, is an exception to this rule).

> Some additional explanation of SRV's resolving to "." meaning "don't
> use SRV" would help. Why is this mechanism there?

RFC 2782 states:

        A Target of "." means that the service is decidedly not
        available at this domain.

Thus I propose:

   3.  If a response is received, it will contain one or more
       combinations of a port and FDQN, each of which is weighted and
       prioritized as described in [DNS-SRV].  However, if the result of
       the SRV lookup is a single resource record with a Target of ".",
       i.e. the root domain, then the initiating entity MUST abort SRV
       processing at this point because according to [DNS-SRV] such a
       Target "means that the service is decidedly not available at this
       domain".

> In 4.2.5 - Please consider a little more explanation on why an
> initiating element might send stanzas to itself?

There are no compelling use cases for this functionality, but discussion
in the WG led to the conclusion that it could do no harm since the
entity is just communicating with itself (not sending stanzas to other
entities). One possible use case is sending a service discovery query to
the account's bare JID in order to discover what other devices are
connected before binding a resource. But, as I say, such use cases are
not exactly compelling.

> Please consider adding forward pointers from the keep-alive sections
> (such as 4.5.1) to the requirement to not send whitespace during TLS
> and SASL negotiation. (5.3.3, 6.3.5)

Done:

   One common method for checking the TCP connection is to send a space
   character (U+0020) between XML stanzas, which is allowed for XML
   streams as described under Section 11.7; the sending of such a space
   character is properly called a "whitespace keepalive" (the term
   "whitespace ping" is often used, despite the fact that it is not a
   ping since no "pong" is possible).  However, this is not allowed
   during TLS negotiation or SASL negotiation, as described under
   Section 5.3.3 and Section 6.3.5.

> In 4.8.3.9 - "not a valid JID" may be ambiguous - is it intended to
> include "not well formed"?

No, that refers to 'from' attributes that violate the rules for XMPP
addresses. Suggested change:

   The data provided in a 'from' attribute either violates the rules for
   XMPP addresses [XMPP-ADDR] or does not match an authorized JID or
   validated domain as negotiated (1) between two servers using SASL or
   Server Dialback, or (2) between a client and a server via
   authentication and resource binding.

> In 5.3.5 - what does "blindly attempt" mean? why is the requirement
> around it SHOULD NOT? When is it OK to blindly attempt?

That issue was raised by Elwyn Davies in his gen-art review. As a
result, I proposed change it to:

   The third case has improved security characteristics when the TLS
   client (which might be an XMPP server) presents credentials to the
   TLS server.  If communicating such credentials to an unauthenticated
   TLS server might leak private information, it can be appropriate to
   complete TLS negotiation for the purpose of authenticating the TLS
   server to the TLS client and then attempt TLS renegotiation for the
   purpose of authenticating the TLS client to the TLS server.  However,
   this case is extremely rare because the credentials presented by an
   XMPP server or XMPP client acting as a TLS client are almost always
   public (i.e., a PKIX certificate) and therefore providing those
   credentials before authenticating the XMPP server acting as a TLS
   server would not in general leak private information.

   As a result, implementers are encouraged to carefully weigh the costs
   and benefits of TLS renegotiation before supporting it in their
   software, and XMPP entities that act as TLS clients are discouraged
   from attempting TLS renegotiation unless the certificate (or other
   credential information) sent during TLS negotiation is known to be
   private.

> In 5.4.3.3 - the "Implementation Note:" actually contains a normative
> requirement defining protocol behavior. Similarly, 8.3.3.14 has a
> Security Note with normative requirements. I strongly suggest moving
> actual protocol requirements out of those notes.

Based on the gen-art review by Elwyn Davies, the normative text was
copied to Section 4.2.3 on stream restarts:

   On successful negotiation of a feature that necessitates a stream
   restart, both parties MUST consider the previous stream to be
   replaced but MUST NOT send a closing </stream> tag and MUST NOT
   terminate the underlying TCP connection; instead, the parties MUST
   reuse the existing connection, which might be in a new state (e.g.,
   encrypted as a result of TLS negotiation)....

Thus I think the text in Section 5.4.3.3 and Section 6.4.6 can be
modified as follows:

   3.  The initiating entity MUST send a new initial stream header to
       the receiving entity over the encrypted connection (as specified
       under Section 4.2.3, the initiating entity MUST NOT send a
       closing </stream> tag before sending the new initial stream
       header, since the receiving entity and initiating entity MUST
       consider the original stream to be replaced upon success of the
       TLS negotiation).

and:

   Upon receiving the <success/> element, the initiating entity MUST
   initiate a new stream over the existing TCP connection by sending a
   new initial stream header to the receiving entity (as specified under
   Section 4.2.3, the initiating entity MUST NOT send a closing
   </stream> tag before sending the new initial stream header, since the
   receiving entity and initiating entity MUST consider the original
   stream to be replaced upon success of the SASL negotiation).

As to the general policy, I think it's fine to have normative text in a
security note (warning, it's about security!), but not in an
implementation note.

Would it help to change "Security Note" to "Security Warning" so readers
will pay attention? I rather like that...

> In 6.3.8 - Can you provide a reference to where is the behavior for
> acting on the behalf of another party is specified?

Section 2 of RFC 4422. This is not widely used in any XMPP software that
I know of, but I think that a few clients do or will soon support it for
administrative purposes. I suggest the following modified text
(including topics that arose in the gen-art review):

   An authorization identity is an optional identity included by the
   initiating entity to specify an identity to act as (see Section 2 of
   [SASL]).  In client-to-server streams it would most likely be used by
   an administrator to perform some management task on behalf of another
   user, whereas in server-to-server streams it would most likely be
   used to specify a particular add-on application at an XMPP service
   (e.g., a multi-user chat server at conference.example.com that is
   hosted by the example.com XMPP service).  If the initiating entity
   wishes to act on behalf of another entity and the selected SASL
   mechanism supports transmission of an authorization identity, the
   initiating entity MUST provide an authorization identity during SASL
   negotiation.  If the initiating entity does not wish to act on behalf
   of another entity, it MUST NOT provide an authorization identity.

> In 6.4.6  - Can you add some text justifying why the entity SHOULD
> terminate the connection attempt if the from identity and the SASL
> authentication identity do not match, and why this is a SHOULD not a
> MUST?

This also came up in the gen-art review. Traditionally we haven't placed
great confidence in the 'from' attribute of the stream header, because
most clients have not included it and, more importantly, it can be
tampered with if the stream is not protected. In addition, XMPP servers
have not particularly cared if the client was confused about its
identity when it opened the stream, as long as it is able to
authenticate -- e.g., the server is allowed to override the client's JID
for several reasons (the client did not correctly specify Unicode
characters in the localpart, the server simply generates the JID based
on information provided in an end-user certificate, etc.). Perhaps the
following text explains matters more clearly:

   Before considering the SASL handshake to be a success, if the
   initiating entity provided a 'from' attribute on an initial stream
   header that whose confidentiality and integrity was ensured via TLS
   or an equivalent security layer then the receiving entity SHOULD
   correlate the authentication identity resulting from the SASL
   negotiation with that 'from' address; if the two identities do not
   match then the receiving entity SHOULD terminate the connection
   attempt (however, the receiving entity might have legitimate reasons
   not to terminate the connection attempt, for example because it has
   overridden a connecting client's address to correct the JID format or
   assign a JID based on information presented in an end-user
   certificate).

> In 8.3.3.15 : This section doesn't provide a way to protect against
> redirect loops (such as see-other-host did). Should it?

Good idea. I propose:

      Security Note: An application receiving a stanza-level redirect
      SHOULD warn a human user of the redirection attempt and request
      approval before proceeding to communicate 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.
      An application MAY have a policy of following redirects only if it
      has authenticated the receiving entity.  In addition, an
      application SHOULD abort the communication attempt after a certain
      number of successive redirects (e.g., at least 2 but no more than
      5).

> In 10.4.1 : should this "will" be a MUST?

I think it should be a SHOULD -- servers are allowed to use multiple
streams between themselves, and MUST would essentially forbid that.

> In 13.1 : has the group considered a "fail this stanze if it would go
> over a hop that isn't TLS protected" request extension?

The group is chartered to develop a solution for end-to-end encryption.
That should solve the problem pretty nicely. :)

But see also http://xmpp.org/extensions/xep-0219.html (not seriously
pursued, although there is occasional interest).

Thanks for the review.

Peter

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




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

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIA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