Transport Layer Flashcards

1
Q

ports

A

network sockets, TCP & UDP, what application plug into to listen and receive communication over the network, allow multiple applications to run on a single machine

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

port range

A

1 - 65535 (16-bit)

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

well-known ports

A

0-1023

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

DNS

A

53

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

SSH

A

22

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

FTP

A

20, 21

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

registered ports

A

1024-49151

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

MySQL

A

2206

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

Skype

A

23399

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

registering ports

A

0-49151 can be registered through IANA

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

dynamic ports

A

49152-65535, used as temporary source port from PC, eventually times out

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

segmenting

A

sending - chop it up; receiving - reassemble, segment size determined by data link layer protocol, that size is shared as part of the TCP handshake

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

sessions

A

connection: think phone conversation; connectionless: think sending a letter

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

sequence numbers

A

part of TCP, but not part of UDP

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

reasons for not using sequence numbers

A

when old info is no longer needed, when the delay to retransmit isn’t worth the effort (video calling), when you don’t need every single bit

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

UDP

A

User Datagram Protocol, connectionless, no flow control

17
Q

TCP

A

Transmission Control Protocol, connection-oriented, 3-way handshake, sequence numbers

18
Q

UDP header

A

64 bits in size, source and destination ports, length of the datagram, checks for errors

19
Q

TCP header

A

160 bits in size, source port, destination port, sequence number, acknowledgment number, other data

20
Q

sliding window

A

TCP’s way of doing flow control

21
Q

QUIC

A

used by Google; provides some features of TCP over a UDP connection

22
Q

TCP users

A

HTTP, email, file transfers

23
Q

DNS users

A

video conferencing, DNS