Skip to main content

Network Troubleshooting

Learning objectives
  • Use the core toolkit (ping, traceroute/mtr, dig, curl timing, openssl s_client, ss, tcpdump/Wireshark, iperf3, nc) and know what each can and cannot prove
  • Isolate the failing layer — DNS, TCP connect, TLS, HTTP or application — in minutes, from the right vantage point
  • Distinguish high latency, packet loss, DNS problems and TLS failures by their signatures
  • Recognize and fix MTU black holes, especially on VPN links to partner banks
  • Run a structured incident playbook: scope, recent changes, layer-by-layer isolation, packet capture, mitigation, root cause

TL;DR​

  • Work layer by layer from the client: does the name resolve (dig)? Does TCP connect (nc -vz)? Does TLS complete (openssl s_client)? Does HTTP answer (curl -v)? Is it slow, and in which phase (curl -w)? The first layer that fails is where you dig.
  • Test from the failing vantage point. "Works on my laptop" proves nothing about a pod in a private subnet behind a NAT gateway and a partner firewall.
  • Signatures: connect times of ≈1 s / 3 s / 7 s = dropped SYNs; exactly ≈5 s = DNS retry timeout; p99 ≈200 ms+ above p50 = TCP retransmissions (packet loss); small requests work but large ones hang = MTU black hole; works in browser but not in Go/Java = missing intermediate certificate.
  • mtr loss at a middle hop that does not persist to the destination is not real loss — routers deprioritize ICMP replies.
  • ss -ti shows per-connection RTT, congestion window and retransmits; nstat shows kernel counters (listen overflows, retransmits); tcpdump on both ends is the final arbiter.
  • Mitigate first (rollback, failover, drain), then find the root cause, then write it down.

Why it matters​

Network incidents in banks and e-commerce platforms rarely look like "the network is down". They look like "2% of card authorizations time out since 18:00", "checkout p99 doubled in one AZ", or "the partner says they never received our settlement file". Each team sees its own slice: the app team sees timeouts, the network team sees green dashboards, the partner sees nothing. The architect is often the person who can follow a request across layers and organizations — and who designs systems so that this is possible (timeouts, metrics per phase, packet-capture access, runbooks).

Interviewers ask "how would you debug X?" to see whether you have a method or just a list of tools.

Core concepts​

Isolate the layer​

Two principles:

  1. Vantage point. Run the checks from where the failing client runs — the same pod, node, subnet, AZ and egress path. Compare with a working client to find the difference. kubectl debug or an ephemeral debug container with network tools is invaluable.
  2. Change one thing at a time and keep notes with timestamps; incidents are reconstructed later from those notes.

The toolkit​

ToolLayerWhat it answersCaveats
pingL3 (ICMP)Is the host reachable, RTT, lossICMP is often blocked or deprioritized; no reply ≠ host down
traceroute / tracertL3Path and per-hop RTT via TTL expiryLinux uses UDP by default (-T for TCP SYN, -I for ICMP); hidden hops, asymmetric paths
mtrL3Continuous traceroute with per-hop loss and jitterLoss at a middle hop that disappears later is ICMP rate limiting, not real loss; use --tcp -P 443 for TCP probes
dig / nslookup / getent hostsDNSWhat a resolver returns, TTLs, which server answered, timinggetent uses the system resolver path (nsswitch); dig bypasses it
nc -vz host portL4Can a TCP connection be opened?Proves the port, not the protocol
curl -v / curl -wL4–L7Full request with headers; per-phase timingPass --resolve to test a specific IP; -k hides cert problems
openssl s_clientTLSProtocol, cipher, chain, SNI behaviour, mTLSAlways pass -servername; use -showcerts to see the chain
ss (or netstat)L4Socket states, queues, per-connection RTT/cwnd/retransmits (-ti)Run on the host/pod involved
nstat / netstat -sL3/L4Kernel counters: retransmits, listen overflows, resetsLook at deltas, not absolute values
conntrack -S / dmesgL3/L4Conntrack table usage and drops"nf_conntrack: table full, dropping packet" is decisive
tcpdumpL2–L7What actually went over the wireNeeds privileges; capture on both ends; mind PII
Wireshark / tsharkL2–L7Analysis: retransmissions, RTT graphs, TLS detailsTLS payloads need key logs to decrypt
iperf3L4Achievable throughput and loss between two hostsNeeds a server on the far side; separate from app performance
ip addr / ip route / ip linkL2/L3Addresses, routes, MTU of interfacesIn containers, check inside the network namespace
ethtool -SL1/L2NIC errors and dropsDriver-specific counters

Reading curl timings​

curl -s -o /dev/null https://api.partner-bank.example/health -w '
dns %{time_namelookup}
connect %{time_connect}
tls %{time_appconnect}
ttfb %{time_starttransfer}
total %{time_total}
code %{http_code} ip %{remote_ip} http %{http_version}
'

The timers are cumulative. Derive phases:

PhaseFormulaIf it is large
DNSdnsResolver slow or failing over; search-domain expansion; negative caching
TCPconnect − dnsLong RTT (distance), SYN drops (≈1 s/3 s steps), overloaded LB
TLStls − connectLong RTT × handshake round trips, slow OCSP/CRL fetches on the server, large cert chains plus loss, CPU-starved terminator
Server waitttfb − tlsApplication, upstream dependencies, database, queueing
Transfertotal − ttfbLarge response, low throughput (loss, small windows)

Pin the target IP to compare backends or bypass DNS: curl --resolve api.partner-bank.example:443:198.51.100.7 https://api.partner-bank.example/health.

Latency vs packet loss vs DNS vs TLS​

ProblemSignatureConfirm with
Pure latency (distance, routing change)Every phase scales with RTT; p50 and p99 both higher; no retransmitsping/mtr RTT, ss -ti rtt:; traceroute shows the path changed (e.g. traffic hairpinning through another region)
Packet lossp50 fine, p99/p999 spikes (≈200 ms+ minimum RTO on Linux, then doubling), throughput collapses on long transfersss -ti retrans: counters, nstat TcpRetransSegs rate, mtr loss that persists to the final hop, Wireshark tcp.analysis.retransmission
SYN drops (accept-queue overflow, conntrack full, SG/NACL issue)Connect time clustered at ≈1 s, 3 s, 7 snstat TcpExtListenOverflows, ss -lnt (Recv-Q vs Send-Q on listeners), dmesg conntrack messages
DNSDelay before connect; ≈5 s spikes; NXDOMAIN/SERVFAIL errors; only some hosts or pods affecteddig against the configured resolver vs another; CoreDNS metrics and logs; /etc/resolv.conf
TLSFails at handshake with a specific alert, or the TLS phase is slowopenssl s_client output, server/proxy TLS logs
Server-sideTTFB large, network phases normalTraces and app metrics; LB "target response time"

TLS failures​

Error (typical wording)Usual causeCheck
certificate has expired / not yet validExpired cert, or client clock skewopenssl x509 -noout -dates; check NTP on the client
unable to get local issuer certificate / x509: certificate signed by unknown authorityServer not sending intermediates; private CA not in client trust storeopenssl s_client -showcerts: count the certs in the chain
hostname mismatch / certificate is valid for X, not YSAN does not include the name used; missing or wrong SNI-servername; inspect subjectAltName
handshake failure, no shared cipher, protocol versionVersion/cipher mismatch (e.g. legacy partner allowing only TLS 1.0/1.1, or client forcing TLS 1.3)openssl s_client -tls1_2 / -tls1_3
certificate required / bad certificate alertmTLS: client cert missing, expired, wrong EKU, or signed by a CA the server does not trustopenssl s_client -cert client.crt -key client.key; server logs
Handshake hangsMTU black hole (large certificate flight dropped), middlebox interferencetcpdump shows ClientHello, then silence or retransmits of the server flight
openssl s_client -connect api.partner-bank.example:443 -servername api.partner-bank.example -showcerts </dev/null
echo | openssl s_client -connect api.partner-bank.example:443 -servername api.partner-bank.example 2>/dev/null \
| openssl x509 -noout -subject -issuer -dates -ext subjectAltName

MTU problems​

The path MTU is the smallest MTU on the path. Tunnels (IPsec VPNs to partners, GRE, VXLAN overlays, some cloud interconnects) add headers and shrink it. Normally Path MTU Discovery works: a router that cannot forward a large packet with the "don't fragment" bit set returns ICMP "fragmentation needed" (IPv4 type 3 code 4; IPv6 "packet too big"), and the sender lowers its packet size.

When a firewall drops that ICMP, you get a black hole:

  • TCP handshake works (small packets).
  • Small requests and responses work.
  • Anything that needs full-size packets hangs: TLS handshakes with large certificate chains, file uploads, large JSON responses, database result sets, SSH sessions that freeze on ls of a big directory.
  • Retransmissions of the same large segment appear in captures, never acknowledged.

Diagnose:

# Linux: 1472 bytes of ICMP payload + 28 bytes of headers = 1500; -M do forbids fragmentation
ping -M do -s 1472 198.51.100.7
ping -M do -s 1372 198.51.100.7 # step down until it works to find the path MTU
# macOS equivalent: ping -D -s 1472 198.51.100.7
tracepath 198.51.100.7 # reports the discovered PMTU along the path (Linux)
ip link show eth0 | grep mtu

Fix (in order of preference): allow ICMP "fragmentation needed / packet too big" through firewalls; clamp TCP MSS on the tunnel or gateway (e.g. iptables -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu, or the equivalent setting on the VPN device); lower the interface MTU on the hosts using the tunnel. Note that some cloud networks use jumbo frames internally (≈9001 bytes) but 1500 over internet and VPN paths — traffic crossing that boundary depends on PMTUD working.

Packet capture essentials​

# Capture one conversation to a file (on the client and, if possible, the server)
sudo tcpdump -i any -nn -s 0 -w /tmp/partner.pcap host 198.51.100.7 and port 443

# Only SYNs and RSTs: who is refusing or resetting?
sudo tcpdump -i any -nn 'tcp[tcpflags] & (tcp-syn|tcp-rst) != 0 and port 5432'

# DNS traffic from a pod's node
sudo tcpdump -i any -nn udp port 53

# Analyse: retransmissions and resets
tshark -r /tmp/partner.pcap -Y 'tcp.analysis.retransmission || tcp.flags.reset == 1'
tshark -r /tmp/partner.pcap -q -z conv,tcp
  • Capture on both ends when two parties disagree ("we sent it" / "we never got it"); the difference between the two captures locates the problem (a middlebox in between).
  • Decrypting TLS in a test environment: many clients (curl, browsers) write session keys to the file named by SSLKEYLOGFILE; in Go set tls.Config.KeyLogWriter. Load the key log in Wireshark. Never do this with production customer traffic.
  • Captures contain customer data (PII, card data in bad cases). Follow your data-handling policy: limit snap length, filter tightly, store securely, delete afterwards. In PCI scope this is audited.

Trade-offs​

ApproachStrengthsWeaknessesChoose when
Synthetic probes (curl/blackbox exporter from several locations)Continuous, per-phase timings, catches DNS/TLS/cert issues earlyNot real user traffic; probe paths can differEvery critical endpoint and partner dependency
Real-user monitoring and client metricsReal paths, devices, networksNoisy; limited detail below HTTPConsumer web and mobile apps
Distributed tracingAttribution across servicesLittle visibility below the application layerMicroservice latency questions
Kernel/socket metrics (nstat, ss, conntrack, NIC counters) exported continuouslyShows retransmits, overflows and drops before users noticeNeeds node-level agents and interpretationGateways, proxies, high-traffic nodes
Flow logs (VPC flow logs, firewall logs)Who talked to whom, accepted/rejectedDelayed, sampled, no payloadSecurity group / NACL / routing questions
Packet captureGround truthPrivileged, heavy, sensitive data, point-in-timeWhen metrics disagree or the cause is below HTTP
Ad hoc commands during incidentsFast, flexibleNot repeatable; easy to test from the wrong placeFirst minutes of an incident, with notes

In practice​

A layered probe in Go​

A small tool that reports exactly which layer fails, with timings — useful as a sidecar check against partner endpoints, or run from a debug pod.

package main

import (
"bufio"
"context"
"crypto/tls"
"flag"
"fmt"
"net"
"net/http"
"os"
"time"
)

func main() {
host := flag.String("host", "www.example.com", "hostname")
port := flag.String("port", "443", "TCP port")
path := flag.String("path", "/", "HTTP path")
timeout := flag.Duration("timeout", 3*time.Second, "timeout per step")
flag.Parse()

step := func(name string, fn func(ctx context.Context) (string, error)) {
ctx, cancel := context.WithTimeout(context.Background(), *timeout)
defer cancel()
start := time.Now()
detail, err := fn(ctx)
took := time.Since(start).Round(time.Millisecond)
if err != nil {
fmt.Printf("FAIL %-4s %7s %v\n", name, took, err)
os.Exit(1)
}
fmt.Printf("ok %-4s %7s %s\n", name, took, detail)
}

var addrs []string
step("dns", func(ctx context.Context) (string, error) {
var err error
addrs, err = net.DefaultResolver.LookupHost(ctx, *host)
return fmt.Sprint(addrs), err
})

var conn net.Conn
step("tcp", func(ctx context.Context) (string, error) {
var d net.Dialer
var err error
conn, err = d.DialContext(ctx, "tcp", net.JoinHostPort(addrs[0], *port))
if err != nil {
return "", err
}
return "connected to " + conn.RemoteAddr().String(), nil
})
defer conn.Close()

var tc *tls.Conn
step("tls", func(ctx context.Context) (string, error) {
tc = tls.Client(conn, &tls.Config{ServerName: *host, NextProtos: []string{"http/1.1"}})
if err := tc.HandshakeContext(ctx); err != nil {
return "", err
}
st := tc.ConnectionState()
leaf := st.PeerCertificates[0]
days := int(time.Until(leaf.NotAfter).Hours() / 24)
return fmt.Sprintf("%s %s, issuer %q, expires in %d days",
tls.VersionName(st.Version), tls.CipherSuiteName(st.CipherSuite), leaf.Issuer.CommonName, days), nil
})

step("http", func(ctx context.Context) (string, error) {
if dl, ok := ctx.Deadline(); ok {
if err := tc.SetDeadline(dl); err != nil {
return "", err
}
}
req, err := http.NewRequestWithContext(ctx, http.MethodGet, "https://"+*host+*path, nil)
if err != nil {
return "", err
}
req.Header.Set("Connection", "close")
if err := req.Write(tc); err != nil {
return "", err
}
resp, err := http.ReadResponse(bufio.NewReader(tc), req)
if err != nil {
return "", err
}
defer resp.Body.Close()
return resp.Status, nil
})
}

Run it as go run . -host api.partner-bank.example -path /health from the pod that is failing and from one that works.

Recurring production incidents​

IncidentSymptomLikely causeConfirmFix
Sporadic 502s at the load balancerLow rate of 502s, more at low trafficBackend keep-alive idle timeout shorter than LB idle timeoutLB logs show backend connection closed/reset; compare timeoutsBackend idle timeout > LB idle timeout
"Cannot assign requested address"Outbound calls fail under loadEphemeral port exhaustion (TIME_WAIT) on host or NATss -tan state time-wait | wc -l; NAT port-allocation error metricConnection pooling; see TCP & UDP
Random packet drops on busy nodesTimeouts on new connectionsConntrack table fulldmesg "nf_conntrack: table full"; conntrack -SRaise nf_conntrack_max, reduce short-lived connections, tune timeouts
Exactly 5 s delays in Kubernetesp99 at ≈5 s for outbound callsDNS UDP drops (conntrack race), resolver retryCoreDNS metrics; tcpdump shows unanswered query then retryNodeLocal DNSCache, ndots, see DNS
Total outage of one integration at a precise minuteAll calls fail with TLS errorsExpired certificate (ours, theirs, or a client cert)openssl s_client datesRenew; add expiry monitoring for all certs
Works in browser, fails from servicesunknown authority in Go/JavaMissing intermediate after a cert renewal-showcerts returns only the leafServe the full chain
Partner VPN: small calls OK, large ones hangTimeouts on uploads, big responses, some TLS handshakesMTU black holeping -M do -s sizes; tcpdump retransmits of full-size segmentsMSS clamping, allow ICMP PTB, lower MTU
First query of the morning hangsLong hang then error, then everything fineFirewall silently dropped idle DB/partner connectionsPool metrics; captures show retransmits with no replyPool idle timeout and keep-alive below firewall timeout; app timeouts
Connect latency ≈1 s / 3 s under spikesConnect-time histogram has stepsAccept queue overflow or SYN dropsnstat TcpExtListenOverflows, listener Recv-QFaster accept loop, larger backlog, more replicas, LB in front
Traffic works one way onlySYN-ACK never arrives; or responses blockedAsymmetric routing, stateless NACL missing ephemeral return ports, missing route in peer VPCFlow logs (REJECT), route tables, tcpdump on both sidesFix routes/NACLs; symmetric paths through stateful firewalls
One AZ slower than othersLatency or errors only from pods in one AZCross-AZ hairpin (e.g. single NAT gateway), noisy neighbour, AZ issueCompare per-AZ metrics; traceroute from each AZPer-AZ NAT/endpoints, shift traffic away from the AZ

Playbook​

  1. Define the blast radius. Which clients, endpoints, regions, AZs, partners? All requests or a percentage? Since when (exact timestamp)? Error or latency? Get one concrete failing example (request ID, time, source, destination).
  2. Check recent changes. Deploys, config changes (LB, firewall, DNS, certificates), infrastructure events, partner maintenance notices. Most incidents correlate with a change.
  3. Mitigate if the impact is high. Roll back, fail over to another region/AZ, drain the bad node, switch to a backup partner route. You can root-cause afterwards.
  4. Reproduce from the failing vantage point with the layer-by-layer checks: dig → nc -vz → openssl s_client → curl -v → curl -w. Compare with a working vantage point.
  5. Read the metrics that already exist: LB metrics (target errors, response time, rejected connections), NAT gateway errors, CoreDNS metrics, node TCP counters (retransmits, overflows), conntrack usage, application client metrics per dependency.
  6. Narrow the path. Bypass components to find the culprit: call the backend directly (--resolve), skip the proxy, try a different AZ or egress IP, try from inside vs outside the VPC.
  7. Capture packets at both ends of the suspicious segment when metrics are inconclusive, with tight filters and a time window around a reproduction.
  8. Fix, verify, and monitor the specific signal that proved the cause (e.g. retransmit rate back to baseline, TIME_WAIT count stable).
  9. Write the post-incident review: timeline, detection gap, root cause, contributing factors, and preventive actions (alerts on cert expiry, synthetic probes per partner, runbook updates, timeout alignment). See Observability & SLOs.

Common pitfalls​

  • Testing from the wrong place. Your laptop uses a different resolver, egress IP, route and MTU from the pod.
  • Trusting ping. ICMP may be blocked or rate-limited; a host that does not answer ping can be perfectly healthy, and a host that answers ping can have a dead application.
  • Misreading mtr. Loss at hop 7 but 0% at the destination is ICMP rate limiting at hop 7, not packet loss.
  • Using curl -k and declaring TLS fine. -k skips exactly the verification that is failing.
  • Forgetting SNI. openssl s_client without -servername may return the default certificate and send you chasing a fake hostname mismatch.
  • Looking at averages. Packet loss shows up in p99, not p50; DNS timeouts show up as a spike at 5 s.
  • Capturing on one side only when two parties disagree.
  • Raising timeouts as the fix. Longer timeouts hide the problem and increase resource pile-ups; find why the phase is slow.
  • Leaving debug tooling and captures behind. Packet captures with customer data on a node are a compliance incident of their own.

Interview angle​

  • "A service intermittently times out calling a partner bank API. How do you debug it?" Scope (which pods/AZs, how often, since when), recent changes, per-phase timing (DNS/connect/TLS/TTFB) from the failing pods, NAT and connection-pool metrics, certificate validity, MTU over the VPN, packet capture on our egress and request the partner's logs for a request ID; mitigations (retries with idempotency keys, circuit breaker, alternate route).
  • "Users in one country report slowness." RUM by region, synthetic probes, traceroute/mtr from that region, CDN PoP and DNS answers for that region, peering/routing changes.
  • Strong answers show a method (layers, vantage points, compare good vs bad), name concrete tools and what output would confirm each hypothesis, and end with prevention (monitoring that would have caught it).
  • Red flags: jumping straight to "increase the timeout" or "restart it", relying on ping, not knowing how to check certificates or DNS from the command line.

Self-check​

1. curl shows dns=0.004, connect=1.012, tls=1.060, ttfb=1.120. What does this suggest, and what do you check next?

TCP connect took about a second while TLS and server time are small. A ≈1 s connect is the classic signature of the first SYN being dropped and retransmitted after the initial 1 s RTO. Check for accept-queue overflows on the server (nstat TcpExtListenOverflows, listener Recv-Q), conntrack table drops, security group/NACL changes, and LB connection limits; capture SYNs with tcpdump to see which side drops them.

2. mtr shows 40% loss at hop 6 and 0% loss at the final hop. Is there packet loss on the path?

No. If packets were really being lost at hop 6, every subsequent hop would also show loss. The router at hop 6 is rate-limiting or deprioritizing ICMP responses to probes directed at itself, while forwarding traffic normally. Only loss that persists to the destination indicates real loss.

3. After setting up a VPN to a partner bank, health checks pass but settlement file uploads hang. What is your hypothesis and how do you prove it?

An MTU black hole: the tunnel reduced the path MTU and ICMP "fragmentation needed" is filtered, so full-size packets are dropped while small ones (health checks, handshakes) pass. Prove it with ping -M do -s 1472 failing while smaller sizes succeed, tracepath, and a capture showing retransmissions of full-size segments with no ACK. Fix with MSS clamping on the VPN gateway or by allowing the ICMP messages.

4. A Go service fails with “x509: certificate signed by unknown authority” to a partner whose site works in Chrome. What are the two most likely causes?

The partner's server sends only the leaf certificate without intermediates (Chrome can complete the chain from cache or by fetching it; Go does not), or the partner uses a private/enterprise CA that is not in the service's trust store (the browser may have it via corporate policy). openssl s_client -showcerts -servername shows which.

5. Your p50 latency to a dependency is unchanged but p99 tripled. Which network issue fits, and which tools confirm it?

Packet loss fits: most requests are unaffected, but those hitting a lost segment wait for retransmission (≈200 ms minimum RTO on Linux, plus backoff). Confirm with retransmission counters (nstat TcpRetransSegs, ss -ti retrans), mtr loss persisting to the destination, and a capture analyzed for tcp.analysis.retransmission. Also rule out DNS (spikes at ≈5 s) and server-side tail latency (traces).

6. Order the first five steps you take when paged for “checkout errors spiking”.

(1) Establish scope and start time from dashboards: which endpoint, error type, region/AZ, percentage. (2) Check recent changes: deploys, config, certificates, DNS, partner notices. (3) Mitigate if impact is high: rollback, failover, drain. (4) Reproduce from the affected vantage point layer by layer (DNS, TCP, TLS, HTTP, timings) and compare with a healthy path. (5) Correlate with infrastructure metrics (LB errors, NAT, DNS, node TCP counters) and traces to localize the failing hop.

🧠 Flashcards0/10 learned · 0 retries

Exercise​

Build a small fault-injection lab (Linux VM or Docker with --cap-add NET_ADMIN):

  1. Baseline. Run a Go HTTP server in one container and a client container. Record curl -w timings, ping RTT, and iperf3 throughput between them.
  2. Latency. tc qdisc add dev eth0 root netem delay 100ms on the server container. Predict, then measure, the change in each curl phase.
  3. Loss. Replace with tc qdisc change dev eth0 root netem delay 20ms loss 2%. Run 1,000 requests and compare p50 vs p99; inspect ss -ti and nstat -az TcpRetransSegs; capture and filter retransmissions with tshark.
  4. DNS. Point the client at a resolver that does not exist (edit /etc/resolv.conf in the container) and observe the timing signature; then restore it.
  5. TLS. Serve an expired certificate (recent OpenSSL 3.x releases: openssl req -x509 ... -not_before 20240101000000Z -not_after 20240201000000Z) and a chain missing the intermediate; record the exact error messages from curl, openssl and the Go probe.
  6. MTU. ip link set dev eth0 mtu 1400 on a router/middle container with ICMP blocked via iptables -A OUTPUT -p icmp --icmp-type fragmentation-needed -j DROP; reproduce the "small works, large hangs" pattern; fix with MSS clamping.

Clean up with tc qdisc del dev eth0 root and by removing the iptables rules.

Done when: for each injected fault you have written the signature you observed (which tool, which number changed) and the command that confirmed it — effectively your own runbook.

Further reading​

  • Systems Performance (2nd ed.) — Brendan Gregg, networking chapter and the USE method.
  • TCP/IP Illustrated, Volume 1 (2nd ed.) — Kevin Fall & W. Richard Stevens.
  • Practical Packet Analysis — Chris Sanders (Wireshark-based troubleshooting).
  • Julia Evans — zines "Bite Size Networking" and "Networking! ACK!" and her blog posts on tcpdump and dig.
  • Wireshark User's Guide — display filters and TCP analysis.
  • man 8 ss, man 8 tcpdump, man 8 mtr, man 1 curl (--write-out variables).
Finished this page?

Do the self-check first. Marking it complete schedules spaced reviews (1, 3, 7, 14, 30… days).