Re: [ntp:questions] Regarding Leap second adjustments
vasanth, Configure a server with local clock driver. Download the NIST leapseconds file. Set the server time shortly before the leap. Synchronize the client to the server. Watch what happens. Dave vasanth raonaik wrote: >Hello Hackers, > >I am doing research on leap second adjustments in NTP. I would like to >simulate the scenario with two machines one acting as ntp server and other >as ntp client. server should send a leap second adjustment notification to >client and I would like to record the steps the client takes with this >notification. Could any one please let me know where i can hard code in >server to send the LS (leap second bit set) to send to client. > >I am new to NTP please provide some pointers for understanding. > >Thanks, >Vasanth >___ >questions mailing list >questions@lists.ntp.org >https://lists.ntp.org/mailman/listinfo/questions > > ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions
Re: [ntp:questions] Regarding Leap second adjustments
vasanth.raon...@gmail.com (vasanth raonaik) writes: >Hello Hackers, >I am doing research on leap second adjustments in NTP. I would like to >simulate the scenario with two machines one acting as ntp server and other >as ntp client. server should send a leap second adjustment notification to >client and I would like to record the steps the client takes with this >notification. Could any one please let me know where i can hard code in >server to send the LS (leap second bit set) to send to client. ?? Why not just read the source code to see what it does. And ntp will ONLY adjust leapsecond on June 30 or Dec 31 of the year when the leapsecond warning bit is set, so your experiment will only occur in 2 weeks time, and will then take 6 months till it can be tried again. The client does nothing with that information except set the leap second warning bit, and at 23:59:59 of Dec 31 will insert an extra second. >I am new to NTP please provide some pointers for understanding. doc.ntp.org >Thanks, >Vasanth ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions
Re: [ntp:questions] Regarding Leap second adjustments
vasanth raonaik wrote: > > I am doing research on leap second adjustments in NTP. I would like to > simulate the scenario with two machines one acting as ntp server and other You need to specify the version of the OS and configuration options that affect whether or not the kernel time discipline is used. The protocol doesn't specify how the local clock is handled, only what gets sent downstream. > as ntp client. server should send a leap second adjustment notification to > client and I would like to record the steps the client takes with this > notification. Could any one please let me know where i can hard code in > server to send the LS (leap second bit set) to send to client. > > I am new to NTP please provide some pointers for understanding. grep LEAP_ ntpd/ntp_proto.c > ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions
[ntp:questions] Regarding Leap second adjustments
Hello Hackers, I am doing research on leap second adjustments in NTP. I would like to simulate the scenario with two machines one acting as ntp server and other as ntp client. server should send a leap second adjustment notification to client and I would like to record the steps the client takes with this notification. Could any one please let me know where i can hard code in server to send the LS (leap second bit set) to send to client. I am new to NTP please provide some pointers for understanding. Thanks, Vasanth ___ questions mailing list questions@lists.ntp.org https://lists.ntp.org/mailman/listinfo/questions