On vsftpd version 2.0.5 the logged messages have a fixed format that does not comply with syslog standards. When you set in the configuration the option to use syslog (instead of the default which is to use it's own log file), you get messages that have 2 timestamps (slightly different since vsftpd includes day of the week name and year). The problem has been reported to the author. Reproducible: Always Steps to Reproduce: 1. Install vsftpd 2. Configure it with option "syslog_enable=YES" 3. Start the server and do some ftp operations (login, get, delete, ...) 4. Look at /var/log/messages Actual Results: Jan 26 19:25:58 LegoSoft2 vsftpd: Sat Jan 26 19:25:58 2008 [pid 24241] CONNECT: Client "192.168.20.245" Expected Results: Jan 26 19:25:58 LegoSoft2 vsftpd[24241]: CONNECT: Client "192.168.20.245" Included : 1. Patch to correct this; 2. ebuild file to apply the patch.
Created attachment 143169 [details, diff] Patch to produce correct syslog format messages.
Created attachment 143171 [details] Ebuild file that includes application of submitted patch
Why not send this upstream?
I did, on Feb 7 I sent an email to the author. No reply so far. The reason I opened this report is that if you read vsftpd's main web page, the author says there will be only changes if a security problem is found, so I do not expect him to fix syslog reporting.
Just received notice from the author: "Added for v2.1.0, thanks for the report!" So next version will not need my patch.
Closing since 2.1.0 is stable