Network Troubleshooting
- 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 -tishows per-connection RTT, congestion window and retransmits;nstatshows 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:
- 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 debugor an ephemeral debug container with network tools is invaluable. - Change one thing at a time and keep notes with timestamps; incidents are reconstructed later from those notes.
The toolkit
| Tool | Layer | What it answers | Caveats |
|---|---|---|---|
ping | L3 (ICMP) | Is the host reachable, RTT, loss | ICMP is often blocked or deprioritized; no reply ≠ host down |
traceroute / tracert | L3 | Path and per-hop RTT via TTL expiry | Linux uses UDP by default (-T for TCP SYN, -I for ICMP); hidden hops, asymmetric paths |
mtr | L3 | Continuous traceroute with per-hop loss and jitter | Loss at a middle hop that disappears later is ICMP rate limiting, not real loss; use --tcp -P 443 for TCP probes |
dig / nslookup / getent hosts | DNS | What a resolver returns, TTLs, which server answered, timing | getent uses the system resolver path (nsswitch); dig bypasses it |
nc -vz host port | L4 | Can a TCP connection be opened? | Proves the port, not the protocol |
curl -v / curl -w | L4–L7 | Full request with headers; per-phase timing | Pass --resolve to test a specific IP; -k hides cert problems |
openssl s_client | TLS | Protocol, cipher, chain, SNI behaviour, mTLS | Always pass -servername; use -showcerts to see the chain |
ss (or netstat) | L4 | Socket states, queues, per-connection RTT/cwnd/retransmits (-ti) | Run on the host/pod involved |
nstat / netstat -s | L3/L4 | Kernel counters: retransmits, listen overflows, resets | Look at deltas, not absolute values |
conntrack -S / dmesg | L3/L4 | Conntrack table usage and drops | "nf_conntrack: table full, dropping packet" is decisive |
tcpdump | L2–L7 | What actually went over the wire | Needs privileges; capture on both ends; mind PII |
Wireshark / tshark | L2–L7 | Analysis: retransmissions, RTT graphs, TLS details | TLS payloads need key logs to decrypt |
iperf3 | L4 | Achievable throughput and loss between two hosts | Needs a server on the far side; separate from app performance |
ip addr / ip route / ip link | L2/L3 | Addresses, routes, MTU of interfaces | In containers, check inside the network namespace |
ethtool -S | L1/L2 | NIC errors and drops | Driver-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:
| Phase | Formula | If it is large |
|---|---|---|
| DNS | dns | Resolver slow or failing over; search-domain expansion; negative caching |
| TCP | connect − dns | Long RTT (distance), SYN drops (≈1 s/3 s steps), overloaded LB |
| TLS | tls − connect | Long RTT × handshake round trips, slow OCSP/CRL fetches on the server, large cert chains plus loss, CPU-starved terminator |
| Server wait | ttfb − tls | Application, upstream dependencies, database, queueing |
| Transfer | total − ttfb | Large 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
| Problem | Signature | Confirm with |
|---|---|---|
| Pure latency (distance, routing change) | Every phase scales with RTT; p50 and p99 both higher; no retransmits | ping/mtr RTT, ss -ti rtt:; traceroute shows the path changed (e.g. traffic hairpinning through another region) |
| Packet loss | p50 fine, p99/p999 spikes (≈200 ms+ minimum RTO on Linux, then doubling), throughput collapses on long transfers | ss -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 s | nstat TcpExtListenOverflows, ss -lnt (Recv-Q vs Send-Q on listeners), dmesg conntrack messages |
| DNS | Delay before connect; ≈5 s spikes; NXDOMAIN/SERVFAIL errors; only some hosts or pods affected | dig against the configured resolver vs another; CoreDNS metrics and logs; /etc/resolv.conf |
| TLS | Fails at handshake with a specific alert, or the TLS phase is slow | openssl s_client output, server/proxy TLS logs |
| Server-side | TTFB large, network phases normal | Traces and app metrics; LB "target response time" |
TLS failures
| Error (typical wording) | Usual cause | Check |
|---|---|---|
certificate has expired / not yet valid | Expired cert, or client clock skew | openssl x509 -noout -dates; check NTP on the client |
unable to get local issuer certificate / x509: certificate signed by unknown authority | Server not sending intermediates; private CA not in client trust store | openssl s_client -showcerts: count the certs in the chain |
hostname mismatch / certificate is valid for X, not Y | SAN does not include the name used; missing or wrong SNI | -servername; inspect subjectAltName |
handshake failure, no shared cipher, protocol version | Version/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 alert | mTLS: client cert missing, expired, wrong EKU, or signed by a CA the server does not trust | openssl s_client -cert client.crt -key client.key; server logs |
| Handshake hangs | MTU black hole (large certificate flight dropped), middlebox interference | tcpdump 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
lsof 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 settls.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
| Approach | Strengths | Weaknesses | Choose when |
|---|---|---|---|
| Synthetic probes (curl/blackbox exporter from several locations) | Continuous, per-phase timings, catches DNS/TLS/cert issues early | Not real user traffic; probe paths can differ | Every critical endpoint and partner dependency |
| Real-user monitoring and client metrics | Real paths, devices, networks | Noisy; limited detail below HTTP | Consumer web and mobile apps |
| Distributed tracing | Attribution across services | Little visibility below the application layer | Microservice latency questions |
Kernel/socket metrics (nstat, ss, conntrack, NIC counters) exported continuously | Shows retransmits, overflows and drops before users notice | Needs node-level agents and interpretation | Gateways, proxies, high-traffic nodes |
| Flow logs (VPC flow logs, firewall logs) | Who talked to whom, accepted/rejected | Delayed, sampled, no payload | Security group / NACL / routing questions |
| Packet capture | Ground truth | Privileged, heavy, sensitive data, point-in-time | When metrics disagree or the cause is below HTTP |
| Ad hoc commands during incidents | Fast, flexible | Not repeatable; easy to test from the wrong place | First 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
| Incident | Symptom | Likely cause | Confirm | Fix |
|---|---|---|---|---|
| Sporadic 502s at the load balancer | Low rate of 502s, more at low traffic | Backend keep-alive idle timeout shorter than LB idle timeout | LB logs show backend connection closed/reset; compare timeouts | Backend idle timeout > LB idle timeout |
| "Cannot assign requested address" | Outbound calls fail under load | Ephemeral port exhaustion (TIME_WAIT) on host or NAT | ss -tan state time-wait | wc -l; NAT port-allocation error metric | Connection pooling; see TCP & UDP |
| Random packet drops on busy nodes | Timeouts on new connections | Conntrack table full | dmesg "nf_conntrack: table full"; conntrack -S | Raise nf_conntrack_max, reduce short-lived connections, tune timeouts |
| Exactly 5 s delays in Kubernetes | p99 at ≈5 s for outbound calls | DNS UDP drops (conntrack race), resolver retry | CoreDNS metrics; tcpdump shows unanswered query then retry | NodeLocal DNSCache, ndots, see DNS |
| Total outage of one integration at a precise minute | All calls fail with TLS errors | Expired certificate (ours, theirs, or a client cert) | openssl s_client dates | Renew; add expiry monitoring for all certs |
| Works in browser, fails from services | unknown authority in Go/Java | Missing intermediate after a cert renewal | -showcerts returns only the leaf | Serve the full chain |
| Partner VPN: small calls OK, large ones hang | Timeouts on uploads, big responses, some TLS handshakes | MTU black hole | ping -M do -s sizes; tcpdump retransmits of full-size segments | MSS clamping, allow ICMP PTB, lower MTU |
| First query of the morning hangs | Long hang then error, then everything fine | Firewall silently dropped idle DB/partner connections | Pool metrics; captures show retransmits with no reply | Pool idle timeout and keep-alive below firewall timeout; app timeouts |
| Connect latency ≈1 s / 3 s under spikes | Connect-time histogram has steps | Accept queue overflow or SYN drops | nstat TcpExtListenOverflows, listener Recv-Q | Faster accept loop, larger backlog, more replicas, LB in front |
| Traffic works one way only | SYN-ACK never arrives; or responses blocked | Asymmetric routing, stateless NACL missing ephemeral return ports, missing route in peer VPC | Flow logs (REJECT), route tables, tcpdump on both sides | Fix routes/NACLs; symmetric paths through stateful firewalls |
| One AZ slower than others | Latency or errors only from pods in one AZ | Cross-AZ hairpin (e.g. single NAT gateway), noisy neighbour, AZ issue | Compare per-AZ metrics; traceroute from each AZ | Per-AZ NAT/endpoints, shift traffic away from the AZ |
Playbook
- 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).
- Check recent changes. Deploys, config changes (LB, firewall, DNS, certificates), infrastructure events, partner maintenance notices. Most incidents correlate with a change.
- 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.
- 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. - 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.
- 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. - Capture packets at both ends of the suspicious segment when metrics are inconclusive, with tight filters and a time window around a reproduction.
- Fix, verify, and monitor the specific signal that proved the cause (e.g. retransmit rate back to baseline, TIME_WAIT count stable).
- 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 -kand declaring TLS fine.-kskips exactly the verification that is failing. - Forgetting SNI.
openssl s_clientwithout-servernamemay 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.
Exercise
Build a small fault-injection lab (Linux VM or Docker with --cap-add NET_ADMIN):
- Baseline. Run a Go HTTP server in one container and a client container. Record
curl -wtimings,pingRTT, andiperf3throughput between them. - Latency.
tc qdisc add dev eth0 root netem delay 100mson the server container. Predict, then measure, the change in each curl phase. - Loss. Replace with
tc qdisc change dev eth0 root netem delay 20ms loss 2%. Run 1,000 requests and compare p50 vs p99; inspectss -tiandnstat -az TcpRetransSegs; capture and filter retransmissions withtshark. - DNS. Point the client at a resolver that does not exist (edit
/etc/resolv.confin the container) and observe the timing signature; then restore it. - 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. - MTU.
ip link set dev eth0 mtu 1400on a router/middle container with ICMP blocked viaiptables -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-outvariables).
Related
- TCP & UDP — TIME_WAIT, retransmission, keep-alive and the mechanisms behind most signatures.
- DNS — resolver behaviour and Kubernetes DNS issues.
- TLS & HTTPS — certificates, chains and mTLS.
- OSI & TCP/IP Models — MTU, NAT and routing basics.
- What Happens When You Type a URL — the phases you are measuring.
- Linux Performance Analysis — host-level tools beyond networking.
- Observability & SLOs — metrics, traces and alerts that shorten incidents.
- High Availability & Disaster Recovery — mitigation options during incidents.
Do the self-check first. Marking it complete schedules spaced reviews (1, 3, 7, 14, 30… days).