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
Miroslav Lichvar
faec23f6bd
Don't update empty sourcestats on clock update
2011-04-05 16:32:50 +02:00
Miroslav Lichvar
896dad9224
Fix warnings produced by latest gcc
2011-02-15 18:55:34 +01:00
Miroslav Lichvar
680612cf09
Reduce Linux driver verbosity
2011-02-15 17:22:40 +01:00
Miroslav Lichvar
3fbd4bb15f
Don't log error on opening driftfile
...
Log frequency and skew values read from the driftfile instead.
2011-02-15 16:56:30 +01:00
Miroslav Lichvar
cb9055072d
Make starting log even in debug mode
2011-02-14 18:21:38 +01:00
Miroslav Lichvar
0fc9b555f1
Don't log in signal handler
2011-02-14 18:19:58 +01:00
Miroslav Lichvar
6ed58628f5
Don't use uninitialized memory when setting RTC time
2011-02-11 17:56:05 +01:00
Miroslav Lichvar
efff149988
Use system headers for Linux RTC support
2011-02-11 17:56:05 +01:00
Miroslav Lichvar
b02d4092f1
Fix compiler warnings in PPS configure test
2011-02-11 17:31:38 +01:00
Miroslav Lichvar
9dc7ea7c62
Update NEWS
2011-01-28 13:21:56 +01:00
Miroslav Lichvar
546a3cdd50
Update credits
2011-01-28 12:57:03 +01:00
Miroslav Lichvar
e8c5d15690
Remove CVS headers
2011-01-28 12:56:09 +01:00
Miroslav Lichvar
e63cba05b2
Update copyright
2011-01-27 13:05:26 +01:00
Miroslav Lichvar
e8fe1dc415
Ignore reselectdist for refclocks
2011-01-25 17:51:19 +01:00
Miroslav Lichvar
9cf08fc780
Make importance of stratum in source selection configurable
...
Instead of always selecting the source with minimum stratum, add weighted
stratum to the distance when comparing selectable sources. The weight
can be configured with new stratumweight directive and can be set to
zero to ignore stratum completely, by default 1.0.
2011-01-25 17:40:46 +01:00
Miroslav Lichvar
b712b3a979
Disable variance source test for now
...
It seems it triggers even with one source alone if it's close and
accurate or polling interval is long enough. It would need to include
max_clock_error.
2011-01-25 17:40:46 +01:00
Miroslav Lichvar
a931b2eece
Add outlyer source status to cmdmon protocol
...
This is not used yet.
2011-01-25 17:40:46 +01:00
Miroslav Lichvar
2e74beebbf
Print sources with bad stats in client as unreachable
2011-01-25 17:40:46 +01:00
Miroslav Lichvar
db510a9558
Select source with minimum distance using a scoring system
...
Each source has a score against currently selected source which is
updated (multiplied by ratio of their distances) when one of the two
sources has a new sample. When the score reaches a limit, the source
will be selected. This should allow to slowly select the source with
minimum distance without frequent reselecting.
To avoid switching between sources with very variable distances (e.g. on
LAN or when upstream server uses a longer polling interval), sources
that are currently not selected are penalized by a fixed distance. This
can be configured with new reselectdist directive (100 microseconds by
default).
2011-01-25 17:40:37 +01:00