Home » Archive by categoryFTP

What is the difference between active and passive ftp

Active and passive ftp are the two modes which are generally used by any FTP server. FTP uses two channels between client and server, the command channel and the data channel, which are separate TCP connections. The command channel is for commands and responses, the data channel is...
Continue reading

Configure VSFTP log format.

To Configure VSFTP log format, Open the configuration file # vi /etc/vsftpd/vsftpd.conf Disable the standard ftpd xferlog log format: xferlog_std_format=NO Enable the verbose vsftpd log format. The default vsftpd log file is /var/log/vsftpd.log: log_ftp_protocol=YES vsftpd_log_file=/var/log/vsftpd.log Append the below line to enable dual log dual_log_enable=YES That’s it.
Continue reading

change the vsftpd server default port 21 to alternate port.

For security issues we need to change the vsftpd server tcp port # 21 to alternate port. We need edit the configuration file for vsftpd server for the same. The default configuration file is /etc/vsftp/vsftpd.conf # vi /etc/vsftp/vsftpd.conf Change the line connect_from_port_20=YES To connect_from_port_20=NO Ater that append the...
Continue reading

Categorized Tag Cloud