diff --git a/docs/changelog.md b/docs/changelog.md index 36781e94..75f7a4dc 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -32,6 +32,16 @@ docstring gives: it is a record, not a claim about now. the cut, up to 45 seconds for it to finish, and up to 60 seconds to the next evaluation. The page then goes out with no group wait. The runbook also separates a rule that never fired from a page that was never delivered. +- **`neo`'s device-mode now switches off the RouterOS features a switch + never uses.** socks, fetch, pptp, l2tp, bandwidth-test, sniffer, ipsec, + romon, proxy, hotspot, smb, email and zerotier are off; `scheduler` stays + on for the log heartbeat. It was the last open finding of the switch + audit. The first request timed out before the button press reached it and + changed nothing; the second applied after one reboot. Home Assistant, + SNMP and the log stream were back within two minutes. + [`network.md`](network.md) lists it with the switch's other settings, and + [`swap-the-switch.md`](runbooks/swap-the-switch.md) §1.3 now sets it on a + new unit. - **Correction to the 2026-11-23 entry on `mjolnir`'s eight silent days: the card's event log gives the cause, and it is the move into the 32U rack ([#919](https://github.com/Gerrrt/HomeLab/issues/919)).** That entry said diff --git a/docs/network.md b/docs/network.md index 976d0e98..9a565278 100644 --- a/docs/network.md +++ b/docs/network.md @@ -193,6 +193,12 @@ truth for what a box actually does. `10.7.7.1`. - IPv6 is disabled on the switch (`disable-ipv6=yes`), so it has no address of either kind, link-local included. + - Device-mode switches off the RouterOS features a switch never uses, + since 2026-11-24: socks, fetch, pptp, l2tp, bandwidth-test, sniffer, + ipsec, romon, proxy, hotspot, smb, email and zerotier. `scheduler` + stays on for `log-heartbeat`. Changing device-mode takes a press of the + reset button within five minutes, so it is set at the rack; + [`swap-the-switch.md`](runbooks/swap-the-switch.md) §1.3 has the command. - Ports kept spare are disabled, so a cable pushed into one joins no VLAN until someone enables it. - Neighbour discovery (LLDP, CDP, MNDP) and MAC-WinBox are limited to the diff --git a/docs/runbooks/swap-the-switch.md b/docs/runbooks/swap-the-switch.md index a53b1638..ac3cdc63 100644 --- a/docs/runbooks/swap-the-switch.md +++ b/docs/runbooks/swap-the-switch.md @@ -146,6 +146,20 @@ reconnect with WinBox's *Neighbors* tab, by MAC: Then set a unique admin password, from the password manager, and record where it lives in [`successor-handover.md`](successor-handover.md) alongside the others. +Switch off the features a switch never uses. Keep `scheduler`, which the log +heartbeat needs, and name it: device-mode survives +`/system/reset-configuration`, so a used switch may arrive with it off, and +the update changes only what it lists: + +```text +/system/device-mode/update scheduler=yes socks=no fetch=no pptp=no l2tp=no bandwidth-test=no sniffer=no ipsec=no romon=no proxy=no hotspot=no smb=no email=no zerotier=no +``` + +The command waits for a press of the reset button, within five minutes. Tap it +with a paperclip and let go; the switch reboots and applies the change. If +the countdown reaches zero, the change is cancelled and nothing is applied. +`/system/device-mode/print` then shows each one as `no`. + ### 1.4 The certificate Issue the leaf from **the estate's CA**, not the sensitive tier's — the tier's