Sortix cisortix manual
This manual documents Sortix cisortix. You can instead view this document in the latest official manual.
NAME
ntpd.conf — Network Time Protocol daemon configuration fileDESCRIPTION
This manual page describes the format of the ntpd(8) configuration file.- listen on address [rtable table-id]
-
ntpd(8) has the ability to sync the local clock to remote NTP servers and, if this directive is specified, can act as NTP server itself, redistributing the local clock.
listen on *
listen on 127.0.0.1 listen on ::1 listen on 127.0.0.1 rtable 4
- sensor device [correction microseconds] [weight weight-value] [refid string] [stratum stratum-value]
-
Specify a timedelta sensor device ntpd(8) should use, if the operating system supports sensors. The sensor can be specified multiple times: ntpd(8) will use each given sensor that actually exists. Non-existent sensors are ignored. If ‘*’ is given as device name, ntpd(8) will use all timedelta sensors it finds. ntpd(8) does not use any timedelta sensor by default. For example:
sensor * sensor nmea0
sensor udcf0 correction 70000
sensor nmea0 refid GPS
- server address [weight weight-value]
-
Specify the IP address or the hostname of an NTP server to synchronize to. If it appears multiple times, ntpd(8) will try to synchronize to all of the servers specified. If a hostname resolves to multiple IPv4 and/or IPv6 addresses, ntpd(8) uses the first address. If it does not get a reply, ntpd(8) retries with the next address and continues to do so until a working address is found. For example:
server 10.0.0.2 weight 5 server ntp.example.org weight 1
- servers address [weight weight-value]
-
As with server, specify the IP address or hostname of an NTP server to synchronize to. If it appears multiple times, ntpd(8) will try to synchronize to all of the servers specified. Should the hostname resolve to multiple IP addresses, ntpd(8) will try to synchronize to all of them. For example:
servers pool.ntp.org servers pool.ntp.org weight 5
CONSTRAINTS
ntpd(8) can be configured to query the ‘Date’ from trusted HTTPS servers via TLS. This time information is not used for precision but acts as an authenticated constraint, thereby reducing the impact of unauthenticated NTP man-in-the-middle attacks. Received NTP packets with time information falling outside of a range near the constraint will be discarded and such NTP servers will be marked as invalid. Contraints are only available if ntpd(8) has been compiled with libtls support. Configuring a constraint without libtls support will result in a fatal error.- constraint from url
-
Specify the URL, IP address or the hostname of an HTTPS server to provide a constraint. If constraint from is used more than once, ntpd(8) will calculate a median constraint from all the servers specified.
server ntp.example.org constraint from www.example.com
- constraints from url
-
As with constraint from, specify the URL, IP address or the hostname of an HTTPS server to provide a constraint. Should the hostname resolve to multiple IP addresses, ntpd(8) will calculate a median constraint from all of them. For example:
servers pool.ntp.org constraints from "https://www.google.com/"