<div dir="ltr">Right, I'm attaching a script I was working on when I was looking at this a few weeks ago. Fair warning, it might not be in 100% working condition right now.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Mar 28, 2014 at 3:08 PM, David Seaward <span dir="ltr"><<a href="mailto:dseaward925@gmail.com" target="_blank">dseaward925@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ah, this is more complicated than I thought :D<br>
<br>
I thought it was going to be one of:<br>
<br>
a) mosh-client - ssh - ssh - mosh-server<br>
<br>
...where "ssh - ssh" may be some kind of transparent hop, or<br>
<br>
b) mosh-client - mosh-? - mosh-? - mosh-server<br>
<br>
...with funky configuration on the hops.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Fri, Mar 28, 2014 at 5:04 PM, Mark Stillwell <<a href="mailto:marklee@fortawesome.org">marklee@fortawesome.org</a>> wrote:<br>
><br>
>> 1. Use a UDP packet repeater.<br>
>><br>
>> <a href="http://serverfault.com/questions/390916/mosh-tunnel-via-proxy" target="_blank">http://serverfault.com/questions/390916/mosh-tunnel-via-proxy</a><br>
>> suggests stone. I'm wondering whether socat or netcat could be<br>
>> used as well. But such a tool needs to be installed on the<br>
>> gateway. So, I'm suggesting a second solution:<br>
><br>
><br>
> I've tried this with both socat and stone, using one of these tools to go<br>
> from udp to tcp, then forwarding the tcp connection with ssh, then<br>
> translating back from tcp to udp on the other side of the connection. It<br>
> works great for 10-15 seconds, then mosh invariably freezes up and starts to<br>
> complain about tampering.<br>
><br>
> Based on debug output from stone, I think that mosh tries to send some udp<br>
> packets that are too big to fit into a single tcp packet within the ssh<br>
> tunnel, and somehow when ssh puts everything back together on the other end<br>
> it must not do it perfectly, triggering mosh's alarm bells.<br>
><br>
> --<br>
> Mark Lee Stillwell<br>
> <a href="mailto:marklee@fortawesome.org">marklee@fortawesome.org</a><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> mosh-users mailing list<br>
> <a href="mailto:mosh-users@mit.edu">mosh-users@mit.edu</a><br>
> <a href="http://mailman.mit.edu/mailman/listinfo/mosh-users" target="_blank">http://mailman.mit.edu/mailman/listinfo/mosh-users</a><br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div>Mark Lee Stillwell</div><a href="mailto:marklee@fortawesome.org" target="_blank">marklee@fortawesome.org</a>
</div>