Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Increase post-update check timeout to 10 minutesHEADmain | Himbeer | 2025-03-27 | 1 | -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 reboot | Himbeer | 2025-03-25 | 3 | -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 minutes | Himbeer | 2025-03-24 | 1 | -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 errors | Himbeer | 2025-03-24 | 1 | -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 check | Himbeer | 2025-03-24 | 1 | -4/+6 |
| | |||||
* | Add missing double-linefeed to HTTP request | Himbeer | 2025-03-24 | 1 | -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 endpoint | Himbeer | 2025-03-24 | 1 | -0/+4 |
| | |||||
* | Set read/write timeouts on TcpStreams | Himbeer | 2025-03-24 | 1 | -0/+10 |
| | | | | | This prevents indefinite blocking and ensures that timeout conditions get detected. | ||||
* | Print rollback reason | Himbeer | 2025-03-24 | 1 | -0/+7 |
| | |||||
* | Catch inbound request handling errors gracefully | Himbeer | 2025-03-24 | 1 | -2/+8 |
| | |||||
* | Use IP addresses for connectivity check endpoints | Himbeer | 2025-03-24 | 1 | -2/+2 |
| | | | | Rust does not support hostname resolution, nor does rsdsl. | ||||
* | Implement health check and automated rollback decision logic | Himbeer | 2025-03-24 | 1 | -1/+238 |
| | |||||
* | Add logic summary | Himbeer | 2025-03-21 | 1 | -0/+20 |
| | |||||
* | Initial commit | Himbeer | 2025-03-21 | 6 | -0/+254 |