Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I am surprised that NTP project is not funded, fully or partially, by larger organizations or governments, given the criticality of the project.


The reference implementation, while historically important, has largely been displaced by more secure/performant implementations (ntpsec, chrony), or by in-house implementations (Amazon, Google).

Notably NTPd doesn't support leap-smear, which means those who absolutely must have monotonic time can't use it at all.


> Notably NTPd doesn't support leap-smear, which means those who absolutely must have monotonic time can't use it at all.

It should be noted that there currently exists no standard, technical or statutory, for how to do leap smearing. If an event happens and you need to tie your timestamped event logs to the 'greater reality' in some legally binding way there's (AIUI) no way to do that.

A few years ago there was a draft on the idea:

* https://datatracker.ietf.org/doc/draft-stenn-ntp-leap-smear-...

And the currently-draft NTPv5 has something about:

* https://datatracker.ietf.org/doc/draft-ietf-ntp-ntpv5/

Though the flag simply says that the timescale is smeared and not (AFAICT) how it is being done.

See also perhaps RFC 8633 § 2.7.1:

    […]

    Operators who have legal obligations or other strong requirements to
    be synchronized with UTC or civil time SHOULD NOT use leap smearing
    because the distributed time cannot be guaranteed to be traceable to
    UTC during the smear interval.

    […]

    Any use of leap-smearing servers should be limited to within a
    single, well-controlled environment.  Leap smearing MUST NOT be used
    for public-facing NTP servers, as they will disagree with non-
    smearing servers (as well as UTC) during the leap smear interval, and
    there is no standardized way for a client to detect that a server is
    using leap smearing.  However, be aware that some public-facing
    servers may be configured this way in spite of this guidance.
* https://datatracker.ietf.org/doc/rfc8633/


>If an event happens and you need to tie your timestamped event logs to the 'greater reality' in some legally binding way there's (AIUI) no way to do that.

TAI (Temps Atomique International), is UTC without leap seconds and is the source of truth for "what time is it"

I'm finding conflicting reports of being able to actually use TAI on linux but there are several claims of at least specialty setups existing. You would absolutely not want smearing or anything like that in your time synchronization software in this case.


> Those who absolutely must have monotonic time

... shouldn’t be using a Unix timestamp, or anything else that’s not a count of SI seconds elapsed since a fixed reference point, to begin with.


Pitch: TAI


Kind of. If you “absolutely must” have monotonic time, though, and also care about NTP, then just pointing to TAI (in DJB’s naïve definition) or GPS time is not enough. You need to make decisions on whether you, for example, would prefer your imprecise seconds to be more even individually or for the aggregate count to be more accurate (NTP of course gets you the latter by default). Dear Sir[1], you have done metrology.

[1] https://people.csail.mit.edu/rachit/post/you-have-built-a-co..., https://news.ycombinator.com/item?id=29891428


I really just want the software time to be as good as the underlying hardware clock...

...rather than setting a rather awful minimum performance spec of 10ppm smearing over a leap second day.

Three lies: Universal - multiple smear implementations, linear vs cosine off the top of my head.

Coordinated - whose in charge here? Google? Facebook?

Time - doesn't even try for 1s/s

UTC is, for all intents and purposes, yet another human readable time zone. And should be treated as such. The underlying hardware problems I have and understand. Don't need the software making it worse.


Who's running ntpsec?


The major Linux distributions replaced ntp with ntpsec. A better question would be who is still running ntp. I know about FreeBSD and NetBSD.

ntpsec as a project seems to be doing ok. They are releasing new versions, fix reported issues, accept patches, and develop the code publicly. While ntp still has a huge list of acknowledged but unfixed CVEs.


is that true? ubuntu and red hat for example use chrony or systemd-timesyncd


Which distributions use ntpsec?


Current Debian, Ubuntu, Fedora, RHEL/CentOS (EPEL) have an ntpsec package, but no ntp package. It's not used by default (that's chrony on most of the distributions), but the users can install it and use it.


Thats… not the same thing.


At least in part, someone you really don't want to be running a fork of an important project: ESR.


Oh, no, I mean, I know who's actually behind the project, I'm just wondering if there are any major deployments of it.


I'm out of the loop. What's the issue with using a project that ESR contributes to?

I am vaguely aware he has some unpopular political beliefs (though exactly what I don't know). Is that it?


Insofar as racism, homophobia, and sexism are unpopular political beliefs: yes.

Oh, also he doesn't really "contribute" to tech projects so much as "exists near/within them and writes long form ramblings".


Ah, the person I responded to suggests he runs the project.

If he just "exists near", I see even less of a case why someone should avoid it.

But horses for courses, people can choose to avoid for whatever reason.


No, there's a long story behind ntpsec and it's all pretty exhausting and none of it has anything to do with ESR's personal life.


It's not the issue of using the project, to my mind.

It is not even his beliefs, though many of them are — to my ears and hopefully to most — quite repugnant.

It is his attitude, approach, and at various times the kinds of people he attracts.

As it goes, I've seen him speak, back in the 90s, CatB era. He was genial enough but he seemed to have a coterie around him of rather less pleasant people. It could just have been a bad day but it has stuck in my mind ever since: it was the first time I understood that there's not really any sort of inclsive geek community.


Less pleasant — in what way?


The Network Time Foundation (which counts the NTP project among those it provides resources to) lists several corporate Members.

But yeah, critical infrastructure usually goes criminally underfunded.


Except they aren’t critical infrastructure which is why no one supports them.


Accurate timekeeping is critical infrastructure. So much so, that the US government operates many radio stations whose sole purpose is to provide current time announcements, reference clocks, and other timekeeping-related information. See [0].

Relatedly: surely you're not of the opinion that the various GPS constellations are not critical infrastructure?

[0] <https://www.nist.gov/pml/time-and-frequency-division/time-se...>


Just because other timekeeping projects are critical infrastructure doesn't mean that one NTP client is critical infrastructure.


Sure. I agree with you. You're absolutely correct.


I figured they would be funded by NIST, but the way the US government has been pulling back funding for everything, it didn't surprise me that they need money. Much like Jimmy Wales, I bet if everyone donated 5 bucks they'd be in a much better spot.


They need money because they aren’t important.



Shoutouts to Nebraska


Hey, somebody out there

Listen to my last prayer

Hi-ho-silver-o

Deliver me from nowhere


Large tech companies and free-riding critical internet commons, name a better duo.


That would be easily solved by blocking from NTP any ip address belonging to a big tech corp that doesn't pony up.


The big companies have their own NTP pools and even implementations.

You can use the public Google or AWS pools if you want. Note that they have their own software, too, so be sure you understand the differences like leap smearing.

Blocking FAANG IPs from the NTP Foundation’s pools wouldn’t hurt FAANG at all. It would only hurt people who weren’t aware and used the NTP Foundation’s pool for things.


Not really. The biggest drain on resources historically has come from things like routers that have fixed NTP servers hardcoded in the firmware and every customer ends up using just that one without even knowing they're contributing to the problem. They also can't be blocked as the requests could come from anywhere.


Itchy and Scratchy


Why is research into the protocol useful. Isn't it done?


We keep coming up with new ways to use it: https://ntrs.nasa.gov/citations/20240011919


It's telling that we can appropriate millions of dollars to transport a decommissioned shuttle from a museum in Virginia to Texas, but NASA can't pitch in the cost of one tank of diesel to the people maintaining what this article claims to be a mission-critical tool?


The claim is false.


Time is hard, time synchronization is arguably harder.


The project isn't about research it's about creating a reference implementation


> The NTP Project conducts Research and Development in NTP, a protocol designed to synchronize the clocks of computers over a network to a common timebase.

Research is put front and centre in their pitch for funding.


This is probably research into protocol for time sync. Which works well for some scenarios, but not yet for others and can improve the reference implementation (I guess; I have no hard knowledge there).

And given that ntp.org runs servers that so many organizations use they should be near the top of the funding queue for any NTP research. My 2c.


What's the distinction from NIST's internet time service?


Don’t think you deserve these downvotes. That was my reaction too. Perhaps they’re coming from people who believe that the money is to support running of time servers (which, to be fair, “Please donate to keep the Network Time Protocol up” certainly implies…)

I too would be interested in knowing what the Network Time Foundation is researching, and I think conversation about that is appropriate here. NTP certainly _seems_ like it’s been ‘good enough’ for decades to an uninformed observer, and discussing if and why it’s not would be interesting (and perhaps motivate donations!)


It's not really clear why they need this money either?


> It's not really clear why they need this money either?

Really? The sentence at the top of the Donate page seems pretty clear to me:

> Your donation helps Network Time Foundation maintain the NTP website and provide resources and support to NTP developers.

Is it unclear to you?


It is kind of vague IMO. Especially since most of the actual NTP infrastructure is run by governments, universities, and companies.

https://gist.github.com/mutin-sa/eea1c396b1e610a2da1e5550d94...

But..it's $1k. This is basically pocket change on an institutional level. I've been part of some very scrappy and poorly funded community organizations and even they took in more than $1k every year. Even if you don't believe NTP maintainers should be paid anything for their work (an opinion I don't hold), it's trivial to spend this amount on modest everyday expenses like renting a venue a couple of times, buying insurance, and paying for hosting and technical resources.

EDIT: Here is their 2024 tax return

https://www.nwtime.org/about/documents/2024_NTF_IRS_990.pdf

It looks like they took in more than $200k and spent $100k on "contract services" (I can't tell what that means) and somewhat modest amounts on other things. Unfortunately I need to exit the rabbit hole now.


We're talking about $1000. In context i would assume its their hosting bill.

I can't imagine its much more than that if we are talking about such a small sum.


I assumed their hosting bill


> It is kind of vague IMO.

How much more clear can they reasonably be?

It seems a big waste of effort to maintain -say- a damnable Trello board with upcoming priorities and roadmaps <strike>and Kickstarter stretch goals</strike> when their bug tracker and mailing list are visible to the public. (Though, it seems that they've recently put the list behind some broken moderation software, so you have to go to -say- the IETF's archive of the thing to read it. "AI" crawlers ruin everything.)

EDIT: Do note that that tax return you found is for the Network Time Foundation, not the NTP Project. I don't know if the two are separate entities for tax purposes, but do note that the NTF supports several projects, of which the NTP Project is one. The NTP Project is just for NTP.


It doesn't explain why they need the money "we need the money to continue doing what we are doing" means nothing unless they also explain what they are doing and why it matters.

Thankfully, that's also on the front page:

What they are doing:

> The NTP Project produces an open source Reference Implementation of the NTP standard, maintains the implementation Documentation, and develops the protocol and algorithmic standard that is used to communicate time between systems

And why it matters:

> NTP is what ensures the reliability of billions of devices around the world, under the sea, and even in space

Now, it doesn't explain why a reference implementation is a good thing, but I think that at this point, you have a good enough idea to decide if you want to donate or not.

Edit: However, $1000 seems too low to matter. It may not even pay for the expense of the fundraising itself. I think it is more of an awareness campaign: "look at the protocol we all use, you would think we are talking many millions of dollars, but the truth is, you are off by orders of magnitude"


a website doesn't need $1000

and $1000 seems at the same time to be quite a bit of money, but also too little to be for funding people long term.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: