Re: [Dime] RFC 3588 - fixed positioned session-ID AVPs

Victor Fajardo <vf0213@gmail.com> Tue, 31 August 2010 15:51 UTC

Return-Path: <vf0213@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 72F293A6846 for <dime@core3.amsl.com>; Tue, 31 Aug 2010 08:51:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SZ6GGcoaiiVf for <dime@core3.amsl.com>; Tue, 31 Aug 2010 08:51:40 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id C8B5D3A690F for <dime@ietf.org>; Tue, 31 Aug 2010 08:51:39 -0700 (PDT)
Received: by wyi11 with SMTP id 11so8558797wyi.31 for <dime@ietf.org>; Tue, 31 Aug 2010 08:52:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=LPpNVd8xkdw5ZK+kgG0AA7qpFaOQ2TTQnL2D5kNL+MY=; b=IAU28jUSgFrauMyTdK1nbnpbQ+TPqR3zaSkDTBFPG1kn8xefm9DQHeQP1AxAgS+OsK E+B01AQdbgdKlGF9cimrrd8nm6hJNrDvFsKKPjvnSB3THSZlKRYQillJYzSf69nThl7Z XzIAhmzxcoFQuudPklfxljzGBK6OgdDQqnr1U=
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=bU/oKr5XZ8gfdQb3cYve885f/asR2K58uU8YV8/XgNgoGovTC9PS9MaY2HdjaGXz2U kZBCgwVGQJOwWQXAtu5zIOeCeomRq6HEVuEQyV2JSHiiRvvYuJv9EL+/e5k3YqGBcyhu ZXDLA5jCZXxmtcas5gyYkmEnDMqmgHfD+LXCY=
MIME-Version: 1.0
Received: by 10.227.145.69 with SMTP id c5mr6228706wbv.168.1283269929588; Tue, 31 Aug 2010 08:52:09 -0700 (PDT)
Received: by 10.216.58.130 with HTTP; Tue, 31 Aug 2010 08:52:09 -0700 (PDT)
In-Reply-To: <A51D8ACD861B7E41BFC7FE5C64BE96481167B0F7@MTLEXVS01.ulticom.com>
References: <A51D8ACD861B7E41BFC7FE5C64BE96481167B0F1@MTLEXVS01.ulticom.com> <009f01cb4913$e76b5b50$b64211f0$@net> <A51D8ACD861B7E41BFC7FE5C64BE96481167B0F7@MTLEXVS01.ulticom.com>
Date: Tue, 31 Aug 2010 11:52:09 -0400
Message-ID: <AANLkTi=GiPLzuAnLqwRe7sPGMJoRE+LTzBFdZgdCffnZ@mail.gmail.com>
From: Victor Fajardo <vf0213@gmail.com>
To: David Lehmann <dlehmann@ulticom.com>
Content-Type: multipart/alternative; boundary="001636833d464de2a1048f20904b"
Cc: dime@ietf.org
Subject: Re: [Dime] RFC 3588 - fixed positioned session-ID AVPs
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: Tue, 31 Aug 2010 15:51:41 -0000

Hi David,

On Tue, Aug 31, 2010 at 10:37 AM, David Lehmann <dlehmann@ulticom.com>wrote:

>  Glen,
>
>
>
> That is not what the spec says.  At least, the wording is not clear and,
> IMHO, is misleading.  In which “*some* message” can the session-id AVP be
> in any position?
>
>
>
> It seems to me that the wording in section 8.8 should be:  “When present,
> the Session-Id MUST appear immediately following the Diameter Header (see
> Section 3).”
>

As Glen has mentioned, the BNF dictates the positioning of the AVP. If you
add this text you are adding new rules beyond the BNF.

regards,
victor




>
>
> --
>
> *David Lehmann*
>
> Ulticom, Inc.
>
> 856-787-2952
>
>
>
> *From:* Glen Zorn [mailto:gwz@net-zen.net]
> *Sent:* Tuesday, August 31, 2010 9:54 AM
> *To:* David Lehmann
> *Cc:* dime@ietf.org
> *Subject:* RE: [Dime] RFC 3588 - fixed positioned session-ID AVPs
>
>
>
> David Lehmann [mailto://dlehmann@ulticom.com] <[mailto://dlehmann@ulticom.com%5d> writes:
>
> Hello,
>
> Hello.
>
> In RFC 3588 (and 3588bis), messages with session IDs are defined with the session ID AVPs with a fixed position which is immediately following the header. (e.g. section 8.3.1)
>
> Yes.
>
> However, this is in contradiction with section 8.8 which states, “When present, the Session-Id SHOULD appear immediately following the Diameter Header (see Section 3).”
>
> No.
>
> By using “SHOULD”, the spec is stating that the session-ID AVP could be in any position in the message.
>
> No, it is stating that the AVP could be in any position in *some*message.  The syntax of the existing messages in RFC 3588 is defined by the
> associated BNF and in *those* messages the Session-Id AVP *must*immediately follow the Diameter header.
>
>
>
>
>
> Hope this helps.
>
>
>
>  ~gwz
>
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime
>
>