Chapter 5: Ports, Protocols & Network Devices Flashcards
Transmission Control Protocol (TCP) establishes network connections with a 3-way handshake, a process that includes these 3 steps:
- SYN: The client computer attempts to initiate a session to a server with a synchronization packet of information (SYN packet)
- SYN + ACK: The server responds to the client request by sending a synchronization/acknowledgement packet (SYN-ACK packet)
- ACK: The client sends an acknowledgment packet (ACK packet) to the server
What is Transmission Control Protocol (TCP)?
TCP is a network session protocol that is known as a connection-oriented session
This means that every packet that is sent is checked for delivery. If the receiving computer doesn’t receive a packet, it cannot assemble the message and will ask the sending computer to transmit the packet again.
How does User Datagram Protocol (UDP) work?
UDP sessions are known as connectionless sessions
In this case, if a packet is dropped, it is not asked for again.
Example: Streaming Media
You’re looking for a website, you type the name of that website into the address bar of a web browser and one of two HTTP/HTTPS protocols will be initiated, which port numbers will be used?
If the website uses HTTP (No security), it will use port number 80
If the website uses HTTPS (security), it will use port number 443
What are the roles of the SMTP, POP3 and IMAP protocols?
SMTP - ‘send mail to people’
POP3 - retrieving mail from people
IMAP - ability for mail to remain on the server and be accessed from anywhere
You need to communicate with an external host to send and receive files and/or run commands on the external host, what protocols would you use?
FTP (File Transfer Protocol) or SSH (Secure Shell)
What are the port numbers associated with FTP (File Transfer Protocol)?
When you connect to an FTP server, that FTP server will have port 989 and 990 open (SFTP), a less secure port that’s less used is port 21
What is SSH and what does it do?
SSH stands for Secure Shell
Secure Shell (SSH) enables data to be exchanged between computers on a secured channel (more secure then FTP)
You want to utilize SSH, which port number will you likely use?
The SSH server housing the data you want to access would have port 22 open
You’re setting up a SOHO network, what protocol would you use to automatically assign IP addresses to hosts?
Dynamic Host Configuration Protocol (DHCP)
What does each letter of DORA stand for in regards to DHCP?
Discovery - Client discovers DHCP server
Offering - Server offers IP address
Request - Client picks and request IP
Acknowledgement - Server Acknowledges the request, client can use IP address for set amount of time