Application Layer l Flashcards
(14 cards)
What is a protocol?
A set of rules or procedures for transmitting data between devices
5 layer protocols
Application
Transport
Network
Link
Physical
Application layer
End-user interaction; supports apps (HTTP, FTP)
Transport layer
Process data transfer (TCP, UDP)
Network layer
Routes data from source to destination (IP, routing protocols)
Link layer
Local data transfer between neighbouring network elements (MAC, Ethernet, WiFi)
Physical layer
Any physical component on the wire (copper/optical cable)
Presentation layer
Translates data (encrypt/decrypt, compression)
Session layer
Manages sessions between apps; opening/closing mechanism
TCP & UDP
no encryption, cleartext passwords sent into socket traverse Internet in cleartext
TLS/SSL
provides encrypted connection (https), data integrity, end-point authentication
TCP service
reliable delivery, flow/congestion control, does not provide timing or security, connection oriented, slower speed, resends lost packets
UDP service
unreliable data transfer, connectionless, faster speed, no error checking
What happens when you visit a secure website?
- Application Layer uses HTTP
- TLS encrypts HTTP data
- TCP ensures reliable delivery of that encrypted data