ftp/tnftpd is for Traditional/Trivial the NetBSD FTP Daemon, which is the server. ftp/tnftp is the client. They were formerly lukemftpd & lukemftp. These have SSL/TLS security features. The tnftp client has security features for use with https protocol, however, I'm now unsure if tnftp has other SSL/TLS features. tnftpd may not have tls/ssl features, as I had first thought.
TNFTPD files
notable
ftpd.conf(5)
ftpusers(5); freebsd also has different version in /etc/
tnftpd(8)
TNFTP files
notable
tnftp(1)
Setting up
For help, type
Older documentation said to create an ftp nologin user and group, however, this is typically already done on FreeBSD.
Turning on FTPD's in FreeBSD
/etc/rc.conf.local
Some documentation, especially common among older documentation, wrote: ftp servers can be started through inetd(8) (as through a superserver) using inetd.conf and restarting that service.
Configuration
For configuring tnftpd and other ftpd services, there's commonality of files between /etc/ and /usr/local/etc/. Above configuration files and manpages are relevant. Still need to learn more about ftp and on setting this part up.
https://pub.nethence.com/daemons/lukemftpd
Alternatives with security features
FreeBSD also has /usr/libexec/sftp-server, which can be turned on through the
ftp/pure-ftpd has its own service enable function. Also, pure-ftpd comes with lots of files, so it has added complexity.
Wuftpd by Washington University was once popular and highly recommended, however, this is outdated and lacks security features of tnftpd. According to tnftpd's website, "tnftpd provides around 90% of the functionality of wuftpd, but in approximately 30% of the footprint."
ftp/unftp is an ftp server written in Rust, and is under the Apache 2.0 license.
ftp/vsftpd and ftp/proftpd are GPL alternatives.
The default ftpd version that came with FreeBSD doesn't have security features, however, it's suitable as an anonymous public ftp server. Since the FreeBSD 14 series, /usr/libexec/ftpd was intended to have gone into ports as ftp/freebsd-ftpd. As of FreeBSD 14.1: /usr/libexec/ftpd is still in the base system, while the port is still available. Other ftp servers and clients within FreeBSD's base don't seem to be affected.
I was excited about tnftpd, however, because it doesn't appear to be what I thought it was to be, I may look at other ftp servers. For anonymous use, I'll try this, and I'll try ftps for when security is needed.
I mistook the first t in tnftpd for trivial/traditional ftp. tftp is more limited, that it doesn't allow commands, such as ls. traditional/trivial ftp has more limited use, which would be interesting to try, though would be a challenge.
TNFTPD files
notable
pkg info -l tnftpd
files and relevant manpages
Code:
/usr/local/libexec/tnftpd
/usr/local/share/examples/tnftpd/ftpd.conf
/usr/local/share/examples/tnftpd/ftpusers
ftpusers(5); freebsd also has different version in /etc/
tnftpd(8)
TNFTP files
notable
pkg info -l tnftpd
files and relevant manpages
Code:
/usr/local/bin/tnftp
Setting up
For help, type
tnftp -h
.Older documentation said to create an ftp nologin user and group, however, this is typically already done on FreeBSD.
Turning on FTPD's in FreeBSD
/etc/rc.conf.local
Code:
ftpd_enable="yes"
ftpd_program="/usr/local/libexec/tnftpd"
Configuration
For configuring tnftpd and other ftpd services, there's commonality of files between /etc/ and /usr/local/etc/. Above configuration files and manpages are relevant. Still need to learn more about ftp and on setting this part up.
https://pub.nethence.com/daemons/lukemftpd
Alternatives with security features
FreeBSD also has /usr/libexec/sftp-server, which can be turned on through the
ftpd_program=
argument. This is an SSH version of FTPD.ftp/pure-ftpd has its own service enable function. Also, pure-ftpd comes with lots of files, so it has added complexity.
Wuftpd by Washington University was once popular and highly recommended, however, this is outdated and lacks security features of tnftpd. According to tnftpd's website, "tnftpd provides around 90% of the functionality of wuftpd, but in approximately 30% of the footprint."
ftp/unftp is an ftp server written in Rust, and is under the Apache 2.0 license.
ftp/vsftpd and ftp/proftpd are GPL alternatives.
The default ftpd version that came with FreeBSD doesn't have security features, however, it's suitable as an anonymous public ftp server. Since the FreeBSD 14 series, /usr/libexec/ftpd was intended to have gone into ports as ftp/freebsd-ftpd. As of FreeBSD 14.1: /usr/libexec/ftpd is still in the base system, while the port is still available. Other ftp servers and clients within FreeBSD's base don't seem to be affected.
I was excited about tnftpd, however, because it doesn't appear to be what I thought it was to be, I may look at other ftp servers. For anonymous use, I'll try this, and I'll try ftps for when security is needed.
I mistook the first t in tnftpd for trivial/traditional ftp. tftp is more limited, that it doesn't allow commands, such as ls. traditional/trivial ftp has more limited use, which would be interesting to try, though would be a challenge.
Last edited: