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

Glen Zorn <glenzorn@gmail.com> Mon, 17 September 2012 11:06 UTC

Return-Path: <glenzorn@gmail.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 9A9D921F8604 for <dime@ietfa.amsl.com>; Mon, 17 Sep 2012 04:06:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 ObKd4wtLYtiM for <dime@ietfa.amsl.com>; Mon, 17 Sep 2012 04:06:00 -0700 (PDT)
Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by ietfa.amsl.com (Postfix) with ESMTP id 0ADC521F8602 for <dime@ietf.org>; Mon, 17 Sep 2012 04:05:59 -0700 (PDT)
Received: by oagk14 with SMTP id k14so5127324oag.31 for <dime@ietf.org>; Mon, 17 Sep 2012 04:05:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=1jG0QmMiKpeaYom88FMJa1y1wPvIV6dNniZahzS/zXk=; b=L8jpntCfXKzEGwaFBFbYJd7NUuKXkcVZ8JGDJumS1fW3xViWo6gdEjlqD47ClQFUQo 4ccD5vn0Ws/mHfreOGdyLfNEJ6I8fKzJ3Weh1E8O0Tg21TZteoO0ng6Py5z2zDsKnn58 QnTLCPInxqvB01RlXvrq3ZaGqSm8mqP3AoZwCFUmsKh6TDcPUYFP4dPUllnI3T2nxWsT 0Veg1rWgvJHsBmEQSZkTKGp82xj7bfLORQjTxCE+YtFVaO4OyHSd0fdA7QY6YvhR1EYr TXRHs/NZlrllrWtUwMeKXuSZSV8iOfQnQBG1QirLJvgQrxmwpdgUH9xFpA0CxDNQi0e5 ZAcQ==
Received: by 10.60.26.41 with SMTP id i9mr9797035oeg.65.1347879959673; Mon, 17 Sep 2012 04:05:59 -0700 (PDT)
Received: from [192.168.0.102] (ppp-171-96-23-182.revip8.asianet.co.th. [171.96.23.182]) by mx.google.com with ESMTPS id o4sm8279068oef.11.2012.09.17.04.05.55 (version=SSLv3 cipher=OTHER); Mon, 17 Sep 2012 04:05:58 -0700 (PDT)
Message-ID: <50570410.9000708@gmail.com>
Date: Mon, 17 Sep 2012 18:05:52 +0700
From: Glen Zorn <glenzorn@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120830 Thunderbird/15.0
MIME-Version: 1.0
To: "VITON HORCAJO, Pedro (Pedro)" <pedro.viton@alcatel-lucent.com>
References: <5F42DFF905CBA544A7BBB0909003E1A3148F14F7C6@FRMRSSXCHMBSC1.dc-m.alcatel-lucent.com>
In-Reply-To: <5F42DFF905CBA544A7BBB0909003E1A3148F14F7C6@FRMRSSXCHMBSC1.dc-m.alcatel-lucent.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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 11:06:00 -0000

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?

...