summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.c
AgeCommit message (Expand)Author
2006-02-21handle -1 return from host_dns(); ok henning@Kevin Steves
2005-09-06when running ntpd with "-s" as it's argument from /etc/rc.conf, make sure theWim Vandeputte
2005-07-11More descriptive error if a signal causes the child to exit; ok henning@Darren Tucker
2005-06-19use a #define for the time to wait on -s and clarify a log msgHenning Brauer
2005-06-19use a little state engine to keep track of delayed dns lookups and such,Henning Brauer
2005-05-26Ensure previous adjust has completed before clearing alarm flag; ok henning@Darren Tucker
2005-04-18extra paranoia, from a discussion with joergHenning Brauer
2005-03-31zap includes, grunkHenning Brauer
2005-03-24fatal vs fatalx, Alexander von GernlerHenning Brauer
2005-03-13Fixes in ntpd_settime (ie ntpd -s):Darren Tucker
2005-03-09nasty: host_dns used to run before forking and chrooting etc, so it wasHenning Brauer
2005-03-08from the "shut the fuck up, ntpd" department:Henning Brauer
2005-02-02usage() is __deadHenning Brauer
2005-01-28fatal() if daemon() fails, Alexander von Gernler <grunk@pestilenz.org>Henning Brauer
2004-12-22d can be negative, take that into account when comparing to the loggingHenning Brauer
2004-12-20some typos in log messages.Moritz Jodeit
2004-12-06do not log tiny local clock drifts; w/ help from Joerg Sonnenberger <joerg@br...Michael Shalayeff
2004-11-10const'ify conffileHenning Brauer
2004-11-04use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILDHenning Brauer
2004-09-23reset chld_pid to 0 when acting upon a SIGCHLD so we don't try to send itHenning Brauer
2004-09-18jmc says S before s and not s before S, sssssssso we do.Henning Brauer
2004-09-18implement -S to override earlier -s, requested by theoHenning Brauer
2004-09-18don't call settimeofday() when the offset is smaller than 180 seconds,Henning Brauer
2004-09-18add a new -s option, that tells ntpd to set the time using settimeofday()Henning Brauer
2004-09-15imsg framework cleanup:Henning Brauer
2004-09-15malloc the imsg buffers instead of having them statically, suggested byHenning Brauer
2004-09-15unused variables, theoHenning Brauer
2004-08-12do not try to getaddrinfo() in the unprivileged process, send an imsgHenning Brauer
2004-07-13liek bgpd, use a socketpair(2) instead of a pipe(2)Henning Brauer
2004-07-12Add missing newlinesDarren Tucker
2004-07-12Replace errx with equivalent fprintf+exit to make porting easier; ok henning@Darren Tucker
2004-07-09too chatty; ok henningTheo de Raadt
2004-07-09remove leftover pieces of on-the-fly reconfig shitz that made ntpd exit onHenning Brauer
2004-07-08kill traces of on-the-fly reconfigure (from bgpd), not needed in ntpdHenning Brauer
2004-07-07don't log every single reply we receive and log local clock adjustemt nicerHenning Brauer
2004-07-05calculate the median offset from all servers we sync to and callHenning Brauer
2004-06-17provide most of the client functionality.Henning Brauer
2004-06-01first cut at config file parserHenning Brauer
2004-06-01allow ntpd to listen on nearly arbitary number of sockets (OPEN_MAX - 1 atm).Henning Brauer
2004-05-31fix usage()Henning Brauer
2004-05-31initial cut at ntpd.Henning Brauer