Advertising a specific address and/or port range for ftpd

Mike Pumford michaelp at bsquare.com
Mon Jan 27 13:59:49 UTC 2014


Ronald Klop wrote:
> On Mon, 27 Jan 2014 14:13:50 +0100, Patrick Lamaiziere
> <patfbsd at davenulle.org> wrote:
>
>> 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.
Last time I checked (which admittedly was a couple of years ago the 
netbsd FTP daemon was in ports (as nbftpd) so you could just install 
that and migrate the config.

Mike



More information about the freebsd-stable mailing list