NetBSD/libexec/ftpd
lukem 21d03121d3 * change format of /etc/ftpusers lines from
userglob [allow|deny]
  to
	userglob[@host] [allow|deny  [classname]]
  where class is a userdefined classname.
  - if host is given it may either be a CIDR address (e.g, `1.2.3.0/24') or a
    hostglob (e.g, `*.foo.com'), and the remote host is matched against that.
  - if classname is given, use that to match entries in ftpd.conf (defaults
    to `guest' for `anonymous'/`ftp' logins, `chroot' for users found in
    /etc/ftpchroot, and `real' for everyone else.

* implement new /etc/ftpd.conf directives:
    classtype classname type	set type of classname to GUEST, CHROOT, or REAL
    motd classname file		file to use instead of /etc/motd
    rateget classname rate	set rateget throttle to rate
    rateput classname rate	set rateput throttle to rate
    upload classname		allow/deny uploads (STOU, STOR, APPE). if
				denied, also acts as `modify deny'.

* implement new `SITE' commands:
    RATEGET	as per /etc/ftpd.conf rateget, but cannot exceed that
    RATEPUT	as per /etc/ftpd.conf rateput, but cannot exceed that

* implement format_file(), which outputs a file to the user, parsing %
  escapes. use to print /etc/ftpwelcome, /etc/motd, and the `display' file.

* implement strsuftoi() (from ftp(1)), which parses a number and
  optional suffix (for use with rateget, etc)

* don't bother seteuid(0) ; bind(...) ; seteuid(pw->pw_uid), since
  we don't need reserved ports (at wasn't getting them anyway).

* update & reorder copyrights

* use strlcpy() as appropriate
1999-12-12 14:05:54 +00:00
..
Makefile * change ftpd_popen() to take char *argv[] instead of char *cmd. 1999-12-07 05:30:53 +00:00
conf.c * change format of /etc/ftpusers lines from 1999-12-12 14:05:54 +00:00
extern.h * change format of /etc/ftpusers lines from 1999-12-12 14:05:54 +00:00
ftpcmd.y * change format of /etc/ftpusers lines from 1999-12-12 14:05:54 +00:00
ftpd.8 * change format of /etc/ftpusers lines from 1999-12-12 14:05:54 +00:00
ftpd.c * change format of /etc/ftpusers lines from 1999-12-12 14:05:54 +00:00
logwtmp.c more kerberos5 fixes 1999-08-25 20:07:33 +00:00
pathnames.h support displaying the stderr output from a LIST or a conversion to 1998-06-08 07:13:13 +00:00
popen.c * change format of /etc/ftpusers lines from 1999-12-12 14:05:54 +00:00