2.1 Compare and contrast Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) ports, protocols, and their purposes.

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/47

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

48 Terms

1
New cards

What does IP stand for?

Internet Protocol

2
New cards

What is at the beginning of a ethernet payload and at the end?

The beginning (from the client machine) is the Ethernet Header and at the end is the Ethernet trailer (Server machine).

3
New cards

On a ethernet payload what data is inside IP?

TCP data

4
New cards

On a ethernet payload what data is inside TCP?

HTTP data

5
New cards

How are TCP and UDP transported?

Encapsulated by the IP protocol.

6
New cards

What layer is TCP and UDP utilized on?

The OSI Layer 4 also called the transport layer.

7
New cards

What does TCP stand for?

Transmission Control Protocol

8
New cards

What type of protocol is TCP?

connection-oriented

9
New cards

Why is TCP considered "reliable" delivery?

Because it can manage out of order messages or retransmissions.

10
New cards

Does the TCP have flow control?

Yes and the receiver can manage how much data is sent.

11
New cards

What does UDP stand for?

User Datagram Protocol

12
New cards

Is UDP connection-oriented or connectionless?

connectionless

13
New cards

Why is UDP considered unreliable?

No error recovery and there is no reordering of data or retransmissions

14
New cards

Does UDP have flow control?

No because the send determines the amount of data transmitted,

15
New cards

Why would you ever use UDP?

Real-Time communication because there is no way to stop and resend the data. Also the time doesn't stop for your network.

16
New cards

What are the protocols that utilize UDP?

Dynamic Host Configuration Protocol (DHCP) and Trivial File Transfer Protocol (TFTP)

17
New cards

What is DHCP?

A protocol used to automate the assignment of IP Address. It stands for Dynamic Host Control Protocol.

18
New cards

What is TFTP?

Trivial File Transfer Protocol

19
New cards

What are the protocols that utilize TCP?

Hypertext Transfer Protocol Secure (HTTPS) and Secure Shell (SSH)

20
New cards

What is a port number?

Whenever a computer/server attempts to communicate with another computer/server over a network, it is necessary for the connection to be sent to both the correct IP address as well as the correct port number on that IP address. A given computer has 65535 ports that are each capable of running a service. Typically ports 1- 1023 are reserved for common communication protocols.

21
New cards

What are permanent port numbers called?

Non-ephemeral ports

22
New cards

What number range does permanent port numbers utilize?

Ports through 0 through 1,023 and usually is on a server or a service.

23
New cards

What are temporary port numbers called?

Ephemeral ports

24
New cards

What number range does temporary port numbers utilize?

Ports 1,024 and 65,535. These are determined in real-time by the client.

25
New cards

What are port numbers for?

Communication, not security

26
New cards

What protocols can utilize any number between 0 and 65,535?

TCP and UDP

27
New cards

Are TCP and UDP port numbers the same?

No. For example there can be one service on TCP Port 80 and a service on UDP Port 80.

28
New cards

How do firewalls make the decision to allow certain traffic?

Firewalls allow or reject certain traffic based on port numbers.

29
New cards

What information should you know about port numbers?

The port number, the protocol, and how that protocol is used.

30
New cards

What port numbers is by File Transfer Protocol (FTP)?

TCP 20 and TCP 21. TCP 20 is for data transfers and TCP 21 is used to control the data transfer.

31
New cards

What is the function of the File Transfer Protocol (FTP)?

Transfers files between systems. Also includes file management functions such add or removing files.

32
New cards

What port number does Secure Shell (SSH) use and what is its functionality?

TCP 22 and is a encrypted communication link

33
New cards

What port number is used by Telnet what is its functionality?

TCP 23. Can access devices remotely but in the clear communication which means not secure and anyone can see the information in these packets.

34
New cards

What port number does the Simple Mail Transfer Protocol (SMTP) use and what is its functionality?

TCP 25. Server to server email transfer. Also used to send mail from a device to a mail server.

35
New cards

What port number does the Domain Name System (DNS) use and what is the functionality?

UDP 53. Converts names to IP addresses. For example www.professormesser.com = 162.159.246.164

36
New cards

What port number does the Dynamic Host Configuration Protocol (DHCP) use and what is the functionality?

UDP 67 and UDP 68.

Automated configuration of IP address, subnet mask, and other options. If you use a public wifi like at a coffee shop then you are utilizing DHCP.

37
New cards

What port number does Hypertext Transfer Protocol (HTTP) use and what is the functionality?

TCP 80. Web server communication that is not encrypted.

38
New cards

What port number does Hypertext Transfer Protocol Secure (HTTPS) use and what is the functionality?

TCP 443. Web server communication that is encrypted.

39
New cards

What port number does the Post office Protocol version 3 (POP3) use and what is the functionality?

TCP 110 Receive emails from a single email client.

40
New cards

What port number does the Internet Message Access Protocol version 4 (IMAP4) use and what is the functionality?

TCP 143. Receives email from multiple email clients.

41
New cards

What does SMB stand for and what Operating System utilizes this protocol?

Server Message Block. Microsoft Windows and is also called Common Internet File System (CIFS).

42
New cards

What are the port numbers and function when using Network Basic Input/output System (NetBIOS) over TCP/IP?

UDP 137 NetBIOS name services finding the name of devices on the network.

TCP 139 NetBIOS session service to setup a session between devices.

43
New cards

What port number is used by SMB when it is communicating over TCP with NetBIOS?

TCP 445 (NetBIOS-less)

44
New cards

What are the ports used by Simple Network Management Protocol (SNMP) and what is the function of each of these ports?

UDP 161 Send a query for performance of a device

UDP 162 Monitors metrics and if anything exceeds those metrics an alert is given which are also called traps.

45
New cards

What versions of SNMP send information in a non encrypted form?

Version 1 and Version 2

46
New cards

What version of SNMP sends information in a encrypted form?

Version 3

47
New cards

What port number does Lightweight Directory Access Protocol (LDAP) use and what is the functionality?

TCP 389.

Queries directories

48
New cards

What port number does Remote Desktop Protocol (RDP) use and what is the functionality?

TCP 3389.

Shares a desktop remote connection with another desktop.