2 - TCP/IP Concepts Flashcards
1
Q
What is TCP/IP?
A
TCP/IP stands for Transmission Control Protocol/ Internet Protocol. Protocol is the language used by computers to communicate with each other.
2
Q
What is the TCP stack?
A
Consists of 4 layers:
- Application Layer
- HTTP
- SMTP
- Telnet
- SNMP
- Transport Layer
- Internet Layer
- Network Layer
3
Q
What is the TCP three-way handshake?
A
Host A sends Host B a SYN Packet
Host B replies to Host A with a SYN-ACK packet
Host A replies with an ACK packet.
4
Q
What is the TCP header components made of?
A
TCP Flags
Initial Sequence Number (ISN)
Source and Destination Port Numbers
- Most common ports are between 1-1023
- There are in total 65,535 port numbers available
5
Q
The 6 flags of a TCP Packet
A
- SYN
- ACK
- PSH
- URG
- RST
- FIN