• mina86.com

  • Categories
  • Code
  • Contact
  • NTP over HTTP

    In case you’ve missed it, issue #8 of the Paged Out! magazine is out. Marking that occasion, I thought I’d share my ntp-over-http Rust implementation which was featured there. Did you ever need to synchronise a machine’s time without access to NTP (maybe because of a blocked port)? That’s exactly what the tool can help with.

    $ cargo install ntp-over-http
    
    $ ntp-over-http
    ntp-over-http: https://qwant.com/
    2026-03-27 17:08:42 UTC

    For more details, caveats and other approaches, have a look at the NTP-over-HTTP article in the magazine.

    Long time readers — back from Jogger days — might find this familiar. Indeed, I first wrote about the idea 16 years ago. The Paged Out! article is an updated version of that post plus now it comes with a full implementation.