Re: [Dime] last review of RFC3588bis before the proto write-up - please comment

jouni korhonen <jouni.nospam@gmail.com> Thu, 29 July 2010 15:51 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: dime@core3.amsl.com
Delivered-To: dime@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8143228C172 for <dime@core3.amsl.com>; Thu, 29 Jul 2010 08:51:49 -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 9NtHGtxASqIB for <dime@core3.amsl.com>; Thu, 29 Jul 2010 08:51:46 -0700 (PDT)
Received: from mail-ey0-f172.google.com (mail-ey0-f172.google.com [209.85.215.172]) by core3.amsl.com (Postfix) with ESMTP id 696AF3A679F for <dime@ietf.org>; Thu, 29 Jul 2010 08:51:46 -0700 (PDT)
Received: by eyb7 with SMTP id 7so229142eyb.31 for <dime@ietf.org>; Thu, 29 Jul 2010 08:52:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=z2F3BzPyXQZQd3HR+V9frsJGPknkbiKeoDqWXd5skyk=; b=QBPRNixd1wyFN9/tl4pcT+Qs4Qk50Qpt1eyT87r7WZNV03zsq6CLC0wUYLdSKVjypb Te3DEUzLXwRuxTvFMpumwyJx3XWRGYCaVnC5moRULUAX0XRkO0UJ/RAQJey/m9rNKmKQ DzZs9NX+yEkFYeX6IUR2c+S31uNlm2rwdY1Ww=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=mapAKQyeSPLnFxzxE9z6mjcFFeNT9rrInQPjWwn41JvduCFBa7piAVUatY0z715wfZ pnEWXbD5ANwZJ9eVYt9XHrKT7+E2trxFodorqU7ZVfRAf5ey50KxEJBdA/Dni19pZ/5G mTlQbzq/yxgR8sdCSsRgjtgGvz+yykszdNKV8=
Received: by 10.213.4.81 with SMTP id 17mr6208764ebq.97.1280418729782; Thu, 29 Jul 2010 08:52:09 -0700 (PDT)
Received: from dhcp-67f0.meeting.ietf.org (dhcp-67f0.meeting.ietf.org [130.129.103.240]) by mx.google.com with ESMTPS id v8sm1447077eeh.2.2010.07.29.08.52.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 29 Jul 2010 08:52:08 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1078)
Content-Type: text/plain; charset="us-ascii"
From: jouni korhonen <jouni.nospam@gmail.com>
In-Reply-To: <AANLkTime8h7MheAgPn09vLf7UK1NAIrzC7bKJg0520X9@mail.gmail.com>
Date: Thu, 29 Jul 2010 18:51:57 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <36827A5B-B697-41D7-BAA3-D9D79650B447@gmail.com>
References: <92BBD1AA-5740-4057-85C7-66D16018FCA5@gmail.com> <AANLkTime8h7MheAgPn09vLf7UK1NAIrzC7bKJg0520X9@mail.gmail.com>
To: Mark Jones <mark@azu.ca>
X-Mailer: Apple Mail (2.1078)
Cc: dime@ietf.org
Subject: Re: [Dime] last review of RFC3588bis before the proto write-up - please comment
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dime>
List-Post: <mailto:dime@ietf.org>
List-Help: <mailto:dime-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dime>, <mailto:dime-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Jul 2010 15:51:49 -0000

Hi Mark,

Thanks for the quick reply. Read below..


On Jul 27, 2010, at 9:36 PM, Mark Jones wrote:

> Hi Jouni,
> 
> I agree with your proposed editorial changes. See inline for my
> comments on the ABNF issues.

Ack.


> 
> On Wed, Jul 21, 2010 at 8:42 AM, jouni korhonen <jouni.nospam@gmail.com> wrote:
>> For the following I must to hear comments _before_ I proceed with the completion of the Proto Write-up:
>> 
>> o RFC3588bis keeps version as 1 so a RFC3588 node does not really know if it is
>>  connecting with another RFC3588 or RFC3588bis node, or vice versa.
>> In Sections
>>  5.4.1, 5.4.2, 5.5.1, 5.5.2, and 7.2 we actually _change_ the existing command
>>  ABNFs that are more than just adding optional AVPs or sending less AVPs than
>>  before (for example adding *[AVP] to a request, which means the receiver may
>>  see AVPs that are beyond the ABNF it knows). According to the RFC3588bis
>>  Section 1.3.3 this could mean an allocation of a new command code, which again
>>  would require an allocation of a new application id for applications using the
>>  new command.. This would impact backwards compatibility with RFC3588.
>> 
> 
> Sections 5.4.1, 5.4.2, 5.5.1 and 5.5.2 added *[ AVP ] to
> DPR/DPA/DWR/DWA respectively. This was presumably added for
> consistency with the ABNF for other base protocol commands. I view the
> change as editorial because RFC3588 also says:
> 
>  "An implementation MAY add arbitrary non-mandatory AVPs to any command
>  defined in an application, including vendor-specific AVPs without
>  needing to define a new application."
> 
> Although this text was reworked in 3588bis, an implementation strictly
> coded to RFC3588 is not going to barf a 5008 if these commands do
> contain extra "non-mandatory" AVPs.

Personally I tend to agree. Some implementations I know just ignore excess AVPs outside ABFN with M=0, and continue processing the command like nothing happened. I.e. the assumed behavior from Section 1.2.3 quoted above..  

> There is no reason to exclude *[AVP] from these commands and the
> omission from the ABNF was probably an oversight. I suspect it would
> have been approved if raised as an Errata on RFC3588.
> 
> Section 7.2 adds two optional AVPs to an ABNF that already had *[ AVP
> ] so the new format would not result in 5008 or 5009. The Failed-AVP

Ok.

> AVP has the M-bit set but RFC3588 was sufficiently vague on whether
> mandatory meant presence or comprehension that a 5008 is unlikely.
> Given the descriptions of the missing AVPs, I think these are clearly
> oversights and they would have been approved as Errata.

Right. Actually when reading Section 7 onwards then remaining text makes it quite clear that Failed-AVP is part of the error. Following that I would also add [Experimental-Result] to the Section 7.2 ABNF (as that AVP also has M=1).
> 
>>  Can we expect then receiving errors like 5008 and 5009 when the other end is
>>  fully RFC3588 compliant and the other is RFC3588bis compliant? Is this unlikely
>>  to happen?
> 
> No and no. Silence from the other stack implementers obviously means
> they agree. ;)

Right, hearing more opinions wouldn't make harm though.

> 
>> Can a change to AVP multiplicity in ABNF considered such ABNF change
>> that requires a new command code?
> 
> It is tough to generalize; Did the ABNF contradict normative text?
> 
> I think of 3588bis as a collection of Errata. There were several
> places in RFC3588 where ambiguity could create interop issues. When
> we've hit those, we've been able to consult (and refer partners to)
> 3588bis in much the same way as we'd consult Errata.

Ok.


- Jouni


> 
> Regards
> Mark
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime