Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2013-01-14 Thread Axel Beckert
Hi Keith, On Mon, Jan 14, 2013 at 02:27:15AM -0500, Keith Winstein wrote: > Axel: FYI, we were able to reproduce your bug (it was also triggered > by a long one-way MIT network outage today). Yay! Because I couldn't reproduce it anymore and in the meanwhile I had to reboot the machine. > The iss

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2013-01-13 Thread Keith Winstein
Axel: FYI, we were able to reproduce your bug (it was also triggered by a long one-way MIT network outage today). The issue comes down to a bad interaction where the client and server both think the other guy is trying to DOS them and start ignoring each other's packets. Working on a fix, but just

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-31 Thread Keith Winstein
On Mon, 31 Dec 2012, Axel Beckert wrote: > Hi, > > On Mon, Dec 31, 2012 at 01:36:56AM -0500, Keith Winstein wrote: >> On Mon, Dec 31, 2012 at 12:47 AM, Axel Beckert wrote: >>> It looks like the data sent from the client is not (correctly) >>> received on the server side. >> >> Do you think you co

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-31 Thread Axel Beckert
Hi, On Mon, Dec 31, 2012 at 01:36:56AM -0500, Keith Winstein wrote: > On Mon, Dec 31, 2012 at 12:47 AM, Axel Beckert wrote: > > It looks like the data sent from the client is not (correctly) > > received on the server side. > > Do you think you could reproduce this? It would be wonderful to > cap

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Keith Winstein
Do you think you could reproduce this? It would be wonderful to capture what the server thinks is happening (i.e. the debugging output of mosh-server new -v). On Mon, Dec 31, 2012 at 12:47 AM, Axel Beckert wrote: > Hi, > > On Mon, Dec 31, 2012 at 01:44:34AM +0100, Christoph von Stuckrad wrote: >>

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Axel Beckert
Hi, On Mon, Dec 31, 2012 at 01:44:34AM +0100, Christoph von Stuckrad wrote: > On 30.12.2012 23:55, Axel Beckert wrote: > ... > > And now that you mention it: That clock still works, i.e. it's updated > > on the client. It updates once a second, but the blue bar on top is > > still there and says "

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Christoph von Stuckrad
On 30.12.2012 23:55, Axel Beckert wrote: ... > And now that you mention it: That clock still works, i.e. it's updated > on the client. It updates once a second, but the blue bar on top is > still there and says "mosh: Last reply 45804 seconds ago. [To quit: > Ctrl-^ .]". But nothing I type is shown

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Axel Beckert
Hi Keith, On Sun, Dec 30, 2012 at 01:59:53PM -0500, Keith Winstein wrote: > Something is awry here but I am a little confused, especially about > why packets are being sent so often. I wonder if somehow two > sessions got slotted in to the same spot, somehow, on the > intermediate NATted link. But

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Keith Winstein
Something is awry here but I am a little confused, especially about why packets are being sent so often. I wonder if somehow two sessions got slotted in to the same spot, somehow, on the intermediate NATted link. But really I don't quite understand what is going on. Is the display (visible on t

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Axel Beckert
Hi Keith, On Sun, Dec 30, 2012 at 12:31:46PM -0500, Keith Winstein wrote: > Thanks for the detailed report. "Last reply" means that the _server_ > is not getting (or at least not acknowledging) packets from the > _client_. (If the client were not getting packets at all, it would > say "Last contac

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Keith Winstein
Hello Axel, Thanks for the detailed report. "Last reply" means that the _server_ is not getting (or at least not acknowledging) packets from the _client_. (If the client were not getting packets at all, it would say "Last contact.") So the client-side tcpdump is somewhat as expected. Are you ab

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Axel Beckert
Hi Quentin, On Sun, Dec 30, 2012 at 11:22:42AM -0500, Quentin Smith wrote: > On Sun, 30 Dec 2012, Axel Beckert wrote: > > Any idea what could have cause such a bad lockup in a mosh connection? > > IIRC as of now, mosh does DNS lookups only once at start, so it > > couldn't be a cached bad DNS repl

Re: [mosh-devel] Mosh connections didn't come back after ca. 18000 sec over 2x NAT

2012-12-30 Thread Quentin Smith
Hi Axel, Just to check the obvious first - to your knowledge, the server resolved to the same IP address before and after you restarted the AP? (That is, the server didn't appear to move for any reason?) What version of mosh are you using? Mosh 1.2.3 adds a new behavior where it will try openi