From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 09:19:06 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24C9D106567B for ; Wed, 27 Feb 2008 09:19:06 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoot.lafn.org (zoot.lafn.ORG [206.117.18.6]) by mx1.freebsd.org (Postfix) with ESMTP id EA51B13C4F8 for ; Wed, 27 Feb 2008 09:19:00 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.2] (pool-71-116-247-93.lsanca.dsl-w.verizon.net [71.116.247.93]) (authenticated bits=0) by zoot.lafn.org (8.13.6/8.13.4) with ESMTP id m1R9IAni011368 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 27 Feb 2008 01:18:59 -0800 (PST) (envelope-from bc979@lafn.org) From: Doug Hardie To: Ted Mittelstaedt In-Reply-To: X-Priority: 3 (Normal) References: Message-Id: <3BFD44F9-6487-4762-84A1-A58C03E68B71@lafn.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Wed, 27 Feb 2008 01:18:59 -0800 X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.88.7/6007/Wed Feb 27 00:24:30 2008 on zoot.lafn.org X-Virus-Status: Clean Cc: Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: FreeBSD 6.3, ftpd and crappy clients X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 09:19:06 -0000 On Feb 26, 2008, at 23:43, Ted Mittelstaedt wrote: > > >> -----Original Message----- >> From: owner-freebsd-questions@freebsd.org >> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Doug Hardie >> Sent: Tuesday, February 26, 2008 11:12 PM >> To: Wojciech Puchar >> Cc: freebsd-questions@freebsd.org >> Subject: Re: FreeBSD 6.3, ftpd and crappy clients >> >> >> >> On Feb 26, 2008, at 22:58, Wojciech Puchar wrote: >> >>> is ftpd changed compared to 6.2? >>> all normal clients (like classic ftp, lftp) works fine, unix mozilla >>> ftp client, and few winftp clients shows empty catalog. >>> >>> i know that's crappy clients, but worked with 6.2 (i think ;) >>> >>> any solution? (except the best - changing to working clients) >> >> You might try using the PASSIV switch. > > That could be it, but I really doubt it, here's the output > from 2 different systems I have, one running 6.2 the other 6.3: > > C:\Documents and Settings\tedm>ftp XXX.XXX.XXX > Connected to XXX.XXX.XXX. > 220 XXX.XXX.XXX FTP server (Version 6.00LS) ready. > User (XXX.XXX.XXX:(none)): tedm > 331 Password required for tedm. > Password: > 230 User tedm logged in. > ftp> dir > 200 PORT command successful. > 150 Opening ASCII mode data connection for '/bin/ls'. > total 16 > -rw-r--r-- 1 tedm staff 767 Feb 22 20:11 .cshrc > -rw-r--r-- 1 tedm staff 248 Feb 22 20:11 .login > -rw-r--r-- 1 tedm staff 158 Feb 22 20:11 .login_conf > -rw------- 1 tedm staff 373 Feb 22 20:11 .mail_aliases > -rw-r--r-- 1 tedm staff 331 Feb 22 20:11 .mailrc > -rw-r--r-- 1 tedm staff 797 Feb 22 20:11 .profile > -rw------- 1 tedm staff 276 Feb 22 20:11 .rhosts > -rw-r--r-- 1 tedm staff 975 Feb 22 20:11 .shrc > 226 Transfer complete. > ftp: 441 bytes received in 0.00Seconds 441000.00Kbytes/sec. > ftp> > > C:\Documents and Settings\tedm>ftp YYY.YYY.YYY > Connected to YYY.YYY.YYY. > 220 YYY.YYY.YYY FTP server (Version 6.00LS) ready. > User (YYY.YYY.YYY:(none)): tedm > 331 Password required for tedm. > Password: > 230 User tedm logged in. > ftp> dir > 200 PORT command successful. > 150 Opening ASCII mode data connection for '/bin/ls'. > total 760344 > -rw-r--r-- 1 tedm staff 767 Jan 24 2007 .cshrc > -rw------- 1 tedm staff 35 Feb 26 14:18 .lesshst > -rw-r--r-- 1 tedm staff 248 Jan 24 2007 .login > -rw-r--r-- 1 tedm staff 158 Jan 24 2007 .login_conf > -rw------- 1 tedm staff 373 Jan 24 2007 .mail_aliases > -rw-r--r-- 1 tedm staff 331 Jan 24 2007 .mailrc > -rw-r--r-- 1 tedm staff 805 Apr 11 2007 .profile > -rw------- 1 tedm staff 276 Jan 24 2007 .rhosts > -rw-r--r-- 1 tedm staff 975 Jan 24 2007 .shrc > drwx------ 2 tedm staff 512 Feb 1 23:52 .ssh > 226 Transfer complete. > ftp: 2350 bytes received in 0.30Seconds 7.81Kbytes/sec. > ftp> > > See the difference? There ISN'T any. It's the same > program. > > Likely he just made a mistake and selected lukeftpd in > the inetd.conf file rather than the normal ftpd. > > He would also need to select the passive switch in the > client, not the server, with whatever radio button > it uses. > > Ted I guess my response wasn't as clear as I thought it was. Ftp clients have a default for passive mode. Some default to using it and others to having it off. I have encountered ftp clients in the PC world that have problems with the default mode. Often its because of a firewall issue somewhere along the line. Changing that setting in the client by using the PASSIV command often works for me.