TCP/UDP Flashcards
(26 cards)
session
Exchange of data between two devices
Session multiplexing
Destination port is used to identify the protocol being used and a random source port is chosen
Well-known port numbers
0-1023
Registered port numbers
1024 - 49151
Ephermeral/private port numbers
49152 - 65535
How is TCP connection oriented and reliable?
TCP connections must be established before data is exchanged. missing segments are transmitted again if not received by receiver
TCP sequencing
Segments have a sequence number that allows them to be reassembled at destination
Flow control
Destination can tell source host to increase/lower data flow
TCP header fields
- Source port
- Destination Port
- Flag (establish and terminate connections
- Window size - flow control (size of data sent)
Forward acknowledgement
Used to indicate the sequence number the next segment the host is expecting
Window size and sliding window
Window size controls how much data can be sent
Port/protocol: FTP data
TCP 20
Port/protocol: FTP control
21 TCP
Port/protocol: ssh
22 TCP
telnet port/protocol
23 TCP
smtp port/protocol
25 TCP
HTTP port/protocol
80 TCP
POP3 port/protocol
110 TCP
HTTPS port/protocol
443 TCP
DHCP server port/protocol
67 UDP
DHCP client port/protocol
68 UDP
TFTP port/protocol
69 UDP
SNMP agent port/protocol
161 UDP
SNMP manager port/protocol
162 UDP