Ch5-TCP/IP Fundamentals and Applications Flashcards

1
Q

The process by which a connection-oriented protocol creates a connection. EX: TCP three-way handshake

A

connection establishment

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

The process of discovering whether a datalink level frame was changed during transmission, typically by using the Frame Check Sequence field in the datalink trailer

A

error detection

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

The process of noticing when some transmitted data was not successfully received and resending the data until it is successfully received

A

error recovery

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

The process of regulating the amount of data sent by a sending computer toward a receiving computer. One method is by utilizing windowing.

A

flow control

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

A process used by protocols that do error recovery, in which the number that acknowledges data lists the next data that should be sent, not the last data that was successfully received

A

forward acknowledgement

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

A networking function, included in TCP, in which the protocol defines how the sending host should number the data transferred, defines how the receiving device should attempt to reorder the data if it arrives out of order, and specifies to discard the data if it cannot be delivered in order.

A

ordered data transfer

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

A term used to describe a TCP header and its encapsulated data

A

segment

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

For protocols such as TCP that allow the receiving device to dictate the amount of data the sender can send before receiving an acknowledgment-a concept called a <i>window</i>,-a reference to the fact that the mechanism to grant future windows is typically just a number that grows upward slowly after each acknowledgment, sliding upward.

A

sliding window

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

Multiplexing relies on the concept of a <i>socket</i>. What three things does a socket consist of?

A
  1. IP address
  2. a transport protocol
  3. a port number
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

One function of TCP and UDP is the concept of multiplexing using port numbers. What does this achieve?

A

Hosts can identify the correct application for which received data is to be processed, based on the port number.

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

Describe how TCP achieves error recovery (reliability)

A

Error recovery is achieved through numbering and acknowledging data with sequence and acknowledgment header fields.

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

Describe flow control

A

Process of using window sizes to protect buffer space and routing devices from being overwhelmed with traffic

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

The connection establishment and termination processes are used to synchronize what items?

A

Port numbers, sequence, and acknowledgment fields.

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

What is the protocol and port used for FTP data?

A

TCP 20

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

What is the protocol and port used for FTP control?

A

TCP 21

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

What is the protocol and port used for SSH?

A

TCP 22

17
Q

What is the protocol and port used for Telnet?

A

TCP 23

18
Q

What is the protocol and port used for SMTP?

A

TCP 25

19
Q

What is the protocol and port used for DNS zone transfers?

A

TCP 53

20
Q

What is the protocol and port used for DNS lookups?

A

UDP 53

21
Q

What is the protocol and port used for DHCP server messages?

A

UDP 67

22
Q

What is the protocol and port used for DHCP client messages?

A

UDP 68

23
Q

What is the protocol and port used for TFTP?

A

UDP 69

24
Q

What is the protocol and port used for HTTP?

A

TCP 80

25
Q

What is the protocol and port used for POP3?

A

TCP 110

26
Q

What is the protocol and port used for SNMP?

A

UDP 161

27
Q

What is the protocol and port used for HTTPS?

A

TCP 443

28
Q

What is the protocol and port used for Syslog?

A

UDP 514

29
Q

What is the order of messages during TCP connection establishment?

A

SYN, SYN ACK, ACK

30
Q

What is the order of messages during TCP connection termination?

A

ACK FIN, ACK, ACK FIN, ACK

31
Q

A protocol that requires an exchange of messages before data transfer begins, or that has a pre-established correlation between two endpoints is a [BLANK] protocol

A

connection-oriented

32
Q

A protocol that requires no exchange of messages before data transfer begins, or that does not have a pre-established correlation between two endpoints is a [BLANK] protocol

A

connectionless

33
Q

TCP is a [BLANK] protocol

A

connection-oriented

34
Q

UDP is a [BLANK] protocol

A

connectionless

35
Q

What are the features of TCP that make it a connection-oriented protocol?

A
  1. Sequence numbers
  2. Acknowledgments
  3. Flow control
36
Q

In a frame, the encapsulated IPv4 header includes a “protocol” field with a value of 6. Will the packet be ultimately be used with the TCP or UDP protocol?

A

TCP (IP protocol 6=TCP)

37
Q

In a frame, the encapsulated IPv4 header includes a “protocol” field with a value of 17. Will the packet be ultimately be used with the TCP or UDP protocol?

A

UDP (IP protocol 17=UDP)