Re: [Dime] NAPTR fix for 3588bis

Qin Wu <sunseawq@huawei.com> Thu, 15 April 2010 04:52 UTC

Return-Path: <sunseawq@huawei.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 9651A3A68C0 for <dime@core3.amsl.com>; Wed, 14 Apr 2010 21:52:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.011
X-Spam-Level: **
X-Spam-Status: No, score=2.011 tagged_above=-999 required=5 tests=[AWL=-1.047, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, J_CHICKENPOX_34=0.6, J_CHICKENPOX_83=0.6, J_CHICKENPOX_84=0.6, MIME_BASE64_TEXT=1.753, RDNS_NONE=0.1]
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 FSx5jnvmGCMc for <dime@core3.amsl.com>; Wed, 14 Apr 2010 21:52:18 -0700 (PDT)
Received: from szxga02-in.huawei.com (unknown [119.145.14.65]) by core3.amsl.com (Postfix) with ESMTP id D26FF3A6B0E for <dime@ietf.org>; Wed, 14 Apr 2010 21:52:16 -0700 (PDT)
Received: from huawei.com (szxga02-in [172.24.2.6]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0L0W00K3WIUNPT@szxga02-in.huawei.com> for dime@ietf.org; Thu, 15 Apr 2010 12:52:00 +0800 (CST)
Received: from huawei.com ([172.24.2.119]) by szxga02-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0L0W00KRBIUN10@szxga02-in.huawei.com> for dime@ietf.org; Thu, 15 Apr 2010 12:51:59 +0800 (CST)
Received: from w53375 ([10.138.84.35]) by szxml06-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTPA id <0L0W002W2IUNQM@szxml06-in.huawei.com> for dime@ietf.org; Thu, 15 Apr 2010 12:51:59 +0800 (CST)
Date: Thu, 15 Apr 2010 12:51:59 +0800
From: Qin Wu <sunseawq@huawei.com>
To: jouni korhonen <jouni.nospam@gmail.com>
Message-id: <006901cadc57$61dd9ee0$23548a0a@china.huawei.com>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-Mailer: Microsoft Outlook Express 6.00.2900.3598
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: base64
X-Priority: 3
X-MSMail-priority: Normal
References: <B4B762B06D90774E9E8016C89B66AF8756131D63@m679t05.fpmis.bridgewatersys.com> <B4B762B06D90774E9E8016C89B66AF875613229B@m679t05.fpmis.bridgewatersys.com> <u2v919c9f451004081322h9f72706eg2fef6ab3517b624f@mail.gmail.com> <B4B762B06D90774E9E8016C89B66AF87561322BB@m679t05.fpmis.bridgewatersys.com> <4BC288CB.9030002@nict.go.jp> <u2x919c9f451004120527oc1ae023bj9c6f1a3b60592212@mail.gmail.com> <D109C8C97C15294495117745780657AE0C73B96F@ftrdmel1> <B4B762B06D90774E9E8016C89B66AF87561323C0@m679t05.fpmis.bridgewatersys.com> <4BC3FD95.70803@nict.go.jp> <D109C8C97C15294495117745780657AE0C73BC6D@ftrdmel1> <w2z919c9f451004131050q2a4d00fgcfd1874bee51d395@mail.gmail.com> <00f101cadb7c$c59a4590$23548a0a@china.huawei.com> <CF5BF9AF-9CC5-4E82-BA2D-3DE0AC5265F7@gmail.com>
Cc: Mark.Jones@bridgewatersystems.com, 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: Thu, 15 Apr 2010 04:52:19 -0000

Hi, Jouni:
Please see my feedback below.
----- Original Message ----- 
From: "jouni korhonen" <jouni.nospam@gmail.com>
To: "Qin Wu" <sunseawq@huawei.com>
Cc: "Victor Fajardo" <vf0213@gmail.com>; <lionel.morand@orange-ftgroup.com>; <Mark.Jones@bridgewatersystems.com>; <dime@ietf.org>
Sent: Thursday, April 15, 2010 12:24 AM
Subject: Re: [Dime] NAPTR fix for 3588bis


Hi Qin,

On Apr 14, 2010, at 5:47 AM, Qin Wu wrote:

> Hi,
> Sorry for my late reply.
> Go through the proposed Changes to the bis version.
> I found  "diameter.tls" as the supported application protocol in the *FIRST CHANGE* is still used there
> which is not consistent with "diameter.tls.tcp" specified in the *SECOND CHANGE*.
>  
> Also some questions to the changes:
> 1. If the Diameter server indicates to the Diameter client that it support both TCP and TLS/TCP
>   and the Diameter client also support both, whether the Diameter client can still choose TCP as transport
>   protcol? In other words, in which condition does the client choose TCP and in which condition does the client choose TLS/TCP?

An operator can actually set the preference using NAPTR order and preference fields when doing DNS provisioning. So the mechanism is there.

[Qin]: Agree this is deployment specific issue.

> or Can we say TLS/TCP transport is more reliable and secure than TCP transport for Diameter? That's why we choose TLS over TCP instead of TCP?

Up to an operator to set the preference.

[Qin]: As I discussed with Victor, I buy it.:-)

> 2. I am wondering Whether TLS/TCP transport can work in the roaming scenario? In order words, whether we can
> allow several Diameter peers located between Diameter Client and Diameter Server? whether TLS/TCP can work across realms?

Such deployment issues are usually handled by e.g. a consortium that mandates the use of Diameter in the first place.

[Qin]: Okay, but as I mentioned to Victor, the only difficult for me is whether TLS/TCP transport works in the case when the intermeidate peer(e.g., Proxy) does not support TLS/TCP between the client and server?

> 3.When the Diameter Client choose TLS/TCP as transport, what transport port will be used ? Same as port for TCP or SCTP or not ? if not,what is it?

When using SVRs (i.e. a NAPTR points to a SRV), an operator can define the used port number. So, this can again be solved by proper provisioning. A predefined port number could be useful but imho really not needed. The draft could though say something about this.

[Qin]: Agree. Thank for your clarification.

- Jouni

> Hope somebody can clarify. Thanks!
>  
> Regards!
> -Qin
> ----- Original Message -----
> From: Victor Fajardo
> To: lionel.morand@orange-ftgroup.com
> Cc: Mark.Jones@bridgewatersystems.com ; dime@ietf.org
> Sent: Wednesday, April 14, 2010 1:50 AM
> Subject: Re: [Dime] NAPTR fix for 3588bis
> 
> Looks good. I'll send out a bis version with the changes below.
> 
> 
> On Tue, Apr 13, 2010 at 9:46 AM, <lionel.morand@orange-ftgroup.com> wrote:
> Thx Sébastien.
> 
> So to sum up, all the existing issues are now closed.
> 
> Any other feedback from the WG on the proposed modification?
> 
> Hereafter the modification proposed by Mark with corrections based on the agreement reached after email discussion:
> 
> ************************* 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'.
> 
>       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.tcp   | TLS/TCP
> 
> ************************* 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.tcp"  ""     _diameter._tls.tcp.example.com
>  IN NAPTR  100   50   "s"   "aaa:diameter.tcp"      ""     _diameter._tcp.example.com
>  IN NAPTR  150   50   "s"   "aaa:diameter.sctp"     ""     _diameter._sctp.example.com
> 
>   This indicates that the server supports TLS/TCP, TCP and SCTP in that
>   order.  If the client supports TLS/TCP, TLS/TCP will be used, targeted to a
>   host determined by an SRV lookup of _diameter._tls.tcp.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
> 
> =>addition of an example with "a" flag required such as:
> 
>  IN NAPTR  150   50   "a"   "aaa:diameter.tls.tcp"  ""     server1.example.com
>  IN NAPTR  150   50   "a"   "aaa:diameter.tls.tcp"  ""     server2.example.com
> 
> ************************* FOURTH CHANGE **************************
> 
> 14.1.  Normative References
> 
> => Add new reference to S-NAPTR DDDS RFC3958.
> 
> ************************* END OF CHANGES ***********************
> 
> 
> 
> 
> 
> > -----Message d'origine-----
> > De : Sebastien Decugis [mailto:sdecugis@nict.go.jp]
> > Envoyé : mardi 13 avril 2010 07:14
> > À : Mark Jones
> > Cc : MORAND Lionel RD-CORE-ISS; vf0213@gmail.com; dime@ietf.org
> > Objet : Re: [Dime] NAPTR fix for 3588bis
> >
> > Hi,
> >
> > I am fine with this approach as well. My initial intention
> > was just to highlight that having TLS at the same level as
> > TCP and SCTP is very confusing.
> > The tag "diameter.tls.tcp" is perfectly fine for me. And it
> > will be quite easy to figure what to do, should (TLS over)
> > SCTP become more popular.
> >
> > Best regards,
> > Sebastien.
> >
> > Le 13/04/2010 05:08, Mark Jones a écrit :
> > >
> > > Works for me. I assume we'd still keep "diameter.tls.tcp"
> > as the tag
> > > format so that "diameter.tls.sctp" can be used in the
> > separate draft.
> > >
> > > Mark
> > >
> > > *From:* lionel.morand@orange-ftgroup.com
> > > [mailto:lionel.morand@orange-ftgroup.com]
> > > *Sent:* April 12, 2010 11:59 AM
> > > *To:* vf0213@gmail.com; sdecugis@nict.go.jp
> > > *Cc:* Mark Jones; dime@ietf.org
> > > *Subject:* RE: [Dime] NAPTR fix for 3588bis
> > >
> > > Hi,
> > >
> > > Taking account that this topic came quite late in the
> > revision process
> > > and to not delay the publication of the RFC3588bis, we could maybe
> > > consider to address TLS over SCTP in a separete draft in a latter
> > > phase if there is a WG interest of the WG to support this option.
> > >
> > > Would it be acceptable?
> > >
> > > Regards,
> > >
> > > Lionel
> > >
> > >
> > >
> > ----------------------------------------------------------------------
> > > --
> > >
> > >     *De :* dime-bounces@ietf.org
> > [mailto:dime-bounces@ietf.org] *De la
> > >     part de* Victor Fajardo
> > >     *Envoyé :* lundi 12 avril 2010 14:28
> > >     *À :* Sebastien Decugis
> > >     *Cc :* Mark Jones; dime@ietf.org
> > >     *Objet :* Re: [Dime] NAPTR fix for 3588bis
> > >
> > >     Hi Sebastien,
> > >
> > >     On Sun, Apr 11, 2010 at 9:43 PM, Sebastien Decugis
> > >     <sdecugis@nict.go.jp <mailto:sdecugis@nict.go.jp>> wrote:
> > >
> > >     Hi,
> > >
> > >     Sorry for the delay, I was on vacation.
> > >
> > >     Le 09/04/2010 07:02, Mark Jones a écrit :
> > >     > 4) Application protocol tag for TLS does not differentiate
> > >     TLS/TCP vs
> > >     > TLS/SCTP (Sebastian).
> > >     >
> > >     > Conclusion: New TLS tags proposed to Sebastian. Still
> > >     > open.
> > >     >
> > >
> > >     I am perfectly fine with the resolution you proposed, thank you!
> > >
> > >     > 5) Missing ref to TLS/SCTP - RFC3436 (Sebastian).
> > >     >
> > >     > Conclusion: Add the missing reference to 3588bis.
> > >     > Unrelated to this fix though.
> > >     >
> > >     I guess this resolution will require a bit more
> > feedback from the
> > >     group,
> > >     there may be other ways to implement TLS over SCTP...
> > Can the chairs
> > >     give direction on this issue?
> > >
> > >
> > >
> > >     For all practical purpose, is there really a strong deployable
> > >     reason to support TLS over SCTP ? I'm just hesitant to delay bis
> > >     publication to support an academic exercise.
> > >
> > >     regards,
> > >     victor
> > >
> > >
> > >
> > >         Thanks!
> > >         Sebastien.
> > >
> > >         --
> > >         Sebastien Decugis
> > >         Research fellow
> > >         Network Architecture Group
> > >         NICT (nict.go.jp <http://nict.go.jp>)
> > >
> >
> > --
> > Sebastien Decugis
> > Research fellow
> > Network Architecture Group
> > NICT (nict.go.jp)
> >
> >
> 
> 
> 
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime
> _______________________________________________
> DiME mailing list
> DiME@ietf.org
> https://www.ietf.org/mailman/listinfo/dime