Networking
Browse all articles, tutorials, and guides about Networking
Posts
nginx2root: Five nginx CVEs, One Pre-Auth Path to Root, and How to Tell If Your Config Is Exposed
On 18 November 2026, Xint disclosed five unauthenticated nginx CVEs it calls nginx2root. One of them, CVE-2026-123007, only needs HTTP/2 to be enabled. Here is which of the five apply to your config, the fixed versions per channel, a read-only check script, how to upgrade without dropping connections, and the mitigations to use tonight if you cannot patch yet.
ndots:5 in Kubernetes: Why One DNS Lookup Turns Into Ten Queries
A normal external hostname can make eight or ten DNS requests from a Kubernetes Pod before it succeeds. Trace the resolver rule behind that fan-out, measure it, and choose fixes that do not break cross-namespace Service names.
CKNE Is Live: What the Kubernetes Network Engineer Exam Tests and How to Practice
CKNE is a new hands-on Kubernetes networking exam. Use its published domains to build a lab, rehearse packet-level debugging, and turn DNS, traffic, policy, encryption, and observability into timed terminal drills.
Five Production Bugs You Can Reproduce in a Browser Tab
A cache can leak a cart, one packet can pause an HTTP/2 page, and a shared DataLoader can disclose another user's data. Learn the mechanism, the production check, and a small lab reproduction for five failures worth recognizing before an incident.
Let's Encrypt Goes to 64-Day Certificates: When Does Your ACME Client Actually Renew?
Let's Encrypt moves to 64-day certificates on 10 February 2027, and its staging environment already issues them. We issued real 64-day staging certificates with certbot, acme.sh and lego and recorded when each one renews. The ARI clients renewed or scheduled their renewal around day 42. acme.sh 3.0.7 with --days 80 scheduled its renewal for day 79, 15 days after the certificate expired, and upgrading to 3.1.6 fixed that at the next check.
OpenSSH 10.6 Refuses DOMAIN\user and Weakens ssh -C. We Measured Both
OpenSSH 10.6 came out on October 6. It refuses usernames with a backslash or a dollar sign before it connects, which breaks ssh, scp, rsync, git and Ansible logins written as CORP\alice. It also cuts ssh -C to Huffman coding only, so a 32 MiB log now compresses to 21 MiB instead of 3.7 MiB. We built 10.5 and 10.6 side by side and tested 13 ways of passing a username, 4 kinds of data and 8 SSH clients.
We Took Down Our Mesh VPN Control Plane. Here Is What Kept Working
Replacing the VPN with a WireGuard mesh moves the single point of failure from the VPN gateway to the coordination server. We stopped the control server under real Tailscale clients for 30 minutes and measured what survived: existing tunnels did, joins and revocations did not, an expiring key cut a device off on time, and a client restart took a device offline until we turned on netmap caching.
Cloudflare Freed 100 TB of RAM From Its Hash Rings. Your Proxy May Have the Opposite Problem
Cloudflare got back 100 TB of RAM partly by cutting 90% of the points on its consistent hash rings. We measured the other end of the same curve: a million keys through nginx and HAProxy to 100 backends, and Envoy rebuilt from its source. The busiest server ranged from 1.05x to 2x its fair share, and the points per server explained most of it.
We Put Localhost on the Internet and Watched Who Turned Up
A Cloudflare quick tunnel gives you a public URL for a port on your laptop in one command and no account. We ran one in front of a server that logs everything and answers nothing, to find out how long it takes the internet to find you, and what the thing actually costs.
Figma Made Multiplayer Instant by Picking the Dumber Algorithm
Figma rejected Operational Transforms, and they are not running a real CRDT either. They built something simpler on purpose, and the reason it works is a constraint most teams already have. Here is the model, the trade it makes, and two runnable demos of where it breaks.
How Netflix Ships a Third of the Internet: The CDN They Had to Build
At its 2015 peak Netflix was 37% of North American downstream traffic, and almost none of it came from a commercial CDN. Open Connect is a cache hierarchy built on one asymmetry: Netflix knows tonight what people will watch tomorrow. Here is how the appliances, the nightly fill, the BGP steering and the 800 Gb/s FreeBSD boxes fit together, a runnable comparison of push fill against pull-through caching, and what it teaches anyone running a cache.
DNS Detective: an Agent That Diagnoses Your Domain by Actually Probing It
We built an agent on DigitalOcean's Serverless Inference that debugs DNS, TLS and email problems the way an engineer does: form a hypothesis, run a real lookup, follow the evidence. It solved a null-MX mystery, an expired certificate, and a broken DNSSEC chain on camera, and one model we tried got disqualified for inventing probe results.
WebSockets Are the Easy Part
Opening a WebSocket takes twenty lines. Reconnection, resume-from-cursor, presence, fan-out and backpressure are the actual product, and they are why realtime systems fail in month two instead of day one. Here is each problem, what it looks like in production, and an honest build-vs-buy section.
Why Your Kafka Bill Is Mostly Network
Run the numbers on a self-managed Kafka cluster and the biggest line item is not brokers or disks, it is cross-AZ data transfer. Here is the arithmetic, where every gigabyte crosses a zone boundary, and the four levers that actually shrink the bill.
HTTP QUERY Shipped. Your Cache Did Not Get the Memo
RFC 10008 gave HTTP its first new method since 2010: QUERY, a request that is safe and idempotent like GET but carries a body like POST. The semantics are the easy part. The hard part is that its cache key includes the request body, which is not something your CDN or browser does by default yet, and the RFC quietly ships a workaround for exactly that.
DMARCbis Is Here: What Changed in the New DMARC and What to Do to Your Records
DMARC finally became a real internet standard in 2026. The pct tag is gone, there are two new tags, and the Public Suffix List is out. Here is what actually changed and the exact edits to make to your DNS.
Send an Email by Hand: The Raw SMTP Conversation (and Why You Should Not Do It in Production)
You can open a socket to a mail server and type an email one command at a time. Doing it once teaches you what every email API hides. Here is the full SMTP conversation, byte by byte, and the exact reasons production sending needs more than a telnet session.
hostNetwork Is Still a Footgun: What CVE-2026-32193 Teaches Every Cluster
A recent AKS advisory let an untrusted pod with hostNetwork break out to the worker node. The Azure-specific bug is patched, but the footgun that made it reachable lives on every Kubernetes cluster. Here is how the escape class works and what to actually lock down.
Cilium 1.19 ClusterMesh Policy Flip: The Silent Default That Will Drop Your Cross-Cluster Traffic
Cilium 1.19 changed how network policies without a cluster selector resolve in a ClusterMesh. East/West traffic that 1.18 implicitly allowed is now silently dropped. Here is how to find every affected policy before you upgrade.
Ingress-NGINX Is Retired: A Real Migration to Gateway API With ingress2gateway 1.0
In March 2026 the Kubernetes project retired ingress-nginx with no replacement waiting in the wings. Roughly half of all clusters still run it. This post is the migration that does not involve a flag day: how to inventory your annotations, what ingress2gateway 1.0 translates and what it silently drops, the side-by-side cutover pattern with the actual PromQL, and how to pick between Envoy Gateway, kgateway, Cilium Gateway, and Istio.
NGINX Rift (CVE-2026-42945): The 18-Year-Old Rewrite Bug That Hands an Attacker Your Worker Process
An autonomous code-audit tool found an 18-year-old heap overflow in NGINX's rewrite module. Affects every release from 0.6.27 through 1.30.0, plus NGINX Plus and the entire F5 product line. Full RCE PoC is public. Here is the one-line config grep that tells you whether you are exposed, the patch matrix, and what to do about the long tail of products that bundle the vulnerable nginx without a vendor patch yet.
Istio Traffic Management: Routing, Retries, and Circuit Breaking
Configure weighted routing, automatic retries, and circuit breakers in Istio with copy-paste YAML examples and real kubectl output you can verify on your own cluster.
Ping: Request Timed Out vs Destination Host Unreachable
"Request timed out" means no reply came back. "Destination host unreachable" means a router, or your own machine on the LAN, says it cannot reach the host.
How to Free Up a TCP/IP Port on Linux, macOS, and Windows
Learn how to identify processes using a port and free it up by stopping the service, killing the process, or changing configuration across different operating systems. Find an available port, and close a port with ufw, firewalld or nftables.
How to Get a List of All Valid IP Addresses in a Local Network?
Discover active devices on your local network using tools like nmap, arp-scan, and native OS commands. Learn network scanning techniques for inventory management, security audits, and troubleshooting.
Forward Host Port to Docker Container
Publish container ports with -p, bind them to localhost, add a port to a container that already runs, understand ports vs expose in Compose, connect to Postgres in a container, find a container IP, and connect containers from different Compose projects.
How do I Get Flask to Run on Port 80?
Running Flask on port 80 requires special permissions since port 80 is a privileged port. Learn the different approaches to running Flask on port 80, from using sudo to setting up reverse proxies with Nginx.
Can Two Different Sockets Share a TCP Port?
Understand how TCP port sharing works with SO_REUSEADDR and SO_REUSEPORT, when multiple sockets can bind to the same port, and the limitations you need to know.
Why SCTP Is Not Widely Used Despite Its Technical Advantages
Explore why Stream Control Transmission Protocol (SCTP) remains niche despite offering features that improve on both TCP and UDP, including NAT issues, lack of OS support, and ecosystem inertia.
Docker: Connect to the Host's localhost from a Container
Use host.docker.internal, not localhost. Docker Desktop resolves it; on Linux add --add-host=host.docker.internal:host-gateway or use --network host.
How to Get the IP Address of the Docker Host from Inside a Docker Container
Need your container to talk to the Docker host? Learn practical ways to discover the host's IP address from inside a container, with examples for Linux, macOS, and Windows.
How to Connect to Network Shares with Username and Password
Learn how to mount SMB/CIFS network shares with credentials on Linux, macOS, and Windows, including persistent mounts and secure credential storage.
Close a Port on Windows from the Command Line
Find the PID with netstat -ano | findstr :PORT, checking the Local Address column, then end it with taskkill /PID <pid> /F, or block the port with netsh.
Increasing the Maximum Number of TCP/IP Connections in Linux and Monitoring Network Usage
Find the limit you actually hit, then raise it: file descriptors, the ephemeral port range, listen backlogs, TIME_WAIT and connection tracking. Then watch bandwidth per process, per connection and per interface with nethogs, iftop, nload and ss.
Close vs Shutdown Socket
The difference between close() and shutdown() on a socket: when to use each, how shutdown enables half-closed connections, why a restarted server gets "Address already in use", and how SO_REUSEADDR and SO_REUSEPORT differ.
UDP vs TCP: How Much Faster Is UDP Really?
How much faster UDP really is, measured on localhost, where the difference comes from, and when it is appropriate to use UDP instead of TCP: DNS, calls, games, VPNs and QUIC.
Capturing Mobile Phone Traffic on Wireshark
Learn how to capture and analyze network traffic from your mobile phone using Wireshark. Set up a proxy or WiFi hotspot to inspect HTTP/HTTPS requests, debug mobile apps, and understand what data your phone is sending.
How to Fix SSH "Could Not Resolve Hostname" Error
Troubleshoot and fix the SSH 'nodename nor servname provided, or not known' error with DNS checks, host file configuration, and SSH config debugging.
Ingress vs Load Balancer in Kubernetes, Pending IPs and port-forward
When to expose a Service with a LoadBalancer, an Ingress or Gateway API, why EXTERNAL-IP stays pending, and how kubectl port-forward reaches a pod without exposing it.
How to Find the IP Address of an SSH Client
Learn multiple ways to identify the IP address of clients connected to your SSH server, from environment variables to logs and active connection monitoring.
How to Access Host Port from Docker Container
Learn how to access a host machine's port from a Docker container using network configurations and best practices.
How to Simulate a Slow Internet Connection for Testing
Throttle and break the network on purpose: tc netem on Linux, Network Link Conditioner on macOS, Clumsy on Windows, browser DevTools, Toxiproxy for a single service, and three ways to create a connection timeout.
Who is Listening on a Given TCP Port on Mac OS X?
Need to find out which process is using a specific port on your Mac? Here's how to check which application is listening on a TCP port using built-in macOS tools.
How to Get Your Local IP Address
Learn multiple methods to find your local IP address using command line tools, programming languages, and system utilities across different operating systems.
How to Find Which Process Is Listening on a Port in Windows
Need to know which application is using a specific TCP or UDP port on Windows? Here's how to check using netstat, tasklist, PowerShell, and Resource Monitor.