uFTP 4.3.0 release notes¶
Changes since 4.2.0.
New¶
- Commands
MLST,MLSD,LANG,HOSTandSTRU 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
fail2banfilter and jail incontrib/fail2ban/, anduftpLog.currentin 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
epolland 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
QUITcloses the connection at once. - Safer defaults:
SITE CHMODkeeps 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. RESTapplies only to the transfer command that follows it (also afterEPSV,PORTandEPRT); smaller fixes inSIZE, PAM, reply codes and the logs.
Upgrading¶
- The memory of every slot (about 37 KB) is reserved at start: set
MAXIMUM_ALLOWED_FTP_CONNECTIONto 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 CHMODcan 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.