最後加上這些就可以了
vsftpd_log_file=/var/log/vsftpd.log
dual_log_enable=YES
log_ftp_protocol=YES
然後去看vsftpd.log就可以看到這些東西
=========================
Mon Oct 11 05:18:48 2010 [pid 19518] CONNECT: Client "IP位址"
Mon Oct 11 05:18:48 2010 [pid 19518] FTP response: Client "IP位址", "220 (vsFTPd 2.0.3)"
Mon Oct 11 05:18:50 2010 [pid 19518] FTP command: Client "IP位址", "USER xxxx"
Mon Oct 11 05:18:50 2010 [pid 19518] [xxxx] FTP response: Client "IP位址", "331 Please specify the password."
Mon Oct 11 05:18:51 2010 [pid 19518] [xxxx] FTP command: Client "IP位址", "PASS"
Mon Oct 11 05:18:52 2010 [pid 19517] [xxxx] OK LOGIN: Client "IP位址"
Mon Oct 11 05:18:52 2010 [pid 19519] [xxxx] FTP response: Client "IP位址", "230 Login successful."
=========================
ref:
=========================
Mon Oct 11 05:18:48 2010 [pid 19518] CONNECT: Client "IP位址"
Mon Oct 11 05:18:48 2010 [pid 19518] FTP response: Client "IP位址", "220 (vsFTPd 2.0.3)"
Mon Oct 11 05:18:50 2010 [pid 19518] FTP command: Client "IP位址", "USER xxxx"
Mon Oct 11 05:18:50 2010 [pid 19518] [xxxx] FTP response: Client "IP位址", "331 Please specify the password."
Mon Oct 11 05:18:51 2010 [pid 19518] [xxxx] FTP command: Client "IP位址", "PASS
Mon Oct 11 05:18:52 2010 [pid 19517] [xxxx] OK LOGIN: Client "IP位址"
Mon Oct 11 05:18:52 2010 [pid 19519] [xxxx] FTP response: Client "IP位址", "230 Login successful."
=========================
ref:
沒有留言:
張貼留言