Skill 6.1.1
Open Systems Interconnection (OSI) and Transmission Control Protocol/Internet Protocol (TCP/IP) models
Key Concepts
The OSI model has seven layers: (1) physical, bits on the medium; (2) data link, frames and MAC addresses, switches; (3) network, packets and IP addresses, routers; (4) transport, TCP and UDP segments and ports; (5) session, managing sessions; (6) presentation, data formatting and encryption; (7) application, protocols such as HTTP and DNS. Data is encapsulated as it moves down the layers.
The TCP/IP model has four layers: network access (link), internet, transport and application. TCP is connection-oriented, with a three-way handshake (SYN, SYN-ACK, ACK), sequencing and retransmission; UDP is connectionless and faster but unreliable. Knowing the layer of a device or attack tells you which controls apply.