Miroslav Lichvar
1a8514a1a8
Swap leap signs in measurements log description
2009-11-30 16:54:04 +01:00
Miroslav Lichvar
7c53aca486
Add refclocks log
2009-11-30 16:54:00 +01:00
Miroslav Lichvar
e9ae3d0a0b
Read local time immediately after select()
...
This removes a small inaccuracy caused by delay between select() and
file handler calls.
2009-11-30 13:27:34 +01:00
Miroslav Lichvar
159a9519e8
Clean up configure a bit
2009-11-27 16:47:20 +01:00
Miroslav Lichvar
5939fcb2eb
Add editline, readline, linuxcaps detection to configure
2009-11-27 15:59:32 +01:00
Miroslav Lichvar
0601540d41
Use 644/755 permissions instead of 444/555
2009-11-27 13:21:57 +01:00
Miroslav Lichvar
b83861c7c2
Don't change file ownership in installation
2009-11-27 13:20:57 +01:00
Miroslav Lichvar
4d6156b549
Add bindir, sbindir, docdir options to configure
2009-11-27 13:12:58 +01:00
Miroslav Lichvar
7eae35e15e
Regenerate getdate.c
2009-11-27 12:27:11 +01:00
Miroslav Lichvar
a94380673b
Include getdate.y to allow regenerating getdate.c
...
Taken from GNU tar-1.13. Patched yylex and yyerror declarations to avoid
compiler warnings.
2009-11-27 12:25:36 +01:00
Miroslav Lichvar
dce9607d6e
Add s390 and powerpc definitions to io_linux.h
2009-11-26 14:59:11 +01:00
Miroslav Lichvar
e3234465e2
Clean up system options code
...
Abort with error message when trying to use unsupported/disabled
system specific option.
2009-11-25 14:37:41 +01:00
Miroslav Lichvar
032838b1b0
Add new cmdmon status codes for packet version and length mismatch
...
With next procotol version this will allow chronyc to report that
chronyd is using a different protocol version.
2009-11-25 14:37:41 +01:00
Miroslav Lichvar
dd5405a281
Check SOCK protocol version
2009-11-25 14:37:41 +01:00
Miroslav Lichvar
6d242a33f5
Add PPS support to SOCK driver
2009-11-25 14:37:40 +01:00
Miroslav Lichvar
3bae6c3202
Make some socket error messages more descriptive
2009-11-25 14:37:40 +01:00
Miroslav Lichvar
618f372e13
Add option to limit clientlog memory
2009-11-25 14:37:36 +01:00
Miroslav Lichvar
8f72155b43
Multiply clientlog node table size when reallocating
2009-11-24 15:20:23 +01:00
Miroslav Lichvar
bbb6c5d422
Use NULLs in select call instead of empty sets
2009-11-23 17:24:44 +01:00
Miroslav Lichvar
62fe343990
Reduce adjtime calling
...
Don't call adjtime to determine remaining offset when there is no slewing
running.
2009-11-23 17:23:43 +01:00
Miroslav Lichvar
4097ab29c7
Don't read past buffer in find_ordered_entry_with_flags
2009-11-18 15:46:55 +01:00
Miroslav Lichvar
9c9530c688
Avoid blocking read in rtc_linux
2009-11-18 12:53:31 +01:00
Miroslav Lichvar
0a86a8dd0b
Add spaces when catenating chronyc command line arguments
2009-11-12 16:48:09 +01:00
Miroslav Lichvar
e08870c63c
Use non-zero exit code in chronyc to report errors
2009-11-12 16:43:34 +01:00
Miroslav Lichvar
6b38523c9c
Improve status checking and printing in chronyc
2009-11-12 15:36:12 +01:00
Miroslav Lichvar
77e79e8359
Check in chronyc that command in reply is same as requested
2009-11-12 15:07:36 +01:00
Miroslav Lichvar
e88af337cd
Don't set NTP source as reachable when reply doesn't have valid data
...
This fixes using uninitialized sourcestats values when selecting source.
2009-11-12 15:07:36 +01:00
Miroslav Lichvar
707b623ea8
Allow overriding system detection in configure
2009-11-12 15:07:35 +01:00
Miroslav Lichvar
9716a2ed7e
Document -4 and -6 options
2009-11-09 14:35:39 +01:00
Miroslav Lichvar
fe2cfe1fae
Support LDFLAGS and CPPFLAGS in configure
2009-11-04 15:46:58 +01:00
Jonathan Cameron
c6e2eaf7a9
Allow LDFLAGS to be used in linking
2009-11-04 15:37:32 +01:00
Miroslav Lichvar
a822bcfd67
Validate sample times received in refclock
2009-11-03 16:40:12 +01:00
Miroslav Lichvar
6640993f20
Don't forget to save last PPS sequence number
2009-11-03 16:36:02 +01:00
Miroslav Lichvar
f39dc68f84
Avoid compiler warnings in util.c on 32-bit archs
2009-10-30 11:13:08 +01:00
John G. Hasler
27cfc02468
Replaced references to sunsite with references to tuxfamily.
2009-10-29 16:14:39 -05: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
f2f592fa0d
Update documentation for refclock and IPv6 support
2009-10-28 16:53:03 +01:00
Miroslav Lichvar
465e580a39
Remove forgotten text in server directive description
2009-10-28 16:31:58 +01:00
Miroslav Lichvar
b4069a4c3b
Add PPS API refclock driver
2009-10-28 12:40:39 +01:00
Miroslav Lichvar
352f03d487
Reselect source also according to distance
...
Reselect when a source with the same stratum is available and has
significantly better distance than the current source.
2009-10-27 14:28:19 +01:00
Miroslav Lichvar
8cd9e68246
Make default refclock refid from number of the source
...
It should avoid having two or more refclocks with the same refid.
2009-10-27 14:04:59 +01:00
Miroslav Lichvar
5b4e07d658
Add refclock option for delay
...
This is useful when refclocks don't agree on time, increasing the
delay will widen the interval used in the source selection algorithm.
2009-10-27 14:02:16 +01:00
Miroslav Lichvar
48b6c2aa6b
Reduce size of NTP sources hash table
...
IPv6 addressing significantly increased size of the table,
keep only pointers to get it back.
2009-10-13 17:16:41 +02:00
Miroslav Lichvar
1570f97ee2
Include both refid and IP address in tracking and sourcestats reports
...
ref_id is not sufficient for IPv6 addresses and ref_id is needed for
reference clocks.
2009-10-13 16:16:57 +02:00
Miroslav Lichvar
fbd20c429e
Add -4 and -6 options to set address family when resolving names
2009-10-13 16:15:49 +02: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
183d56fd40
Don't use uninitialized values
...
This fixes a bunch or valgrind errors.
2009-10-13 14:43:47 +02:00
Miroslav Lichvar
d06f02be1c
Don't forget to free capability object
2009-09-21 12:47:17 +02:00