367 Commits (6cc61845e3175a2c41486ac91ece09e7b3bca264)

Author SHA1 Message Date
  naddy ca3fb2ec5f According to the latest SNTPv4 spec in RFC4330, secondary servers 16 years ago
  deraadt 52e9696746 rename refstr to refid since it is an int32; ok henning 16 years ago
  deraadt a18f78208a do not copy up to two garbage characters from a 1 char string into a 4 char 16 years ago
  deraadt 2d91cee4c2 do not leak memory on failure in refid production; ok ckuethe henning 16 years ago
  deraadt 6b9dac3b42 spacing 16 years ago
  ckuethe e6e5dc66c8 Allow outgoing replies from sensor-driven servers to have a 16 years ago
  ckuethe ac65ec9396 Don't ignore a slightly unresponsive server for an hour, 5 minutes is enough. 16 years ago
  ckuethe 51e14636f6 Allow ntpd to step the time at startup, now matter how large or small the 16 years ago
  pyr 69c0857e6a ntpd missed the argument check sweep. 16 years ago
  djm d34ab18f72 Use arc4random_buf() when requesting more than a single word of output 16 years ago
  ckuethe d621e7cbdf set the refid for v4 queries too. this allows sensor-driven ntpd to says its 17 years ago
  mpf 41c955e769 Have popfile() also close the main config file, 17 years ago
  mpf 18c1f831f0 Reconnect a client socket after three consecutive send failures. 17 years ago
  henning 3020799cfb we must reset the poll timeout to INFTIM when receiving the IMSG_SETTIME 17 years ago
  stevesk 14460a3689 some fatal() calls that should be fatalx(); ok henning@ 17 years ago
  stevesk f0b6a351e5 log a warning one time when we can't open or write the drift file; 17 years ago
  stevesk 108b3026f5 remove some unused #defines; ok henning@ 17 years ago
  stevesk 55917fac67 just call getpwnam(NTPD_USER) once; ok henning@ 17 years ago
  jmc 33ea5e65d7 rearrange the page to read better; ok otto henning 17 years ago
  jmc ba22e1efe9 document adjfreq(2); 17 years ago
  fgsch 6cdd0c813d revert SIGQUIT catching; requested by deraadt 17 years ago
  fgsch 5d7a07e45a catch SIGQUIT too. ckuethe@ and henning@ ok. 17 years ago
  otto 2dc039e348 be a bit less aggressive retrying; this keeps the message queue 17 years ago
  otto 40598298ed if the drift file is missing, reset adjfreq to zero; iirc diff from Glaser 17 years ago
  mpf e2f849e9a7 Remove space/tab compression function from lgetc() and replace 17 years ago
  pyr bf599d131d ntpd and bgpd's turn to behave like the others. 17 years ago
  otto 218fc01263 don't fill the logs; spotted by deraadt@ ok henning@ 17 years ago
  mpf e2ae46bb11 Allow '=' to end a number in all lexers. 17 years ago
  deraadt 2c7a142792 in the lex... even inside quotes, a \ followed by space or tab should 17 years ago
  otto a4d5c83577 Allow ntpd to report the status of peers and sensors to syslog. This 17 years ago
  deraadt b30a9ec75b in all these programs using the same pfctl-derived parse.y, re-unify the 17 years ago
  deraadt 708686ed78 next step in the yylex unification: handle quoted strings in a nicer fashion 17 years ago
  deraadt 464e8d28dd use a setup function for options, cleaner; ok cloder 17 years ago
  ckuethe 89d498e9d8 Correctly assign a default weight of 1 to sensors and servers. 17 years ago
  jmc 121bce7837 add -n to usage(); 17 years ago
  pyr 90f5650e4c Provide the -n switch like in the other imsg daemons for testing 17 years ago
  jmc 81600a329d one more missed change; 17 years ago
  ckuethe e2f42bb333 Small style tweak, from jmc and Maurice Janssen 17 years ago
  ckuethe 4f75588722 Add a knob to compensate for a refclock that is early or late. Based on a 17 years ago
  deraadt a345b0c863 default weight has to remain 1; seen by Maurice Janssen 17 years ago
  deraadt 17638a8659 this is where it all started, since future ntpd.conf commands will require 17 years ago
  ckuethe 05c8b9ebe9 Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUG 17 years ago
  ckuethe 5b4a0b0b28 This diff makes ntpd poll for sensors more aggressively when the use of 17 years ago
  jmc 14302f5699 convert to new .Dd format; 17 years ago
  henning f9096ad09f use __packed structs for the on-the-wire packets and just memcpy at once 17 years ago
  otto 8c79773d1d if resolving a name fails, be more aggressive retrying, but with care: 17 years ago
  deraadt c34c8f6d6a aggressive spelling fix, spotted by jbg 17 years ago
  otto 66f330d94f Normalize tv so that tv_usec is positive. The kernel also normalizes, 18 years ago
  ckuethe 67b5aa4d57 Increase sensor polling interval to 30s, just like ntp polls. This 18 years ago
  henning 0b2f522118 when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do not 18 years ago