21 - TCP/IP Stack: Transport Layer Flashcards

1
Q

What is the Transport Layer?

A

In short: Breaks files into segments or datagrams & provides addresses/port info + reconstitutes packets on the other end

The service browsers and web serves need to provide:

  • The specifics of where the data is going to
  • Responsible for getting the data from Process A to Process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Two types of messages at the Transport Layer level

A
  1. Datagram (TCP)
  2. Segment (UDP)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Port?

A

A port is the destination of where data is going

i.e. web information from google will go to a specific port in your computer

  • Types of ports
    • Web servers (HTTP) - 80
    • Secure web (HTTPS) - 443
    • DNS - 53
    • Secure Shell (SSH) - 22
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does TCP stand for?

A

Transmission Control Protocol

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

What does the TCP do?

A

Rules used for communications between machines

  • Connection oriented
    • Three-way handshake
    • Handshake also used to terminate a connection
  • Slow, but reliable in receiving and transmitting data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does UDP stand for?

A

User Data Protocol

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

What does UDP do?

A

Fast, but unreliable

  • Connectionless
    • No three-way handshake
  • Packets not guaranteed to arrive or arrive in order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the Default Gateway do?

A

Router that provides access to networks outside of the local network (i.e. the Internet)

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