| United States-English |
|
|
|
![]() |
HP-UX Remote Access Services Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 2 Configuring FTPConfiguring Logging for FTP |
|
You can log both the FTP session information and the file transfer information, as explained in the following sections. You can enable file transfer logging either by editing the /etc/ftpd/ftpaccess file or by editing the /etc/inetd.conf file. These methods are explained in the following sections. You can log the incoming and outgoing FTP file transfer information by using the log transfers keyword in the /etc/ftpd/ftpaccess file. The log transfers keyword enables or disables logging of file transfers for real or anonymous FTP users to the /var/adm/syslog/xferlog file. You can separately enable logging of transfers to the server (incoming) and logging of transfers from the server (outgoing). For details on the log transfers keyword, type man 4 ftpaccess at the HP-UX prompt. To log incoming and outgoing FTP file transfers, insert the-i and -o options with the ftp entry in the /etc/inetd.conf file. The -iand -o options are explained as follows:
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. 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:
For more information on all the types of information recorded in the xferlog file, type man 5 xferlog at the HP-UX prompt.
The following lists the data transfer features:
For more information, type man 4 ftpaccess at the HP-UX prompt. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||