Académique Documents
Professionnel Documents
Culture Documents
Objectives
Describe TCP functions and processes Identify ports used for services and clients
TCP Operation
TCP operation
IP makes no guarantees about delivery. The transport layer is responsible for the reliable transport of and regulation of data flow from source to destination.
TCP Synchronization
TCP is a connection-oriented protocol. Prior to data transmission, the two communicating hosts go through a synchronization process to establish a virtual connection. This insures that both sides are ready for data transmission and allows the devices to determine the initial sequence numbers. This process is known as a three-way handshake.
3-way Handshake
SYN Flooding
One type of DoS is SYN flooding which exploits the normal three-way handshake and causes targeted devices to ACK to fake source addresses that will not complete the handshake. To defend against these attacks, decrease the connection timeout period and increase the connection queue size. Software also can detect these types of attacks and initiate defensive measures.
Sequencing numbers
Positive ACK
With positive acknowledgment and retransmission (PAR), the source sends a packet, starts a timer, and waits for an acknowledgment before sending the next packet. If the timer expires before the source receives an acknowledgment, the source retransmits the packet and starts the timer over again.
UDP operation
UDP does not use windowing or acknowledgments so application layer protocols must provide error detection.
Port Number
Port numbers have the following assigned ranges:
Below 255: reserved for public applications From 255-1023:assigned to companies for marketable applications Above 1023: unregulated
Port numbers in the range of 0-1023 are controlled by the Internet Assigned Numbers Authority (IANA).
Port numbers are located at the transport layer and are serviced by the network layer. The network layer assigns the logical address (IP address) and is then serviced by the data link layer which assigns the physical address (MAC address).
Summary
TCP synchronization process Denial-of-service attacks Windowing and window size Sequencing numbers and positive ACK Multiple conversations between hosts Ports for services and ports for clients
CCNA2 Module10