Miroslav Lichvar
d5b737cce8
Update copyright years
2013-06-19 12:50:26 +02:00
Miroslav Lichvar
8d80ce444f
Fix spelling
2013-06-17 18:26:48 +02:00
Miroslav Lichvar
0193688671
Fix printing of negative offset with settime command
2013-06-17 18:26:48 +02:00
Miroslav Lichvar
6ca73bf670
Cleanup including of system headers
2013-06-14 13:41:16 +02:00
Miroslav Lichvar
52272f4dc5
Limit sources included in combining
...
Combine only sources whose distance is shorter than distance of the
selected source multiplied by the value of combinelimit and their
estimated frequencies are close to the frequency of the selected source.
Add outlyer status for sources which are selectable, but not included in
the combining. The status is displayed as '-' in the chronyc sources
output.
2013-06-12 10:25:46 +02:00
Miroslav Lichvar
066254b6c8
Fix burst command with specified address
...
This was broken in commit 0f8def4ca4
.
2013-06-05 10:39:58 +02:00
Miroslav Lichvar
79811bf3e2
Allow hostnames in offline, online and burst commands
2013-06-05 10:39:58 +02:00
Miroslav Lichvar
359d444343
Remove unncessary return statements
2013-05-21 15:08:34 +02:00
Miroslav Lichvar
ae1e3bf73c
Add option to authenticate automatically on chronyc start
2013-05-16 14:18:57 +02:00
Miroslav Lichvar
0f8def4ca4
Refactor command parsing
...
- normalize command line before parsing
- compare whole words
- check for missing/extra arguments in config parsing
- use strdup for string allocation
- share code for reporting syntax errors
- avoid using function pointers
- cleanup the code a bit
2013-05-15 11:27:38 +02:00
Miroslav Lichvar
52657945d8
Don't send uninitialized fields in dump and local requests
2013-05-15 11:02:53 +02:00
Miroslav Lichvar
10e67e3c1d
Terminate batch processing in chronyc on quit command
2013-05-07 17:01:16 +02:00
Miroslav Lichvar
1759d89d8a
Print error message when MD5 init fails in chronyc
2013-01-24 19:04:49 +01:00
Miroslav Lichvar
3059747c35
Add format string to printf in client.c
2012-09-10 17:31:56 +02:00
Miroslav Lichvar
0c738d84af
Update copyright years
2012-02-28 13:11:56 +01:00
Miroslav Lichvar
be1e1dc441
Fix password handling in chronyc
2012-02-28 13:11:56 +01:00
Miroslav Lichvar
824e86a82f
Add leap status to tracking log and report
2012-02-24 11:06:20 +01:00
Miroslav Lichvar
a60586eaad
Return success on empty command
2012-02-10 18:30:11 +01:00
Miroslav Lichvar
d77356837a
Support passwords encoded in HEX
2012-02-09 16:56:17 +01:00
Miroslav Lichvar
19b3c5be26
Extend tracking, sources and activity reports
2012-02-03 17:22:53 +01:00
Miroslav Lichvar
777303f130
Add support for different authentication hashes
...
Allow different hash functions to be used in the NTP and cmdmon
protocols. This breaks the cmdmon protocol compatibility. Extended key
file format is used to specify the hash functions for chronyd and new
authhash command is added to chronyc. MD5 is the default and the only
function included in the chrony source code, other functions will be
available from libraries.
2011-11-02 13:53:00 +01:00
Miroslav Lichvar
7fb50d9a3e
Always use delayed name resolving for server and peer directives
...
This significantly reduces initialization time.
2011-08-26 14:22:10 +02:00
Miroslav Lichvar
d6a91057ae
Add waitsync command
2011-06-23 12:13:51 +02:00
Miroslav Lichvar
a5f63180fc
Don't use uninitialized values
2011-06-13 18:17:33 +02:00
Miroslav Lichvar
91279a0f28
Store reference IDs in uint32_t
2011-06-13 15:34:16 +02:00
Miroslav Lichvar
4ba3dd66ad
Set version string in config.h
2011-06-09 14:32:22 +02:00
Miroslav Lichvar
da2c8d9076
Use config.h
2011-05-24 18:07:06 +02:00
Miroslav Lichvar
4699f7ca0b
Update client copyright message
2011-04-07 18:35:02 +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
896dad9224
Fix warnings produced by latest gcc
2011-02-15 18:55:34 +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
a931b2eece
Add outlyer source status to cmdmon protocol
...
This is not used yet.
2011-01-25 17:40:46 +01:00
Miroslav Lichvar
bc4d5df94e
Reply with status invalid instead of bad length on invalid command
2011-01-19 14:44:10 +01:00
Miroslav Lichvar
6e96b4ba33
Add reselect command
2010-12-07 16:47:58 +01:00
Miroslav Lichvar
a6988b2a79
Update chronyc help text
2010-12-07 16:47:57 +01:00
Miroslav Lichvar
6ed5a65064
Add maxdelaydevratio command
2010-12-07 16:47:57 +01:00
Miroslav Lichvar
b977c95be4
Add test for ratio of increase in delay to stddev
...
Require that the ratio of the increase in delay from the minimum one in
the stats data register to the standard deviation of the offsets in the
register is less than maxdelaydevratio or the difference between
measured offset and predicted offset is larger than the increase in
delay. In the allowed delay increase is included also skew and maximum
clock frequency error.
maxdelaydevratio is 10.0 by default.
2010-12-07 16:47:57 +01:00
Miroslav Lichvar
63ef2badd6
Fix printing of NP and NR over 99 in sourcestats
2010-12-01 14:32:26 +01:00
Miroslav Lichvar
bed5b72cbe
Add polltarget command
2010-10-14 15:08:35 +02:00
Miroslav Lichvar
7a6ee1d729
Base poll adjustment on number of sourcestats samples
...
Instead of following skew changes, adjust polling interval so that the
number of measurements used in the regression algorithm remains close to
a target value. It can be configured with a new polltarget option
(6 by default).
2010-10-13 16:49:28 +02:00
Miroslav Lichvar
d9596334c3
Move default source parameters to macros
2010-10-13 12:58:26 +02:00
Miroslav Lichvar
16676ae726
Add -m option to allow multiple commands on command line
2010-10-04 15:53:35 +02:00
Miroslav Lichvar
fd3702f973
Add retries and timeout commands
2010-10-04 15:00:07 +02:00
Miroslav Lichvar
d674d23b45
Adjust chronyc timeout
...
Start at 1 second and increase it exponentially with maximum number of
attempts 3.
2010-10-04 13:16:52 +02:00
Miroslav Lichvar
5b8835f46b
Support prefer and noselect options in chronyc
2010-08-26 10:29:58 +02:00
Miroslav Lichvar
f924862e89
Add prefer and noselect options
2010-08-25 18:32:40 +02:00
Miroslav Lichvar
78300d018a
Add minstratum command
2010-08-25 17:43:17 +02:00
Benny Lyne Amorsen
c8fe69c956
Add minstratum option
...
Stratum in received packets is raised to the configured minimum.
2010-08-25 12:46:14 +02:00