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

"Glen Zorn" <gwz@net-zen.net> Wed, 01 September 2010 02:54 UTC

Return-Path: <gwz@net-zen.net>
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 B2A0D3A6358 for <dime@core3.amsl.com>; Tue, 31 Aug 2010 19:54:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.093
X-Spam-Level:
X-Spam-Status: No, score=-102.093 tagged_above=-999 required=5 tests=[AWL=0.505, BAYES_00=-2.599, HTML_MESSAGE=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 VuKfxTdGsGet for <dime@core3.amsl.com>; Tue, 31 Aug 2010 19:54:50 -0700 (PDT)
Received: from p3plsmtpa01-01.prod.phx3.secureserver.net (p3plsmtpa01-01.prod.phx3.secureserver.net [72.167.82.81]) by core3.amsl.com (Postfix) with SMTP id D8A643A63EC for <dime@ietf.org>; Tue, 31 Aug 2010 19:54:49 -0700 (PDT)
Received: (qmail 16235 invoked from network); 1 Sep 2010 02:55:19 -0000
Received: from unknown (124.157.141.122) by p3plsmtpa01-01.prod.phx3.secureserver.net (72.167.82.81) with ESMTP; 01 Sep 2010 02:55:18 -0000
From: Glen Zorn <gwz@net-zen.net>
To: 'David Lehmann' <dlehmann@ulticom.com>
References: <A51D8ACD861B7E41BFC7FE5C64BE96481167B0F1@MTLEXVS01.ulticom.com> <009f01cb4913$e76b5b50$b64211f0$@net> <A51D8ACD861B7E41BFC7FE5C64BE96481167B0F7@MTLEXVS01.ulticom.com>
In-Reply-To: <A51D8ACD861B7E41BFC7FE5C64BE96481167B0F7@MTLEXVS01.ulticom.com>
Date: Wed, 01 Sep 2010 09:54:49 +0700
Organization: Network Zen
Message-ID: <000b01cb4981$0cbd9130$2638b390$@net>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01CB49BB.B91C6930"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: ActJDhHpu5bXx/dWT/OYD3e13pPP3QABIG/wAAF5JwAAGdiacA==
Content-Language: en-us
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: Wed, 01 Sep 2010 02:54:54 -0000

David Lehmann [mailto:dlehmann@ulticom.com] writes:
Glen,

 

That is not what the spec says.  

Actually, it's exactly what the spec says; please revisit RFC 2119 for the
definition of the key word "SHOULD".

At least, the wording is not clear and, IMHO, is misleading.  In which "some
message" can the session-id AVP be in any position?

Sorry, maybe I was unclear.  Let me try again: the definition of the
Session-Id AVP does not preclude the definition of a Diameter message in
which the Session-Id AVP does not immediately follow the Diameter header;
that (AFAIK) no such message currently exists is irrelevant.

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

Why unnecessarily constrain the reuse of the AVP?

--

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:[mailto://dlehmann@ulticom.com%5d>
[mailto://dlehmann@ulticom.com] 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