Slashdot Mirror


NTP Pool Project Reaches 500 Servers

flok writes "Finally after 3 years the NTP Pool project has reached 500 servers! The NTP pool project tries to be an accurate and free time-source to every internet-connected device. Everybody who's system has running an NTP daemon which can give an accurate time-indication can join the project. Not only is it handy to have accurate time on your workstation to be able to see when you need to leave the house to catch the train in time, it is also usefull to be able to accurately correlate events between your system and others in case one gets hacked."

165 comments

  1. I just use my watch by Anonymous Coward · · Score: 0

    It syncs with the atomic clock every night. Speaking of that, why is there no USB type device to allow timesync that way?

    1. Re:I just use my watch by Anonymous Coward · · Score: 1, Insightful

      Because you have the internet...

    2. Re:I just use my watch by moonbender · · Score: 1

      There are devices that attach to a PC which sync the clock via radio - haven't seen one for USB yet, but I'm sure they exist. They're not very cheap, though, while internet syncing is free and easily accurate enough for most applications.

      --
      Switch back to Slashdot's D1 system.
    3. Re:I just use my watch by Bishop · · Score: 1

      A USB gps device can be easily used to timesync that way. Older modems could be put into a mode to decode the time from a dialup server. A suspect that a few HAM groups have a circuit that will decode the time too. However anyone who has cared about time accuracy has had access to NTP for two decades, and access to GPS recievers for almost as long. The radio broadcast time is less accurate then NTP unless you are right next to the transmitter. The radio waves skip across the atmosphere causeing unpredictable jitter. GPS is ofcourse the most accurate short of having your own atomic clock.

    4. Re:I just use my watch by tylernt · · Score: 1

      Researched this for work not too long ago. You can use a consumer-grade GPS receiver to get within 1 second accuracy, but there's a lot of jitter. More expensive PPS (Pulse-Per-Second) GPS receivers are extremely accurate but cost about $1,000. This is assuming you have a clear view of a large swath of sky. You can interface these with (GPL) NTPd with an RS232 serial cable or you can buy a $3,000 total hardware solution in an 19" 1U rackmount server.

      There are also radio receivers that listen to WWV (same as the "atomic" clocks you buy at Wal-Mart). Again, you can buy a $3,000 total hardware solution, or you can use any handy shortwave receiver and patch the headphone jack into your sound card Line-in port and let NTPd do the same thing.

      The third solution is to use a special modem that connects to a cellular network (Verizon was the one we looked at), I think that solution ran about $1,000.

      This is all going by memory so I might be off on some of the prices.

      --
      DRM 'manages access' in the same way that a prison 'manages freedom'
    5. Re:I just use my watch by Anonymous Coward · · Score: 0

      Garmin GPS25 $20 on Ebay + $50 for 2nd hand computer to run NTP + Webserver. Debian Linux was free. The only real cost was the time spent learning how to configure it.

      I am now a small part of the NTP pool. My local network time is good to 0.1mS, the offset errors (10mS usually) as seen by external users are caused by my ADSL line :-(

    6. Re:I just use my watch by Anonymous Coward · · Score: 0

      ntpd is supposed to account for roundtrip delays i thought...

  2. oooo so exciting by SpaceCadetTrav · · Score: 4, Funny

    Congratulations. If you are reading a Slashdot thread about 500 time servers, you really are a nerd.

    1. Re:oooo so exciting by Hatta · · Score: 4, Funny

      Congratulations. If you are reading a Slashdot thread about 500 time servers, you really are a nerd.

      And what if you're posting in one?

      --
      Give me Classic Slashdot or give me death!
    2. Re:oooo so exciting by T-Ranger · · Score: 1, Funny

      ... and if you are posting a comment in it... ah fuck.

    3. Re:oooo so exciting by Anonymous Coward · · Score: 0

      Have you checked the slogan of this site lately? You know, the part before "stuff that matters"?

    4. Re:oooo so exciting by Anonymous Coward · · Score: 2, Funny

      You know, the part before "stuff that matters"?

      I've always wondered about that phrase -- who is this "Matters", and why would I want to stuff him?

      Even more puzzling: with what?

    5. Re:oooo so exciting by Xugumad · · Score: 2, Insightful

      Or a sys-admin, maybe? I work with computer systems that need to be kept reasonably in sync, time wise, and NTP is a good way of doing that...

    6. Re:oooo so exciting by Kjella · · Score: 1

      And what if you're posting in one?

      Then you're really a ne... oh, wait this is a post to a discussion about 500 time servers, isn't it?

      --
      Live today, because you never know what tomorrow brings
    7. Re:oooo so exciting by 3dr · · Score: 1

      No, I'm reading Slashdot about five hundred eight time servers. As of 2200GMT.

  3. 500 by paulsgre · · Score: 1, Flamebait

    Why is 500 servers notable?

    1. Re:500 by Anonymous Coward · · Score: 1, Funny

      Because its 1 more than 499..

    2. Re:500 by leonmergen · · Score: 4, Funny

      ... because they clearly need more publicity to reach something like 5,000 :)

      --
      - Leon Mergen
      http://www.solatis.com
    3. Re:500 by Heembo · · Score: 2, Insightful

      Well, would 459 be a notable checkpint? Since most humans use base-10 math these days, 500 is a comfortable and familiar socio-mathematical number in terms of a good notable checkpoint. Now, since we are nerds, I believe that 512 would have been a much greater checkpoint. All praise binary!

      --
      Horns are really just a broken halo.
    4. Re:500 by undeadly · · Score: 1
      Why is 500 servers notable?

      A time service is a sensitive, but important, service to use. Having many reliable time servers to choose among will lessen the security risk of hacked servers, or servers just out of sync for some reason. A public timer server will see alot of traffic, so not everyone has the bandwidth nor the hardware.

      The OpenBSD Network Time Protocol daemon selects randomly among various time servers, and is very easy to setup. However, if there are few time servers available, there is not much randomness to it...

    5. Re:500 by paulsgre · · Score: 1

      No, I think some functional measure or evidence of increased productivity/problem analysis using the system would be a better benchmark than any number of servers. Or if when a certain number of reliable servers were reached, some extended or vital functionality was attained.

    6. Re:500 by wayne · · Score: 3, Informative
      Why is 500 servers notable?

      Last year, the pool was falling behind on servers. More clients were joining than servers, so the load on each server was growing. Since then, Ask Bjørn Hansen has created a bunch of automated scripts to handle all of the servers and the server growth has taken off. We still need more servers, and 500 is a nice round number to give as an excuse to say "Please join the NTP pool!".

      --
      SPF support for most open source mail servers can be found at libspf2.
    7. Re:500 by paulsgre · · Score: 1

      I ask a legitimate question, spawn a number of well thought-out answers, and go from "interesting" to "flamebait" ? Fuck you.

  4. Trains aren't that reliable by Ithika · · Score: 3, Insightful

    And what makes sure the trains are on time?

    1. Re:Trains aren't that reliable by Gerald · · Score: 1

      There's always Il Duce...

    2. Re:Trains aren't that reliable by TorKlingberg · · Score: 1

      You don't live in Japan, right? I have been going by train every weekday for four months, it's been late once. 2 minutes. And then I could smell the breaks at every station.

    3. Re:Trains aren't that reliable by Anonymous Coward · · Score: 1, Funny

      Stalin!

    4. Re:Trains aren't that reliable by Ethan+Allison · · Score: 1

      Well, Japanese trains are notorious for their punctuality. Remember the time when that one train derailed itself, crashed into a building, and killed a bunch of people just because it was trying to make up for the fact that it was a minute and a half late?
      Where I live (Twin Cities, MN, USA), up to 10 minutes late is pretty normal for almost every single bus route, and our train line.

    5. Re:Trains aren't that reliable by Greg+Koenig · · Score: 1

      And what makes sure the trains are on time?

      Germans!

    6. Re:Trains aren't that reliable by Stween · · Score: 1

      Wow. 10 minutes. You should come to the UK, we're much better at laterunning. In fact, quite often we like just to cancel trains.

      My favourite announcements at stations are the ones where they announce that the train is on time. Oh yes.

    7. Re:Trains aren't that reliable by LuckyStarr · · Score: 1

      In fact... no. :) The Deutsche Bundesbahn (German National Railways) is known (or better, infamous) for many things, but punctuality is not one of them. I almost have a feeling that trains are more on time if YOU are late.

      --
      Meme of the day: I browse "Disable Sigs: Checked". So should you.
    8. Re:Trains aren't that reliable by dbullock · · Score: 1

      Benito Mussolini makes the trains run on time. :)

      --
      http://www.bullnet.com
    9. Re:Trains aren't that reliable by Anonymous Coward · · Score: 0

      In soviet russia the train makes you run on time!!!!

    10. Re:Trains aren't that reliable by Anonymous Coward · · Score: 0

      The funny thing is: Germans alwas complain about DB having so much delays, but in fact, they're among the most punctual in Europe. As a Dutchman, I can say German train punctuality is a pleasant surprise to me. Nederlandse Spoorwegen (the Dutch national railways) actually tried to change their schedule to the actual departure times of lines with frequent delays, so they would raise their official punctuality rate while travellers still miss their connections.

      Well, everything is better than the British railway punctuality.

    11. Re:Trains aren't that reliable by r_jensen11 · · Score: 1
      Well, Japanese trains are notorious for their punctuality. Remember the time when that one train derailed itself, crashed into a building, and killed a bunch of people just because it was trying to make up for the fact that it was a minute and a half late?
      Where I live (Twin Cities, MN, USA), up to 10 minutes late is pretty normal for almost every single bus route, and our train line.

      Yeah, we all know Metro Transit sucks, and that the Light-Rail system is more for putting on a good show than anything else. What I don't get is why we tore up our street-car lines when we started putting in 94, 494, and 694, only to have a group go "We've got a brilliant idea, let's put in street cars!" 50 years later....

    12. Re:Trains aren't that reliable by Ethan+Allison · · Score: 1

      Idiot politicians, of course.
      The light-rail is noticeably faster, more used, etc. than the buses, but yeah, I think it's mostly a figurehead to get more money to ... build a $2 billion commuter rail line to Elk River?
      There's a reason that 70% of people use MTC because they have no other choice.

    13. Re:Trains aren't that reliable by petermgreen · · Score: 1

      i'm in the uk and i've never heared them specifically say on time. they won't bother announcing as late unless its at least a few miniutes late.

      some trains are much worse than others. the worst idea if you wan't to get out quickly is catching a long distance train from its starting station for a few stops because if they have any problems at all then it can stay sitting there for quite some time (half an hour or so in some cases) after its due out time.

      mostly local trains round here seem to run within a few minites of time at least during off peak hours (i don't travel by train in the rush hour so can't comment there).

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

      yes, but the Network Stalin Protocol is still being worked out. (with my luck, someone will link to an RFC for NSP....)

  5. wow... by Anonymous Coward · · Score: 1, Funny

    ...i never ralized time was so useful! who woulda thunk it.

    1. Re:wow... by jherrick · · Score: 2, Funny

      Or spell-checking software!

    2. Re:wow... by original_papasan · · Score: 1

      spell checking = bastion for the week if the point is made why would you give a flying F- how it's spelled?

  6. But... by joey_knisch · · Score: 2, Informative

    I live in an area with buses and a DOT that doesn't give a shit about being 12 seconds early. Oh well. I will continue to use my watch set 5 minutes fast.

    However, congrats. I will continue to use your NTP servers for computer related crap well into the future.

    1. Re:But... by Anonymous Coward · · Score: 0

      Why 5 minutes fast? Isn't barbarian time good enough for you?

    2. Re:But... by harryman100 · · Score: 1

      I live in the UK, the DOT here doesn't give a shit about time at all, most of the busses I used to take would arrive anywhere within a 15minute window. Even now I live in a city, they aren't much better. I generally walk everywhere (or drive when I go home during the holidays)

      12 seconds early sounds fucking amazing as far as I'm concerned. Or maybe I missed some sarcasm?

      --
      .sigs are for losers
    3. Re:But... by suwain_2 · · Score: 1

      I will continue to use my watch set 5 minutes fast.

      I used to do that. The problem is that I'm not as dumb as I thought. I'd look at my watch and add five minutes. I knew I had until 3:05 for a 3:00 meeting, because my watch was five minutes fast fast.

      I decided that a fast clock was doing me more harm than good. (And besides, I have mild OCD.) Now my watch is accurate, and periodically I adjust it so it's within a couple seconds of my computer. (Synced up via the pool.ntp.org, of course.) I know I have until 3:00 for a 3 o'clock meeting, but that I should really be there by 2:55 to be safe. (Not that your way is wrong, it just didn't work well for me at all.)

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
  7. Confused by Alarash · · Score: 3, Funny

    I'm confused. They are supposed to be a reliable time source, and their home page doesn't even show the current time!

    1. Re:Confused by Da3vid · · Score: 1, Interesting

      I find this website a bit perplexing. Sure, I can appreciate the value of having an accurately sync'd computer, but I set my CPU a year to my atomic clock, and it still is within 15 seconds. That goes for my laptop, too. Maybe I'm a fluke, maybe this program could win me back that 15 seconds, but how important are they? I don't think its going to help me with my day, business, or any other daily tasks. I can only see this potentially useful in tracking movement of viruses across multiple networks, but I doubt that 500 servers provides anything very meaningful. If there were thousands, maybe. My mental picture is like the movie Twister with their stupid gadget at the end, putting the little metal sensors into the tornado. Imagine a few thousand computers all swirling around in a mess of viruses, so you could collect all the information to watch.

      If you thought you were a nerd just for reading about 500 time servers, you'd really be a nerd for being interested in that kind of information.

      -Da3vid-

    2. Re:Confused by bsd4me · · Score: 4, Informative

      Accurate time is important when you are sharing resources with other computers. One example is running a build on an NFS share. If the file timestamps are wrong, then make may do unnecessary compiles, or skip files. Other protocols, like rsync, use timestamps to try to figure out whether updates are needed.

      --

      (S(SKK)(SKK))(S(SKK)(SKK))

    3. Re:Confused by Anonymous Coward · · Score: 0

      is your sig unlambda?

      i've only seen it with lower case operators before.

    4. Re:Confused by jcaldwel · · Score: 1

      I started losing count of the number of times there were "bugs" in time-of-day-sensitive applications I wrote, schedulers and such. 100% of these bugs were due to one or more of these machines with an incorrect time.

      I finally had to make it a formal requirement on production machines that we run ntpdate followed by a "hwclock --systohc" (to save us after a boot) in a cron job.

    5. Re:Confused by bsd4me · · Score: 1

      It is the lamba term

      (\x.x x)(\x.x x)

      expressed with combinators. Unlamba is basically an implementation of combinatory logic, but combinators are usually written in capitals.

      --

      (S(SKK)(SKK))(S(SKK)(SKK))

    6. Re:Confused by pitc · · Score: 1

      rsync only uses the timestamp if you tell it to. Otherwise it checksums each file.

      --
      aoeu
    7. Re:Confused by elconde · · Score: 1

      15 seconds a year isn't bad. My laptop was drifting 15 seconds a day before I started using ntp.

    8. Re:Confused by MichaelSmith · · Score: 1
      If the file timestamps are wrong, then make may do unnecessary compiles

      Tell me about it. In 1999 the operational site which we get our time sync from used their test network (the one connected to our development site) for Y2K testing. We had half a gig of incorrectly date stamped sources. Not a pretty sight.

    9. Re:Confused by harryman100 · · Score: 1

      I have a MythTV box, and having an accurate time on that really helps when recording programs **, also if your motherboard is old and the battery is beginning to fade into non-existence (as mine is) and the hwclock cannot be guaranteed to be going when the machine is off, syncing the time on startup is very useful.

      ** Yes I know you can set it to start recording early and finish late, but when recording consecutive programs on different channels this is not an option.

      --
      .sigs are for losers
    10. Re:Confused by Almost-Retired · · Score: 2, Interesting

      Well now, if you stop and think of it, that would be the worst case scenario one could imagine, cause some dip would leave his web browser sitting on the page watching the clock update itself every second. Do that 10 times and you've used a quite measurable portion of the servers bandwidth.

      You would be amazed at the number of folks who figure its allright to do that, I mean its there, why not use it attitude? So no, no admin in his right mind would set that up. Or if he did, he should be dismissed as not being worthy of the job title of a sysadmin.

      I swear, the average intelligence of a slashdot post is dropping below the average intelligence at large these days.

      So prove me wrong and lets see if there is such a thing in this thread.

      However, I'd like to see the instructions for making a server out of one box and keeping the rest of the local system synched to it made more widely available. You have to dig to find them, and I think they are a bit dated but I could reduce the 'client' count by 2 here at home by doing it.

      --
      Cheers, Gene

    11. Re:Confused by richlv · · Score: 1

      However, I'd like to see the instructions for making a server out of one box and keeping the rest of the local system synched to it made more widely available. You have to dig to find them, and I think they are a bit dated but I could reduce the 'client' count by 2 here at home by doing it.

      i hope i have understood you correctly - if not, i am sorry :)

      you get an ntp server with most if not all linux distributions. some of them offer easy gui config tools for ntp part. additionally you get a bunch of other software products that are useful for serving "things" :)

      most company (or home) networks i know have a single machine that gets the correct time and distributes it to all other machines on the network.

      --
      Rich
  8. Your machine is going to party like it's 1999 .... by TallMatthew · · Score: 2, Insightful
    What keeps someone from joining the pool and giving out the wrong time?

    There are some nifty bits of nastiness that can be delivered when a machine is privy to having its clock changed from afar.

  9. Cool by leathered · · Score: 1, Funny

    I hope these servers carry alt.binaries.pictures.erotica.breasts.large

    Oh, sorry I read that as NNTP

    --
    For all intensive porpoises your a bunch of rediculous loosers
  10. PCs keep lousy time. by Anonymous Coward · · Score: 2, Interesting

    What is it with PCs? I've owned several over the last 15 years, and without exception
    the clocks simply could not keep accurate time. I've bought 5 buck watches at wal-mart that
    kept better time than my PCs. In some cases, they lose (or gain) several (somtimes tens of)
    seconds per day.

    Is it those Dallas chips that can't keep time? or is it the clock frequency division that
    most PCs use?

    1. Re:PCs keep lousy time. by LuckyStarr · · Score: 4, Informative

      Try warming your 5 buck watch to 50C (don't know how much that is in F) hold it there for a few hours and then cool it down again to room temperature. Do this every day for a few months.

      You will see your 5 buck watch will track the time as good as the Dallas chips.

      Temperature affects the speed of clocks.

      --
      Meme of the day: I browse "Disable Sigs: Checked". So should you.
    2. Re:PCs keep lousy time. by FuzzyFox · · Score: 2, Informative
      I remember in high school a guy from the power company came to talk to the class.

      He stated that the power company tries very hard to regulate the 60 Hz power, such that, as exactly as possible, the required 5,184,000 cycles are sent out every day. As a result, any electric clock (especially one that uses a motor) would have very accurate time.

      So why is it, that an electronic device, which you normally plug right into the wall, can't find a source of accurate time? There's a very reliable source of time information, right on the other side of the power supply, but the computer ignores it!

      --
      splunge (n) -- A good idea.. but it could be lousy... and I'm not being indecisive!
    3. Re:PCs keep lousy time. by Anonymous Coward · · Score: 0

      You could use a PLL linking the quartz to the 60 Hz signal, but the power supply would need to have a pin for the 60 hertz signal (NOT backwards compatible). So power supplies with the pin won't sell, and we have a chicken and egg problem

    4. Re:PCs keep lousy time. by hyperfine+transition · · Score: 1

      The crystals used as the oscillators in PC clocks just aren't very good. The purpose of a watch is to keep time so naturally a good quartz crystal is used. Typically a watch will be good to 1 second over a week or two. The purpose of a PC is to post to Slashdot, so cheap crystals are used and these typically are good to only about 1 second per day. Higher end workstatsions like Sun used to have better crystals; I don't know what they're like now though.

    5. Re:PCs keep lousy time. by Detritus · · Score: 1

      It can. I built a Heathkit digital clock, back when you could buy electronic kits and electronic digital clocks were rare. It used the AC line as the frequency reference for the digital clock circuits. I think it used a low-voltage secondary winding on the power transformer and a schmitt trigger to generate a 60 Hz square wave. If you checked the clock against WWV, it was never off by more than a second or two. If the power company had a large load during the day, they would run the system slightly faster than 60 Hz overnight, so everyone's clock kept the proper time.

      --
      Mea navis aericumbens anguillis abundat
    6. Re:PCs keep lousy time. by Anonymous Coward · · Score: 0

      The problem is that the timescale is too long....it's not abnormal for the 60Hz clock to run a couple seconds behind during the day and catch up at night. For a motorized clock on your kitchen wall that isn't a big deal, but you wouldn't want to sync your NFS client to something that may be off by a couple seconds!

      Now you could concievably use the 60Hz clock to calculate a long term time-skew of the internal clock. However, that relies on constant skew of the internal clock (likely false; the biggest contributor to internal clock inaccuracies are the changing temp around the timing circuits) and that the machine remains plugged in so we see fully-corrected 60Hz time.

      Oh, and hopefully you never have to run your computer on generator power or things may get confused. :-)

    7. Re:PCs keep lousy time. by Almost-Retired · · Score: 4, Interesting

      Thats only as good as the operators on duty when looked at on a shorter term than a daily basis. So I have to tell a story here that illustrates the problem, in this case one that having an NTP setup (which didn't exist except in older protocols in 1978) wouldn't have fixed unless it was applied directly to the generator controls on the power grid.

      Anyway, about 2pm my board operator at the tv station I was the CE at came running into my office and said the tape machine was going crazy, he though it was running fast and the on air picture wasn't viewable even after being time base corrected.
      He'd put that tape in 3 of them without making it work.

      As I walked through the control room I was just barely aware that the air conditioning and all the fans in the transmitter seemed to be working real well. I looked at the tape machine, whose main drive motor was a synchronous type whose speed is locked to the powerline frequency, and it did indeed appear to be running fast by a rather large margin. Looking at a motorized wall clock, I noted it was about 18 minutes faster than my trusty timex. So I timed the wall clock second hand against the timex and came up with a powerline frequency of around 71 hz. Voltage was also up a bit, to about 130 at the wall socket, so my transmitter was running very well indeed.

      Calling the local electrickery people, I got a number for the WAPA control center up in Utah someplace and called them up. Argueing with the sexytary for a couple of minutes I finally got through to an operator on duty, introduced myself as the CE at a tv station down in New Mexico and then asked him if his clocks were fast. He first didn't get it, then checked his watch against the wall clock and muttered OMG. He said I'll get that fixed asap and I hung up since there wasn't a watts line account there & Ma Bell was very proud of her daytime business rates...

      About 2 minutes later you could hear the fans and stuff gradually slowing down, and it finally settled at about 59hz until time had caught up with the wall clocks again.

      I think some folks either got some overtime or got to go home a few minutes early that day, so there were what one could have called collateral damages, if even only to the economy west of the mississippi. The whole west side of the country is all synched up, presumably so is whats east of the river. Anyway, it was such an odd occurance that I still have to grin when I recall it nearly 30 years later. One of those things that couldn't ever happen, but did. :-)

      --
      Cheers, gene

  11. more useful for nfs, clustering by Colin+Smith · · Score: 1

    other than that I don't think I'd bother. a couple of minutes here or there hardly matters.

    --
    Deleted
    1. Re:more useful for nfs, clustering by Ed+Random · · Score: 1
      other than that I don't think I'd bother. a couple of minutes here or there hardly matters.

      Well, it does matter for Kerberos / MS Active Directory authentication.

      In any shared software development environment, time needs to be accurate or your builds will fail in strange ways.

      And I'd like to be able to correllate our syslog output, too...
      --
      -- Gxis! Ed.
    2. Re:more useful for nfs, clustering by Pop69 · · Score: 1

      Try running the computer systems for an insurance company where a couple of minutes can be very important to when a client is "on risk". On my systems time has to be accurate and synchronised across the whole network.

    3. Re:more useful for nfs, clustering by Anonymous Coward · · Score: 0

      That's funny. My insurance company doesn't seem to understand time constants shorter than a month.

    4. Re:more useful for nfs, clustering by Anonymous Coward · · Score: 0

      It is usefull for other things too. An example of where having correct time is usefull is with a pc that records tv or talk radio shows.

      --
      pc

    5. Re:more useful for nfs, clustering by ThaFooz · · Score: 2, Funny

      other than that I don't think I'd bother. a couple of minutes here or there hardly matters.

      Yeah, I didn't think it mattered too much on non-critical systems either. Then I ran MythTV and missed the last couple minutes on my Futurama episodes. Never again.

    6. Re:more useful for nfs, clustering by Pop69 · · Score: 1

      Are you talking to our claims department then ?

    7. Re:more useful for nfs, clustering by suwain_2 · · Score: 1

      a couple of minutes here or there hardly matters.

      If my computer (routinely synced via NTP) changes to, say, 12:00:00, and it takes ten seconds for my desk clock to changes from 11:59 to 12:00, I don't care at all.

      But it's not uncommon to rack up 15-minute differences between clocks. That, I'd argue, is a very big problem.

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    8. Re:more useful for nfs, clustering by Anonymous Coward · · Score: 0

      other than that I don't think I'd bother. a couple of minutes here or there hardly matters.

      Or for LANs using Kerberos authentication (Windows AD? MIT Kerberos?). IIRC, once you have more then a 2 minute delta, things start getting problematic with authentication.

  12. Why we removed our servers from the pool... by jafo · · Score: 5, Interesting

    We've run public NTP servers for the better part of a decade now, mostly for the convenience of geographically local folks like the various LUGs. When I found out about the pool, I had our servers added there. Everything was fine for a few months, then over a month we started getting phone calls from firewall admins about how our time servers were attacking their networks. Every time a machine in their network would ask our servers for the time, our servers responded with 10 packets spaced at 1 second intervals, so these improperly configured firewalls were logging a lot of packets from us.

    I finally shut it down after one particular call, the third that week, where the caller was rude and abusive when I suggested that he should be doing more investigation about the traffic before calling someone else to complain about it. Being a public service, it's just not something that scales well to have to field these calls. I hated to do it, but it was just too much of a distraction.

    I'm not saying that you shouldn't add your servers to the pool... I just thought it was an amusing story.

    Sean

    1. Re:Why we removed our servers from the pool... by wayne · · Score: 2, Interesting
      Every time a machine in their network would ask our servers for the time, our servers responded with 10 packets spaced at 1 second intervals

      Uh, your servers are supposed to only reply with *ONE* packet.

      That said, I have also had a few people complain to me about my machine attacking them because they have configured their machine to use the NTP pool. Over the last 2 years, it has totalled around 3, so you must have had really bad luck.

      Overall, I have been very happy with my involvement with the NTP pool. It has been working very well and I like being to help others out. I have also created a bunch of NTP monitoring scripts to help NTP pool members make sure things are running smoothly. These scripts confirm that being in the pool really doesn't generate that much traffic, so even people with cable modems/DSL (with static IP addresses) can easily participate.

      --
      SPF support for most open source mail servers can be found at libspf2.
    2. Re:Why we removed our servers from the pool... by jafo · · Score: 1

      >Uh, your servers are supposed to only reply with *ONE* packet.

      Be that as it may, tcpdump of that particular remote address showed one
      request coming in and 10 responses going back, spaced at 1 second
      intervals. This may be because the remote was making a request that
      resulted in the 10 responses. I'd doubt it was a but in ntpd, but that
      may be as well.

      Sean

    3. Re:Why we removed our servers from the pool... by Detritus · · Score: 3, Informative
      Uh, your servers are supposed to only reply with *ONE* packet.

      See the "iburst" keyword in ntp.conf. This results in a burst of ntp packets at startup.

      --
      Mea navis aericumbens anguillis abundat
    4. Re:Why we removed our servers from the pool... by dnoyeb · · Score: 1

      When i first started using ntp I thought I had a virus. I kept seeing all this stuff in my log where something was talking to my computer and I could have sworn nothing could get in.

      Some web surfing and newsgroup posting finally brought some understanding.

  13. New Way uses HW by putko · · Score: 4, Informative

    Supposedly, if you need an accurate timebase, you are supposed to just use GPS (which gives the exact time) instead of relying on a complicated clock protocol.

    It is great that NTP is so widely distributed. It is typical that at the moment the old technology is finally working, there is an altogether better solution.

    --
    http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
    1. Re:New Way uses HW by Anonymous Coward · · Score: 3, Insightful

      What do you mean by "finally working"? It's been working for ages, I've been using public NTP servers much before I found about pool.ntp.org.

      Besides, what a GPS receiver gives you is a stratum 1 host. What are you going to do, get a receiver per machine? Of course not, you connect it to one box with a NTP server, and make the rest synchronize with it.

      Perhaps the usefulness of public NTP servers is somewhat less now, but they're still good to have. I'm sure at many companies buying a GPS receiver could be complicated, even though accurate time is a very, very nice thing to have these days.

    2. Re:New Way uses HW by putko · · Score: 1

      "Finally working" was imprecise. Please try: "finally working enough to satisfy all users".

      If time really matters, you'll have one per machine. I wouldn't say "of course not," as you did. They only cost about $75 (US) now.

      --
      http://www.thebricktestament.com/the_law/when_to_s tone_your_children/dt21_18a.html
    3. Re:New Way uses HW by cswiger2005 · · Score: 5, Insightful
      GPS does indeed make a wonderful external time reference, and many stratum-1 NTP timeservers are using it.

      Of course, most machines locked in a rack in a hosting facility don't have even the slightest chance of seeing enough sky to lock onto GPS, so it's safe to say that NTP's death or obsolesence is premature to announce just yet. :-)

      --
      -Chuck

      PS: O Slashdot wizards, why does Slashdot's posting filter claim ntpq output is lame?
      It's a conspiracy, I tell you, to force me to write more text!
      Bah, that doesn't work, the lameness filter doesn't like a line filled with "=" signs at all, even if I use an <ecode> tag.

      --
      "The human race's favorite method for being in control of the facts is to ignore them." -Celia Green
    4. Re:New Way uses HW by tpgp · · Score: 3, Insightful

      Supposedly, if you need an accurate timebase, you are supposed to just use GPS (which gives the exact time) instead of relying on a complicated clock protocol.

      Unless your data center is inside a shielded room / underground / in the center of your building.

      It is great that NTP is so widely distributed. It is typical that at the moment the old technology is finally working, there is an altogether better solution.

      Its not a better solution - its a better solution in some cases.

      NTP has the massive advantage of working anywhere you have a network connection and not requiring expensive hardware (GPS hardware you can attach to a PC & match the reliability of NTP is not your yum-cha $75 GPS unit)

      --
      My pics.
    5. Re:New Way uses HW by Anonymous Coward · · Score: 0

      That assumes all your machines can get a good signal for the GPS. Besides $75/machine adds up pretty quick when you have a roomful of computers.

    6. Re:New Way uses HW by Myself · · Score: 2, Informative

      Of course, the CDMA cellular network derives its timing directly from a GPS-stabilized clock, and local clock standards that reference a CDMA receiver are available. These work in almost any building short of a full faraday cage. (And some of them can hook directly to a network and serve NTP!)

      Also, the 1pps output of a $75 GPS unit is considerably more accurate than NTP if your network is subject to *any* sort of variable delay, which of course packet-based networks are.

      Not that NTP isn't useful, just don't expect submillisecond accuracy out of it.

    7. Re:New Way uses HW by Anonymous Coward · · Score: 1, Informative

      It is great that NTP is so widely distributed. It is typical that at the moment the old technology is finally working, there is an altogether better solution.

      So, you're going to connect a GPS receiver to every single workstation and server?

      The way NTP works is that the primary ("Stratum 1") servers get their time from GPS (and other places). The next level (stratum two) would sync of off these and would serve time to clients (so that the primary time servers wouldn't be over burdened).

      You would setup your servers and desktops (and routers, switches, etc.) to sync with the stratum two servers. These clients would in essence become "stratum three". You can go down the stratum numbers as you need for the scalability / redundancy needs that you may have. While technically a stratum x+1 server may not be as accurate as an x server, we're talking about differences of tenths of a second over the Internet.

      This way you get accurate time (error of tens of milliseconds or less on a LAN), without having to add a GPS reciever on every machine. Most people only need their time sync'd to a couple of seconds, so public NTP servers are good enough.

      Time sync protocol that Windows uses is a form of NTP (it goes to time.windows.com), and OS X uses the standard NTP software underneath the hood (you can edit /etc/ntp.conf on OS X).

    8. Re:New Way uses HW by Anonymous Coward · · Score: 0

      "if you need an accurate timebase, you are supposed to just use GPS"

      NTP has a useful feature where there are lots of servers on lots of networks, few of which can be shutdown by the US government. GPS doesn't share that feature.

    9. Re:New Way uses HW by Detritus · · Score: 1
      There is much more to a time and frequency distribution system than a GPS receiver producing 1 PPS, unless your requirements are very minimal. You still need a very stable local oscillator, time code generators, etc. You also have to consider redundancy and single points of failure.

      NTP is a cheap and effective way of distributing time to systems that do not need high-quality time.

      --
      Mea navis aericumbens anguillis abundat
    10. Re:New Way uses HW by tylernt · · Score: 1

      "Also, the 1pps output of a $75 GPS unit"

      None of the $75 GPS units I've looked at have had PPS. I thought PPS-enabled receivers were a lot more expensive than your run-of-the-mill GPS receiver?

      --
      DRM 'manages access' in the same way that a prison 'manages freedom'
    11. Re:New Way uses HW by pe1chl · · Score: 1

      GSM does not seem to have these time transmissions. If it does, the typical GSM handset does not take advantage of it.

      On a LAN, you can expect submillisecond accuracy out of NTP. At least when your OS clock can be phaselocked to an external reference.
      Of course it will be difficult when you are syncing over an asymetrically loaded Internet link.

    12. Re:New Way uses HW by pe1chl · · Score: 1

      The GPS receiver used internal to these units often has a PPS signal. It is the USB interface that provides only a serial message interface to the system.
      When you find an RS232-interfaced receiver, chances are that it provides PPS on the DCD pin.

      I am using OEM module GPS receivers here (bare printed circuit boards that are/were used by system integrators to build systems) and the three different types I have all provide a PPS signal.
      These are sometimes available as surplus components.

    13. Re:New Way uses HW by Anonymous Coward · · Score: 0

      The problem with GPS as a time device is that most new consumer GPS devices can no longer easily hook up to desktop computers. The GPS vendors are going proprietary, making it hard for the GPSs to be used for anything other than their intended commercial purpose. The only mechanism to extend these new GPS devices is to use very expensive, low quality, proprietary software.

    14. Re:New Way uses HW by pe1chl · · Score: 2, Insightful

      Even ONE receiver (GPS) can be a problem in an office building with metalized glass windows and no access to the roof.
      Also, not everyone wants to setup an antenna on the roof and wire it into the computer room.

      For typical computer network purposes (where relative time accuracy is more important than absolute accuracy), NTP is a very good solution. It will get all systems on your lan within milliseconds or better, and the whole network within tens of milliseconds. It will be better than a message-based (non-PPS) GPS receiver connected to all your systems!

      When you require nanosecond accuracy, you probably don't need it on all systems in your network.

    15. Re:New Way uses HW by standards · · Score: 1

      It is true that vendors are going more propietary - just see the article by this cowboy: http://www.oreillynet.com/pub/wlg/5745

      For Linux and Macintosh, there are ways you can get at least the proprietary Garmin GPS's to work. See http://lancej.blogspot.com/2005/10/using-garmin-et rex-vistac-with.html

      I've had no problems using GPS with Linux, but I bet it'll get worse over time, as I believe the vendors will continue to try harder to lock customers into their own software packages.

    16. Re:New Way uses HW by tylernt · · Score: 1

      I didn't actually test any for PPS, I just assumed that if they didn't advertise PPS, they didn't have it. Obviously this assumption was incorrect -- undocumented features hadn't occurred to me. D'oh!

      --
      DRM 'manages access' in the same way that a prison 'manages freedom'
    17. Re:New Way uses HW by hyperfine+transition · · Score: 1

      >>NTP has the massive advantage of working anywhere you have a network connection and not requiring expensive hardware (GPS hardware you can attach to a PC & match the reliability of NTP is not your yum-cha $75 GPS unit)

      This is right.

      Most GPS receivers are not suitable for timing applications and will do rather worse than NTP under usual conditions. Typically, the receiver won't even have a 1 pps output; timing information is output as a serial time code, once per second, usually with a significant delay and jitter. Calibrating the delay is difficult without a trusted, external reference. Nonetheless, there are some cheap OEM receivers like the Trimble Resolution T that have a good 1 pps. But that $75 receiver doesn't come in a box or even with a power supply. So be prepared to use a soldering iron.

      As another poster said, NTP can do sub-millisecond on a LAN. Jitter is usually down at the 100 microsecond level. I administer a network of NTP servers across Australia, and see mean offsets between servers of a few hundred microseconds. Of course, there are outliers, and occasional asymmetries in the network paths (network delays are compensated by dividing the round trip delay by two so asymmetric network paths result in spurious offsets) of one or two milliseconds.

    18. Re:New Way uses HW by Cally · · Score: 1
      Most people only need their time sync'd to a couple of seconds, so public NTP servers are good enough.
      Speak for yourself. Personally I use pool.ntp.org and my machines are so closely sync'd to real time that watching xclock whilst listening to the pips (radio time signal), you can't see a difference. To my slow old eyes at least, they appear to be in perfect sync.
      --
      "None are more hopelessly enslaved than those who falsely believe they are free." -- Goethe
    19. Re:New Way uses HW by jonadab · · Score: 1

      > Most people only need their time sync'd to a couple of seconds

      Heck, I'd be ecstatic if I could get all the clocks at work to stay within one minute of one another (i.e., no clock more than a minute off from any other clock in the building) and within two or three minutes of the real time, without going around and manually checking them all a couple times a month.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    20. Re:New Way uses HW by Anonymous Coward · · Score: 0

      Also, the 1pps output of a $75 GPS unit is considerably more accurate than NTP if your network is subject to *any* sort of variable delay, which of course packet-based networks are.


      How do you guard against hardware failures, especially ones where the unit doesn't die but just provides semi-wrong data? NTP provides some nice server selection and averaging algorithms that eliminate or mitigate the dangers of bogus time sources.

  14. Re:Your machine is going to party like it's 1999 . by bsd4me · · Score: 2, Insightful

    A proper NTP implemetation for a computer gathers information from several clock sources. The NTP protocol also has provisions to determine whether a clock is accurate or not based on the responses from other clocks. IIRC, this is called a "false ticker" in the spec.

    --

    (S(SKK)(SKK))(S(SKK)(SKK))

  15. Re:Your machine is going to party like it's 1999 . by isj · · Score: 4, Informative

    What keeps someone from joining the pool and giving out the wrong time?

    Nothing.

    However, NTP clients uses multiple servers and uses some fairly advanced correlation algorithms to detect outlyers and bad servers. The client configuration is your responsibility. So configure it to use a set of servers that you believe you can trust.

    There are some nifty bits of nastiness that can be delivered when a machine is privy to having its clock changed from afar.

    Then use the secure protocols.

  16. Re:Your machine is going to party like it's 1999 . by wayne · · Score: 2, Informative
    What keeps someone from joining the pool and giving out the wrong time?

    All machines in the NTP pool are monitored for quality and if they are bad enough, they won't be put into the pool.

    Also, it is recommended that you have at least 3, maybe up to 5, NTP servers so that you can detect a bad NTP server. (If you have one time server, you won't know that anything is wrong. If you have two, you will know something is wrong, but you won't know which NTP server is bad. If you have three or more, you can pick the best one.)

    --
    SPF support for most open source mail servers can be found at libspf2.
  17. Chicago said it best... by BigCheese · · Score: 1

    Does anybody really know what time it is
    I don't
    Does anybody really care
    care
    If so I can't imagine why
    about time
    We've all got time enough to die
    Oh no, no

    --
    The obscure we see eventually. The completely obvious, it seems, takes longer. - Edward R. Murrow
  18. Recommended NTP clients by ZorroXXX · · Score: 2, Informative
    Since nobody has mentioned anything about clients yet, here are my suggestions:

    • Linux: Chrony. Works very well for dial-up when you not are connected all the time.
    • Windows: NetTime. Although no longer an active project, this program still works perfectly and is in my opinion better than the "official" windows service.
    --
    When you are sure of something, you probably are wrong (search for "Unskilled and Unaware of It").
    1. Re:Recommended NTP clients by phil+reed · · Score: 1

      Also for Windows: Dimension 4 at http://www.thinkman.com.

      --

      ...phil
      "For a list of the ways which technology has failed to improve our quality of life, press 3."
    2. Re:Recommended NTP clients by Anonymous Coward · · Score: 0

      Also for windows Automachron.

    3. Re:Recommended NTP clients by lachlan76 · · Score: 1

      *nix of course also has OpenNTPD.

    4. Re:Recommended NTP clients by AceyMan · · Score: 1

      Mod all the parents -1, Uninformed.

      Windows has a *built in* NTP client since Windows 2000 (it was an add-in service for NT4), namely `w32time.`

      It can be controlled with the `net time` function, or more granularly with win32tm.

      Active Directory uses Kerberos and therefore requires correct time on any member clients. In fact, clock issues are probably the #2 source of pain on Windows networks, right behind DNS issues.

      Again, I say, ** You don't need any 3rd party software for NTP on Windows **(that is, for 2000/XP -- nobody uses 9x, right?)

      --
      -- Experience is a wonderful thing. It enables you to recognize a mistake when you make it again.
    5. Re:Recommended NTP clients by Teancum · · Score: 1

      I've been using NetTime for some time as well, and the really cool thing about it is that it is also a NTP server... if you happen to have a small Windows-only office or want to have a quick and dirty NTP app with low overhead that non-techies can install and use with relatively no fuss. Definitely a good recommendation.

  19. I run a pool server: some interesting bits by Nelson+Minar · · Score: 4, Informative

    Debian's default NTP configuration is to get time from pool.ntp.org. This is a significant contribution to the Linux world, similar to how Microsoft and Apple provide NTP service to their customers. Yay for us!

    There is modest protection against bad servers in the pool. The time from pool servers is monitored and if a server seems insane it's taken out of the rotation.

    My pool server gets about 14 requests a second from about 100,000 different IP addresses a day. Sadly, a lot of those requests are junk; 100 IP addresses account for 1/3 of all the requests I get. Fortunately NTP is a very lightweight protocol, so you can mostly ignore the spammy clients.

    1. Re:I run a pool server: some interesting bits by cide1 · · Score: 1

      similar to how Microsoft and Apple provide NTP service to their customers

      I didn't realize Microsoft did this, but I know when I started buying Apple, I sure noticed it, and thought it was a very nice touch. Small things like this can give a lot of polish to a product.

      --
      -- the computer doesn't want any beer, no matter how much you think it does. NEVER, EVER feed your computer beer.
    2. Re:I run a pool server: some interesting bits by Anonymous Coward · · Score: 1, Informative

      Apple has been running their NTP server for a long time now, even before starting to add builtin NTP support in their OS.

  20. UIC's "unofficial" time server by jms · · Score: 5, Funny

    Back when I was a university system programmer, I had an officemate named Tim. One day, Tim was poking around and discovered that hundreds of computers all across campus were synchronizing their clocks to his desktop workstation. He quickly figured out why.

    The naming standard for desktop machines was to take the employee's first name and concatinate it with the first letter of their last name. So my desktop machine was named "johns.cc.uic.edu". Tim's machine was named "time.cc.uic.edu" because his last name began with "E". (cc meaning a "computer center" machine.)

    Apparently many many university departments and users poked around and discovered what was obviously an official time server and configured their computers to synchronize to Tim's desktop machine. Tim, of course, had set his computer's clock by the office clock and never given it a second thought.

  21. Really? by missing000 · · Score: 1

    I think you mean 1000000000 NTP servers, right?

  22. Obligatory Grammar/Spelling Nazi by gregarican · · Score: 1, Offtopic

    "Everybody who's system" Ouch. Double whammy!

    1. Re:Obligatory Grammar/Spelling Nazi by John+Frink · · Score: 1

      I don't believe grammar or spelling have anything to do with national socialism.

      --
      Who is this Jimmy character, and why was he cracking corn in the first place?
  23. Stratums by bsd4me · · Score: 4, Insightful

    It would also be nice if ISPs would set up their own pools (and advertise them) so clients wouldn't have to go off network, and then if end-users would would set up their own pool for their networks. Not every machine that needs accurate time has to be at stratum-2 or stratum-3, especially workstations. The NTP Pool website makes it look like it is a good idea if every machine on a network syncs to the NTP Pool, instead of setting up internal servers, which is how NTP is really designed to work.

    --

    (S(SKK)(SKK))(S(SKK)(SKK))

    1. Re:Stratums by Gerald · · Score: 2, Informative

      Try this:

          - Traceroute off your network, e.g. to cnn.com
          - For each hop in the route, run 'ntpdate -q '

      9 times out of 10, you'll find an NTP server one or two hops away.

    2. Re:Stratums by Detritus · · Score: 1

      That's assuming that the ISP has a clue. I've run into too many local NTP servers that are grossly in error and the person responsible for the server no longer works there, doesn't understand NTP, never checks to see that the server is still working, or doesn't care that the server is broken.

      --
      Mea navis aericumbens anguillis abundat
    3. Re:Stratums by swillden · · Score: 1

      At what stratum? If they don't have a good time source, they should never be configured at a high stratum. Unless the admin did something weird, servers "synched" only to their own local clock should end up at stratum 13 or so.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    4. Re:Stratums by stuuf · · Score: 1

      The NTP Pool website makes it look like it is a good idea if every machine on a network syncs to the NTP Pool, instead of setting up internal servers, which is how NTP is really designed to work.

      From http://www.pool.ntp.org/use.html, second to last line in "Additional Notes":

      If you are synchronising a network to pool.ntp.org, please set up one of your computers as a time server and synchronize the other computers to that one. (you'll have some reading to do - it's not difficult though. And there's always the comp.protocols.time.ntp newsgroup.)

      --

      Everyone is born right-handed; only the greatest overcome it

    5. Re:Stratums by bsd4me · · Score: 1

      Oops, my bad. You are right. I think that I need to work on my reading comprehension...

      --

      (S(SKK)(SKK))(S(SKK)(SKK))

    6. Re:Stratums by Detritus · · Score: 1

      Stratum 3 and sending out time that was off by hundreds of milliseconds or worse.

      --
      Mea navis aericumbens anguillis abundat
    7. Re:Stratums by swillden · · Score: 1

      Synched to what?

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
  24. 101 other uses for NTP by packethead · · Score: 1

    accurately correlate events between your system and others in case one gets hacked."..... Of course, syncing database transactions is of no concern..

    --
    .sig
  25. Re:Your machine is going to party like it's 1999 . by OneSmartFellow · · Score: 2, Insightful
    Two main design decisions preclude this from causing disaster.


    1.) A proper NTP implementation will only normally change the skew of your clock, so it speeds up or slows down, but does not jump around.


    2.) A proper NTP implementation will assume that a clock with a large variance compared to other sources is unreliable, and so it will try not to use it. Of course this assumes you have more than one time source available (and configured).

  26. Public NTP server? by mcrbids · · Score: 1

    For years, I've kept my own NTP server. It has references to like a dozen other NTP servers, and then all my other servers reference my own NTP server. I'm not as interested in having time 100% spot perfect, as in having all the servers together, so that cross-examining log files is possible. (BTW, setting up an NTP server takes all of about 10 minutes, with basically zero administration, other than making sure that NTPd is running)

    I don't do any address restriction on the NTP server. Anybody doing a UDP sweep could find this time server easily. Is this a "Public" NTP server?

    Now, at the moment, this particular time server sits on a DSL line, (NTP is pretty lightweight) so I don't go publishing it, but what constitutes a "public" NTP server - the DNS name, or its inclusion on a particular published list?

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
    1. Re:Public NTP server? by htmlboy · · Score: 2, Informative
      what constitutes a "public" NTP server - the DNS name, or its inclusion on a particular published list?

      in this context, public probably means that the server's listed by pool.ntp.org. isc also maintains a list of stratum 1 and 2 servers, some of which are publicly-accessible.
    2. Re:Public NTP server? by pe1chl · · Score: 1

      It is considered abusive to scan for an NTP server and then use it as a reference. A "public" NTP server is one that is explicitly listed as public and available for external users.

      Listing it on pool.ntp.org of course is an explicit permission to use it.

  27. Auto-configure ntp via dhcp by jrp2 · · Score: 2, Interesting

    "It would also be nice if ISPs would set up their own pools (and advertise them) so clients wouldn't have to go off network"

    Agreed. Most do, but as you mention, don't advertise them. I am not sure how many people would actually know what to do with them if they were advertised though.

    It would be quite slick if they advertised them via DHCP, and clients used that info to auto-configure their ntp client. All quite possible and very easy to do by the ISP. NTP servers can be advertised via dhcp.

    http://gentoo-wiki.com/HOWTO_NTP

    http://www.greyware.com/software/domaintime/techni cal/architecture/dhcp.asp

    --
    The only athletic sport I ever mastered was backgammon - Douglas William Jerrold
    1. Re:Auto-configure ntp via dhcp by Skater · · Score: 1

      dhcpcd will gladly overwrite your configuration files unless you turn the option off. It took me a long time to find out why I kept getting bad configuration files for ntpd.

      Am I the only one that thinks dhcpcd overwriting files by default is a bad thing? There are a couple others it'll zap too, if you aren't paying attention:

      From the man page:
      -N - disables overwriting of ntp.conf
      -R - disables overwriting resolv.conf
      -Y - disables overwriting yp.conf

    2. Re:Auto-configure ntp via dhcp by petermgreen · · Score: 1

      i guess its because dhcpd is designed on the assumption that the dhcp server is the authoritive source for any networking related configuration (which it *SHOULD* be thats kinda the point of DHCP) but yes it does break down when the dchp server gives you info you don't wan't and you don't know its admin well enough to get them to fix it (as is often the case with ISP dhcp servers).

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  28. NTP servers as distro usage trackers by schwaang · · Score: 1

    I noticed that Fedora (at least early releases) sets the default ntp server to a .redhat.com server, and I believe Ubuntu sets the default to an ubuntu project server.

    Does anyone know if these distros use traffic to their servers to track installed base? Or are they just being extra friendly?

    1. Re:NTP servers as distro usage trackers by Tony+Hoyle · · Score: 1

      They're probably just being friendly. I always change them anyway because it's a good idea to minimize the jitter between you and the ntp server - find some that are a bit closer.

    2. Re:NTP servers as distro usage trackers by MichaelSmith · · Score: 1
      I noticed that Fedora (at least early releases) sets the default ntp server to a .redhat.com server

      Here in FC3 it is the pool.ntp.org servers.

      I believe Ubuntu sets the default to an ubuntu project server.

      Yes

      Does anyone know if these distros use traffic to their servers to track installed base?

      I assumed this was the case with Ubuntu. But I don't really know.

  29. Why I stopped participating by Just+Some+Guy · · Score: 1
    I added my server to the pool for a while, but quit after a couple of months. The problem I had was the number of wildly misconfigured clients that were killing my system by polling every second. ISC's ntpd has options that sound like they would limit these abuses, but they never had any effect at all; tcpdump would show that I was cheerfully answering request after request after request from the same group of idiot machines.

    Some people went as far as to write scripts that would add bad clients to the server's firewall rules. However, given that every other service I run has some mechanism or another to limit abuse, I didn't want to enable such a system for just this one relatively minor daemon.

    ISC: please give ntpd a working way to automatically ignore broken clients! I'm more than happy to offer my little machine to provide a worthy public service, but watching my server grind down as it answers 600 packets per second - 99% (literally) from the same small pool of machines - was enough to make me withdraw.

    By the way, I quit by simply removing my server from the DNS pool. Machines still synced to my server are welcome to remain there as long as they follow reasonable etiquette, but I won't be advertising for new clients in the near future.

    --
    Dewey, what part of this looks like authorities should be involved?
    1. Re:Why I stopped participating by hyperfine+transition · · Score: 1

      The problem with dumping unwanted NTP traffic is that the clients do not necessarily respect ntpd's 'bugger off' responses like a 'kiss off death' packet. This has led to many problems with public NTP servers being swamped by traffic from poorly written NTP clients. Blocking some clients simply causes them to increase their polling rate !

      BTW ISC simply hosts the ntpd project, it does not run it. ntpd is developed and maintained by David Mills, the author of ntpd, and a group of volunteers.

    2. Re:Why I stopped participating by Just+Some+Guy · · Score: 1
      The problem with dumping unwanted NTP traffic is that the clients do not necessarily respect ntpd's 'bugger off' responses like a 'kiss off death' packet.

      Ain't that the truth.

      Blocking some clients simply causes them to increase their polling rate !

      Ugh. But surely they wouldn't increase to more than once per second... would they?

      I wish that ntpd would keep track of who it sent a KOD to and start ignore all packets from them (which I thought it was supposed to do now, but it doesn't). That would cut my packet traffic nearly in half, and eventually I'd hope that the ignored clients would wander off and find someone else to pester.

      BTW ISC simply hosts the ntpd project, it does not run it.

      I hadn't realized that. Thanks for the info.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Why I stopped participating by jroysdon · · Score: 1

      If a firewall has many PCs PNAT'd behind it and appearing as one single public IP, it's going to look like many per second. I suspect that is the problem.

    4. Re:Why I stopped participating by Just+Some+Guy · · Score: 1

      I don't think so. The intervals were too close to exactly one second. Besides, other people on the NTP pool mailing list saw the same behavior from certain specific clients.

      --
      Dewey, what part of this looks like authorities should be involved?
  30. Re:Your machine is going to party like it's 1999 . by toddbu · · Score: 1
    Of course this assumes you have more than one time source available (and configured).

    For what it's worth, it's not immediately obvious how to do this. If you were to add multiple servers entries in ntpd.conf, all with pool.ntp.org, then DNS would just cache the first call and you'd point to the same machine all the time. The way to do this is as follows:

    server 0.pool.ntp.org
    server 1.pool.ntp.org
    server 2.pool.ntp.org

    Now you'll get a different server and life will be good. You can also use country specific NTP servers like 0.us.pool.ntp.org. Sorry if this is obvious to most people, but it wasn't to me. We've been reluctant to rely on the pool in case of a bad machine that will cause all our timed jobs to fail, and this fixes the problem. There's a good wiki at http://gentoo-wiki.com/HOWTO_NTP.

    --
    If you don't want crime to pay, let the government run it.
  31. Proof reading!!! by Hugonz · · Score: 1

    "who's"
    "usefull"

    What's up with you guys? I'm not even a native speaker. You were just a "should of" and an "it's" short of a crap submission.

  32. Have seen better performance. by fearlezz · · Score: 1

    Great initiative. But I have seen better performance of NTP servers...

    Trying netdate nl.pool.ntp.org failed with a connection refused. So I decided to try some nl.pool.ntp.org servers one-by-one. Of the 8 servers I tried, 1 gave a connection refused error, 6 didn't reply at all. Only one gave the correct time.

    Then I decided to try some more european servers: Of the 90 servers tested, only 7 gave a valid reply.

    Now one could say that the servers have just been slashdotted. But NTP isn't really a protocol that uses a lot of bandwith, cpu or any other resources, is it? I can imagine a few HTTP (which uses major bandwidth) servers being slashdotted... but 500 NTP servers???

    I'll try again in a few days. But it looks like i'll stick with my current favorite ntp server.

    --
    .sig: No such file or directory
    1. Re:Have seen better performance. by pe1chl · · Score: 1

      Try ntpdate instead of netdate. It is a different protocol, not all NTP servers support that.

    2. Re:Have seen better performance. by Anonymous Coward · · Score: 0

      No problem here (using ntpdate).

    3. Re:Have seen better performance. by Anonymous Coward · · Score: 0

      I have seen better performance of NTP servers...

      Trying netdate nl.pool.ntp.org failed with a connection refused.


      How exactly does a connection refused for UDP port 37 have any bearing on NTP (which uses port 123?)

      I decided to try some more european servers: Of the 90 servers tested, only 7 gave a valid reply.

      Funny, I just tried using NTP on all of the nl.pool.ntp.org servers, and all gave valid replies.

      Now one could say that the servers have just been slashdotted.

      One certainly *could*, if one didn't actually know what NTP was. Of course one would just look like an ass.

      I'll try again in a few days.

      Don't bother, unless you enjoy looking foolish.

  33. Re:Your machine is going to party like it's 1999 . by Incadenza · · Score: 1
    However, NTP clients uses multiple servers and uses some fairly advanced correlation algorithms to detect outlyers and bad servers. The client configuration is your responsibility. So configure it to use a set of servers that you believe you can trust.

    And this exactly why the default OpenBSD settings connect to 8 different ntp pool servers:

    # $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $
    # sample ntpd configuration file, see ntpd.conf(5)

    # Addresses to listen on (ntpd does not listen by default)
    #listen on *

    # sync to a single server
    #server ntp.example.org

    # use a random selection of 8 public stratum 2 servers
    # see http://twiki.ntp.org/bin/view/Servers/NTPPoolServe rs
    servers pool.ntp.org
  34. Timing from cellular signals... by Myself · · Score: 1

    That was my point exactly: NTP is most useful within a site, on a LAN. But a radio system, be it Navstar or Galileo GPS signals, or WWVB, or CDMA, is a better way to bring the timebase into the site itself. A WAN link isn't deterministic enough. (I'll admit to knowing nothing about QoS. Could it help?)

    GSM and other systems that use TDMA as a radio access method can tolerate more timing trouble than CDMA. As far as I know, a TDMA site doesn't need a good master clock, since timing slips between sites are unimportant. So, the signal from a GSM site isn't necessarily any more accurate than the limits of the radio band allocation. ;) In practice, they do have GPS-disciplined clocks, but they're not critical to the operation of the network.

    CDMA, however, falls apart in some very ugly ways if the sites lose sync. So they go to great pains to ensure ultra-stable and reliable timing at each site. Installers program the GPS receiver to compensate for the timing skew in the antenna cable, for instance. (Ever wanted to know the velocity factor for a dozen different types of coax?) The handsets have to play the sync game too, so it's fairly easy to use an existing chipset to pluck microsecond-accurate timing out of the air.

    1. Re:Timing from cellular signals... by pe1chl · · Score: 1

      GSM sites probably have quite a good idea about the current time, if only to do proper handovers. However, the spec apparently does not include a transmission of this time on the radio interface. The mobile network here is exclusively GSM, and all phones come with a user interface to set the date and time (and a lack of support of daylight saving time). Once set, the phone runs off its own internal clock and quickly wanders off.
      (I think I once read somewhere that a single manufacturer had implemented an extension to the protocol in its base stations and handsets, so that these particular ones did not have to be set to current time by the user. But it is not generally available)

      Anyway, GSM is useless as a reference. And so are many other systems that potentially could provide accurate time.
      Fortunately there are good radio sources. I have one DCF77 (longwave) and two GPS receivers connected to my system.
      Very enlightening when timekeepers decide to insert a leapsecond, and a shock goes through most of the NTP network :-)

  35. 6 gig per month? by MichaelSmith · · Score: 1

    According to the project web page you can expect 10-20Kbit/sec of traffic, which works out to 6 gigabytes per month of traffic. It doesn't say which direction but I suspect NTP would be pretty symetrical so this would triple the inbound volume to my co-lo.

    Thats a lot of volume for me, so I don't see how I could contribute a server.

    Its a shame that they can't include a dynamic DNS hack into the system. My home system has heaps of volume at a fixed price, but it is on a dynamic IP.

    1. Re:6 gig per month? by Slashcrap · · Score: 1

      Its a shame that they can't include a dynamic DNS hack into the system.

      Yeah, then we could have thousands of AOL users contributing. With the added reliability we'd get from all those extra servers, NTP could be used for some really critical functions. You know, nuclear power stations, missile defence systems, shit like that. I know I'd feel safer.

    2. Re:6 gig per month? by suwain_2 · · Score: 1

      so this would triple the inbound volume to my co-lo.

      For people paying per GB of transfer, it could be a big deal. These days, though, 1,000GB/month is the normal allocation for dedicated servers, so an extra 6GB of traffic would be nothing. (Assuming they weren't using 994 a month...) I'd be concerned about issues like server load instead.

      --
      ________________________________________________
      suwain_2 :: quality slashdot p
    3. Re:6 gig per month? by pe1chl · · Score: 1

      Its a shame that they can't include a dynamic DNS hack into the system.

      This is not a matter of what "they" can hack. Most NTP clients do not do a DNS request before every NTP packet they send out, but only resolve the address when initialized and then make queries to a fixed address.
      That would mean that systems that are not rebooted often would lose contact when your system changes address.

    4. Re:6 gig per month? by ask · · Score: 1

      ntpd uses almost no CPU at all.

      One of the servers I've had in the pool for a long time (so it has accumulated lots of clients) is typically using ~3MB memory and 0.0% or 0.1% CPU on a dual 800MHz box.

        - ask

  36. Re:Your machine is going to party like it's 1999 . by Anonymous Coward · · Score: 0
    "What keeps someone from joining the pool and giving out the wrong time?"


    NTP clients typically are set up to look at multipe servers. The clients sync to the server that currently seems to have the "best" information. Clearly the one server that is feeding the wrong time will be seen as "different" and ignored.
    Clients switch servers in real time. They continously compute which server is the "best" Well, that's an over simplification but close enough.

  37. Re:I just use a simple Python script by ygslash · · Score: 1
    I just use a simple Python script to grab the time to within one second from time.gov. (The server responds with a single TCP packet with Unix time in ASCII decimal. I time how long it takes to get the packet, and split the difference.)

    I run it once every couple of days. Works for me. YMMV.

    NTP from a public server is way overkill for most uses. Everyone talks about how easy it is to use - until things start going wrong. There are just too many moving parts that can break.

  38. Førgive me by Anonymous Coward · · Score: 0

    Wi nøt trei a høliday in Sweden this yer?

    See the løveli lakes

    The wonderful telephøne system

    And mani interesting furry animals

  39. Only a fool would ignore this sneaky web spy!!! by Anonymous Coward · · Score: 0

    This NTP 'project' sneaks into my router, a linksys router, any time it likes and does its 'work' about which it keeps me in the dark. It says it just offers 'time', but none of the network peripherals that it automatically goes into tell you what port it uses! These same routers do not allow the users that paid for them to set the time on them. I think those users are getting not only screwed but hacked as well. Who knows what packets come riding in along with the 'time'. Maybe it is TIME WE FOUND OUT!!!
        So next time some blithering lightweight blathers about boredom or insults its readers with silly personal insults, look beyond the obvious and smell the coffee that he/she missed.

  40. GPS time is not UTC time by Anonymous Coward · · Score: 0
  41. Oh, finally 500 servers! by cciRRus · · Score: 1
    Finally after 3 years the NTP Pool project has reached 500 servers!
    Yeah, it's about time!
    --
    w00t