Common Ports Flashcards

1
Q

What is Telnet? What port does it use? What is a downside?

A

Telecommunication Network. TCP Port 23. A way to login to devices remotely, and controlled through a text based console. It’s a way to connect to infrastructure devices (server/router/switches) to administrate those machines.
A downside is that it is sent non-encrypted, so it is not the best choice for production systems.

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

What is SSH? What port does it use? How is it compared to Telnet?

A

SSH is Secure Shell. TCP Port 22. Works the same as Telnet but sends encrypted communications.

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

What is DNS? What port does it use?

A

Domain Name System. UDP Port 53. DNS converts domain names that we use to something that the network can use, like an IP addresses.
Example: www.professormesser.com = 162.159.246.164

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

What is SMTP? What port does it use?

A

Simple Mail Transfer Protocol. TCP Port 25. Sends mail from one server to another. Commonly configured on mobile devices and email clients.

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

What are some common protocols that are used for incoming mail?

A

IMAP, POP3.

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

What is SFTP? What port does it use? What protocol does it utilize? What can it do?

A

Secure File Transfer Protocol. TCP Port 22. Utilizes the SSH (Secure Shell) File Transfer Protocol. It can transfer files remotely, resume interrupted transfers, directory listings, and remotely remove files. This is all encrypted.

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

What is FTP? Which two ports does it use and why? How does it differ from SFTP? What kind of features does it have?

A

File Transfer Protocol. TCP Port 20 (Active mode data protocol). TCP Port 21 (Control protocol). Transfers files between systems. Requires authentication with a username and password. Has a list of features, such as list/add/delete.

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

What is TFTP? What port does it use? Why would you use TFTP?

A

Trivial File Transfer Protocol. UDP Port 69. Could be used for very simple file transfers, as it doesn’t require any authentication or encryption.

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

What is DHCP? What ports does it use to communicate? What does it require?

A

Dynamic Host Configuration Protocol. UDP Port 67 and 68. It automatically configures your IP address, subnet mask, DNS settings, within your IP Config. It requires a DHCP Server.

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

How are DHCP IP addresses assigned? How does it work?

A

IP addresses are assigned in real-time from a pool of IP addresses. Each system is given a lease, and must renew at set intervals.

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

What is DHCP Reservation?

A

When you configure DHCP to always give the same devices the same MAC address.

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

What is HTTP? What port does it use? What is it for?

A

Hypertext Transfer Protocol. TCP Port 80. Web server communication. Commonly used by browsers.

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

What is HTTPS? What port does it use? What is it for?

A

Hypertext Transfer Protocol Secure. TCP Port 443. Web server communication with encryption. Commonly used by browsers.

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

What is SNMP? What port does it use?

A

Simple Network Management Protocol. UDP Port 161. Used to gather data/statistics from network devices.

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

Name the versions of SNMP, and the features of each.

A

v1 - structured tables, sent requests/responses non encrypted.
v2 - allowed bulk transfers of data. Also non-encrypted.
v3 - message integrity, authentication, and encryption.

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

What is RDP? What port does it use?

A

Remote Desktop Protocol. TCP Port 3389. Allows to connect to another desktop or application remotely to share control.

17
Q

What is NTP? What port does it use?

A

Network Time Protocol. UDP Port 123. Used by switches, routers, firewalls, servers, and workstations to synchronize to the same date and time. Administrator can control how often NTP is utilized to synchronize the network’s time.

18
Q

What is SIP? What ports does it use?

A

Session Initiation Protocol. TCP Port 5060 and 5061. Used for VoIP signalling. Setup and manage VoIP sessions. Extend voice communications.

19
Q

What is SMB? What port does it use?

A

Server Message Block AKA CIFS (Common Internet File System). Uses TCP Port 445. Used for file sharing, and to share printers between windows systems.

20
Q

What is the basic function of POP and IMAP?

A

To receive emails from an email server; authenticate and transfer.

21
Q

What is POP? What port does it use?

A

POP3 - Post office Protocol version 3. TCP Port 110. This is a basic mail transfer functionality.

22
Q

What is IMAP? What port does it use?

A

IMAP4 - Internet Message Access Protocol v4. TCP Port 143. This allows us to use multiple clients to access our inbox.

23
Q

What is LDAP? What port does it use?

A

Lightweight Directory Access Protocol. TCP Port 389. Users’ devices and printers are usually stored in a database. This is accessed via LDAP. LDAP allows our client to communicate to an LDAP server AKA retrieve information in a network directory.

24
Q

What is LDAPS? What port does it use?

A

LDAP Secure. TCP Port 636. Same as LDAP but encrypted by SSL.

25
Q

What is H.323 and what is it similar to? What port does it use?

A

Also used for VoIP, similar to SIP. TCP Port 1720. Allows us to setup and manage VoIP sessions.