ntpd-rs: NTP for the modern era
summary
A Rust reimplementation of NTP that aims for millisecond precision, uses atomic clocks/GPS as sources, and implements the NTS extension for authenticated time. Code uses Tokio, clap and libc, emphasizes fuzzing and tests, and avoids segfaults via safe Rust while still doing deliberate panics for invalid configs. Project reaches an alpha release after a security audit and ships Linux packages using Plutos installers; FreeBSD and macOS ports exist as open PRs.
AI-written summary · about
chapters (10)
- 0:00ntpd-rs introduction
- 1:12Time sync in networks
- 3:37NTP basics and security
- 5:22Reimplementing NTP in Rust
- 7:10Rust advantages for ntpd-rs
- 9:17Project status and plans
- 10:20Installation and call
- 11:31Q&A: One-Shot mode and embedded
- 13:16Q&A: Panic guarantees and audit
- 15:24Q&A: Pluto packaging tool
related talks
11mLightning Talk: Implementing the Precision Time Protocol (PTP) in the Zephyr Proj...
43mDo the Time Warp – the Rocky Horror PTP Show: Verification of Network Time...
24mRunning PTP at scale
43mTic-Tac... Bomb! Master time and NTP before it's too late
13mUnderstanding Precision Time Protocol in Today's Wi-Fi Networks: A Measurement Study
23mRust Adoption at Scale With Ubuntu
55mPractical TSN; using NetChan for distributed PoC
43mTick Tock: Maintaining Time
