Re: Bizarre network+ssh+bash shell behaviour

From: Robert Watson <rwatson_at_freebsd.org>
Date: Sat, 9 Oct 2004 04:36:39 -0400 (EDT)
On Fri, 8 Oct 2004, Jeremy Chadwick wrote:

> On one of my boxes -- and only that box -- hitting EOF (^D) in bash
> to log out results in no printed "logout" message.  The socket does
> get closed cleanly, and the pty/tty does get put back into the
> "allocatable pty/tty pool" (sorry, not familiar with this portion).
> However, normally when logging out of a shell, the time between logout
> and the time between the actual socket being dropped is minimal (i.e.
> immediately); in the case of the "weird box", there is a good 1-2
> second delay before the actual socket is dropped.

It would probably be interesting to run tcpdump on one or both boxes and
see if anything in particular stands out.  I.e., a FIN gets sent and the
other follows much later or the like.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert_at_fledge.watson.org      Principal Research Scientist, McAfee Research
Received on Sat Oct 09 2004 - 06:38:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:16 UTC