News for hackers. Stuff that matters.
Re:Looking Forward: Support for Secure Shell by jadeddrag on Tuesday June 02, 2015 @12:47PM (#9647108)
I'm looking forward to MS just dropping their OS entirely and using linux as their back-end. Basically, Microsoft might be better off creating their own linux distribution running a "microsoft windows" windows manager.
Re:Looking Forward: Support for Secure Shell by oblio on Tuesday June 02, 2015 @12:55PM (#9647167)
You mean desktop environment? Funnily enough, Windows started as one (http://en.m.wikipedia.org/wiki/Microsoft_Windows#Early_versi...). It was considered a "graphical operating system shell", what we'd call a "desktop environment" these days.

It is technically doable, but I'm not sure the Windows NT kernel is worth discarding entirely. It has some fancy tech in there and if need be it can emulate POSIX through "personalities" aka subsystems (http://en.m.wikipedia.org/wiki/Windows_Services_for_UNIX). Subsystems actually make it more flexible than Linux.

Re:Looking Forward: Support for Secure Shell by TazeTSchnitzel on Tuesday June 02, 2015 @02:09PM (#9647772)
Windows became more usable when it started supplanting the underlying OS, however.
Re:Looking Forward: Support for Secure Shell by Someone1234 on Tuesday June 02, 2015 @12:57PM (#9647179)
With how Microsoft has been acting in the last year and a half, I wouldn't put it past them. They actually already produce a lot of Linux code (yes, it is self-serving, but still) and on their cloud platform (Azure) Linux definitely isn't a second class citizen and even backs some of their cloud solutions.

But in general the NT Kernel is pretty good and Windows Server is already moving to be more "Linux-like" (e.g. Core mode, all the GUIs now generate Powershell commands, etc). So it might be a while before Microsoft actually dropped NT and moved to Linux, least of all because it would require a lot of code changes in other products.

Re:Looking Forward: Support for Secure Shell by UK-AL on Tuesday June 02, 2015 @12:51PM (#9647135)
Why? The windows core is a perfectly good alternative to Linux. It's always good to have competition.
Re:Looking Forward: Support for Secure Shell by jadeddrag on Tuesday June 02, 2015 @12:55PM (#9647155)
How would we know unless we can read (and compile) the source code?
Re:Looking Forward: Support for Secure Shell by UK-AL on Tuesday June 02, 2015 @01:00PM (#9647198)
People have, and do have access to it. Windows Research kernel. Kernel leaks, etc.

Generally the code quality is considered good.

Re:Looking Forward: Support for Secure Shell by jadeddrag on Tuesday June 02, 2015 @01:04PM (#9647238)
I'm sure that the NSA agrees with you.
Re:Looking Forward: Support for Secure Shell by breischl on Tuesday June 02, 2015 @01:13PM (#9647313)
Yes they do! They also apparently like OSX, iOS, and RHEL.[1]

Oh wait, you were just trying to score cheap snark points, weren't you?

[1] - https://www.nsa.gov/ia/mitigation_guidance/security_configur...

Re:Looking Forward: Support for Secure Shell by jadeddrag on Tuesday June 02, 2015 @01:26PM (#9647437)
Your link shows us how the NSA would like you to secure your systems, not their love for hiding their exploits behind closed sourced code. No snark points needed here!
Re:Looking Forward: Support for Secure Shell by jevgeni on Tuesday June 02, 2015 @04:18PM (#9648655)
Why would NSA bother with OSs, if they could get direct access to firmware, theoretically?
Re:Looking Forward: Support for Secure Shell by wosos on Tuesday June 02, 2015 @06:35PM (#9649486)
Costs?
Re:Looking Forward: Support for Secure Shell by jevgeni on Wednesday June 03, 2015 @01:21AM (#9650725)
Good point, actually. :)
Re:Looking Forward: Support for Secure Shell by Someone1234 on Tuesday June 02, 2015 @12:59PM (#9647194)
Considering how few people read and compile the Linux source code, how do you know on Linux? Most distributions are binary, not source.
Re:Looking Forward: Support for Secure Shell by schoen on Tuesday June 02, 2015 @01:30PM (#9647464)
Fortunately that will change for Debian, and, we can hope, Debian-based distributions.

https://wiki.debian.org/ReproducibleBuilds

(I gave a talk about this at CCC. The status quo is a reason why free software doesn't have some of the transparency benefits over proprietary software we might expect, if you fear some developer is attacking you or someone is attacking some developers' infrastructure.)

Re:Looking Forward: Support for Secure Shell by throwawayaway on Tuesday June 02, 2015 @01:32PM (#9647479)
jeez, great post. sorry for my bad humour at you the other day. es tut mir leid.
Re:Looking Forward: Support for Secure Shell by lelandbatey on Tuesday June 02, 2015 @01:26PM (#9647429)
While that's true, I still know people who compile their own OS from scratch; I've gone through the experience of compiling my entire system from source via Linux From Scratch[0].

There are many thousands of people who have done the same thing, and this gives us a "web of trust". And if you don't want to trust anyone, you can always compile it yourself.

That's the difference: I have the freedom to learn and study anything and everything. It might not be likely, and it might not be convenient, but it is possible.

[0] - http://www.linuxfromscratch.org/lfs/view/stable/

Re:Looking Forward: Support for Secure Shell by yellowapple on Tuesday June 02, 2015 @02:41PM (#9648029)
I'm not sure about reading, but several distributions (notably, Gentoo and Slackware) encourage (and in the former case, require) users to configure and compile Linux from source instead of relying on a binary installation.

Of course, this doesn't do anything against a malicious install environment or a backdoored compiler, but it's a start.

Re:Looking Forward: Support for Secure Shell by caskance on Tuesday June 02, 2015 @03:25PM (#9648324)
Yes, and that's why so few people use those distributions.
Re:Looking Forward: Support for Secure Shell by yellowapple on Tuesday June 02, 2015 @06:34PM (#9649477)
Never claimed they were popular. Just that Linux From Scratch isn't the only option for those wishing to to run a kernel they built from source.
Re:Looking Forward: Support for Secure Shell by 72deluxe on Tuesday June 02, 2015 @05:16PM (#9649069)
But you'd have no backwards compatibility. No software would run. You'd have to use systemd and be subject to the infighting in the Linux world, with short-lived projects and the CADT development model that appears to exist there. At least with Windows you can still write in the classic Windows API and it'll still work.

Your comments is naive, I feel?

Re:Looking Forward: Support for Secure Shell by serge2k on Tuesday June 02, 2015 @01:25PM (#9647427)
They might actually create a usable consumer OS given enough time to fix the garbage in Linux.
Re:Looking Forward: Support for Secure Shell by jadeddrag on Tuesday June 02, 2015 @01:34PM (#9647496)
I think you're confusing linux (the kernel) with linux distributions (mostly lousy windows managers that run on linux).

Let's not get into an OS war between us here, but looking at the changes over the last 15 years, it's clear that MS is warming up to Linux. This is something that was absolutely unthinkable during the Gates and Ballmer eras.

The linux community must be doing something right when developer demand and excitement is so high for ssh.

Re:Looking Forward: Support for Secure Shell by TazeTSchnitzel on Tuesday June 02, 2015 @02:09PM (#9647776)
Linux, the kernel, is also pretty bad, though.
Re:Looking Forward: Support for Secure Shell by talideon on Tuesday June 02, 2015 @01:50PM (#9647637)
Come back to us when you've found a way to implement the good stuff that Windows has, such as IOCPs: https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...

And no, epoll isn't enough.

Re:Looking Forward: Support for Secure Shell by floatboth on Tuesday June 02, 2015 @03:04PM (#9648193)
If I remember correctly, the node.js team needed a lot of help from experienced Windows developers (even from Microsoft itself??) to add IOCP support to libuv.

I think kqueue is the best (well I guess I'm a BSD fan :D) but in general: app developers generally don't care about this, they just use libuv or libevent or something like that.

Does Windows really have "good stuff" for developers? .NET is excellent, but the lower level APIs look horrible. (And the CP/M / DOS era files stuff – drive letters, file extensions that actually matter – makes me very unhappy.)

Jails, ZFS, DTrace, FUSE, netmap, PAM, pf – that's good stuff!

Re:Looking Forward: Support for Secure Shell by talideon on Tuesday June 02, 2015 @10:09PM (#9650183)
Yes, even Windows has good stuff under all that legacy crap, and IOCPs are one of those things. The actual low-level APIs - and I'm talking kernel-level stuff here - aren't that bad. The bad stuff is what's layered on top of that, such as the Win32 APIs, which are genuinely crap.

I also really like kqueue (and unsurprisingly FreeBSD is also my OS of choice) and it's better in general than epoll, but it has its limitations. For instance, directory and file change notifications are less than awesome as kqueue needs file handles. inotify on Linux works better for this stuff, IOCPs just work for this stuff.

My point was that dismissing everything in Windows like jadeddrag did is shortsighted and dumb. It's not as if Unix-like OSs don't have plenty of misfeatures: nobody in their right mind is going to say that sockets couldn't have been designed much better (see how Plan 9 implements them for a better designed API), or that audio on Linux isn't a godawful mess, or that X isn't a monstrosity.

You're right, all that stuff is great, but as they saying goes, "why worry about a speck in the other guy's eye when you've a log in your own?"

Re:Looking Forward: Support for Secure Shell by rbanffy on Tuesday June 02, 2015 @05:56PM (#9649296)
> Does Windows really have "good stuff" for developers?

If all a developer knows is Windows, it seems awesome.

Re:Looking Forward: Support for Secure Shell by cwyers on Tuesday June 02, 2015 @09:31PM (#9650087)
That doesn't make IOCP worse than epoll, it's just not the same as epoll. Look at PyParallel:

https://speakerdeck.com/trent/pyparallel-how-we-removed-the-...

Re:Looking Forward: Support for Secure Shell by talideon on Tuesday June 02, 2015 @10:16PM (#9650200)
Exactly! And that's an excellent presentation that outlines what's really cool about IOCPs.
Re:Looking Forward: Support for Secure Shell by apalmer on Tuesday June 02, 2015 @04:54PM (#9648904)
> .NET is excellent, but the lower level APIs look horrible.

It is, more or less, what it is. lower level APIs cannot change without breaking backwards compatiblity. Microsoft as an organization is all about backwards compatibility. So this is just not going away, like you say there is stuff in there from DOS that will just not ever go away.

Re:Looking Forward: Support for Secure Shell by 72deluxe on Tuesday June 02, 2015 @05:17PM (#9649077)
Or still-supported DDE, COM program embedding, easy-to-configure ODBC etc. etc. etc.