Miroslav Lichvar
bab7ba22cf
Add asserts for timeout delays
2011-06-23 13:42:04 +02:00
Miroslav Lichvar
d6a91057ae
Add waitsync command
2011-06-23 12:13:51 +02:00
Miroslav Lichvar
c6e9065498
Fix current_total_tick calculation
2011-06-15 15:35:15 +02:00
Miroslav Lichvar
22fda21eae
Don't call driver read_freq in LCL_ReadAbsoluteFrequency
2011-06-15 15:35:14 +02:00
Miroslav Lichvar
103a520aa6
Create logdir before making first tracking write
2011-06-15 15:35:14 +02:00
Miroslav Lichvar
86531a51a7
Don't update drift file on first reference update
2011-06-15 15:35:14 +02:00
Miroslav Lichvar
2b7e4d645f
Don't reset kernel frequency on start without drift file
2011-06-15 15:35:00 +02:00
Miroslav Lichvar
a5f63180fc
Don't use uninitialized values
2011-06-13 18:17:33 +02:00
Miroslav Lichvar
934d4e04b5
Validate leap status in refclock samples
2011-06-13 17:03:30 +02:00
Miroslav Lichvar
1b8547059a
Set leap status by enum
2011-06-13 17:02:42 +02:00
Miroslav Lichvar
91279a0f28
Store reference IDs in uint32_t
2011-06-13 15:34:16 +02:00
Miroslav Lichvar
31ba3144c8
Don't limit refclock driver name to 4 chars
2011-06-13 13:49:46 +02:00
Miroslav Lichvar
0bf34725e3
Don't try to recover from our own time steps
2011-06-10 18:57:04 +02:00
Miroslav Lichvar
91749ebb2b
Try to handle unexpected backward time jumps
2011-06-10 18:29:41 +02:00
Miroslav Lichvar
4ba3dd66ad
Set version string in config.h
2011-06-09 14:32:22 +02:00
Miroslav Lichvar
d40696f7f3
Add .deps to .gitignore
2011-06-09 14:31:04 +02:00
Miroslav Lichvar
4a401a9e83
Make .deps order-only prerequisite
2011-06-09 13:56:45 +02:00
Miroslav Lichvar
6a2a837ede
Remove kernel version check from rtc code
...
It should work with all currently supported kernels (>= 2.2.0).
2011-06-06 21:33:59 +02:00
Miroslav Lichvar
eca08a281c
Determine hz and shift from sysconf(_SC_CLK_TCK) when available
2011-06-06 17:41:14 +02:00
Miroslav Lichvar
9fd8f76fa0
Log final version specific details
2011-06-06 17:12:31 +02:00
Miroslav Lichvar
50de930730
Drop support for old readonly adjtime
2011-06-06 17:12:31 +02:00
Miroslav Lichvar
da1097095c
Drop support for pre 2.2 Linux kernels
2011-06-06 17:12:31 +02:00
Miroslav Lichvar
ec7d302a6c
Support Linux 3.0 and later
2011-06-06 13:56:27 +02:00
Miroslav Lichvar
8cc7ebffa9
Accept packets with compatible NTP versions
...
All incoming NTP packets are now required to have version 2, 3 or 4.
2011-05-25 16:59:40 +02:00
Miroslav Lichvar
de4d14843f
Set source IPv6 address on NTP reply
...
This is needed on systems with multiple IPv6 addresses to reply with
the same source address as the destination address of the NTP request.
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
18605795a7
Merge CCWARNFLAGS with CFLAGS
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
da2c8d9076
Use config.h
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
3120f8adb6
Use object dependencies in Makefile
2011-05-24 18:06:49 +02:00
Miroslav Lichvar
2dcc16169b
Update NEWS
2011-05-04 12:29:40 +02:00
Miroslav Lichvar
a8efd8c398
Update versions in man pages
2011-05-02 13:21:50 +02:00
Miroslav Lichvar
bb40f4aff4
Modify weight calculation again
...
Dividing the weights by variance or unweighted variance seems to have a
significant negative impact on response with normally distributed
network delays.
Divide by the difference between the mean and minimum distance instead.
It should be stable as there is no loop and the response seems to be a
good compromise between the original minimum distance weighting which
works well with normally distributed delays and the variance weighting
which works well with exponentially distributed delays.
2011-04-29 13:29:56 +02:00
Miroslav Lichvar
66c7ac4d24
Revert using unweighted variance in weight calculation
...
This reverts commit 165e6805ab
.
2011-04-29 13:29:24 +02:00
Miroslav Lichvar
7f12919fea
Increase smoothing factor in refclock variance
2011-04-20 12:41:05 +02:00
Miroslav Lichvar
55e0c6a0a1
Update NEWS
2011-04-18 12:59:06 +02:00
Miroslav Lichvar
20f306602b
Add another chrony.conf example
2011-04-18 12:57:01 +02:00
Miroslav Lichvar
70735d8d79
Ignore extra samples in reported nruns
2011-04-18 12:36:02 +02:00
Miroslav Lichvar
165e6805ab
In weight calculation use unweighted variance from last regression
...
This fixes a positive feedback where weights could reach inf.
Also change the SD_TO_DIST_RATIO constant to get close to the original
response.
2011-04-13 18:43:25 +02:00
Miroslav Lichvar
2a0c35646c
Allow changing tick up to max_tick_bias
2011-04-12 16:40:22 +02:00
Miroslav Lichvar
28710e0449
Change default maxclockerror to 1 ppm
2011-04-11 17:54:01 +02:00
Miroslav Lichvar
c5587b60b2
Set reference time to last sample instead of time on update
...
This is done mainly to fix reported root dispersion to include max clock
error after selecting another source without new sample.
2011-04-11 17:52:04 +02:00
Miroslav Lichvar
bb95c39356
Update refclock documentation
2011-04-08 16:53:11 +02:00
Miroslav Lichvar
20a43409c6
Add new commands to protocol comment in candm.h
2011-04-07 18:35:02 +02:00
Miroslav Lichvar
4699f7ca0b
Update client copyright message
2011-04-07 18:35:02 +02:00
Miroslav Lichvar
bc7586b3f4
Assert there are no unhandled commands in cmdmon
2011-04-07 18:34:47 +02:00
Miroslav Lichvar
8d3d45ea1a
Add reselectdist command
2011-04-07 18:16:39 +02:00
Miroslav Lichvar
21ba1d3761
Don't add \n to chronyc command line arguments
...
This fixes parsing of some commands.
2011-04-07 16:17:58 +02:00
Miroslav Lichvar
e79584bb9e
Revert marking offline sources as unreachable
2011-04-07 14:44:56 +02:00
Miroslav Lichvar
bca7819247
Don't crash when sources report is requested soon after start
2011-04-06 16:59:40 +02:00
Miroslav Lichvar
0ecabae2c3
Add include directive
2011-04-06 16:58:12 +02:00
Miroslav Lichvar
598c04eea2
Add configure option to force retry on DNS failure
...
This is apparently needed on system which keep nameservers specified
in /etc/resolv.conf even when there is no network connection. Should be
used with care as invalid names will be retried forever.
2011-04-05 18:14:05 +02:00