[ntp:questions] How to keep fake time in past/future?

unruh unruh at wormhole.physics.ubc.ca
Sat Apr 30 00:02:50 UTC 2011


On 2011-04-29, Chris Albertson <albertson.chris at gmail.com> wrote:
> On Fri, Apr 29, 2011 at 8:13 AM, unruh <unruh at wormhole.physics.ubc.ca> wrote:
>> On 2011-04-29, Cristian Seres <cristian-2 at contrasec.fi> wrote:
>>> Hi!
>>>
>>> How would you implement an NTP server which would need to offer a time
>>> set deliberately in past/future, say 365*86400 seconds, or even better -
>>> first set the freely chosen date on NTP server and then keep the hours,
>>> minutes and seconds in sync with the real time?
>>>
>>
>> Perhaps you could tell us why in the world you would want to do that?
>
> I don't know about the OP but It is common for testing real time data
> processing or data acquisition  systems.  I've seen it used to
> re-process telemetry data although in that case the time signal for
> the reference clock is played back at the same time.

Can you not just shut off ntp and set the clock back or forward? Ie, do
you care in that case if he clock tracks UTC or not?




More information about the questions mailing list