Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Sep 2002 23:27:27 -0400
From:      Bob Johnson <stest030@garbonzo.hos.ufl.edu>
To:        Mike Hogsett <hogsett@csl.sri.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Anon FTP Server
Message-ID:  <200209132327.27296.stest030@garbonzo.hos.ufl.edu>
In-Reply-To: <200209140020.g8E0KVxW008396@axp.csl.sri.com>
References:  <200209140020.g8E0KVxW008396@axp.csl.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209132327.27296.stest030>