ftp over SSL logs to /var/log/secure? Can it be determined which connections are TLS?

Solution Verified - Updated -

Environment

  • Redhat Enterprise Linux
  • Vsftpd

Issue

  • ftp over SSL logs to /var/log/secure? Can it be determined which connections are TLS?

Resolution

  • For RHEL 5
log_ftp_protocol=YES
vsftpd_log_file=/var/log/vsftpd.log
  • For RHEL 6 & 7
log_ftp_protocol=YES
debug_ssl=YES
vsftpd_log_file=/var/log/vsftpd.log

Root Cause

  • By default debug logs are not enabled.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments