NSLU2-Linux
view · edit · print · history

Optware.Vsftpd-FTP History

Hide minor edits - Show changes to markup

December 29, 2009, at 07:19 AM by Jim DeLaHunt -- Get rid of another spurious wikilink, and fix formatting problems.
Changed line 20 from:

'500 OOPS: could not bind listening IPv4'

to:
 '500 OOPS: could not bind listening IPv4'
Changed line 31 from:

"- FC10 patch (vsftpd-2.0.6-listen.patch): default listen to YES"

to:
 "- FC10 patch (vsftpd-2.0.6-listen.patch): default listen to YES"
Changed line 35 from:

Previous versions of vsftpd for NSLU2 UnSlung? didn't

to:

Previous versions of vsftpd for NSLU2 UnSlung didn't

December 29, 2009, at 07:18 AM by Jim DeLaHunt -- Get rid of spurious wikilinks
Changed line 20 from:
 '500 OOPS: could not bind listening IPv4?'
to:

'500 OOPS: could not bind listening IPv4'

Changed line 31 from:
 "- FC10? patch (vsftpd-2.0.6-listen.patch): default listen to YES"
to:

"- FC10 patch (vsftpd-2.0.6-listen.patch): default listen to YES"

Changed line 35 from:

Previous versions of vsftpd for NSLU2 UnSlung? didn't

to:

Previous versions of vsftpd for NSLU2 UnSlung? didn't

December 29, 2009, at 06:59 AM by Jim DeLaHunt -- Attempt to fix up man page except formatting.
Changed lines 1-5 from:

Please refer to the Vsftpd page first. (That page is password locked, so posting here)

http://www.nslu2-linux.org/wiki/Optware/Vsftpd

to:

This page is a supplement to the Optware.Vsftpd page.

(That page was locked with a different password than usual, because of spam problems. This page is a temporary place to hold further Vsftpd information.)

Changed lines 17-18 from:

This is what diversion script /unslung/rc.xinetd is for.

to:

This is what diversion script /unslung/rc.xinetd is for.

Changed lines 20-22 from:

'500 OOPS: could not bind listening IPv4?'

to:
 '500 OOPS: could not bind listening IPv4?'
Changed lines 25-37 from:

_______________________________________________________

listen
If enabled, vsftpd will run in standalone mode. This means

that vsftpd must not be run from an inetd of some kind. Instead, the vsftpd executable is run once directly. vsftpd itself will then take care of listening for and handling incoming connections.

Default: YES ________________________________________________________

Notice that the default is yes.

to:
listen
If enabled, vsftpd will run in standalone mode. This means that vsftpd must not be run from an inetd of some kind. Instead, the vsftpd executable is run once directly. vsftpd itself will then take care of listening for and handling incoming connections.
Default
YES

Notice that the default is yes. This is bad for us, given we want to invoke Vsftpd from xinetd.

December 29, 2009, at 06:55 AM by Jim DeLaHunt -- Add headings, some editorial cleanup. Add section about xinetd.
Changed lines 6-7 from:
to:

Corrections to default vsftpd.conf

Changed lines 30-34 from:

listen

    If enabled, vsftpd will run in standalone mode. This means
 that vsftpd must not be run from an inetd of some kind.
 Instead, the vsftpd executable is run once directly. vsftpd 
to:
listen
If enabled, vsftpd will run in standalone mode. This means

that vsftpd must not be run from an inetd of some kind. Instead, the vsftpd executable is run once directly. vsftpd

Changed lines 36-37 from:
    Default: YES
to:

Default: YES

Changed lines 39-40 from:

notice that the default is yes.

to:

Notice that the default is yes.

Changed lines 42-43 from:

"- FC10? patch (vsftpd-2.0.6-listen.patch): default listen to YES"

to:
 "- FC10? patch (vsftpd-2.0.6-listen.patch): default listen to YES"
Changed lines 52-53 from:

xferlog_file=/opt/var/log/vsftpd.log

to:
 xferlog_file=/opt/var/log/vsftpd.log
Changed lines 59-63 from:

vsftpd_log_file=/opt/var/log/vsftpd.log

And please see the original (locked) Vsftpd page: http://www.nslu2-linux.org/wiki/Optware/Vsftpd

to:
 vsftpd_log_file=/opt/var/log/vsftpd.log

And please see the original (locked) Optware.Vsftpd page; this page is a supplement.

Changed lines 66-68 from:
to:

Invoking vsftpd from xinetd

If you are using xinetd, for instance because Samba 3.2 depends on it and installed it, then in order for xinetd to invoke vsftpd it needs a configuration file. Put something like the following into a file vsftpd in the directory /opt/etc/xinetd.d/.

# This is to control the vsftp FTP service.

service ftp
{
# This is for quick on or off of the service
	disable		= no

	id		    = ftp-vsftp
	wait		= no
	socket_type	= stream
	user		= root 
#	group		= 
	server		= /opt/sbin/vsftpd
	server_args	= /opt/etc/vsftpd.conf

#	port		= 21  # defined by /etc/services

# Logging options
	log_type	= SYSLOG authpriv debug
#	log_on_success	=
#	log_on_failure	=

# other options
	deny_time	= 120
	nice		= 10
}
June 22, 2009, at 06:15 AM by SRS -- VSFTPD version 2.1.2-2 default CONF file problems
Changed lines 45-46 from:

from changelog.

to:

(from changelog)

June 22, 2009, at 06:13 AM by SRS -- VSFTPD version 2.1.2-2 default CONF file problems
June 22, 2009, at 06:12 AM by SRS -- VSFTPD version 2.1.2-2 default CONF file problems
Added lines 43-46:

This took place when v2.1.0 released. "- FC10? patch (vsftpd-2.0.6-listen.patch): default listen to YES" from changelog.

June 22, 2009, at 03:52 AM by SRS -- VSFTPD version 2.1.2-2 default CONF file problems
Changed lines 43-45 from:

Previous versions of vsftpd didn't have this happen even though no 'listen' line was in the vsftpd.conf

to:

Previous versions of vsftpd for NSLU2 UnSlung? didn't have this happen even though a 'listen' line was not included the default vsftpd.conf

June 22, 2009, at 03:45 AM by SRS -- vsftpd
Added line 28:
Added line 30:
Added lines 57-59:

And please see the original (locked) Vsftpd page: http://www.nslu2-linux.org/wiki/Optware/Vsftpd

June 22, 2009, at 03:41 AM by SRS -- Vsftpd page locked so posting here
Changed lines 1-3 from:

Please refer to the vsftpd page first.

For VSFTPd? version 2.1.2-2 the default vsftpd.conf

to:

Please refer to the Vsftpd page first. (That page is password locked, so posting here)

http://www.nslu2-linux.org/wiki/Optware/Vsftpd

For VSFTPD version 2.1.2-2 the default vsftpd.conf

Added lines 17-18:

This is what diversion script /unslung/rc.xinetd is for.

Changed lines 29-30 from:
    If enabled, vsftpd will run in standalone mode. This means that vsftpd must not be run from an inetd of some kind. Instead, the vsftpd executable is run once directly. vsftpd itself will then take care of listening for and handling incoming connections.
to:
    If enabled, vsftpd will run in standalone mode. This means
 that vsftpd must not be run from an inetd of some kind.
 Instead, the vsftpd executable is run once directly. vsftpd 

itself will then take care of listening for and handling incoming connections.

Added lines 51-60:

The correct line would be:

vsftpd_log_file=/opt/var/log/vsftpd.log

I hope this helps anyone who is having problems with VSFTPD version 2.1.2-2.

June 22, 2009, at 03:32 AM by SRS -- vsftpd v 2.1.2-2 default conf file problems
Changed lines 1-39 from:

For version 2.1.2-2

to:

Please refer to the vsftpd page first.

For VSFTPd? version 2.1.2-2 the default vsftpd.conf has a couple of problems.

1) You MUST include a line:

   listen=NO

This is absolutely necessary when vsftpd is run from an inetd of some kind.

If you don't you will get an error like:

'500 OOPS: could not bind listening IPv4?'

and you can't connect to the ftp server.

from the man page:

_______________________________________________________ listen

    If enabled, vsftpd will run in standalone mode. This means that vsftpd must not be run from an inetd of some kind. Instead, the vsftpd executable is run once directly. vsftpd itself will then take care of listening for and handling incoming connections.

    Default: YES

________________________________________________________

notice that the default is yes.

Previous versions of vsftpd didn't have this happen even though no 'listen' line was in the vsftpd.conf

Also incorrect in the default vsftpd.conf is the line:

xferlog_file=/opt/var/log/vsftpd.log

which if used is ignored and your log file will be at the default location of /var/log/vsftpd.log

June 22, 2009, at 03:11 AM by SRS -- vsftp page locked, so posinhg here
Added line 1:

For version 2.1.2-2

view · edit · print · history · Last edited by Jim DeLaHunt.
Based on work by Jim DeLaHunt and SRS.
Originally by SRS.
Page last modified on December 29, 2009, at 07:19 AM