protocols Flashcards
What are the ports for FTP, and what is its function?
Ports 20 and 21; used for insecure file transfers.
What port does SSH use, and what is its purpose?
Port 22; provides secure text-based remote control of a machine.
Which port is used by Telnet, and what is its limitation?
Port 23; provides insecure text-based remote control.
What is the port for DNS, and what is its function?
Port 53; converts domain names to IP addresses and vice versa.
What ports does DHCP use, and what does it provide?
Ports 67 and 68; automatically assigns IP address, subnet mask, gateway, and DNS server.
What is the difference between HTTP and HTTPS, and what ports do they use?
HTTP (Port 80) is insecure web browsing, while HTTPS (Port 443) is secure and encrypted web browsing.
Which port is used for SMTP, and what is its purpose?
Port 25; used for sending emails.
What port does RDP use, and what is its function?
Port 3389; provides graphical remote control of another computer.
What are the ports for SNMP, and what is its purpose?
Ports 161 and 162; used to monitor and collect data from network devices.
Which port does LDAP use, and what service does it provide?
Port 389; provides directory services to the network.
What port is used by SMB, and what is its function?
Port 445; enables Windows file and printer sharing.
How do POP3 and IMAP differ, and what ports do they use?
POP3 (Port 110): Older email retrieval protocol.
IMAP (Port 143): Modern protocol for retrieving emails, offering improvements over POP3.