Gentoo Archives: gentoo-user

From: David Haller <gentoo@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] vsftpd anonymous upload illegal PORT command
Date: Tue, 08 Aug 2017 23:18:20
Message-Id: 20170808231759.kwa4aez5o2wyxqt7@grusum.endjinn.de
In Reply to: Re: [gentoo-user] vsftpd anonymous upload illegal PORT command by Walter Dnes
1 Hello,
2
3 On Mon, 07 Aug 2017, Walter Dnes wrote:
4 >On Fri, Aug 04, 2017 at 02:23:08PM +0200, David Haller wrote
5 >> # mkdir /home/ftp/incoming
6 >> # chown ftp.ftp /home/ftp/incoming
7 >> # chmod 1777 /home/ftp/incoming
8 >> # chmod 555 /home/ftp
9 >
10 > I did the above (copy+paste; *WITHOUT* the "#", in case anyone asks).
11 >Here's what happens. Question... why is it prompting me with "530 Please
12 >login with USER and PASS." *AFTER* I give username "anonymous". BTW, if
13 >I try any username, other than anonymous, it dies with a message about
14 >being only an anonymous ftp server.
15 >
16 >[i3][waltdnes][~/downloads] ftp -p 192.168.123.251
17 >Connected to 192.168.123.251 (192.168.123.251).
18 >220 (vsFTPd 3.0.2)
19 >Name (192.168.123.251:waltdnes): anonymous
20 >530 Please login with USER and PASS.
21 >SSL not available
22 >331 Please specify the password.
23 >Password:
24 >230 Login successful.
25 >Remote system type is UNIX.
26 >Using binary mode to transfer files.
27
28 Try a:
29
30 ftp> cd incoming
31
32 here...
33
34
35 >ftp> put install-x86-minimal-20170207.iso
36
37 or use
38
39 ftp> put install-x86-minimal-20170207.iso incoming/
40
41 there.
42
43 >local: install-x86-minimal-20170207.iso remote: install-x86-minimal-20170207.iso
44 >227 Entering Passive Mode (192,168,123,251,117,59).
45 >553 Could not create file.
46 >ftp> bye
47 >221 Goodbye.
48
49 HTH,
50 -dnh
51
52 --
53 panic("floppy: Port bolixed.");
54 linux-2.2.16/include/asm-sparc/floppy.h

Replies

Subject Author
[gentoo-user] [SOLVED] vsftpd anonymous upload illegal PORT command Walter Dnes <waltdnes@××××××××.org>