• xferlog_enable — When enabled, vsftpd logs connections (vsftpd format only) and file
transfer information to the log file specified in the vsftpd_log_file directive (/var/log/
vsftpd.log by default). If xferlog_std_format is set to YES, file transfer information is
logged but connections are not, and the log file specified in xferlog_file (/var/log/xferlog
by default) is used instead. It is important to note that both log files and log formats are used if
dual_log_enable is set to YES.
The default value is NO. Note, in Red Hat Enterprise Linux, the value is set to YES.
• xferlog_file — Specifies the wu-ftpd-compatible log file. For this file to be used,
xferlog_enable must be enabled and xferlog_std_format must be set to YES. It is also
used if dual_log_enable is set to YES.
The default value is /var/log/xferlog.
• xferlog_std_format — When enabled in conjunction with xferlog_enable, only a wu-ftpd-
compatible file transfer log is written to the file specified in the xferlog_file directive (/var/
log/xferlog by default). It is important to note that this file only logs file transfers and does not
log connections to the server.
The default value is NO. Note, in Red Hat Enterprise Linux, the value is set to YES.
Important
To maintain compatibility with log files written by the older wu-ftpd FTP server, the
xferlog_std_format directive is set to YES under Red Hat Enterprise Linux. However,
this setting means that connections to the server are not logged.
To both log connections in vsftpd format and maintain a wu-ftpd-compatible file
transfer log, set dual_log_enable to YES.
If maintaining a wu-ftpd-compatible file transfer log is not important, either set
xferlog_std_format to NO, comment the line with a hash mark (#), or delete the line
entirely.
23.5.8. Network Options
The following lists directives which affect how vsftpd interacts with the network.
• accept_timeout — Specifies the amount of time for a client using passive mode to establish a
connection.
The default value is 60.
• anon_max_rate — Specifies the maximum data transfer rate for anonymous users in bytes per
second.
The default value is 0, which does not limit the transfer rate.
• connect_from_port_20 When enabled, vsftpd runs with enough privileges to open port 20 on
the server during active mode data transfers. Disabling this option allows vsftpd to run with less
privileges, but may be incompatible with some FTP clients.
Network Options
373
Need help?
Do you have a question about the ENTERPRISE LINUX 5 - DEPLOYMENT and is the answer not in the manual?
Questions and answers