Summary
Transmission Control Protocol - Wikipedia
Highlights
Introduction and Historical Origin
TCP is a core protocol of the Internet protocol suite providing reliable, ordered, and error-checked delivery of octets between applications on IP networks. Originating in 1974 through work by Vint Cerf and Bob Kahn, TCP complements IP, leading to the TCP/IP suite. It was standardized in January 1980 as RFC 761 and remains fundamental for applications like the World Wide Web, email, and file transfer.
Network Function and Segment Structure
TCP operates at the transport layer, abstracting networking details from applications. It handles handshaking, transmission details, packet loss, duplication, and out-of-order delivery using positive acknowledgment with retransmission. TCP segments consist of a header and data section, with the header containing mandatory fields like Source Port, Destination Port, Sequence Number, Acknowledgment Number, and various control flags including SYN, ACK, and FIN.
Protocol Operation
TCP operation includes connection establishment via a three-way handshake, data transfer, and connection termination via a four-way handshake. The protocol manages socket states such as LISTEN, ESTABLISHED, and TIME-WAIT. Resource usage involves Transmission Control Blocks that map sessions to processes, identified by source and destination IP addresses and ports.
Reliability and Flow Control
TCP ensures reliable transmission through sequence numbers and acknowledgments, using retransmission timeout and duplicate ACKs to detect loss. Flow control uses a sliding window mechanism to prevent senders from overwhelming receivers. Congestion control algorithms including slow start, congestion avoidance, fast retransmit, and fast recovery manage network load and prevent congestive collapse.
Advanced Features and Vulnerabilities
TCP supports extensions such as selective acknowledgments, window scaling, TCP timestamps, and Multipath TCP. Notable vulnerabilities include denial of service attacks like SYN floods, connection hijacking, TCP veto, and reset attacks. The protocol also faces challenges with head-of-line blocking and protocol ossification due to middleboxes modifying metadata.
Recently Summarized Articles
Related summaries
- Founder Mode
- When America knew what it was defending
- Press Information Bureau: All Press Releases
- YouTube Video Summarizer - Free AI, No Login | Shorty AI
- Survival Library
- Survival Library Emergency Preparedness Guide