Miroslav Lichvar
8aa9eb19c8
Remove unnecessary adjtimex calls
2013-06-06 19:38:36 +02:00
Miroslav Lichvar
62027f1b47
Fix rounding in UTI_AddDoubleToTimeval with negative increments
2013-06-06 16:30:37 +02:00
Miroslav Lichvar
0074135097
Drop duplicated int64_to_timeval()
2013-06-05 13:11:53 +02:00
Miroslav Lichvar
8eb7ce8581
Fix UTI_DoubleToInt32 to check for overflow
2013-06-05 13:05:54 +02:00
Miroslav Lichvar
2ceb3c89ca
Move NTP_int32 conversion functions to util.c
2013-06-05 12:49:47 +02:00
Miroslav Lichvar
359d444343
Remove unncessary return statements
2013-05-21 15:08:34 +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
0c738d84af
Update copyright years
2012-02-28 13:11:56 +01: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
da2c8d9076
Use config.h
2011-05-24 18:07:06 +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
2f2e524bc6
Don't use timezone parameter in gettimeofday and settimeofday calls
2010-08-12 14:43:26 +02:00
Miroslav Lichvar
40d82675bd
Make use of UTI_AdjustTimeval in slew handlers
2010-05-07 18:52:05 +02:00
Miroslav Lichvar
a3288d4284
Print only printable characters from refid
2010-01-13 14:00:12 +01:00
Miroslav Lichvar
b49470117d
Replace fixed-point format with floating-point in cmdmon protocol
2009-12-13 11:07:34 +01:00
Miroslav Lichvar
84f8463f2a
Use nanoseconds in timevals in cmdmon protocol
2009-12-12 16:44:38 +01:00
Miroslav Lichvar
0f9892fe7a
Fix printing refclocks and IPv6 sources in statistics log
2009-11-30 17:18:28 +01:00
Miroslav Lichvar
f39dc68f84
Avoid compiler warnings in util.c on 32-bit archs
2009-10-30 11:13:08 +01:00
Miroslav Lichvar
8e23110aec
Update COPYING and FSF address
2009-10-28 17:53:33 +01:00
Miroslav Lichvar
f7e08d0c30
Update copyrights
2009-10-28 17:53:10 +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
John Hasler
bc0aaa9217
Fix fault where chronyd enters an endless loop on x86_64
...
John writes:
Here is a patch that should prevent the endless loop. I've changed
UTI_NormaliseTimeval() to use divide/remainder instead of a loop. It also
replaces some similar loops with calls to UTI_NormaliseTimeval() and fixes
an unrelated bug in UTI_DiffTimevals().
2008-10-01 23:57:20 +01:00
Richard Curnow
3a8f93792b
Fix potential buffer overflow problem (Martin Simmons)
2006-01-19 21:37:14 +00:00
richard
9a7334a518
Fix snprintf buffer size bug
2006-01-19 21:37:13 +00:00
richard
6672f045c2
Update copyright to 2003
2006-01-19 21:37:13 +00:00
richard
77303c285f
Replace sprintf by snprintf (John Hasler)
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