3.5 Protocols and Layers Flashcards
Give all the protocols for this topic
- HTTP
- HTTPS
- FTP
- POP
- IMAP
- SMTP
- TCP/IP
What is a protocol?
A set of rules that a connection follows on a network
HTTP
- Hypertext transfer protocol is used for accessing and receiving web pages via the internet
- Written in HTML
- Protocol requests a web page from the web server and then it receives the web page
HTTPS
- Secure HTTP encrypts the information so that it cannot be understood by an eavesdropper
- Sites that include information based on credit or passwords ideally use HTTPS (banks, online shops, social networks)
FTP
File Transfer Protocol is used for sending or retrieving files to or from a FTP server
SMTP servers
SMTP protocol is when an email is sent to a mail server and forwarded to the internet back to the mail server destination and POP/IMAP to access the email
POP and IMAP
Email retrieval protocols fetch message data and attachments from your remote mail server
POP
Post-Office Protocol will download every new message to your local device and with them no longer being available on the server - This is similar to the protocol of sending a letter through a post office
IMAP
Internet Message Access Protocol will leave the messages on the server/ They can be accessed by multiple devices and they can only be removed if the user deletes them
SMTP
- The Simple Main Transfer Protocol is used for sending email (gmail, outlook etc.)
- Needed for when the sender and recipient use different mail services
- Mail server relays the message through various other servers known as mail relays
- Finally the email arrives at the destination mail server
TCP
- Transmission Control Protocol breaks up the messages sent over the Internet into small chunks called packets. Reassembles the packets at the other end
- Detects error
- Resends lost messages
IP
Internet Protocols routers the individual packets from one IP address to another
What is the TCP/IP protocol stack?
Defines 4 layers that enable communication on the Internet. This is a design with each layer being responsible for a small part of the communication process
What are the 4 layers of TCP/IP protocol stack?
- Application layer
- Transport layer
- Internet layer
- Link layer
Sending data using the stack
The application you are using to send data will determine the correct protocol to use to communicate