Releases: pendulum-project/ntpd-rs
Releases · pendulum-project/ntpd-rs
Version 1.4.0
Added
- Support for GPS based sources via a GPSd socket
- Added a setting to allow disabling of colors in our logs (
observability.ansi-colors
)
Changed
- Fallback to V4 should V5 not work for some reason (if NTPv5 is enabled)
- Make the NTP version of a source configurable
- We now support rustls from 0.21 and up, to allow compilation on more targets
Fixed
- Force sync did not work when a single source was configured
- Fix incorrect indexing in decode of ReferenceIdRequest for NTPv5 messages
Version 1.3.1
Changed
- Updated dependencies. Includes fixes for RUSTSEC-2024-0399.
Version 1.3.0
Added
- Added force-sync command to ntp-ctl to help with getting a decent initial time if the clock is far away from reality.
- Added information on NTS to the ntp-ctl status overview.
Changed
- Made the logs a little less chatty
- Updated dependencies
Fixed
- On startup, if the clock needed a jump to get in line, this could cause oscillations.
Version 1.2.3
Fixed
- Metrics exporter should wait for an actual request before sending a response
Version 1.2.2
Changed
- Updated dependencies
Fixed
- Fixed a bug in network change detection that prevented startup on FreeBSD.
- Fixed a bug in leap second flag handling where previous flags weren't explicitly unset.
- Fixed a bug that caused NTS-KE sessions from clients with a large request to hang.
- Fixed a bug that caused NTS-KE error records never to be sent.
Version 1.2.1
Note: An error was made during the build of this release that means it was built on an older commit than intended. This release is kept for posterity, but is likely not what you are looking for.
Changed
- Updated dependencies
Fixed
- Fixed a bug in network change detection that prevented startup on FreeBSD
- Fixed a bug in leap second flag handling where previous flags weren't explicitly unset.
Version 1.2.0
Added
- Pool mode sources can be set up to ignore some addresses returned by the pool
- NTP sources use a random client port for every request sent
- The metrics exporter will keep trying to startup while its network interface is not yet available
- Added option for server to only respond to NTS messages.
Changed
- Updated dependencies
- ntp-udp and ntp-os-clock were replaced by timestamped-socket and clock-steering
- Minor improvements to NTS keyset storage errors
- Loop detection is handled globally instead of per source
- The MSRV was raised to 1.70
- The metrics exporter is better able to handle multiple simultaneous connections
- Pendulum is now part of Trifecta Tech Foundation (copyright was updated)
- Large parts of the daemon code have been refactored to simplify the code
Fixed
- Metrics would not synchronize if the metrics data was too large
- ntpd-rs would ignore responses from servers implementing NTPv3
Version 1.2.0-alpha.20240628
Added
- Pool mode sources can be set up to ignore some addresses returned by the pool
- NTP sources use a random client port for every request sent
- The metrics exporter will keep trying to startup while its network interface is not yet available
Changed
- Updated dependencies
- ntp-udp and ntp-os-clock were replaced by timestamped-socket and clock-steering
- Minor improvements to NTS keyset storage errors
- Loop detection is handled globally instead of per source
- The MSRV was raised to 1.70
- The metrics exporter is better able to handle multiple simultaneous connections
- Pendulum is now part of Trifecta Tech Foundation (copyright was updated)
- Large parts of the daemon code have been refactored to simplify the code
Fixed
- Metrics would not synchronize if the metrics data was too large
- ntpd-rs would ignore responses from servers implementing NTPv3
Version 1.1.3
Note: this is a security release that fixes a potential Denial of Service when the NTS-KE server functionality is used, for more information, please read the related security advisory: GHSA-2xpx-vcmq-5f72
Fixed
- Unlimited number of NTS-KE connections could crash ntpd-rs server (CVE-2024-38528)
Version 1.1.2
Fixed
- Fixed tests in ntp-proto to also work outside the repository.