LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-26-2005, 08:41 PM   #1
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
vsftpd log timestamps issue


Hi all.

I'm using the latest FC3 version of vsftpd, and I'm getting strange timestamps on my logs.
The log_ftp_protocol=YES option is set, so the following is from /var/log/vsftpd.log:
Code:
Thu May 26 22:15:29 2005 [pid 17864] [fromilj] FTP response: Client "XXX.XXX.XXX.XXX", "331 Please specify the password."
Thu May 26 23:15:29 2005 [pid 17866] CONNECT: Client "XXX.XXX.XXX.XXX"
Thu May 26 22:15:29 2005 [pid 17866] FTP response: Client "XXX.XXX.XXX.XXX", "220 ILikeJam FTP. Access to this server is restricted to authorised users only. Logs are being watched, and crackers will be wedgied."
Thu May 26 22:15:29 2005 [pid 17866] FTP command: Client "XXX.XXX.XXX.XXX", "USER fromilj"
Thu May 26 22:15:29 2005 [pid 17866] [fromilj] FTP response: Client "XXX.XXX.XXX.XXX", "331 Please specify the password."
Thu May 26 22:15:30 2005 [pid 17864] [fromilj] FTP command: Client "XXX.XXX.XXX.XXX", "PASS <password>"
Thu May 26 23:15:30 2005 [pid 17863] [fromilj] OK LOGIN: Client "XXX.XXX.XXX.XXX"
Thu May 26 23:15:30 2005 [pid 17867] [fromilj] FTP response: Client "XXX.XXX.XXX.XXX", "230 Login successful."
Thu May 26 22:15:30 2005 [pid 17866] [fromilj] FTP command: Client "XXX.XXX.XXX.XXX", "PASS <password>"
Thu May 26 23:15:30 2005 [pid 17865] [fromilj] OK LOGIN: Client "XXX.XXX.XXX.XXX"
As you can see, the timestamps vary by an hour (the latter 23:15:XX time being the correct local time). I've tried use_localtime=YES and =NO, and nothing changes.

It's not a showstopper, but I'd like to know what's causing it.
Any ideas?

Cheers.

Dave
 
Old 05-28-2005, 01:09 PM   #2
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
hmmm, no idea, other than it appears that all the logs with the right time are queried on connection...which could mean that the client that is connecting has the right time, while the server is off by an hour. Now the ftp server could always use it's own clock and I could be way off, but it might be worth a look.
 
Old 05-29-2005, 11:53 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Original Poster
Rep: Reputation: 97
Yeah, I was thinking something similar, but the times are a bit too accurate.

I saw something about times mentioned in the vsftpd changelog, so maybe an update is in order...

Cheers.

Dave
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd.conf/chroot/vsftpd.chroot_list issue Jerman Linux - Security 2 06-01-2007 07:24 PM
Get detailed vsftpd log? whepin Linux - Networking 1 04-14-2005 05:54 AM
VSFTPD and file timestamps t3___ Linux - Newbie 4 01-21-2004 02:26 PM
vsftpd shuts down when I log out delstel Linux - Newbie 4 09-29-2003 06:58 PM
converting log file timestamps mrtwice Linux - Software 3 09-22-2003 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration