mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:45:07 -05:00
Add maxunreach option to NTP sources and refclocks to specify the maximum number of polls that the source can stay selected for synchronization when it is unreachable (i.e. no valid sample was received in the last 8 polls). It is an additional requirement to having at least one sample more recent than the oldest sample of reachable sources. The default value is 100000. Setting the option to 0 disables selection of unreachable sources, which matches RFC 5905.
This is a collection of simulation tests using the clknetsim simulator (supported on Linux only). https://github.com/mlichvar/clknetsim The CLKNETSIM_PATH environment variable should point to the directory where clknetsim was downloaded and compiled. If the variable is not set, the tests will look for clknetsim in ./clknetsim in the current directory. The tests are written in bash and they can be run directly. The ./run script runs all tests.