From owner-freebsd-current Tue May 30 18:14:44 2000 Delivered-To: freebsd-current@freebsd.org Received: from coconut.itojun.org (coconut.itojun.org [210.160.95.97]) by hub.freebsd.org (Postfix) with ESMTP id 67D9237BE0C; Tue, 30 May 2000 18:14:35 -0700 (PDT) (envelope-from itojun@itojun.org) Received: from kiwi.itojun.org (localhost.itojun.org [127.0.0.1]) by coconut.itojun.org (8.9.3+3.2W/3.7W/smtpfeed 1.06) with ESMTP id KAA04988; Wed, 31 May 2000 10:14:33 +0900 (JST) To: Hajimu UMEMOTO (=?ISO-2022-JP?B?GyRCR19LXBsoQiAbJEJIJRsoQg==?=) Cc: Cy.Schubert@uumail.gov.bc.ca, alex@big.endian.de, ume@bisd.hitachi.co.jp, andrews@technologist.com, stable@FreeBSD.ORG, current@FreeBSD.ORG In-reply-to: ume's message of Wed, 31 May 2000 03:30:25 JST. <200005301830.e4UIUOS49066@peace.mahoroba.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: ftp(1) breakage w/ passive mode? From: itojun@iijlab.net Date: Wed, 31 May 2000 10:14:33 +0900 Message-ID: <4986.959735673@coconut.itojun.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Yes. the patch convert all IPv4 mapped IPv6 address returned into >IPv4 address. If someone announce mapped address using AAAA RR, it >also converted. So, caller have no chance to know whether returned >address is mapped address or native IPv4 address. However, I think >this is rare case in at least now. >After correcting getaddrinfo()'s search order, in some case, A RR is >accidentaly converted into mapped address without expectation of >caller. This may confuse IPv4 people and force inconvenience. I >worry about this. >Fixing ftp(1) and other caller is also important. But, it is another >issue. isn't there some issue in getipnodebyname(), instead of getaddrinfo()? (NOTE: I'm not really up-to-date with the current status of freebsd4 lib/libc/net) if you can tell me repeatable example of getaddrinfo() failure, that would be helpful... itojun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message