ECM 1413 Transport Layer Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

TCP (Transmission Control Protocol)

A
  • Connection-oriented protocol, RFC 793^1
  • Reliable delivery with higher overhead and latency
  • Examples - HTTP, FTP, Telnet and SMTP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

UDP (User Datagram Protocol)

A
  • Connectionless protocol, RFC 768^2
  • Unreliable (best effort delivery), minimal overhead and latency
  • DHCP, RIP, TFTP, Online games, Video Streaming and VoIP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

TCP and UDP Shared Functions

A
  • Segmentation and Reassembly
  • Conversation Multiplexing using port number
  • Error detection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Additional TCP Functions

A
  • Connection Establishment (3-way handshake)
  • Connection Management: Reliability (ack), Flow control and Error correction
  • Connection Termination (4-way handshake)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the transport layer do

A

The transport layer divides the data into pieces and adds a header delivery over the network

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

UDP header provides for

A

Source and destination (ports)

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

TCP header provides for

A
  • Source and destination (ports)
  • Sequencing for same-order delivery
  • Acknowledgement of received segments
  • Flow control and congestion management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Types of networking ports (OSI L4)

A
  • Well-known ports (0 to 1023) - reserved for well-known services
  • Registered Ports (1024 to 49151) - assigned for user processes & others
  • Dynamic or Private Ports (49152 to 65535) - Dynamically chosen by a client when initiating a connection to a server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Well-known port examples

A

telnet(TCP/23)
SMTP(TCP/25)
HTTPS(TCP/443)
RIP(UDP/520)

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

Registered Ports examples

A

MySQL(TCP/3306)
HTTP Alternate (8080)

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

Netstat

A

examines the open connections on a host

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

Segmentation of PDU allows session multiplexing. What is session multiplexing

A

multiple application can use the network at the same time

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

Benefit of data segmentation

A

facilitates data carriage by the lower network layers

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

Difference between TCP and UDP on out-of-order packets

A

(UDP) Out of order datagrams are not re-ordered. Lost datagrams aren’t resent

(TCP) Data is divided into segments. Having taken different routes to the destination, segments arrive out of order. TCP re-orders the segments to the original order

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

TCP 3-way handshake

A

a process which is used in a TCP/IP network to make a connection between the server and client. It is a three-step process that requires both the client and server to exchange synchronization and acknowledgment packets before the real data communication process starts.

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

TCP message types

A

Syn: Used to initiate and establish a connection. It also helps you to synchronize sequence numbers between devices. (Synchronization)

ACK: Helps to confirm to the other side that it has received the SYN. (acknowledgement number)

SEQ: Sequence number

SYN-ACK: SYN message from local device and ACK of the earlier packet.

FIN: Used to terminate a connection.

17
Q

TCP Connection Establishment Between two systems A and B

A

1) A sends SYN request to B
2) B sends ACK response and SYN request to A
3) A sends ACK response to B

18
Q

Connection Termination

A

1) A Sends FIN request B
2) B Sends ACK response to A
3) B Sends FIN response to A
4) A Sends ACK response to B