News for hackers. Stuff that matters.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by euyyn on Friday December 22, 2017 @02:06PM (#15990016)
Honest question, not trying to be dismissive: This architecture sounds old to me, as in things were built like that in the 80s or earlier but evolved past. Is that so? If so, what makes those decisions newly relevant?
Re:Harvey – An effort to provide a modern, distributed, 64-b... by floren on Friday December 22, 2017 @02:14PM (#15990077)
The architecture does indeed come from the late 80s/early 90s, but I think it's more relevant today than ever. Separation of services is, in my opinion, essential to security. By putting the authentication service off in its own machine, you restrict the attacks that can be made on it; the auth server only talks over a highly restricted protocol. On a standalone Unix system, users log in to the same machine that stores the passwords. They're only a privilege escalation exploit away from getting the hashes of everyone's password, and these days privilege escalations are a dime a dozen.

When this scheme was designed, it was frankly a little bit nutty. The CPU, auth, and file servers would be VAX or Sun systems, costing tens of thousands of dollars, and the terminals would be either slightly cheaper Suns or IBM PC-compatibles costing thousands of dollars themselves. Today, you could probably cobble together a passable network for a few hundred dollars, assuming you use cheap Atom boards for everything except the CPU server (which is meant to be a beefy compute box, but let's be honest nothing in Plan 9 uses a lot of cycles). This makes the architecture more sensible than ever.

Re:Harvey – An effort to provide a modern, distributed, 64-b... by cjhanks on Friday December 22, 2017 @02:48PM (#15990328)
It seems a bit older than that. Much of the design goals for Harvey were in the early MULTICS systems of the 70's. In some ways I view Plan9 as Bell Labs attempt to bridge the great components of MULTICS and UNIX together.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by thisrod on Friday December 22, 2017 @06:29PM (#15991763)
The way I see that history, Multics was the second system that never shipped, and Plan 9 was the fourth system that belatedly did ship Multics.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by cjhanks on Sunday December 24, 2017 @06:05PM (#16001771)
I don't mean to be argumentative. MULTICS was in use by Honeywell Aerospace into the early 90's simulating physics models.

There was a centralized computer which was programmed via punch cards which you could dial into to submit your specific simulation and later return to for results.

Re:Harvey – An effort to provide a modern, distributed, 64-b... by thisrod on Monday December 25, 2017 @01:50AM (#16003067)
Good point. Multics was used just as much, or little, as Plan 9 was. We might wish our predecessors had made the jump to distributed, securable operating systems, but there was never a time at which it made sense to do so.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by ww520 on Friday December 22, 2017 @02:29PM (#15990179)
Numerous centralized authentication services are available for Linux and Windows and others for a long time.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by floren on Friday December 22, 2017 @02:32PM (#15990198)
You're absolutely correct, and like I said a lot of people run their Plan 9 systems with all the services on one box, which kills a lot of the security advantages.

However, if you compare setting up a Plan 9 auth server to setting up a Kerberos server... well, basically anything to do with Kerberos makes me long for death. The Plan 9 auth system is one of the best things they made and I highly recommend checking out the paper: https://css.csail.mit.edu/6.858/2013/readings/plan9auth.pdf

Re:Harvey – An effort to provide a modern, distributed, 64-b... by nine_k on Friday December 22, 2017 @05:06PM (#15991299)
Can the component machines be run as VMs on fewer / one physical machine? It would make for a better QubesOS then.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by floren on Friday December 22, 2017 @07:59PM (#15992219)
Yes, I've used minimega to run a bunch of Harvey VMs for experimental use. https://github.com/Harvey-OS/harvey/wiki/Using-minimega-to-r...
Re:Harvey – An effort to provide a modern, distributed, 64-b... by nuntius on Friday December 22, 2017 @08:56PM (#15992465)
If you emulate a dozen machines on one physical machine, then a single exploit can traverse them all. If you pack a dozen "single board computers" in a case and give each a single function, then entire classes of attack are ruled out.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by euyyn on Saturday December 23, 2017 @05:52AM (#15993731)
> On a standalone Unix system, users log in to the same machine that stores the passwords. They're only a privilege escalation exploit away from getting the hashes of everyone's password

But what machines are, in practice, multiuser today in that way? My work computer has only my account, and sometimes a temporary one if a technician needs to log in to troubleshoot something. For home use I don't think it makes sense. And for a prod network, again users aren't logging into the machines directly.

Re:Harvey – An effort to provide a modern, distributed, 64-b... by ElijahLynn on Friday December 22, 2017 @04:12PM (#15990955)
Here is an excerpt from the about page, I don't know enough to argue for or against the architecture but this part caught my eye.

"those who believed in Harvey were thought to be insane, but eventually found not to be."

So they recognize that many will think it is an insane idea but are playing a long game to prove that to be incorrect.

================================

About the Name

So, why “Harvey”? Mostly because we liked it, but there are at least 3 other good reasons based on the origins of Plan 9 operating system:

Harvey is a movie, Plan 9 is a movie too. Harvey is a rabbit, Glenda is a bunny. Most importantly: in the movie, those who believed in Harvey were thought to be insane, but eventually found not to be.

https://harvey-os.org/about/

Re:Harvey – An effort to provide a modern, distributed, 64-b... by coldtea on Friday December 22, 2017 @02:35PM (#15990221)
>This architecture sounds old to me, as in things were built like that in the 80s or earlier but evolved past.

Actually most modern OSes in use are even older in their concepts.

Plan 9's concepts as described above have slowly creeped into Linux but not fully. So the architecture above was only experimental in the 80s/90s and is still nowhere available in the mainstream today.

So your concern is like saying "we've had macros and closures since the 70s" in a world that still uses Java/C#/etc.

Re:Harvey – An effort to provide a modern, distributed, 64-b... by marcosdumay on Friday December 22, 2017 @08:07PM (#15992263)
The idea does indeed come from the 80's, but things didn't evolve past them. The architecture of our current OSes was settled at the 60's and early 70's, and we never moved from it.

It is not clear why such things were never adopted. There were many licensing problems on the way, and a Microsoft monopoly pushing things into even older architectures than the competition. There were also failed modern projects, but there is little evidence to decide if it is a hard problem, greed people forced everybody into a worse path, or if it is something people do not want.

Re:Harvey – An effort to provide a modern, distributed, 64-b... by feelin_googley on Friday December 22, 2017 @06:01PM (#15991614)
One nice thing about Plan9 is there is no concept of "root".

Plan9 "fixes" many of the flaws/deficiencies of the original UNIX, such as that one.

Whats cool about this Plan9 project compared to the original Plan9 is one does not need to use the Plan9 compiler to compile it. One can use gcc, clang or icc.

Re:Harvey – An effort to provide a modern, distributed, 64-b... by tomc1985 on Friday December 22, 2017 @04:46PM (#15991175)
Why does the architecture's age matter? Things do not just magically stop working well. Why the obsession with novelty?
Re:Harvey – An effort to provide a modern, distributed, 64-b... by euyyn on Saturday December 23, 2017 @05:55AM (#15993740)
They key word in my question being "things evolved past that". Age doesn't matter, but if things are done in a different way now it's for reasons, not merely for novelty.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by jacquesm on Friday December 22, 2017 @02:29PM (#15990180)
That would make it an improvement over whatever else you are using which is most likely running on an architecture designed in the 60's and first implemented in the 70's.
Re:Harvey – An effort to provide a modern, distributed, 64-b... by tytytytytytytyt on Friday December 22, 2017 @02:27PM (#15990168)
Like how functional programming came from the 80s or earlier?