HTX-TEK Engineering Blog

What broke, what I changed and what I'd do differently, newest first.

Filter:

The HTX-TEK Engineering Blog is where I write up my homelab in Houston as I build it: Proxmox clustering, infrastructure as code, AI agents that review each other’s code, security for the lab itself, and the incidents along the way. Posts are listed newest first, with what broke, what I changed and what I’d do differently. See the archive by year and month or subscribe by RSS.

November 2026

Infrastructure & Reliability 3 min read

Swap at 99.9% With Half the RAM Free: Add Headroom, Then Ask Why

A hypervisor reported swap almost completely full while RAM was only half used. We checked the swap layout read-only first, then added a 16 GiB swapfile with correct permissions and a persistent fstab entry. The deeper question, why it was swapping at all, stays open.

#Proxmox#Linux#Memory
Read
Systems Design 3 min read

Security Headers on a Public Edge, and the CSP Trade-Off We Kept

A header check on our own public site showed no CSP, HSTS, frame, nosniff, referrer or permissions policies. We added one reviewed block in the edge proxy, with analytics origins allowed, and recorded the unsafe-inline trade-off we are still carrying.

#Caddy#CSP#HSTS
Read
Engineering Field Notes 3 min read

A Black Panel After Wake: Discrete GPU Mode and a Driver Fix

A Kali laptop woke to a backlit panel with no pixels, even on the text consoles. We reproduced it on two kernels, ruled out a kernel regression and a suspend bug, formed a GPU-mode hypothesis, and ended up fixing it with the proprietary driver.

#Linux#NVIDIA#Debugging
Read
Infrastructure & Reliability 3 min read

A Rotating Off-Site Backup on a Single USB Slot

Two bus-powered 4 TB drives could not be powered on the second backup server. We designed a one-slot monthly rotation with encrypted removable datastores, then moved the slot into a dedicated VM after the USB controller on the first server died mid-write.

#Backups#ProxmoxBackupServer#LUKS
Read
Infrastructure & Reliability 3 min read

An Early-Warning Disk Alert That Can't Double-Fire

The log collector's small disk went from comfortable to 96% in hours, and the existing alert only fired with about 600 MB left. A second rule watches a 10-15% free band so the two alerts never overlap, and we proved its logic by shifting the band against live data.

#Grafana#Alerting#Prometheus
Read
Infrastructure & Reliability 3 min read

An Unreachable Log Collector, an Uncapped Queue and a Database Down

A missing firewall rule left one host unable to reach the log collector for five weeks. Its rsyslog forwarding queue was uncapped and grew to 23 GB, filled the root disk and took the database down. The fix is four lines of queue limits.

#rsyslog#Incident#Disk
Read
Cyber 4 min read

Why We Built a Visualizer to Watch an Attack Unfold

Reading about lateral movement is not the same as watching it stop at a boundary. We restored our attack-replay visualizer as an interactive training module.

#Cyber#Training#Visualization
Read
Cyber 6 min read

Purple Teaming Our Own Homelab: Proving the Defenses Work

Finding holes is half the job. We are designing a repeatable exercise, run by hand against a disposable target, that checks what the defenses saw, checks what the defenses saw, fixes the gap and runs it again.

#Cyber#PurpleTeam#MITREATTACK
Read
AI Development 6 min read

Automated Remediation With a 180-Second Human Window

An early design experiment: findings go to chat, a person gets 180 seconds to stop or reply, then the system backs up, remediates and verifies. Later superseded by a fail-closed rule: silence is not consent, and nothing runs without explicit human approval.

#Hydra#SelfHealing#ADR
Read
Incident Review 6 min read

When the Database Filled the Disk: An Incident Write-Up

A time-series database exhausted its disk and went down. What we did, what we deleted, why it was safe, and what we changed.

#Incident#TimescaleDB#Retention
Read
AI Development 4 min read

Stale Docs Are Bugs: When Our Rules Told Agents a Human Was Blocking

Our written rules still said merges needed a person, long after the pipeline had been given that authority. Agents obeyed the docs and reported false blockers.

#AI-Logos#Documentation#Governance
Read
AI Development 5 min read

Fail Closed, Never Quietly Partial

A reviewer read 23,000 characters of a 234,000-character prompt and said 'incomplete', and our pipeline counted that as a finished review. How we closed the gap.

#AI-Logos#Reliability#FailClosed
Read
AI Development 4 min read

A Working Directory That Cost Us 20x the Tokens

A one-word test prompt cost 329,000 input tokens from the repository folder and 15,000 from an empty one. The difference was files the agent loaded on its own.

#AI-Logos#Tokens#Grok
Read

October 2026

Infrastructure 6 min read

Extending the Lab to a Hardened Cloud Edge

Adding a cloud VPS as the public reverse-proxy front door while management, data and secrets stay inside the lab.

#VPS#SelfHosting#ReverseProxy
Read
AI Development 5 min read

A Human-Gated Queue: Skip, Park, Keep Moving

When a task needs a person, the pipeline now parks it in a separate non-urgent list and carries on, so one waiting decision no longer freezes everything behind it.

#AI-Logos#DevHub#Workflow
Read
Security Engineering 7 min read

Zero Trust Before Going Public: Tag-Based Access and Tiered Vaults

Replacing open subnet routing with tag-based default-deny access and building a multi-tier recovery plan for fleet secrets.

#ZeroTrust#Tailscale#Secrets
Read
AI Development 5 min read

One Improvement Per Cycle: The Rule That Keeps the Pipeline Improving

Every reviewer must leave one concrete improvement with each review. A small rule that turned a review loop into a continuous-improvement loop.

#AI-Logos#ContinuousImprovement#PeerReview
Read
AI Development 5 min read

Measuring Two AI Authors Over One Night

We compared two agents as lead author over an overnight burndown. Raw totals favored one, the per-hour rate favored the other, and the honest answer was 'it depends what you count'.

#AI-Logos#Metrics#Gemini
Read
Engineering Field Notes 3 min read

Voice Assistant Dropouts, and Tuning for the Far Side of the Bed

A voice unit dropped off the network eighteen times in fourteen hours. Pings showed real outages, not a stale connection, and firmware was ruled out. We also tuned wake-word sensitivity for a bedroom, within the narrow set of controls the firmware exposes.

#HomeAssistant#Voice#WiFi
Read
Infrastructure & Reliability 3 min read

Updating Home Assistant One Piece at a Time, With a Health Check After Each

We updated Core, the OS and three add-ons in sequence, probing the voice satellites, the streaming boxes and a camera after every step. We left two updates on purpose, and a plan that claimed there were no local backups turned out to be wrong.

#HomeAssistant#Updates#Backups
Read
Historical Retrospectives 6 min read

When VM Backups Fail Silently: Proxmox Storage Lock Repair and PBS Datastore Rebuilds

A stale snapshot lock caused our core virtual machine backups to silently stall for weeks while hypervisor dashboards showed green. Here is how we cleared the ZFS lock and built destination-side verification.

#Proxmox#PBS#DisasterRecovery
Read
Infrastructure & Reliability 3 min read

Rebuilding a Corrupted USB ZFS Mirror as Plain ext4

After weeks of silent corruption, checksum errors on both drives and I/O hangs, we destroyed the USB ZFS mirror and rebuilt the datastores as plain ext4 on by-id paths, with fstab options that make a missing drive visible instead of silent.

#Backups#ZFS#ext4
Read
Systems Design 3 min read

Planning a Frigate Upgrade Off 0.14: What We Verified First

Before upgrading our NVR from 0.14.1, we wrote a plan that marked every claim as verified, inferred or to-check, and corrected two wrong assumptions about backups and the latest release. Nothing in the plan was executed.

#Frigate#Planning#Change Management
Read
AI Development 6 min read

Capacity as a Scheduling Input: Limits, Floors and Fallbacks

Paid AI tools have rolling usage limits. We made remaining capacity a first-class input to the scheduler, and learned what happens when every reviewer is unavailable at once.

#AI-Logos#Scheduling#UsageLimits
Read
Engineering Field Notes 3 min read

'Turn On the Living Room TV': The Voice Assistant Said Done and Nothing Happened

A Voice Preview Edition answered 'turned on the media player' and the TV stayed off. The assistant was resolving the command to the wrong entity, one that cannot wake an LG from standby over Wi-Fi. Aliases and a smaller exposure list fixed it.

#HomeAssistant#Voice#Assist
Read
Engineering Field Notes 3 min read

Frigate PTZ and the 'Wsse authorized time check failed' Error

New PTZ cameras streamed fine but Frigate could not control them. Factory-default clocks were set to the wrong time zone, so ONVIF authentication failed on a timestamp check. Fixing the clock was not enough: Frigate caches the offset until it restarts.

#Frigate#ONVIF#Cameras
Read
Infrastructure & Reliability 5 min read

The e1000e NIC Unit Hang: Diagnosing DMA Ring Stalls and TCP Offload Lockups in Proxmox

Under high virtualization throughput, our hypervisor's Intel Gigabit NIC silently locked up, logging thousands of unit hang errors while the kernel stayed alive. Disabling segmentation offloads cured the ring stall.

#Proxmox#LinuxKernel#Networking
Read
Infrastructure & Reliability 3 min read

A Dedicated Frigate Recording Volume, and the Config Key That Crash-Looped It

The USB drive failed again under a fresh cable and port, so recordings moved to a dedicated 100 GB thin volume that is excluded from backups. A config key from a newer Frigate release then crash-looped the older version for ninety seconds.

#Frigate#Proxmox#LVM
Read
AI Development 7 min read

Reviews, Not Chat History, Were the Token Bill

We first trimmed how much GitHub and Mattermost context each agent read, then measured and found the real cost driver was something else. Here is what we changed.

#AI-Logos#Tokens#CostControl
Read
AI Development 5 min read

Triaging 360 AI Suggestions, With Evidence

Required improvements produced a backlog of about 360 suggestions. We ranked them, checked the oldest against the code, and found most were not what they first looked like.

#AI-Logos#Triage#Backlog
Read
AI Development 5 min read

The Human in the Loop Was the Bottleneck

Our review pipeline kept stalling on a person clicking approve. We moved the human to the few decisions that matter and automated the rest, with the safety nets left in place.

#AI-Logos#Automation#HumanInTheLoop
Read
Systems Design 3 min read

A Warm Standby for the Control Host: Sync, a Role Guard and a Safe Promotion

The management host is a single point of failure, so we built an N+1 warm standby on the second hypervisor. A tiered one-way sync runs on a fifteen-minute timer, a role guard keeps the standby passive, and a promote script refuses to run while the primary still answers.

#DisasterRecovery#HighAvailability#Proxmox
Read
AI Development 4 min read

Teaching the Deploy Robot What Not to Touch

When we turned on automatic deployment, a check found 81 old pull requests it wanted to apply. Most had been deployed by hand long before. We gave it a cutoff.

#AI-Logos#Deployment#Safety
Read
AI Development 4 min read

Quorum Math: Why the Author Counts as a Vote

Requiring three independent reviews sounded safer. With four agents and one always the author, it forced a metered fallback on every change. Author plus two is the real rule.

#AI-Logos#Quorum#Governance
Read
Infrastructure & Reliability 5 min read

Resilient Multi-Node Subnet Routing in Tailscale with Tagged Auto-Approvers

When a primary Tailscale subnet router rebooted, standby nodes got stuck in 'approved but not advertised' limbo. We rebuilt our mesh with declarative ACL auto-approvers for true N+2 failover.

#Tailscale#Networking#ZeroTrust
Read
Engineering Field Notes 5 min read

Deep Egress Filtering: Hardening Isolated Agent Networks with Forward Proxying

Automated coding agents need outbound access to package repositories and Git, but direct Internet routing risks lateral pivoting. We enforced zero-trust egress via a locked-down Squid proxy.

#NetworkSecurity#Squid#Segmentation
Read
Network Engineering 7 min read

Segmenting a Flat Network: Trusted, IoT and Agent Zones

Moving a flat lab LAN into trust zones one segment at a time, starting with the lowest-risk one to prove the pattern.

#VLAN#Segmentation#pfSense
Read

September 2026

Infrastructure & Reliability 3 min read

Accepting Subnet Routes Stranded Our SSH: The LAN Bypass Rule

Joining a small device to the tailnet with route acceptance turned on sent its reply traffic into the mesh and cut off the SSH session from the lab's management host. A single policy-routing rule for the hosts that must stay local fixed it.

#Tailscale#Routing#Linux
Read
Systems Design 3 min read

A Handheld for an Assistant That Sometimes Takes Minutes

A voice reply can take ten seconds or ten minutes depending on whether it escalates to a larger model. The handheld needed a fast path, an acknowledged-async path, and honest timeouts, and testing it taught us not to fire synthetic requests at a live assistant.

#Voice#Latency#Design
Read
Engineering Field Notes 3 min read

Pocket Ops: A Just-for-Fun Handheld Console for the Lab

A Raspberry Pi Zero 2, a PiSugar battery and a Whisplay display HAT make a pocket-sized screen, speaker and one button. We are building it as an in-progress side project to see what the lab can do from a handheld.

#RaspberryPi#PiSugar#Whisplay
Read
Engineering Field Notes 3 min read

Guessed Pins, Black Screen: Bringing Up the Whisplay HAT

Our first driver guessed the display wiring and produced a black screen. The fix came from the vendor's own runtime, and the bring-up exposed three more traps: a GPIO library that fails on newer kernels, a different audio codec than documented, and a test that silently ran old code.

#RaspberryPi#Whisplay#GPIO
Read
Systems Design 3 min read

One Button, Six Gestures: A Deterministic Input Design

With a single physical button, the handheld needs taps, holds and a deliberate confirm gesture for risky actions. We wrote the timing rules down as a state machine so the same gesture always does the same thing.

#UX#StateMachine#Hardware
Read
Cyber 3 min read

Watching Failed Admin Logins on a DNS Server the SIEM Couldn't See

Our DNS servers write admin login failures to their own daily files, which the SIEM's agent did not collect. We added scoped collection, a decoder, a level-5 failure rule and a repeated-source escalation, and wrote down what the replay test did and did not prove.

#Wazuh#DNS#Detection
Read
AI Development 6 min read

Five Vendors, One Round Robin: Cross-Review and the Context Window

Why we run five paid AI subscriptions through one review loop, what each reviewer catches, and why context size, not raw model strength, became the limit.

#AI-Logos#PeerReview#MultiVendor
Read
AI Development 7 min read

Round-Robin AI Development: Clearing a 19-PR Queue with Peer Review

How our AI-Logos development round robin reviewed, revised and merged 16 of 19 queued changes in one pass while holding the three that needed a secrets re-encryption.

#AI-Logos#PeerReview#Automation
Read
Infrastructure & Reliability 3 min read

When the NVR Filled Its Own Disk: Frigate, Retention and a Flaky USB Drive

Frigate refused to start with 'No space left on device'. Continuous recording from four cameras had piled up while the retention cleanup could not run. The replacement USB drive then failed under write, and we stopped instead of retrying.

#Frigate#NVR#Storage
Read
Engineering Field Notes 3 min read

Rebuilding the Home Dashboard After an Update Ate It

After an update, the one dashboard we actually used was gone. Nothing of it was recoverable, so we rebuilt a Home screen from live data: weather, safety sensors, cameras, environment and device health, all scripted over Home Assistant's websocket API.

#HomeAssistant#Dashboards#SmartHome
Read
Systems Design 5 min read

Multi-Gigabit Mesh: Integrating Enterprise WiFi 6E with 10G pfSense Backhaul

High-bandwidth 6 GHz wireless hardware is useless if backhaul traffic bottlenecks on a 1 Gbps link. Here is how we integrated quad-band WiFi 6E with a multi-gigabit pfSense core.

#WiFi6E#pfSense#Networking
Read
Engineering Field Notes 3 min read

Home Assistant's Supervisor API Said 401, So We Used Key-Only SSH Instead

Long-lived tokens cannot call Home Assistant's Supervisor endpoints, by design. We gave automation a narrower, auditable route: a key-only SSH add-on with its own dedicated key, and a clear map of what each channel can and cannot do.

#HomeAssistant#Access#SSH
Read
Engineering Field Notes 3 min read

A Pulled Grafana Plugin Crash-Looped the Add-on

A community-recommended Grafana data source had been withdrawn from the catalog. Adding it to the add-on's plugin list crash-looped the whole container. The fix was a different path entirely: InfluxDB, whose Grafana data source is built in.

#Grafana#HomeAssistant#InfluxDB
Read
Engineering Field Notes 3 min read

A Line-by-Line Ansible Review Found Three Credentials in the Wrong Place

An earlier infrastructure-as-code review had checked Terraform completely and Ansible only by spot-check. A full pass over all 73 roles found three templates that embedded live credentials with loose permissions, each next to a sibling task that already did it correctly.

#Ansible#Secrets#Code Review
Read
Engineering Field Notes 3 min read

Why Our Custom rEFInd Icons Showed Striped Placeholders

A manual rEFInd entry's icon path is resolved from the root of the volume it boots, not from the rEFInd folder. Reading the 0.14.2 source explained the striped placeholder, and showed which of our theories the source did not support.

#rEFInd#UEFI#Source Reading
Read
Engineering Field Notes 3 min read

Two Config Keys That Didn't Exist, and a Boot Theme That Was Never Installed

Our first rEFInd theme draft invented config keys that look plausible and don't exist, and a runbook claimed the theme was verified by a reboot when the boot partition showed a stock config. Both were caught by reading the real source of truth.

#rEFInd#Verification#Documentation
Read
Infrastructure & Reliability 3 min read

One Laptop, Three Operating Systems: Building a rEFInd Triple-Boot

We put Windows 11, Omarchy and Kali on one laptop and put rEFInd in front of all three. The plan survived review only after three corrections, and the most useful step was checking the firmware's boot entries after every install.

#Boot#rEFInd#UEFI
Read
Engineering Field Notes 3 min read

An Empty Answer Crashed the Voice Pipeline

A small local model occasionally returned completely empty output on a long conversation. Blank text then crashed the speech synthesiser, which turned into a permanent HTTP 500 on every poll. We fixed the crash and added a retry, and we are honest that the cause is mitigated, not cured.

#Voice#LocalAI#Resilience
Read
Infrastructure & Reliability 3 min read

The Terraform State Had No Copy Where the Standby Needed It

A review of our Terraform found disciplined code and one real gap: the state file had no remote backend and was correctly gitignored, so the standby host's clone of the repo held no copy. A six-hourly one-way sync fixed it, with its staleness stated.

#Terraform#DisasterRecovery#State
Read
Incident Review 6 min read

A Backup That Wasn't: USB Transport Corruption and a Slower Cadence

Our mirrored backup pool started returning I/O errors with clean drives and identical error counts on both disks. The fix we tried didn't work, and we said so.

#Backup#ZFS#Incident
Read
Infrastructure & Reliability 3 min read

One Blocklist, Four DNS Stacks, and What the Verification Found

We rolled the OISD blocklist across Pi-hole, AdGuard Home and two Technitium clusters. The real value was in verifying each with a live query, because that exposed a forwarder that had been returning SERVFAIL for hours and monitoring that still pointed at old addresses.

#DNS#Pi-hole#AdGuard
Read
Infrastructure & Reliability 3 min read

The DNS Cluster Locked Us Out of Itself: Graceful Shutdown Rewrites Your Reset

Promoting a Technitium secondary hit 'Invalid username or password' with the correct credential. Deleting the auth file and restarting changed nothing, because the server re-saves its in-memory state on a graceful stop. Only a hard kill let it fall back to the default admin.

#Technitium#DNS#Clustering
Read
Systems Design 6 min read

Self-Hosted DNS That Never Breaks the Family Wi-Fi

How to decouple experimental lab DNS from production home Wi-Fi using Keepalived VIP, Pi-hole ad-blocking, and Technitium split-horizon zones with zero family outages.

#DNS#Networking#Keepalived
Read
Infrastructure & Reliability 3 min read

The Fleet Shutdown Drill: Clean Everywhere Except the Host That Mattered

We triggered a real fleet-wide shutdown through the UPS system. Six hosts shut down and rebooted cleanly in four minutes. The main hypervisor reconnected to its UPS server 2.5 hours late, then fell into a shutdown loop because both UPS servers were briefly unreachable at boot.

#NUT#UPS#DisasterRecovery
Read
Infrastructure & Reliability 3 min read

Power-On After AC Loss on a Mac Mini Running Debian Is a PCI Register

After a fleet shutdown drill, two Mac mini backup servers powered themselves on when AC returned. Apple's firmware does not expose that setting to Linux. The documented mechanism is one bit in the LPC controller's PCI config space, which resets every boot.

#MacMini#Linux#setpci
Read
Engineering Field Notes 3 min read

Treat a Single Unexplained Success With Suspicion

We reached for 'docker exec' on a SIEM manager that runs natively, and one call appeared to succeed before every identical call failed. We never explained it, and the right response was to distrust the success.

#Wazuh#Debugging#Verification
Read
Operations 5 min read

Mattermost Agent Ops: Where Humans and Agents Share a Thread

A self-hosted Mattermost server as the engineering hub, with agents that announce, report and hand off work in the open.

#Mattermost#ChatOps#Agents
Read
Infrastructure & Reliability 3 min read

Logrotate Can't Rotate a Filename That's Unique Every Day

Disks on the log collector kept filling despite a seven-day retention policy. rsyslog's per-day filenames meant logrotate renamed each file out of its own glob and lost track of it. A small mtime-based prune and a daily timer fixed it.

#rsyslog#logrotate#Retention
Read
Systems Design 6 min read

The Phantom DHCP Failover: Why Kea HA Never Triggered Partner-Down

During disaster testing of our clustered Kea DHCP servers, 20 distinct clients went unserved without triggering automatic failover. The bug was in our synthetic test packets, not in Kea.

#DHCP#Kea#HighAvailability
Read

August 2026

Engineering Field Notes 3 min read

A Command Crossed Two Shells and Ran on the Wrong Host

Backticks inside a long task description survived the first shell and were executed by the second, on a different machine than intended. It deleted two gigabytes of archived journal. The lasting fix is a pattern: never interpolate free text into a nested ssh command.

#Shell#SSH#Quoting
Read
Engineering Field Notes 3 min read

Our IPv6 Uplink Doesn't Exist, but Every Host Kept Preferring It

A threat-intel update hung against a timeout on an IPv6 address. The fleet has no working IPv6 uplink, yet hosts auto-configured an address and default route from router advertisements and preferred them. We turned off RA and SLAAC fleet-wide instead of disabling IPv6 and breaking Tailscale.

#IPv6#Linux#Ansible
Read
Infrastructure & Reliability 3 min read

An Upstream Bug, an XML Mistake and a One-Minute SIEM Outage

Rootcheck's documented ignore tag does not work for containers on Proxmox, so the obvious fix was a dead end. The workaround worked, until we put a literal XML tag inside a rule description and took the manager down for about a minute.

#Wazuh#LXC#Rate Limiting
Read
Infrastructure & Reliability 3 min read

When the Only DHCP Server Goes Down, the Switch Falls Back to a Factory Address

A fleet-wide outage traced back to the lab's single DHCP server. A managed switch rebooted while it was down, found nothing to lease from, and came up on its default fallback address, unreachable from the production network.

#DHCP#Kea#Switching
Read
Hardware 6 min read

Installing a Professional GPU, and the Passthrough Bug That Pointed at the Wrong Card

Adding a Quadro RTX 8000 beside an RTX A4000, recovering the hypervisor cleanly, and finding a passthrough mapping that silently targeted a different card.

#GPU#Proxmox#Hardware
Read
Engineering Field Notes 3 min read

Dead Buttons, Healthy Touchscreen: Ruling Things Out on a Kiosk

On-screen buttons on the kiosk stopped responding to touch. Our own recent animation work was the obvious suspect, and it was innocent. A first test that appeared to show a dead digitizer was invalid, because the compositor holds an exclusive grab on the input devices.

#Kiosk#Wayland#Touch
Read
Engineering Field Notes 3 min read

The Microphone Worked, the Speaker Didn't: A Codec Pin Problem

The whole voice pipeline worked end to end: recording, transcription, a real reply and a clean playback return code. Nothing came out of the laptop's internal speaker. The kernel log said the codec's speaker pin was misclassified, and the headphone jack still worked.

#Linux#ALSA#Audio
Read
Engineering Field Notes 3 min read

Restarting the Browser Didn't Help: A Stale Disk Cache on a Kiosk

New buttons we had deployed never appeared on the kiosk, and restarting the browser service changed nothing. A screenshot of the live display showed the running page was missing several earlier deploys. The web server never sent any cache headers.

#Kiosk#Chromium#Caching
Read
Infrastructure & Reliability 3 min read

9,800 Discord Messages in Ten Hours: Silencing Noise Without Silencing Alerts

A two-node workflow forwarded every alert above one threshold to Discord, with no filtering. One routine AppArmor denial, correct behaviour for unprivileged containers, produced roughly 9,800 messages in under ten hours. A narrow suppression rule fixed it without muting real denials.

#Wazuh#Alerting#n8n
Read
Systems Design 3 min read

Write-Only Backup Credentials, and the Owner Check That Blocked Them

Our hypervisors wrote backups with the backup server's superuser password. We replaced it with a token that can only create backups and cannot prune or forget them, proved the negative case, and fixed the backup-ownership error that appeared on the first run.

#Backups#ProxmoxBackupServer#LeastPrivilege
Read
Engineering Field Notes 6 min read

Vulnerability Management in the Lab: Tuning Greenbone OpenVAS Without Network Denial

Running an enterprise vulnerability scanner on homelab hardware requires patience and finesse. Here is what we learned from gvmd process crashes, NVD database syncs, and IoT network storms.

#VulnerabilityManagement#Greenbone#Security
Read
Observability 6 min read

Chat-First Ops: Routing Security Alerts to Discord with Workflow Automation

Wiring SIEM detections through a self-hosted workflow engine into Discord, and the four deployment bugs we hit along the way.

#Discord#Automation#n8n
Read
Infrastructure & Reliability 3 min read

Bootstrapping a Secrets Vault: Bugs That Hid Behind Success Messages

Initialising our infrastructure secrets vault lost its root token once, printed a false success message, silently dropped passwords from shared entries, and 'auto-unsealed' without ever unsealing. Four bugs, each hidden by output that said everything was fine.

#OpenBao#Secrets#Automation
Read
Systems Design 3 min read

Why Our Password Vault Is the One a CLI Can Drive

We chose Vaultwarden over a KeePass file because automation can manage it through a real CLI and API. We also issued its certificate directly from our private CA instead of using the proxy's built-in ACME, trading a little code for a path we had already verified.

#Vaultwarden#Secrets#step-ca
Read
Engineering Field Notes 5 min read

Wake-on-LAN at Scale: Automating Post-Storm Fleet Recovery Across Routed Subnets

Automated UPS shutdowns protect servers during power outages, but waking 15+ nodes remotely is tricky across routed subnets. Here is how we automated fleet power-on with persistent driver flags and on-subnet relays.

#Automation#WakeOnLAN#PowerResilience
Read
Infrastructure & Reliability 3 min read

The Port Mirror Delivered Packets, and tcpdump Saw Nothing

A switch SPAN port, a dedicated NIC and a bridge into the IDS container were all configured and green. Broadcast traffic arrived and everything else vanished. A learning bridge was correctly refusing to forward frames it believed belonged to the port they arrived on.

#IDS#Suricata#Zeek
Read
Systems Design 5 min read

Self-Hosted PKI: Deploying Smallstep step-ca with Offline Root Protection

Browser security warnings and manual certificate rotations degrade infrastructure. We built an enterprise internal CA using Smallstep step-ca with ACME automation and an offline root key.

#PKI#StepCA#TLS
Read
Infrastructure & Reliability 5 min read

Fleet-Wide Metric Scraping: Low-Overhead Observability with Prometheus & Node Exporter

Heavy monitoring agents can easily overwhelm low-power hardware. Here is how we standardized fleet-wide telemetry across 25+ nodes using Prometheus and finely tuned node_exporter.

#Monitoring#Prometheus#Telemetry
Read
Systems Design 6 min read

Surviving Texas Grid Spikes: Dual-UPS NUT Automation That Actually Shuts Down Cleanly

Designing power resilience across independent electrical circuits with dual Network UPS Tools (NUT) servers, cross-monitoring secondary power supplies, and automated graceful shutdown drills.

#PowerResilience#NUT#HighAvailability
Read
Incident Review 5 min read

Don't Refresh Every Group Member: A Firewall Lockout Postmortem

A script that mirrored the firewall's own 'refresh every group member' logic broke the root account's SSH access, because the config file didn't match what was on disk.

#Incident#Firewall#ChangeManagement
Read
Systems Design 3 min read

Checked, Not Assumed: Proving Nothing Is Exposed to the Internet

Our security reasoning rested on one stated assumption: that the lab is internal-only. We had never checked it. Six live checks on the firewall's real config turned the assumption into a dated, bounded fact, with the limits of the check written down.

#Security#pfSense#NAT
Read
Security Engineering 6 min read

A Security Stack in a Night: SIEM, Community Threat Intel and an IDS Scaffold

Standing up central threat-intelligence, a SIEM manager and an IDS scaffold as code, and auditing our own claims before trusting them.

#Wazuh#CrowdSec#Monitoring
Read
Systems Design 3 min read

A Firewall Bouncer on a Router With No Python

We deployed a CrowdSec firewall bouncer on an OpenWrt router using only Ansible's raw module, because the device has no Python. The first remote bouncer then hit a loopback-bound API.

#CrowdSec#OpenWrt#Ansible
Read
Engineering Field Notes 3 min read

We Almost Reflashed a Router That Didn't Need It, Then Found a Blank Root Password

VLAN setup on an OpenWrt travel router looked like a missing kernel module, until we found the image used a different package manager and had 802.1Q built in. While reading logs for something else, we noticed a successful login with a blank root password.

#OpenWrt#VLAN#Security
Read
Infrastructure & Reliability 3 min read

The Node That Accepted Its Own Subnet Back and Left the LAN

Setting up a second Tailscale subnet router with route acceptance on made the node accept its own LAN subnet over the tunnel. It black-holed its direct traffic and dropped off the LAN entirely. Recovery over the tailnet led to rolling out Tailscale SSH fleet-wide.

#Tailscale#Routing#Incident
Read
Engineering Field Notes 3 min read

Self-Hosting a UniFi Controller: An Empty Package Repo and a DNS Server That Wasn't Ours

A managed switch has no meaningful standalone config, so we built a controller as the lab's first real Terraform-managed container. Along the way: an inherited DNS server the container could not reach, a vendor repository that published nothing, and a Java version Debian does not ship.

#UniFi#Terraform#Proxmox
Read
Infrastructure & Reliability 3 min read

Moving DHCP to Kea, and the Renewal Test That Took a Host Offline

The DHCP cutover from the firewall to Kea went cleanly. The follow-up test of an existing client's renewal did not: two DHCP clients on one interface and a cascading address delete took the machine off the network for ten minutes.

#DHCP#Kea#NetworkManager
Read
Engineering Field Notes 3 min read

We Stopped the Virtual IP, and It Moved to the Other Node

A stray secondary address kept reappearing on a node no matter how often we deleted it. An abandoned keepalived pair was re-asserting a VRRP virtual IP every second. Stopping one side just handed the address to the other.

#keepalived#VRRP#Networking
Read
Infrastructure & Reliability 3 min read

Two Storage Entries That Could Not Exist on the Second Node

A hypervisor showed two storages inactive since the first session. There was no hardware fault: the cluster-wide storage config assumed two drives, and the second node had one. Registering the ZFS dataset that already existed fixed it, after a node-name surprise.

#Proxmox#ZFS#Storage
Read
Infrastructure as Code 5 min read

Codifying the Proxmox Cluster with Least-Privilege Terraform

Moving cluster provisioning to Terraform with a dedicated API role that can build and snapshot guests but cannot touch users, realms or host configuration.

#Terraform#IaC#Proxmox
Read
Infrastructure & Reliability 3 min read

A Bare-Metal Recovery Tool, Three Errors Deep on a ZFS-Root Node

Relax-and-Recover built a rescue image on one hypervisor in an afternoon. On the other, a ZFS root and systemd-boot hit three different errors, each hiding the next. We stopped, wrote down why, and kept the broken node out of the schedule.

#ReaR#ZFS#systemd-boot
Read
Systems Design 7 min read

Why Toy Homelabs Fail: Leaving Unraid for Clustered Enterprise Proxmox

The architectural lessons, storage topologies, and operational realities of migrating from consumer NAS appliances to clustered dual-node Proxmox VE with mirrored ZFS and external QDevice quorum.

#Proxmox#ZFS#Homelab
Read

Frequently asked questions

Who writes the HTX-TEK blog?
Jason Nevill, an IT professional in Houston, Texas, who builds and runs the HTX-TEK homelab.
How are posts ordered?
Newest first, by the date of the work each post describes. Many early posts were written up after the fact. Older posts are in the archive by year and month.
Are posts ever changed after they go live?
Only to correct something. Each correction adds a dated “Update” note at the top, and the original date stays.
What topics does the blog cover?
Infrastructure and reliability, AI development, security, networking, backups and incident write-ups from the lab.
Is anything here for sale?
No. HTX-TEK is a not-for-profit family homelab portfolio. Nothing on the site is a product or a service.
How do I follow new posts?
Subscribe to the RSS feed at /blog/rss.xml, or follow Jason on LinkedIn.

Follow the build

Questions about the build, or spotted something we got wrong? Find us on LinkedIn and GitHub.