Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2008 23:43:39 -0800
From:      "Ted Mittelstaedt" <tedm@toybox.placo.com>
To:        "Doug Hardie" <bc979@lafn.org>, "Wojciech Puchar" <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: FreeBSD 6.3, ftpd and crappy clients
Message-ID:  <BMEDLGAENEKCJFGODFOCOEGNCFAA.tedm@toybox.placo.com>
In-Reply-To: <662F9716-8E77-42B6-8E46-BDF6D91D572F@lafn.org>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BMEDLGAENEKCJFGODFOCOEGNCFAA.tedm>