Discussion:
[chrony-users] Compiling chrony 4.0 with nts support on Ubuntu 18.04
Uwe Fechner
2021-04-04 20:44:38 UTC
Permalink
Dear all,

I am trying to configure chrony with nts support, but so far it doesn't work:

***@TUD277255:~/00Software/chrony-4.0$ ./configure
Configuring for Linux-x86_64
Checking for /usr/bin/gcc : Yes
Checking for hardening compiler options : Yes
Checking for -fstack-protector-strong : Yes
Checking for pkg-config : Yes
Checking for 64-bit time_t : Yes
NTP time mapped to 1971-04-17T20:28:57Z/2107-05-25T02:57:13Z
Checking for math : No
Checking for math in -lm : Yes
Checking for struct in_pktinfo : Yes
Checking for IPv6 support : Yes
Checking for struct in6_pktinfo : No
Checking for struct in6_pktinfo with _GNU_SOURCE : Yes
Checking for clock_gettime() : Yes
Checking for getaddrinfo() : Yes
Checking for pthread : Yes
Checking for arc4random_buf() : No
Checking for getrandom() : Yes
Checking for recvmmsg() : Yes
Checking for SW/HW timestamping : Yes
Checking for other timestamping options : Yes
Checking for <sys/timepps.h> : No
Checking for <timepps.h> : No
Checking for libcap : No
Checking for <linux/rtc.h> : Yes
Checking for <linux/ptp_clock.h> : Yes
Checking for pthread_setschedparam() : Yes
Checking for mlockall() : Yes
Checking for setrlimit(RLIMIT_MEMLOCK, ...) : Yes
Checking for editline : No
Checking for nettle : Yes
Checking for CMAC in nettle : No
Checking for gnutls : No
Features : +CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -NTS -READLINE +SECHASH +IPV6 -DEBUG
Creating Makefile
Creating doc/Makefile
Creating test/unit/Makefile


I already installed nettle-dev and libtomcrypt-dev, but this does not seam to be sufficient.

What else do I need to install to be able to compile chrony 4.0 with nts support?

Uwe Fechner
--
To unsubscribe email chrony-users-***@chrony.tuxfamily.org
with "unsubscribe" in the subject.
For help email chrony-users-***@chrony.tuxfamily.org
with "help" in the subject.
Trouble? Email ***@chrony.tuxfamily.org.
Vincent Blut
2021-04-04 21:16:01 UTC
Permalink
Hi,
Post by Uwe Fechner
Dear all,
Configuring for Linux-x86_64
Checking for /usr/bin/gcc : Yes
Checking for hardening compiler options : Yes
Checking for -fstack-protector-strong : Yes
Checking for pkg-config : Yes
Checking for 64-bit time_t : Yes
NTP time mapped to 1971-04-17T20:28:57Z/2107-05-25T02:57:13Z
Checking for math : No
Checking for math in -lm : Yes
Checking for struct in_pktinfo : Yes
Checking for IPv6 support : Yes
Checking for struct in6_pktinfo : No
Checking for struct in6_pktinfo with _GNU_SOURCE : Yes
Checking for clock_gettime() : Yes
Checking for getaddrinfo() : Yes
Checking for pthread : Yes
Checking for arc4random_buf() : No
Checking for getrandom() : Yes
Checking for recvmmsg() : Yes
Checking for SW/HW timestamping : Yes
Checking for other timestamping options : Yes
Checking for <sys/timepps.h> : No
Checking for <timepps.h> : No
Checking for libcap : No
Checking for <linux/rtc.h> : Yes
Checking for <linux/ptp_clock.h> : Yes
Checking for pthread_setschedparam() : Yes
Checking for mlockall() : Yes
Checking for setrlimit(RLIMIT_MEMLOCK, ...) : Yes
Checking for editline : No
Checking for nettle : Yes
Checking for CMAC in nettle : No
Checking for gnutls : No
Features : +CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SIGND +ASYNCDNS -NTS -READLINE +SECHASH +IPV6 -DEBUG
Creating Makefile
Creating doc/Makefile
Creating test/unit/Makefile
I already installed nettle-dev and libtomcrypt-dev, but this does not seam to be sufficient.
What else do I need to install to be able to compile chrony 4.0 with nts support?
You need libgnutls28-dev, but as far as I remember, the version provided in
Ubuntu 18.04 lacks support for TLS 1.3 which is required by the NTS standard.
Post by Uwe Fechner
Uwe Fechner
Cheers,
Vincent
Holger Hoffstätte
2021-04-04 21:24:07 UTC
Permalink
Post by Uwe Fechner
Dear all,
Configuring for Linux-x86_64
<snip>
Post by Uwe Fechner
Checking for nettle : Yes
Checking for CMAC in nettle : No
Checking for gnutls : No
^^^^^^^^^^^^^^^^^^^^^^^^^^^

At least according to my Gentoo build NTS needs gnutls as well,
so give that a try.

-h
--
To unsubscribe email chrony-users-***@chrony.tuxfamily.org
with "unsubscribe" in the subject.
For help email chrony-users-***@chrony.tuxfamily.org
with "help" in the subject.
Trouble? Email ***@chrony.tuxfamily.org.
Loading...