Log Security Violations and File Transfers

Two other logging commands are useful in the /etc/ftpaccess configuration file. This line enables the logging of security violations:

log security [<typelist>]

Violations are logged for anonymous, guest, and real users, as specified in the typelist the same as other log commands. If you do not specify a typelist , security violations for all users will be logged.

This line writes a log of all files transferred to and from the server:

log transfers [<typelist> [<directions>]]

typeiist is the same as seen in log commands and log security lines. directions is a comma-separated list of the keywords inbound for uploaded files and outbound for downloaded files. If no directions are given, both uploaded and downloaded files will be logged. Inbound and outbound logging is turned on by default.

Was this article helpful?

0 0

Post a comment