Re: [BEHAVE] Learning IPv6 translator's prefix - draft-wing-behave-learn-prefix-03

"Dan Wing" <dwing@cisco.com> Tue, 21 July 2009 00:54 UTC

Return-Path: <dwing@cisco.com>
X-Original-To: behave@core3.amsl.com
Delivered-To: behave@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 34EAC3A69BA for <behave@core3.amsl.com>; Mon, 20 Jul 2009 17:54:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.565
X-Spam-Level:
X-Spam-Status: No, score=-5.565 tagged_above=-999 required=5 tests=[AWL=-0.097, BAYES_00=-2.599, DNS_FROM_OPENWHOIS=1.13, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_MED=-4]
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 41PAS1HLuQ89 for <behave@core3.amsl.com>; Mon, 20 Jul 2009 17:54:57 -0700 (PDT)
Received: from sj-iport-1.cisco.com (sj-iport-1.cisco.com [171.71.176.70]) by core3.amsl.com (Postfix) with ESMTP id 43FCE3A68BF for <behave@ietf.org>; Mon, 20 Jul 2009 17:54:57 -0700 (PDT)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApwEAEyuZEqrR7O6/2dsb2JhbACLB41SoGaIIyYBjkUFhAyBRA
X-IronPort-AV: E=Sophos;i="4.43,237,1246838400"; d="scan'208";a="216667701"
Received: from sj-dkim-2.cisco.com ([171.71.179.186]) by sj-iport-1.cisco.com with ESMTP; 21 Jul 2009 00:54:57 +0000
Received: from sj-core-1.cisco.com (sj-core-1.cisco.com [171.71.177.237]) by sj-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n6L0svqg011661; Mon, 20 Jul 2009 17:54:57 -0700
Received: from dwingwxp01 ([10.32.240.196]) by sj-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n6L0suLl011216; Tue, 21 Jul 2009 00:54:56 GMT
From: Dan Wing <dwing@cisco.com>
To: 'Brian E Carpenter' <brian.e.carpenter@gmail.com>, 'Chen Gang' <phdgang@gmail.com>
References: <0e0001ca04c5$4f27d780$c4f0200a@cisco.com> <36ba02b00907150352n51cd5121qb4d2739d9c7c5dd9@mail.gmail.com> <111c01ca0564$07de7b50$c4f0200a@cisco.com> <36ba02b00907190943y3c909f63vd483752b118b0788@mail.gmail.com> <041001ca0891$92c98180$c4f0200a@cisco.com> <36ba02b00907192253k2185551aofc36db69be7662b1@mail.gmail.com> <5DC462FC-7222-427E-8AC7-7A630751A2F0@muada.com> <36ba02b00907200358v1105401fq3dee81ebfb78d0fb@mail.gmail.com> <4A650845.1050507@gmail.com>
Date: Mon, 20 Jul 2009 17:54:56 -0700
Message-ID: <087c01ca099d$dddc7ad0$c4f0200a@cisco.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <4A650845.1050507@gmail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Thread-Index: AcoJmCjw/QmT5H3zSKqfi4OXywmT7QAAmUKg
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=1714; t=1248137697; x=1249001697; c=relaxed/simple; s=sjdkim2002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=dwing@cisco.com; z=From:=20=22Dan=20Wing=22=20<dwing@cisco.com> |Subject:=20RE=3A=20[BEHAVE]=20Learning=20IPv6=20translator 's=20prefix=20-=09draft-wing-behave-learn-prefix-03 |Sender:=20; bh=BKKwFB6eGHypyN5kDJgFhZZGx4CvmdWli+XevH369SM=; b=DNiojzJqZHh09xopmJcU2rwUALPGkwKlYXPpztg4G5q6orezub0UtAVJjU Ck9+69QGCDv+BF+ELitegs+9DtrpKFEjfjMwNcT7vfAL8TNlsSw05N91w7dh s7GqEoLyhE;
Authentication-Results: sj-dkim-2; header.From=dwing@cisco.com; dkim=pass ( sig from cisco.com/sjdkim2002 verified; );
Cc: 'Behave WG' <behave@ietf.org>
Subject: Re: [BEHAVE] Learning IPv6 translator's prefix - draft-wing-behave-learn-prefix-03
X-BeenThere: behave@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: mailing list of BEHAVE IETF WG <behave.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/behave>
List-Post: <mailto:behave@ietf.org>
List-Help: <mailto:behave-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/behave>, <mailto:behave-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jul 2009 00:54:58 -0000

> On 2009-07-20 22:58, Chen Gang wrote:
> > I guess that my point hasn't been clarified enough,
> > 
> > What I am saying is that NAT64 draft is based on the Ipv6 only host,
> > But the question here is how could "http://1.2.3.4" be 
> > processed by network stack,
> > will IPv4 socket api be called or will IPv6 socket api be called.
> 
> Firstly, should we really be spending effort on this problem? What's
> wrong with an error response to the user? Address literals 
> are supposed
> to be for diagnostic use only. "No IPv4 available" would be 
> an appropriate diagnostic message.

IPv4 address literals in URLs are an obvious use of IPv4 address
literals, but I agree they are the most likely to resolve themselves.
As recently as last month I was still seeing IPv4 address literals as 
results from various search engines; if I was IPv6-only and I lacked
BIA (RFC3338) or BIS (RFC2767), I would be out of luck.  We do need
*some* way of solving that.  Perhaps, as I believe you are suggesting,
the solution is "do BIA" or "do BIS", rather than encouraging solving
the problem in the application.

There are other applications that commonly use IPv4 address literals.
SIP and RTSP use IPv4 address literals almost exclusively in their
SDP (which describes the IP addresses and ports for the media path).
For those protocols, it makes little sense to rely on DNS to say
128-7-8-9.comcast.net rather than just 128.7.8.9.  I believe XMPP
works similarly and uses IPv4 address literals.

> Secondly, as others have observed, RFC3338 documented a solution 7
> years ago, to which we need to add a way to determine the correct
> v6 prefix to use. The same goes for RFC2767.

-d