Lesson map
Lesson 02 published. Map, example, EX005.
flowchart TD
N0["Learning outcomes"]
N1["2.1 A request step by step"]
N2["2.2 What each layer protects"]
N3["2.3 Symptoms by layer"]
N4["Synthesis"]
N0 --> N1 --> N2 --> N3 --> N4
N4 --> EX["Worked example"]
EX --> Q["Exercise EX005"]
Logical drawing
flowchart LR
N0["Learning outcomes"]
N1["2.1 A request step by step"]
N2["2.2 What each layer protects"]
N3["2.3 Symptoms by layer"]
N4["Synthesis"]
N0 --> N1 --> N2 --> N3 --> N4 --> Q["EX005"]
[Learning outcomes]
|
v
[2.1 A request step by step]
|
v
[2.2 What each layer protects]
|
v
[2.3 Symptoms by layer]
|
v
[Synthesis]
|
v
[Worked example] --> [Exercise EX005]
Learning outcomes
You will (1) trace a tracking-portal request through DNS, TCP and TLS; (2) explain what each layer protects; (3) match common symptoms to the layer that failed.
2.1 A request step by step
When a customer opens track.lumen.example, the browser first asks DNS for an address, then opens a TCP connection to port 443, then runs a TLS handshake, and only then sends the HTTP request carrying the parcel number. Tomás draws these steps as four boxes. He notes that plain DNS is not encrypted or authenticated, so a forged answer could send the browser to the wrong host. TLS limits the damage: the impostor cannot present a valid certificate for the Lumen name, so the browser stops. That is why certificate validation must never be switched off, even during testing.
2.2 What each layer protects
TCP gives ordered delivery but no secrecy; anyone on the path can read and change plain TCP data. TLS 1.3, specified in RFC 8446, adds confidentiality through authenticated encryption, integrity of every record and authentication of the server through its certificate. It does not hide the server's IP address, and in most deployments the requested name is still visible in the handshake. Tomás writes this down because a manager once claimed that TLS makes traffic invisible. Being precise about what a layer does and does not protect is the first step to diagnosing a failure correctly.
2.3 Symptoms by layer
Priya gives Tomás a list of help-desk tickets. A name that does not resolve is a DNS problem. A connection that times out points to routing or a firewall at the TCP layer. A browser warning about an untrusted or expired certificate is a TLS problem. A page that loads but shows an error message is an application problem. Sorting tickets by layer saves time, because each layer has different tools: dig or nslookup for DNS, a port test for TCP, a handshake test for TLS and the server logs for the application.
Worked example
Tomás sorts eight synthetic tickets into DNS, TCP, TLS and application, and attaches the matching first diagnostic tool to each.
Synthetic case. Ticket texts and hostnames are invented; RFC 8446 is real.
Errors and limits
Real faults can span layers, such as a firewall that breaks TLS by intercepting it. Layer sorting is a starting hypothesis, not a verdict.
Exercises
- EX005 — Order of steps. List the four steps before the parcel number reaches the portal.
Show marking criteria
Rubric: 3 = DNS lookup, TCP connect, TLS handshake, HTTP request;; 2 = three in order;; 1 = unordered;; 0 = none. - EX006 — Forged DNS answer. Why does a forged DNS answer usually fail to steal a TLS session?
Show marking criteria
Rubric: 3 = the impostor cannot present a valid certificate for the name so validation fails;; 2 = mentions certificate;; 1 = says DNS is encrypted;; 0 = none. - EX007 — Visible in TLS. Give two things TLS does not hide from an on-path observer.
Show marking criteria
Rubric: 3 = server IP address and usually the requested name (SNI), plus traffic timing or size;; 2 = one item;; 1 = claims everything hidden;; 0 = none. - EX008 — Ticket to layer. A ticket says the browser shows the certificate has expired. Which layer and first tool?
Show marking criteria
Rubric: 3 = TLS layer; run a handshake test and read the certificate dates;; 2 = layer only;; 1 = wrong layer;; 0 = none.
Synthesis
Diagnosing network problems starts with knowing which layer protects what and which tool inspects each layer.
Continue studying — chapter 02 of 18
← Chapter 01 (draft) · Course chapter index · Chapter 03 (draft) →