Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Security Operating Systems Software Unix BSD

OpenBSD Project Releases OpenNTPd 63

44BSD writes "The folks at OpenBSD have announced OpenNTPd, a BSD-licensed implementation of the NTP protocol. As with OpenSSH, there are two teams responsible for the code, which, like OpenSSH, is available in pure OpenBSD and portable versions." TLA FYI: This Wikipedia entry offers a quick overview of the Network Time Protocol. Read on below for some more on OpenNTPd.

"As explained at the project home page:

One team does strictly OpenBSD-based development, aiming to produce code that is as clean, simple, and secure as possible. We believe that simplicity without the portability "goop" allows for better code quality control and easier review. The other team then takes the clean version and makes it portable, by adding the portability "goop" so that it will run on many operating systems.
I have been using the OpenBSD variant of this daemon as it exists in the OpenBSD 3.5-current branch of the OS, and it has worked flawlessly with absolutely zero configurational effort. The supplied config file is sufficient to have the daemon synch against a randomly chosen stratum 2 server (pool.ntp.org, served up via round-robin A records). Aside from its simplicity, this daemon offers the ability to be selectively bound to a machine's network interfaces, rather than having to bind to all, as is the case with xntpd. The features provided by this implementation are probably sufficient for the majority of NTP users, and when the promised support for GPS and radio clocks is added, still more will be able to choose OpenNTPd. This additional diversity is welcome, indeed."
This discussion has been archived. No new comments can be posted.

OpenBSD Project Releases OpenNTPd

Comments Filter:
  • Why? (Score:5, Interesting)

    by crbowman ( 7970 ) on Saturday July 17, 2004 @02:22PM (#9726135) Homepage
    What was the problem with the old NTPd? I thought it was open source.
    • Re:Why? (Score:5, Informative)

      by Anonymous Coward on Saturday July 17, 2004 @05:37PM (#9727222)
      Well, the software itself is lacking in certain areas (like the mentioned binding to specific IPs for example) and the guy who writes it refuses to accept patches to add functionality people want. So its not really a great piece of software anyhow.

      But worse still, its not actually free software. The license is ambiguous, and uses the term "without fee" in a way that could easily be construed as "you can distribute this if you don't charge a fee" instead of "you have permission to do stuff, without having to pay a fee to me". This means linux and BSD cds being sold can't have xntpd on them without risking legal problems.

      When people have pointed out the problem with the wording, and that the added words don't add anything to the statement anyhow, he has been hostile and refuses to change the license to clarify wether or not you are allowed to charge money for something that includes xntpd. Given these problems, and the relative simplicity of ntp, it makes more sense to make a free, high quality replacement than try to deal with the problems of the existing software.
      • Re:Why? (Score:3, Interesting)

        by eeg3 ( 785382 )
        The license is ambiguous, and uses the term "without fee" in a way that could easily be construed as "you can distribute this if you don't charge a fee" instead of "you have permission to do stuff, without having to pay a fee to me".

        In either such case, OpenBSD be putting itself into harm's way. I personally don't like how they refuse to release iso's, so that you have to buy the CDs. The CD, mind you, is an unfortunate whopping $40.

        However, it's good to see a "free-er" version of ntpd out there. It se
        • Re:Why? (Score:4, Insightful)

          by johnnys ( 592333 ) on Sunday July 18, 2004 @12:02AM (#9729056)
          With OpenBSD, you NEVER need to buy the CDs. Once you learn that OpenBSD can be installed over the Internet for FREE then the "need" for iso's goes away.

          You can download the install iso or floppy images from ftp.openbsd.org or a mirror and boot it. Then you select the ftp server you want to use for the install and it installs very quickly. I recently ordered the 3.5 CD set and it took a looonnnggg time to arrive. Since I was in a hurry, I just installed from the Internet and had no problems at all.

          Personally I always order the latest CDs, but then I want to support the project. I use OpenBSD in production environments, and I really don't give a damn about all the "personality issues". I just like an robust and secure OS that gives me reliability and managability without fuss or fanfare.

          Just my .02

          • Re:Why? (Score:3, Insightful)

            by eeg3 ( 785382 )
            "Then you select the ftp server you want to use for the install and it installs very quickly."

            Ugh, I don't have whatever kind of bandwidth you have in my house, so installing an OS on a couple of systems through an ftp install would take a nice whopping couple of days. It's faster and more efficient to download one iso, and just reuse it over and over. Not to mention, I can download an iso and burn it at a friend's house who has cable or DSL, then use it to install on a system that only has a dialup conn
            • Re:Why? (Score:3, Insightful)

              by Anonymous Coward
              Or, if you weren't retarded, you could download the files and put them on a cd anyways, only grabbing the ones you need, and saving yourself about 500 MB of download over an iso image. The ISO obsessed linux world isn't the only way to do things, if you can't learn to do things a different way, then stick with what you have and leave those who like saving bandwidth alone.
            • Re:Why? (Score:5, Informative)

              by Just Some Guy ( 3352 ) <kirk+slashdot@strauser.com> on Monday July 19, 2004 @04:15PM (#9741411) Homepage Journal
              Out of the downloadable packages, you would need:
              • base35.tgz - 30MB
              • bsd - 5MB
              • etc35.tgz - 1.5MB
              • floppy35.fs - 1.5MB
              • man35.tgz - 6.5MB
              • misc35.tgz - 2MB
              for a total of about 46.5MB to get a running system with all of the documentation.

              46.5MB / 4KB/sec (low estimate of the typical download rate of a 56K modem) equals a bit over 3 hours.

              Frankly, if you don't have the patience to run a three-hour download, then I wouldn't want to be around the OpenBSD mailing lists and newsgroups when you start complaining that it takes too long to install it. If you're unwilling to invest that minimal amount of time then OpenBSD isn't for you.

              Insightful, my foot. That's just lazy.

            • If you have multiple machines, you can just download it once and use one of the machines as an ftp server and then install over a lan..
              You could also setup a proxy and do an ftp install via the proxy, this will achieve the same effect but you won't need to manually download the files and put them on an ftpserver.
        • In either such case, OpenBSD be putting itself into harm's way. I personally don't like how they refuse to release iso's, so that you have to buy the CDs. The CD, mind you, is an unfortunate whopping $40.

          I hear you. I basically refuse to deal with OpenBSD because they won't do an ISO . I asked about this [google.com] and got an earfull and a spitload of attitude. Oh well.. I'll just continue to use OpenSSH ( and not pay them ) and its their loss not mine.

          • Just a small question, if you only want it to evaluate it, what's wrong with booting from the supplied floppy image and installing it via FTP? (automated, of course).
          • What the other poster said.

            The install from the floppies is easy, and probably faster than downloading a CD, burning it, and installing off the CD.

            Why do you care so much about a floppy? Make your own CD if you need it so badly but won't pay for it. But honestly I can't think of a situation where the floppy netinstall wouldn't be good enough?
            • Re:Why? (Score:3, Interesting)

              by bahamat ( 187909 )
              I can think of a reason.

              I haven't owned a computer with a floppy drive for over 5 years, and I use PC's. No, I take that back, my last laptop had a floppy/battery bay that I always had the battery in.

              It's true that I could very easily create my own el torito cd with their floppy images, most of my friends can't. OBSD could get a lot more users with very little effort.
              • Re:Why? (Score:4, Funny)

                by evilviper ( 135110 ) on Tuesday July 20, 2004 @09:51AM (#9748998) Journal
                Arg! Another completely uninformed rant, moderated as Intersting...

                It's true that I could very easily create my own el torito cd with their floppy images, most of my friends can't. OBSD could get a lot more users with very little effort.

                Guess what? Upon hearing your rant, the OpenBSD developers TRAVELED 14 MONTHS BACKWARDS IN TIME, and released a bootable CD image... ftp.openbsd.org/pub/OpenBSD/3.3/i386/cd33.iso

                It's only 3MBs, because it's just the bootable CD image, which your idiot "friends" can burn as an image, without the dist files. You'll still need to install those over FTP, HTTP, from a local partition, etc.

                Besides that (with all the Windows CD-Recording software I've seen) it's easier to create a bootable CD from a floppy image, than it is to find the menu option to burn as an ISO (they like to hide that option, for some reason).
          • Re:Why? (Score:4, Insightful)

            by 44BSD ( 701309 ) on Sunday July 18, 2004 @05:10PM (#9733593)
            Amusing how the OpenBSD project goes out of its way to make a portable version of a utility they could easily have allowed to remain OpenBSD-only, and news of the event immediately turns into a Linux crybaby convention. The sense of entitlement is as annoying as it is predictable. You want an ISO? Make one, or find someone who already has. The fact this this seems so damn hard is testimony to either the laziness, stupidity, or selfishness of the whiners who make the requests, seems to me.

            • hey now, I wouldn't call this a "Linux crybaby convention". It is a crybaby convention, but has nothing to do with Linux.

              I will admit that there are probably more crybaby type folks in Linux land than in BSD land, but I think that mainly has to do with the larger base of Linux and you will get more "local users" that way. :).

              I am a pretty big Linux guy. However, I was weened on BSD, but liked the earlier usage and consistent aspects of Linux way back when. At that time you didn't have an openbsd, there
          • I asked about this [google.com] and got an earfull and a spitload of attitude.

            Oh no... You asked a FAQ, one that is addressed in dozens of places on every OpenBSD site, and you got sligtly rude answers.

            IT'S THE END OF THE WORLD. AHHHHHHH!

            How about you stop using all other OSes, because there's a few rude people using them, too.

            I'll just continue to use OpenSSH ( and not pay them ) and its their loss not mine.

            I'm sure they won't miss you... You'd just have flooded the lists and news groups with eve

            • Oh no... You asked a FAQ, one that is addressed in dozens of places on every OpenBSD site, and you got sligtly rude answers.

              Well.. I DID RTFM at the time. I saw nothing either saying "We don't do ISO images" or "We do ISO images". That was added after my initial inquiries. Had it been there when I asked, I wouldn't have said anything.

              I'm sure they won't miss you... You'd just have flooded the lists and news groups with even more dumb questions, flames, etc.

              Flooded the lists with crap ? I don't think

              • Well.. I DID RTFM at the time. I saw nothing either saying "We don't do ISO images" or "We do ISO images". That was added after my initial inquiries. Had it been there when I asked, I wouldn't have said anything.

                It may well be, that your post substantially helped to get the mention in the FAQ [openbsd.org] shortly thereafter. On 25th Oct 1999.

                • It may well be, that your post substantially helped to get the mention in the FAQ shortly thereafter. On 25th Oct 1999.

                  Possibly, I don't know. As I had said, if they had just said. "Nope. Sorry but we don't supply an ISO Image" I would have been satisfied, but to be dumped on for a honest question is never right. And the more I looked into things, the more that I saw Theo was the sort of person who "Doesn't work and play with others very well" . Such is life. I'm quite happy with FreeBSD now. Such

                  • Such is life. I'm quite happy with FreeBSD now. Such is life.

                    Are you avoiding OpenBSD because of Theo?

                    Seems like such a waste. Love him or hate him, OpenBSD is put together pretty damn well. I started with OpenBSD around when you did (2.5), years before that it was Debian Linux and since then I've played with Net and FreeBSD. I like them all, but there's a lot to love about OpenBSD and it's what I enjoy each day where I have a choice.

                    I'm glad you're happy with FreeBSD, it just seems a pitty to avoid Ope
        • Re:Why? (Score:4, Informative)

          by Moridineas ( 213502 ) on Sunday July 18, 2004 @05:03AM (#9729945) Journal
          Just so everyone is clear and your post isn't taken out of context

          The official OpenBSD CD distribution is sold yes. The OpenBSD project does not put up ISO's.

          However you can easily net install (floppies are available for this purpose) and even, easily even, roll your own CD's from an installled base. Once instaleld you can upgrade with cvsup, as with all the BSDs.

          You buy the CD if you need a CD and/or want to support OpenBSD.
        • You can just download the install packages and burn your own CD. I've done that for years.

          It's not as convenient as a FreeBSD ISO that you can just install, but if another 10 minutes is over your threshold for convenience, you won't like OpenBSD anyway. It takes a lot longer than that to adjust to things from most other OSes.
        • you have to buy the CDs. The CD, mind you, is an unfortunate whopping $40.

          Er, borrow the CD from someone else, that's how I first installed FBSD.

          Free software you know, you're allowed to do that kind of thing.

          Mind you, $40, 22 quid, the word whopping hardly applies. Less than Doom3 and far more fun.

      • But worse still, its not actually free software.

        This is not what everybody is thinking. FSF and OSI list this licence in their collections of free software licences. And many software with this kind of a licence is included in many distros, Debian for example, which has very strict rules of what can be included.

        Of course, the wording is confusing, and this licence is not recommended, and OpenNTP guys are entitled to their own opinion.

    • Re:Why? (Score:5, Insightful)

      by 44BSD ( 701309 ) on Saturday July 17, 2004 @06:22PM (#9727454)
      Two reasons come to mind --

      First, for something as widely deployed as NTP, it is desirable to have a variety of implementations in use. This is well-trod ground, so no need to go over it.

      Second, a distinguishing feature of OpenNTPd is its simplicity. It lacks many of the features of xntpd, and provides a subset of xntpd's functionality, and additional features which have been in demand. I guess you could say it does more of what a large number of people want, and less of what a comparative few want.

      Since the two implementations are different in what they can do (although there is obviously substantial overlap), those seeking a decent NTP implementation now have a choice, which is a goot thing.
  • So that makes three (Score:5, Interesting)

    by peter ( 3389 ) on Saturday July 17, 2004 @09:15PM (#9728266) Homepage
    We now have the original ntpd, chrony, and openntpd. I've been using chronyd for a while now, and it's pretty easy to set up. I like how the server can be controlled or queried by a client, chronyc, from the command line without restarting it. I also like being able to limit how often it queries the timeserver, to make sure I don't over-do it. AFAIK, there's nothing bad about chrony. (It's GPL, though, not BSD. The more the merrier.)
    http://chrony.sunsite.dk/

    Oh, and my ISP has its own stratum 2 server, z3.eastlink.ca. :)
  • with xntpd:
    server 127.0.0.1, port 123
    stratum 4, precision -29, leap 00
    refid 10.10.10.3 delay 0.00021, dispersion 0.00000 offset 0.000060
    rootdelay 0.06087, rootdispersion 0.00815, synch dist 0.03857
    reference time: c4a447e8.ad0b0118 Sun, Jul 18 2004 10:50:48.675
    originate timestamp: c4a447f6.fc5989a7 Sun, Jul 18 2004 10:51:02.985
    transmit timestamp: c4a447f6.fc4b6794 Sun, Jul 18 2004 10:51:02.985

    With openntpd:
    server 127.0.0.1, port 123
    stratum 2, precision 0, leap 00
    refid 0.0.0.0 delay 0.00024, dispersion 0.0
    • Does the NTP spec describe exactly how a running server can be queried for this information? I mean, the definition of the various terms ntptrace reports on is defined in RFC-1305. Does this RFC also talk about how a third-party tool might query a running server? Seems unlikely.

      If not, then ntptrace probably relies on the ntpd server from ntp.org to be running. I mean, this is where ntptrace comes from, right?

      OpenNTPd is probably just ignoring ntptrace queries on port 123 since they appear malformed f

  • Can someone explain me how the separate OpenBSD and portable trees are maintaned. Are they basically two separate source trees that get updated simultaneously with the new features?
    • by Anonymous Coward
      Basically all the changes made to ntpd on OpenBSD are then made to the OpenNTPd version and if it breaks anything in the portable version it gets fixed.

      Do one, then the other.

"Being against torture ought to be sort of a multipartisan thing." -- Karl Lehenbauer, as amended by Jeff Daiell, a Libertarian

Working...