mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
sources: add require option
Require that at least one of the sources specified with this option is selectable (i.e. recently reachable and not a falseticker) before updating the clock. Together with the trust option this may be useful to allow a trusted, but not very precise, reference clock or a trusted authenticated NTP source to be safely combined with unauthenticated NTP sources in order to improve the accuracy of the clock. They can be selected and used for synchronization only if they agree with the trusted and required source.
This commit is contained in:
@@ -67,5 +67,6 @@ typedef struct {
|
||||
#define SRC_SELECT_NOSELECT 0x1
|
||||
#define SRC_SELECT_PREFER 0x2
|
||||
#define SRC_SELECT_TRUST 0x4
|
||||
#define SRC_SELECT_REQUIRE 0x8
|
||||
|
||||
#endif /* GOT_SRCPARAMS_H */
|
||||
|
||||
Reference in New Issue
Block a user