[mosh-devel] Solaris support

Timo Sirainen tss at iki.fi
Tue Apr 10 11:53:55 EDT 2012


On 10.4.2012, at 18.23, Quentin Smith wrote:

> Have you tried both mosh-client and mosh-server on Solaris, connecting to a non-Solaris remote end? They use very different features, so I wouldn't expect both to be broken.


mosh-server on Solaris + mosh-client on Linux -> client hangs on "Connecting..."

mosh-client on Solaris + mosh-server on Linux ->

Server fails with:

Server now attached to client at IP:51699
Crypto exception: Illegal counterparty input (possible denial of service) in function std::string Network::Compressor::uncompress_str(std::string) at compressor.cc:23, failed test: 0 == uncompress( buffer, &len, reinterpret_cast<const unsigned char *>( input.data() ), input.size() )

The client then crashes with "bus error", which the attached patch fixes. After the fix it crashes with:

Fatal assertion failure in function TransportBuffers::Instruction Network::FragmentAssembly::get_assembly() at transportfragment.cc:128
Failed test: ret.ParseFromString( get_compressor().uncompress_str( encoded ) )

Well, at least now I have something concrete to debug instead of just a hang.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mosh-memalign.diff
Type: application/octet-stream
Size: 549 bytes
Desc: not available
Url : http://mailman.mit.edu/pipermail/mosh-devel/attachments/20120410/5d870b16/attachment.obj


More information about the mosh-devel mailing list