Date: 10 Jul 2000 09:33:51 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: Hajimu UMEMOTO <ume@bisd.hitachi.co.jp> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libfetch ftp.c Message-ID: <xzp66qe30dc.fsf@flood.ping.uio.no> In-Reply-To: Hajimu UMEMOTO's message of "Mon, 10 Jul 2000 16:13:19 %2B0900" References: <200007080927.CAA28425@freefall.freebsd.org> <20000710.004713.71082196.ume@mahoroba.org> <xzpsnti325b.fsf@flood.ping.uio.no> <200007100713.e6A7DKF39317@plum.ssr.bisd.hitachi.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hajimu UMEMOTO <ume@bisd.hitachi.co.jp> writes: > >>>>> On 10 Jul 2000 08:55:28 +0200 > >>>>> des@flood.ping.uio.no (Dag-Erling Smorgrav) said: > des> Hajimu UMEMOTO <ume@mahoroba.org> 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: > > <text indicating server is entering extended passive mode> \ > (<d><d><d><tcp-port><d>) > [...] > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp66qe30dc.fsf>