Protocols, Ports, Purpose and Type Flashcards
FTP
File Transfer Protocol
+ Used to move files.
+ Port 20 for data and 21 maintains connection.
+ TCP
SSH
Secure Shell
+ Used for remote connections to server/network devices.
+ Can be used to secure other protocols like FTP.
+ Port 22
+ TCP
Telnet
Telnet \+ Used to make remote connections to servers/network devices. \+ Unsecure. Sends data in plain text. \+ Port 23. \+ TCP.
SMTP
Secure Mail Transfer Protocol
+ Port 25.
+ Protocol for moving emails.
+ TCP.
DNS
Domain Name Server
+ Port 53.
+ TCP and UDP.
+ Used to resolve hostname to IP address.
HTTP
HyperText Transfer Protocol
+ Port 80.
+ TCP
+ Used to surf the web.
POP3
Post Office Protocol 3
+ Port 110
+ TCP
+ Used to retrieve emails from email server to a single device:
IMAP
Internet Message Access Protocol
+ Port 143
+ TCP.
+ Used to access/manage the email files on a server.
HTTPS
Hypertext Transfer Protocol Secure
+ Port 443.
+ TCP.
+ HTTP but using a secure protocol like SSL or TLS to encrypt the connection.
RDP
Remote Desktop Protocol
+ Port 3389.
+ TCP.
+ Used to remotely access servers/desktops.
NetBios/NetBT
Net Basic Input Output Service
+ Port 137 UDP. Port 139 TCP.
+ Used in windows for file/printer sharing.
SMB/CIFS
Server Message Blocks / Common Internet File System.
+ Port 445.
+ TCP.
+ Used for sharing access to files, printers, serial ports and other resources on a network.
+ CIFS was an extension to SMB to support other OS before SMB did that by default.
SLP
Server Location Protocol
+ Port 427.
+ UDP.
+ Allows computers/devices to find services in a LAN.
+ Each device must have a URL to locate the device.
AFP
Apple Filling Protocol
+ Port 548.
+ TCP.
+ Offers file services for macOS.
DHCP
Dynamic Host Configuration Protocol
+ Port 67 on server end. 68 on client end.
+ UDP.
+ Provides IP addresses, subnet masks, and default gateways.