Miroslav Lichvar
3c217a9e37
util: add UTI_Log2ToDouble()
2015-05-28 12:51:54 +02:00
Miroslav Lichvar
aec97397e8
local: check offset sanity before accumulation
...
Don't accept an offset that points to time before 1970 or outside the
interval to which is mapped NTP time.
2015-04-07 15:23:47 +02:00
Miroslav Lichvar
2f738d5805
util: fix sockaddr function naming
2014-10-03 10:15:18 +02:00
Miroslav Lichvar
55a22656b8
util: use common functions to convert to/from sockaddr
2014-09-26 17:54:45 +02:00
Miroslav Lichvar
a8693a21f8
Check return value of chmod() and fcntl()
2014-06-06 12:07:31 +02:00
Miroslav Lichvar
8aa9eb19c8
Remove unnecessary adjtimex calls
2013-06-06 19:38:36 +02:00
Miroslav Lichvar
2ceb3c89ca
Move NTP_int32 conversion functions to util.c
2013-06-05 12:49:47 +02:00
Miroslav Lichvar
df6c2a432f
Fuzz transmit timestamp
...
Add random bits below clock precision to the timestamp to make
it less predictable.
2012-05-23 12:06:16 +02:00
Miroslav Lichvar
d77356837a
Support passwords encoded in HEX
2012-02-09 16:56:17 +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
91279a0f28
Store reference IDs in uint32_t
2011-06-13 15:34:16 +02:00
Miroslav Lichvar
e8c5d15690
Remove CVS headers
2011-01-28 12:56:09 +01:00
Miroslav Lichvar
9d35b5deac
Don't leak descriptors to sendmail
2011-01-18 18:07:46 +01:00
Miroslav Lichvar
40d82675bd
Make use of UTI_AdjustTimeval in slew handlers
2010-05-07 18:52:05 +02:00
Miroslav Lichvar
b49470117d
Replace fixed-point format with floating-point in cmdmon protocol
2009-12-13 11:07:34 +01:00
Miroslav Lichvar
0f9892fe7a
Fix printing refclocks and IPv6 sources in statistics log
2009-11-30 17:18:28 +01:00
Miroslav Lichvar
8e23110aec
Update COPYING and FSF address
2009-10-28 17:53:33 +01:00
Miroslav Lichvar
a7892a1a15
Always send timevals in cmdmon protocol in 64-bit format
...
This is to avoid incompatibility between 64/32-bit client/server.
While at it, convert all time values in the protocol to timeval
to avoid Y2K38 problem.
2009-10-13 16:15:23 +02:00
Miroslav Lichvar
8265ff2890
Add IPv6 support
2009-10-13 14:44:33 +02:00
Miroslav Lichvar
5a2b38378c
Don't copy util functions in client.c
...
This requires moving croak() to logging.c and avoiding use
of log functions in util.c.
2009-09-15 18:08:58 +02:00
Miroslav Lichvar
ac30bb06ef
Add support for reference clocks
2009-05-05 23:05:59 +02:00
richard
6672f045c2
Update copyright to 2003
2006-01-19 21:37:13 +00:00
Richard P. Curnow
8884034104
Equivalent to V1.19.99.1
...
This is a verbatim copy of the files at that stage of the repository that was
built from the CVS import. It allows future development to see a bit of recent
history, but without carrying around the baggage going back to 1997. If that
is really required, git grafts can be used.
2006-01-19 21:34:28 +00:00