Multiple FTP servers with different characteristics on one
server?
Dan Pelleg
daniel+bsd at pelleg.org
Tue Apr 15 05:47:18 PDT 2003
Paul Hoffman <phoffman at proper.com> writes:
> Greetings again. Under NetBSD, the inetd.conf file could have entries such as:
>
> 10.0.0.1:ftp stream tcp nowait root /usr/libexec/ftpd ftpd -d -ll -c /etc/a
> 10.0.0.2:ftp stream tcp nowait root /usr/libexec/ftpd ftpd -d -ll -c /etc/b
>
> Meaning that an FTP session request to 10.0.0.1 would use the configuration
> in /etc/a, while one to 10.0.0.2 would use the configuration in /etc/b.
>
>
> That doesn't work in FreeBSD 4.8: the first field is not recognized.
>
> How can I get this functionality, just for FTP? I don't see anything in the
> inetd or ftpd man pages that indicate how this might work.
One (admittedly heavyweight) approach is to create a separate jail for each
daemon. See http://ezine.daemonnews.org/200212/ftpjail.html
--
Dan Pelleg
More information about the freebsd-questions
mailing list