Date: Fri, 18 Aug 2000 02:37:21 +0900 (JST) From: Hajimu UMEMOTO <ume@mahoroba.org> To: archie@whistle.com Cc: freebsd-current@freebsd.org Subject: Re: 5.0 snapshot install problem Message-ID: <20000818.023721.115915969.ume@mahoroba.org> In-Reply-To: <200008171723.KAA94975@bubba.whistle.com> References: <20000818.005433.112615995.ume@mahoroba.org> <200008171723.KAA94975@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> On Thu, 17 Aug 2000 10:23:17 -0700 (PDT) >>>>> Archie Cobbs <archie@whistle.com> said: archie> Hajimu UMEMOTO writes: > archie> I'm having trouble installing the 5.0-20000815-CURRENT snapshot. > archie> The problem seems to be broken behavior in the installer FTP client. > archie> My firewall requires using passive mode. The installer asks the > archie> FTP server for passive mode (using PASV), but then it bogusly asks > archie> for active mode (using the PORT command) immediately afterwards. > archie> Yes I selected 'passive mode ftp' for the transfer method. > > It seems -CURRENT's libftpio.c always set passive flag according to > environment variable FTP_PASSIVE_MODE. Then, PASV/PORT selection > obeys only FTP_PASSIVE_MODE and direction of sysinstall is ignored. > Does this patch fix your problem? archie> Don't know, because I'd have to create new install floppies first.. archie> But I don't think this patch would fix things.. I don't see any archie> logical flaw there. ftpPassive() just checks that the toggle is archie> set to the right value -- it doesn't necessarily do anything. After checking, FTP_PASSIVE_MODE is tested by check_passive() every fetGET() call. check_passive() calls ftpPassive(). So, ftp->is_passive is resetted. archie> The only way I can see that PASV would be sent immediately followed archie> by PORT is due to incorrect logic in the installer (or possibly a archie> bug in libftpio's parsing of the 227 reply). I think no. Your tcpdump shows both PASV and PORT were issued. I think first PASV was issued by ftpPassive() called from sytinstll and PORT was issued by ftp_file_op() called by ftpGet(). -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000818.023721.115915969.ume>