summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Collapse)Author
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
overcompensating. From DragonFly, uses recent adjtime(2) changes, so you'll need a recent kernel. ok henning@
2006-06-04Only invalidate stored replies if an adjustment was really made.Otto Moerbeek
ok henning@
2006-06-02just ise "HARD" as refid with sensors for v3 clientsHenning Brauer
2006-06-02incredibly stupid typoHenning Brauer
2006-06-01even though the bounds are long long having an upper bound ofOtto Moerbeek
ULONG_MAX does not work; the max upper bound is LONG_MAX, since LONG_MAX == LLONG_MAX on 64bit archs. ok deraadt@ henning@
2006-06-01When expanding servers, do not forget to copy weight. ok henning@Otto Moerbeek
2006-06-01urgs, other stuff snuck inHenning Brauer
2006-06-01do not use /dev/hotplug for now, only one reader supported yetHenning Brauer
2006-06-01put back regular sensors scanningHenning Brauer
2006-05-31only actually run sensor_query when it is due, not every time poll returnsHenning Brauer
2006-05-29When ntpd backs off polling due to a negative delay, tell the user how longChris Kuethe
it will wait until the next poll. ok henning@
2006-05-29better wording for the "weight" section;Jason McIntyre
2006-05-29document the optional "weight" keyword, and a little cleanup;Jason McIntyre
from henning and myself
2006-05-29when we cannot open /dev/hotplug, donn't bail, just work withoutHenning Brauer
with ckuethe
2006-05-28allow for weight to be added to sensors or servers, so that one canHenning Brauer
weight timedelta sensors higher than ntp peers, for example ok deraadt mbalmer
2006-05-28get clock src id from the timedelta sensor desc.Henning Brauer
unfortunately I still don't have any hardware to test this ;(
2006-05-28if sysctl gives ENOENT the sensor is gone and we remove itHenning Brauer
2006-05-28let sensor_query handle removals itselfHenning Brauer
2006-05-28sensor_byid not needed any moreHenning Brauer
2006-05-28hotplug devid will go away in a minute, so don't use it here any longerHenning Brauer
2006-05-28do not bother with rmeoval events, we remove sensors whoch vanished orHenning Brauer
are not a timedelta sensor any more on query on the fly anyway
2006-05-28small grammar improvement;Jason McIntyre
2006-05-28DV_SENSORS is no more, plug workaround for the time to the real solutionHenning Brauer
2006-05-28make use of the new hotplug events for sensors showing up or vanishingHenning Brauer
2006-05-27add sensor_byid(), return sensor by its idHenning Brauer
2006-05-27stop passing the config around all time, just store one copyHenning Brauer
2006-05-27factor out sensor_probe from sensor_scan so we can probe a sensors whenHenning Brauer
we know its idea without scanning all again
2006-05-27make ntpd listen on the hotplug socket and decode yadda yadda, becauseHenning Brauer
new sensors showing up will be announced that way when slacking ml comes back from food
2006-05-27scan for new timedelta sensors every five minutes for now, ok deraadtHenning Brauer
2006-05-27ntpd does timedelta sensors now tooHenning Brauer
2006-05-27document timedelat sensors. ok deraadtHenning Brauer
2006-05-27config file bits for timedelta sensors, so one can specify which devicesHenning Brauer
to use. "sensors *" just uses all. untested due to lack of hardware. hacked on the road somewhere between vancouver and calgary
2006-05-26\<char> is <char> except for \<newline> -- no exceptions. much like howTheo de Raadt
other things work. ok henning
2006-05-26add support for timedelta sensors, which pretty much means udcf(4) rightHenning Brauer
now. untested due to lack of hardware, and it wouldn't have worked in the plane anyways. work in progress, currently picks up and uses all sensors it finds, config file bits to be added soon. theo fine with this going in
2006-05-25more bits from transatlanic flight:Henning Brauer
make priv_adjtime() deal with offsets, not peers.
2006-05-25figure out the refid to send to NTP v3 clients early and store itHenning Brauer
first bits from a way to long flight
2006-05-23make listen on example idiot proofHenning Brauer
suggested by "Karsten W. Rohrbach" <karsten@rohrbach.de>
2006-05-14PFD_MAX betterer than harcoded 1Henning Brauer
2006-02-21handle -1 return from host_dns(); ok henning@Kevin Steves
2006-01-19Do not attempt to listen on interfaces with a wildcard address; ok henning@Darren Tucker
2006-01-19Check SA_LEN(sa) after sa is checked for NULL. Pointed out by solar atDarren Tucker
openwall.com, ok henning@
2005-09-24Log source address for 'malformed packet' errors. ok henning@Darren Tucker
2005-09-06when running ntpd with "-s" as it's argument from /etc/rc.conf, make sure theWim Vandeputte
output goes to syslog and not console by moving around log_init OK henning@, markus@ and mblamer@
2005-08-11on writing, we actually can deal with ENOBUFS just as well as with EAGAINHenning Brauer
and EINTR, so do it, more or less from bgpd
2005-08-11check for EINTR too after writev(), pt out by Alexander FarberHenning Brauer
2005-08-10Propogate server's leap indicator flags to clients; ok henning@Darren Tucker
2005-08-08with -s, do not wait if we don't have any peers at all.Henning Brauer
From: Thomas Jarosch <thomas.jarosch@intra2net.com>
2005-07-22Skip invalid interfaces during 'listen on *'; ok henning@Darren Tucker
2005-07-15shrink read buffer size from 64k to 4k, this is not bgpd and we're dealingHenning Brauer
with way less data
2005-07-15remove recently added "using privsep user X" message, spams console in -sHenning Brauer
mode, noticed by kettenis