Re: [Dime] Diameter Group: Type?

Sebastien Decugis <sdecugis@nict.go.jp> Tue, 08 February 2011 02:00 UTC

Return-Path: <sdecugis@nict.go.jp>
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 D2B6E3A6FFB for <dime@core3.amsl.com>; Mon, 7 Feb 2011 18:00:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level:
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35]
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 6rkP8qdTr+7A for <dime@core3.amsl.com>; Mon, 7 Feb 2011 18:00:39 -0800 (PST)
Received: from sd-22293.dedibox.fr (sd-22293.dedibox.fr [88.191.125.50]) by core3.amsl.com (Postfix) with ESMTP id DCD283A6FFA for <dime@ietf.org>; Mon, 7 Feb 2011 18:00:38 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by sd-22293.dedibox.fr (Postfix) with ESMTP id 189A394951 for <dime@ietf.org>; Tue, 8 Feb 2011 03:00:25 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at sd-22293.dedibox.fr
Received: from sd-22293.dedibox.fr ([127.0.0.1]) by localhost (sd-22293.dedibox.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dka8gZMIZ0iu for <dime@ietf.org>; Tue, 8 Feb 2011 03:00:22 +0100 (CET)
Received: from [202.249.37.5] (morbier.koganei.wide.ad.jp [202.249.37.5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by sd-22293.dedibox.fr (Postfix) with ESMTPSA id 6BF1E948E8 for <dime@ietf.org>; Tue, 8 Feb 2011 03:00:21 +0100 (CET)
Message-ID: <4D50A3C3.50809@nict.go.jp>
Date: Tue, 08 Feb 2011 11:00:35 +0900
From: Sebastien Decugis <sdecugis@nict.go.jp>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: dime@ietf.org
References: <3EB9A6A055A0A74D816B7BA703D4054101A8963DCF@ILHODMAIL1.corp.amdocs.com> <AANLkTin1r1hJsOusMyYcfo-0efNdsJVQNSp1j3o0E=by@mail.gmail.com> <015c01cbbf79$f7338d50$e59aa7f0$@net> <AANLkTim3mM0xN3ffe_EGwyTUrw2cSD6_LcBuh4qFFC3w@mail.gmail.com>
In-Reply-To: <AANLkTim3mM0xN3ffe_EGwyTUrw2cSD6_LcBuh4qFFC3w@mail.gmail.com>
X-Enigmail-Version: 1.1.1
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Subject: Re: [Dime] Diameter Group: Type?
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, 08 Feb 2011 02:00:40 -0000

> What do others think?
Hi,

I would go in favor of "be tolerant in what you accept and restrictive
in what you send" in the base Protocol.
Then, the way new flags are actually defined / used can be either left
for future extensions of the base protocol (although I am not in favor
of the Grouped flag) or left for applications to define their own needs
(meaning that only AVP with the 'V' flag would be tolerated to have
another flag, which is quite strange to me).
In any case, it seems a bad idea to mix the two approachs for flags
definitions (future Base extensions + applications) because it may lead
to conflicts.

I agree that applications will probably not use the AVP flags field,
when it is so easy to add a different AVP with the information one wants
to convey -- but there might be use cases that I am missing here, if
someone can explain where it can be useful, it would be helpful.

If no application / vendor has ever defined use for another AVP flag,
I'd be in favor of changing the text in rfc3588bis to align with the
general IETF policy (which makes more sense for future evolution).
Otherwise, I guess this change can only be applied when the version
number of Diameter will be increased to 2, meaning a future revision
somewhere after rfc3588bis.

As a point of data, in the freeDiameter implementation the unknown flags
in AVPs are not rejected, although the format of the dictionary
definitions allows to change this easily if needed.

Best regards,
Sebastien.

-- 
Sebastien Decugis
Research fellow
Network Architecture Group
NICT (nict.go.jp)