Re: [Dime] NAPTR fix for 3588bis

jouni korhonen <jouni.nospam@gmail.com> Wed, 31 March 2010 19:08 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 8B5533A69A2 for <dime@core3.amsl.com>; Wed, 31 Mar 2010 12:08:18 -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 Y0v5LHGZ0J8I for <dime@core3.amsl.com>; Wed, 31 Mar 2010 12:08:17 -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 9F3303A6A46 for <dime@ietf.org>; Wed, 31 Mar 2010 12:08:14 -0700 (PDT)
Received: by bwz9 with SMTP id 9so338264bwz.29 for <dime@ietf.org>; Wed, 31 Mar 2010 12:08:42 -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=3P5Porq7p0oh7zEd481cmK7nNDGJz5DW1JiD5I1hN4w=; b=KFcDINFzcdS0MTl3PVj6uGsMCBdAqLvXpjOQ3/j15XxD+yKdxkJ2i+8X5BI3cJo22X E7qD+bfmVkh7WO8OiwbC5GdHpfy1oxFe2B7ezxE/NwkAI/GFjaXxder/MwaOkX15BJUD oIDmY4sbgw/bR9Kb0c/4RoQpuwiE7qF7+GkMo=
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=V5/67iYKlXH32UlcECTv3hdgsZJvHihrY456klTVzF4jeCFf2clnJxCSi80j248jsl trADxC9eMqsWecGBNyv/OsEsAiL/77BxyhKL0E3GjLixnAZEE/621hGAnnKmHZMq4KD1 sxPtiFky4aTy3z9TcfW16GeafhCfmLFraIud4=
Received: by 10.204.156.22 with SMTP id u22mr33567bkw.24.1270062521765; Wed, 31 Mar 2010 12:08:41 -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 16sm3599767bwz.13.2010.03.31.12.08.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 31 Mar 2010 12:08:41 -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: <B4B762B06D90774E9E8016C89B66AF8756131DA2@m679t05.fpmis.bridgewatersys.com>
Date: Wed, 31 Mar 2010 22:08:39 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <E02234B2-CD56-4AC5-844B-3F377A6F1DF2@gmail.com>
References: <B4B762B06D90774E9E8016C89B66AF8756131D63@m679t05.fpmis.bridgewatersys.com> <082F9E86-364B-4535-A54D-F6759B33E023@gmail.com> <B4B762B06D90774E9E8016C89B66AF8756131DA2@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 19:08:18 -0000

[snip]

>>>      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..
>> 
> 
> Lucky for us that IANA is ignoring the RFC3958 ABNF then :)
> 
> http://www.iana.org/assignments/s-naptr-parameters/s-naptr-parameters.xhtml
> 
> Another errata perhaps?
> 
>   iana-registered-protocol  = ALPHA *31ALPHANUMSYM

More on this topic.. RFC3958 itself contain examples that go against the ABNF. So, I _guess_ it is ok for us to assume that

"iana-registered-protocol  = ALPHA *31ALPHANUM"

is actually

"iana-registered-protocol  = ALPHA *31ALPHANUMSYM"

- Jouni




> 
>>> 
>>>      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
>> 
> 
> Fine by me.
> 
>> 
>>> 
>>>  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
>