TCP BBR and latency analysis
Observations on packet round-trip time between European and transatlantic nodes under Debian 13 (kernel 6.12).
Field notes from running small production systems: TCP performance, routing behaviour, firewall hygiene and the boring reliability work that keeps things online.
Observations on packet round-trip time between European and transatlantic nodes under Debian 13 (kernel 6.12).
Using overlay networks and strict firewall rules to reduce the attack surface of production systems.
Why large packets vanish on some paths, and how tcp_mtu_probing and payload-size tests isolate the cause.
A short checklist: removing unnecessary guest agents, auditing accounts and scheduled jobs, and keeping the exposed surface minimal.
Congestion control choices matter most on long-fat networks. On a path with roughly 150–180 ms RTT, the default CUBIC behaviour often leaves significant capacity unused for single-stream transfers. Enabling BBR on the relay side, together with a modest receive/send buffer ceiling, produced a stable improvement without inflating memory use on a 2 GB node.
net.core.default_qdisc = fq net.ipv4.tcp_congestion_control = bbr net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 net.ipv4.tcp_mtu_probing = 1
The important lesson is to keep buffer tuning tied to the measured bandwidth-delay product rather than copying large values blindly. On the smaller landing node we deliberately kept the buffers default and only enabled BBR + fq.
A public SSH port is a permanent invitation for credential stuffing. Moving administrative access onto an overlay network lets the host firewall drop almost all inbound traffic, including the management port, while operators keep working from their own devices.
Two details make the difference between "works" and "locks you out": verify the overlay path before tightening the firewall, and keep the overlay interface explicitly allowed in the ruleset so a reboot never strands the machine.
ufw default deny incoming ufw allow in on tailscale0 ufw --force enable
When small requests succeed but large responses hang, the culprit is frequently an MTU mismatch somewhere in the path. Testing with a fixed payload size and the "don't fragment" bit quickly identifies the largest working packet.
ip link show | grep mtu ping -M do -s 1422 -c 3 <peer>
If 1472-byte payloads fail while 1422-byte payloads pass, the link is not a clean 1500-byte Ethernet path. Enabling tcp_mtu_probing=1 gives the stack a safe fallback for affected flows.
HappyIT is a small infrastructure practice focused on Linux operations, network performance and pragmatic security hardening. These pages are working notes from real deployments — configuration snippets are provided as-is, without warranty.
We do not run advertising, analytics or third-party scripts on this site.