From f383d1c38378ad28ad3ba8ae05a26ec06094c3c8 Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Tue, 24 Nov 2026 03:43:35 +0000 Subject: [PATCH 1/2] docs(network): neo's device-mode, and setting it on a new unit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The last finding of the switch audit, applied on 2026-11-24: device-mode switches off the RouterOS features a switch never uses, keeping scheduler for the log heartbeat. network.md lists it with the switch's other settings, and swap-the-switch.md §1.3 sets it on a new unit. Co-Authored-By: Claude Opus 5.5 --- docs/changelog.md | 10 ++++++++++ docs/network.md | 6 ++++++ docs/runbooks/swap-the-switch.md | 12 ++++++++++++ 3 files changed, 28 insertions(+) diff --git a/docs/changelog.md b/docs/changelog.md index 36781e945..75f7a4dca 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 976d0e982..9a565278d 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 a53b16383..e102265a8 100644 --- a/docs/runbooks/swap-the-switch.md +++ b/docs/runbooks/swap-the-switch.md @@ -146,6 +146,18 @@ 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: + +```text +/system/device-mode/update 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 From 09eb821faa12a61dba8a5e8d5cb02fff0a6f4edf Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Tue, 24 Nov 2026 04:49:12 +0000 Subject: [PATCH 2/2] docs(runbooks): name scheduler=yes in the device-mode update Device-mode survives a configuration reset, so a used switch can arrive with the scheduler off, and the update changes only the features it lists. Co-Authored-By: Claude Opus 5.5 --- docs/runbooks/swap-the-switch.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/runbooks/swap-the-switch.md b/docs/runbooks/swap-the-switch.md index e102265a8..ac3cdc637 100644 --- a/docs/runbooks/swap-the-switch.md +++ b/docs/runbooks/swap-the-switch.md @@ -147,10 +147,12 @@ 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: +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 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 +/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