TechEarl
Topic · Network

Network

DNS, packets, proxies, and the wires that turn a server into something the internet can reach.

8 articlesWritten by Ishan Karunaratne
Networking guides on DNS, packets, proxies, Tor, and the wires that make the internet work.
More in Network
Enable TCP BBR congestion control on Linux with net.ipv4.tcp_congestion_control=bbr and net.core.default_qdisc=fq. The kernel version that ships BBR, the fq qdisc it needs, throughput gains on lossy links, and BBR vs CUBIC.

Speed Up a Linux Server With TCP BBR

Switch to TCP BBR congestion control with two sysctl lines and a reboot-safe config file. The throughput it buys you on lossy long-haul links, the fq qdisc it needs, the kernel version that ships it, and when CUBIC is still the right default.

Run sudo iftop -i eth0 to see bandwidth per connection in real time. The interface flag, -n and -P for readable output, the 2s/10s/40s rate columns, BPF filter syntax, and how iftop differs from nload.

iftop: See Bandwidth by Connection in Real Time

sudo iftop -i eth0 shows a live, per-connection bandwidth table: which host pairs are moving traffic and at what rate. The interface flag people forget, the -n and -P switches that make the output readable, the 2s/10s/40s columns, the filter syntax, and when nload or iftop is the right tool.

The nload command shows live network bandwidth per interface in the terminal. Install nload, switch interfaces with arrow keys, read In/Out/Avg/Max, plus -m multi-view, -u unit flags, and the refresh interval.

nload: Watch Live Network Bandwidth in the Terminal

The nload command draws a live graph of incoming and outgoing bandwidth per interface, right in the terminal. Install it, run nload, switch interfaces with the arrow keys, and read the In/Out, Avg, and Max numbers. The -m multi-interface view, the -u/-U unit flags, the refresh interval, and where iftop and nmap fit instead.