Training series · NetFun III · level 3

Network Fundamentals III: transport, tunnels and the middleboxes

Layers 4 to 7 on the wire: the five numbers that name a conversation, UDP and TCP down to the window and the timer, the tunnels that wrap a connection, the proxies and load balancers that stand in the middle, the clocks, logs and counters that watch it all, and the method for finding a fault.

0 of 48 read

Kept in this browser

At the end: you will be able to follow one connection from socket to server through every box in the path, and know where to capture when it fails.

Before this series: NetFun II.

5 modules · 48 articles

Begin: part 1, Ports, sockets and the five-tuple: how a host and every box in the path tell one conversation from another →

How the series works

  1. Read the parts in order. Each one builds on the ones before it, and every part's page shows where you are in the series and what comes next.
  2. Each module ends with a stated outcome: what you will be able to do once you have read it.
  3. Practise on the tools each module names. They run in your browser, with nothing to install.
  4. Parts still being written are named in their places, so the series shows its whole shape from the start.

The series, module by module

  1. Module 1 Transport 8 parts

    Name any conversation by its five-tuple, decode a UDP header and its checksum by hand, and say which window or timer limits a TCP connection.

    1. 1 Ports, sockets and the five-tuple: how a host and every box in the path tell one conversation from another
    2. 2 UDP: the protocol that is a header
    3. 3 The TCP Connection Lifecycle: Handshake, Teardown, and Why Connections Fail Interactive
    4. 4 TCP flow and congestion control in one sitting: windows, slow start, loss and why latency is bandwidth Interactive
    5. 5 QUIC streams, loss and migration: what the transport promises and what it does not
    6. 6 Tunnel Overhead, MTU, and MSS: The Byte Math Every Tunnel Owes
    7. 7 The TCP Proxy: What a Layer 4 Middlebox Does and Does Not See
    8. 8 Retries, timeouts and idempotency: when the answer never arrives Interactive

    Practise with: tcpdump command and filter explainer · CGN port blocks and MAP port sets · MTU / MSS calculator · Python playground

    Interactive labs: Find what limits one TCP connection · Follow the congestion window round trip by round trip · Step through a TCP connection's states · Count the calls a failing service receives

  2. Module 2 Tunnels and VPNs 6 parts

    Say what a tunnel protects and what it costs in bytes, and choose between GRE, IPsec and WireGuard.

    1. 1 VPN Fundamentals: What Tunnels Protect, and What They Don't
    2. 2 GRE Tunnels: The Simplest Envelope in Networking
    3. 3 IPsec and IKE: How Encrypted Tunnels Negotiate Themselves
    4. 4 WireGuard: the argument that a tunnel should be small enough to read
    5. 5 Why the SSL-VPN is being dismantled, and what is actually replacing it
    6. 6 Zscaler Tunnel Types: Z-Tunnel, GRE, and IPsec, With the Numbers

    Practise with: MTU / MSS calculator · Zscaler Tunnel Chooser

  3. Module 3 Proxies and the ADC 11 parts

    Read a proxy or load balancer configuration as answers to who may take traffic and who must return where, and predict what it does when they disagree.

    1. 1 HTTP Proxies: Forward vs Reverse, Explicit vs Transparent
    2. 2 How a PAC File Chooses a Proxy
    3. 3 Load balancing: what actually decides where a request goes
    4. 4 Health checks, persistence and the two questions every load balancer answers
    5. 5 Load Balancers and ADCs: Built Against the Market Sizing
    6. 6 GSLB in Two Tiers: The Wide IP Picks a Pool, the Pool Picks a Server
    7. 7 Inbound TLS: Offload, Bridging, and Passthrough at the Reverse Proxy
    8. 8 HTTP/0.9 vs 1.0 vs 1.1 vs 2 vs 3: Five Versions of the Web's Protocol
    9. 9 HTTP Methods: The Verbs of the Web
    10. 10 HTTP Status Codes: The Five Families
    11. 11 HTTP Headers: The Anatomy of the Metadata

    Practise with: PAC file explainer and validator · HTTP status code explainer · HTTP methods comparison · BIG-IP LTM load balancing simulator · Persistence-method explainer

  4. Module 4 Time, logs and management planes 14 parts

    Read a syslog line, an SNMP packet and a flow record by hand, and reach a device when the network is down.

    1. 1 Time: The Dependency Nobody Lists
    2. 2 The Syslog PRI: One Number, Two Meanings
    3. 3 Syslog Facilities and Severities, Explained
    4. 4 Syslog Message Formats: RFC 3164 vs RFC 5424
    5. 5 Syslog on Network Devices: Which Facility Does What
    6. 6 How Syslog Travels: UDP, TCP, and TLS
    7. 7 Reading a syslog message field by field: what a parser checks, and where each rule comes from
    8. 8 Observability: The Temporary Protocol That Outlived Its Replacement
    9. 9 SNMP on network devices: polls, notifications, SNMPv3 security and the end of the community string
    10. 10 SNMP decoded: versions, communities, MIBs, OIDs and traps, byte by byte
    11. 11 Flow telemetry: NetFlow, sFlow and IPFIX, from the cache to the collector
    12. 12 Accounting: who did what, to which device, and when
    13. 13 What a network operating system actually is
    14. 14 Out-of-band management and the console that saves the night

    Practise with: Syslog PRI decoder + encoder · Syslog message parser · Log level mapper · SNMP counter wrap and rate calculator · Terminal, shell, TTY and console explainer

  5. Module 5 Troubleshooting method 9 parts

    Map the path, choose where to capture, and escalate with the evidence a vendor needs.

    1. 1 Map the Path Before You Troubleshoot
    2. 2 Capture Points Before Packets
    3. 3 The First Hour: Hypothesis-Driven Fault Isolation
    4. 4 Baselines Before You Need Them
    5. 5 Wireshark: the tool that made packets legible, and the stack underneath it
    6. 6 Root Cause Is a Verb, Not a Noun
    7. 7 Blast-Radius Thinking Before You Change Anything
    8. 8 TAC Cases That Get Triaged Fast
    9. 9 From First Symptom to a TAC Case That Does Not Bounce

    Practise with: Fault Hypothesis Builder · Packet Capture Plan Builder · Before/After Health Snapshot Comparator · TAC Escalation Packet Builder