11 Jul 2004 dtucker   » (Master)

OpenBSD -current now has a small, simple NTP daemon as an alternative for the large, featureful reference implementation. It's small and should be secure (it's privilege separated) and should serve the needs of most people (who don't need the power or features of the reference implementation.)

I've taken this, added autoconf and a portability layer much like (indeed, based heavily on) OpenSSH and produced a portable version. Currently it works on Linux and FreeBSD in addition to OpenBSD. Depending on how well it works out, support for other platforms might be added.

While it's small, it's fully functional for basic sync-to or sync-from requirements, but it doesn't (yet) have the capability to act as a stratum-1 time source. On the other hand, it's an order of magnitude smaller than the reference implementation :-)

$ du -ks /usr/sbin/ntpd /usr/local/sbin/ntpd
328     /usr/sbin/ntpd
36      /usr/local/sbin/ntpd
(both compiled normally, dynamically linked and stripped).

Correction: The latter is compiled without optimization, with -O2 the size is 28KB. I also forgot to mention the funny part: the "configure" script is bigger than rest of the source code combined.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!