Files
chrony/test/simulation
Miroslav Lichvar bddb3b3228 sources: enable selection options with authentication
When authentication is enabled for an NTP source, unauthenticated NTP
sources need to be disabled or limited in selection. That might be
difficult to do when the configuration comes from different sources
(e.g. networking scripts adding servers from DHCP).

Define four modes for the source selection to consider authentication:
require, prefer, mix, ignore. In different modes different selection
options (require, trust, noselect) are added to authenticated and
unauthenticated sources.

The mode can be selected by the authselectmode directive. The mix mode
is the default. The ignore mode enables the old behavior, where all
sources are used exactly as specified in the configuration.
2020-05-14 15:37:38 +02:00
..
2016-08-11 10:45:48 +02:00
2016-09-06 15:48:59 +02:00
2018-09-17 18:36:22 +02:00
2019-09-02 16:32:58 +02:00
2018-08-10 16:46:38 +02:00
2019-09-24 16:39:49 +02:00
2018-08-28 18:27:43 +02:00
2020-03-12 12:09:50 +01:00
2017-08-28 14:27:14 +02:00
2020-03-05 16:02:15 +01:00
2017-08-28 14:27:14 +02:00
2018-02-16 11:09:54 +01:00
2018-03-28 16:57:48 +02:00
2018-08-09 14:52:08 +02:00
2018-08-31 12:48:36 +02:00
2019-08-06 16:11:07 +02:00
2018-08-28 18:27:43 +02:00
2019-07-18 17:29:35 +02:00
2018-09-12 19:27:48 +02:00
2018-09-17 18:36:22 +02:00
2019-09-03 12:41:01 +02:00
2019-09-12 14:51:12 +02:00
2016-02-05 15:20:40 +01:00
2017-03-31 14:53:27 +02:00

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.