Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP

"VITON HORCAJO, Pedro (Pedro)" <pedro.viton@alcatel-lucent.com> Mon, 17 September 2012 12:09 UTC

Return-Path: <pedro.viton@alcatel-lucent.com>
X-Original-To: dime@ietfa.amsl.com
Delivered-To: dime@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D4F221F864D for <dime@ietfa.amsl.com>; Mon, 17 Sep 2012 05:09:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.099
X-Spam-Level:
X-Spam-Status: No, score=-10.099 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4ovP1P4PdFbe for <dime@ietfa.amsl.com>; Mon, 17 Sep 2012 05:09:11 -0700 (PDT)
Received: from smail5.alcatel.fr (smail5.alcatel.fr [64.208.49.27]) by ietfa.amsl.com (Postfix) with ESMTP id CDD0B21F8618 for <dime@ietf.org>; Mon, 17 Sep 2012 05:09:10 -0700 (PDT)
Received: from FRMRSSXCHHUB03.dc-m.alcatel-lucent.com (FRMRSSXCHHUB03.dc-m.alcatel-lucent.com [135.120.45.63]) by smail5.alcatel.fr (8.14.3/8.14.3/ICT) with ESMTP id q8HC97aq014949 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Mon, 17 Sep 2012 14:09:08 +0200
Received: from FRMRSSXCHMBSC1.dc-m.alcatel-lucent.com ([135.120.45.46]) by FRMRSSXCHHUB03.dc-m.alcatel-lucent.com ([135.120.45.63]) with mapi; Mon, 17 Sep 2012 14:09:08 +0200
From: "VITON HORCAJO, Pedro (Pedro)" <pedro.viton@alcatel-lucent.com>
To: Glen Zorn <glenzorn@gmail.com>
Date: Mon, 17 Sep 2012 14:09:07 +0200
Thread-Topic: [Dime] [RFC3588bis-34] - Host-IP-Address AVP
Thread-Index: Ac2UxHAWDXI4lr6LTHWLwqDGFb4gPAACFJUQ
Message-ID: <5F42DFF905CBA544A7BBB0909003E1A3148F14F987@FRMRSSXCHMBSC1.dc-m.alcatel-lucent.com>
References: <5F42DFF905CBA544A7BBB0909003E1A3148F14F7C6@FRMRSSXCHMBSC1.dc-m.alcatel-lucent.com> <50570410.9000708@gmail.com>
In-Reply-To: <50570410.9000708@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.69 on 155.132.188.13
Cc: "dime@ietf.org" <dime@ietf.org>
Subject: Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP
X-BeenThere: dime@ietf.org
X-Mailman-Version: 2.1.12
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: <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: Mon, 17 Sep 2012 12:09:14 -0000

Glen,

 Thanks for answering.
Maybe my original mail was too long, and I  might have not have been clear enough.

Let me rephase my questions, in a shorter way:

1.- The current text for Host-IP-Address AVP indicates the value to send when transporting over SCTP.
But which value should be sent when transporting over TCP?

2.- What should a Diameter implementation do when receiving the Host-IP-Address AVP?

Best Regards,
  Pedro

>> -----Original Message-----
>> From: Glen Zorn [mailto:glenzorn@gmail.com] 
>> Sent: Monday, September 17, 2012 1:06 PM
>> To: VITON HORCAJO, Pedro (Pedro)
>> Cc: dime@ietf.org; glenzorn@gmail.com
>> Subject: Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP
>> 
>> 
>> On 09/17/2012 04:02 PM, VITON HORCAJO, Pedro (Pedro) wrote:
>> > Hi:
>> > After reviewing original RFC3588 and the lastest draft for 
>> 3588bis-34, 
>> > I have a couple of comments/questions related to the 
>> Host-IP-Address AVP
>> > 1.- I don't have clear the behavior of a diameter peer 
>> when SENDING 
>> > the Host-IP-Address AVP in the CER/CEA messages, if using TCP to 
>> > transport Diameter.
>> > In sections 5.3.1 (CER), 5.3.2(CEA) and 5.3.5 
>> (Host-IP-Address AVP), 
>> > it indicates the behavior with respect to that AVP when 
>> using SCTP or 
>> > DTLS/SCTP as transport mechanism.
>> >     The Host-IP-Address AVP (AVP Code 257) is of type 
>> Address and is used
>> >     to inform a Diameter peer of the sender's IP address.  
>> All source
>> >     addresses that a Diameter node expects to use with 
>> SCTP [RFC4960] or
>> >     DTLS/SCTP [RFC6083] MUST be advertised in the CER and 
>> CEA messages by
>> >     including a Host-IP-Address AVP for each address.
>> >     When Diameter is run over SCTP [RFC4960] or DTLS/SCTP 
>> [RFC6083],
>> >     which allow connections to span multiple interfaces, 
>> hence, multiple
>> >     IP addresses, the Capabilities-Exchange-Answer message 
>> MUST contain
>> >     one Host-IP-Address AVP for each potential IP address 
>> that MAY be
>> >     locally used when transmitting Diameter messages.
>> > That might lead to think that if using TCP, that AVP 
>> might/needs not 
>> > be sent.
>> > However, not sending it would be a contradiction with the 
>> CER/CEA ABNF 
>> > message format, that states that the Host-IP-Address AVP is a 
>> > mandatory AVP with at least 1 ocurrence :
>> > <CER> ::= < Diameter Header: 257, REQ >
>> >                    { Origin-Host }
>> >                    { Origin-Realm }
>> >                 1* { Host-IP-Address } <------------
>> > ...
>> > I think it would be a good idea to clarify:
>> > A.- whether Host-IP-Address MUST/SHOULD/MAY included in CER/CEA 
>> > messages if using TCP
>> 
>> As you point out, the command definition for the CER 
>> requires at least 
>> on instance of the AVP.  What is unclear?
>> 
>> ...
>> 
>>