Annex C07 Transport Layer Flashcards
Transmission Control Protocol (TCP)
Connection oriented protocol that incurs over twice the overhead of UDP IOT gain additional functionality
Provides:
- reliable delivery - error recovery - flow control - congestion control - ordered delivery - connection establishment
User Datagram Protocol (UDP)
Simple connectionless delivery method. Low overhead that works well with high bandwidth applications such as voice/video
Command used to view ports being used on a PC
netstat
Well Known Ports
Ports 0-1023 are reserved fro commonly used services and applications
21 FTP 23 Telnet 25 SMTP 80 HTTP 110 POP3 194 Internet Relay Chat (IRC) 443 Secure HTTPS
Registered Ports
Ports 1024-49151, primarily ports assigned to applications that a user might decide to install.
1863 MSN Messenger
8008 Alternate HTTP
8080 Alternate HTTP
Dynamic/Private Ports
Ports 49152-65535 are usually assigned dynamically to client applications as they initiate connections.
How ports are used to establish a Transmission Control Protocol (TCP)
Client computer will use a unique and random port number as the source port (DYNAMIC) and request a web page from a server with the destination port of 80 (WELL KNOWN). The server will establish a connection with its source port being port 80 and the destination port being the same random port that originated the request for the web page
Purpose of Order Delivery in relation to the functions of TCP
The SEQUENCE NUMBER is the next part of the TCP header field that we will examine, this provides the ordered delivery for TCP
Sequence the steps of the TCP connection process in chronological order of the TCP 3 Way Handshake
- Initiating client sends a synchronization “syn” segment requesting to start a comm session
- The distant end responds with an acknowledgment of the synch request, a “syn.ack.” The distant end then sends its own syn request to initiate the flow of info back to the initiating client.
- The initiating client responds with an “ack” of the distant end’s “synch”
Reliable Delivery
TCPP provides reliable delivery on top of unreliable IP
Window Size
Listed in the TCP header, is the amount of data that a source can transmit before an acknowledgment must be received.
How TCP dynamically changes Window Size to overcome network congestion
Since the goal of TCP is to guarantee info delivery, the window size will flex to fit the quality of the connection and the bandwidth available.
Flow Control
Flow control and window size together account for congestion control
Flow control (buffers)
Match transport layer protocol to its header size
Fields of the TCP header enable TCP to provide connection oriented, reliable data comm
UDP header contains source port, destination port, UDP length, checksum, and data