From owner-cvs-all Mon Jul 10 0:34:18 2000 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 1340F37BC9C; Mon, 10 Jul 2000 00:34:11 -0700 (PDT) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id JAA73259; Mon, 10 Jul 2000 09:33:51 +0200 (CEST) (envelope-from des@flood.ping.uio.no) To: Hajimu UMEMOTO Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch ftp.c References: <200007080927.CAA28425@freefall.freebsd.org> <20000710.004713.71082196.ume@mahoroba.org> <200007100713.e6A7DKF39317@plum.ssr.bisd.hitachi.co.jp> From: Dag-Erling Smorgrav Date: 10 Jul 2000 09:33:51 +0200 In-Reply-To: Hajimu UMEMOTO's message of "Mon, 10 Jul 2000 16:13:19 +0900" Message-ID: Lines: 32 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hajimu UMEMOTO writes: > >>>>> On 10 Jul 2000 08:55:28 +0200 > >>>>> des@flood.ping.uio.no (Dag-Erling Smorgrav) said: > des> Hajimu UMEMOTO writes: > des> > This breaks IPv6. Please backout it. > des> Sorry, but no. Instead, tell me why it breaks IPv6 and I'll try to fix > des> it (or even better, send me patches). > Why? Is there any such servers that don't enclose remote address with > parentheses? Unfortunately, yes (try ftp.astron.com, for instance). And there are examples in RFC959 of 227 replies which do not enclose the address in parentheses. > Because, RFC2428 Page 5 says as follows: > > The text returned in response to the EPSV command MUST be: > > \ > () > [...] > So, we cannot assume digit to distinguish the address. Furthermore, > IPv6 address is NOT digit but hex. > However, it is for 229. So, we can separete 229 from 226. But, is it > nessesary? I'm afraid so. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message