Computer Networks · Revision notes
Application Layer Protocols & Security
The application layer is where users meet the network. This chapter covers HTTP and HTTPS, DNS resolution and record types, email (SMTP, POP3, IMAP) and FTP overview, the basics of TLS, and how firewalls and NAT protect and share addresses.
Quick revision
- HTTP 80, HTTPS 443; stateless, cookies add state
- HTTP/1.1 persistent by default; non-persistent costs 2 RTT per object
- DNS: root → TLD → authoritative; A, AAAA, CNAME, MX, NS; UDP/TCP 53
- SMTP sends (25/587); POP3 110 and IMAP 143 retrieve; FTP 20/21 out-of-band
- TLS: certificates authenticate, asymmetric exchanges keys, symmetric encrypts data
- Firewall filters; NAT/PAT translates IPs and ports