[mosh-devel] Something for idea list?

Keith Winstein keithw at MIT.EDU
Mon Jul 8 01:22:17 EDT 2013


Hello Lawrence,

Unfortunately not. (See previous reply.) But you can follow this issue at
https://github.com/keithw/mosh/issues/210

The main blocker for this is that we need an asynchronous DNS resolver in
mosh-client to be able to discover if the server's IP has changed in the
middle of the connection (and whether we should try another IP).

There are a few options here, none of them super-great. (Link with c-ares?
Use gethostbyname() from a thread or forked process?)

If you or anybody else has an opinion about the best way to do this, happy
to discuss or take a patch to add this support.

Best regards,
Keith

On Fri, Jun 28, 2013 at 8:34 AM, Lawrence 'The Dreamer' Chen <
TheDreamer at lhaven.net> wrote:

> Can Mosh work if the mosh-server IP changes as I roam between networks?
>
> Namely when I'm on campus wifi, I'll have a 10.x.x.x address and the
> hostname for mosh-server will resolve to one as well.
>
> But, when I'm off campus. I'll have whatever IP is assigned by the
> network I'm on, and the hostname for mosh-server will resolve to its NAT
> IP (which I'm told is subject to change, but so far hasn't.  I'm the DNS
> administrator, so I should get notice of any changes...)
>
> Not sure if its because the NAT is only on the outside, or that internal
> routing doesn't send the response back out through the NAT...
>
> --
>   Name: Lawrence "The Dreamer" Chen        Email: TheDreamer at lhaven.net
>   Blog: http://lawrencechen.net
>
> _______________________________________________
> mosh-devel mailing list
> mosh-devel at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mosh-devel/attachments/20130708/62b8cf11/attachment.html


More information about the mosh-devel mailing list