Skip to content

Tag: security

All the articles with the tag "security".

sudo vs doas vs run0 on Linux

sudo vs doas vs run0 on Linux

sudo, doas, and run0 all get you root. We compare how each one works, the config syntax, the attack surface, and which one belongs on your home-lab server.

Lynis: Reading a Hardening Audit Report

Lynis: Reading a Hardening Audit Report

Run Lynis 3.1.7, read the warnings, suggestions, test IDs and hardening index, fix the findings that matter, silence the rest, and track the score weekly.

When Vaultwarden Dies: A Recovery Drill

When Vaultwarden Dies: A Recovery Drill

Back up Vaultwarden properly: the SQLite file plus the files people forget, what the Bitwarden clients keep cached, and a restore drill that proves it works.

step-ca: Let's Encrypt for Your LAN

step-ca: Let's Encrypt for Your LAN

Run step-ca as a private ACME server so Caddy and Traefik auto-issue and renew TLS certs for grafana.home.arpa, with no internet exposure and no CT log leaks.

Rootless Podman Quadlets vs Docker

Rootless Podman Quadlets vs Docker

Rootless Podman Quadlets or rootless Docker for a home lab host? Networking, cgroups, auto-updates, bind mounts and boot behavior compared, with a clear pick.

Read-Only Docker Containers: What Breaks

Read-Only Docker Containers: What Breaks

Turn on read_only: true and watch nginx, Postgres, Redis, Python and Node fail in specific ways. Real errors, plus the minimum tmpfs and volume set for each.

PHP2Shell: Is Your Homelab Running PHP?

PHP2Shell: Is Your Homelab Running PHP?

PHP2Shell is two unauthenticated PHP RCE flaws. Find every PHP container in your homelab, patch to the fixed release, and keep Cloudflare's WAF as a seatbelt.

Outline: The Team Wiki That Needs SSO

Outline: The Team Wiki That Needs SSO

Outline has no password login, so self-hosting it means pairing it with an OIDC provider. Here is a working Docker stack with Postgres, Redis, and Dex.

Firewall Rule Audit: Find the Dead Rules

Firewall Rule Audit: Find the Dead Rules

Find unused firewall rules on a Linux box with nftables counters, then retire them safely with a snapshot-and-diff routine, a jq script, and a systemd timer.

Home Lab Threat Model: What's Exposed

Home Lab Threat Model: What's Exposed

Mass scanners find a new home lab IP within hours. Audit what the internet can reach, from UPnP to Docker ports to IPv6, then build a threat model that fits.

Kyverno: K8s Policy Without Rego

Kyverno: K8s Policy Without Rego

Kyverno on k3s: validate, mutate, generate, verify signed images, handle exceptions, and test policies in CI. Plus the CEL policy types replacing ClusterPolicy.