Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-25 | incorrect .PATH setting, discovered with nicm | Theo de Raadt | |
2009-06-24 | recvmsg ENOENT noncritical too | Henning Brauer | |
2009-06-17 | ENOPROTOOPT is non-fatal on recvfrom, can apparently happen with ipvshit | Henning Brauer | |
2009-06-11 | effectively un-do r1.111, it fucks machines with bad clocks royally. | Henning Brauer | |
spotted the hard way by theo on armish, pinned to this changed by me. no cookie for ckuethe for not testing on machines with bad clocks. | |||
2009-06-08 | revert this change by eric@: | David Gwynne | |
Make the imsg protocol network-safe. it might be network safe, but half the imsg based daemons on my firewalls dont run anymore. | |||
2009-06-07 | Change the way fds passed over a socket are retreived on the receiving side. | Eric Faurot | |
Currently the receiver fetches an imsg via imsg_get() and if he expects an fd, he then calls imsg_get_fd() to fetch the next fd queued on the imsgbuf from which the imsg came. This changes hides the fd queueing mechanism to the API user. When closing an imsg with an fd, the message is flagged so that the receiving end knows it must dequeue the fd in imsg_get() and return it with the imsg structure. This way there is no (less) possible screw up from imsg_get_fd() not being called directly after imsg_get() by the user. The retreived imsg is self-contained. ok pyr@, "I like that" henning@ | |||
2009-06-07 | Make the imsg protocol network-safe. | Eric Faurot | |
ok pyr@ | |||
2009-06-06 | change the imsg header fields a bit to prepare for upcoming changes. | Eric Faurot | |
add a flag field, use u_int32_t for pid_t and extend type to 32 bits for padding. ok pyr@ | |||
2009-06-06 | If ntpd decides the clock has become unsynced, reset the number of saved | Chris Kuethe | |
time corrections. Once the clock is synced again, start computing a fresh frequency correction. ok henning | |||
2009-06-06 | Turns up the polling rate of sensors and makes ntpd calculate frequency | Chris Kuethe | |
corrections more often. Due to physical effects crystal oscillators aren't really stable beyond 1000s or so - at least not the kind found in pc's. ok henning | |||
2009-06-06 | make ntpd imsg-in-a-lib ready as well. extensive testing done, no | Pierre-Yves Ritschard | |
behavior change. ok eric@ | |||
2009-06-04 | After calling adjfreq to correct the clock's rate, measure and fix the clock | Chris Kuethe | |
offset. This avoids future frequency adjustments based on measurements of a clock that was being adjusted. End result: more stable clock and better frequency convergence. Also, fix a mis-ordered structure member while I'm here. ok henning | |||
2009-06-01 | no we don't need endpwent | Henning Brauer | |
i remember we already had the confusion and bgpd doesn't have the endpwent | |||
2009-05-31 | use the SCM_TIMESTAMP socket option to get the time we received the | Henning Brauer | |
reply instead of doing it in ntpd itself by getting the time we read from the socket. based on a diff from mickey hacked in shape by me, lots of testing and review from ckuethe and sthen, theo and claudio like it too | |||
2009-05-20 | fix looking at the mode bits so that we do not reply to broadcast and other | Henning Brauer | |
junk. from thorsten glaser. | |||
2009-05-18 | move text on weight to where it is first referred to; | Kevin Steves | |
"fine by me. it's maybe not ideal, but it's better" jmc@ | |||
2009-05-13 | when using a timedelta sensor for -s, if the sensor is invalid during | Kevin Steves | |
the first query we will never do the settime because SENSOR_QUERY_INTERVAL (30s) is greater than SETTIME_TIMEOUT (15s). so during the settime period only, be more aggressive and use SETTIME_TIMEOUT/3 for the query interval. ok henning@ | |||
2009-04-22 | ignore replies with timestamps after 2030 to prevent time_t / tv_sec wraps | Henning Brauer | |
input & ok theo | |||
2009-03-31 | Fixed memory leaks which would occur if the second of two memory | Tobias Stoeckmann | |
allocations fails. looks right deraadt, krw ok henning | |||
2009-03-04 | I should know outside data must be vis(3)'d. | Kevin Steves | |
Don't log kiss code for now. | |||
2009-03-04 | received refid should not be converted to host byte order; ok henning@ | Kevin Steves | |
2009-03-04 | log reason when not synced; ok henning@ | Kevin Steves | |
2009-02-12 | -v logs debug adjtime calls also; ok henning@ | Kevin Steves | |
2009-02-11 | move prototypes that are really in ntp.c; ok henning@ | Kevin Steves | |
2009-02-10 | log tiny frequency adjustments at debug only. | Kevin Steves | |
ok henning@, 'I think I agree' otto@ | |||
2009-02-10 | endservent() not needed here; ok henning@ | Kevin Steves | |
2009-02-08 | spelling in comment | Kevin Steves | |
2009-02-06 | rename a #define to be clearer; no binary change | Kevin Steves | |
ok henning@ | |||
2009-01-31 | adjtime has been logged at 32ms and greater for 2.5 years now. | Kevin Steves | |
ok henning@ jmc@ | |||
2009-01-29 | log warning when can't read drift file; allows detection of | Kevin Steves | |
corrupt contents. ok henning@ | |||
2009-01-27 | fix printf format specification to print max len 4 for refid, | Kevin Steves | |
which may not be null terminated; ok henning@ | |||
2009-01-26 | return the correct refid for a sensor; ok henning@ | Christian Weisgerber | |
2009-01-26 | use monotime instead of wallclock for the report thing as well | Henning Brauer | |
found on this laptops harddisk, probably from stockholm | |||
2008-12-10 | Correctly skip the internal fd when checking the server sockets. Use PFD_MAX | Claudio Jeker | |
to start the for loop and not 1 which was correct long long time ago. OK otto@ found by Anirban Sinha ASinha(at)zeugmasystems.com | |||
2008-11-10 | delete operation not needed; from naddy | Theo de Raadt | |
2008-11-10 | If a bind() spuriously fails (as appears to happen once in a blue moon due | Theo de Raadt | |
to some stupid ipv6 bug in particular), remove that 'listen' from the list and continue operation. issue spotted by naddy ok henning | |||
2008-10-17 | bring in findeol() fix from pfctl | Henning Brauer | |
2008-10-10 | - use nmea(4) for general sensor example rather than udcf(4) | Stuart Henderson | |
which only works in w.europe - use a more realistic value for udcf correction example - use a GPS-only receiver for "refid GPS" example suggested/ok mbalmer | |||
2008-10-02 | in priv_settime(), we must not adjust the 'next' timestamps on their for | Henning Brauer | |
the offset since we use monotime for these for some time now, and monotime is not affected by system time changes (like, duh, that was the reason for the change). PR5927 | |||
2008-09-28 | ntpd does not require you to run rdate -n before it -- it notices such an | Theo de Raadt | |
event. so don't use the word "before" .. and leave the mention ambigious ok henning | |||
2008-09-12 | move dns lookups to its own (privilege revoking, not chrooting) process. | Henning Brauer | |
reason: the parent process must never ever block, but the dns routines can. last not least this fixes ntpd -s 'hanging' for a long time. tested by a couple of people | |||
2008-07-19 | Use errx instead of fprintf, exit combo. | Claudio Jeker | |
Diff from Gleydson Soares gsoares (at) gmail (dot) com OK henning@ | |||
2008-06-10 | For IPv6 addresses, return the first 32 bits of the MD5 hash of the | Christian Weisgerber | |
address as ref ID (RFC4330). ok henning@ | |||
2008-06-10 | According to the latest SNTPv4 spec in RFC4330, secondary servers | Christian Weisgerber | |
return the address of the synchronization source as reference identification. Remove the obsolete special casing specified in RFC2030. ok henning@ | |||
2008-06-09 | rename refstr to refid since it is an int32; ok henning | Theo de Raadt | |
2008-06-09 | do not copy up to two garbage characters from a 1 char string into a 4 char | Theo de Raadt | |
output buffer; ok henning | |||
2008-06-09 | do not leak memory on failure in refid production; ok ckuethe henning | Theo de Raadt | |
2008-06-09 | spacing | Theo de Raadt | |
2008-06-09 | Allow outgoing replies from sensor-driven servers to have a | Chris Kuethe | |
user-configurable reference ID, eg. "GPS" or "DCF"... ok mbalmer | |||
2008-06-08 | Don't ignore a slightly unresponsive server for an hour, 5 minutes is enough. | Chris Kuethe | |
comments & ok henning@ |