[Dime] RFC3588bis; Result-Codes and AVP flags

jouni korhonen <jouni.nospam@gmail.com> Mon, 14 March 2011 09:57 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 2F6B13A6C58 for <dime@core3.amsl.com>; Mon, 14 Mar 2011 02:57:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 Mym3RFQZHerA for <dime@core3.amsl.com>; Mon, 14 Mar 2011 02:57:33 -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 71D583A6853 for <dime@ietf.org>; Mon, 14 Mar 2011 02:57:33 -0700 (PDT)
Received: by eye13 with SMTP id 13so1869935eye.31 for <dime@ietf.org>; Mon, 14 Mar 2011 02:58:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=unL4OUJaiygkjedtbKW7dLEykgn7qpJYMHagODnYq7c=; b=YMUFY9ywLGhfb5W0+2qIolyS5JRyTXYQRE8FZNU4p0gdg3DYXbKh02ZbJIKVS+5geJ K08BiosWKUiW8Xkj0QWR7e70f/1DaPhx7HWeY9MgIAVp6nP0q/sqY20VkNJYBk+h/f2K ThWnAu10xai2905vBSRYDs9Onta1IlhNt7/h8=
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=itYwUrI03nW63yavcfKM1L0INSVFLV4pS+8WB6KITfYGx1/kLJczOkfVedErWmltq1 b3qnynvToA1YbDWQshYZmAsf70iC+OsODHvKcRPWLAwM7J0W+NLSg9g4+saKKn788T4b 5AM3Sq32YbnZg82FwHPJW9LKK4FNnxQohUAa8=
Received: by 10.213.14.20 with SMTP id e20mr1252516eba.28.1300096736222; Mon, 14 Mar 2011 02:58:56 -0700 (PDT)
Received: from pc-a82194.wlan.inet.fi (pc-a82194.wlan.inet.fi [194.111.82.194]) by mx.google.com with ESMTPS id q53sm5769208eeh.10.2011.03.14.02.58.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Mar 2011 02:58:54 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1082)
Content-Type: text/plain; charset="us-ascii"
From: jouni korhonen <jouni.nospam@gmail.com>
In-Reply-To: <4D3F8796.1090100@nict.go.jp>
Date: Mon, 14 Mar 2011 11:58:49 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <D6B4881B-A60D-4938-8452-91E1D19C42F5@gmail.com>
References: <4D3F8796.1090100@nict.go.jp>
To: dime@ietf.org
X-Mailer: Apple Mail (2.1082)
Subject: [Dime] RFC3588bis; Result-Codes and AVP flags
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: Mon, 14 Mar 2011 09:57:35 -0000

Folks,

A couple of things still need to be clarified. I have the forthcoming -27 on my table, so..

1) What was the conclusion on this Result-Code mismatch? See mail from Sebastien that pointed this out:
http://www.ietf.org/mail-archive/web/dime/current/msg04616.html

Glen also rightfully pointed out that these changes cause changes in peer behavior. So, a) are people happy with the new categorization currently in RFC3588bis? Or b) should we go back to existing RFC3588 categorization regarding Result-Code values?? (note that the numbering of the values is wrong as there are overlaps with IANA registry but that is easily fixable)

Raise your opinion. If you prefer a) then also state how to handle the "deprecated" values.


2) Discussion on AVP flags. RFC3588bis-26 Section 4.1 says:

      The AVP Flags field informs the receiver how each attribute must
      be handled.  The 'r' (reserved) bits are unused and SHOULD be set
      to 0.  Note that subsequent Diameter applications MAY define
      additional bits within the AVP Header, and an unrecognized bit
      SHOULD be considered an error. 

See the discussion around here, which ended without a firm conclusion:
http://www.ietf.org/mail-archive/web/dime/current/msg04626.html

I would say we stay with the existing text. Any opinions against keeping the existing text? If yes, propose the new text.

- jouni



On Jan 26, 2011, at 4:31 AM, Sebastien Decugis wrote:

> Hello,
> 
> I just compared the Result-Code values described in rfc3588bis-26
> section 7.1.x with existing IANA registry, and found several
> differences, which are currently not reflected in the IANA
> Considerations section -- I believe someone is already working on this
> section (although I lost track of whom) so I thought I would write down
> the differences I found to help in this work -- I hope this is not
> redundant.
> 
> DIAMETER_COMMAND_UNSUPPORTED:
> - value 3001 in IANA registry,
> - value 5019 in 3588bis.
> 
> DIAMETER_INVALID_HDR_BITS:
> - value 3008 in IANA,
> - value 5020 in 3588bis
> - also,
> 
> DIAMETER_INVALID_AVP_BITS:
> - value 3009 in IANA,
> - value 5021 in rfc3588bis
> 
> DIAMETER_UNKNOWN_PEER:
> - value 3010 in IANA,
> - value 5018 in rfc3588bis (conflicts with IANA)
> 
> DIAMETER_INVALID_BIT_IN_HEADER:
> - 5013 in IANA,
> - 3011 in rfc3588bis
> - seems redundant with DIAMETER_INVALID_HDR_BITS.
> 
> DIAMETER_INVALID_MESSAGE_LENGTH:
> - value 5015 in IANA,
> - value 3012 in rfc3588bis
> 
> DIAMETER_INVALID_AVP_BIT_COMBO:
> - value 5016 in IANA
> - not defined in rfc3588bis
> - is it deprecated? it seems redundant with DIAMETER_INVALID_AVP_BITS
> anyway...
> 
> Hope this helps,
> Sebastien.
> 
> -- 
> Sebastien Decugis
> Research fellow
> Network Architecture Group
> NICT (nict.go.jp)
> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime