Blog.

Notes on running small, honest infrastructure: GitOps, Kubernetes, security, and the bugs in between.

8 posts · RSS · JSON Feed · About this blog

· 11 min read

The upgrade that re-opened our front door

A routine OS release upgrade put the default sshd_config back and broke the default route. A throwaway root password, set over a serial console to fix the routing, was guessed two hours later, and a botnet ran as root on a jump host for 29 hours. What we found, what root could reach from there, and the boring lessons that would have prevented it.

· 5 min read

hop: short links and pastes in one small Go binary

I kept pasting logs into third-party pastebins and shortening URLs with services that track clicks. So I wrote a 30 MB Go binary that does both, behind the same edge as everything else on this box, and it deploys itself from git.

· 5 min read

CrowdSec on a 4 GB VPS in an afternoon

An exposed Caddy edge, a log-driven intrusion prevention layer, and a deploy script that registers its own bouncer keys. It caught a real scanner within minutes. Here is the whole setup, including the one trap.

· 3 min read

The bind mount that pinned an inode

I edited the Caddyfile, the deploy ran, Caddy reloaded, and nothing changed. Mounting a single file is not the same as mounting its directory.

· 3 min read

Docker 29 made my bot restart on every deploy

An unchanged image kept getting a new ID. The culprit was the build attestation the containerd image store folds into the manifest list. The fix is one environment variable.

· 8 min read

How this site is hosted

One small VPS, one git repository, a five-minute pull loop and a single edge: the architecture behind divyam.top, the status page and a Telegram bot that shares the box.