Add nts.amethyst.name - #172
Conversation
Changed Files
|
Signed-off-by: Naomi Persephone Amethyst <naomi@amethyst.name>
db63b8d to
0c381a4
Compare
|
NTP support seems available but it is not reachable via NTS. You should also try to improve accuracy of the server |
|
I dug into this in depth, and the server is reachable over NTS; the timeout is a rkik limitation rather than a server fault.
chrony's NTS server enforces RFC 8915 anti-amplification: it won't emit a response larger than the request, and silently drops requests too small to cover the cookie-replenishment response. With 96-byte SIV-CMAC cookies that minimum works out to ~524 bytes, so rkik's 224-byte packet is dropped before it's processed. I forced chrony's client onto the same AEAD rkik uses ( chrony adaptively pads with Cookie Placeholder EFs until it clears the anti-amplification threshold, then gets answered. rkik sends a fixed 224 byte with zero placeholders and gives up. (rkik authenticates fine against servers like nts.netnod.se whose response fits its small request.) So the server serves NTS correctly over both AES-SIV-CMAC-256 and AES-128-GCM-SIV. Easy to confirm with chrony: The rkik behavior is an upstream client issue (it should include Cookie Placeholder EFs / pad its NTS request), and it's probably worth reporting upstream. On accuracy: the ~4 ms you saw is mostly path asymmetry. On more local paths, I see less deviation: |
|
Thank you for the detailed writeup. I would ask that you please share this detail (as an issue in their repo) with the rkik folks as I agree that it would be a useful enhancement. I can confirm that chronic correctly sees it. Merging request now. Thanks for the contribution. |
|
@jauderho Fix landed upstream: aguacero7/rkik-nts#8 |
Adds new public Network Time Security (NTS) server, nts.amethyst.name, to the repository's configuration files and documentation.
This is a stratum 2 time server located in Raleigh, NC (US), operated by me (at AS53546).