From owner-freebsd-questions Fri Sep 13 20:27:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6957F37B400 for ; Fri, 13 Sep 2002 20:27:46 -0700 (PDT) Received: from mail.bobj.org (cpe-gan-68-101-90-216-cmcpe.ncf.coxexpress.com [68.101.90.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D83D43E4A for ; Fri, 13 Sep 2002 20:27:45 -0700 (PDT) (envelope-from stest030@garbonzo.hos.ufl.edu) Received: from bobj.dyndns.org (dhcp6.wb4jcm.org [192.168.132.167]) by neti.bobj.org with esmtp; Fri, 13 Sep 2002 23:27:33 -0400 From: Bob Johnson To: Mike Hogsett Subject: Re: Anon FTP Server Date: Fri, 13 Sep 2002 23:27:27 -0400 X-Mailer: KMail [version 1.4] Cc: freebsd-questions@freebsd.org References: <200209140020.g8E0KVxW008396@axp.csl.sri.com> In-Reply-To: <200209140020.g8E0KVxW008396@axp.csl.sri.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <200209132327.27296.stest030@garbonzo.hos.ufl.edu> X-Mime-Autoconverted: from 8bit to 7bit by courier 0.39 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 13 September 2002 08:20 pm, Mike Hogsett appears to have written: > I realize that I can chroot and do anonymous ftp with the standard > ftpd. And these other ftpd's I have been looking at perform the same > or similar functionality. > > What I was really looking for was an ftpd where I can disable at > compile time (that is they return an error and are not implemented in > the binary) all FTP commands that alter the local filesystem *and* > does not allow non-anonymous logins. The default FTP daemon can be *configured* to do all of this, not just by chrooting (or a jail, which is more effective), but by actually disabling write commands. If you really wanted to, it would probably not be too hard to hack the code so that it is the only available option, but that's the closest I know of to what you want. For all I know it's even a makefile option. - Bob > > - Mike > > > --nFreZHaLTZJo0R7j > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > Content-Transfer-Encoding: quoted-printable > > > > On Fri, Sep 13, 2002 at 01:23:28PM -0700, Mike Hogsett wrote: > > >=20 > > > Ok, so I am setting up an anon FTP server. > > >=20 > > > I was wondering if anyone knows of an FTP server that I can > > > compile with all write (put,mkdir,etc) abilities disabled and > > > that rejects all non-anonymous logins. > > > > The standard FreeBSD FTP server can do this..see the manpage. > > > > Kris > > > > --nFreZHaLTZJo0R7j > > Content-Type: application/pgp-signature > > Content-Disposition: inline > > > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.0.7 (FreeBSD) > > > > iD8DBQE9gngfWry0BWjoQKURAtJiAKCCd6rEQV5BVM20ioAg3sYunaQ1gQCg6PHE > > TKaRrGHVjGwsuVw7jeJlZOk= > > =mvtv > > -----END PGP SIGNATURE----- > > > > --nFreZHaLTZJo0R7j-- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message