Port numbers Flashcards
FTP
tcp/20, tcp/21
SSH
tcp/22
Telnet
tcp/23
SMTP
tcp/25
DNS
udp/53, tcp/53
DHCP
udp/67, udp/68
HTTP
tcp/80
HTTPS
tcp/443
POP3
tcp/110
IMAP4
tcp/143
NetBIOS (name service)
udp/137
NetBIOS (session service)
tcp/139
SMB
tcp/445
SNMP Query
udp/161
SNMP Trap
udp/162
LDAP
tcp/389
RDP
tcp/3389
What is FTP?
File Transfer Protocol
tcp/20 (active mode data) / tcp/21 (control)
- Transfers files between systems.
- Authenticates with a username and password (though some systems can use a generic/anonymous login)
- Full-featured functionality - list, add, delete, etc.
What is SSH?
Secure Shell
tcp/22 (encrypted communication link)
- Looks and acts the same as Telnet
What’s Telnet?
Telecommunication Network
tcp/23
- Login to devices remotely / gain console access
- In-the-clear communication (not the best choice for production systems)
What is SMTP?
Simple Mail Transfer Protocol
tcp/25 (server-to-server email transfer)
- Also used to send mail from a device to a mail server
- Commonly configured on mobile devices and email clients
- Other protocols are used for clients to receive email (IMAP / POP3)
What is DNS?
Domain Name System
udp/53
- Converts names to IP addresses
- These are super critical resources (usually multiple DNS servers are in production)
What is DHCP?
Dynamic Host Configuration Protocol
udp/67, udp/68
- Automates configuration of an IP address, subnet mask, and other options (requires a DHCP server, can be integrated in to a server / appliance / SOHO router)
- Reserves by assigning IP address to the MAC address in the DHCP server. Makes it easy to manage addresses from one location
What’s a dynamic IP address?
IP addresses are assigned in real-time from a pool using DHCP configuration. Each system is given a lease and must renew at set intervals.