Subject: Re: bin/12602: command-line option to apply ftpusers(5) rules after
To: None <netbsd-bugs@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 04/10/2001 18:19:31
On Tue, 10 Apr 2001 windsor@warthog.com wrote:

> >Synopsis:  want command-line option to apply ftpusers(5) rules after
> USER instead of PASS

> 	I would like to see a flag added to ftpd such that the ftpusers(5)
> 	rules are applied between USER and PASS instead of after PASS.

I made a couple patches to implement this.

http://www.reedmedia.net/misc/netbsd/patches/ftpd.c.patch2
 If -B is used, only checks once (before asking for password).

http://www.reedmedia.net/misc/netbsd/patches/ftpd.8.patch
 Manual page

(Another previous patch:
http://www.reedmedia.net/misc/netbsd/patches/ftpd.c.patch
 Adds "-B" option. If -B used, then checks before asking for password --
but still checks again after checking the password.)

   Jeremy C. Reed
   http://www.reedmedia.net/