Networking, DNS & TLS
TCP three way handshake
Explain the TCP three-way handshake and what each SYN, SYN-ACK and ACK packet carries, and how a one-second pause before a connection can point to a lost SYN.
What you will be able to do
- Explain what each packet of the three-way handshake carries.
- Decide from a capture whether a connection delay comes from a lost SYN or the application.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Networking, DNS & TLS
- NAT and PATIntermediate · 4 min
Explain how NAT and PAT rewrite addresses and ports through a binding table, why inbound access needs a static mapping, and why idle bindings can expire while the link…
- Conntrack table exhaustionIntermediate · 4 min
Explain how the conntrack table tracks each flow, why its timeouts decide how many entries stay, and how to tell a full table from a CPU or memory limit.
- TCP retransmissionAdvanced · 4 min
Explain how TCP computes its retransmission timeout from round-trip time and its variation, doubles it after each timeout, and how to measure loss before tuning anything.
- UDP behaviorAdvanced · 4 min
Explain what the UDP header contains and what UDP leaves out, such as acknowledgement and retransmission, and how to find datagrams dropped silently at a full receive…
- DNS recursive resolutionAdvanced · 4 min
Explain how a recursive resolver follows referrals from the root to the zone's name servers and caches each step, and how to find the slow step with dig.
- DNS caching and TTLAdvanced · 5 min
Explain how a TTL limits how long a cache keeps a record, why each cache counts down its own copy, and why a DNS change takes up to the old TTL to reach everyone.