File: unsafe.nts.server.toml

package info (click to toggle)
rust-ntp-proto 1.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 936 kB
  • sloc: sh: 25; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 778 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[observability]
# Other values include trace, debug, warn and error
log-level = "info"
observation-path = "/var/run/ntpd-rs/observe"

# the server will get its time from the NTP pool
[[source]]
mode = "pool"
address = "pool.ntp.org"
count = 4

[[server]]
listen = "0.0.0.0:123"

# System parameters used in filtering and steering the clock:
[synchronization]
minimum-agreeing-sources = 1
single-step-panic-threshold = 10
startup-step-panic-threshold = { forward = 0, backward = 86400 }

# to function as an NTS server, we must also provide key exchange
# uses an unsecure certificate chain!
[[nts-ke-server]]
listen = "0.0.0.0:4460"
certificate-chain-path = "ntp-proto/test-keys/end.fullchain.pem"
private-key-path = "ntp-proto/test-keys/end.key"
key-exchange-timeout-ms = 1000