A source-cited reference library 399 modules · 19 subdomains · 5 domains
Research Library
Bill Branson (Photographer)
Photo: Bill Branson (Photographer), Public domain, via Wikimedia Commons

Cybersecurity / Defense and Hardening

What Is the OSI Model?

CybersecurityDefense and Hardening711 words3 min readSource: cloudflare.com

The OSI Model is a conceptual framework developed by the International Organization for Standardization that standardizes the functions of a telecommunication or computing system into seven distinct layers to enable interoperability between diverse communication systems. It serves as a reference model for understanding and designing network architectures, allowing different systems to communicate using standardized protocols regardless of their underlying hardware or software differences.

How It Works

The OSI Model operates by dividing network communication into seven hierarchical layers, each responsible for a specific set of functions and interacting only with the layer immediately above and below it. Data encapsulation occurs as information moves downward from the application layer to the physical layer on the sending device, with each layer adding headers (and sometimes trailers) to the data unit. On the receiving device, the process reverses: each layer strips its corresponding headers and passes the payload upward until the application layer delivers the original data to the user. This layered approach isolates functionality, simplifies troubleshooting, and allows modifications in one layer without affecting others, provided the interface between layers remains consistent. The model supports both connection-oriented and connectionless communication, depending on the protocols implemented at each layer.

LayerNameResponsibility
7ApplicationOnly layer that directly interacts with data from the user
6PresentationTranslation, encryption, and compression of data
5SessionOpens and closes communication between two devices

OSI Model layers and their responsibilities

File transfer example from the session layer (megabytes)

File size100
Checkpoint interval5
Transferred before crash52
Remaining to transfer50

Layers and Their Functions

The seven layers of the OSI Model, ordered from highest to lowest abstraction, are as follows: the application layer manages user-facing services and data formatting; the presentation layer handles data translation, encryption, and compression; the session layer establishes, maintains, and terminates communication sessions, including synchronization via checkpoints; the transport layer ensures end-to-end data transfer through segmentation, flow control, and error recovery; the network layer manages logical addressing, routing, and packet forwarding across networks; the data link layer oversees node-to-node delivery, framing, and media access control on the same network segment; and the physical layer transmits raw bitstreams over physical media, defining electrical, mechanical, and procedural specifications for activation, maintenance, and deactivation of the physical link.

Governing Standards and Protocols

While the OSI Model itself is a reference framework, it guides the development and classification of real-world protocols. Protocols operating at the application layer include those for web transfer and mail exchange. The presentation layer implements protocols responsible for data representation transformation. Session layer protocols manage dialogue control and synchronization mechanisms. Transport layer protocols provide either reliable, connection-oriented delivery or unreliable, connectionless datagram service. Network layer protocols handle logical addressing and routing decisions, including error reporting and multicast functions. Data link layer protocols define framing, addressing, and access methods for local network communication. Physical layer standards specify voltage levels, pin configurations, modulation techniques, and physical connectors for bit transmission over various media such as copper wire, fiber optics, or wireless signals.

Limitations and Criticisms

Despite its educational and diagnostic utility, the OSI Model has notable limitations in practical implementation. The modern Internet protocol suite (TCP/IP) does not map cleanly onto the seven-layer structure, often combining functions of multiple OSI layers into fewer layers—for example, the TCP/IP application layer encompasses the OSI application, presentation, and session layers. This mismatch reduces the model’s direct applicability to real-world network design. Additionally, the strict layering can introduce inefficiencies, as data must pass through each layer even when certain functions are unnecessary. The model was developed before the widespread adoption of local area networks and wireless technologies, making some of its assumptions about network topology less relevant today. Furthermore, the OSI Model was never fully implemented as a complete protocol stack in mainstream commercial systems, limiting its role to a theoretical and teaching tool rather than a deployed architecture. Its complexity and the emergence of simpler, more pragmatic models have led to diminished use in actual protocol engineering, though it remains valuable for conceptual analysis and fault isolation in network troubleshooting.

Layer Primary Function Example Responsibilities
Application User interaction and service access Formatting data for user applications, initiating communication requests
Presentation Data representation and security Translating data formats, encrypting/decrypting, compressing/decompressing
Session Dialogue control and synchronization Establishing/maintaining sessions, setting checkpoints for data recovery
Transport End-to-end data transfer Segmenting data, managing flow and error control, reassembling data
Network Logical addressing and routing Packetizing data, determining paths across networks, handling addressing
Data Link Node-to-node delivery Framing data, managing access to physical media, detecting/correcting errors
Physical Bit transmission over media Converting data to electrical/optical signals, defining physical connectors and signal types
Source

Adapted for this library from the original article at https://www.cloudflare.com/learning/ddos/glossary/open-systems-interconnection-model-osi/ — see the publisher's site for the authoritative version. (retrieved October 2026).