Common Ports Flashcards
What is Telnet? What port does it use? What is a downside?
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.
What is SSH? What port does it use? How is it compared to Telnet?
SSH is Secure Shell. TCP Port 22. Works the same as Telnet but sends encrypted communications.
What is DNS? What port does it use?
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
What is SMTP? What port does it use?
Simple Mail Transfer Protocol. TCP Port 25. Sends mail from one server to another. Commonly configured on mobile devices and email clients.
What are some common protocols that are used for incoming mail?
IMAP, POP3.
What is SFTP? What port does it use? What protocol does it utilize? What can it do?
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.
What is FTP? Which two ports does it use and why? How does it differ from SFTP? What kind of features does it have?
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.
What is TFTP? What port does it use? Why would you use TFTP?
Trivial File Transfer Protocol. UDP Port 69. Could be used for very simple file transfers, as it doesn’t require any authentication or encryption.
What is DHCP? What ports does it use to communicate? What does it require?
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 are DHCP IP addresses assigned? How does it work?
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.
What is DHCP Reservation?
When you configure DHCP to always give the same devices the same MAC address.
What is HTTP? What port does it use? What is it for?
Hypertext Transfer Protocol. TCP Port 80. Web server communication. Commonly used by browsers.
What is HTTPS? What port does it use? What is it for?
Hypertext Transfer Protocol Secure. TCP Port 443. Web server communication with encryption. Commonly used by browsers.
What is SNMP? What port does it use?
Simple Network Management Protocol. UDP Port 161. Used to gather data/statistics from network devices.
Name the versions of SNMP, and the features of each.
v1 - structured tables, sent requests/responses non encrypted.
v2 - allowed bulk transfers of data. Also non-encrypted.
v3 - message integrity, authentication, and encryption.