On 2/5/19, Eric S. Raymond via devel <devel@ntpsec.org> wrote: > Hal Murray <hmur...@megapathdsl.net>: >> >> > 2. Put together client-side NTS support. This mainly means filling in >> > ntpd/nts.c, as I have already written required the hooks into the >> > protocol machine. >> >> We need code to generate cookies. And test code to pack, encrypt, >> decrypt, >> and unpack. (No byte swapping - we get back what we send.) >> >> We need code to pack/unpack/byte swap extension fields, and authenticate >> requests and check authentication and decrypt responses. >> >> I will go look at your hooks to see if the API looks reasonable. > > Also take a look at James Browning's npd/nts_libs.c. Some of the utilities > you're talking about are in there.
Primitive record handling and non-workable stubs for cookie handling. There is more in https://gitlab.com/jamesb_fe80/ntpsec/tree/libnts but it needs to be rewritten and expanded and I am slow. _______________________________________________ devel mailing list devel@ntpsec.org http://lists.ntpsec.org/mailman/listinfo/devel