From owner-cvs-all Mon Jul 10 0:16: 3 2000 Delivered-To: cvs-all@freebsd.org Received: from hitpro.hitachi.co.jp (hitpro.hitachi.co.jp [133.145.224.7]) by hub.freebsd.org (Postfix) with ESMTP id 80E8737B669; Mon, 10 Jul 2000 00:15:55 -0700 (PDT) (envelope-from ume@bisd.hitachi.co.jp) Received: from bisdgw.bisd.hitachi.co.jp by hitpro.hitachi.co.jp (8.9.3/3.7W-hitpro) id QAA14183; Mon, 10 Jul 2000 16:13:22 +0900 (JST) Received: from plum.ssr.bisd.hitachi.co.jp by bisdgw.bisd.hitachi.co.jp (8.9.3+3.2W/3.7W-bisdgw) with ESMTP id QAA22053; Mon, 10 Jul 2000 16:13:21 +0900 (JST) (envelope-from ume@bisd.hitachi.co.jp) Received: from localhost (IDENT:sJ0K2QTacuaODsJIOzpxsPY+hmLRK3IcBjdi/5hpKHh06R9ImG/JAQCZN/WnNzVc@localhost [::1]) by plum.ssr.bisd.hitachi.co.jp (8.10.1/3.7W-plum) with ESMTP id e6A7DKF39317; Mon, 10 Jul 2000 16:13:20 +0900 (JST) (envelope-from ume@bisd.hitachi.co.jp) Message-Id: <200007100713.e6A7DKF39317@plum.ssr.bisd.hitachi.co.jp> To: des@flood.ping.uio.no Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch ftp.c From: Hajimu UMEMOTO In-Reply-To: References: <200007080927.CAA28425@freefall.freebsd.org> <20000710.004713.71082196.ume@mahoroba.org> X-Mailer: xcite1.20> Mew version 1.94.2 on XEmacs 21.1 (Bryce Canyon) X-PGP-Fingerprint: D3 3D D3 54 88 13 DE 22 3F 31 C4 4D A1 08 84 7B X-PGP-Public-Key: http://www.imasy.org/~ume/ume@bisd.hitachi.co.jp.asc X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 4.0-STABLE Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 10 Jul 2000 16:13:19 +0900 X-Dispatcher: imput version 20000414(IM141) Lines: 41 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On 10 Jul 2000 08:55:28 +0200 >>>>> des@flood.ping.uio.no (Dag-Erling Smorgrav) said: des> Hajimu UMEMOTO writes: > >>>>> On Sat, 8 Jul 2000 02:27:48 -0700 (PDT) > >>>>> Dag-Erling Smorgrav said: > des> Modified files: > des> lib/libfetch ftp.c > des> Log: > des> Don't assume the remote address in a 227 reply is enclosed in parentheses. > 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? Because, RFC2428 Page 5 says as follows: The text returned in response to the EPSV command MUST be: \ () and, is described in Page 2: Following the space, a delimiter character () MUST be specified. The delimiter character MUST be one of the ASCII characters in range 33-126 inclusive. The character "|" (ASCII 124) is recommended unless it coincides with a character needed to encode the network address. 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? -- Hajimu UMEMOTO @ Business Solution System Development Div., Hitachi Ltd. E-Mail: ume@bisd.hitachi.co.jp ume@mahoroba.org ume@FreeBSD.org URL: http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message