[ntp:questions] issue with the hmac-md5 digest

Sukanya K. sukanya.k at accord-soft.com
Fri Apr 1 07:37:15 UTC 2016


Greetings of the day,

I have implemented Ntpv4 with symmetric in our hardware. Where my application code will act as  Ntp-server.

When I sent synchronization request from linux pc(Ntp-client::using ntpd services) without key , client is synchronizing properly.

But when I sending ntp packet with symmetric key, client is not synchronizing.

The hmac md5 digest which is generated by the client is not matching with the  calculated digest from server side.

I have evaluated my hmac-md5 code by giving the all test cases(rfc2202) as per the rfc. And all the digest were matched.

But it is not matching with the clients ntp packet message digest.


Please suggest some solution for the above issue.




Thanks & Regards
Sukanya Kamakolanu

############################################################################################ The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, copying or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this in error, please contact the sender and delete the material from your system. Accord Software & Systems Pvt. Ltd. (ACCORD) is not responsible for any changes made to the material other than those made by ACCORD or for the effect of the changes on the meaning of the material. ############################################################################################


More information about the questions mailing list