News for hackers. Stuff that matters.
Re:The OSI Deprogrammer by tptacek on Tuesday October 24, 2023 @11:42PM (#38008906)
I mean, this isn't bad or anything, and if Rob Graham is going to write about anything with authority, this is certainly it, but it's kind of beating up a straw man, isn't it? I feel like "layering violations" went out the window with HTTP, and certainly by the time we got WebSockets.
Re:The OSI Deprogrammer by throwawaaarrgh on Tuesday October 24, 2023 @11:54PM (#38008955)
It's not great. It reads like some angsty nerd who really doesn't like the idea of something and has spent an inordinate amount of time trying to explain why it's wrong and why his solution is better. Sometimes that works, if your name is Locke or Marx or something, but this writing really doesn't say "genius" to me.

Moreover, I have not heard anyone but myself utter the word "OSI" out loud in 8 or 10 years. Maybe it's still a thing in academia, but it's not in corporate or open source worlds. I don't know if I've met more than 2 people in 5 years that know how TCP works. It's just a magic tunnel that HTTP somehow uses under the covers. So I really don't get the need or purpose for this document. It's like describing in excruciating detail that what you know about the ancient Egyptians is a lie, because that's somehow going to be necessary for somebody?

Re:The OSI Deprogrammer by tptacek on Wednesday October 25, 2023 @12:01AM (#38008996)
I sort of agree that "OSI" is really weakening his argument, and that he could take clearer aim at the classical Internet layering model (network, transport, application) --- even that simple layering is obsolete now. But it'd still be a straw man! We even run DNS over HTTP at this point.
Re:The OSI Deprogrammer by derefr on Wednesday October 25, 2023 @12:55AM (#38009283)
I think that the "OSI" he's speaking about isn't an engineering tool, a thing people would use to construct systems; rather, this "OSI" is a way of modelling systems that exist — systems that, of course, were not implemented by people thinking about OSI. It's an analytical modelling tool, a thing applied to a system retrospectively in an attempt to understand it, break it down along abstract rather than concrete lines. Like the various flavors of literary criticism.

Except in the case of OSI, it's not a reputable analytical tool from the perspective of actual academics; it's rather a discredited one. Instead, it's only lay-people with an outdated view of the state-of-scientific-practice who attempt to apply the discredited tool. And this article is an attempt to get those lay-people to stop doing that.

Compare/contrast how the layman may often think that Freudian psychoanalysis is still in use in psychiatry — and may even try to apply it themselves to understand someone's motivations. Much to the chagrin of psychiatrists.

Re:The OSI Deprogrammer by robertgraham on Wednesday October 25, 2023 @02:17AM (#38009719)
Yea, it's not about engineers constructing systems. I mean, engineers do frequently pretend their creations fit the OSI model, but they work backwards to make it appear to conform to orthodoxy.

The issue is about education. People teach the model, or some variation of it. It teaches misconceptsion, such as how Ethernet and the Internet are integrated in a single network stack rather than being independent networks. It leads to professionals in IT and cybersecurity who continue to hold this misconception.

Re:The OSI Deprogrammer by derefr on Wednesday October 25, 2023 @01:35PM (#38015586)
> It teaches misconceptsion, such as how Ethernet and the Internet are integrated in a single network stack rather than being independent networks.

It really opened up a whole world of understanding for me when I decided to find out what happened when I searched "RFC 1." It made me realize that "the birth of the Internet" as we know it, was essentially the moment of the deployment of the first network switch (the BB&N IMP), isolating physical networks' electrical properties and collision domains from one-another and using DSPs to arbitrarily re-write packets between different signalling standards — thus rendering uniformity of physical/electrical media and LAN signalling standards, completely irrelevant.

Until that moment, I had always thought of "the Internet" as a thing that grew like a social network, with people "switching over" from using whatever networking equipment and signalling they had been using, to using Internet networking equipment and standards. But no! The whole clever thing about "The Internet" is that it didn't do that! It just took all the random proprietary networks that people had built, and connected them together, by coming up with a set of standards for how the networks would speak to one-another at their border gateways, and leaving everything else up to implementation!

And, in that view, the whole "layer separation" concept — of there being such a thing as an "IP packet" that bubbles up to userland separately from any delivery enveloping — wasn't fundamental to The Internet; in fact, existing protocols that were vertically integrated continued to work, being rewritten into something else when they reached the AS border gateway. The "layer separation" was an optimization to allow new "post-Internet" protocols to get by without AS-border-gateway packet rewriting, rather just re-enveloping, by separately standardizing "the contents of the envelope" and abstracting away "the envelope itself." But network stacks continued to support non-layer-separated communication for decades afterward!

Re:The OSI Deprogrammer by aidenn0 on Wednesday October 25, 2023 @01:48AM (#38009552)
I don't see DoH as any more of an issue for describing the layers than PPPoE is.
Re:The OSI Deprogrammer by candiddevmike on Wednesday October 25, 2023 @12:17AM (#38009068)
Enterprise networking still exists, and most things still fit in the OSI model for the most part (MPLS/"layer 2.5" had already broke the model kinda, exceptions can be made).

It's really unfortunate that folks have stopped learning about it. It makes troubleshooting connectivity issues so much easier and collective knowledge of OSI helps immensely with triage and communication.

Re:The OSI Deprogrammer by duskwuff on Wednesday October 25, 2023 @12:14AM (#38009059)
> Maybe it's still a thing in academia, but it's not in corporate or open source worlds.

Counterpoint: DDoS attacks are routinely described as "layer 3" or "layer 7" attacks.

And if you're in the kind of industry that goes in for certifications, the OSI model comes up pretty frequently in networking exams, especially at the entry level.

Re:The OSI Deprogrammer by thayne on Wednesday October 25, 2023 @01:03AM (#38009323)
Terminology like "layer 4", "layer 7" and sometimes "layer 3" is often used in documentation for things like load balancers, vpns or other tunnels, etc. As a specific example the documentation is for layers is split into layers 4-7 that roughly sort of match the OSI model. Except not really, because the OSI model doesn't really math tcp/ip. And the first feature listed on the overview page for an AWS ALB is that it does "Layer-7 Load Balancing".

I have no idea why we continue to use thes numbers instead of saying the protocols or a more descriptive name, like transpory layer or application layer.

Re:The OSI Deprogrammer by Karrot_Kream on Wednesday October 25, 2023 @01:18AM (#38009400)
I try and use "application layer" and "transport layer" myself but find that people don't really understand what I mean but for some reason understand "layer 4" and "layer 7" (and sadly yeah, occasionally "layer 3".) I still insist in documents in using descriptive layer names but usually in conversation just refer to load balancers or proxies.
Re:The OSI Deprogrammer by somat on Wednesday October 25, 2023 @11:09AM (#38013640)
It is worse with drive arrays. The original UC Berkeley RAID project enumerated several possible configurations of drives. Unfortunately the numbers they used to represent their configurations entered the vernacular when we probably should have been using the names. Now it is a complete mess.
Re:The OSI Deprogrammer by kiitos on Wednesday October 25, 2023 @02:18AM (#38009735)
I definitely have used the OSI model in all of my corporate jobs for my entire career.
Re:The OSI Deprogrammer by clausecker on Wednesday October 25, 2023 @01:29AM (#38009462)
The rant is not about layering being wrong, but rather that OSI is unsuitable to describe the layering of modern computer networks.

In an earlier text, he said it's as if college taught you what the parts of a horse-drawn carriage are and what part of a modern car you need to point at when the instructor asks you where the loin straps are.

Re:The OSI Deprogrammer by mikecoles on Wednesday October 25, 2023 @12:17PM (#38014371)
An amazing analogy. Thank you. I've recently been asked the OSI layers in an interview. I think it was done as a joke.
Re:The OSI Deprogrammer by aidenn0 on Wednesday October 25, 2023 @01:44AM (#38009532)
This isn't a straw-man (or at least wasn't when I took an undergraduate networking class in 2003 at Purdue[1]). We were taught the mappings from the OSI model to Ethernet/IP pretty much like TFA says, along with some hand-waving for the top 3 models with too many holes for the professor to address whenever anyone raised questions about it.

1: It was an off semester and it wasn't taught by Doug Comer, but we did use his book.

Re:The OSI Deprogrammer by robertgraham on Wednesday October 25, 2023 @01:55AM (#38009596)
Well, as my footnote in the abstract says, it's swatting a fly with an anvil.

It's not about people who already deal with this, like Nanog or systems programmers. Whatever model they've started with, they've developed a better one in their heads based upon their own expertise and experience.

It's about educators who continue to teach out-dated concepts.

Take Presentation Layer #6 as an example. It was created because in the 1970s, every computer model had a different character-set, and every terminal model different command-codes. It was therefore assumed that translating among these different formats would be a property of the network, that a fundamental step would be negotiating some common representation, like it is with FTP and Telnet.

This is no longer true today. Everything's Unicode. A PDF file on an EBDIC IBM mainframe is still encoded as UTF-8. Data representation is a property of the DATA not a property of the NETWORK. But people are slow to adapting to this paradigm shift.

As for "layering violations", I propose an alternative model where there are no layering violations. If real world conflicts with your model, the model needs updating.

Re:The OSI Deprogrammer by jdougan on Wednesday October 25, 2023 @02:20AM (#38009749)
Apparently Mike Padlipsky lived in vain [1].

I'm surprised you did not mention his work. Defining and critiquing the reference models in the case of the ARPAnet and OSI was his thing. Much of it was published in a (quite funny) book The Elements of Networking Style[2], partially taken from some of his RFCs.

[1] https://en.wikipedia.org/wiki/Michael_A._Padlipsky

[2] https://archive.org/details/elementsofnetwor00padl

Re:The OSI Deprogrammer by boffinAudio on Wednesday October 25, 2023 @07:05AM (#38011506)
People are seduced by their own ignorance.

I've spent 40 years professionally applying OSI to systems architecture, design and application, across a very broad sphere of different use cases and subjects, from networking to digital musical-instrument making, embedded systems for heavy industry, and so on. I have shipped multiple forms of computing systems to tens of millions of users over decades, and OSI has been a proven, extremely powerful tool in the toolbox under those circumstances.

I respect your opinion as a network wonk, but I can't help but feel you are doing a huge disservice to generations of students who will take your authority to mean something, and end up ignoring what is, admittedly, one of the greatest tools for systems architects to use in sorting out the mess - based on your mis-application of it as a tool in your limited realm as a network engineer.

People are seduced by their own ignorance.

For example - Just No: session is not just a mainframe term. It means: "a semi-permanent interactive information exchange between communicating devices", and it always has. You've colloquialized it to your own local context for the sake of your argument, and I fee your framing of this phrase as an "ancient term related to archaic mainframe technology" is a disservice to those who attempt to apply your deconstructivist doctrine. (Also, there is no such thing as old technology - only old users.)

By way of example: MIDI instruments have sessions. (MIDI, which is incidentally not TCP/IP, can also be grasped through the OSI model, because the OSI model is an expression of an observation of natural laws about how interchanging systems operate.)

I was taught, and have always seen OSI as a systems-interchange abstraction, not just for networking but for all computing systems, which can be defined as being composed of a network of interdependent components exchanging units of information.

The realization that the network is the computer elevated OSI out of the realms of networking and into a more broadly applicable context: all computing systems are a network of nodes interchanging information and in that sense OSI becomes far, far more valuable. TCP/IP is just one of the realms these natural laws were observed and codified, but this is just the tip of the ice berg for computing systems architecture.

Network wonks might not like to admit it necessarily, but the network is a computer and any computing system is a network. (You're a wonk if you care more about the technology than the users, using it.)

>Data representation is a property of the DATA not a property of the NETWORK.

One cannot have a NETWORK without an agreed-upon representation of DATA which, at least two nodes, must agree on. Thus a NETWORK without a common DATA representation isn't a functioning network. NETWORK encompasses DATA. You simply cannot have a NETWORK without standardized DATA: that is what a student of the Open Systems Interchange theory learns when they apply it.

>If real world conflicts with your model, the model needs updating.

Or, one of two other states exist: a) you don't have enough experience with the real world, or b) your understanding of the model isn't sufficient to solve the problem of a).

To look at OSI as simply a networking abstraction is to completely invalidate its utility as a means of organizing layers in the construction of a functional ontology. This kills the programmer.

People are seduced by their own ignorance.

You state:

The OSI Model pretends its theory because it’s the standard.

The OSI Model is an observation of natural laws in the ways that open systems interchange units of information according to human intuition about organization. I think you come very close to realizing this in your treatise, but you avoid this conclusion because, I suppose, its unsuited for your argument that OSI is broken. I think your understanding of its broad applicability across a much, much wider array of systems interchanges is what is faulty, here.

It's about educators who continue to teach out-dated concepts.

Educators should understand the concepts they are attempting to teach and should not be ignorant of the realms in which those concepts can be applied. Educators are clearly teaching it wrong, if students come away thinking that OSI is only relevant to building networking architecture. They miss the point entirely if they don't realize that OSI is applicable to any form of networked interchange of units of data - whether its on-die or across state lines. Whether its the CPU in the satellite or the network those satellites support: OSI scales to all systems of open interchange, big or small.

Therefore: I don't think OSI is broken at all. It think its application needs to escape the limited mindset of network wonks, though, and clearly it needs to be wrestled out of the hands of the academic gentry who don't get out much and therefore don't know how to apply it equitably.

OSI is an observation of the layering of the ontologies that are required in order to make a modern computing system have value to its human operators - and its use by systems architects in that context is highly, highly productive.

I've seen it time and again: a grey beard comes in and cleans up the mess by getting things sorted into the proper layers. Greenbeards, got into the mess by ignoring OSI in the first place.

As all computing systems are networks, OSI has a valuable scope way beyond the limited realm of netops. I look forward to your reasoned consideration of this challenge to your authority on the matter.

Re:The OSI Deprogrammer by robertgraham on Wednesday October 25, 2023 @10:53AM (#38013465)
Well, you sort of demonstrate my point.

The writers the OSI Model wrote a specific blueprint, not an "observation of natural laws". When they said "session", they didn't mean the same things you conceive of. Instead, they meant a very specific problem of connecting dumb terminals to simplex links.

What you now call "sessions" is what OSI called "associations", and OSI defined them to be part of the "Application Layer".

I'm not sure you've even read the OSI Model. For example, the "Presentation Layer" is not defined to do the data format translation, but only to NEGOTIATE a common represenation. The actual data translation is still done in the Application.

This is the problem. People have not read and understood the entire model. They've not heard of "associations" and believe the OSI's use of "sessions" means anything they might call "session". They believe OSI was written as theory when it was not. They believe anything OSI terms they don't understand mean something else, mean some sort of timeless theory.

They are seduced by their own ignorance of the model.

Re:The OSI Deprogrammer by boffinAudio on Wednesday October 25, 2023 @11:10AM (#38013642)
I beg to differ with you on all counts.

The problem of having an abstract representation of 'something' that must exist before any further negotiation can occur, on a one-on-one peer basis, still exists.

We still have sessions. The technology may have been a soggy noodle when the OSI authors started their journey, but its still just a damp string now.

>I'm not sure you've even read the OSI Model.

That is your prerogative, but I could as well claim that, neither have you - or if you have, you clearly have not understood it well, also. Such statements are of little use in a discussion of the OSI model, other than to serve as a barrier to entry.

>Seduced

OSI was written to observe a specific instance of the necessity to formulate distinct abstractions between disparate components in a multi-variate system, successfully processing information. (The Open Systems Interchange, or indeed .. didn't OSI itself evolve as an acronym, hmm..)

Like many good observations of natural law, it evolved over time as humans came to understand it, adopt it, and apply it to their situation.

Your claims of the intents and purposes of the original authors, per your perspective of the model, are frankly not convincing in the slightest.

Technology evolves from natural laws. It is based on observation, analysis, understanding, and application. This is true of all technologies - they're entirely dependent on the skill of the user.

Perhaps you have not searched far enough to find positive examples of OSI model mapping in an analysis which produced high-yield, industrial-strength, compelling results.

I would say you haven't looked far enough - because you seem intent on only applying it to your limited scopes: a) networking/TCP-IP, and b) your analysis of stupid people and their ignorance of history because it is sexy.

Do OSI on a system for musicians to create sound together on stage, and fail at it at least 3 times, and then we can discuss seduction.

Re:The OSI Deprogrammer by fanf2 on Wednesday October 25, 2023 @11:48AM (#38014055)
I am curious how the OSI model would guide a reader on which layer should be responsible for encryption and authentication. Especially how it relates to existing protocols such as IPSEC, TLS, Kerberized Telnet, QUIC, etc.
Re:The OSI Deprogrammer by taylodl on Wednesday October 25, 2023 @12:06PM (#38014218)
My experience has been similar to yours and from day one way back in the early 80's I was taught that OSI is a model and that no real-world networking protocol adhered to it. Period end. Forty years ago OSI wasn't taught as a framework or a standard - and this was within 5 years of it being developed! It was always taught as a model to understand the different aspects and functions of machine to machine communications. That's it and that's all!

In fact, it was this model that enabled the development and rapid adoption of the internet. People knew and understood, from day one, which OSI layer abstractions were collapsed into and managed by which parts of the TCP/IP protocol. People knew and understood, again from day one, where protocols such FTP, HTTP, and SMTP stood in the model. People understood where physical things like routers, bridges and gateways fit in the model and what functions were being served. The OSI model facilitated the explosion in networking that took place in the 80's and 90's - I know because I was there and watched it happen and was utilizing the model in creating solutions at the time!

This author is attacking a Straw Man.

Re:The OSI Deprogrammer by carlosm3011 on Friday October 27, 2023 @01:41PM (#38041528)
I don't think that Bob's essay goes against layering per-se. It's about the OSI layering specifcially not being suited to describe the current Internet anymore.

Layering is very much alive, but I tend to agree that we need a richer and better suited layering model.