Date: 26 Sep 2001 16:46:45 +0100 From: "=?iso-8859-1?Q?Jo=E3o_Pagaime?=" <jpsp@fccn.pt> To: freebsd-isp@freebsd.org Subject: Fw: SSH2 dies when idle Message-ID: <0ca401c146a2$723de5f0$dc0788c1@jpsp2>
next in thread | raw e-mail | index | archive | help
Hello all, I remember someone set a call-back for me to reply to his email, if I got to solve this problem, but I deleted his email, so here it is anyhow. The problem was a statefull firewall that closed idle connections older than one hour. The solution was to make the server start the TCP keep-alive algorithm earlier (75 seconds for instance instead of 2 hours), through a sysctl command, like this: $ sysctl -w net.inet.tcp.keepinit=75000 The bad network channel was just a coincidence (after the firewall, all network channels aren't so great...) --jp ----- Original Message ----- From: "Joćo Pagaime" <jpsp@fccn.pt> To: <Sent: Friday, September 14, 2001 11:01 AM Subject: SSH2 dies when idle > Hello all, > > My idle SSH sessions sometimes die out, when connected > to some servers reachable through a not-so-good > network channel (1% packet loss and big jitter) > > I wouldn't like to totally desconfigure TCP Keep > alives on those SSH sessions, but would like > to decrease it's sensibly. > > Has anybody had the same problem and come up > with a solution? > > Thanks, > Joao > > PS: SSH version is 2.0.13 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0ca401c146a2$723de5f0$dc0788c1>