Slashdot Mirror


NTP's Fate Hinges On "Father Time"

Esther Schindler writes In April, one of the open source code movement's first and biggest success stories, the Network Time Protocol, will reach a decision point, writes Charlie Babcock. At 30 years old, will NTP continue as the preeminent time synchronization system for Macs, Windows, and Linux computers and most servers on networks? Or will this protocol go into a decline marked by drastically slowed development, fewer bug fixes, and greater security risks for the computers that use it? The question hinges to a surprising degree on the personal finances of a 59-year-old technologist in Talent, Ore., named Harlan Stenn.

287 comments

  1. Fewer bug fixes? by Anonymous Coward · · Score: 3, Insightful

    What the hell is there to fix in a protocol solely designed to return a string of numbers?

    1. Re:Fewer bug fixes? by nitehawk214 · · Score: 4, Interesting

      If it is not broke, fix it until it is.

      Is this what keeps projects alive?

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
    2. Re:Fewer bug fixes? by BitZtream · · Score: 5, Interesting

      NTP doesn't just 'return a string of numbers'.

      But either way, the article isn't about NTP the protocol, its about one shitty implementation of NTP that I don't think anyone even uses anymore. Windows and OS X certainly don't.

      The summary and headline are equivalent to saying 'Netscape is going out of business, HTTP in danger of disappearing'

      If he were to drop dead right this instant ... no one that matters would notice beyond his family.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    3. Re:Fewer bug fixes? by Anonymous Coward · · Score: 4, Insightful

      If it is not broke, fix it until it is.

      Is this what keeps projects alive?

      Yep. New is always better, because shiny.

    4. Re:Fewer bug fixes? by garyisabusyguy · · Score: 5, Informative

      Feeling grumpy?
      From page 2 of the linked article:
      Apple Macintosh computers and servers running OSX use NTP, and Stenn said Apple developers have called him for help on several NTP issues. In the last such incident, he said he delayed a patch to give Apple more time to prepare OS X for it. When they were ready, he applied the patch and asked "whether Apple could send a donation to the Network Time Foundation," Stenn recalled. "They said they would do their best to see that Apple throws some money our way." But it hasn't happened yet.

      Apparently somebody is under the impression that OSX still uses it, unfortunately this is how the business majors deal withit:
      "Everybody loves us," Stenn said. "But people with money say, 'We don't give to open source projects.'"
      http://www.informationweek.com...

      --
      Wherever You Go, There You Are
    5. Re:Fewer bug fixes? by msauve · · Score: 3, Interesting
      So, what implementation of the NTP protocol do you use? Chrony?

      The reference implementation, which is the subject of the article, is what's used by pretty much everyone. Name a significant OS/distribution which doesn't use ntpd.

      Oh, and that includes OS X, contrary to your incorrect claim:

      macmini-2:~ msauve$ ntpd --version
      ntpd - NTP daemon program - Ver. 4.2.6

      --OS X Yosemite

      You are correct about one thing - it is a shitty implementation. It doesn't even follow RFC 5905, which it's supposed to be the reference for.

      --
      "National Security is the chief cause of national insecurity." - Celine's First Law
    6. Re:Fewer bug fixes? by Anonymous Coward · · Score: 5, Insightful

      "Everybody loves us," Stenn said. "But people with money say, 'We don't give to open source projects.'"

      They don't give to GPL projects.

      They hire BSD developers (CUPS, Clang, etc) because they can keep the parts closed they want.

    7. Re: Fewer bug fixes? by kthreadd · · Score: 2

      Red Hat Enterprise Linux uses Chrony by default since release 7.0.

    8. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      you just described any and all data traffic, so yes.

    9. Re:Fewer bug fixes? by Crashmarik · · Score: 4, Interesting

      So he patched for and worked with Apple and they said we'll see ?

      If his time isn't valuable to him why should it be to Apple ? Next time they call he should tell them he can't talk to them unless they fax back a block time purchase agreement with either a check or credit card and a statement they won't charge back.

    10. Re:Fewer bug fixes? by f3rret · · Score: 5, Informative

      NTP doesn't just 'return a string of numbers'.

      No, sometimes it returns A lot of strings of numbers.

      --
      Admit nothing. Deny Everything. Make Counter-accusations.
    11. Re:Fewer bug fixes? by gnasher719 · · Score: 5, Informative

      So he patched for and worked with Apple and they said we'll see ?

      The way he did this, it is probably difficult for the responsible person at Apple to actually pay him. He should have offered to do the work as a contractor, someone would have found money in a budget, and when he sends a bill for five days contracting work they pay the bill. That's how it works.

      He seems to be asking for a donation to an open source project. How can someone at a commercial company put that in a budget? The financial guys say "is there any legal reason why we have to pay this money", the answer is no, so it won't get paid.

    12. Re:Fewer bug fixes? by Crashmarik · · Score: 1

      Sure you could do it that way but why ??
      From the reactions you would think Redhat didn't sell support agreements.

    13. Re:Fewer bug fixes? by laffer1 · · Score: 1

      Depends on your definition of significant.

      OpenBSD
      DragonFly

      These clearly aren't:
      MidnightBSD (my project)
      MirBSD

    14. Re:Fewer bug fixes? by hairyfeet · · Score: 2

      Windows uses the Windows Time Service which IIRC is compatible with but NOT ntpd which is why there is a port of ntpd for Windows if you would desire to use it.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    15. Re:Fewer bug fixes? by RabidReindeer · · Score: 2

      What the hell is there to fix in a protocol solely designed to return a string of numbers?

      Yeah. All You Have To Do Is...

      (screams)

    16. Re:Fewer bug fixes? by Anonymous Coward · · Score: 1

      Yes, big companies excel at making simple things complicated.

    17. Re:Fewer bug fixes? by gl4ss · · Score: 1

      it would be helpful if it mentioned what the patch actually did.

      was a patch for the server, that would have broken osx if rolled out? did the patch then break unpatched osx time sync? or what. I mean, why did he need to delay it? what the fuck? why not make actual sense, maybe people would give you money if you could articulate it meaningfully why you need more money to maintain something that does one thing and has been getting patches for a long time already, never mind that simplification of it to a degree where patching would be unnecessary for the future would maybe be a better idea?

      --
      world was created 5 seconds before this post as it is.
    18. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      What the hell is there to fix in a protocol solely designed to return a string of numbers?

      This shows how little you know about software development.

    19. Re:Fewer bug fixes? by jareth-0205 · · Score: 1

      What the hell is there to fix in a protocol solely designed to return a string of numbers?

      Because time is a rabbit's nest of problems. https://www.youtube.com/watch?...

    20. Re: Fewer bug fixes? by Anonymous Coward · · Score: 5, Funny

      systemd will perform the functionality at some point.

    21. Re:Fewer bug fixes? by khallow · · Score: 1

      Sure you could do it that way but why ??

      To get funding for your FOSS project.

    22. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      Of cause we can't keep using software that don't have tons of bugs that need fixing; Its not modern! Modern software is like modern jeans, hastily thrown together, frayed at the edges and full of holes.

    23. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      If I wasn't an AC I'd vote for your comment! :-\

    24. Re: Fewer bug fixes? by jcdr · · Score: 5, Informative

      Already done for the client part of the NTP: systemd-timesyncd

    25. Re:Fewer bug fixes? by jcdr · · Score: 1

      systemd-timesyncd
      http://www.freedesktop.org/sof...
      It's only the client side of NTP, but enough for diskless machines it is designed for.

    26. Re:Fewer bug fixes? by jandrese · · Score: 1

      Windows Time Service only implements SNTP, which is why it lets the clocks drift a fair bit. It's mostly good enough for people who don't need sub-second precision, but you can do a lot better.

      --

      I read the internet for the articles.
    27. Re:Fewer bug fixes? by CaptainDork · · Score: 1

      "Seeded?"

      --
      It little behooves the best of us to comment on the rest of us.
    28. Re:Fewer bug fixes? by Anonymous Coward · · Score: 1

      Did you read your link?

      Network Time Protocol

      Network Time Protocol (NTP) is the default time synchronization protocol used by the Windows Time service in the operating system. NTP is a fault-tolerant, highly scalable time protocol and is the protocol used most often for synchronizing computer clocks by using a designated time reference. The Windows Time service integrates NTP version 3 with algorithmic enhancements from NTP version 4, which provides these benefits:

    29. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      BSD advocates are the opensource equivalent of Uncle Tom.

    30. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      Not really. NTP does a lot more than that:

      1: Keeps in sync with computers above it, but not too much that it would allow one bad node to completely change the clock.

      2: Works with peers to figure out a current time that all can agree on.

      3: Hands time securely (as in cryptographically signed) to machines requesting it.

      4: Works on all types of hardware, be it a Windows DC, a Linux Oracle server, an Android device, a Mac, AIX box, or anything else.

      This is a very critical function, and one security hole can cause major implications. For example, a few years ago, a major timeserver had a glitch. The Windows boxes at the university I worked part-time at all seized and required a reboot, completely losing sync with SSL, AD, and other critical functions. The Macs, Linux boxes, Solaris boxes, and other UNIX machines, they kept right on going.

      Time is a security critical function... An intruder able to screw with time synching can wreak a lot of havoc.

    31. Re: Fewer bug fixes? by felipou · · Score: 1

      WTF. You just turned me into a total systemd hater now.

    32. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      What kind of fucking idiot is he? Jobs cancelled all donations to any causes quite some time ago, and the company never restored them.

      You think they're going to give money to a something they don't NEED to (there's practically no PR value)? Money from the greediest corporation on the planet?

      AHAHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHAHAAHAHAHAHAHAHAHAHAHAHA

    33. Re: Fewer bug fixes? by Anonymous Coward · · Score: 0

      With an attack surface like this, what could possibly go wrong?

      The whole systemd codebase is completely new and just waiting for the low-hanging fruit to be plucked, possibly remotely.

      Furthermore the codebase is massive. Why not split it up into independent components?

      If one wants to write a new NTP daemon, just write one, don't couple it with systemd. Make sure it works with systemd but that's it. If systemd cannot do that easily without tight coupling, then maybe systemd needs facilities to fix this problem.

      Regardless of systemd being a kick-ass init system / enabler for future lock-down of Linux platforms for DRM purposes (whatever your opinion, systemd seems to polarize people) there is no point in making it the biggest component in the universe in either case.

    34. Re:Fewer bug fixes? by sudon't · · Score: 1

      "Occasionally, he pitches them to sign up as supporters of the Network Time Foundation, a nonprofit corporation he set up to receive donations for NTP. According to Stenn, they seldom do. In fact, just six companies support the foundation, with VMware the only household name among them."

      I don't know why Apple (at least) doesn't make a donation. It's not like they don't have shitcakes of dough just sitting around, anyway.

      --
      -- sudon't

      Air-ride Equipped

    35. Re: Fewer bug fixes? by Anonymous Coward · · Score: 1

      Which only implements a subset of the protocol, but is being pushed hard to replace ntpd/chronyd anyway. Reading through Poettering's posts discussing systemd-timesyncd is truly frightening. Every time someone mentions something that timesyncd does differently/more poorly than ntpd, he's never heard of it and didn't know how ntpd even did it.

      Why he feels compelled to replace a functioning project that he doesn't even understand is beyond comprehension.

    36. Re: Fewer bug fixes? by jcdr · · Score: 1

      Why ? The purpose of systemd-timesyncd is to provides a simple time synchronization client for diskless machines (without /etc folder). It's a completely optional application that will not replace a real NTP server.

      Aside of the systemd purely emotional polemic, having a full NTP service into the systemd repository will at least make it potentially in a position to get some more care from a larger set of developers than in the actual situation of the venerable ntpd.

    37. Re: Fewer bug fixes? by jcdr · · Score: 1

      systemd-timesyncd is a completely independent an optional application. His 'systemd' prefix only exists because his code is part of the systemd repository and because it use the libsystemd interface. See by yourself: https://github.com/systemd/sys...

      It do exactly what you expect: it is not part of the systemd initialization code, but work with systemd interface library like any applications that want to work with this new interface. See for example this situation on a custom ARM board running Debian jessie:


      root 1 0.0 0.5 4364 3008 ? Ss Mar12 0:04 /sbin/init
      root 605 0.0 0.4 7360 2472 ? Ss Mar12 0:03 /lib/systemd/systemd-journald
      root 909 0.0 0.4 9964 2268 ? Ss Mar12 0:00 /lib/systemd/systemd-udevd
      systemd+ 924 0.0 0.3 12104 1564 ? Ssl Mar12 0:00 /lib/systemd/systemd-timesyncd

      Please verify some basic information before making critic to systemd-timesyncd, because from what I understand it is designed precisely the way you recommend.

    38. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      That went completely over YOUR head. It's not that Apple does not use NTP, I have yet to see any network that doesn't use it. NTP is a standard on everything almost.

      The point he was trying to make was that the specific feature of NTP to be patched is not really important. It has worked fine this long, so it should be left alone.

    39. Re: Fewer bug fixes? by jcdr · · Score: 1

      Please provides some reference to back your claims.

      systemd-timesyncd goal is to provides a very simple NTP client to very simple systems like diskless machines or tiny embedded systems. The fact is that having a system time set to something close to the actual time is a desirable feature, not only to get log with usable timestamp, but also for some security protocols.

    40. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      This is the glorious capitalism at work!

      Don't forget the new cover sheets for the TPS reports.

    41. Re:Fewer bug fixes? by Anonymous Coward · · Score: 2, Informative

      NTP is not GPL.

      See http://www.ntp.org/copyright

    42. Re:Fewer bug fixes? by AK+Marc · · Score: 1

      For a company that big, they'll have a separate division for charitable giving. The manager he did the work for probably could have paid him $1,000,000 for his work (that he then could have given to NTP), but the manager likely couldn't give $10 to the nonprofit, even out of personal money.

      The larger companies do that because even $1 to the wrong orphan's fund could be spun in media as "supporting terrorism" or something like that.

      My take on it is that he's deliberately naive. He could have asked for payment for services, instead, he opted to ask for a donation, knowing that was harder and more complex than just a simple contracting job.

    43. Re:Fewer bug fixes? by AK+Marc · · Score: 1

      Only talk UTC. Problem solved.

    44. Re:Fewer bug fixes? by jareth-0205 · · Score: 1

      Only talk UTC. Problem solved.

      So change the entire world for your convenience. Genius fix...

    45. Re: Fewer bug fixes? by WebCowboy · · Score: 0

      What attack surface?

      Systemd *the project* is a repository of a large number of individual binaries. The init system is separate from the logging is separate from this time sync thinf and so on.

      Systemd is NOT one monolithic entity (which linux OS people haven't seemed to mind in other respects--the kernel is monolithic after all). It does not have any one large attack surface either.

      The issue that makes it contoversial is that it is not "unix like" enough for old grey neckbeards. It has binary log stores, the various components interact with binary APIs and it is designed to work specifically with Linux rather that being kernel agnostic. It is "different"...the init system appears to be the free software equivalent to Microsoft svchost...or so goes the argument.

      The other argument..or conspiracy theory or whatever, is that the *project*, irrespective of how modular or componentised or how much is optional, is that forces from the evil-corporate-redhat camp are somehow coercing distro maintainers to adopt the whole works carte-blanche, perhaps before its time.

      None of this really has any bearing on the security of its design or attack footprint however. It has been in use for a few years now and no heartbleed scale issues found yet.

      I did find it disorienting at first to work with systemd and i wouldn't have implemented it exactly that way, but on the whole it is far better than the inconsistent, crufty, not broken per se but very brittle sysVinit.

      Anyways i see the whole systemd controversy as being indicitave of a 'UNIX old guard' culture. Not universally in open source but a loud segment of it. Sometimes what aint broke is worth fixing, because it is brittle, or it actually has cracks and holes unseen like metal fatigue. And in the case of low level stuff like this it is thankless work. Systemd is in that realm with openssl and ntpd and consolekit. Systemd takes some old poorly supported and outdated stuff and replaces it with something radically different, and for their efforts they are shat upon. Yes they have big egos but so do most free software leaders. If you create and maintain something and are more meek or deferential then this kind of un sexy software ends up in a state like consolekit or ntpd or openssl...no new ideas, no scrutiny, no appreciation... Until the developer just gives up or thete is a big bug missed or whatever.

      Attitudes have to change. Stop bitching about the efforts of people like Pottering and Sievers and contribute! Don't agree with the state of things? Spearhead an effort for an alternative. Systemd is not compiled into GNOME and other software though it is packaged with that depenency most often. The APIs and peotocols are open. Alternative implementations can be made.

      I have the utmost respect and admiration for those who put in all the effort on systemd...AND uselessd AND systembsd. They want to make software better even if we dont always agree with their approach. And in the interest of avoiding monoculture I really hope the alternative implementations gain traction...and that goes for alternatives to openssl anf ntpd as well.

    46. Re: Fewer bug fixes? by Anonymous Coward · · Score: 0

      Hog shit! ! Remobilize your ignorant indignation: Opennssh, the fucking walking talking platinum standard for crypto shell work, bit transfer, a bsd licensed project, two decades old now, useful for anything including baby mulching, technical term, and shipped in every fucking piece of cisco, et al, networking equipment (Huawei too I'd imagine) AND PROVIDED BY OPENBSD free as well as gratis gets nearly jack shit on donations from the ciscos of this world. Last I read Theo excoriate the fuckers in 2005ish only the likes of Googles was chipping in a small 3-5 K donation. So get hour head out of your dogmatic facile boilerplate stereotype uninformed smelly ass. Ha buddy? Um K? -King Fucker Chicken

      * Man, there's so much backstory I left out so as not strain my thumbs yet and make you work your dumb provincial waste of space self. Go read the marc lists fucker!

    47. Re:Fewer bug fixes? by AK+Marc · · Score: 1

      Nope, change nothing. That you are too dumb to understand localized localization doesn't change that it's the best for everyone and requires almost no change on anyone's part doesn't mean it's a bad idea.

    48. Re:Fewer bug fixes? by Anonymous Coward · · Score: 0

      Then a leap second comes along, breaking anything that doesn't expect a 23:59:60.
      Whoops, should've used TAI.

    49. Re:Fewer bug fixes? by hairyfeet · · Score: 1

      Uhhh according to MSFT its a grand total of 1 to 2 seconds which for a good 99.9% of us? Is frankly more accurate than we'll ever need. It can always use (what I have no doubt is their own take on) NTP if you require tighter clocks but even when I worked corporate I don't think I ever had to use anything other than SNTP, as even most corps don't need to be more accurate than that.

      --
      ACs don't waste your time replying, your posts are never seen by me.
    50. Re:Fewer bug fixes? by Krishnoid · · Score: 1

      Exactly when it returns that string of numbers?

    51. Re:Fewer bug fixes? by Bengie · · Score: 1

      OpenNTPD is SNTP only, but also adjusts for clock drift. Actually, OpenNTPD adjusts the clock's tick rate instead of only adjusting the time.

    52. Re:Fewer bug fixes? by Baloo+Uriza · · Score: 1

      Not just that, but did we really need five pages to tell us that Oregon's an expensive place with no work and a population that's willing to pay more and expect less out of life?

      --
      Furries make the internet go.
    53. Re: Fewer bug fixes? by Anonymous Coward · · Score: 0

      Already done for the client part of the NTP: systemd-timesyncd

      Did SystemD(eath) write their own original code to implement a NTP client? Or did they "fork" someone else's code?

    54. Re: Fewer bug fixes? by jcdr · · Score: 1
    55. Re: Fewer bug fixes? by jcdr · · Score: 1

      Thank for your post.

    56. Re:Fewer bug fixes? by jandrese · · Score: 1

      1 or 2 seconds can be an eternity depending on what you're doing. For pounding out documents in Word it's fine, but if you're correlating packet traces across multiple machines it's not good enough.

      --

      I read the internet for the articles.
  2. /. is not kickstarter by borcharc · · Score: 2, Insightful

    stop hitting us up for money

    1. Re:/. is not kickstarter by snowsnoot · · Score: 5, Insightful

      Yes but there are an assload of companies out there making a shit-tonne of cash using these FOSS programs and not contributing in any way whatsoever. Its a complete disgrace and they should be exposed for the cheapskates they are.

    2. Re:/. is not kickstarter by inflex · · Score: 0, Flamebait

      If people don't want megacorps making a "shit-tonne" of cash out of their work then they need to be forward thinking and put a clause in the licence to prevent this.

      The software author has the power to control the licence. No one put a gun to their head and told them to release it free.

    3. Re:/. is not kickstarter by nitehawk214 · · Score: 1

      Free and Open Source... unless you make money, then fuck you.

      --
      I'm a good cook. I'm a fantastic eater. - Steven Brust
    4. Re:/. is not kickstarter by koinu · · Score: 1

      And if spend money, spend it on this guy, because this is the leading expert on ntpd and time setting issues who actually works on the problem and who you can trust to make it right.

    5. Re:/. is not kickstarter by Anonymous Coward · · Score: 2, Informative

      And nobody is putting a gun to the corporations head to make them give money.

      Just because something is legal doesn't mean it's not assholish and deserving of public shame.

    6. Re:/. is not kickstarter by silentcoder · · Score: 2

      >The software author has the power to control the licence

      Except when, like here, it's not the original author. Stenn is maintaining the code and has been for a long time, but NTP was originally written by David Mills.
      Mills didn't have the associated costs that Stenn has to deal with - he could do it as a hobby, Stenn can't - that's not viable for NTP today anymore.

      Mills is long retired, but HE holds the original copyright and only HE could change the license.

      Now of course Stenn could just walk away and go do something more lucrative and, indeed, if funding doesn't pick up that's exactly what he will have to do but he can't change the license of NTP and if he could the entire internet would pretty much collapse (indeed if Mills had not used a free license - the internet probably wouldn't EXIST).

      --
      Unicode killed the ASCII-art *
    7. Re:/. is not kickstarter by inflex · · Score: 4, Insightful

      I really don't see the internet collapsing from him walking away. If it was a legitimate issue it'd be quickly picked up by another party, commercial or otherwise. I'd suggest he does just walk away from it. Even if a lot of money was pushed his way, I'm willing to speculate that he's burned out from all those hours (100/wk?) over the years and now wants to just set things up for a new person, step out, and close the door; been there, done that.

      If we ceased having any NTP servers, then there's a more likely internet collapse scenario. The current NTP software seems to have been doing pretty good over the last couple of decades; or is there something that's progressively changing?

      I appreciate that the guy has put a lot of work in to it, a lot of us (OSS developers) have and it's a passion more than anything else; if you get money out of it, it's a bonus, but one should never engage in it thinking there'll be any rewards other than seeing that the software itself grows and maybe a little bit of acknowledgement of what you've done. The OSS community can't get all up in arms with disgust when large corps use our software to help them progress, while not all corps give back to all projects, there's still a lot of stuff that is given back, or donated, even when not legally required.

      The ethics of earning money off the back of OSS could be debated, but that's a whole different sphere. A lot of us already donate a lot of money already to various OSS projects as a nice feel-good gesture as well as a way to encourage further developments.

    8. Re:/. is not kickstarter by LWATCDR · · Score: 1

      1. It is an article about a problem. At no time did he ask for individual donations.
      2. NTP is important like SSL is important to the internet in general.

      You are not saying anything that helps solve a real problem or contributing to the discourse. So since you commented how would you solve the issue of providing resources for the development of NTP?

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    9. Re:/. is not kickstarter by Anonymous Coward · · Score: 0

      No you are absolutely correct, but to be fair it wouldn't hurt Apple/Microsoft/Linux foundation, somebody to kick something into his paypal. I bet the corporate lawyers could even find a way to make it tax deductible.

    10. Re:/. is not kickstarter by Anonymous Coward · · Score: 0

      that is the present-day paradigm. take everything you can get. take everything you can pry up, too. what you take is yours and you are not obliged to consider how the thing you took came into existence. you might say it is feudal.

      parallel: there are an assload of wealthy people making a shit-tonne of cash using public infrastructure or public risk and not contributing enough to make the public whole. it is a complete disgrace and they should be exposed for the cheapskates they are.

    11. Re:/. is not kickstarter by Bengie · · Score: 1

      From what little I've read, getting time right is incredibly hard, and this guy has a huge bank of knowledge and practice in his head. Anyone who thinks they can take on what he does probably doesn't understand the issues at hand. He's one of those rare 0.01% of programmers who actually know WTF he's doing.

    12. Re:/. is not kickstarter by spectrumlogic · · Score: 1

      Isn't this a similar conundrum and lesson brought to point by Heartbleed (resource allocation)...and a recurring theme for OS projects?

  3. Bugs? by YrWrstNtmr · · Score: 2

    Given 30 years, a single protocol, and 'many eyes'...what is there to fix or update?

    1. Re:Bugs? by garyisabusyguy · · Score: 5, Informative

      Here is an interesting interview with Harlan Stenn at the 2013 Google Summer of Code
      https://www.youtube.com/watch?...

      Apparently he is keeping 7 doctoral and post-doc students busy working on timestamps, noise and 'something' that he did not seem to have a firm grasp on
      He also mentioned a need for admins, a webmail guy and people who want to do documentation

      Having been handed projects after a leads retirement, I think that documentation may be the more pressing need

      --
      Wherever You Go, There You Are
    2. Re:Bugs? by Anonymous Coward · · Score: 0

      Given 30 years, a single protocol, and 'many eyes'...what is there to fix or update?

      That's the problem: not enough bugs. Time to replace it with the Apple Watch Protocol. Why stick with boring old NTP when you can get that gold-plated AWP?

    3. Re:Bugs? by mjgday · · Score: 2

      I think that documentation may be the more pressing need

      But the code IS the documentation!!!!

      --
      foo
  4. father time by Anonymous Coward · · Score: 1

    will and will always have been Dave Mills

    shame on you

    1. Re: father time by kelleher · · Score: 1

      Too true!

  5. Not stable yet? by hcs_$reboot · · Score: 1, Insightful

    No offence, but NTP simple time protocol as it is is surely reliable enough that it doesn't need more maintenance (after IPv6). Don't fix what ain't broken.

    --
    Slashdot, fix the reply notifications... You won't get away with it...
    1. Re:Not stable yet? by Anonymous Coward · · Score: 0

      Na man, the wheel needs to constantly be re invented.
      Nothing is ever done!

      See Linux with systemd.

      --MikeeUSA--

    2. Re:Not stable yet? by Anonymous Coward · · Score: 0

      Actually, my ntpd has been broken since they put in those patches to fix the amplification bugs. It runs for about a day then just quits without any messages or errors. I disabled external access and stuck with the old broken version. Felt I had no other choice if I kept wanting accurate time.

    3. Re:Not stable yet? by Anonymous Coward · · Score: 0

      Claiming that current wheel technology is perfect is pretty bold.

    4. Re:Not stable yet? by jones_supa · · Score: 1

      No offence, but NTP simple time protocol as it is is surely reliable enough that it doesn't need more maintenance (after IPv6). Don't fix what ain't broken.

      Stable platforms do not survive well in the OSS world. The stack is constantly living, and the components need periodical adjustments to keep them in the wagon.

    5. Re:Not stable yet? by Hognoxious · · Score: 1

      They should be square, so if you park on a hill your car won't roll away. But at least gnome isn't dependent on them. Yet.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
    6. Re:Not stable yet? by Anonymous Coward · · Score: 0

      Apparently you haven't ever looked at NTP. Or the news. The protocol isn't simple and the most commonly used implementation had a significant vulnerability discovered just months ago. And it has supported IPv6 for years.

      Literally no of the claims you made are true, so I'm gonna go ahead and assume your conclusion is wrong as well. No offense.

    7. Re:Not stable yet? by Darinbob · · Score: 1

      It's gotten more complex because it has security now, which it needs and is broken without it. Crypto, key exchange, etc. So complex enough that it needs maintenance.

    8. Re:Not stable yet? by hcs_$reboot · · Score: 1

      NTP is pretty independent in the OSS world. A server - maybe dedicated - is based on a hwclock that gives very precise time. Dependencies? Network, ssl maybe... And that's it. So once security and ipv6 are working fine, done. Don't touch it anymore.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    9. Re:Not stable yet? by hcs_$reboot · · Score: 1

      The protocol isn't simple for the dudes who don't understand it. But it's not linked [much] to kernel and libraries. Basically, once it works, it keeps working. There are some refinement to perform from time to time, but nothing à la Gnome.

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    10. Re:Not stable yet? by Anonymous Coward · · Score: 0

      reinvented != improved, otherwise, by your logic, any time we want a wheel we should wander around looking for a relatively round rock.

  6. Not only finances are an issue by macraig · · Score: 5, Insightful

    At 59 years old, statistically Mr. Stenn isn't going to live long enough to maintain NTP for another 30 years. Perhaps something so crucial should be a voluntary communal effort?

    1. Re:Not only finances are an issue by borcharc · · Score: 1, Funny

      according to the article he does the entire project by himself, no wonder its a mess. If this graybeard cant take on a team of young folks then we will have to wait for him to die or a fork.

    2. Re:Not only finances are an issue by invictusvoyd · · Score: 3, Funny

      I think it will be forked if there is a need to do so . I dont see the point in this article.

    3. Re:Not only finances are an issue by garyisabusyguy · · Score: 1

      Apparently he has been working with Google Summer of Code for many years, the linked article does seem pretty alarmist, but that may be what it takes to get people to take action

      --
      Wherever You Go, There You Are
    4. Re:Not only finances are an issue by Anonymous Coward · · Score: 5, Interesting

      And at the Google Summer of Code summits I've seen the NTP devs (I can't say if it was him or not) stand up in front of a couple hundred FOSS project leaders begging for help with their bus factor problem.

      This sort of infrastructure code is at once niche, genuinely hard work, demanding the highest quality programming skill, unrewarded, non-sexy,
      and vitally important to the world.

    5. Re:Not only finances are an issue by Anonymous Coward · · Score: 0

      This,
      Most companies would not keep any developers over 50 on staff.

    6. Re:Not only finances are an issue by Registered+Coward+v2 · · Score: 1

      At 59 years old, statistically Mr. Stenn isn't going to live long enough to maintain NTP for another 30 years. Perhaps something so crucial should be a voluntary communal effort?

      From the sounds of it he wouldn't mind a bunch of young Turks with tons of relevant experience saying "Hey, I 'd like to help and am not only willing to do it for free but front some of the costs out of pocket. BTW, I'd love to put in some crazy hours at times where a critical patch needs to come out and get bitched at by people who didn't do anything to help but feel free to complain when they don't like what I did." As others point out, another issue is what happens when he stops doing this? Who takes over? My guess is if he really does throw in the towel, as soon as some company starts having problems or losing money they will come hat in hand offering to pay for his consulting services. If, as the article points out, large banks and brokerage firms depend on it to prove they complied with the law, coughing up a few million will be no problem. Of course, then they'll decide what needs fixing and may not care what problems other companies have that need to be fixed to keep their machines or companies running well.

      --
      I'm a consultant - I convert gibberish into cash-flow.
    7. Re:Not only finances are an issue by operagost · · Score: 1

      I'm sure that somewhere in this discussion, someone will invoke the tragedy of the commons and claim that this is proof OSS can't work. But the well-intentioned enemy of the NTP project is, ironically, Stenn himself. Because he is willing to work 100 hours a week maintaining it by himself, and more importantly, consult with corporations for little more than a vague promise of donations, everyone thinks all is well with the project. But all is NOT well, and while the internet won't collapse if tragedy befalls Stenn, there will be major consequences for a time and it will be because one man thought he could be Atlas.

      I'm loathe to criticize a man who has worked harder for OSS than 99.99% of us, but it's something that he needs to take action to change.

      --

      Gamingmuseum.com: Give your 3D accelerator a rest.
    8. Re:Not only finances are an issue by Anonymous Coward · · Score: 0

      So.... LibreNTP?

    9. Re:Not only finances are an issue by naris · · Score: 1

      It is a voluntary communal effort, which is why Mr. Stenn is the only one maintaining it as he is only only one who volunteered to be full-time.

    10. Re:Not only finances are an issue by naris · · Score: 1

      Perhaps so. Most companies want 25 year olds with 30 years of experience.

    11. Re:Not only finances are an issue by macraig · · Score: 1

      The real problem is that one dedicated man has no built-in redundancy, no backup, open source or not. If he's enslaved by aliens, there will be "major consequences", all for lack of redundancy.

    12. Re:Not only finances are an issue by disambiguated · · Score: 1

      Most companies would not keep any developers over 50 on staff.

      It's their loss. Most companies are horrendously bad at making software. The ones that are very good at it know better and have lots of older developers on staff.

      And the research shows they're right:
      Older Is Wiser: Study Shows Software Developers’ Skills Improve Over Time

      My experience tells me the same. Most of the really good software engineers I know are at least 40, many are much older.

      Go ahead, throw 'em out and get some newly-minted CS grads. Someone with some sense is going to get a great hire.

    13. Re:Not only finances are an issue by Anonymous Coward · · Score: 0

      according to the article he does the entire project by himself, no wonder its a mess. If this graybeard cant take on a team of young folks then we will have to wait for him to die or a fork.

      Your comment is rudely worded and demonstrates a complete lack of respect. I suspect you have questionable tattoos on your neck?

  7. If working 100 hrs/wk is too much... by RussellTheMuscle · · Score: 1

    work less at this hobby. Mails will pile up, and someone will take the hint.

  8. Time to reevaluate the GPL for income projects? by Anonymous Coward · · Score: 0

    "Complete freedom" is a great theory but people need to eat and when a company has to release all source code with a binary they're probably less likely to put time into that source code.

    iXSystems picked up FreeNAS development and contributes to it as well as FreeBSD, but they don't have to release their secret bits on their sold products. Apple and Juniper are also contribute code because they can keep the parts they want to secret.

    CUPS is the backend to OS X's printing and as soon as Apple picked it and hired the developer the UI actually started to become usable. I'm sure half of their code isn't released but Linux still gets to benefit from the parts that are. We also aren't reading about how Michael Sweet is 'scraping by' and the dire state of Linux printing.

    1. Re:Time to reevaluate the GPL for income projects? by Anonymous Coward · · Score: 0

      But there will always be scaremongering from the restrictive licensing camp about how all these big companies will steal everything but they're still the ones where even the high profile projects are begging for money. The GPL route is mostly unsustainable despite the cries from its advocates, if it is indeed sustainable then stop with all these beggar projects and start producing software that people actually want to use.

    2. Re:Time to reevaluate the GPL for income projects? by Anonymous Coward · · Score: 0

      Well, since Apple started shoveling the upnp into Cups, my machines lost the ability to print into network connected Samsung printer. The same happened on my Debian and Ubuntu machines. No matter what I try, the printer just dumps a error page. Does the Cups printing work in Apple machines any better?

  9. UI by ISoldat53 · · Score: 1, Troll

    Someone is dying to put a new UI on it.

    1. Re:UI by RightwingNutjob · · Score: 0

      Someone has to make ntp a part of systemd. It's already half way there with the ntpd name for the daemon.

    2. Re:UI by Anonymous Coward · · Score: 0

      It's already there, as systemd-timesyncd. http://www.freedesktop.org/sof...

    3. Re:UI by Pi1grim · · Score: 1

      >> It's already half way there with the ntpd name for the daemon.

      FYI most linux daemon names end up with a d, which stands for, surprise-surprise, "daemon".

    4. Re:UI by Anonymous Coward · · Score: 0

      Whoosh!

  10. Solved problem by Anonymous Coward · · Score: 0

    You don't need to keep developing it, because it works. Next?

    1. Re: Solved problem by Anonymous Coward · · Score: 0

      Right. And there are no new hardware platforms or OS versions popping up, so keep it as it is.

  11. Protocol vs software that implements it by QuietLagoon · · Score: 5, Insightful
    The summary makes the mistake of conflating the NTP protocol with the messy NTP software developed by ntp.org.

    .
    Hopefully the ntp.org software fades away.

    However, the Network Time Protocol should live on in more secure and more easily maintained implementations (e.g., NTimed and OpenNTPd).

    1. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 1

      Even if OpenNTPd wasn't broken it's a very poor substitute for NTPD. But it is broken, has been for years, and will likely never be fixed. I had not heard of NTimed until just now.

    2. Re:Protocol vs software that implements it by QuietLagoon · · Score: 1, Insightful

      Even if OpenNTPd wasn't broken it's a very poor substitute for NTPD...

      You say OpenNTPd has been broken "for years", yet do not say why or how. -1 for your efforts.

      .
      For my needs, OpenNTPd has been an excellent replacement for NTPD. I do agree that NTPD has some features that are not present in OpenNTPd, but my usage does not require those more esoteric features. What I do need is the ability to sync my server clocks within a few milliseconds, OpenNTPd does that quite well. And OpenNTPd does have one major feature that NTPD has lacked of late - security.

      ... I had not heard of NTimed until just now.

      You should try to keep up. :)

    3. Re:Protocol vs software that implements it by Jack+Griffin · · Score: 1

      I don't know much about NTP, other trying to implement it a few times and always end up scratching my head wondering why this is so hard? It's a fucking clock that just needs to be sycn'd. Why all the archiac hieroglyphic commands? Why not just a button that says sync with this server, with a status saying it's working or not? It doesn't need to be harder than that for most people.

    4. Re:Protocol vs software that implements it by QuietLagoon · · Score: 1

      ...

      You should look at OpenNTPd. Much, much easier to configure.

      .
      The config file on one of my servers has one line in it, the name of the server pool to sync to. With that one line config file, OpenNTPd syncs to the servers in the pool and does not open any ports for listening.

    5. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 1

      Because you want the clock to be monotonic and smoothly varying. leap seconds forward or back (or leap milliseconds, etc.) cause problems.

      And because you want to have a "good" estimate of what time really is, using multiple sources, some of which are slightly different, and others which might sporadically be outright wrong. And, because you need to adjust the "received time" from all those sources with the propagation delay, which itself is varying.

      This is non-trivial to implement correctly and cover all the weird corner cases.

      OTOH, if all you want to do is wake up at the right time of the morning, then a "sync now" button probably works just fine.

    6. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 0

      > Hopefully the ntp.org software fades away.

      With all due respect, you are out of your funking mind.

      It's complicated software because it is a surprisingly hard problem.

    7. Re:Protocol vs software that implements it by Dog-Cow · · Score: 5, Funny

      You should try to keep up. :)

      He doesn't have time.

    8. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 1

      The Wikipedia article says there are two problems. One is that it doesn't keep very good time compared to NTP and the other is that when it shares its time with other computers it it tells them it's more accurate than it really is.

    9. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 1

      > For my needs,

      I only use 5% of the functionality so no one else will use the rest and the project may as well be shut down now.

      See how that doesn't work?

    10. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 0

      ... I hope you don't do any realtime programming. If you don't have "hyper-"accurate clock synchronization, nothing can be done in a real-time message passing system. Or for that matter, anything involving federalized authentication (Kerberos etc).

    11. Re:Protocol vs software that implements it by hyperfine+transition · · Score: 1

      "You should try to keep up. :)"
      I think the poster can be forgiven for not knowing about an alpha-release NTP client that only works on *nix at the moment (and was only released 3 months ago).

    12. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 2, Informative

      The timekeeping of openntpd is normally quite good, but there can be really large outliers (up to several 100 ms) which is totally unacceptable for most use cases. Not so much that the time is wrong by 100 ms (almost noone cares) but the fact that it slews the clock way fast/slow to get there messes up many things.

      It also cannot correctly deliver time to other systems, as it claims to be way more accurate than it is.

    13. Re:Protocol vs software that implements it by khallow · · Score: 1

      I don't buy it either. If your real-time message passing system can be thrown off by modest clock anomalies, then there's something wrong with it.

    14. Re:Protocol vs software that implements it by plcurechax · · Score: 1

      The summary makes the mistake of conflating the NTP protocol with the messy NTP software developed by ntp.org.

      .
      Hopefully the ntp.org software fades away.

      However, the Network Time Protocol should live on in more secure and more easily maintained implementations (e.g., NTimed and OpenNTPd).

      Except that there is not one other fully-featured NTP client/server software system that I know of.

      Half of the so called "NTP clients" are really S-NTP clients (Simple NTP) that are barely if at all better than using the ancient BSD rdate command to jerk the time forward or back (whichever is needed) in a discontinuous fashion, that can cause gaps in logs, missing time-based trigger events from being fired, and other well-known woes.

      As far as I know PHK doesn't pretend that Ntimed is finished or fully functional. As far as I know it also doesn't pretend to support a large amount of "legacy" systems that still exist within companies networks, even if the vendor(s) disappeared 20 years ago in some cases. OpenNTPd is a pure network client/server system that AFAIK does not support external or master references (i.e. Cesium clocks or GPS modules) so while it may serve the purpose for a large number of users, it still depends on the continued operation of NTP.org's NTP software which is the de facto evolution of David Mill's reference implementation that was not intended to be a global or even enterprise-grade critical infrastructure project, but his research implementation as he, his colleagues, and students researched time synchronization.

      Some of NTPd's problem are that a) it has been maintained in a hap-hazarded fashion for 15 years longer than it should have been. b) any system where a single individual is critical or irreplaceable is broken. c) NTPd has been weak in release management / engineering for a long time now, and Stenn's ad-hoc approach hasn't done much to make the work easier for himself. I admit I had not realised that the software project, NTPd, has fallen into depending on a single person. I fact I thought the ISC (Internet Systems Consortium, the group that also maintain BIND, the most common Unix DNS server on the Internet) partnership was more than a means of managing payment and offering a few servers, I thought it was intended to take NTPd, like BIND, and make it into a healthy development community, revitalize the documentation, and share expertise in maintaining a critical infrastructure scale project Open Source of Free Software ecosystem.

      The most important yet non-technical solution is for Harlan Stenn to extract himself from being a critical piece of the NTPd software development and release process. IMHO he should focus 100% of his time on mentoring others to take over the various roles he is currently doing himself, and documenting the not so obvious knowledge about the protocol, its implementation, and the history surrounding pieces of code, to preserve his own knowledge, and what he can of David Mill's knowledge that isn't currently enshrined in Mill's papers and technical notes.

      Perhaps like OpenBSD that had to learn the hard way many years ago, companies can be leery (wisely from a legal point of view) of funding a seemingly one-man controlled Open Source project. Legally it may open up the possibility of being considered illegally hiring an employee in some jurisdictions ("perma-temps" or "consultants as de facto employees"), as it serves to primarily fund ongoing work that does benefit the sponsor either for their in-house or their product/service offerings.

      I have no ill feelings for or any dislike of Harlan Stenn. In fact I suspect he has unwittingly painted himself into a corner, and is now approaching the breaking point. And I believe the solution is radical, but not necessarily financially or technically challenging.

    15. Re:Protocol vs software that implements it by Cramer · · Score: 1

      I hope you don't either, since you appear to have no clue what makes up "realtime". (hint: it's about the finite predictability of the system, *not* having multiple systems in lock-step synchronization with each other.)

      Kerberos specifically allows for a certain amount of clock skew. (seconds, not hours.)

      (And yes, I started out in realtime systems. Back when efficient code mattered -- running on a 1MHz CPU with limited RAM/ROM, every instruction matters.)

    16. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 0

      That's stepping the time, fine for if you don't care if a cron job runs twice or not at all.

    17. Re:Protocol vs software that implements it by Bengie · · Score: 1

      In the past year, OpenNTPD has added some features and can now regularly maintain time within 5ms with a modern system. OpenNTPD does rely on well implemented hardware a bit more and doesn't try to do fancy adjustments for poorly implemented hardware clocks or older hardware, but it does a decent job clock steering with newer hardware.

    18. Re:Protocol vs software that implements it by Anonymous Coward · · Score: 0

      Modest clock anomalies mean who knows what the fuck order those messages were actually supposed to be in, or wther the marked timestamp on them is at all close to the actual time they were created relative to the time they were recevied. You are a moron, and please stay the fuck away from any network code, or even any application development at all, because you're one of those people who is dumb enough to cause injury.

  12. someone should check... by memph · · Score: 1

    if the thing is still using the old 32 bit time routines based on seconds from 1970. that would fail at around 2032.

    1. Re:someone should check... by Holistic+Missile · · Score: 2

      Actually, it will fail the second after 03:14:07 on January 19, 2038 UTC. It's a Tuesday.

      --
      When you're dead, you don't know you're dead. It only affects the people around you. Same thing when you're stupid.
    2. Re:someone should check... by viperidaenz · · Score: 1
    3. Re:someone should check... by memph · · Score: 1

      my point was that i am not concerned about the matter, not that i though that was a serious issue. even wrist watches will likely be 64 bit by then :)

    4. Re:someone should check... by Anonymous Coward · · Score: 0
  13. 100 hours a week? by Anonymous Coward · · Score: 4, Interesting

    For the last three-and-a-half years, Stenn said he's worked 100-plus hours a week answering emails, accepting patches, rewriting patches to work across multiple operating systems, piecing together new releases, and administering the NTP mailing list.

    100 hours a week to maintain NTP? How much of that comes down to answering emails that maybe don't need to be answered? I have a ton of respect for Mr. Stenn, whose name, incidentally, I don't think I'd ever heard until today despite having two systems in pool.ntp.org for years and using NTP in or on nearly every device I've owned for two decades. But there's simply no way there's enough going on in NTP to generate 100 hours of work per week. I see the changelog is active and fresh, but I still can't imagine those releases driving a "crunch time" developer schedule, week in and week out for 3+ years.

    I hope he backs away from the email before tossing in his hat entirely. Engaging random strangers in thoughtful discussion is probably consuming a lot more of his time than it needs to, and maybe more than he's noticing.

    1. Re:100 hours a week? by Anonymous Coward · · Score: 0

      ++

    2. Re:100 hours a week? by Dutch+Gun · · Score: 5, Insightful

      For someone who's so deeply invested in managing the Network Time Protocol, this dude really doesn't seem to be able to manage his time very well.

      --
      Irony: Agile development has too much intertia to be abandoned now.
  14. Windows uses NTP now? by spauldo · · Score: 1

    Serious question. Last time I worked with with a Windows network, time was set by the domain controller on login.

    I think, anyway. That was a long time ago.

    --
    Those who can't do, teach. Those who can't teach either, do tech support.
    1. Re:Windows uses NTP now? by suutar · · Score: 2

      yeah, on my personal laptop (not part of a domain) the Date and Time window has a tab named "Internet Time" that my work laptop doesn't. That's NTP (or was last time I actually dug into it), though their list of servers is kinda small.

    2. Re:Windows uses NTP now? by Anonymous Coward · · Score: 0

      I don't think that's how it works. In fact, if the client computer's time is significantly different than the DC, it won't login. Part of the default computer group policy, however, does set the workstations NTP server as the domain server, if I remember correctly.

    3. Re:Windows uses NTP now? by Anonymous Coward · · Score: 0

      The domain server gets its time from an NTP server. Windows installs that aren't part of a domain get their time from an NTP server. The default in Windows is time.windows.com, but any NTP server works.

    4. Re:Windows uses NTP now? by Pope+Hagbard · · Score: 1

      Windows has done NTP since Windows XP. Before that you had to either ask the domain controller or use a third-party NTP utility.

    5. Re:Windows uses NTP now? by Jack+Griffin · · Score: 1

      MS uses it's SNTP which is the simplified version that just works for MS OS's on MS domains. This doesn't work if you have switches, routers or anything non-MS that you need accurate time for (which all use regular NTP).

    6. Re:Windows uses NTP now? by BitZtream · · Score: 1

      Yes, ActiveDirectory time is synced via the NTP protocol.

      ActiveDirectory is a collection of protocols, most of which are based on public standards, NTP, LDAP, Kerberos, ect. Plenty of Microsoft Proprietary piled on top too.

      You can point any NTP client at an active directory server and sync from it, just like you can use it for a kerberos realm out of the box, and with Services for Unix installed on your AD server, the schema is extended to support the various Unix attributes required to use nss_ldap and pull full user account info from it.

      Windows machines not on a domain will also be happy to sync from a normal NTP server like pool.ntp.org as well, though they use time.windows.com by default.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    7. Re:Windows uses NTP now? by Cramer · · Score: 0

      You are correct that it's SNTP. However, it will work against any NTP server that wasn't configured by a paranoid mongoose. (read: don't point it at pool.ntp.org.)

      That said, I run ntpd on my windows machines at work so they listen to the local multicast time server broadcasts. If they were part of a domain, that would take care of it.

    8. Re: Windows uses NTP now? by Anonymous Coward · · Score: 0

      For my windows boxes, I've played around a bit, adding time servers to the registry, but really just disable the time sync service and run D4 from thinkingman when I get bored.

    9. Re:Windows uses NTP now? by Anonymous Coward · · Score: 0

      If by XP you mean NT. NT was in the server resource kit, which would not be third party.

  15. Does this include others by Anonymous Coward · · Score: 0

    OpenNTP.org

    1. Re:Does this include others by Anonymous Coward · · Score: 0

      oops, openntpd.org

  16. I have two problems with this article. by tlambert · · Score: 4, Funny

    I have two problems with this article.

    (1) $7,000/month * 12 months + additional $12,000/year = $96,000/year, not including any other contributions that come into his non-profit on top of that.

    (2) Most of the need for NTP is driven by bad protocol design in client/server software.

    NFS, for example, would not need synchronized time if the client would include a "this is my idea of the current time" timestamp in time related requests, e.g. "set mtime".

    The server then does:

    (clients idea of current time) - (clients desired mtime) + (servers idea of current time) = mtime to set on server

    Voila: everything is consistent, clocks don't need synchronized between the client and the server.

    Bonus points: network latency adjustment is automatic; no need to go off and implement PTP to get an even more precise version of NTP.

    So most of this is a problem we've brought on ourselves by stupidly assuming a client and a server need synchronized time values in the first place, and then designing asinine protocol that build this assumption into the infrastructure built on top of those protocols.

    Maybe instead of making NTP more reliable - at a pretty high expense for the small town in Oregon where he lives, and the cost of living is relatively low - we should work to get the rest of our infrastructure away from being addicted to having a synchronized time base in the first place?

    PS: Yes, I brought this issue up in the IETF when NFSv4 was being designed in the first place.

    1. Re:I have two problems with this article. by Trepidity · · Score: 2

      Didn't the NFSv4 design decision to use Kerberos for authentication mean that some kind of time sync would be needed anyway whether NFS itself mandated it or not, since Kerberos relies on synchronized clocks?

    2. Re: I have two problems with this article. by Anonymous Coward · · Score: 0

      You got it: assume your code is talking with someone else's code that happens to be in a different gravity well then you. It is impossible to "synchronize" time between gravity wells because time ticks at different rates.

      Write your client/server with that assumption and design away the need for sync'd clocks as much as possible.

    3. Re:I have two problems with this article. by Anonymous Coward · · Score: 1

      Voila: everything is consistent, clocks don't need synchronized between the client and the server.

      NTP daemon not only allows for synchronization but it also slews the clock to minimize drift.

    4. Re: I have two problems with this article. by BitZtream · · Score: 2

      It is impossible to "synchronize" time between gravity wells because time ticks at different rates.

      No, it doesn't.

      It is observed differently.

      Keeping the observations in sync is easy, you base your ticks so they synchronize with ticks of a stationary object in free space. So if you happen to be near a black hole, your clock has to 'tick' much much faster to stay 'in sync' with the pacemaker. Its trivial to synchronize clocks since time is an arbitrary measurement.

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    5. Re:I have two problems with this article. by garyisabusyguy · · Score: 1

      Um, don't forget timezone, daylight savings, leap seconds etc...

      I think that the 'synchronized time base' thing becomes an issue with transaction processing, surely there are other issues as well what with it having been accepted as part of the environment for the past three decades

      --
      Wherever You Go, There You Are
    6. Re:I have two problems with this article. by bill_mcgonigle · · Score: 1

      we should work to get the rest of our infrastructure away from being addicted to having a synchronized time base in the first place?

      There are thousands of other uses for accurate clocks on computers besides NFSv4.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    7. Re:I have two problems with this article. by caseih · · Score: 2

      Correct. Kerberos requires a reasonable synchronization of system clocks in order to work. Thus NFSv4 indirectly requires some form of time synchronization.

    8. Re:I have two problems with this article. by Outtascope · · Score: 1

      I partially agree with the sentiment of point 1, but he does have fixed costs to consider. That 96K isn't just salary. Still, I'm not sure it constitutes being impoverished the way the article paints it

      On point 2 however, I think you are way off base. That statement really glosses over what it means to have synchronized time and why it is necessary. Two computers agreeing on the time between each other is not sufficient to be considered synchronized from a security perspective. To be synchronized for security, those two computers must agree with an impartial third party. Without that you open the door to manipulation by a bad faith actor and all kinds of holes can be opened up.

      I am sure there are many ways to mitigate that situation without the use of a third party time system, but those solutions are going to be much more complicated. And we know what happens when you increase the complexity.

    9. Re:I have two problems with this article. by gl4ss · · Score: 2

      time synchro service doesn't need to care about timezones, daylight savings or such.

      the client operating system needs to know it's relation to utc.

      --
      world was created 5 seconds before this post as it is.
    10. Re:I have two problems with this article. by Eravnrekaree · · Score: 1

      The purpose of NTP is to accurately set the clock. There can be many reasons for this, not just network protocols that may depend on it. It may be that some people just like having the computer clock set with close to atomic clock accuracy. It is true that network protocols should be more resiliant to unsynchoronized clocks at either end, but this does NOT negate the need for NTP, since many use it to keep the computer clock accurate to have an accurate clock and not have to constantly readjust it, for their own personal use for timekeeping, setting their watch, accuracy in timed events and so on.

    11. Re:I have two problems with this article. by Anonymous Coward · · Score: 0

      Would 'make' across multiple mounts work to build Linux with non-synched time?

    12. Re:I have two problems with this article. by tlambert · · Score: 3

      Correct. Kerberos requires a reasonable synchronization of system clocks in order to work. Thus NFSv4 indirectly requires some form of time synchronization.

      Only if you do not also update the Kerberos protocol.

    13. Re:I have two problems with this article. by phantomfive · · Score: 1

      What kind of hole can be opened in a server due to a bad clock? Serious question.

      --
      "First they came for the slanderers and i said nothing."
    14. Re:I have two problems with this article. by dAzED1 · · Score: 4, Insightful

      you, know - you're right. Instead of having a simple, lightweight protocol that keeps time accurate across the globe, to the tiniest portion of a second...we should have every single time-sensitive thing on every single machine everywhere re-write their own time service. That way, not only will everything suddenly become substantially more noisy, but risk factors will go through the roof and code complexity across all of the IT universe will dramatically increase! Or, we could just use the tiny, lightweight, extremely accurate tool that's been doing it very well for decades. Damn, such hard decisions...

    15. Re:I have two problems with this article. by ProfessionalCookie · · Score: 1

      Expired certificates may be presented as valid. Or, in a DOS scenario valid certificates may not be honored.

    16. Re:I have two problems with this article. by arth1 · · Score: 1

      What kind of hole can be opened in a server due to a bad clock? Serious question.

      Non-expiry of certificates, tickets and other time-based credentials, for one thing.

    17. Re:I have two problems with this article. by Anonymous Coward · · Score: 0

      The only reason your idea that every client machine maintains its own time was not embraced and adopted is because it is fucking stupid.

    18. Re:I have two problems with this article. by hyperfine+transition · · Score: 1

      "network latency adjustment is automatic" - I don't understand this statement.
      If you are only taking two time stamps - client transmit and server receive - then you have no information about the network latency.

    19. Re:I have two problems with this article. by Anonymous Coward · · Score: 1

      No, nothing is consistent.

      1. You made a mistake in your formula.
      2. Instead of sending "clients idea of current time" and "clients desired mtime" you can save size by just sending the difference.
      3. Did you notice how you need both client's and server's "idea of current time"? It will work only if they are sampled at the exact same point in time. Only then it doesn't matter if they are numerically different (as long as the difference doesn't change). But for that all the machines need to be synchronized...

    20. Re:I have two problems with this article. by Anonymous Coward · · Score: 0

      Indeed most of the point of the NTP is that it is not just sending the timestamp, it's also timing the round trip time of the request, using that to establish latency, and then using that into the offset calculation. And averaging that over a long period of time to deal with network jitter.

      That's in fact most of the point of NTP. Otherwise you could just download the current unix timestamp from a web server. It's a lot more complex than that.

    21. Re:I have two problems with this article. by bernywork · · Score: 1

      Stuff dependant upon time of day, ACL restrictions, replay attacks of time based credentials (Tokens I guess in the previous post).

      Even log analysis across systems if the clocks in different systems are drifting faster and slower according the the temp of the system would be a major PITA.

      Let's not start looking at the consequences to financial exchanges (Expiring bond markets, matching trades across disparate systems), telephony (TDMA, billing systems), depending on how far you take it, train signalling, air traffic control... Basically, this list is endless.

      --
      Curiosity was framed; ignorance killed the cat. -- Author unknown
    22. Re:I have two problems with this article. by Anonymous Coward · · Score: 0

      You must be some IT drone sysadmin. NFS is the most pressing need you can think of for NTP? Do you not have any servers doing real work?

    23. Re: I have two problems with this article. by Anonymous Coward · · Score: 0

      Yes, my 128-bit signing cert should be good forever!

    24. Re: I have two problems with this article. by tlambert · · Score: 1

      Sounds like the issue is that certs have expiration dates -- which is dumb.

      "I trust you today, in 2017 I won't though."

      That is just asinine. Either the two sides trust each other or not, the "current date" of the clock on either side should not invalidate that trust.

      Great! NOW How is VeriSign supposed to make money, if they can't charge you over and over again every year for the same thing, where only the expiration date and signature block are different? 1/2 8-)

    25. Re:I have two problems with this article. by tlambert · · Score: 1

      Would 'make' across multiple mounts work to build Linux with non-synched time?

      Well, probably not Linux, at least if you were using the Debian Build system, but that's because it probably wouldn't work on a standalone machine, either... OK just joking! Put down the knives!

      The answer is "Yes, it would work", because you'd use the same technique to take a server response in server time and delta it to local time for the "stat" issued over NFS by the "make" process, so the local node always has a consistent view of the relative timestamps on the server, even if the local node's clock has drifted considerably.

      So if you distribute a build to 30 machines, all with different stamps, and they're all working off the same NFS (or other) back end file service, the locally apply delties, and they can see the stat on the ".o" makes it newer than the ".c", and go onto the next item to build, since some other system in the build cluster has already handled it.

    26. Re:I have two problems with this article. by tlambert · · Score: 2

      "network latency adjustment is automatic" - I don't understand this statement.
      If you are only taking two time stamps - client transmit and server receive - then you have no information about the network latency.

      You don't NEED information about the latency, as long as the latency in both directions is equal. It's going to be included in the delta + now on the mtime set, and it's going to be subtracted back out on the -delta + mtime stat on the way back.

      As long as it round-trips like this, the latency is actually immaterial. Which is the point, since your latency between your NTP source and your file server vs. your latency between your NTP source and your file server client can be unequal, which will screw your time sync to hell for client/server communications. This is something that NTP can't account for, but which PTP *can* (which is why it had to be invented), and which is irrelevant, if you are sending around delta calculations.

      PS: The reason you send around two factors for the delta calculation, rather than just the delta itself is to *allow* protocols like NTP and PTP to sync the clocks without everything being screwed up by that happening, but it's not *necessary* to sync the clocks, it's just *allowed*.

    27. Re: I have two problems with this article. by Anonymous Coward · · Score: 0

      Yes, my 128-bit signing cert should be good forever!

      That has NOTHING to do with time. If you no longer trust 128-bit certs (because the world decides they are no longer secure), then YOU revoke all those certs (locally) based on that one metric (128-bit -vs- 256-bit). The cert could have the year 2038 set as its 'expire time' any way.

      If your cert is expired, all you need to do is set the date on your clock back in time and voila, your cert is good again -- the encrypted data doesn't magically become corrupted on a certain date.

    28. Re:I have two problems with this article. by TFlan91 · · Score: 1

      " by stupidly assuming a client and a server need synchronized time values in the first place"

      Have you worked with Amazon S3?

      If your time is off by more than 15 minutes than Amazon's servers, you get a big ol fat rejection response saying your clocks arent sync.

    29. Re: I have two problems with this article. by Anonymous Coward · · Score: 0

      It is impossible to "synchronize" time between gravity wells because time ticks at different rates.

      No, it doesn't.

      Yes it does.

      There is no such thing as a "Universe Time Constant" -- Time, literally, ticks at different rates in different reference frames -- and both frames can be perfectly accurate.

      Example: If both reference frames had their own atomic clocks (which are perfectly accurate) -- those clocks would never be in sync when compared to each other. This has been shown to be the case with atomic clocks on Earth already (where the clocks are at different altitudes in our Earth-based gravity well).

    30. Re:I have two problems with this article. by jcdr · · Score: 2

      It would be a giant step forward if NTP will be able to broadcast TAI, the leap second table, and the timezone database.

      The leap second table and the timezone database are dynamic informations that need to be updated at least 2 times per years. You can arg that this can be done using the operating system upgrade, but the reality is that many machines will not be updated for whatever bad reasons. So carrying the informations using NTP (or PTP or GPS for that matter) will be an clear advantage.

    31. Re: I have two problems with this article. by Anonymous Coward · · Score: 0

      [...] Keeping the observations in sync is easy, you base your ticks so they synchronize with ticks of a stationary object in free space. [...].

      As in Barycentric Coordinate Time (TCB)? Trust me, that shit is not easy, even if it is concentually simple.

    32. Re:I have two problems with this article. by Anonymous Coward · · Score: 0

      Yeah, and because there is no one universal latency, constant over all times and all links between machines, you just invented random generator for file timestamps. And besides latency there is also this little problem of different clocks run on different speed.

    33. Re:I have two problems with this article. by marcosdumay · · Score: 1

      Nope, there's no easy way to remove Kerberos dependency on time synchronization.

      The only thing needing notice is that Kerberos requires closks to be synced within about a second (could be increased to a few minutes of error easily), while NFS reuires a few miliseconds of error at most.

    34. Re:I have two problems with this article. by lowen · · Score: 1

      One of the other uses for time sync is in astronomy, where the accuracy of the telescope's pointing to a particular RA/DEC is directly proportional to the accuracy of the telescope controller's clock. I can just imagine if a large telescope were to use SNTP and the time changed in a noncontinuous manner during a timed exposure. Actually, I don't have to imagine it; I have seen the result, and it's a ruined image.

    35. Re: I have two problems with this article. by Outtascope · · Score: 1

      That isn't really the type of cert expiry they are really referring to, but consider this: The mechanism you describe requires a certificate revocation list, which is just another way of doing the exact same thing - using a trusted 3rd party to ensure you all agree on the parameters used to determine if something is trustworthy or not. That's not an improvement, and in fact, it is far less tolerant to network interruptions (a network interruption could cause a client to trust a credential that it should. Using time, it doesn't matter if the network is interrupted within reason, you can still determine if the ticket is still valid).

      Remember, this isn't about you tricking your own clock to trust a ticket provided to you. You could choose to do that all you want. Its about the other party choosing to trust you or not. And YOU don't get to roll back the clock on their infrastructure. If you could, you could open a security hole just as you have described, which perfectly illustrates why NTP/Time Synchronization is so important.

    36. Re:I have two problems with this article. by hyperfine+transition · · Score: 1

      In my experience of operating a network of geographically-dispersed stratum 1 NTP servers, there is frequently asymmetry at the 1 to 2 s level and occasionally worse. An NTP implementation like ntpd filters out these outliers but the simple protocol you are suggesting would not.

      PTP cannot account for network asymmetries any more than NTP can. It can only guarantee symmetric paths when all the hardware between two endpoints is PTP-capable, meaning that each boundary device has to implement a PTP clock.

      In the end, it seems silly not to synchronise device clocks to a universal reference . There are many local applications which require a timestamp that must be compared with a time stamp on another device at some time down the line.

    37. Re:I have two problems with this article. by tlambert · · Score: 1

      Nope, there's no easy way to remove Kerberos dependency on time synchronization.

      The only thing needing notice is that Kerberos requires closks to be synced within about a second (could be increased to a few minutes of error easily), while NFS reuires a few miliseconds of error at most.

      The maintainer of Heimdal Kerberos at Apple (Love Hörnquist Åstrand), and I have discussed this at some length in the past.

      If the server (AS) included the server current time in Message B, then the Authenticator in Message D, G, & H could be calculated as delta relative to the difference in the server and client "now" times relative to the receipt time of the original Message B, without compromising the safety vs. replay, brute force, and other attacks on the protocol.

      It would require a change to the protocol for the initial ticket negotiation which would result in a binary incompatibility at the protocol level, but it's doable.

    38. Re:I have two problems with this article. by tlambert · · Score: 1

      " by stupidly assuming a client and a server need synchronized time values in the first place"

      Have you worked with Amazon S3?

      If your time is off by more than 15 minutes than Amazon's servers, you get a big ol fat rejection response saying your clocks arent sync.

      This seems a pretty stupid design decision on Amazon's part, given that a rejection response means you aren't using their service for that request, which means that they are not making money off of you.

      Seems a pretty lame design choice to make that code path time fragile. I wonder if they calculate the number of times this happens in order to determine how much money they are losing, per day, because of this bad design decision.

    39. Re:I have two problems with this article. by Bengie · · Score: 1

      15min is horrible, many protocols become insecure after a short while. Replay attacks! Time being out of sync is a huge security issue. Nearly every security protocol needs to know what time it is. The more accurate your time, the more secure you can make it by reducing the attack window.

    40. Re:I have two problems with this article. by stoatwblr · · Score: 1

      "as long as the latency in both directions is equal."

      It almost never is.

  17. ESR's doing something related to NTP right now... by SEE · · Score: 1

    At least accordingly to a comment of his on his latest blog entry.

    So I expect that the fate of NTP isn't so uncertain as all that, though whether Stenn himself will still be the lead is an open question.

  18. On the verge of obsolescence on Linux anyway by Anonymous Coward · · Score: 0, Funny

    SystemD will just swallow it and replace it, if not already done.

    1. Re:On the verge of obsolescence on Linux anyway by Anonymous Coward · · Score: 0

      One protocol to rule them all and in the init bind them

    2. Re:On the verge of obsolescence on Linux anyway by RightwingNutjob · · Score: 1

      At some point it'll also add an atomicclockd to claim authority for all timekeeping.

    3. Re:On the verge of obsolescence on Linux anyway by Anonymous Coward · · Score: 0

      Swallow it like it swallows nonzero exit statuses, syslog messages, and stderr?

    4. Re:On the verge of obsolescence on Linux anyway by Anonymous Coward · · Score: 0

      Naturally systemd already has its own ntpd implementation. But what if the systemd could continue its true innovation even one step further; they could invent a new time scale. Wouldn't it be great, if the new gnu/systemd operating system would have a clock that would count systemd-units per day instead of the old fashioned hours? Only the luddites would hate that.

  19. Re:ESR's doing something related to NTP right now. by Orgasmatron · · Score: 1

    ESR maintains gpsd, which ntpd can use as a clock source.

    His most recent time-related post is here, Introduction to Time Service. Before that, it was a gpsd release.

    --
    See that "Preview" button?
  20. time_t by msobkow · · Score: 1

    time_t has been 64 bits on every *nix system I've used for over a decade.

    Why in the name of any sanity at all would NTP not have been updated by now?

    --
    I do not fail; I succeed at finding out what does not work.
    1. Re:time_t by Anonymous Coward · · Score: 1

      This is actually discussed in the existing NTP documentation, if you bothered to check: https://www.eecis.udel.edu/~mills/y2k.html

      The short answer is because NTP is a protocol not a dynamic memory allocation. You can't just go re-defining one of the fields to be twice a long -- it would break every non-updated client. You can arrange a transition but it will take decades for all of the existing NTP devices to leave service and you'd have to be backward compatible for some significant portion of that time.

      Also note that the NTP timestamp is already 64-bit, it's just high-precision -- 32-bit fractional second + 32-bit second. And it has an era number internally; era is not transmitted over the network, but so long as the date the computer starts with is with 68 years of the actual date the existing NTP protocol will be able to steer it to the correct time, even across era boundaries. That's a significantly longer window than say, GPS, which rolls over every ~20 years. It's a weakness in both systems to be sure, but it's not exactly world-ending.

    2. Re:time_t by Anonymous Coward · · Score: 0

      Really? I assume you're not including any routers with 32-bit CPUs that your packets have passed through.

      It appears that sizeof(time_t) is 4 on some Debian unstable architectures. Go to https://buildd.debian.org/status/package.php?p=curl&suite=sid and click on "Installed" for i386, say, then search the log for "time_t".

    3. Re:time_t by Eunuchswear · · Score: 1

      Are you sure? Do you know what sizeof time_t returns on your phone?

      --
      Watch this Heartland Institute video
    4. Re:time_t by Anonymous Coward · · Score: 0

      Because NTP already uses 64bits - 32 for seconds and 32 for fractional. Future versions might increase that to 128bits. For now they have a workaround in NTPv4 of 'era number' and 'era offset' which allows them to handle rollovers by simply defining a new era.

    5. Re:time_t by petermgreen · · Score: 1

      time_t has been 64 bits on every *nix system I've used for over a decade.

      all widely used 32-bit linux ports still have 32-bit time_t (x32 has 64-bit time_t but that is not widely used and it's debatable whether it counts as a 32-bit system). While x86-64 is taking over on the desktop and dedicated servers many embedded systems and low cost hosted vms are still 32-bit (the latter due to the lower memory footprint).

      Why in the name of any sanity at all would NTP not have been updated by now?

      Afaict it has, the NTP "DATE" format provides a 32-bit era number and a 32-bit era offset number which between them provide a 64-bit seconds count. The NTP "timestamp" format uses a 32-bit seconds count but AIUI that is only supposed to be used for comparing to other nearby timestamps.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    6. Re:time_t by msobkow · · Score: 1

      ...every *nix system I have used

      Where did I say every *nix system without a qualifier?

      I don't program toys like smell phones.

      --
      I do not fail; I succeed at finding out what does not work.
    7. Re:time_t by Eunuchswear · · Score: 1

      Who said 'program' -- you said 'used'.

      --
      Watch this Heartland Institute video
  21. Critical software list by Anonymous Coward · · Score: 1

    The Linux group has a list of critical software. Either team GNU or the FSF (or the Linux Foundation) needs to audit critical pieces of vital but "non-shiny" pieces of software like NTP or BASH or DNS or SSL and backstop them both financially and with human resources. Companies who use the software should be asked to pony up with either cash or programming bodies (or both). Everyone agrees that its critical (or at least important) infrastructure, so coughing up cash to pay for the service is reasonable. Certainly if these things start to fail (Hello Bash, Hello SSL) everyone throws blame at free software and "how could they let this happen?!?!?", yet supporting those who provide the service is lacking. This must change. At the very least, kickstarter campaigns providing a few years worth of funding per developer would be a start.

  22. Summary of above post by dbIII · · Score: 3, Informative

    It's just a computer. It only has to work. How hard can it be?
    Wasn't that ridiculous
    NTP is also not trivial due to among many other things the large amount of clock drift on a lot of motherboards. If you had an alarm clock that lost an hour in a week you would throw it away, but that's seen as acceptable even for some server boards. So then you fetch the time but it takes time for the signal to get to you, so the time is out of date by the time you get it - which then means trying to work out how long it takes for the time signal to get to you. There's plenty more after that.

    1. Re:Summary of above post by Cramer · · Score: 0

      For most people (i.e. your "alarm clock"), the propagation delay -- even of a few seconds -- is not important. There are a lot of devices out there implementing "SNTP" where none of that BS is done -- one request, one answer, time set, repeat in a few days.

    2. Re:Summary of above post by itzly · · Score: 1

      So then you fetch the time but it takes time for the signal to get to you, so the time is out of date by the time you get it

      Not a particularly hard problem. Take the round trip time, and divide by two. That should get you within a few ms. If you have special needs for better performance, get a cheap GPS unit and attach it to a local server.

    3. Re:Summary of above post by Darinbob · · Score: 2

      Now add security, because if someone is spoofing the time they can really mess things up badly in a lot of ways.

    4. Re:Summary of above post by Anonymous Coward · · Score: 0

      SEcurity shouldn't be in the NTP, it should be outside. Tunnel it. Rely on RADIUS or another authentication system for the host. Don't take on security in your program because it's a problem being solved for other server processes too, and you shouldn't be building to the same demands for each such product, otherwise you get multiple implementations of the same thing, each with bugs in different places.

      Which they don't do, they let something else sort that out and rely on that veracity being asserted.

      Neither should NTP be doing so. Use someone else's code if available, allow it to be entirely outside if not.

    5. Re:Summary of above post by bernywork · · Score: 1

      > get a cheap GPS unit and attach it to a local server.

      Yes, I should buy 40,000 cheap GPS units. Actually, you know what? I'm going to ask Dell, HP and Intel to implement this. Oh crap, I can't, 'cause I can't get a GPS signal in a DC.

      You really didn't think about this too hard did you? People have been working at this for years, NTP does a heck of a lot of stuff to ensure that the clock is accurate, and how much you can trust the information you're given. NTP isn't a cheap hack, it's mathematically brilliant for distributed systems.

      --
      Curiosity was framed; ignorance killed the cat. -- Author unknown
    6. Re:Summary of above post by Anonymous Coward · · Score: 0

      +1 mod parent up.

      Do one thing, and do it well -- fsck everything else.

    7. Re:Summary of above post by jcdr · · Score: 1

      get a cheap GPS unit and attach it to a local server.

      GPS signal availability can depend on bad local whether condition.

    8. Re:Summary of above post by TheGratefulNet · · Score: 1

      you also need more than 'cheap' gps. most cheap ones don't include hardware PPS line outputs.

      I have a stratum1 ntp server running (on a rasp pi, of all things) but it took some special versions of gpsd, ntpd and kernel mods for kernel PPS support. and on the pi, some hardware mods to intercept the pps led and drive a logic line for that signal.

      this isn't rocket science but its NOT trivial, either.

      --

      --
      "It is now safe to switch off your computer."
    9. Re:Summary of above post by jcdr · · Score: 1

      Fully agree.

      Technically all GPS receiver have internally a clock signal that could relatively easily generate a PPS signal, if not already the case. But not all receivers don't expose this signal to a user available pin.

    10. Re:Summary of above post by Just+Some+Guy · · Score: 1

      Not a particularly hard problem. Take the round trip time, and divide by two.

      You're presuming a symmetrical link, which isn't a reasonable assumption for any nontrivial network setup. Your client may only have one path to the server, but the server may have a hundred load-balanced paths back. Or imagine a very asymmetric link like almost any cable or DSL connection. When you're dealing with milliseconds, these are practical questions and not hypothetical nitpicking.

      --
      Dewey, what part of this looks like authorities should be involved?
    11. Re:Summary of above post by Darktan · · Score: 1

      But you don't really need 40,000 GPS receivers, you just need one, and put the antenna up on the roof. Then you have one computer attached to it that keeps time, and all the others can sync from it over your network.

      I suppose with that many clients, your time computer might get overloaded, so we better create a second tier of load balanced servers that can query the tier 1 time computer thingy, and serve requests out to the rest.

      The scheme just needs a name. Lets call it the Network Time, umm, Program. There. Done.

    12. Re:Summary of above post by Anonymous Coward · · Score: 0

      So then you fetch the time but it takes time for the signal to get to you, so the time is out of date by the time you get it

      Not a particularly hard problem. Take the round trip time, and divide by two. That should get you within a few ms. If you have special needs for better performance, get a cheap GPS unit and attach it to a local server.

      So, how do you begin to measure round-trip time? Look at your clock, do you? So, given an arbitrary timestamp, is that clock running fast or slow?

      Dork.

    13. Re:Summary of above post by Anonymous Coward · · Score: 0

      Also assuming no jitter or buffering or spikes in load, etc.

    14. Re:Summary of above post by Anonymous Coward · · Score: 0

      So, and how do you measure the delay inside the GPS unit and the delay of the serial transmission in order to calculate the "real" time?

      If you only want to have your clock in sync in order to tell the time, even a Windows Domain will be OK.
      If you have a security incident and like to create a timeline of events for a pool of servers that process 10 000 request/second, you'll notice NTP is a briliant protocol...

    15. Re:Summary of above post by Bengie · · Score: 1

      OpenNTPD added a feature that allows it to query a pool of configurable HTTPS servers, finds a median reported current time(HTTPS reports time as part of the protocol), then attempt to use NTP and requires that the answer from NTP is within a small distance of the HTTPS pool. This way another server can't fake time too far out.

  23. There are 3 types of time that matter to computers by tlambert · · Score: 1

    There are 3 types of time that matter to computers:

    (1) "Now" - which doesn't need time sync

    (2) "Relative to now" - which also does not need time sync

    (3) "Absolute time" -this one needs time sync, and is typically only an issue for calendaring and scheduling.

    If you're an astronomer, absolute time maters - or actually, "Local Apparent Sidereal Time", which also ties it to a specific longitude and latitude, so that you know where to point your telescope.

    Most applications of time on computers fall into category #1 or #2; this includes *ALL* filesystem operations, and most other operations not related. Even calendaring is not an issue, if you use a mobile device (which can sync to the server providing network service, so long as it's not direct satellite), OR if you use a web client (in which case all dates are server dates anyway, and there's no such thing as client dates).

    Face it, it's a design problem for about 95% of all applications in use today.

  24. Dont need no dam NTP by Anonymous Coward · · Score: 0

    Systemd will take care of all that. Everything needed for everything will be provided by and run by Systemd.

  25. Re:There are 3 types of time that matter to comput by dAzED1 · · Score: 3, Insightful

    I'm just staring at your comment and blinking, because...wow. Even if I ignore #1&2, #3..."and is typically only an issue for calendaring and scheduling." How about queuing? How about clustering? How about expiration of millions of things (tokens, certs, leases, etc). How about practically everything your computer is doing? Unless you're meaning to say that everything really does boil down to "calendaring" and "scheduling," and you're not just making some Outlook comment. If timing wasn't important, there wouldn't be circuits dedicated to keeping it, on practically every electronic device on the planet.

  26. Re:There are 3 types of time that matter to comput by tlambert · · Score: 1

    I'm just staring at your comment and blinking, because...wow. Even if I ignore #1&2, #3..."and is typically only an issue for calendaring and scheduling." How about queuing? How about clustering? How about expiration of millions of things (tokens, certs, leases, etc). How about practically everything your computer is doing? Unless you're meaning to say that everything really does boil down to "calendaring" and "scheduling," and you're not just making some Outlook comment. If timing wasn't important, there wouldn't be circuits dedicated to keeping it, on practically every electronic device on the planet.

    IT's not an issue for queueing; you enqueue things "now". So, for example, you could modify IBM's MQSeries, if you cared about time-ordering events, and either include the idea of "now" relative to the enqueue time, with another received timestamp on the system where the data was enqueued. This would work for ordering stock transactions, for example, because if your order gets there later than Bob's order, it doesn't matter: you lose.

    I'm uncertain how to respond on clustering; it would really depend on what you are talking about clustering, and your cluster architecture, but I see no reason that knowing what time it is is somehow more valuable than, say, load average on a given node. If you care, you include it in the cluster-sync information (no need for NTP, since you're already dealing with syncing a *lot* more information than just the time, and so time gets a "free ride" on the clustering protocol.

    Expirations are all relative to the time of issue. Unless you are talking about something like X.509 certs, in which case, the issue is only relevant to the person signing the cert getting payed at intervals, and you'd otherwise just look at the CRL for the CERT, and if you couldn't contact the site that owned the CRL, you have to assume revocation anyway. But yeah, I'd call that a calendaring problem. Leases can be handled by op locks; that's how NFSv3 + leases handled them, and it's how SMB handles them today; the only thing you care about there is breaking the lease, and that's a relative time and/or "Now" event.

    Tokens are handleable at the protocol level. The token issuer issues a relative timestamp, and you can compute a relative local stamp to decide when to ask for a renewal (just like DHCP leases are handled), or, you can eat the error handling when you try to use an invalid token, and as part of the error handler, ask to renew then.

    "Practically everything my computer is doing" can be done in local relative time; unless I want a remote resource, all my local resources can be handled in relative time, and if I decide I actually give a damn, then I can worry about something like NTP, if I'm too cheap to buy a GPS receiver and/or something that can receive the time base broadcasts from my local cell tower (assuming I don't already have a cellular or WiFi in the computer, because otherwise, I just consult those).

    And I think you are confusing "this is the current wall clock" with "I need to handle the switch debounce within 60ns" or "I need to do a context switch when the LBOLT fires", which are not things NTP would be/should be involved with.

    PS: An engineer on LinkedIn was getting all angsty about an IOT device that he was worried about setting the timezone on. I convinced him to just put his log timestamps in UCT, and he was still angsting about what to put up for the time on the LCD, and I suggested he either put "UCT" after the time display, or ... just don't display the time. There's actually no great reason to have *another damn human readable clock* on his LCD just to have something to display, since we are completely outnumbered by human readable clocks practically everywhere in our daily living environment, and if a human wants to know the time, they can look at one of those.

  27. No business sense by melchoir55 · · Score: 4, Insightful

    It is absurd to expect a corporation of any size to "toss something your way". He should have told apple, when it mattered to them, that they could pay a service fee to have him delay the patch for their benefit. No, this isn't how you want to deal with individual people. Yes, this is how you must deal with a corporation.

    Life lesson: mega corps don't even care for the people they employ, and much less people outside the corporation. A corp is an abstract non-human entity. It doesn't deserve your charity.

    1. Re:No business sense by Pi1grim · · Score: 2

      Not to protect douchebag apple guys, but even if developers who contacted the "NTP dad" wanted Apple to throw a donation, then it would be real hard to push by the accounting. If they, on the other hand would be billed for "3rd party expert services" - noone would blink an eye, so, yes, if a large corporation contacts you asking to help fix something - send them a bill first.

    2. Re:No business sense by TFlan91 · · Score: 4, Funny

      "A corp is an abstract non-human entity"

      I know of 9 judges who would tell you otherwise.

    3. Re:No business sense by Anonymous Coward · · Score: 1

      Actually it was 5 judges, and guess what they were wrong.

    4. Re:No business sense by Anonymous Coward · · Score: 0

      Ahem, you should make that 5 Republican hacks, I mean judges.

    5. Re:No business sense by Anonymous Coward · · Score: 0

      actually, those judges say it is a "person" but they do not say it is a "natural person". should there ever be an equivalence made between those two things ...

    6. Re:No business sense by Anonymous Coward · · Score: 1

      If it looks like a duck, quacks like a duck, and a court gave it all the rights and freedoms of a duck, then it's a duck.

    7. Re:No business sense by jjo · · Score: 1

      This is a silly distortion of the truth, popular in certain political quarters. No justice voted that a corporation is human. No justice voted that a corporation (a "legal person") has the rights of a human (a "natural person"). A corporation is a "person" (a term of legal art) but not a human.

    8. Re:No business sense by cwsumner · · Score: 1

      When you deal with someone, you have to talk their language (or at least agree on a common language). Just because they talk "english" does not mean they talk the same language as you!
      If you deal with a corporation, then you have to talk "corporation language". And corporations don't understand the word "donation".
      The other posts are right, sell your help as "consulting" and they will understand. 8-)

    9. Re:No business sense by Anonymous Coward · · Score: 0

      No you don't. You know 5.

      http://en.wikipedia.org/wiki/Citizens_United_v._FEC

  28. New is always better, because shiny by Anonymous Coward · · Score: 0

    hell, they don't even give us shiny gold any more :0

    1. Re: New is always better, because shiny by Anonymous Coward · · Score: 0

      None of you have clue one if you think that's all there is to it. You're sls probably not in networks or security or your bad at it. Typical sys admins and developers.

  29. I am one of the ntpd maintainers by Terje+Mathisen · · Score: 5, Interesting

    I've been on the "NTP Hackers" mailing list for ~15 years now, my last major effort was to develop a server-optimized multi-threaded version of the core ntpd sw: I was hoping for wire speed packet processing on an embedded linux platform, but had to settle for 3-500 Mbit/s since the target kernel version did not support multi-thread targeting of incoming packets, i.e. I needed to have a single receive thread which would fetch the incoming packets, timestamp them and queue them up, then all the other threads/cores would grab them from there.

    Back to the "why are there bugs in such a trivial protocol?" question:

    By far the biggest cause of required effort when trying to modify or optimize the NTPD distribution is the need to support a big number of OSs and even larger number of OS versions, some of them more than 20 years old, even if the main targets are Unix-like or Windows.

    The second problem is the need to support 30+ reference clocks, with all sorts of OS/version specific interfaces needed in order to timestamp events as accurately as possible.

    The third and final major stumbling block is all the crypto stuff, which got added in order to be able to authenticate both time packets and monitoring/configuration requests, and this is where the latest major bugs have been found.

    PHK (who is working on Ntimed) has spent a lot of time on NTP, including his time as a core FreeBSD hacker when he made sure that the FBSD had the best possible timekeeping kernel. This is the reason that my personal pool server has always used FreeBSD.

    If your only need is to get 0.1s level time sync on a number of client only machines, then it really doesn't matter how you implement the NTP protocol, except that you should really try to measure and adjust the local clock frequency so as to track the reference time!

    The default Windows time code implements Simple NTP (SNTP) which uses the NTP packet format but doesn't try to implement the proper control loop to steer the local clock, instead it just yanks the OS clock resulting in a sawtooth-like pattern of clock offsets.

    Terje

    --
    "almost all programming can be viewed as an exercise in caching"
    1. Re:I am one of the ntpd maintainers by Anonymous Coward · · Score: 0, Flamebait

      First of all, thank you for doing the work! However, if it is so hard to support 20 years old OSs then why are they still supported? Can't you use an old ntpd on an old OS? I run a couple of older UNIX systems from that period and in general I don't expect to be able to use the latest and greatest, but that's ok as long as older releases are still supported.

  30. On a daily basis, NTP also consults atomic clock by Anonymous Coward · · Score: 0

    The article claims that

    On a daily basis, NTP also consults atomic clocks, which tick off precise seconds based on radioactive Cesium-133 decomposition

    . Luckily, or timekeeping doesn't rely on the purely random radioactive decomposition. It's the transition between hyperfine ground states of caesium-133 that were defined as the base for the second.

  31. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 0

    I'm uncertain how to respond on clustering; it would really depend on what you are talking about clustering, and your cluster architecture, but I see no reason that knowing what time it is is somehow more valuable than, say, load average on a given node. If you care, you include it in the cluster-sync information (no need for NTP, since you're already dealing with syncing a *lot* more information than just the time, and so time gets a "free ride" on the clustering protocol.

    Frankly you haven't a clue what you're talking about.

  32. Re:ESR's doing something related to NTP right now. by Eunuchswear · · Score: 1

    At least accordingly to a comment of his on his latest blog entry.

    So I expect that the fate of NTP isn't so uncertain as all that

    You mean that NTP is certainly dead?

    --
    Watch this Heartland Institute video
  33. Re: There are 3 types of time that matter to compu by Anonymous Coward · · Score: 0

    I don't know what the time is on YOUR wrist-watch, yet I can still communicate with you.

    If your cluster software requires sync'd clocks to work, then it is already riddled with race-conditions or other bugs. Will you software work if the clocks are 1min off? How about 1s off? 1ms, 1ns, etc, etc? Even atomic clocks are not perfectly sync'd.

  34. SwissArmyd by JBMcB · · Score: 1

    I use systemd as my window manager and email client. It's Eudora emulation mode has much improved in the last release.

    --
    My Other Computer Is A Data General Nova III.
    1. Re:SwissArmyd by Anonymous Coward · · Score: 0

      I use systemd as my window manager and email client. It's Eudora emulation mode has much improved in the last release.

      systemd is currently cooking me a madras chicken curry. I did have to go out and buy the ingredients, but I'm told that shoppingd will soon be assimilated.

    2. Re:SwissArmyd by Anonymous Coward · · Score: 0

      Think outside the box. systemd doesn't need to stay on the computer. I use it for a toilet, cat litter box, and compost bin. I'm in talks with the city council to get a systemd sewage system implemented.

      CAPTCHA: carcass

  35. If you want Bugs,... YSou got it ! by stooo · · Score: 1, Insightful

    >> That's the problem: not enough bugs. Time to replace it with the Apple Watch Protocol.

    No. If you want the most buggy and incomplete reference implementation, then take the microsoft one.

    --
    aaaaaaa
  36. Journalism 101 by Anonymous Coward · · Score: 0

    Esther, please go back to school and take the higher numbered classes. They will hopefully teach when an idea is about something important and when it's embarrassing fluff.

    "Or will this protocol go into a decline marked by drastically slowed development, fewer bug fixes, and greater security risks for the computers that use it"

    Really?

  37. What projects need funding? by Midnight+Thunder · · Score: 1

    As much as we can shit on corporations for not paying the piper, I am sure many are oblivious who they need to be supporting and funding. How many of us on /. actually are aware of the time and effort spend by certain individuals to ensure backbone implementations are kept in a healthy state. I am sure many corporations on in the same spot, after all they paid RedHat or some other vendor for a solution and that's probably as far as it went. Many of us take these projects for granted.

    The other issue is the people who need funding are usually unknown until they are in dire straits. I am not sure the best way to address this issue? How does funding *BSD help? Does the FSF provide any method for easily providing funding, for them to distribute to these core solutions?

    --
    Jumpstart the tartan drive.
  38. Why build time-fragile systems? by tlambert · · Score: 1

    you, know - you're right. Instead of having a simple, lightweight protocol that keeps time accurate across the globe, to the tiniest portion of a second...we should have every single time-sensitive thing on every single machine everywhere re-write their own time service. That way, not only will everything suddenly become substantially more noisy, but risk factors will go through the roof and code complexity across all of the IT universe will dramatically increase! Or, we could just use the tiny, lightweight, extremely accurate tool that's been doing it very well for decades. Damn, such hard decisions...

    How are you writing your own time service? You are sending deltas around.

    Nothing stops you from syncing your clocks if you want, but the main gist if the article was "OMG! NTP might have a vulnerability discovered! Better fund it more than the 100K a year the guy already gets, just in case!".

    If your protocols aren't time-sync fragile as shit, then it doesn't matter if you turn NTP off when/if a vulnerability is found, wait for a fix without your entire business going down because NTP is turned off, and then turn the damn thing back on after installing the fix.

    Why build time-fragile systems?

    1. Re:Why build time-fragile systems? by Anonymous Coward · · Score: 0

      Because for some things, time is important?

  39. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 1

    Frankly you haven't a clue what you're talking about.

    In order for you to make that determination, *you* must know what he is talking about. Unfortunately, nobody else reading this thread knows what either of you are talking about! Your problem is the failure to maintain coherency between two dependant systems. Your rush to ad hominism, while acceptable shorthand, breaks the logical continuity of the argument and leaves the casual reader trapped in limbo without a reference frame.
    Systemd probably could have prevented this by restarting your argument without relying on ntpd itself, which is what I think the parent was trying to suggest. So, next time you want to start a pissing contest, please put your script in /etc/systemd/system so at least the rest of us can run a backtrace on your maniacal rants.

  40. Your kidding me right? by Anonymous Coward · · Score: 0

    http://support.ntp.org/bin/view/Main/SecurityNotice

  41. NTP, GPS, PTP: same problems by jcdr · · Score: 1

    While each of those protocols have some advantages depending on the network availability, there all need to be upgraded to bring all the features required to make almost every applications happy.
    * NTP need to broadcast TAI time, leap second table and timezone database.
    * PTP need to broadcast lead second table, and timezone database.
    * GPS need to broadcast at least the leap second table (serialized into a few bits over a long period), timezone database will probably be too big.

    The TAI time is required to every strict realtime applications that don't rely on the Earth rotation. This is the only time where you can safely add and subtract time and get a precise result in any cases.
    The Leap second table is required to every applications that depend on the Earth rotation, like for example the UTC time. Without the leap second table you can't precisely compute past time across leap second inclusion. But remember that even with the leap second table you can NEVER precisely compute future time across possible future leap second inclusion because the Earth rotation is unstable and the decision to include a new leap second is done on a 6 months basis.
    The timezone database (and the leap second table) is required to every applications that need to manage local time depending on the location on the Earth surface. Without up to date timezone database, you can't precisely compute the local time of a past event. Because future time rely on future leap second inclusion, you can NEVER precisely compute future local time across possible leap second inclusion.

    The nirvana would be that most concerned standardization organizations (ITU, ISO, IEEE, POSIX, etc...) and scientists agree to write a reference library to solve all the time computation, exchange, and broadcasting problem. Almost every libraries and languages are incomplete or compute imprecise result without warning.

    As for the leap second abandon, it's a false problem: the reality is that the Earth rotation is unstable and that life activity on Earth deeply depend on the Sun light. A post-correction system will always be required. Mixing it with the timezone offset is a very bad option that will even more confuse the already hard problem of the timezone across the whole Earth surface. But it would be an advantage to make the leap second table available from the timezone database.

  42. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  43. Probably developers, not douchebags by Anonymous Coward · · Score: 0

    Not to protect douchebag apple guys, but even if developers who contacted the "NTP dad" wanted Apple to throw a donation, then it would be real hard to push by the accounting. If they, on the other hand would be billed for "3rd party expert services" - noone would blink an eye, so, yes, if a large corporation contacts you asking to help fix something - send them a bill first.

    I very much doubt the people who contacted hime are actually douchebags.

    They're probably just Apple developers who are not authorized to spend company money on their own. Not on donations to open source projects, and not to pay for contract work for that matter. They were told by their boss to fix NTP, they looked into it, sent an email to the guy on the project page, and the guy responded. Work got done.

    Seen it a million (well, a dozen) times. The people holding the purse strings aren't the people who do the work.

    1. Re: Probably developers, not douchebags by Anonymous Coward · · Score: 0

      Yep, if they had waited then most likely it still wouldn't be fixed

  44. DDOS by Anonymous Coward · · Score: 0

    Is this the protocol that DDOS attacks use for bandwidth amplification ?
    As in "send a short question requiring a long answer but spoof the originating IP address"
    Or am I thinking of a different NTP ?

  45. Re:There are 3 types of time that matter to comput by jcdr · · Score: 1

    The real types that matter to computers are:

    (1) TAI: Don't depend on the Earth rotation or on the position on the Earth surface. The only time safe to compute any past and future time as log as you have enough bits to store the number.

    (2) UTC: Depend on Earth rotation but don't depend on the position on the Earth surface. Require the leap second table to safely compute some past time. Unsafe to compute future time because of the Earth rotation instability that make future leap second unpredictable.

    (3) Local time: Depend on the Earth rotation and on the position on the Earth surface (and local government decision). Require leap second table and timezone database to compute some past local time locally on the Earth surface. Unsafe to compute future time because of the Earth rotation instability and future timezone changes impossible to forecast.

    Astronomers more likely uses one of UT, UT0, UT1, UT1R, UT1D, or UT2: something that is more bond to the real physical angular rotation of the Earth.

  46. Open Source vs. Open Standards confusion by userw014 · · Score: 1

    Information Week is confused about the difference between open standards (TLS, Domain Name System, Network Time Protocol) and open source (OpenSSL, BIND, NTPD). But they're a rag anyway. For that matter, they seem to be confused about the difference between definition and geography - Greenwich Mean Time is a known source of reliable time, as is the US Naval Observatory.

    Yes, there's an issue here about a critical component of technology - but the Information Week explanation just contributes to ignorance and stupidity in general.

  47. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 1

    There's no way to say this politely so fuck it here goes:

    Your post is ignorant beyond belief. This could only come from someone who doesn't know jack shit and worse, doesn't know that they don't know jack shit. And even worse than that, you're arguing with people who do have a clue. You clearly don't have any experience architecting major distributed systems. Or major systems of any kind. If you've worked on distributed systems at all, they were almost certainly synchronized and you just never realized how important that was.

    Every major distributed system synchronizes their clocks, and when clocks go out of synch bad things happen. The exact amount of tolerance varies, but generally sub-second accuracy is a minimum. Once the clocks go out of synch, every thing from minor random glitches to major meltdown starts happening. And it can be very hard to diagnose what is even happening because you can't easily determine the order that things happened.

    And that only scratches the surface of what's wrong with your post. You just clearly don't understand the problem.

  48. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 0

    I'm sure the OP realizes that "when clocks go out of synch bad things happen.". The point he is trying to make is that this is a poor design. Those software packages should be fixed, so out-of-sync clocks do not affect the proper functioning of the software.

    Once the clocks go out of synch, every thing from minor random glitches to major meltdown starts happening.

    That sounds like race-condition bugs in the code, which are being band-aid'd over with hacks based on timestamps -- you know it, and I know it.

  49. Information Week's editing is shocking. by plcurechax · · Score: 1

    Greenwich Mean Time is a known source of reliable time, as is the US Naval Observatory. Their time is based on the solar day -- the time it takes for the earth to complete a rotation in its orbit. NTP consults UTC or Universal Coordinated Time, which is Greenwich Mean Time expressed in the military's 24:00:00 hours terms.

    On a daily basis, NTP also consults atomic clocks, which tick off precise seconds based on radioactive Cesium-133 decomposition. A GPS receiver can be tied into an NTP server, and use the transmission of a GPS satellite to get the correct atomic time. A GPS satellite has three atomic clocks, so if one falls out of synch, the other two can overrule it and keep the system on track. For GPS time to be off by a billionth of a second means its answer to a location query will be off by a foot. So GPS relies on precisely counted time, not the solar day.

    Wow, that's so bad I'm not sure where to start; "Greenwich Mean Time" is a) a timezone still used by the UK when "British Summer Time" is not in effect, and is similar but not the same as UTC "Universal Coordinated Time" timezone, c) based upon the mean solar time at the Royal Observatory in Greenwich, London, UK.

    UTC "Universal Coordinated Time" is the present day global standard time reference (yes damnit that is the correct English name, in French "temps universel coordonné" or unofficially "Universel Temps Coordonné" with an unofficial English name of "Universal Time, Coordinated" to keep the abbreviation similar to UT0, UT1, etc.).

    The "military time" (i.e. 24-hour clock) reference is nonsense, and ignore 24-hour clock usage in civilian European life, and as well as being standard in anything time oriented.

    NTP is references to UTC, but UTC is in fact itself coordinated globally by about 80 national labs that operate their own national time references (typically 3 or more Cesium based time references, larger labs include hydrogen masers) which is coordinated by BIPM (International Bureau of Weights and Measures located in France). They work with International Astronomical Union (IAU) for things like determining when leap seconds are necessary to keep errors minimal. The largest contributors (by clock sources) are the US National Institute of Standards and Technology (NIST), US Naval Observatory, and the UK National Physics Laboratory (NPL) as I recall. The UK NPL and US NIST being pioneers in Cesium (Caesium) clocks.

    GPS has become the dominate, and preferable means of professional time synchronizations over distance due to the presence of rubidium or caesium references on board the GPS satellites themselves, and the proliferation of low-cost, widely-available GPS receiver modules including time-synchronisation models with 10s of nanosecond or better accuracy (uncertainty). This means GPS has also become the preferred means of high quality synchronization of NTP "masters" or low stratum references. -- The under-noted point that GPS's geo-location functionality requires a high precision time synchronization between the multiple satellites to determine a position with any amount of accuracy (bounded uncertainty).

  50. Re:There are 3 types of time that matter to comput by lowen · · Score: 1

    Astronomers use sidereal time.

  51. Re:There are 3 types of time that matter to comput by jcdr · · Score: 1

    You are right. Maybe the list should be GMST, GAST, LMST, LST ? Taken from "Astronomical Times" page here: http://www.cv.nrao.edu/~rfishe...

  52. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 0

    ...How about queuing?

    Queuing should not depend on time, AT ALL. A queue (like FIFO) only cares what is FIRST and FIRST is defined by NOW on the local machine -- what the remote clients think the current time is, is irrelevant. Even if one remote client sent something first, and network delays caused his request to come in second is irrelevant -- it only matters what order requests are RECEIVED on the node that controls the queue.

    How about clustering?

    What about clustering? Who's clustering technology requires time-sync'd clocks, and why?

    How about expiration of millions of things (tokens, certs, leases, etc).

    Expire-time would be #2 ("Relative to now") -- Example: Now + 1_day, which would expire a lease 24 hours from now.
    In no way do these functions require time-synchronization with some remote machine.

    BTW: certificate expiration is stupid -- but yes, if you want to let a timestamp in something you didn't generate affect your behavior, then you need your clock to be roughly in sync with that other party that generated the timestamp. It is indicative of a bad design: you trusting timestamps in something you did not generate, hence is forcing you to sync your clock with them to function properly.

    If you generate the token/cert/lease yourself, then it is #2 ("Relative to now") -- you do not need to sync your clock with a third-party.

    How about practically everything your computer is doing?

    There is not a single thing my computer is doing that requires it to be clocked sync'd with anything else. You have failed to name a single one (I want the name of the software package). I can set my system's date to Nov 12, 2007, and it will still function perfectly, and even interoperate with the majority of services on the internet.

    Unless you're meaning to say that everything really does boil down to "calendaring" and "scheduling," and you're not just making some Outlook comment.

    I didn't get that impression from him -- he is saying that 95% of software does not rely on time synchronization. Of the 5% left, 95% of them, do not NEED to rely on time synchronization (they have bad designs).

    If timing wasn't important, there wouldn't be circuits dedicated to keeping it, on practically every electronic device on the planet.

    No one is doubting that we (as humans) are wasting tremendous amounts of energy on a problem of our own making.

  53. No, asshat by Anonymous Coward · · Score: 0

    No, asshat. A corporation, like soylent green, is a collection of people.

  54. Harlan is not "Father Time" by Anonymous Coward · · Score: 0

    The real "Father Time" is Dr. David L Mills at the University of Delaware.

    Dr. Mills' NTP pages are at http://www.eecis.udel.edu/~mills/ntp/html/

    (There are other inaccuracies in that article, BTW)

  55. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 0

    Way to prove a point when you don't even know what a race condition is.

  56. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 0

    Oh really? I think I nailed it:

    https://en.wikipedia.org/wiki/Race_condition#Networking

  57. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 0

    IT's not an issue for queueing; you enqueue things "now".

    So you just rebooted your computer. Now when the fuck is now? How can I "calendar" something if I don't have a fucking clue what "now" is?

  58. Re:There are 3 types of time that matter to comput by Anonymous Coward · · Score: 0

    I'm sure the OP realizes that "when clocks go out of synch bad things happen.". The point he is trying to make is that this is a poor design. Those software packages should be fixed, so out-of-sync clocks do not affect the proper functioning of the software.

    Once the clocks go out of synch, every thing from minor random glitches to major meltdown starts happening.

    That sounds like race-condition bugs in the code, which are being band-aid'd over with hacks based on timestamps -- you know it, and I know it.

    I've never heard of NTP synchronization being used as a fix for a distributed race condition bug, but nothing would surprise me. Time synchronization can eliminate some kinds of distributed race conditions, but that's not a band-aid any more than atomic operations are a band-aid for non-distributed race conditions.

    Time synchronization is a surprisingly difficult thing to do, so methods of dealing with unsynchronized clocks have been around for a long time, such as vector clocks and Lamport timestamps. But that introduces complexity that can be avoided with synchronized clocks.

    But as difficult as it is, we have reasonably good time synchronization protocols, like NTP. Some distributed algorithms can be made much simpler with synchronized clocks. Distributed caches and distributed transactions come to mind, but there are many others. Once you have it for one thing, it tends to get used more and more.

    Not to mention that clock time is also just an essential part of the problem domain for many distributed systems (e.g. stock trading, banking, remote sensors, intrusion detection, security auditing, anything real time.) So since you have to have it anyway, you might as well use it.

    So, no. I don't think it is necessarily better to "fix" things so they don't depend on time synchronization. That is a step backwards actually. What really would really be better is better clocks (it's amazing how bad PC clocks are) and better time synchronization protocols.

  59. "The bus test" - would NTP pass? by stoatwblr · · Score: 1

    The "bus" test is simple - if XYZ developer fell under a bus, could the project continue operating without disruption?

    The fact that Stenn feels he can't take vacations is a good sign that NTP would fail this test.

  60. CVE-2014-9295 == thanks + $$$ by t0dampier · · Score: 1

    When a fix for CVE-2014-9295 was already available to build and install on the day, I sent support.ntp.org $100 without hesitation. And was vaguely hoping the rest of civilization -- the part for whom the whole of that sentence was meaningful, anyway -- might do the same. I'm glad a little light is being thrown on some of the infrastructure we take for granted ... worth consideration if you support the FOSS model philosophically, and have a few $ to spare to back it up.

    --
    TD