Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP
jouni korhonen <jouni.nospam@gmail.com> Tue, 25 September 2012 07:32 UTC
Return-Path: <jouni.nospam@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 B202421F88F2 for <dime@ietfa.amsl.com>; Tue, 25 Sep 2012 00:32:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.558
X-Spam-Level:
X-Spam-Status: No, score=-3.558 tagged_above=-999 required=5 tests=[AWL=0.041, 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 JAQ3ljMVSG9X for <dime@ietfa.amsl.com>; Tue, 25 Sep 2012 00:32:59 -0700 (PDT)
Received: from mail-bk0-f44.google.com (mail-bk0-f44.google.com [209.85.214.44]) by ietfa.amsl.com (Postfix) with ESMTP id AC94C21F88F8 for <dime@ietf.org>; Tue, 25 Sep 2012 00:32:55 -0700 (PDT)
Received: by bkty12 with SMTP id y12so3288118bkt.31 for <dime@ietf.org>; Tue, 25 Sep 2012 00:32:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=/J6S1XFb+/OGdYfT+lJh8JnnoV2f5K7hfCQdg+xooQ0=; b=uAmMBRNPmNKkC5V673zrYdkyHADSIWqwOnZJwT7ZIBfTz/3LQyrCwtX58Nsgo7cxdl b6SmkM61/SfP7avjrExsptzE4Rz5Xw8DfjnsTLxJ/v6P/KuiotZA9gbLUfvTBEu2FO3k 9k3lsG9j7mMvbQz6gipSMGnokNPNItQyKCxMiwfszW2QifaNGr6/yTTYUVv37j3qfU+2 xM6tCqGHJGxW18gWyhXw8VMzXQQ0e1V76iJEqGjWS78W/CnGetffYNasAP4jINMWzvUx wgN6HOJVisreRkXdqp5xUtZBrZKMqUT1n3RcIlaexYpG5wSC+8jmi5Z+8Y5Qo/+NdUVS MQCA==
Received: by 10.204.152.211 with SMTP id h19mr5582503bkw.45.1348558374966; Tue, 25 Sep 2012 00:32:54 -0700 (PDT)
Received: from ?IPv6:2001:67c:64:42:226:bbff:fe18:6e9c? ([2001:67c:64:42:226:bbff:fe18:6e9c]) by mx.google.com with ESMTPS id n5sm11636308bkv.14.2012.09.25.00.32.49 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Sep 2012 00:32:50 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="us-ascii"
From: jouni korhonen <jouni.nospam@gmail.com>
In-Reply-To: <20120925073150.46e47860ae2f9db88035def0@ihug.co.nz>
Date: Tue, 25 Sep 2012 10:32:47 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <8425338C-2556-49B4-AB72-CA8D275D6C18@gmail.com>
References: <5F42DFF905CBA544A7BBB0909003E1A3148F14F7C6@FRMRSSXCHMBSC1.dc-m.alcatel-lucent.com> <50570410.9000708@gmail.com> <5F42DFF905CBA544A7BBB0909003E1A3148F14F987@FRMRSSXCHMBSC1.dc-m.alcatel-lucent.com> <E4A11012-4F89-455F-AC98-57F188456D91@gmail.com> <50585DBF.20502@gmail.com> <593C8CD1-DAAC-4E39-BE6F-0FA754C706B1@gmail.com> <8BAB668F-5B65-4FBE-B49B-833EAFE47D49@nostrum.com> <99463A4A-9840-43B2-B29F-D942FD7AB757@gmail.com> <B5943A55-6A2A-4977-A06C-B9DA9FDABF1E@nostrum.com> <505C0F10.3020106@gmail.com> <20120925073150.46e47860ae2f9db88035def0@ihug.co.nz>
To: Ralph Loader <suckfish@ihug.co.nz>
X-Mailer: Apple Mail (2.1084)
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: Tue, 25 Sep 2012 07:32:59 -0000
Hi, Just few questions for my education and some comments inline. On Sep 24, 2012, at 10:31 PM, Ralph Loader wrote: >> The draft says: >> >> 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. >> >> Suppose that I send, instead of one address, three (assuming the use of >> TCP). Which one do you use? What if the list doesn't contain the >> address from which the CEr/CEA command was sent? > > There are other problems with using the AVP to obtain IP addresses: > > 1. The set of IP addresses assigned to a machine can change. Unlike proper protocols for distributing IP addresses, the capabilities exchange has no mechanism for handling that. RFC6737. > > 2. There is no guarentee that a particular IP address of a machine is accessable from a peer (address scoping, firewalling, NAT...). How would the situation be any different if "proper protocols" were used? > > I don't see any reason for Diameter to reinvent the wheel in distributing IP addresses. There is a clear use case for SCTP. - Jouni > > Just leave the field as advisory for logging / debugging purposes (ditto all the other underspecified fields in the capabilities exchange, for that matter). > > Cheers, > Ralph. > > >> If my solution to >> transport failure is to send you three addresses assuming that you'll >> try them sequentially and you don't understand that, my scheme fails and >> since you only have one registered address for me, this could cause a >> much longer outage than if my network admins just did their job and >> registered all the available addresses in the DNS. >> >>>> >>> >>> I don't have a specific error in mind. My intent was to point out >>> that while there may be interesting things you can do with >>> Host-IP-Address (like the example you gave), anything that requires a >>> mutual understanding between the client and server aren't going to >>> work unless the understanding exists. In you example, using >>> Host-IP-Address to tell the peer about other available addresses to >>> be used for load balancing and/or failover won't work across >>> implementations unless it's documented somewhere. >>> >>> The original poster pointed out that they were seeing real IOT issues >>> because different implementors interpreted the spec differently in >>> regards to Host-IP-Address. Assuming that these differences were due >>> to reasonable interpretations of the spec, rather than simple >>> misunderstandings, that's a pretty big indicator that there's a >>> problem. >> >> I would be inclined to write a short draft clarifying that, in the case >> of TCP, exactly one instance of the Host-IP-Address MUST be included in >> the CER/CEA messages. >> >> ... >> >> _______________________________________________ >> 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
- [Dime] [RFC3588bis-34] - Host-IP-Address AVP VITON HORCAJO, Pedro (Pedro)
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Glen Zorn
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP VITON HORCAJO, Pedro (Pedro)
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP VITON HORCAJO, Pedro (Pedro)
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Glen Zorn
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Glen Zorn
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Ben Campbell
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Ben Campbell
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Glen Zorn
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Ankur Garg
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP VITON HORCAJO, Pedro (Pedro)
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Ralph Loader
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Ralph Loader
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP Ralph Loader
- Re: [Dime] [RFC3588bis-34] - Host-IP-Address AVP jouni korhonen