|
|
@@ -115,7 +115,7 @@ A single window for everything is the easy plan and the wrong one. **Stagger** m
|
|
|
|
|
|
The two Twingate connector droplets are a pair: either one keeps access working while the other is down. Their windows are set so the pair never reboots together: connector a reboots at 04:00 and connector b at 05:00 Eastern, and the weekly connector package update runs on Sundays half an hour after each reboot (04:30 for a, 05:30 for b) ([Droplet hardening: updates](Droplet-Hardening.md#updates), read in this repository 2026-10-22). The template comment gives the reason for using a cron entry: `cron.weekly` "would fire on both connectors at the same moment, and the whole point of two connectors is that they never restart together".
|
|
|
|
|
|
-**The plan for the edge droplets (a maintainer ruling for the DMZ draft; planned, not built).** The edge stacks are not applied and nothing in the [edge DMZ design](../superpowers/specs/2026-10-19-edge-dmz-design.md) is approved to build. The ruling is that each edge service stack gets one slot, set as a variable, in a window **before** the connectors' windows, and a test fails if any two droplets share a minute. I did not find that test in the repository; it is part of the plan. The design itself says the edge host's reboot window must not collide with the connectors' ("a reboot window that does not collide with the connectors'").
|
|
|
+**The plan for the edge droplets (a maintainer ruling for the DMZ draft; planned, not built).** The edge stacks are not applied and nothing in the [edge DMZ design](../superpowers/specs/2026-10-19-edge-dmz-design.md) is approved to build. The ruling (made 2026-10-22, recorded in the design's section 4.4.1 on 2026-10-23), is that each edge droplet gets its own reboot slot, set as a variable, between 01:00 and 03:00 Eastern, which is before the connectors' 04:00 and 05:00, and that no two droplets share a minute. The test that fails on a shared minute is part of the plan; I did not find it in the repository. The design itself says the edge host's reboot window must not collide with the connectors' ("a reboot window that does not collide with the connectors'").
|
|
|
|
|
|
### The enterprise version: groups, rings and waves
|
|
|
|
|
|
@@ -172,9 +172,10 @@ The risk of *not* updating is real as well: the October 2026 flaws are critical
|
|
|
Read these in the repository; I read them on 2026-10-22.
|
|
|
|
|
|
- **Step 1 is in cloud-init.** `modules/twingate-bootstrap/cloud-init.yaml.tftpl` sets `package_update: true` and `package_upgrade: true` (update everything at first boot), installs `unattended-upgrades`, writes `/etc/apt/apt.conf.d/20auto-upgrades` (daily list refresh and daily unattended run) and an override file that allows only the release security origins (and the ESM security origins), removes unused dependencies and reboots at a set time. **Cloud-init** is the first-boot configuration that runs once when a cloud machine starts. The connector software comes from a third-party repository, so it is not in the allowed origins; the template adds a weekly `cron.d` entry that updates just that package and restarts its service. The template's comments say the first boot "races Ubuntu's own apt-daily and unattended-upgrades for the dpkg lock", so the install waits for it ([stage 1 guide](../stages/01-access.md)).
|
|
|
-- **The order inside the file** is: update, install the unattended-upgrades package, write the hardening (sshd, sysctl, firewall) and install the connector last. That matches steps 1, 3 and 4.
|
|
|
-- **Step 2 is not built.** The template does not record a baseline at first boot. Issue #232's second "done when" item (the stage guides and templates state the same order, with a test) is not done by this page. A baseline hook in cloud-init would be new code and needs its own approval.
|
|
|
-- **Edge droplets install no service until its own stack is built and approved** (maintainer ruling). The edge design ([edge DMZ design](../superpowers/specs/2026-10-19-edge-dmz-design.md), a draft, nothing in it approved to build or spend) says the host's software is pinned by version and checksum, "current releases only", that operating system packages come through unattended upgrades, and that the host is rebuilt on a schedule "because the host cannot be patched by hand". That is the order applied to a service host: the host is patched and baselined first; each service arrives later through its own stack, with a version read from that project's releases page and not `latest`. A template test that fails on an unpinned package name is listed in the design as the check; I did not check whether it exists.
|
|
|
+- **The order inside the file.** Cloud-init runs its modules in its own order, not file order: `write_files` places the files first, the package update and upgrade run next, and `runcmd` switches the hardening on and then installs the connector last. So nothing is active before the update, and the hardening is on before the connector arrives. That matches steps 1, 3 and 4.
|
|
|
+- **The same sentence is in every place that describes it.** The [stage 1 guide](../stages/01-access.md#2a-droplet-hardening), the [AWS access guide](../stages/aws-access.md), the [telemetry guide](../stages/02-telemetry.md) and the edge design all say "update, baseline, harden, then applications". The template itself does not say it in a comment: any text added to it changes the rendered user-data, and a golden-hash test pins the live connectors' user-data byte for byte (a change would replace the droplets), so a comment waits for the next deliberate template change. `tests/test_update_order_pinned.py` fails if a guide stops saying it or if the template's real structure (update before the connector install, hardening before the connector install) changes.
|
|
|
+- **Step 2 is not automated.** The template does not record a baseline at first boot. You take it by hand right after first boot, with the script in Exercise 3. A baseline hook in cloud-init would be new code and needs its own approval.
|
|
|
+- **Edge droplets install no service until its own stack is built and approved** (maintainer ruling of 2026-10-22, recorded in section 4.4.1 of the design on 2026-10-23). The edge design ([edge DMZ design](../superpowers/specs/2026-10-19-edge-dmz-design.md), a draft, nothing in it approved to build or spend) says the host's software is pinned by version and checksum, "current releases only", that operating system packages come through unattended upgrades, and that the host is rebuilt on a schedule "because the host cannot be patched by hand". That is the order applied to a service host: the host is patched and baselined first; each service arrives later through its own stack, with a version read from that project's releases page and not `latest`. A template test that fails on an unpinned package name is listed in the design as the check; `modules/edge-host` does not exist yet (checked 2026-10-23), so neither does the test.
|
|
|
- **Containers.** Nothing in the current stacks runs a container ([Backups, recovery and patching](Backups-Recovery-and-Patching.md)); the container row above is about stage 3 and your own machines.
|
|
|
|
|
|
## Free path: a lab with nothing to lose
|
|
|
@@ -588,7 +589,9 @@ All read-only requests; retrieved **2026-10-22**. "Read" means I read the passag
|
|
|
| Edge design: pinned by version and checksum, unattended upgrades, scheduled rebuild, a test for unpinned packages | [edge DMZ design](../superpowers/specs/2026-10-19-edge-dmz-design.md) | Read; it is a draft and the test's existence is **not verified** |
|
|
|
| Baseline script and drift demo output | Exercise 3 | **Observed** 2026-10-22, Ubuntu 24.04 container, rootless Podman, no network |
|
|
|
| Connector a reboots 04:00, b 05:00; weekly connector update Sundays 04:30 and 05:30; `cron.weekly` would fire on both at once | [Droplet hardening: updates](Droplet-Hardening.md#updates), `modules/twingate-bootstrap/cloud-init.yaml.tftpl` comment | Read in this repository |
|
|
|
-| Edge droplets: one slot per edge service stack, a variable, before the connectors' windows, a test that no two droplets share a minute | Maintainer ruling 2026-10-22 as given to me; [edge DMZ design](../superpowers/specs/2026-10-19-edge-dmz-design.md) says the reboot window must not collide with the connectors' | Plan only; the test and the variable are **not built and not found in the repository** |
|
|
|
+| Edge droplets: each gets its own reboot slot between 01:00 and 03:00 Eastern, set as a variable, before the connectors' 04:00 and 05:00; no two share a minute; no service installed until its own stack is built and approved; exact version pins from each project's releases | Maintainer ruling 2026-10-22 as given to me, recorded in section 4.4.1 of the [edge DMZ design](../superpowers/specs/2026-10-19-edge-dmz-design.md) on 2026-10-23 | Plan only; the edge module, the variable and the collision test are **not built** (`modules/edge-host` does not exist, checked 2026-10-23); the design names no version because none was read |
|
|
|
+| The order (update, baseline, harden, then applications) is stated in the stage 1, AWS access and telemetry guides and the edge design, and a test pins it and the template's real structure; the template carries no comment about it (it would change the pinned user-data) | `tests/test_update_order_pinned.py` | Written and run 2026-10-23 |
|
|
|
+| PHP security releases and the two CVE ids above still read as written | [php.net](https://www.php.net/) fetched again 2026-10-23: front page shows 8.5.12, CVE-2026-109618 and CVE-2026-109619 and the "updating is the only safe choice" line; the first advisory URL returned HTTP 200 | Re-read |
|
|
|
| Autopatch groups; Test and Last rings present by default | [Autopatch groups overview](https://learn.microsoft.com/en-us/windows/deployment/windows-autopatch/deploy/windows-autopatch-groups-overview) | Read in part |
|
|
|
| Intune update rings: deferrals, restarts, deadlines; commonly used for test, pilot, production stages | [Intune update rings](https://learn.microsoft.com/en-us/mem/intune/protect/windows-10-update-rings) | Read in part |
|
|
|
| WSUS computer groups | Microsoft page (404 on the URL tried) | **Not read (est.)** |
|