HP-UX Remote Access Services Administrator's Guide

ftp stream tcp nowait root /usr/lbin/ftpd
ftpd -a -l -d -i -o
Logging FTP Sessions
You can log the FTP session information to the /var/adm/syslog file. You can specify
FTP session logging by using the log commands keyword in the
/etc/ftpd/ftpaccess file. The log commands keyword enables or disables logging
of an FTP session to the /var/adm/syslog file, including commands such as logins,
login failures, and anonymous ftp activity. A log commands entry in the
/etc/ftpd/ftpaccess file overrides the -L option specified for the ftp entry in
the /etc/inetd.conf file.
For more information on the log commands keyword, type man 4 ftpaccess at
the HP-UX prompt.
Logging FTP File Transfers
You can log FTP server daemon file transfer information to the
/var/adm/syslog/xferlog log file. The xferlog file records such file transfer
information as current time, file transfer time, remote host, file name, file size, and
whether the file transfer is in ascii or binary format. You can also redirect the logging
messages for incoming and outgoing transfers to either the
/var/adm/syslog/xferlog or the /var/adm/syslog/syslog file, or both, using
the following options:
log syslog
log syslog+xferlog
For more information on all the types of information recorded in the xferlog file,
type man 5 xferlog at the HP-UX prompt.
NOTE: By default (if you do not specify the log entry in the /etc/ftpd/ftpaccess
file), the transfer log messages are placed in the /var/adm/syslog/xferlog file.
Features Related to Data Transfer
The following lists the data transfer features:
For statistical purposes, you can keep track of the total bytes of data transferred.
Also, you can limit the number of data bytes a user in any given class can transfer.
You can specify a directive in the /etc/ftpd/ftpaccess file to limit the number
of bytes incoming, outgoing, or both.
The syntax for the directive is as follows:
data-limit [raw] in out total count [class]
Configuring Logging for FTP 43