From owner-freebsd-stable Sun May 28 18: 4:25 2000 Delivered-To: freebsd-stable@freebsd.org Received: from smtp10.atl.mindspring.net (smtp10.atl.mindspring.net [207.69.200.246]) by hub.freebsd.org (Postfix) with ESMTP id 5B57337BA29 for ; Sun, 28 May 2000 18:04:22 -0700 (PDT) (envelope-from mvh@ix.netcom.com) Received: from netcom1.netcom.com (lai-ca3c-25.ix.netcom.com [209.110.242.25]) by smtp10.atl.mindspring.net (8.9.3/8.8.5) with ESMTP id VAA00606; Sun, 28 May 2000 21:04:19 -0400 (EDT) Received: by netcom1.netcom.com (Postfix, from userid 1000) id 11D69E6E5C; Sun, 28 May 2000 18:04:07 -0700 (PDT) From: Mike Harding To: andrews@technologist.com Cc: stable@FreeBSD.org In-reply-to: <20000528190327.C10345@argon.gryphonsoft.com> (message from Will Andrews on Sun, 28 May 2000 19:03:27 -0400) Subject: Re: ftp(1) breakage w/ passive mode? References: <20000528190327.C10345@argon.gryphonsoft.com> Message-Id: <20000529010407.11D69E6E5C@netcom1.netcom.com> Date: Sun, 28 May 2000 18:04:07 -0700 (PDT) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Actually, since FTP proxies have come up - does anyone know how to get 'fetch' to use 'squid' as an FTP proxy? I thought I had set this up in the past, but maybe it was ncftp. Anyway, when I do the obvious, it says 'wrong state' or somesuch. - Mike Harding Date: Sun, 28 May 2000 19:03:27 -0400 From: Will Andrews Cc: FreeBSD Current Content-Type: text/plain; charset=us-ascii X-Operating-System: FreeBSD 5.0-CURRENT i386 Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.ORG Precedence: bulk X-RULES: lists [ i'm not on -stable, but am on -current ] Hi all, I'm having trouble with ftp(1) in passive mode on 4-STABLE and 5-CURRENT: FreeBSD 4.0-STABLE #0: Sat May 27 10:26:43 EDT 2000 FreeBSD 5.0-CURRENT #1: Fri May 26 04:52:03 EDT 2000 <2 5002-0> (18:46:17) [will@radon ~]% ftp ftp://ftp.FreeBSD.org/pub/ Connected to ftp.freesoftware.com. [..] 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. 200 Type set to I. 250 CWD command successful. 250 CWD command successful. ftp> ls 500 'EPSV': command not understood. 500 'LPSV': command not understood. Passive mode refused. ftp> However, it works on some servers: <2 5007-0> (18:49:16) [will@radon /usr/src/usr.bin/ftp]% ftp ftp://ftp.cs.ubc.ca/ Connected to ftp.cs.ubc.ca. [..] 200 Type set to I. 250 CWD command successful. ftp> ls 227 Entering Passive Mode (142,103,6,49,233,148) 150 Opening ASCII mode data connection for /bin/ls. total 28 drwxrwxr-x 10 root other 512 Jan 17 1996 . drwxrwxr-x 10 root other 512 Jan 17 1996 .. lrwxrwxrwx 1 root other 7 Dec 27 1995 bin -> usr/bin lrwxrwxrwx 1 root other 1 Dec 27 1995 cs -> . [..] ftp> quit So it seems there's something quite broken in the code. My suspect is rev 1.25 of ftp.c and associated commits. -- Will Andrews GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w--- ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ G++>+++ e->++++ h! r-->+++ y? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message