An NTP server that Keeps It Simple, Stupid https://github.com/moparisthebest/kiss-ntpd
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Travis Burtrum 3110ad40bf Refactored to be more KISS, now only 79 lines of rust code, version 2.0.0 9 months ago
.ci kiss-ntpd 1.0 9 months ago
src Refactored to be more KISS, now only 79 lines of rust code, version 2.0.0 9 months ago
systemd kiss-ntpd 1.0 9 months ago
.gitignore kiss-ntpd 1.0 9 months ago
.rustfmt.toml kiss-ntpd 1.0 9 months ago
Cargo.lock Refactored to be more KISS, now only 79 lines of rust code, version 2.0.0 9 months ago
Cargo.toml Refactored to be more KISS, now only 79 lines of rust code, version 2.0.0 9 months ago
LICENSE.md kiss-ntpd 1.0 9 months ago
README.md Refactored to be more KISS, now only 79 lines of rust code, version 2.0.0 9 months ago

README.md

kiss-ntpd

Build Status crates.io

An NTP server that Keeps It Simple, Stupid.

It simply responds to NTP queries with the current system time, it doesn't fuss with leap seconds or stratum or any of those other things we don't care about. It will simply synchronize your clock to the server's clock rather closely and that's it.

Host this on your router for all your LAN clients, and let systemd-timesyncd or another ntp client keep that clock in sync.

Usage
usage: kiss-ntpd [options...] [bind_addresses...]
 -h, --help                      print this usage text
 -V, -v, --version               Show version number then quit

 If no bind_addresses supplied, defaults to 0.0.0.0:123

There is an example systemd unit in systemd/kiss-ntpd.service which runs it with minimal permissions and as locked down as possible.

Many thanks to rsntp from which I forked this code.