This update enables vsftpd to speak TLS 1.3 in ssl FTP mode by linking against openssl 1.1.1.
Update to version 3.0.4.
- Fix runtime SIGSYS crashes (seccomp sandbox policy tweaks).
- Reject HTTP verbs pre-login.
- Disable TLS prior to v1.2 by default.
- Close the control connection after 10 unknown commands pre-login.
- Reject any TLS ALPN advertisement that's not 'ftp'.
- Add sslsnihostname option to require a match on incoming SNI hostname.
The options 'ssltlsv11', 'ssltlsv12', and 'ssltlsv13'
have been renamed to 'ssltlsv11', 'ssltlsv12', and
'ssl_tlsv13' respectively. Note that the man page has not been
updated accordingly.
OpenSSL was updated to version 1.1.1 in SLE-15-SP2, adding
support for the TLSv1.3 protocol. As a consequence, some SLE-15
applications that link OpenSSL for TLS support -- like vsftpd --,
gained the ability to use the newer TLS protocol, which created
interoperability problems with FTP clients in some cases. To
remedy the situation, '0001-Introduce-TLSv1.3-option.patch' was
applied in a forked SLE-15-SP2 version of vsftpd. The patch adds
the configuration option 'ssltlsv13' that system administrators
can use to disable TLSv1.3 support on their servers.
[bsc#1187188]
allow getdents64 syscall in seccomp sandbox, fixes bsc#1179553
- Add pam_keyinit.so to PAM config file. [bsc#1144062]
- Fixed a segmentation fault that occurred while trying to write to an
invalid TLS context. [bsc#1125951]
- Enable wait4(), sysinfo(), and shutdown() syscalls in seccomp sandbox.
These are required for the daemon to work properly on SLE-15. [bsc#1089088,
bsc#1180314]
- Add firewalld service file (bsc#1083705)
- Make sure to also require group nobody and user ftp bsc#1070653
Fixed interoperability issue with various ftp clients that arose when
vsftpd is configured with option 'use_localtime=YES'. Basically, it's
fine to use local time stamps in directory listings, but responding
to MDTM commands with any time zone other than UTC directly violates
RFC3659 and leads FTP clients to misinterpret the file's time
stamp. [bsc#1024961]
Conditionally install xinetd service only on older releases
- On current distributions we support the same functionality
via systemd socket activation
Fix build against OpenSSL 1.1. (bsc#1042673)
Version bump to 3.0.3:
Increase VSFTPASLIMIT to 200MB; various reports.
- Make the PWD response more RFC compliant; report from Barry Kelly
barry@modeltwozero.com.
- Remove the trailing period from EPSV response to work around BT Internet
issues; report from Tim Bishop tdb@mirrorservice.org.
- Fix syslog_enable issues vs. seccomp filtering. Report from Michal Vyskocil
mvyskocil@suse.cz. At least, syslogging seems to work on my Fedora now.
- Allow gettimeofday() in the seccomp sandbox. I can't repro failures, but I
probably have a different distro / libc / etc. and there are multiple reports.
- Some kernels support PRSETNONEWPRIVS but not PRSETSECCOMP, so handle
this case gracefully. Report from Vasily Averin vvs@odin.com.
- List the TLS1.2 cipher AES128-GCM-SHA256 as first preference by default.
- Make some compile-time SSL defaults (such as correct client shutdown
handling) stricter.
- Disable Nagle algorithm during SSL data connection shutdown, to avoid 200ms
delays. From Tim Kosse tim.kosse@filezilla-project.org.
- Kill the FTP session if we see HTTP protocol commands, to avoid
cross-protocol attacks. A report from Jann Horn jann@thejh.net.
- Kill the FTP session if we see session re-use failure. A report from
Tim Kosse tim.kosse@filezilla-project.org.
- Enable ECDHE, Tim Kosse tim.kosse@filezilla-project.org.
- Default cipher list is now just ECDHE-RSA-AES256-GCM-SHA384.
- Minor SSL logging improvements.
- Un-default tunablestrictsslwriteshutdown again. We still have
tunablestrictsslreadeof defaulted now, which is the important one to prove
upload integrity.