Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 01/08/2000 03:09:57
Module Name:	basesrc
Committed By:	lukem
Date:		Sat Jan  8 11:09:57 UTC 2000

Modified Files:
	basesrc/libexec/ftpd: conf.c extern.h ftpd.8 ftpd.c ftpd.conf.5
	    pathnames.h version.h

Log Message:
features:
* add connection limits (`limit' keyword in ftpd.conf)
* move initialisation of curclass from parse_conf() to new function
  init_curclass()
* implement count_users(), which determines the number of users in a given
  class. a file - /var/run/ftpd.pids-<class> - is used to store a list
  of pids in use (effectively an array of pid_t's), and its size is reduced
  as necessary.
* new % modifiers in format_file:
	%c	class
	%M	maximum connection count
	%N	current connection count
* always end_login()s, even for refused connections

bugs fixed:
* remove \n from %T output
* fix some inconsistencies in the man pages
* ensure that both `ftp' *and* `anonymous' are allowed in ftpusers.
  (this was accidently broken in a recent commit to be ``or'' not ``and'')
* use MAXPATHLEN not MAXPATHLEN+1
* crank copyright date on modified files
* crank version


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 basesrc/libexec/ftpd/conf.c
cvs rdiff -r1.21 -r1.22 basesrc/libexec/ftpd/extern.h
cvs rdiff -r1.48 -r1.49 basesrc/libexec/ftpd/ftpd.8
cvs rdiff -r1.81 -r1.82 basesrc/libexec/ftpd/ftpd.c
cvs rdiff -r1.5 -r1.6 basesrc/libexec/ftpd/ftpd.conf.5
cvs rdiff -r1.8 -r1.9 basesrc/libexec/ftpd/pathnames.h
cvs rdiff -r1.3 -r1.4 basesrc/libexec/ftpd/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.