06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · YouTux Channel · · 16:07 runtime

The Soviet Unix

In the wiki UNIXDEMOSPDP-11Berkeley Standard DistributionUsenetMNOS Also namedAT&T, IBM System/360, DEMOS 2, IBM
Transcript 2613 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

On the 1st of April, 1984, a message appeared on Usenet and it broke half the network. The sender was Konstantin Chernenko, the General Secretary of the Communist Party of the Soviet Union. The message said more or less that the USSR had finally joined the network to open a dialogue of peace with the American people and with the European people. And the sender address was a chain of nodes ending with three beautiful names: Moskvax, Kremvax, KGBvax. A Vax inside the Kremlin. A Vax inside the KGB. Of course, it was a prank. It was secretly written by a Dutchman from Amsterdam. His name was Piet Beertema, one of the pioneers of the European network. The same man who 2 years later would create the national domain {dot}nl.

And the prank worked for one precise reason. The idea that Usenet could ever cross the Iron Curtain was simply absurd. Nobody could even imagine it. Some people replied in fear. Some replied with enthusiasm. Some asked for confirmation. 2 weeks later, Beertema revealed the truth. Today, it is considered the first great hoax in the history of the Internet. Keep this story in mind because 6 years later, a message arrived from Moscow. A real one. And here is the incredible part. This time, nobody believed it. Today, I'm going to tell you the story of Demos, the Soviet Unix. But I will not tell it the way you find it elsewhere.

I will start from a question and I believe this is the right question. How does an American operating system protected by a commercial license, locked behind a technology embargo, >> [music] >> end up in the heart of a nuclear institute in Moscow? How does it become the backbone of the first Soviet network? And how does it find itself, in August 1991, acting as

the only window to the world while tanks surround the Russian Parliament? Let us start with the hardware because without the hardware, nothing makes sense. In the '70s, Soviet computing made a decision. A decision that historians still argue about today. Instead of developing their own architectures, and they had excellent ones, think of the BESM-6, they decided to clone the West. The ES machines were clones of the IBM 360 and 370. The SM machines were clones of the PDP-11 made by Digital. And here's the first little gem I brought you. In 1980, the Soviets released the 1801 series of processors, 16-bit chips, fully compatible with the instruction set of the PDP-11. So compatible, in fact, that software written for a PDP-11 in Boston could run on a desk in Moscow.

On these chips, they built the DVK machines, Soviet personal computers with the soul of a PDP inside. And this is where the story gets interesting, because if your hardware is a clone of the PDP-11, then somewhere out there, a perfect operating system already exists for you. It is called Unix. Too bad you cannot have it. There was the CoCom embargo, the Western committee that controlled technology exports to the Soviet bloc. There was the license of AT&T. There was the Iron Curtain. Unix, officially, could not enter the Soviet Union. Officially. In practice, in the early '80s, tapes were circulating around Moscow. Fragments of source code, partial copies.

Versions of, let us say, unclear origin. Some of it came from researchers who had spent time in Western universities. Some of it came through channels that are better left unasked. And here is a delicious detail I found while digging. In the book The Cuckoo's Egg, Clifford Stoll tells the story of a German hacker, Markus Hess, a man who sold stolen material from American networks to the KGB, including Unix code. Now, here is the paradox. While the KGB was paying dollars for that code, the programmers in Moscow already had BSD. The academic black market had arrived before state espionage and according to the people who were actually there, the KGB had nothing to do with the birth of Soviet Unix. It was students, researchers, nerds, people like us.

From those tapes, two projects were born and here I need one moment of your attention because the names are easy to confuse. The first one was called MNOS, developed from 1981 in an institute with a wonderful name. The training institute [music] of the Ministry of the automotive industry. Yes, you heard that right. The first Soviet Unix was formally born under the Ministry of cars. MNOS was derived from version 6 of Unix and it had one quality that made people love it. It was small and it was fast. So much so that one of its versions earned an affectionate nickname, Rabochaya Loshadka, the little workhorse. The second project was called DEMOS, started in 1982 at the Kurchatov Institute in Moscow. The Institute for atomic energy, the place where the Soviet bomb was born.

DEMOS stands for Dialogovaya Edinaya Mobilnaya Operatsionnaya Sistema. The unified interactive portable operating system and this one came from the Berkeley branch, from BSD. Let me underline something. The keyword in that name is Mobilnaya, portable. In a country where every family of computers had its own operating system, incompatible with all the others, the idea of one single system written in a high-level language that you could recompile on different machines was a small cultural revolution. It was the Unix philosophy crossing the Iron Curtain. Before the code itself, the two groups were formally competitors. In practice, they exchanged patches, ideas, people constantly to the point that separating their contributions became impossible. And in fact, between 1986 and 1990, the two systems were merged into one. DEMOS 2

based on a copy of 2.9 BSD, which had also arrived through not exactly official channels, and later on 4.2 BSD for the 32-bit machines. The Soviet clones of the VAX. And now the second gem, my favorite one in the whole technical part of this story, the problem of Cyrillic. MNOS was the first fully bilingual Unix in history. It started with a proprietary character set, which was later abandoned in favor of KOI8. And KOI8 is one of the most brilliant encodings ever designed. The Cyrillic characters are not arranged in Russian alphabetical order. They are arranged so that if you strip away the eighth bit, if a bad modem or a Western system mutilates your text, what remains is not garbage.

It is a readable Latin transliteration. Your Russian message, decapitated of one bit, becomes Russian written in Latin letters, understandable. This was engineering designed for a hostile world, for terrible phone lines, for software that was never expecting you. I find it one of the most elegant ideas in the history of computing, and almost nobody knows it. In 1988, official recognition arrived. The developers of DEMOS received the prize of the Council of Ministers of the USSR. Stop for 1 second on this image. The Soviet state officially rewarding a group of programmers for adapting, let us say, an American operating system covered by an AT&T license, forbidden by the embargo.

I do not know about you, but to me, this is pure poetry. Then comes perestroika, and the story shifts gears. In 1988 and 1989, Gorbachev's new laws on cooperatives opened an unthinkable door, the possibility of creating private companies. A group of these people, many of them from the Kurchatov Institute, founded a cooperative in Moscow. For the first few months, it was called Interface. Then it took the name of the operating system that had made it possible. The Demos Cooperative. They sold and supported the Soviet Unix as a commercial product, which in Moscow in 1989 was a concept on the edge of science fiction. And here the two threads of this story, Unix and the network, tie together.

In the summer of 1990, the Demos Cooperative and the Kurchatov Institute built an email network. It was based on UUCP, the old Unix protocol that transfers messages in batches, calling other machines by modem. They called it Relcom, from reliable communications. On the 1st of August, 1990, the network went live, connecting Moscow with research centers in Dubna, Serpukhov, Novosibirsk. And on the 28th of August, 1990, the big one. A modem call between the Kurchatov Institute and the University of Helsinki. The first email exchange between the Soviet Union and the world. There was no dedicated line, no special cable. There was an international phone call to Finland, repeated every hour, to move mail and news back and forth.

The Iron Curtain was pierced with a phone bill. On the 19th of September, 1990, a top-level domain was registered, .su, Soviet Union. Remember this date, because I will come back to it at the end. And now, back to the prank of 1984.

Because when the first real messages from Moscow started appearing on Usenet with that domain, demos.su, something beautiful happened. People did not believe it. They thought it was another April Fools' joke. The group introduced itself as the Soviet Unix User Group. And I found the original threads from September 1990 in the archives. People asking, "Is this real? Is there really Unix behind the Iron Curtain? Can anyone confirm?" And the chief programmer of Demos, a 26-year-old with glasses named Vadim Antonov, signed his messages with a note that became legendary. Demos, Moscow, USSR. It is not a joke. Antonov knew the Kremvax story perfectly well. He openly played with it in his posts, and at some point he made the move that closes the circle. He had the network's gateway to the world named Kremvax, the machine invented by a Dutch prankster in 1984, the Soviet node that could not exist.

Now it existed, and it did exactly what the prank had promised. They took a joke made at their expense and turned it into a host name. If this is not hacker humor, I do not know what is. And so we arrive at August 1991, the ending that nobody could have written better. On the 19th of August, a group of hardline plotters kidnapped Gorbachev in Crimea and seizes power in Moscow.

The first thing they do, straight from the textbook, is kill the information. They shut down the independent newspapers. They cut off CNN. Soviet television plays Swan Lake on repeat. They thought of everything, radio, television, press. But there was one thing that was not in their textbooks, because their textbooks were written before it existed, a computer network run by a private cooperative of Unix programmers with a line calling Helsinki every hour. That day, in the Demos offices, Antonov and his colleagues made a decision. They knew exactly what they were risking if the coup succeeded. They discussed it, and they decided to keep the channel open. For 3 days, everything passed through there. Yeltsin's decrees declaring the coup illegal, eyewitness reports from the streets, news bulletins copied by hand, observations from their users in dozens of cities. All of it landed on the newsgroup talk.politics.soviet.

And from there it bounced to computers across the entire planet. In those 3 days, the Relcom network moved about 46,000 units of news between the Soviet Union and the world. There is one message from those days that struck me more than anything else. Antonov's wife, Polina, writing to a worried American colleague, "Do not worry. We are fine, frightened, [music] and angry. Moscow is full of tanks. They have shut down all the media, but thank heaven

they do not consider Relcom mass media. Or maybe they simply forgot about it. The plotters censored everything except the one thing they did not understand. And there is a comic detail, too, because true history always has a comic detail. At some point, Yeltsin's men showed up at the Demos offices. They were not looking for the network. They were looking for a photocopier for their leaflets. And there, by accident, they discovered that these guys could send the president's proclamations to 70 Soviet cities and to the whole world in a matter of minutes. Russian political power discovered the internet because it needed a photocopier. Oh, and remember Kremvax?

During those three days, the node carrying the name of the 1984 prank became for many Soviet cities the only reliable source of news. Piet Beertema's wrong prophecy had come true twice. First, it became a real machine. Then, it became exactly what the fake Chernenko had promised in the original message, an open channel of dialogue between peoples, except it worked against the Kremlin, not for it. Years later, Antonov, with the modesty of a true programmer, dismissed those three days as an advertising campaign for Relcom. And he said his own role had been that of a censor in reverse, removing names from the eyewitness reports before publishing them to protect those people in case things went wrong.

That sentence, to me, is worth an entire course in the ethics of information. The aftermath, you know it, or you can guess it. The Soviet Union dissolved four months later. The cooperative became a company. Then came the shares, the divisions, the separate roads. As it always happens when pioneers are forced to become businessmen. Demos as an operating system died quickly. Crushed by Western hardware now flowing in freely, bringing its own Unixes along. And then by a certain kernel written by a Finnish student in those very months. Think about it. While Relcom was calling Helsinki every hour to pierce the iron curtain, in Helsinki, a 21-year-old was writing Linux. Sometimes history is not even subtle. But before I close, I owe you two last gems. The first, you can try Demos today.

Sergei Vakulenko, one of the original programmers, has put the system images online, and they run in emulation. You can boot a Soviet Unix from 1985 with its Cyrillic KOI8 shell on the laptop sitting in front of you right now. Computer archeology is one of the absurd privileges of our time. The second, the .su domain, registered on the 19th of September, 1990. For a country that would disappear 15 months later, it is still alive. The country has been gone for 35 years. Its internet domain is not. Over 100,000 active registrations, and over the years it has earned a rather shady reputation as a refuge for cybercrime. The Soviet Union survived itself in the form of a top-level domain.

No screenwriter would have the courage. And I close with a reflection, because this story for me is not just a good story. Demos is proof that code does not respect borders, that no embargo, no license, no iron curtain has ever truly stopped the circulation of knowledge. When on the other side, there are people curious enough and stubborn enough. Those programmers did not have permission to have Unix. They took it, they understood it, they translated it, they adapted it to worse machines under worse constraints, and in the end they used it to do the thing that Unix and networks do best. Connecting people that someone wanted to keep apart.

At the most important moment that network built on smuggled code became the nervous system of a country choosing to be free. Today we have free code by license, guaranteed, protected, one command away. They had to pass it around on magnetic tapes, hand to hand at their own risk. Every now and then it is worth remembering what we call free software, someone, somewhere once treated as contraband. And it was worth it. See you next time and may Linux be with you.

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 537 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks