Skip to main content

Networking

Understand networking concepts essential for modern infrastructures. Explore protocols, routing, security, and techniques for building reliable connections.

28posts

Guides

Posts

Networking
|12 min read

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.

Networking
|16 min read

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.

Networking
|16 min read

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.

Networking
|10 min read

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.

Networking
|15 min read

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.

Networking
|18 min read

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.

Networking
|17 min read

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.

Networking
|14 min read

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.

Networking
|11 min read

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.

Networking
|12 min read

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.

Networking
|11 min read

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.

Networking
|7 min read

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.

Networking
|13 min read

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.

Networking
|7 min read

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.

Networking
|9 min read

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.

Networking
|8 min read

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.

Networking
|8 min read

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.

Networking
|7 min read

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.

Networking
|12 min read

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.

Networking
|13 min read

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.

Networking
|8 min read

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.

Networking
|6 min read

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.

Networking
|6 min read

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.

Networking
|17 min read

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.

Networking
|4 min read

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.

Networking
|9 min read

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.

Networking
|5 min read

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.