aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Increase post-update check timeout to 10 minutesHEADmainHimbeer2025-03-271-1/+1
| | | | | | A 5 minute timeout may not be enough for dynamic DNS updates to propagate. This commit is intended to reduce the risk of false positives.
* Implement rollback and rebootHimbeer2025-03-253-3/+457
| | | | | | This is a copy of the logic from rustkrazy_admind (to prevent a high amount of dependencies for an HTTPS client). Signals cannot be used without losing the ability to handle errors.
* Slow monitoring interval to 10 minutesHimbeer2025-03-241-1/+1
| | | | | This should eliminate some unnecessary traffic while still allowing long-term connectivity issues to be detected within close to one hour.
* Ignore TcpStream::shutdown errorsHimbeer2025-03-241-2/+2
| | | | | Forcibly closing connections when they go out of scope is sufficient. Shutdown failures should not result in crashes.
* Fix infinite loop on failed connectivity checkHimbeer2025-03-241-4/+6
|
* Add missing double-linefeed to HTTP requestHimbeer2025-03-241-2/+4
| | | | | This is needed for the request to be processed correctly. Additionally, errors no longer cause a crash.
* Log successful requests to inbound reachability check endpointHimbeer2025-03-241-0/+4
|
* Set read/write timeouts on TcpStreamsHimbeer2025-03-241-0/+10
| | | | | This prevents indefinite blocking and ensures that timeout conditions get detected.
* Print rollback reasonHimbeer2025-03-241-0/+7
|
* Catch inbound request handling errors gracefullyHimbeer2025-03-241-2/+8
|
* Use IP addresses for connectivity check endpointsHimbeer2025-03-241-2/+2
| | | | Rust does not support hostname resolution, nor does rsdsl.
* Implement health check and automated rollback decision logicHimbeer2025-03-241-1/+238
|
* Add logic summaryHimbeer2025-03-211-0/+20
|
* Initial commitHimbeer2025-03-216-0/+254