Re: [Dime] [Technical Errata Reported] RFC6733 (4462)

Jouni Korhonen <jouni.nospam@gmail.com> Tue, 15 September 2015 21:25 UTC

Return-Path: <jouni.nospam@gmail.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B6F81B2A03 for <dime@ietfa.amsl.com>; Tue, 15 Sep 2015 14:25:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.427
X-Spam-Level:
X-Spam-Status: No, score=-1.427 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001, URG_BIZ=0.573] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X2ybh1oLEKth for <dime@ietfa.amsl.com>; Tue, 15 Sep 2015 14:25:50 -0700 (PDT)
Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 37C631B29C4 for <dime@ietf.org>; Tue, 15 Sep 2015 14:25:50 -0700 (PDT)
Received: by pacfv12 with SMTP id fv12so190779217pac.2 for <dime@ietf.org>; Tue, 15 Sep 2015 14:25:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=1112mUHoYCjz5SFBf7BMW/cmrm55BjcsFwCw3j/Nx38=; b=Q8YCwTRvMXBqUTgXkBJV0LzcAstyOsrKJ8WEYCIhHdw8CLB2AYOKhPdUbk9quRiCAY ngFP3TTM9EkYt6QOIYBh9L4qXC86588YG0heZ8JUwoU20LE/qjlFeEI9zP/uVLTPxJPv rVI5yOZQoZLJW6y6IbXaMa9oDIE5gYYrDlH69gqawHL4xpFSLdjk8zbYF5R9jP1o162+ 0S5NWfnrrZDyrONb+wWtsGgRtBV5GJVtBvRYGMYKJt8rhujoluNMyj4b862Jdfg8jwYm ttQvODwDENF9J5n9SGZ/D9gKKj2xe0oTxXYH1Id7moHLZjCInIYZbJDES4kBI/gZnkHN tt0w==
X-Received: by 10.68.99.197 with SMTP id es5mr51388054pbb.112.1442352349842; Tue, 15 Sep 2015 14:25:49 -0700 (PDT)
Received: from ?IPv6:2601:647:4204:228b:7cae:10f7:3319:53f8? ([2601:647:4204:228b:7cae:10f7:3319:53f8]) by smtp.googlemail.com with ESMTPSA id df2sm23901545pad.19.2015.09.15.14.25.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 14:25:48 -0700 (PDT)
To: Keshab Upadhya <keshab@smsgt.com>, lionel.morand@orange.com, 'RFC Errata System' <rfc-editor@rfc-editor.org>, vf0213@gmail.com, jari.arkko@ericsson.com, john.loughney@nokia.com, glenzorn@gmail.com, bclaise@cisco.com, joelja@bogus.com
References: <20150902010923.059A2180474@rfc-editor.org> <00fc01d0eb78$69cdeb10$3d69c130$@smsgt.com> <29295_1441898081_55F19E61_29295_1538_5_6B7134B31289DC4FAF731D844122B36E01D1A7A5@OPEXCLILM43.corporate.adroot.infra.ftgroup> <006301d0eebc$c2dc1550$48943ff0$@smsgt.com>
From: Jouni Korhonen <jouni.nospam@gmail.com>
Message-ID: <55F88CDA.4080801@gmail.com>
Date: Tue, 15 Sep 2015 14:25:46 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
In-Reply-To: <006301d0eebc$c2dc1550$48943ff0$@smsgt.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/dime/V-46ntOhhDlcRJ2KvqW8z_ITnnA>
X-Mailman-Approved-At: Tue, 15 Sep 2015 15:56:42 -0700
Cc: dime@ietf.org
Subject: Re: [Dime] [Technical Errata Reported] RFC6733 (4462)
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Diameter Maintanence and Extentions Working Group <dime.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dime>, <mailto:dime-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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, 15 Sep 2015 21:25:52 -0000

The proposed correction does not seem right. For routing to work all 
nodes within a realm must be peer, which in this case does not seem to 
hold. I would just return an error.

- Jouni





9/14/2015, 12:12 AM, Keshab Upadhya kirjoitti:
> Hi Lionel,
>
> Thank you for valuable feedback.
>
> I believe your understanding is inline and primarily what you've
> summarized below clarifies objectively, thank you.
>
> Confusion with below statement of 6.1.6, paragraph 2:
>
> "When a request is received that includes a *_realm_* and/or
> *_application_* that is *_not_* locally supported, the message is routed
> to the peer configured in the routing table (see Section 2.7)."
>
> As per above statement if realm is present and if application is not
> locally supported then below action will be taken place.
>
> “---- if not, route the request based on Realm/application (section 6.1.6)”
>
> What will happen if towards a server peer node where hostname is
> incorrect and application id with realm locally supported?
>
> Understanding from RFC - If we go with 6.1.4, such message shouldn’t be
> processed locally but if we go with 6.1.6 message looks like should be
> processed locally based on above given underlined statement, defines
> contradiction of 6.1.4 & 6.1.6.
>
> After giving a second though on specs in section 6.1.4, if following
> altered–
>
> *_Original -_*
>
> 6.1.4.  Processing Local Requests
>
>     A request is known to be for local consumption when one of the
>
>     following conditions occurs:
>
>     o  The Destination-Host AVP contains the local host's identity;
>
>     o *The Destination-Host AVP is not present, the Destination-Realm AVP*
>
> *      contains a realm the server is configured to process locally, and*
>
> *     the Diameter application is locally supported; or*
>
>     o  Both the Destination-Host and the Destination-Realm are not
>
>        present
>
> *_Altered -_*
>
> 6.1.4.  Processing Local Requests
>
>     A request is known to be for local consumption when one of the
>
>     following conditions occurs:
>
>     o  The Destination-Host AVP contains the local host's identity;
>
>     o *The Destination-Host AVP is not present _in local peer routing
> table_, the Destination-Realm AVP*
>
> *      contains a realm the server is configured to process locally, and*
>
> *     the Diameter application is locally supported; or*
>
>     o  Both the Destination-Host and the Destination-Realm are not
>
>        present
>
> It will eliminate the contradiction.
>
> Please help enlighten us on this.
>
> Thank you,
>
> Keshab.
>
> -----Original Message-----
> From: lionel.morand@orange.com [mailto:lionel.morand@orange.com]
> Sent: Thursday, September 10, 2015 11:15 PM
> To: Keshab Upadhya; 'RFC Errata System'; vf0213@gmail.com;
> jari.arkko@ericsson.com; john.loughney@nokia.com; glenzorn@gmail.com;
> bclaise@cisco.com; joelja@bogus.com; jouni.nospam@gmail.com
> Cc: dime@ietf.org
> Subject: RE: [Technical Errata Reported] RFC6733 (4462)
>
> Hi Keshab,
>
> I'm not totally sure to understand your concern.
>
> The purpose of the section 6.1.4 is to give the conditions for
> processing locally a request (i.e. how to know that the receiving entity
> is the one that needs to answer to the request?) and nothing else.
>
> The case you are referring to is covered in the section 6.1.6 and should
> not be part of section 6.1.4.
>
> To make a long story short...
>
> if the Destination-Host is present,
>
> - if the identity is equal to the local host's identity --> process
> locally (section 6.1.4)
>
> - if the identity is not equal to the local host's identity, check the
> peer table.
>
> ---- If it is the peer table, forward the request to the peer (sect 6.1.5)
>
> ---- if not, route the request based on Realm/application (section 6.1.6)
>
> Let me know if it is OK for you.
>
> Lionel
>
> -----Message d'origine-----
>
> De : Keshab Upadhya [mailto:keshab@smsgt.com] Envoyé : jeudi 10
> septembre 2015 05:26 À : 'RFC Errata System'; vf0213@gmail.com
> <mailto:vf0213@gmail.com>; jari.arkko@ericsson.com
> <mailto:jari.arkko@ericsson.com>; john.loughney@nokia.com
> <mailto:john.loughney@nokia.com>; glenzorn@gmail.com
> <mailto:glenzorn@gmail.com>; bclaise@cisco.com
> <mailto:bclaise@cisco.com>; joelja@bogus.com <mailto:joelja@bogus.com>;
> jouni.nospam@gmail.com <mailto:jouni.nospam@gmail.com>; MORAND Lionel
> IMT/OLN Cc : dime@ietf.org <mailto:dime@ietf.org> Objet : RE: [Technical
> Errata Reported] RFC6733 (4462)
>
> Hi All,
>
> Good day!
>
> Could you please help on below request raised as conflict in RFC-6733?
>
> Kindly consider this as an urgent request.
>
> Thank you,
>
> Regards,
>
> Keshab.
>
> -----Original Message-----
>
> From: RFC Errata System [mailto:rfc-editor@rfc-editor.org]
>
> Sent: Wednesday, September 2, 2015 9:09 AM
>
> To: vf0213@gmail.com <mailto:vf0213@gmail.com>; jari.arkko@ericsson.com
> <mailto:jari.arkko@ericsson.com>; john.loughney@nokia.com
> <mailto:john.loughney@nokia.com>; glenzorn@gmail.com
> <mailto:glenzorn@gmail.com>; bclaise@cisco.com
> <mailto:bclaise@cisco.com>; joelja@bogus.com <mailto:joelja@bogus.com>;
> jouni.nospam@gmail.com <mailto:jouni.nospam@gmail.com>;
> lionel.morand@orange.com <mailto:lionel.morand@orange.com>
>
> Cc: keshab@smsgt.com <mailto:keshab@smsgt.com>; dime@ietf.org
> <mailto:dime@ietf.org>; rfc-editor@rfc-editor.org
> <mailto:rfc-editor@rfc-editor.org>
>
> Subject: [Technical Errata Reported] RFC6733 (4462)
>
> The following errata report has been submitted for RFC6733, "Diameter
> Base Protocol".
>
> --------------------------------------
>
> You may review the report below and at:
>
> http://www.rfc-editor.org/errata_search.php?rfc=6733&eid=4462
>
> --------------------------------------
>
> Type: Technical
>
> Reported by: Keshab Upadhya <keshab@smsgt.com <mailto:keshab@smsgt.com>>
>
> Section: 6.1.4 6.1.6
>
> Original Text
>
> -------------
>
> 6.1.4.  Processing Local Requests
>
>     A request is known to be for local consumption when one of the
>
>     following conditions occurs:
>
>     o  The Destination-Host AVP contains the local host's identity;
>
>     o  The Destination-Host AVP is not present, the Destination-Realm AVP
>
>        contains a realm the server is configured to process locally, and
>
>       the Diameter application is locally supported; or
>
>     o  Both the Destination-Host and the Destination-Realm are not
>
>        present.
>
> 6.1.6.  Request Routing
>
>     Diameter request message routing is done via realms and Application
>
>     Ids. A Diameter message that may be forwarded by Diameter agents
>
>     (proxies, redirect agents, or relay agents) MUST include the target
>
>     realm in the Destination-Realm AVP.  Request routing SHOULD rely on
>
>     the Destination-Realm AVP and the Application Id present in the
>
>     request message header to aid in the routing decision.  The realm MAY
>
>     be retrieved from the User-Name AVP, which is in the form of a
>
>     Network Access Identifier (NAI).  The realm portion of the NAI is
>
>     inserted in the Destination-Realm AVP.
>
>     Diameter agents MAY have a list of locally supported realms and
>
>     applications, and they MAY have a list of externally supported realms
>
>     and applications.  When a request is received that includes a realm
>
>     and/or application that is not locally supported, the message is
>
>     routed to the peer configured in the routing table (see Section 2.7).
>
>     Realm names and Application Ids are the minimum supported routing
>
>     criteria, additional information may be needed to support redirect
>
>     semantics.
>
> Corrected Text
>
> --------------
>
> 6.1.6 -
>
>    When a request is received that includes a realm
>
>     and/or application that is not locally supported, the message is
>
>     routed to the peer configured
>
> conflicts with 6.1.4 -
>
>     The Destination-Host AVP is not present, the Destination-Realm AVP
>
>        contains a realm the server is configured to process locally, and
>
>        the Diameter application is locally supported
>
> Notes
>
> -----
>
> please guide if 6.1.4 Local processing - "hostname not present" needs to
> be amended by "not present in host peer routing table". otherwise it
> conflicts with 6.1.6.
>
> Instructions:
>
> -------------
>
> This erratum is currently posted as "Reported". If necessary, please use
> "Reply All" to discuss whether it should be verified or rejected. When a
> decision is reached, the verifying party (IESG) can log in to change the
> status and edit the report, if necessary.
>
> --------------------------------------
>
> RFC6733 (draft-ietf-dime-rfc3588bis-33)
>
> --------------------------------------
>
> Title               : Diameter Base Protocol
>
> Publication Date    : October 2012
>
> Author(s)           : V. Fajardo, Ed., J. Arkko, J. Loughney, G. Zorn, Ed.
>
> Category            : PROPOSED STANDARD
>
> Source              : Diameter Maintenance and Extensions
>
> Area                : Operations and Management
>
> Stream              : IETF
>
> Verifying Party     : IESG
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations
> confidentielles ou privilegiees et ne doivent donc pas etre diffuses,
> exploites ou copies sans autorisation. Si vous avez recu ce message par
> erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les
> pieces jointes. Les messages electroniques etant susceptibles
> d'alteration, Orange decline toute responsabilite si ce message a ete
> altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged
> information that may be protected by law; they should not be
> distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and
> delete this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have
> been modified, changed or falsified.
>
> Thank you.
>