Skip to content

uFTP 4.3.0 release notes

Changes since 4.2.0.

New

  • Commands MLST, MLSD, LANG, HOST and STRU R.
  • Hashed passwords (PBKDF2-SHA256): ./uFTP --hash-password, with the number of iterations of your choice (--iterations).
  • Optional limits: connections per account and per minute, and a free space guard for uploads (MIN_FREE_SPACE_MB).
  • A ready fail2ban filter and jail in contrib/fail2ban/, and uftpLog.current in the log folder: a link to the log of today, which fail2ban follows after midnight.

Improvements

  • FTPS: uploads work with FileZilla and lftp over links with latency; the whole certificate chain (fullchain.pem) is sent; active mode with TLS works.
  • More connections: the server now waits with epoll and was tested with 50,000 open connections.
  • Faster: larger transfer blocks, sendfile() for downloads in clear text (6.7 GB/s on one connection) and much faster listings of big directories.
  • Steadier: replies always come in order, a client that reads nothing no longer holds up the others, and QUIT closes the connection at once.
  • Safer defaults: SITE CHMOD keeps the owner and refuses setuid/setgid; login replies do not tell which users exist; the lock-out after failed logins lasts 5 minutes and covers a whole IPv6 network.
  • REST applies only to the transfer command that follows it (also after EPSV, PORT and EPRT); smaller fixes in SIZE, PAM, reply codes and the logs.

Upgrading

  • The memory of every slot (about 37 KB) is reserved at start: set MAXIMUM_ALLOWED_FTP_CONNECTION to what you need.
  • The lock-out after too many failed logins is now 5 minutes (it was 1).
  • The data connection no longer sends TLS session tickets.
  • SITE CHMOD can no longer change the owner or set setuid/setgid.

Known limits

TYPE A does not convert line ends, STRU P is not implemented, and implicit FTPS (port 990) is not supported.