home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.protocols.tcp-ip      TCP and IP network protocols.      14,669 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 12,941 of 14,669   
   Jorgen Grahn to Rick Jones   
   Re: tcp session timeout. Linux 2.6 | dro   
   24 Jun 09 19:16:07   
   
   From: grahn+nntp@snipabacken.se   
      
   On Wed, 24 Jun 2009 17:40:35 +0000 (UTC), Rick Jones    
   wrote:   
   > Marco Peng  wrote:   
   >   
   >> Thanks for your reading. :-)   
   >> I meet a problem, I use dropbear as a ssh server.   
   >> I limit the concurrent session max = 1.   
   >> If I login after a logout, all work good.   
   >> But if I shutdown my client without logout, I cannot login again.   
   >> Can some one give my some hints to handle this case ?   
   >> How can I change the system TCP session time out for my next login   
   >> without the last logout?   
      
   > If I recall correctly, ssh defines an application-layer keepalive   
   > mechanism.  It would be best to look into enabling that to clear-out   
   > your half-open sessions.   
      
   It has (or at least OpenSSH has).   
      
   And implicit in your answer is this (correct me if I'm wrong): if   
   someone pulls the plug on the client, the server isn't automatially   
   going to notice. You need application activity for that.   
      
   /Jorgen   
      
   --   
     // Jorgen Grahn           R'lyeh wgah'nagl fhtagn!   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca