From owner-freebsd-hackers Thu Dec 3 18:11:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA04363 for freebsd-hackers-outgoing; Thu, 3 Dec 1998 18:11:15 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA04354 for ; Thu, 3 Dec 1998 18:11:11 -0800 (PST) (envelope-from itojun@itojun.org) Received: from kiwi.itojun.org (itojun@localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.1+3.1W/3.7W/smtpfeed 0.89) with ESMTP id LAA27491; Fri, 4 Dec 1998 11:10:52 +0900 (JST) To: Guido van Rooij cc: "Jordan K. Hubbard" , Andreas Klemm , Eivind Eklund , hackers@FreeBSD.ORG In-reply-to: guido's message of Thu, 03 Dec 1998 19:10:01 +0100. <19981203191001.A28037@gvr.org> X-Template-Reply-To: itojun@itojun.org X-Template-Return-Receipt-To: itojun@itojun.org X-PGP-Fingerprint: F8 24 B4 2C 8C 98 57 FD 90 5F B4 60 79 54 16 E2 Subject: Re: Can we just come to a decision on IPv6 and IPSec? From: Jun-ichiro itojun Itoh Date: Fri, 04 Dec 1998 11:10:51 +0900 Message-ID: <27487.912737451@coconut.itojun.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >As an end user on a IPV6 system, when I do telnet foo.bar.org, >the resolver will try if there exist an AAAA record for that host and >talk IPV6 directly. When no such record is available, it will return >an IPV6 mapped address (if I recall the terminology right). In that case, >the address (again, if my memory serves me right) >::ffff:a.b.c.d is returned and the kernel can automatically decide that >thta is a mapped address and put the packets to the ipv4 stack on the system >(with address a.b.c.d) all transparent to the end user. > >It seems the WIDE stack can not do this (at least not now). They >have something called 'faith' which supposedly handles this from >userland but I think this should be handled in the kernel. > >I think handling this transparently is a key issue in the ipv4->v6 migrattion. I believe it is not. The key point is, applications must be updated to be protocol family independent. They should use getaddrinfo() instead of gethostbyname2(). >Does anyone know: >1) If WIDE will deal with this in a later stadium? >2) What the INRIA stack does? I don't remember correctly (as I don't use mapped address frequently), but if you have KAME on FreeBSD 2.2.7, some code should come with the kit. There should be environment variable or flag in _res structure for controlling resolver's behavior. One thing we don't implement intentionally is automatic tunnelling (packets to ::10.1.1.1 automatically tunnelled over IPv6-over-IPv4 tunnel to 10.1.1.1). itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message