APNIC Pty Ltd.

12/12/2023 | Press release | Distributed by Public on 12/11/2023 17:28

That OSI model refuses to die

If you work in networking in any capacity and haven't seen this passionate article yet, I strongly recommend you read it. It's by Robert Graham, published as a Google doc instance called 'OSI Deprogrammer, Re-conceptualizing cyberspace ' in September 2023.

Graham's thesis is that the OSI model has to die. (Note, that's his surname. He's one of those people who has two first names as his full name. I've never met Robert, so he's Mr Graham to me.)

Traditionally, the OSI model can be thought of as a roadmap for how different parts of a computer network talk to each other. It's got seven layers, each doing its own thing:

  1. Physical Layer: Handles the hardware like cables and network cards.
  2. Data Link Layer: Makes sure there's a solid link between connected devices and takes care of errors.
  3. Network Layer: Sends data between different networks.
  4. Transport Layer: Manages the flow of data between devices and fixes errors.
  5. Session Layer: Sets up and maintains connections between applications.
  6. Presentation Layer: Makes sure data is readable and secure.
  7. Application Layer: Where software applications interact with the network.

Graham describes the OSI model as 'wrong' on many levels, including:

  • It's based on archaic, mainframe-era concepts of strict functional separation across the procedure call stack, which he feels no longer apply.
  • It lacks subtlety, when in fact functions in a network can cross contexts. Calls can be exposed into the transport layer (TCP, UDP) to affect how the network and link layers (IP versions 4 or 6, and Ethernet or optical networks, respectively) behave concerning the session.
  • It imposes a straitjacket on thinking about which parts of a network exchange take place locally, which take place end-to-end, and the respective roles of the client and server throughout this process.

I don't entirely agree with his analysis. I have to admit I am biased having worked in this space myself from 1982 (on early implementations of the OSI Transport classes 1, 2, and 3, written as a finite state machine in PL/1 on a VAX VMS system in the UK) and again in 1985/6 (working in UCL-CS in London, on what became the ISODE system designed and implemented under the aegis of Marshall Rose) and then latterly working in the applications space on the X.400 and X.500 systems (email and directory services respectively). So, I have far too much skin both 'in the game' and 'left on the roadside' from working in the space repeatedly.

The QUIC protocol, preserving the connection state and operating above UDP, is well described as a session layer. The state it preserves is the session-specific information to make an application agile as the network underneath changes. This is precisely what some of the function(s) identified for the session layer in the OSI model are. Likewise, TLS performs functions to model session layer behaviours.

Despite Graham's assertions, I do not believe the physical-link-network abstractions can be rejected because the concepts are so strongly mapped to how they're understood. It's important to remember that a model is not just a book of rules, it's a basis for mutual understanding and further discussion.

However, Graham's article is well-reasoned, passionately argued, explosive, and fascinating. I recommend anyone interested in the idea of a network, and the way networks are represented as concepts (that he explicitly addresses at length), read and reflect on the ideas it contains.

Graham states in the abstract:

[The OSI model] is not just a lie, but unhelpful. It needs to be removed everywhere, except as a historic footnote about 1970s mainframes.

OSI Deprogrammer, Re-conceptualizing cyberspace

What do you think?

The views expressed by the authors of this blog are their own and do not necessarily reflect the views of APNIC. Please note a Code of Conduct applies to this blog.