[Dime] Review of draft-ietf-dime-realm-based-redirect-02
Sebastien Decugis <sdecugis@nict.go.jp> Wed, 18 November 2009 03:43 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 95EBE28C0E3 for <dime@core3.amsl.com>; Tue, 17 Nov 2009 19:43:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.596
X-Spam-Level:
X-Spam-Status: No, score=0.596 tagged_above=-999 required=5 tests=[AWL=0.462, BAYES_05=-1.11, HELO_EQ_JP=1.244]
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 i3x5L25Qi4gJ for <dime@core3.amsl.com>; Tue, 17 Nov 2009 19:43:48 -0800 (PST)
Received: from ns1.nict.go.jp (ns1.nict.go.jp [IPv6:2001:2f8:29::2]) by core3.amsl.com (Postfix) with ESMTP id 1C8613A67AE for <dime@ietf.org>; Tue, 17 Nov 2009 19:43:47 -0800 (PST)
Received: from gw1.nict.go.jp (gw1 [133.243.18.250]) by ns1.nict.go.jp with ESMTP id nAI3hj3M020691 for <dime@ietf.org>; Wed, 18 Nov 2009 12:43:45 +0900 (JST)
Received: from gw1.nict.go.jp (localhost [127.0.0.1]) by gw1.nict.go.jp with ESMTP id nAI3hjIG001316 for <dime@ietf.org>; Wed, 18 Nov 2009 12:43:45 +0900 (JST)
Received: from mail3.nict.go.jp (mail.nict.go.jp [133.243.18.3]) by gw1.nict.go.jp with ESMTP id nAI3hjWt001312 for <dime@ietf.org>; Wed, 18 Nov 2009 12:43:45 +0900 (JST)
Received: from mail3.nict.go.jp (localhost [127.0.0.1]) by mail3.nict.go.jp (NICT Mail) with ESMTP id 184F115EF1 for <dime@ietf.org>; Wed, 18 Nov 2009 12:43:45 +0900 (JST)
Received: from [133.243.146.206] (5gou2f-dhcp46.nict.go.jp [133.243.146.206]) by mail3.nict.go.jp (NICT Mail) with ESMTP id EAF9515ED3 for <dime@ietf.org>; Wed, 18 Nov 2009 12:43:44 +0900 (JST)
Message-ID: <4B036D6A.4070202@nict.go.jp>
Date: Wed, 18 Nov 2009 12:43:38 +0900
From: Sebastien Decugis <sdecugis@nict.go.jp>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: "dime@ietf.org" <dime@ietf.org>
X-Enigmail-Version: 0.96.0
OpenPGP: id=33D9F61D
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: [Dime] Review of draft-ietf-dime-realm-based-redirect-02
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, 18 Nov 2009 03:43:49 -0000
Hello all, Here is my review for the realm-based redirect document. My main comment is about the new application Id, I think the document needs more clarification. I have several comments related to this point: - first of all, the advertisement of the application id is a "one hop" mechanism in Diameter, during CER/CEA exchange. It would be useful to clarify if we are limiting the realm-redirect to a single hop. My understanding of RFC3588 redirect is that it will go back to the source of the request, unless some relay interprets the content of the error message (since the E bit is set). I would have assumed the same for realm redirections, but I know some people advocated for a separate application id -- it is just that I don't really understand how it is used. - a corollary of the previous comment is that the document does not specify how the new Application Id is used. My understanding from the abstract is that we advertise the new application id during CER/CEA exchange, inside a Auth-Application-Id AVP (this is a wild guess from me). What happens if the other peer does not advertize the same application, are we still allowed to use the realm-based redirect mechanism ? Do we default to a host-based redirect? What if the peer advertized the relay application ? These questions should be answered by the document. Here is the remaining of my comments, mostly editorial, except for the usage part: In paragraph 2, I think "client" is not appropriate. What about "peer" instead ? In paragraph 3, I think the value of the error code will be allocated by IANA right ? (RFC3588 says IETF consensus, I am not sure what it means). I believe the text should simply contain something like "3xxx TBD". In paragraph 3.1.1, the Redirect-Max-Cache-Time AVP is told to indicate the "scope" and persistance of... but I don't understand the word "scope" here, maybe a remain from previous version ? In same paragraph, "the Result-Code AVP MUST include the Error-Reporting-Host AVP" is erroneous, since Result-Code is not a grouped AVP. I would rephrase to something like "The Error-Reporting-Host AVP must be included in the message along the Result-Code AVP... ". In paragraph 3.1.2, the redirect usage of ALL_REALM. I think this conflicts with the rationale for the document presented in the introduction, where an operator would stop providing a service. In that case, we would more likely need a redirect usage of REALM_AND_APPLICATION or even maybe ALL_APPLICATION, right? So that messages that belong to a different application are still routed to our servers. In paragraph 3.2, I believe the document should mention if several instances of the Redirect-Realm AVP can be present in the same message, and how this situation must be interpreted (probably the same as if several Redirect-Host are present, I would assume...) In paragraph 4, there is a small typo: "Because real-based..." should read "Because realm-based..." In paragraph 5, same comment as paragraph 3, I am not sure the document should already provide some values for the IANA managed registries... That's all I have :) Best regards, Sebastien. -- Sebastien Decugis Research fellow Network Architecture Group NICT (nict.go.jp)
- [Dime] Review of draft-ietf-dime-realm-based-redi… Sebastien Decugis
- Re: [Dime] Review of draft-ietf-dime-realm-based-… Tom Taylor
- [Dime] Review of draft-ietf-dime-realm-based-redi… jouni korhonen