Re: [apps-discuss] I-D Action: draft-ietf-appsawg-rfc5451bis-04.txt

Alessandro Vesely <vesely@tana.it> Thu, 23 May 2013 07:51 UTC

Return-Path: <vesely@tana.it>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C84521F9702 for <apps-discuss@ietfa.amsl.com>; Thu, 23 May 2013 00:51:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.119
X-Spam-Level:
X-Spam-Status: No, score=-4.119 tagged_above=-999 required=5 tests=[AWL=0.600, BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 79eNFzct6vxp for <apps-discuss@ietfa.amsl.com>; Thu, 23 May 2013 00:50:58 -0700 (PDT)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226]) by ietfa.amsl.com (Postfix) with ESMTP id 01A3621F9700 for <apps-discuss@ietf.org>; Thu, 23 May 2013 00:50:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=beta; t=1369295455; bh=SYoyCxFg5tSC89qdvcaKEs5hdUnbUS2LvtkpPqTPZGg=; l=1440; h=Date:From:To:References:In-Reply-To; b=TvOtgTClvF0GaXCUI0Wf1jsw9voGCXNER7T5jPbtuHmTq6NzMnlS/tR5zD3SaQr3d mjQsqHqNwtPELTRO9c7lrX6JKbATNkTtr6Qvdgx3EVR/Qxi4E7lwBeAiz80/haD3y2 MIrY6QWAtAyS8qRZHmMKxxY+jeO+BOx4mQAb/Ngk=
Authentication-Results: tana.it; auth=pass (details omitted)
Received: from [172.25.197.156] (pcale.tana [172.25.197.156]) (AUTH: CRAM-MD5 uXDGrn@SYT0/k, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wmail.tana.it with ESMTPSA; Thu, 23 May 2013 09:50:55 +0200 id 00000000005DC039.00000000519DCA5F.0000143F
Message-ID: <519DCA5F.30207@tana.it>
Date: Thu, 23 May 2013 09:50:55 +0200
From: Alessandro Vesely <vesely@tana.it>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: apps-discuss@ietf.org
References: <20130513045342.14228.40090.idtracker@ietfa.amsl.com> <1675160.H9MT8MA6B2@scott-latitude-e6320>
In-Reply-To: <1675160.H9MT8MA6B2@scott-latitude-e6320>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: Re: [apps-discuss] I-D Action: draft-ietf-appsawg-rfc5451bis-04.txt
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 May 2013 07:51:03 -0000

On Sat 18/May/2013 00:22:47 +0200 Scott Kitterman wrote:
> 
> I believe the change from:
> 
> authres-header = "Authentication-Results:" [CFWS] authserv-id
> 	[ CFWS version ]

Note that in bis-04 it is:

 authres-header = "Authentication-Results:" [CFWS] authserv-id
        [ [CFWS] authres-version ]

The optional space allows:

   Authentication-Results: example.org1; none

> to:
> 
> authres-header = "Authentication-Results:" [CFWS] authserv-id	
> 	[ [CFWS] "/" [CFWS] authres-version ]
> 
> is an incompatible change and if you really want to make it, you should bump 
> the version number.  I checked and with authres, your example is mis-parsed.
> 
> 	Authentication-Results: example.org/1; none
> 
> In this example, the authserv-id is "example.org", but authres, using the RFC 
> 5451 ABNF parses this and determines the authserv-id is "example.org/1"
> 
> If you want to make this change, I think it needs to be version 2 because an 
> existing version 1 parser can't parse the header field anymore.

STD 68 specifies how to define a formal syntax, but that doesn't have
to be a first-order syntax, so its parseability can depend on the
semantics.  The ABNF rules defined in the I-D don't lend themselves to
automated generation of lexical analyzers:  In order to parse the
identifier and understand which ADMD it refers to, it is necessary to
adhere to some naming convention, which is purposely left unspecified.