Re: [Dime] NAPTR fix for 3588bis

jouni korhonen <jouni.nospam@gmail.com> Wed, 31 March 2010 16:23 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 78DDA3A6B0B for <dime@core3.amsl.com>; Wed, 31 Mar 2010 09:23:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.269
X-Spam-Level:
X-Spam-Status: No, score=-0.269 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, J_CHICKENPOX_83=0.6, J_CHICKENPOX_84=0.6]
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 s23MCUyYHOrK for <dime@core3.amsl.com>; Wed, 31 Mar 2010 09:23:56 -0700 (PDT)
Received: from mail-bw0-f217.google.com (mail-bw0-f217.google.com [209.85.218.217]) by core3.amsl.com (Postfix) with ESMTP id 1FD193A6A71 for <dime@ietf.org>; Wed, 31 Mar 2010 09:20:00 -0700 (PDT)
Received: by bwz9 with SMTP id 9so215494bwz.29 for <dime@ietf.org>; Wed, 31 Mar 2010 09:20:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=3ALWoMP1jpPtvHNAHqlIeMUhI2Hf5rJURs8PmxEHpqE=; b=XMWMz89wobMmCeCOi+5ujWRIEmJ4zjhE2E22ol1L6JxiDZVEyJmTNXFjdR5ftpUljW tH5NpatktQ18u3Z8bkhXHkG0/ejdxoQ5Z1cpXObFPnFfNK8L1v2r/6/ld3/6Hni7SHLf JlMLFj2KGo4HUuz1eO6UAqaIVfeYK2dVSHXts=
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=AU7+CnqHiSwlol7kcGPSEl+72LPcyIJ6/U8T4bUGSMozTgg5yA8KV6LAZAWRUWaVbm fDDqqHMaWKW9x06CumP8SdWY5oSu2n6m2PpK60YuqleHzV4OhPPcSHIuOMZ66uSU2QIW MmydSIfc4VlfllL1Hv5ead6y+cnBcp+0V1pHk=
Received: by 10.204.134.211 with SMTP id k19mr2069927bkt.48.1270052428461; Wed, 31 Mar 2010 09:20:28 -0700 (PDT)
Received: from a88-114-167-158.elisa-laajakaista.fi (a88-114-167-158.elisa-laajakaista.fi [88.114.167.158]) by mx.google.com with ESMTPS id 14sm3551858bwz.2.2010.03.31.09.20.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Mar 2010 09:20:27 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1077)
Content-Type: text/plain; charset="us-ascii"
From: jouni korhonen <jouni.nospam@gmail.com>
In-Reply-To: <B4B762B06D90774E9E8016C89B66AF8756131D63@m679t05.fpmis.bridgewatersys.com>
Date: Wed, 31 Mar 2010 19:20:25 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <082F9E86-364B-4535-A54D-F6759B33E023@gmail.com>
References: <B4B762B06D90774E9E8016C89B66AF8756131D63@m679t05.fpmis.bridgewatersys.com>
To: Mark Jones <mark.jones@bridgewatersystems.com>
X-Mailer: Apple Mail (2.1077)
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] NAPTR fix for 3588bis
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, 31 Mar 2010 16:23:57 -0000

Hi,

Thanks Mark for initiating the discussion and proposing text. My initial comments inline.

On Mar 31, 2010, at 4:48 PM, Mark Jones wrote:

> Here are the proposed changes to 3588bis to implement the fix for the NAPTR issues discussed at IETF#77 (see http://www.ietf.org/proceedings/10mar/slides/dime-5.pdf)
> 
> Comments appreciated.
> 
> There was some discussion at the meeting of creating S-NAPTR Application Service Tag entries for the unregistered NAPTR values in RFC3588 ("AAA+D2x"). No consensus was reached but my impression was that we were leaning towards NOT creating these entries. That would be my preference too but are there any objections on the list?

Would be ok I think.. However, I really would like to see even some discussion related to them _somewhere_. Any ideas? Would an errata be enough to cover that?


> 
> Regards
> Mark
> 
> ************************* FIRST CHANGE *************************
> 
> Section 5.2 Diameter Peer Discovery
> 
> => Replace step 2 with the following text:
> 
>   2.  The Diameter implementation performs a NAPTR query for a server
>       in a particular realm.  The Diameter implementation has to know
>       in advance which realm to look for a Diameter agent in.  This
>       could be deduced, for example, from the 'realm' in a NAI that a
>       Diameter implementation needed to perform a Diameter operation
>       on.
> 
>       The NAPTR usage in Diameter follows the S-NAPTR DDDS application 
>       [RFC3958] which means that the SERVICE field includes tags for the 
>       desired application and supported application protocol.
>       The application service tag for a Diameter application is 'aaa' and 
>       the supported  application protocol tags are 'diameter.tcp', 
>       'diameter.sctp' or 'diameter.tls'. 

RFC3958 ABNF does not allow "." in iana-registered-protocol, so the application protocol has to be changed, like "diametertcp" or "dtcp" etc..

> 
>       The client follows the resolution process defined by the S-NAPTR 
>       DDDS [RFC3958] application to find a matching SRV or A record of 
>       a suitable peer.  The domain suffixes in the NAPTR replacement field
>       SHOULD match the domain of the original query.
> 
> 
> ************************* SECOND CHANGE *************************
> 
> Section 11.6 NAPTR Service Fields
> 
> => Rename this section to S-NAPTR Parameters and replace content with:
> 
> This document registers a S-NAPTR Application Service Tag value of "aaa".
> 
> This document also registers the following S-NAPTR Application Protocol Tags:
> 
>   Tag            | Protocol
>   ---------------|---------
>   diameter.tcp   | TCP
>   diameter.sctp  | SCTP
>   diameter.tls   | TLS

See my note above regarding the application protocol.


> 
> ************************* THIRD CHANGE **************************
> 
> Appendix B.  NAPTR Example
> 
> => Rename section to S-NAPTR Example and modify as follows.
> 
>   As an example, consider a client that wishes to resolve aaa:
>   example.com.  The client performs a NAPTR query for that domain, and
>   the following NAPTR records are returned:
> 
> ;;        order pref flags service             regexp replacement
> IN NAPTR  50    50   "s"   "aaa:diameter.tls"  ""     _diameter._tls.example.com
> IN NAPTR  100   50   "s"   "aaa:diameter.tcp"  ""     _aaa._tcp.example.com
> IN NAPTR  150   50   "s"   "aaa:diameter.sctp" ""     _diameter._sctp.example.com

And lets have an example of "a" flag as well:

IN NAPTR  150   50   "a"   "aaa:diametertls" ""     server1.example.com
IN NAPTR  150   50   "a"   "aaa:diametertls" ""     server2.example.com


> 
>   This indicates that the server supports TLS, TCP and SCTP in that
>   order.  If the client supports TLS, TLS will be used, targeted to a
>   host determined by an SRV lookup of _diameter._tls.example.com.  That
>   lookup would return:
> 
>    ;;       Priority  Weight  Port    Target
>    IN SRV   0         1       5060    server1.example.com
>    IN SRV   0         2       5060    server2.example.com
> 
> 
> ************************* FOURTH CHANGE **************************
> 
> 14.1.  Normative References
> 
> => Add new reference to S-NAPTR DDDS RFC3958.
> 
> ************************* END OF CHANGES ***********************

- Jouni



> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime