[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] openvpn and time changes


  • Subject: Re: [Openvpn-users] openvpn and time changes
  • From: Jason Haar <Jason.Haar@xxxxxxxxxxxxx>
  • Date: Wed, 09 Nov 2005 22:39:39 +1300

James Yonan wrote:
>> If OpenVPN (internally) uses UTC (or unixtime) there should be no issue
>>     
>
>   

Just to cover my ar*e - UTC isn;t an TLA for "unixtime" - as James says
all Unix systems internal clock is based on the number of seconds since
Jan 1 1970. And yes, it is immune to daylight saving issues.

One thing to note about the original question. There was a comment about
resetting the clock via ntpdate every hour? That could cause a problem.
You are hard-resetting the time - jumping around in time. Always a bad
thing (except if you're the Doctor ;-) .You can end up with "impossible"
events like a syslog entry at one time, followed by the next entry at an
earlier time. And when I refer to jumping around in time - I am
referring to "real time" - UTC or unixtime - not "human time" which has
weird concepts such as daylight savings/etc.

If you can use ntpdate, you should be able to use ntpd and "do it
right". The daemon will *slew* time - speeding up or slowing down the OS
clock until the time is synchronized.

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users