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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the TCP stack?

A

Consists of 4 layers:

  • Application Layer
  • HTTP
  • SMTP
  • Telnet
  • SNMP
  • Transport Layer
  • Internet Layer
  • Network Layer
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The 6 flags of a TCP Packet

A
  1. SYN
  2. ACK
  3. PSH
  4. URG
  5. RST
  6. FIN
How well did you know this?
1
Not at all
2
3
4
5
Perfectly