TCP & UDP Ports Flashcards

1
Q

A number used to uniquely identify a Network connection. It specifies the service or application. Ie: Port 80 is Web Server, Port 8444 is a client port. A port is an open doorway.
Port does not mean that it gives outsiders full access however the port can be exploited. There are security risks - if firewalls or routers are not in the network. FTP is open and not secure.

A

What is a TCP or UDP Port?

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

0 - 1023 most common already reserved (ie: Apple)

A

Well-known Ports

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

1024 to 49151 companies can register with IANA. A range of ports a company can register when creating an application or service that has a certain protocol needs to communicate via a TCP or UDP port

A

Registered Ports

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

(https://www.iana.org) look at different ports

A

IANA (Internet Assigned Numbers Authority)

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

49152 to 65535 (anyone can use these)

http://www.iana.org/assignments/port-numbers

A

Private Ports

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

Responsible for data getting in proper order.
Congestion control
Error-free
Flow control/sliding window (increase the flow or decrease the flow)
Favors safety/accuracy over speed
Used for reliable communication.
Connection-oriented 3-way handshake (syn, syn-ack, ack)
Connection Termination (Fin, Ack, Fin-Ack, Ack)
Sequence # and Acknowledgment # (UDP does not use these)
TCP data unit called segment

A

TCP (Transmission Control Protocol) Connection-oriented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
No security in sending data
It will get there when it gets there
Favors speed over safety
Used when loss can be tolerated
Length & Checksum (checksum makes sure data gets there)
Simplicity means that it's very fast
Unreliable delivery doesn't mean bad
Not ordered
No congestion control
Lightweight, faster than TCP
Ie: UDP online gaming real- time, voip real-time traffic (can use tcp to setup connection) voice goes over UDP
UDP data unit called datagram
A

UDP (User Datagram Protocol) Connection-less

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

CRC Data TCP/UDP Header: (Source Port: 8444; Destination Port: 80)

IP Header: (Source IP: 192.168.100.2; Destination IP: 8.8.8.8)

MAC Header: (Source MAC: AA-AA-AA-AA-AA-AA; Destination MAC: BB-BB-BB-BB-BB-BB)

A

Parts of a Frame

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

DATA - TCP/UDP Header - IP Header

A

Packet or a Datagram

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

DATA - TCP/UDP Header

A

Segment or Datagram

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