How to get vsftpd to log FTP connections


Results 1 to 1 of 1

Thread: How to get vsftpd to log FTP connections

  1. #1
    Join Date
    Mar 2005
    Location
    US
    Posts
    300

    How to get vsftpd to log FTP connections

    I currently use vsftpd and it logs uploads and downloads fine, logs them to vsftpd.log and logrotate rotates these every week 52 times, however, if a FTP user logs in and does not upload or download anything nothing is logged - I have tried a few options, for example, "dual_log_enable=YES" but this caused vsftpd to not start. I wish to log all FTP connections.

    I'm find the options confusing, and I believe some are mutually exclusive or something?

    Sample of my vsftpd.conf - on Red Hat Linux release 9 (Shrike)

    # Activate logging of uploads/downloads.
    xferlog_enable=YES
    #
    #
    # You may override where the log file goes if you like. The default is shown
    # below.
    xferlog_file=/var/log/vsftpd.log
    #
    # If you want, you can have your log file in standard ftpd xferlog format
    xferlog_std_format=YES
    #
    Last edited by fishface; 04-17-2009 at 10:41 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •