NetBSD/libexec/ftpd
lukem 999fd3d617 - new ftpd.conf directives:
maxfilesize	set the maximum size of uploaded files
	sanenames	if set, only permit uploaded filenames that contain
			characters from the set "-+,._A-Za-z0-9" and that
			don't start with `.'

- new/changed command line options:
	-e emailaddr	define email address for %E (see below)
	-P dataport	use dataport as the dataport (instead of ctrlport-1)
	-q		use pid files to count users	[default]
	-Q		don't use pid files to count users
	-u		write entries to utmp
	-U		don't write entries to utmp	[default]
	-w		write entries to wtmp		[default]
	-W		don't write entries to wtmp

	  NOTE:	-U used to mean `write utmp entries'. Its meaning has changed
		so that it's orthogonal with -q/-Q and -w/-W. This isn't
		considered a major problem, because using -U isn't going to
		enable something you don't want, but will disable something
		you did want (which is safer).

- new display file escape sequences:
	%E	email address
	%s	literal `s' if the previous %M or %N wasn't ``1''.
	%S	literal `S' if the previous %M or %N wasn't ``1''.

- expand the description of building ~ftp/incoming to cover the
  appropriate ftpd.conf(5) directives (which are defaults, but it pays
  to explicitly explain them)

- replace strsuftoi() with strsuftoll(), which returns a long long if
  supported, otherwise a long

- rework the way that check_modify and check_upload are done in the yacc
  parser; they're merged into a common check_write() function which is
  called explicitly

- merge all ftpclass `flag variables' into a single bitfield-based flag element

- move various common bits of parse_conf() into a couple of macros

- clean up some comments
2000-11-16 13:15:13 +00:00
..
cmds.c - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00
conf.c - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00
extern.h - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00
ftpcmd.y - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00
ftpd.8 - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00
ftpd.c - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00
ftpd.conf.5 - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00
ftpusers.5 slight cleanup of line syntax 2000-11-07 07:01:54 +00:00
logutmp.c convert to ANSI C as per style guide 2000-05-20 02:20:18 +00:00
logwtmp.c convert to ANSI C as per style guide 2000-05-20 02:20:18 +00:00
Makefile Make things builds with GCC 2.96 2000-07-03 03:34:25 +00:00
pathnames.h only define _DEFAULT_CONFDIR if not set. (allows compile-time override) 2000-03-06 21:42:26 +00:00
popen.c - Always close(pdata) if it was a valid filedescriptor before setting it to -1. 2000-05-20 23:34:55 +00:00
version.h - new ftpd.conf directives: 2000-11-16 13:15:13 +00:00