Repository navigation
docs(sensor): keep fenrir's capture NIC silent while it boots - #1553
Merged
Merged
Conversation
A capture on tap190i1 across a reboot found the nine frames ens19 sends at every boot: a DHCPv4 Discover with the MAC and hostname, IPv6 DAD and MLD reports from dracut's zzzz-dracut-default.network in the initramfs, and three more MLD reports after switch-root before netplan's link-local: [] applies. Runbook §3 now omits networking from the initramfs (dracut's own no-network line) and sets disable_ipv6 on ens19 through sysctl.d, with the capture and tx_packets at 0 as the proof. The changelog entry corrects the 2026-10-01 account of those packets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
The runbook may validate the wrong kernel’s initramfs and relies on recovery options that may be unavailable: a previous bootable kernel and a configured serial console.
3 open issues
What changed in this PR
This docs-only PR adds boot-time hardening instructions for fenrir’s capture NIC so it remains receive-only before netplan takes effect. The procedure has not yet been applied on fenrir.
Changes:
- Document disabling initramfs networking and IPv6 on
ens19. - Add image inspection, console recovery, and reboot-capture verification steps.
- Record the observed boot traffic and correct the earlier changelog explanation.
| File | Description |
|---|---|
docs/runbooks/build-the-sensor-guest.md |
Adds boot-silencing configuration, recovery guidance, and verification steps. |
docs/changelog.md |
Records the boot-traffic findings and corrects the 2026-10-01 account. |
Review effort: Balanced
Review on #1553. Rebuild and inspect the running kernel's image by version, after a pending reboot, so the image checked is the one that boots. Copy that image first and boot the copy from GRUB if the new one fails, which needs no second kernel. Recovery goes through VM 190's web console: the VM has no serial port, so qm terminal cannot reach GRUB. The sshd step's fallback said qm terminal too, and now says the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nsor-silence-ens19-at-boot-fix # Conflicts: # docs/changelog.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
build-the-sensor-guest.md§3 gets a new step, Keepens19silent while it boots, too:/etc/dracut.conf.d/10-homelab-no-network.confleaves networking out of the initramfs. Its line is the same one dracut's ownno-networkprofile uses./etc/sysctl.d/60-capture-nic.confsetsnet.ipv6.conf.ens19.disable_ipv6 = 1.update-initramfs -u -k "$(uname -r)"then rebuilds it, andlsinitrd -mchecks that same image to confirm networking is gone.tap190i1across a reboot, plustx_packetsreading 0.The PR also adds a 2026-11-17 changelog entry. It corrects the 2026-10-01 entry's account of the nine packets
ens19sends at boot. This PR changes docs only. The step has not been applied onfenriryet.Why
This is finding 8 of the 2026-11-13 audit of
fenrir. The NIC is meant to listen and never speak, yet it had sent 9 packets since boot. On 2026-11-17, a capture ontap190i1fromSarumanduring a reboot found 9 frames again, in two windows:zzzz-dracut-default.networksent a DHCPv4 Discover carrying the MAC and the hostnamefenrir, plus IPv6 duplicate-address detection and multicast listener reports. It also took a pool lease forens18(10.0.30.116) before the static.90applied.link-local: []removed the address.The root disk is local, so the initramfs needs no network. Per-interface sysctls are applied by udev (
99-systemd.rules) as the interface appears, which is before networkd brings it up.Blast radius
Docs only. Once applied,
fenrir's initramfs has no networking andens19has no IPv6.The capture itself is unaffected: Zeek reads raw frames in promiscuous mode.
ens18keeps its static address from netplan in the real system.The risk is an image that doesn't boot. The step copies the running kernel's image first. The way back is to boot that copy from GRUB, through VM 190's console in the Proxmox web UI. The VM has no serial port, so
qm terminalcan't be used.No change to network segmentation or firewall rules
No new port published to a VLAN that could not already reach the service
No credential added outside
secrets/*.sops.yamlVerification
On
fenrir, after the 2026-11-17 reboot (read-only):ens19: Configuring with /run/systemd/network/zzzz-dracut-default.networkat 3.4 s, andens18: DHCPv4 address 10.0.30.116/24at 3.44 s.ens19: Gained IPv6LL, thenLost IPv6LLat 9.61 s.tx_packetsis 9./usr/lib/dracut/dracut.conf.d/no-network/10-no-network.confholds theomit_dracutmodulesline used here.On
Saruman,tcpdump -Q inontap190i1across the reboot captured the 9 frames described above.python3 scripts/check_docs.pypasses ("docs OK — 164 Prometheus + 21 Loki rules, 8 dashboards, 156 panels, 14 assertions")../scripts/lint.shpasses, with 4 checks skipped and so not run: yamllint, ruff ×2 and ansible-lint, because pipx is not onfenrir. CI runs them.scripts/check_close_keywords.pyon this body: passes.make validatewas not run. This is a docs-only change, so per CLAUDE.md the two checks above are the minimum.Not checked: whether the other 26.04 lab guests also take an
ens18pool lease at boot.make validatepassesDeployed to the lab and confirmed working. Not yet: the step still has to be applied on
fenrir, then a reboot under capture must show 0 frames.Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code