Chris Ross
2014-Jan-27 03:33 UTC
Advertising a specific address and/or port range for ftpd
I am migrating some server functionality from a NetBSD host to a newly built FreeBSD (stable/10) host. One of the functions of this server is accepting authenticated FTP connections to receive data files. The NetBSD ftpd has a configuration file (ftpd.conf) that allows, amongst other things, setting the "advertised address" and "port range" to be used for PASV connections (and assumedly EPSV, for port range). Is any of this possible with the base ftpd in FreeBSD 10? If not, is there a well-known suggested port that can be configured to perform this way? Running ftpd out of inetd would be fine, but I could run it as a long-lived service if that's strongly recommended. Thanks. - Chris
Patrick Lamaiziere
2014-Jan-27 13:13 UTC
Advertising a specific address and/or port range for ftpd
Le Sun, 26 Jan 2014 22:33:46 -0500, Chris Ross <cross+freebsd at distal.com> a ?crit :> I am migrating some server functionality from a NetBSD host to a > newly built FreeBSD (stable/10) host. One of the functions of this > server is accepting authenticated FTP connections to receive data > files. The NetBSD ftpd has a configuration file (ftpd.conf) that > allows, amongst other things, setting the "advertised address" and > "port range" to be used for PASV connections (and assumedly EPSV, for > port range). Is any of this possible with the base ftpd in FreeBSD > 10? If not, is there a well-known suggested port that can be > configured to perform this way? Running ftpd out of inetd would be > fine, but I could run it as a long-lived service if that's strongly > recommended.I don't know for the base ftpd, pure-ftpd has these features. I use it since years without any problem. It also provides virtual users and is IMO very easy to configure. Regards,