tcpdump and Packet Capture: Reading Traffic
Capture and analyze network traffic with tcpdump to debug slow connections, DNS issues, and firewall problems like a detective.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Capture and analyze network traffic with tcpdump to debug slow connections, DNS issues, and firewall problems like a detective.
Configure Docker log drivers and rotation so containers never fill your disk, and learn which driver keeps docker logs working and which takes them away.
Plan subdomains, A/AAAA records, and split DNS for your whole self-hosted stack so both home and external users reach every service cleanly.
Size PHP-FPM pm.max_children on a 2 GB VPS so workers fit beside nginx and MySQL, then split pools if two apps should not share one process budget.
Terminate TLS with nginx, keep llama-server on loopback, and proxy OpenAI-shaped routes without exposing a CPU model port to the public internet.
Use nginx on an edge VPS as your API gateway: TLS, routing, auth headers, body limits, and rate caps without buying a managed API gateway SKU.
Pick the right Restart= policy, tune RestartSec and start-rate limits, and build services that recover from crashes without paging a human at 3 a.m.
Back up live SQLite databases without corrupting them: use sqlite3 .backup and the online backup API, then automate and verify the copies on a VPS.
Dead issues and abandoned PRs quietly rot a repository. Use scheduled stale automation to mark, then close, so your queue stays honest and focused.
Upgrade WebSockets and server-sent events cleanly through Nginx and HAProxy, and size buffers so long-lived streaming connections stay stable.
Take a consistent SQLite snapshot from a live app with VACUUM INTO or .backup, then restore beside the original without stopping writes in production.
Hash the model name plus UTF-8 bytes into a local SQLite cache so repeat search queries skip the encoder and the generator on a Lucknow VPS.