FTP & TFTP Flashcards

(6 cards)

1
Q

What is the use case for TFTP?

A

As traffic is unencrypted, its best used for quick file transfers in a controlled environment

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

How does TFTP ensure reliability despite using UDP?

A

The reciever must send an “ack” when it recieves a message, if it does not, resend (“lock-step” communication)

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

What are the three phases of TFTP

A
  1. Connection
  2. Data Transfer
  3. Connection Termination
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the main difference between TFTP and FTP?

A

TFTP uses UDP while FTP uses TCP (20, 21). FTP also allows for finer controls like creating and changing directories

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

How does FTP work?

A

FTP forms an initial connection using TCP 21 and then using TCP 20 when actually transferring files

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

What are the two FTP modes?

A
  1. Active mode - server initiates connection
  2. Passive mode = Client initiates TCP connection (usually due to firewall)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly