On Fri, 19 Oct 2001 [EMAIL PROTECTED] wrote:

> I have KeepAlive configured on my server, but still occationally we get a
> session that hangs. netstat -an showes the tcp connection is still
> ESTABLISHED an hour later, w shows the user logged in and the sshd is still
> alive. At this point should the KeepAlive signal realize the other side is
> dead and kill the connection?? Is there a timer associated w/ KeepAlive?
> Any suggestions? Red Hat 6.2

Some NAT gateways will expire long running quiescent TCP connections. 
Under Linux, you can play with /proc/sys/net/ipv4/ip_keepalive_* to 
modify keepalive times. Some other operating systems can adjust them 
using sysctl ("net.inet.tcp.keep*" on OpenBSD).

-d

-- 
| By convention there is color,       \\ Damien Miller <[EMAIL PROTECTED]>
| By convention sweetness, By convention bitterness, \\ www.mindrot.org
| But in reality there are atoms and space - Democritus (c. 400 BCE)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to