freebsd-dev/contrib/ntp/util
Cy Schubert 767173cec2 MFV r362565:
Update 4.2.8p14 --> 4.2.8p15

Summary: Systems that use a CMAC algorithm in ntp.keys will not release
a bit of memory on each packet that uses a CMAC keyid, eventually causing
ntpd to run out of memory and fail. The CMAC cleanup from
https://bugs.ntp.org/3447, part of ntp-4.2.8p11, introduced a bug whereby
the CMAC data structure was no longer completely removed.

MFC after:	3 days
Security:	NTP Bug 3661
2020-06-24 01:51:05 +00:00
..
audio-pcm.c
byteorder.c
hist.c
invoke-ntp-keygen.menu
invoke-ntp-keygen.texi MFV r362565: 2020-06-24 01:51:05 +00:00
jitter.c
kern.c
longsize.c
Makefile.am MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
Makefile.in MFV r344878: 2019-03-07 13:36:00 +00:00
ntp-keygen-opts.c MFV r362565: 2020-06-24 01:51:05 +00:00
ntp-keygen-opts.def MFV r338092: ntp 4.2.8p12. 2018-08-21 02:38:07 +00:00
ntp-keygen-opts.h MFV r362565: 2020-06-24 01:51:05 +00:00
ntp-keygen.1ntp-keygenman MFV r362565: 2020-06-24 01:51:05 +00:00
ntp-keygen.1ntp-keygenmdoc MFV r362565: 2020-06-24 01:51:05 +00:00
ntp-keygen.c MFV r315791: ntp 4.2.8p10. 2017-03-23 22:06:06 +00:00
ntp-keygen.html MFV r362565: 2020-06-24 01:51:05 +00:00
ntp-keygen.man.in MFV r362565: 2020-06-24 01:51:05 +00:00
ntp-keygen.mdoc.in MFV r362565: 2020-06-24 01:51:05 +00:00
ntp-keygen.texi MFV r338092: ntp 4.2.8p12. 2018-08-21 02:38:07 +00:00
ntptime.c MFV r358616: 2020-03-04 21:45:12 +00:00
pps-api.c
precision.c
README
sht.c MFV r338092: ntp 4.2.8p12. 2018-08-21 02:38:07 +00:00
testrs6000.c
tg2.c
tg.c
tickadj.c
timetrim.c

README file for directory ./util of the NTP Version 4 distribution

This directory contains the sources for the various utility programs.
See the README and RELNOTES files in the parent directory for directions
on how to make and install these programs.

The ntptime.c program checks the kernel configuration for the NTP user
interface syscalls ntp_gettime() and ntp_adjtime().  If present, the
current timekeeping data are displayed.  If not, a dissapointment is
displayed.  See the kernel page file in the HTML documentation in
distribution for further details. ntptime will be built be if configure
believes your system can use it.

The jitter.c program can be used to determine the timing jitter due to
the operating system in a gettimeofday() call.  For most systems the
dominant contribution to the jitter budget is the period of the hardware
interrupt, usually in the range 10 us-1 ms.  For those systems with
microsecond counters, such as recent Sun and certain HP and DEC systems,
the jitter is dominated only by the operating system.

The timetrim.c program can be used with SGI machines to implement a
scheme to discipline the hardware clock frequency.  See the source code
for further information.

The byteorder.c and longsize.c programs are used during the configuration
process to determine the byte order (little or big endian) and longword
size (32 or 64 bits).  See the configure scripts for further details.

The testrs6000.c program is used for testing purposes with the IBM
RS/6000 AIX machines. Bill Jones <jones@chpc.utexas.edu> reports:
"I could not get a tickadj of less than 40 us to work on a RS6000.
If you set it less than 40 us do so at your own risk!"

The tickadj.c program can be used to read and set various kernel
parameters affecting NTP operations. See the tickadj page in the HTML
documentation for further details.  tickadj will be built if configure
believes your system can use it.

tg.c and tg2.c are tone generators.  They make audio signals
that emulate WWV or IRIG (-B and -E).  tg runs on Solaris.
tg2 is a clone that runs on Linux, FreeBSD, and NetBSD.
Read the source for the fine print.  tg2 has a help option
available via -h.