Files
cfal 79cfce6ac0 Add opt-in NTP application clock correction (#270)
Add optional NTP synchronization for hosts where shoes cannot set the system clock. Share the corrected time across REALITY, VMess, Shadowsocks 2022, and TLS certificate validation, using protected direct UDP with bounded synchronization, periodic refresh, and reload-safe ownership. Preserve timestamp windows and replay protection, retain the last correction on refresh failure, and document configuration and clock limitations.
2026-11-03 21:50:41 +08:00

13 lines
339 B
YAML

# Opt-in application time correction; never changes the host clock.
# NTP is unauthenticated. Use a trusted server; an IP avoids bootstrap DNS.
- global_settings:
ntp:
server: time.cloudflare.com:123
interval_secs: 1800
timeout_secs: 5
- address: 127.0.0.1:1080
protocol:
type: socks
rules: allow-all-direct