From owner-freebsd-current Sun Feb 20 13:37: 3 2000 Delivered-To: freebsd-current@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 542) id 3820037C03A; Sun, 20 Feb 2000 13:37:01 -0800 (PST) Date: Sun, 20 Feb 2000 13:37:01 -0800 From: "Andrey A. Chernov" To: Yoshinobu Inoue Cc: saxonww@ufl.edu, current@FreeBSD.ORG Subject: Re: Broken FTP Message-ID: <20000220133701.A27747@freebsd.org> References: <20000218103132.A74763@freebsd.org> <20000219044734W.shin@nd.net.fujitsu.co.jp> <20000218152417.A52305@freebsd.org> <20000219181917Q.shin@nd.net.fujitsu.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <20000219181917Q.shin@nd.net.fujitsu.co.jp>; from shin@nd.net.fujitsu.co.jp on Sat, Feb 19, 2000 at 06:19:17PM +0900 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 19, 2000 at 06:19:17PM +0900, Yoshinobu Inoue wrote: > EPSV is just enhanced version of PASV, and I think it needs to > check same kind of errors. Maybe same check as getreply() in > ftp/ftp.c will be necessary. About the spec, please check RFC2428. > > But the problem is that the error message is printed in > getreply() which is called from command(), because the error > message is sent from server. I don't look at the code deeply yet, but it looks from your words that EPSV command must be issued _only_ if ftp called as pftp or 'passive' command given or FTP_PASIVE_MODE env. variable is set and must be not issued in normal ftp mode at all, so it seems another bug found... -- Andrey A. Chernov http://nagual.pp.ru/~ache/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message