From owner-freebsd-current Thu Aug 17 8:55:32 2000 Delivered-To: freebsd-current@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id B976E37B6C4 for ; Thu, 17 Aug 2000 08:55:24 -0700 (PDT) Received: from localhost (IDENT:p5l+keMyhC5IbyMewp7cZUQUv4d4ydJoRBUOzufffSJ4lBRZw5TYIaDNb9jz6NKq@localhost [::1]) (authenticated) by peace.mahoroba.org (8.11.0/8.11.0/peace) with ESMTP/inet6 id e7HFscv19787; Fri, 18 Aug 2000 00:54:38 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 18 Aug 2000 00:54:33 +0900 (JST) Message-Id: <20000818.005433.112615995.ume@mahoroba.org> To: archie@whistle.com Cc: freebsd-current@freebsd.org Subject: Re: 5.0 snapshot install problem From: Hajimu UMEMOTO In-Reply-To: <200008162031.NAA90755@bubba.whistle.com> References: <200008162031.NAA90755@bubba.whistle.com> X-Mailer: xcite1.20> Mew version 1.95b38 on Emacs 20.6 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> On Wed, 16 Aug 2000 13:31:25 -0700 (PDT) >>>>> Archie Cobbs said: 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? Index: lib/libftpio/ftpio.c =================================================================== RCS file: /home/ncvs/src/lib/libftpio/ftpio.c,v retrieving revision 1.37 diff -u -u -r1.37 ftpio.c --- lib/libftpio/ftpio.c 2000/07/10 10:00:20 1.37 +++ lib/libftpio/ftpio.c 2000/08/17 15:40:43 @@ -550,7 +550,8 @@ { char *cp = getenv("FTP_PASSIVE_MODE"); - ftpPassive(fp, (cp && strncasecmp(cp, "no", 2))); + if (cp) + ftpPassive(fp, strncasecmp(cp, "no", 2)); } static void -- 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