Date: Sat, 21 Jun 1997 13:23:49 +0000 (GMT) From: spork <spork@super-g.com> To: Nadav Eiron <nadav@barcode.co.il> Cc: Justin Ashworth <ashworth@esus.cs.montana.edu>, questions@FreeBSD.ORG Subject: Re: Virtual FTP server? Message-ID: <Pine.BSF.3.95q.970621131054.10316A-100000@super-g.inch.com> In-Reply-To: <Pine.BSF.3.91.970620102804.21009B-100000@gatekeeper.barcode.co.il>
next in thread | previous in thread | raw e-mail | index | archive | help
Another option is this little blurb I found in the 2.2.2 Release notes (not on the website, but included in the relnotes on the ftp server). I haven't tried this yet, but I just don't trust wu all that much, and this seems like it has better documentation. ftpd now supports virtual FTP hosting. And from the ftpd manpage: -a When -D is specified, accept connections only on the specified address. -D With this option set, ftpd will detach and become a daemon, ac- cepting connections on the FTP port and forking children proce- sses to handle them. This is lower overhead than starting ftpd from inetd(8) and is thus useful on busy servers to reduce load. ... 5. If the user name appears in the file /etc/ftpchroot, or the user is a member of a group with a group entry in this file, i.e. one prefixed with `@', the session's root will be changed to the user's login directory by chroot(2) as for an ``anonymous'' or ``ftp'' account (see next item). This facility may also be triggered by enabling the boolean "ftp-chroot" capability in login.conf(5). However, the user must still supply a password. ... If the system has multiple IP addresses, ftpd supports the idea of virtual hosts, which provides the ability to define multiple anonymous ftp areas, each one allocated to a different internet address. The file /etc/ftphosts contains information pertaining to each of the virtual hosts. ... If compiled with the INTERNAL_LS option, ftpd will have internal support for handling remote requests to list files, and will not execute /bin/ls in either a chrooted or non-chrooted environment. Charles On Fri, 20 Jun 1997, Nadav Eiron wrote: > > > On Thu, 19 Jun 1997, Justin Ashworth wrote: > > > How can I set up a virtual FTP server? Same idea as a virtual web server > > where a user could ftp to ftp.somedomain.com and actually be conducting a > > transaction on ftp.server.com. > > > > Any ideas or doc pointers??? > > First, install wu-ftpd from the ports. Then search the net for the > virtual patches to it (I don't remember where I got them from, but > AltaVista will probably get you there). > > By what I remember all that's left is to apply the patches, compile and > configure your virtual hosts. > > > > > Thanks! > > > > - Justin Ashworth > > -- ashworth@cs.montana.edu > > - http://www.cs.montana.edu/~ashworth > > > > > Nadav >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970621131054.10316A-100000>