TCP and UDP Flashcards

1
Q

What does UDP stand for?

A

Used datagram protocol

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

What is UDP?

A

It is a best effort protocol, data sent with no effort made to correct transmission errors.

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

What is the benefit of UDP

A

It has a much lower over head than TCP

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

What is a SYN packet?

A

It is a synchronise packet which contains his ISN (initial sequence number)

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

What is an ACK?

A

An acknowledgement

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

What is a SYN-ACK?

A

An acknowldgement of a received SYN packet. A SYN-ACK is sent back with a SYN and an ACK

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

What are the 3 stages of a 3 way handshake?

A
  • SYN
  • SYN-ACK
  • ACK
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the termination of a TCP connection called?

A

Teardown

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

What do both computers need to do to end a connection?

A

Send a FIN packet, both FIN packets need to be acknowledged

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

What do ports allow for?

A

Multiple endpoints and multiple connections at the same time to a single IP address

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

How many ports are there?

A

65, 535 TCP and 65, 535 UDP

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

What port number is used for DNS?

A

Port 53

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

What does a client need when it want to connect to a web server?

A
  • Destination IP
  • Destination port (80)
  • Source IP (own IP)
  • Source port (port is has assigned to the connection)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a socket?

A

One endpoint in a network communication. A socket is defined by the combination of an IP address and a port number

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

What does a socket pair do?

A

(two endpoints) uniquely identifies each TCP connection in a network

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

How is data send across a network?

A

It is fragmented into manageable pieces and transmitted as a stream of packets

17
Q

What is the number of Well Known or System ports?

A

1024