1.1 Explain the purposes and uses of ports and protocols. Flashcards
SSH
Port 22 TCP or UDP. Securely transfer data.
Terminal Access: Works at CMD.
Remote in via command line.
Used by Secure copy protocol (SCP) (port 22), and SFTP (port 22).
Supports tunneling. Takes a protocol and encapsulates it in a SSH connection.
DNS
UDP Port 53.
Uses UDP cause it wants to have it’s network connections open.
Translate Domain names into IP addresses.
Uses a higher achy.
structure of levels of domains.
Top level - .com .org
SMTP
TCP Port 25. Layer 7 TCP/IP protocol. Only handles that outgoing (sent) messages.
Standardized messaging format. Header, IP address of sender.
Subject.
Relaying. One mail server can forward messages to multiple email servers.
SFTP
TCP Port 22. Since SFTP runs over the SSH protocol as a subsystem, SFTP uses port 22 by default.
Secure File Transfer Protocol (SFTP) is a network protocol for securely accessing, transferring and managing large files and sensitive data.
Two ways to authticate with SFTP. Password or public key.
can be used for time stamping. records Date and time of, file type and size.
FTP
A service. TCP 20, 21
20 file transfers
21 send commands and responses through CMD.
Not secure.
Used for shared file in corporate network
and data from web servers.
TFTP
69 UDP
Simpler file transfer protocol. Not encrypted.
Read and Write services.
Can use block transfers.
TELNET
23 TCP can remote into devices. Not encrypted. Can be done through command line.
Quick remote access.
DHCP
67, 68 UDP 7 layer
Assign IP address to network devices.
Uses UDP because service needs to be always open.
HTTP
Port 80, TCP. Unencrypted.
Stateless - each request from client to server is independent. Server can handle multiple clients.
Protocol which is used to transfer info between web clients and web server. Hypertext Transfer Protocol
HTTPs
port 443 TCP
Alternative port for HTTP.
8080
SNMP
Port 161 and 162 USP. Simple Network Management Protocol.
Monitor network devices. See how they are preforming.
Power supply ok? Issues with storage?
Protocol for collecting and organizing information about managed devices on IP networks.
SNMP V3 is most current.
RDP
3389 TCP. Establish connections remotely.
NTP
123 udp. Always want to have open. used to sync date and time on all network devices.
uses stratum levels. Accuracy in atomic or GPC clocks. this is used to ensure correct time.
SIP
TCP and UDP. 5060, 5061 Session Initiation Protocol. Enables VOip over IP networks.
SMB
Service. 455 TCP
Server Message Block (SMB) is a network communication protocol used for providing shared access to files, printers, and serial ports among nodes on a network.
POP
110
IMAP
TCP Port 143. Secure communications. Internet Message Access Protocol. Retrieval of email which has advantages over pop3.
Synchronization. Allows you to retrieve your emails from any device. as long as your logged in correctly.
Folder strucurre. Create rename and dlete email folders.
LDAP
TCP 389.
Directory. centralized location we can use to store all info on users and data.
SMTP
25 sents email.