Systems & Utilities
systemd-http-time-sync
Automated Linux systemd service and Bash utility that syncs system clocks via HTTP Date headers on networks blocking NTP.
BashsystemdLinuxHTTP
Overview
The Problem
Networks blocking UDP port 123 break standard NTP daemons, causing SSL/TLS certificate errors and dual-boot clock drift.
The Solution
Wrote a lightweight Bash script paired with a systemd service that reads HTTP Date headers from reliable endpoints and sets the system clock.
Key Engineering Highlights
- Runs automatically on network-online.target via systemd.
- Zero external dependencies beyond standard curl and GNU coreutils.