News for hackers. Stuff that matters.
Re:Mosh v1.3 Released by st3fan on Saturday April 29, 2017 @07:50PM (#14229442)
Mosh would be more widely available, outside of just this 'reference implementation', if it did not use patent encumbered OCB crypto.

Phillip Rogaway holds patents relevant to OCB. See the following for his patent grant: http://www.cs.ucdavis.edu/~rogaway/ocb/grant.htm

I think this is the primary reason why there are still no alternative clients. And specifically, no good Mobile clients.

The reliance on OCB is unfortunate. I wish the Mosh developers would introduce multiple cipher schemes so that people can move away from OCB.

Unfortunately the protocol is also pretty poorly designed, with no easy backward compatible way to do this.

For example, when a client starts a session, the server prints "MOSH CONNECT 60001 sdmDrHqo8DBdpKxtAFAUyw" where the last part is the OCB key. It should have been prefixed with the ciper type for extensibility, but it is not. So this would need a backward incompatible redesign to get it going.

Re:Mosh v1.3 Released by shakna on Saturday April 29, 2017 @08:07PM (#14229495)
> And specifically, no good Mobile clients.

I use JuiceSSH [0] on Android, which is based around mosh-client. It works great... What precisely do you mean by the above?

[0] https://juicessh.com/

Re:Mosh v1.3 Released by tptacek on Sunday April 30, 2017 @12:46PM (#14232414)
This is a red herring. OCB --- which is possibly the best "mainstream" authenticated encryption construction --- has a blanket patent license for open source software. It applies to any software licensed under any license recognized by OSI, and its only restriction is that the license is withdrawn if you initiate patent litigation.

OCB should be far more widely used than it is.

Meanwhile, configurable "cipher schemes" have in practice been a disaster. They are, for instance, the reason we still have RC4 in TLS today, despite knowing for almost 2 decades now that RC4 is broken.

Re:Mosh v1.3 Released by Shish2k on Monday May 01, 2017 @10:45AM (#14237846)
> Meanwhile, configurable "cipher schemes" have in practice been a disaster. They are, for instance, the reason we still have RC4 in TLS today, despite knowing for almost 2 decades now that RC4 is broken.

If TLS had hard-coded RC4 with no alternatives, how would we be better off?

Re:Mosh v1.3 Released by tptacek on Monday May 01, 2017 @02:42PM (#14240262)
You have one cipher, deployed in exactly one authenticated encryption construction. The protocol has a version. If the cipher is weakened or broken, you upgrade the whole protocol. You don't add better ciphersuites to the existing protocol to compensate.

Having a bunch of ciphersuites, all believed at the time of their inclusion to be strong, just maximizes the attack surface of the protocol. Having ciphersuite negotiation at all practically guarantees that interoperability will require lowest-common-denominator security.

Re:Mosh v1.3 Released by JdeBP on Sunday April 30, 2017 @07:49AM (#14231120)
One reason that independent alternatives do not exist is nothing to do with patents, and everything to do with the protocol never actually being properly documented.

* https://news.ycombinator.com/item?id=11612615

Make that 5 years and counting.

Re:Mosh v1.3 Released by jitl on Saturday April 29, 2017 @08:37PM (#14229590)
Is Blink "bad"? It works for me.

http://www.blink.sh

Re:Mosh v1.3 Released by st3fan on Saturday April 29, 2017 @10:08PM (#14229823)
It is not bad. But it took 5 years.
Re:Mosh v1.3 Released by brians on Saturday April 29, 2017 @10:10PM (#14229828)
It is missing the one crucial feature: resuming the last session after a while away!
Re:Mosh v1.3 Released by goerz on Sunday April 30, 2017 @12:10PM (#14232197)
Why do you think it's missing it? It has the same persistence as the mosh-client on a deskop. That is, the connection will persist as long as the client process exists. If you are observing anything else, that would justify a bug report on Blink. The one complication is that iOS can sometimes kill background processes at will, which would also kill the mosh-connection. As far as I know, the Blink team is currently working on dealing with this better (issue #59). It shouldn't happen very often, though, and I've certainly had Blink persist in the background for multiple days.
Re:Mosh v1.3 Released by Flowdalic on Sunday April 30, 2017 @04:07AM (#14230617)
> The reliance on OCB is unfortunate. I wish the Mosh developers would introduce multiple cipher schemes so that people can move away from OCB.

Isn't OCB an open standard? https://www.rfc-editor.org/rfc/rfc7253.txt

Re:Mosh v1.3 Released by tptacek on Sunday April 30, 2017 @12:51PM (#14232453)
"Open standard" doesn't really mean anything. It's standardized, in that there is a standard (actually, multiple compatible standards) that you can code to and end up with interoperable OCB. The complaint upthread is that OCB is patented, which it is. But for many years now, OCB has been free for open source software.
Re:Mosh v1.3 Released by st3fan on Sunday April 30, 2017 @09:16PM (#14234878)
The license terms are vague. Is it connected to OpenSSL or not? Do you have to ask the author permission or not? And it is limited to open source software.

Nobody wants to involve expensive lawyers, so for many folks that rules out OCB.

Mosh is a great idea, but by connecting it to OCB, the authors completely stalled more widespread adoption. That, and like you said, the complete lack of protocol spec.

Re:Mosh v1.3 Released by tptacek on Monday May 01, 2017 @12:36AM (#14235595)
It's not vague: it's not connected to OpenSSL. You do not need permission; you need to use an OSI-compliant license for your software.