Out of the box? Nothing. If I add this to vsftpd.confI'm not using ftp so, what does it log to syslog?
Without using the timestamps you could tail pipe it anf simply look for the entry.
log_ftp_protocol=YES
Tue Aug 29 22:12:44 2017 [pid 10482] [jack] FTP response: Client "10.14.16.10", "230 Login successful."
Tue Aug 29 22:12:55 2017 [pid 10482] [jack] FTP response: Client "10.14.16.10", "421 Timeout."
setproctitle_enable
If enabled, vsftpd will try and show session status information in the system process listing. In other words, the reported name of the process will change to reflect what a vsftpd session is doing (idle, downloading etc). You probably want to leave this off for security purposes.
Default: NO
admin@RT-AC87U:/tmp/home/root# ps | grep "vsftpd"
15357 admin 3804 S vsftpd: LISTENER
15921 admin 3868 S vsftpd: 10.14.16.10: connected
15923 1 3900 D vsftpd: 10.14.16.10/jack: FILENAME
16031 admin 3868 S vsftpd: 10.14.16.10: connected
16033 1 3900 D vsftpd: 10.14.16.10/jack: RETR FILENAME
16271 admin 1448 R grep vsftpd
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!