ftpd strangeness
John Williams
john.williams at petalogix.com
Fri Sep 4 00:22:15 UTC 2009
On Thu, Sep 3, 2009 at 8:25 PM, Denys Vlasenko <vda.linux at googlemail.com>wrote:
> On Thursday 03 September 2009 05:25, John Williams wrote:
> >
>
> We're using busybox 1.14.3 on MicroBlaze w/MMU, and all is working
> > nicely except a couple of minor issues. First off the rank, in ftpd
> > we see the following:
> >
> > * auth: When connecting to the target, we can login as anyone,
> > regardless of whether they appear in /etc/password or not. e.g.
> >
> > [jwilliams at petalogix-ws1 petalinux-dist]$ ftp 192.168.0.11
> > Connected to 192.168.0.11.
> > 220 Operation successful
> > 500 Unknown command
> > 500 Unknown command
> > KERBEROS_V4 rejected as an authentication type
> > Name (192.168.0.11:jwilliams): fooble
> > 230 Operation successful
> > Remote system type is UNIX.
> > Using binary mode to transfer files.
>
> Yes. busybox's ftpd has only anonymous mode.
> In order to keep code small, it does not bother to
> check usernames. So, you don't even need to login
> as "anonymous", and username will do.
> In fact, you don't even need to login.
> You can connect and immediately start downloading stuff,
> without issuing USER or PASS commands.
>
OK. We'll use a standalone ftpd if we wnt user auth.
>
> > * put: - the put command doesn't work:
> > ftp> put README
> > local: README remote: README
> > 227 PASV ok (192,168,0,11,200,218)
> > 500 Unknown command
>
> It is described in the usage text. You need to use -w option:
>
Got it - thanks.
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090904/8387fe98/attachment.htm>
More information about the busybox
mailing list