NetBSD/libexec/ftpd
lukem 5015048190 Features:
* Add ftpd.conf(5) directive `advertise'; change the address that is
  advertised to the client for PASV transfers. this may be useful in
  certain firewall/NAT environments.

  Feature requested in [bin/9606] by Scott Presnell.

* Add -X option; syslog wu-ftpd style xferlog messages, prefixed with
  `xferlog: '.  An example line from syslog (wrapped):
	Dec 16 18:50:24 odysseus ftpd[571]: xferlog: Sat Dec 16 18:50:24 2000
	2 localhost 3747328 /pub/WLW2K601.EXE b _ o a lukem@ FTP 0 * c

  These messages can be converted to a wu-ftpd style xferlog file
  suitable for parsing with third-party tools with something like:
	grep 'xferlog: ' /var/log/xferlog | \
	    sed -e 's/^.*xferlog: //' >wuxferlog

  The format is the same as the wu-ftpd xferlog entries (with the leading
  syslog stuff), but different from the wu-ftpd syslogged xferlog entries
  because the latter is not as easy to convert into the standard xferlog
  file format.

  The choice to only syslog the xferlog messages rather than append to
  a /var/log/xferlog file was made because the latter doesn't work to
  well in the situation where the logfile is rotated and compressed and
  a long-running ftpd still has a file-descriptor to the now nonexistant
  xferlog file, and the log message will then get lost.

  Feature requested in [bin/11651] by Hubert Feyrer.


Fixes:

* In ftpd(8), clarify the -a and -c options.

* More clarifications in ftpd.conf(5).

* Ensure that all ftpd.conf commands set a parameter back to sane defaults
  if an argument of `none' or bad settings are given.

* Support the `chroot' directive for `REAL' users too (for consistency).

* For `GUEST' users, store the supplied password in pw->pw_passwd for use
  later in the xferlog.

* If show_chdir_messages() is given a code of -1, flush the cache of
  visited directories.  Invoke show_chdir_messages(-1) in end_login().

* Only syslog session stats if logging is requested.

* Rename logcmd() -> logxfer(), and dolog() -> logremotehost().

* Use cprintf() instead of fprintf() where appropriate.

* Minor KNF, and make a couple of functions static that were declared static.
2000-12-18 02:32:50 +00:00
..
Makefile - move password checking into separate valid_passwd() function, to assist 2000-11-30 02:59:11 +00:00
cmds.c Features: 2000-12-18 02:32:50 +00:00
conf.c Features: 2000-12-18 02:32:50 +00:00
extern.h Features: 2000-12-18 02:32:50 +00:00
ftpcmd.y Features: 2000-12-18 02:32:50 +00:00
ftpd.8 Features: 2000-12-18 02:32:50 +00:00
ftpd.c Features: 2000-12-18 02:32:50 +00:00
ftpd.conf.5 Features: 2000-12-18 02:32:50 +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
pathnames.h only define _DEFAULT_CONFDIR if not set. (allows compile-time override) 2000-03-06 21:42:26 +00:00
popen.c - move password checking into separate valid_passwd() function, to assist 2000-11-30 02:59:11 +00:00
version.h Features: 2000-12-18 02:32:50 +00:00