Re: [BEHAVE] Application awareness of translator in draft-baker-behave-v4v6-translation-00
Fred Baker <fred@cisco.com> Thu, 30 October 2008 22:18 UTC
Return-Path: <behave-bounces@ietf.org>
X-Original-To: behave-archive@optimus.ietf.org
Delivered-To: ietfarch-behave-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 574AC3A68D0; Thu, 30 Oct 2008 15:18:21 -0700 (PDT)
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 4E2F63A67A4 for <behave@core3.amsl.com>; Thu, 30 Oct 2008 15:18:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.426
X-Spam-Level:
X-Spam-Status: No, score=-105.426 tagged_above=-999 required=5 tests=[AWL=-0.457, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, SARE_PROLOSTOCK_SYM3=1.63, USER_IN_WHITELIST=-100]
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 3q-oqLPE1PQb for <behave@core3.amsl.com>; Thu, 30 Oct 2008 15:18:19 -0700 (PDT)
Received: from ind-iport-1.cisco.com (ind-iport-1.cisco.com [64.104.129.195]) by core3.amsl.com (Postfix) with ESMTP id 8043B3A6829 for <behave@ietf.org>; Thu, 30 Oct 2008 15:18:18 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.33,518,1220227200"; d="scan'208";a="32249760"
Received: from hkg-dkim-1.cisco.com ([10.75.231.161]) by ind-iport-1.cisco.com with ESMTP; 30 Oct 2008 22:18:10 +0000
Received: from hkg-core-1.cisco.com (hkg-core-1.cisco.com [64.104.123.94]) by hkg-dkim-1.cisco.com (8.12.11/8.12.11) with ESMTP id m9UMI9UN023723; Fri, 31 Oct 2008 06:18:09 +0800
Received: from xbh-hkg-412.apac.cisco.com (xbh-hkg-412.cisco.com [64.104.123.69]) by hkg-core-1.cisco.com (8.13.8/8.13.8) with ESMTP id m9UMI9WQ029111; Thu, 30 Oct 2008 22:18:09 GMT
Received: from xfe-hkg-411.apac.cisco.com ([64.104.123.70]) by xbh-hkg-412.apac.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 Oct 2008 06:18:09 +0800
Received: from [10.5.30.198] ([10.75.234.10]) by xfe-hkg-411.apac.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 Oct 2008 06:18:08 +0800
Message-Id: <788261F6-15B9-4236-B30D-0536FCDE8777@cisco.com>
From: Fred Baker <fred@cisco.com>
To: Dan Wing <dwing@cisco.com>
In-Reply-To: <033e01c93ab2$5df07840$c3f0200a@cisco.com>
Mime-Version: 1.0 (Apple Message framework v929.2)
Date: Fri, 31 Oct 2008 06:18:07 +0800
References: <033e01c93ab2$5df07840$c3f0200a@cisco.com>
X-Mailer: Apple Mail (2.929.2)
X-OriginalArrivalTime: 30 Oct 2008 22:18:08.0558 (UTC) FILETIME=[6356B4E0:01C93ADD]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=4304; t=1225405090; x=1226269090; c=relaxed/simple; s=hkgdkim1002; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=fred@cisco.com; z=From:=20Fred=20Baker=20<fred@cisco.com> |Subject:=20Re=3A=20Application=20awareness=20of=20translat or=20in=20draft-baker-behave-v4v6-translation-00 |Sender:=20; bh=yX0woj/1brooFyEs7Dr9z4ydSRqQpHi9K0ZXj4ezHFM=; b=CsoLsBOMq2VgYEx6vDZYafVIcz5x8ei/KNddQ6eUktnjBvNoNpGamcXMkw 5uw03c9MwGhM7hOrJSHBkBTaSAu6SLQ/amIEd6a0CSuQfVcOaCkM6pof6p0O DwYriS9J4vzrISefWerajD3VC1uZHg1FTM1VsI8K2QoFsvTrlBGRs=;
Authentication-Results: hkg-dkim-1; header.From=fred@cisco.com; dkim=pass ( sig from cisco.com/hkgdkim1002 verified; );
Cc: behave@ietf.org, congxiao@cernet.edu.cn, 'Xing Li' <xing@cernet.edu.cn>
Subject: Re: [BEHAVE] Application awareness of translator in draft-baker-behave-v4v6-translation-00
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/pipermail/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes"
Sender: behave-bounces@ietf.org
Errors-To: behave-bounces@ietf.org
Thanks; good catch. Let us rework that part. On Oct 31, 2008, at 1:10 AM, Dan Wing wrote: > Fred, Xing, Congxiao, > > (speaking as individual contributor) > > I stumbled when I read Section 1.4 of > http://tools.ietf.org/html/draft-baker-behave-v4v6-translation-00. > Three > points: > > * I believe much of the text in that section belongs in the > Framework document > as it is not specific to a particular kind of translation. The text > is trying > to describe the problem (when translation occurs, an application > will be > connecting to a host with a different address family and over that > connection > the 'wrong' address family might be exchanged; this can lead to > application > confusion) and also a solution (IN6_IS_ADDR_V4MAPPED). > > * Some of the text describes stuff that just doesn't work. For > example, > > There are no extra changes needed to applications to operate through > a translator beyond what applications already need to do to operate > on a dual node. The applications that have been modified to work on > a dual node already have the mechanisms to determine whether they > are > communicating with an IPv4 or an IPv6 peer. Thus if the > applications > need to modify their behavior depending on the type of the peer, > such > as ftp determining whether to fallback to using the PORT/PASV > command > when EPRT/EPSV fails (as specified in [RFC2428]), they already need > to do that when running on dual nodes and the presence of > translators > does not add anything. For example, when using the socket API > [RFC3493] the applications know that the peer is IPv6 if they get an > AF_INET6 address from the name service and the address is not an > IPv4-mapped address (i.e., IN6_IS_ADDR_V4MAPPED returns false). If > this is not the case, i.e., the address is AF_INET or an IPv4-mapped > IPv6 address, the peer is IPv4. > > IN6_IS_ADDR_V4MAPPED only knows about IANA-registered prefixes for > Teredo and > 6to4. I don't believe IN6_IS_ADDR_V4MAPPED is able, by itself, to > determine > there is an embedded IPv4 address in the IPv6 address -- but correct > me if I'm > wrong. In order for IN6_IS_ADDR_V4MAPPED to indicate the address > went through > a translator when the translator's IPv6 prefix is chosen by the ISP > (rather > than IANA) the host needs to know the IPv6 prefix (and length) in > order for > the IN6_IS_ADDR_V4MAPPED macro to function as expected. This means > (a) the > host's stack needs to implement something like > draft-wing-behave-learn-prefix-00.txt and tie that learned adddress > into to > its IN6_IS_ADDR_V4MAPPED macro or (b) the application needs to > implement > something like draft-wing-behave-learn-prefix-00.txt. > > * The text describing EPRT/EPSV needs considerable expansion. At > this point > there is consensus that a DNSSEC-aware resolver in the end host > needs to know > about the translator. But I don't believe there is consensus that > other > applications -- such as FTP -- need to be knowledgable about the > translator. > In the past, Brian Carpenter has raised an objection to the idea of > putting > translator awareness into IPv6 applications > <http://www.ietf.org/mail-archive/web/behave/current/msg04129.html> > so I > expect more discussion around this will be necessary. If we decide > to have > the application be aware of the translator, a generalized document > titled > "Application Aspects of IPv6 Translation" seems appropriate and > would be > similar to the existing RFC4038 ("Application Aspects of IPv6 > Transition", > previously draft-ietf-v6ops-application-transition). > > The alternative to translator awareness in the host's application is > an ALG > somewhere in the network (probably as part of the translator). In > BEHAVE for > NAT44, due to the existing deployment of FTP ALGs we agreed that FTP > ALGs were > tolerable. > > We need to decide where protocols should be 'fixed up' for > translation. This > decision might be on an application-by-application basis. Starting > with the > FTP seems appropriate, as everyone is reasonably familiar with it. > > -d > _______________________________________________ Behave mailing list Behave@ietf.org https://www.ietf.org/mailman/listinfo/behave
- [BEHAVE] Application awareness of translator in d… Dan Wing
- Re: [BEHAVE] Application awareness of translator … Dave Thaler
- Re: [BEHAVE] Application awareness of translator … Dan Wing
- Re: [BEHAVE] Application awareness of translator … Dave Thaler
- Re: [BEHAVE] Application awareness of translator … Fred Baker
- Re: [BEHAVE] Application awareness of translator … Fred Baker
- Re: [BEHAVE] Application awareness of translator … Rémi Denis-Courmont
- Re: [BEHAVE] Application awareness of translator … Rémi Denis-Courmont
- Re: [BEHAVE] Application awareness of translator … Dan Wing
- Re: [BEHAVE] Application awareness of translator … Fred Baker
- Re: [BEHAVE] Application awareness of translator … Xing Li