diff options
author | guido <guido@FreeBSD.org> | 1995-02-26 19:36:59 +0000 |
---|---|---|
committer | guido <guido@FreeBSD.org> | 1995-02-26 19:36:59 +0000 |
commit | ee5cff554bebc6513577f52759145cc5e69c2a0c (patch) | |
tree | 55fa2d553a933988227f011fa1f70a6577927db8 /libexec/ftpd/ftpd.8 | |
parent | df59b41b509104543329ca073196af409142c967 (diff) | |
download | FreeBSD-src-ee5cff554bebc6513577f52759145cc5e69c2a0c.zip FreeBSD-src-ee5cff554bebc6513577f52759145cc5e69c2a0c.tar.gz |
Add some functionality to ftpd so it logs all anonymous file
transfers. It only does this when -S is set.
Reviewed by:
Submitted by:
Obtained from: logdaemon package
Diffstat (limited to 'libexec/ftpd/ftpd.8')
-rw-r--r-- | libexec/ftpd/ftpd.8 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index a7c5cae..dd67bd2 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -41,6 +41,7 @@ Internet File Transfer Protocol server .Sh SYNOPSIS .Nm ftpd .Op Fl dl +.Op Fl S .Op Fl T Ar maxtimeout .Op Fl t Ar timeout .Sh DESCRIPTION @@ -66,6 +67,13 @@ session is logged using syslog with a facility of LOG_FTP. If this option is specified twice, the retrieve (get), store (put), append, delete, make directory, remove directory and rename operations and their filename arguments are also logged. +.It Fl S +With this option set, +.Nm ftpd +logs all anonymous transfers to the file +.Pa /var/log/ftpd +when this file exists. +. .It Fl T A client may also request a different timeout period; the maximum period allowed may be set to @@ -208,7 +216,9 @@ file (user .Dq ftp ) . In this case the user is allowed to log in by specifying any password (by convention an email address for -the user should be used as the password). +the user should be used as the password). When the +.Fl S +option is set, all transfers are logged as well. .El .Pp In the last case, @@ -271,6 +281,8 @@ Welcome notice. Welcome notice after login. .It Pa /etc/nologin Displayed and access refused. +.It Pa /var/log/ftpd +Log file for anonymous transfers. .El .Sh SEE ALSO .Xr ftp 1 , |