<div dir="ltr">Good question!<div><br></div><div>We have a (small) crypto-focused test suite that gets run from &quot;make check&quot; and as part of building the Debian/Ubuntu packages (and possibly Fedora/EPEL?), but it doesn&#39;t test protocol interoperability among versions of mosh that were compiled differently.<div><br></div><div>It would be great to do a rigorous test suite like this, but honestly I think this is not where we&#39;re going to get in trouble (that Google will introduce a breaking change into the protobuf wire format and we won&#39;t know about it). I&#39;m a lot more worried about screwing up the terminal emulation (or the timeout semantics in SSP, which are a bit byzantine) than the possibility that Google will screw us over on protobuf.</div><div><br></div><div>Our intention is that that any mosh-client since 0.96 (February 2012) and any mosh-server since 1.0.9 (March 2012) can talk to each other and to the most recent release and the Git tip.</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 4:56 PM, James C. McPherson <span dir="ltr">&lt;<a href="mailto:James.McPherson@oracle.com" target="_blank">James.McPherson@oracle.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Alex,<br>
thankyou for the quick and reassuring response.<br>
<br>
btw, is there a test suite to help confirm the hypothesis?<br>
<span class="HOEnZb"><font color="#888888"><br>
James<br>
</font></span><div><div class="h5"><br>
On 15/05/15 09:50 AM, Alex Chernyakhovsky wrote:<br>
&gt; Hi James,<br>
&gt;<br>
&gt;  From my reading of<br>
&gt; <a href="https://github.com/google/protobuf/blob/master/CHANGES.txt#L187" target="_blank">https://github.com/google/protobuf/blob/master/CHANGES.txt#L187</a>, there<br>
&gt; are no wire-level differences. As long as mosh builds, it should<br>
&gt; stil=l be compatible across protobuf versions. I recently rebuilt<br>
&gt; Fedora&#39;s mosh to work against libprotobuf.so.9, which IIRC is 2.6.1,<br>
&gt; and I noticed no issues.<br>
&gt;<br>
&gt; The protobuf generated output source should be different, since protoc<br>
&gt; got new features.<br>
&gt;<br>
&gt; Sincerely,<br>
&gt; -Alex<br>
&gt;<br>
&gt;<br>
&gt; On Thu, May 14, 2015 at 7:44 PM, James C. McPherson<br>
&gt; &lt;<a href="mailto:James.McPherson@oracle.com">James.McPherson@oracle.com</a>&gt; wrote:<br>
&gt;&gt; Hi mosh-devel,<br>
&gt;&gt; I&#39;ve observed that Google Protobuf has made some incompatible<br>
&gt;&gt; changes between v2.5 and 2.6.1.<br>
&gt;&gt;<br>
&gt;&gt; When I built mosh for Solaris (internal testing / evaluation<br>
&gt;&gt; work), I used 2.5 and all seemed well. I built it again today<br>
&gt;&gt; using 2.6.1 - and again, all seems ok, but the protobuf generated<br>
&gt;&gt; output is different between the two versions.<br>
&gt;&gt;<br>
&gt;&gt; Does mosh have a dependency on a specific version of Google<br>
&gt;&gt; protobuf?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; thanks in advance,<br>
&gt;&gt; James C. McPherson<br>
&gt;&gt; --<br>
&gt;&gt; Oracle<br>
&gt;&gt; Systems / Solaris / Core<br>
&gt;&gt; <a href="https://www.jmcpdotcom.com/blog" target="_blank">https://www.jmcpdotcom.com/blog</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; mosh-devel mailing list<br>
&gt;&gt; <a href="mailto:mosh-devel@mit.edu">mosh-devel@mit.edu</a><br>
&gt;&gt; <a href="http://mailman.mit.edu/mailman/listinfo/mosh-devel" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-devel</a><br>
<br>
<br>
</div></div>--<br>
<div class="HOEnZb"><div class="h5">James C. McPherson<br>
--<br>
Oracle<br>
Systems / Solaris / Core<br>
<a href="https://www.jmcpdotcom.com/blog" target="_blank">https://www.jmcpdotcom.com/blog</a><br>
_______________________________________________<br>
mosh-devel mailing list<br>
<a href="mailto:mosh-devel@mit.edu">mosh-devel@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/mosh-devel" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-devel</a><br>
</div></div></blockquote></div><br></div>