Re: [xmpp] I-D Action: draft-ietf-xmpp-6122bis-13.txt

Jonathan Lennox <jonathan@vidyo.com> Thu, 11 September 2014 16:04 UTC

Return-Path: <jonathan@vidyo.com>
X-Original-To: xmpp@ietfa.amsl.com
Delivered-To: xmpp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E7B51A6FDD for <xmpp@ietfa.amsl.com>; Thu, 11 Sep 2014 09:04:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.131
X-Spam-Level:
X-Spam-Status: No, score=-1.131 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pv8d5nD44k6b for <xmpp@ietfa.amsl.com>; Thu, 11 Sep 2014 09:04:35 -0700 (PDT)
Received: from server209.appriver.com (server209i.appriver.com [8.31.233.124]) (using TLSv1 with cipher DES-CBC3-SHA (112/168 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 988671A0410 for <xmpp@ietf.org>; Thu, 11 Sep 2014 09:04:35 -0700 (PDT)
X-Note-AR-ScanTimeLocal: 9/11/2014 12:04:34 PM
X-Policy: GLOBAL - vidyo.com
X-Policy: GLOBAL - vidyo.com
X-Primary: jonathan@vidyo.com
X-Note: This Email was scanned by AppRiver SecureTide
X-Virus-Scan: V-
X-Note-SnifferID: 0
X-Note: TCH-CT/SI:0-86/SG:2 9/11/2014 12:03:49 PM
X-GBUdb-Analysis: 0, 67.231.149.202, Ugly c=0.798526 p=-0.96464 Source White
X-Signature-Violations: 0-0-0-5032-c
X-Note-419: 15.626 ms. Fail:0 Chk:1336 of 1336 total
X-Note: SCH-CT/SI:0-1336/SG:1 9/11/2014 12:04:15 PM
X-Note: Spam Tests Failed:
X-Country-Path: ->UNITED STATES->LOCAL->UNITED STATES->
X-Note-Sending-IP: 67.231.149.202
X-Note-Reverse-DNS: mx0a-00198e01.pphosted.com
X-Note-Return-Path: jonathan@vidyo.com
X-Note: User Rule Hits:
X-Note: Global Rule Hits: G342 G343 G344 G345 G349 G350 G461
X-Note: Encrypt Rule Hits:
X-Note: Mail Class: VALID
X-Note: Headers Injected
Received: from [67.231.149.202] (HELO mx0a-00198e01.pphosted.com) by server209.appriver.com (CommuniGate Pro SMTP 6.0.2) with ESMTP id 10354213; Thu, 11 Sep 2014 12:04:34 -0400
Received: from pps.filterd (m0073109.ppops.net [127.0.0.1]) by mx0a-00198e01.pphosted.com (8.14.7/8.14.7) with SMTP id s8BG1Pmg029215; Thu, 11 Sep 2014 12:04:33 -0400
Received: from mail.vidyo.com ([162.209.16.214]) by mx0a-00198e01.pphosted.com with ESMTP id 1p7gdwamkr-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK); Thu, 11 Sep 2014 12:04:33 -0400
Received: from 492132-EXCH1.vidyo.com ([fe80::50:56ff:fe85:4f77]) by 492133-EXCH2.vidyo.com ([fe80::50:56ff:fe85:6b62%13]) with mapi id 14.03.0195.001; Thu, 11 Sep 2014 11:04:32 -0500
From: Jonathan Lennox <jonathan@vidyo.com>
To: Peter Saint-Andre <stpeter@stpeter.im>
Thread-Topic: [xmpp] I-D Action: draft-ietf-xmpp-6122bis-13.txt
Thread-Index: AQHPzdDSdHMnnq3MUUacjbjEeLeNKJv8bFUA
Date: Thu, 11 Sep 2014 16:04:32 +0000
Message-ID: <485F18B0-852F-473E-A6D0-940E1B5EBE97@vidyo.com>
References: <20140911015217.14982.19406.idtracker@ietfa.amsl.com> <54110188.7070202@stpeter.im>
In-Reply-To: <54110188.7070202@stpeter.im>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [160.79.219.114]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <A90195406108D9459AA699BB4DA59B9E@vidyo.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.28, 0.0.0000 definitions=2014-09-11_06:2014-09-11,2014-09-11,1970-01-01 signatures=0
X-Proofpoint-Spam-Details: rule=audit_notspam policy=audit score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1409110131
Archived-At: http://mailarchive.ietf.org/arch/msg/xmpp/M8xktT1yAQpKStck1c5XdR0freg
Cc: "xmpp@ietf.org" <xmpp@ietf.org>
Subject: Re: [xmpp] I-D Action: draft-ietf-xmpp-6122bis-13.txt
X-BeenThere: xmpp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: XMPP Working Group <xmpp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/xmpp>, <mailto:xmpp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/xmpp/>
List-Post: <mailto:xmpp@ietf.org>
List-Help: <mailto:xmpp-request@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 Sep 2014 16:04:37 -0000

On Sep 10, 2014, at 9:57 PM, Peter Saint-Andre <stpeter@stpeter.im> wrote:

> Changes to address feedback from Joe and Florian.
> 
> Please review carefully, because some of the changes are subtle or provisional - more feedback would be very helpful.

I think the separation of preparation, enforcement, and comparison is very helpful, but I don’t think the description of enforcement is very clear yet — it seems to mix together normalization and validity checking, without a clear discussion of which rules are which.

For example: as far as I can tell, the intention from all discussions is that StPeter@example.com is a valid JID, which a server should normalize and process as stpeter@example.com, but “StPeter"@example.com is not, and should be rejected with <jid-malformed/>.  But I don’t see how you can deduce this from the document’s current description of “Enforcement” — both the case mapping and the list of invalid characters are specified as “MUST” requirements.

The “Preparation” stage also doesn’t seem to require that JIDs that are transmitted actually be considered valid by the enforcement stage, which seems like a recipe for interop failure.

6122’s language was "A localpart MUST be formatted such that the Nodeprep profile of [STRINGPREP] can be applied without failing” (and similarly for the other JID parts).  Can language something like this (mutis mutandis for Precis rather than Stringprep) be used, once Enforcement is clear about what is or isn’t considered failure?