Celine Flashcards
What is the application layer?
- Top-most layer
- The interface between the user and the network
- Its protocols define how data is formatted, transmitted and interpreted
What are major protocols in the application layer?
- DHCP
- SMTP
- IMAP
- HTTP
- QUIC
- RTSP
- RTP
What does Dynamic Host Configuration Protocol (DHCP)?
- Protocol to automatically assigns IP addresses to devices on a network
How does DHCP work?
- Devices request an IP address from the DHCP server
- The server leases an available IP address for a specific period
- Once the lease expires, the IP address may be renewed or reassigned
What are the advantages of DHCP?
- Automated IP assignment
- Efficient IP management
What does Simple Mail Transfer Protocol (SMTP)?
Responsible for sending emails, but not receiving them
How does sending an email work?
- Sender’s email connects to the SMTP server and sends the message
- SMTP server checks the recipient’s domain and locates the correct mail server
- Sender’s SMTP server connects to the recipient’s SMTP server and transfers the email
- Recipients SMTP server stores the email until retrieved via IMAP or POP3
What is Internet Message Access Protocol?
Protocol used by email clients to retrieve and manage emails stored on an email server
How does IMAP work?
- Connects to the mail server through ports 143 (standard) or 993 (encrypted)
- It synchronizes the mails by keeping a TCP connection open to send requests or receive notifications
What is Hypertext Transfer Protocol (HTTP)?
Used for web browsing and communication between web servers and clients
How does HTTP work?
- The browser connects to the web using TCP on port 80 or 443
- The browser sends a request for the server
- The server responds with an HTTP status code and the requested content
- The browser processes the response and displays the webpage
What are the main HTTP requests?
- GET: Request a webpage or resource
- HEAD: like GET but no data is sent back
- POST: send data to the server, could create
- PUT: update resource on the server
- DELETE: removes a resource
What do the HTTP status codes mean?
- 1xx: Information
- 2xx: Success
- 3xx: Redirection
- 4xx: Client error
- 5xx: Server error
How is HTTP/2 different from HTTP/3?
- First major revision of HTTP
- Header compression
- Multiplexing multiple requests over a single TCP connection
How is HTTP/3 different from HTTP/2?
- Does not use TCP connections but runs over QUIC
What does Constrained Application Protocol (CoAP) do?
- Provides a lightweight HTTP-like protocol for simpler devices
- Minimal overhead
- Uses UDP instead of TCP, faster
-Similar to HTTP
What is Quick UDP Internet Connections (QUIC)?
- Transport protocol designed to replace TCP in specific situations
- Real-time communications
- Streaming
What is Real Time Streaming Protocol (RTSP)?
A network protocol designed for streaming media over the internet
What does RTSP do?
Controls playback of audio/video streams
What is Real-time transport protocol (RTP)?
Handles the actual transmission of real-time media
How does RTP work?
- Runs over UDP for low latency
- Uses sequence to detect lost packets
- Includes timestamps to synchronize audio and video
What is the Internet?
- Global public network connecting devices worldwide using standardized protocols (TCP/IP)
What does the Internet do?
Enables communication, information sharing, and online services
What are Security Risks associated with the Internet?
- Lack of content control
- Privacy concern
- Vulnerable to hacking and malware