Chapter 3. Analyzing the TCP Network

TCP is intended to be a host-to-host protocol in common use in multiple networks. In this chapter, we will analyze the TCP protocol in detail with lab exercises and examples.

This chapter covers the following topics:

  • Recapping TCP
  • TCP connection establishment and clearing
  • TCP troubleshooting
  • TCP latency issues
  • Wireshark TCP sequence analysis

Recapping TCP

Transmission Control Protocol (TCP) was first defined in RFC 675, and the v4 specification came out in RFC 793. TCP provides:

  • Connection-oriented setup and tear-down of TCP sessions
  • The service sends and receives a stream of bytes, not messages, and guarantees that all bytes received will be identical with bytes sent and in the correct order
  • Reliable, in-order delivery, ...

Get Packet Analysis with Wireshark now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.