Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Oct 2004 04:36:39 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Bizarre network+ssh+bash shell behaviour
Message-ID:  <Pine.NEB.3.96L.1041009043526.93055C-100000@fledge.watson.org>
In-Reply-To: <20041009031904.GA68861@parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@fledge.watson.org      Principal Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041009043526.93055C-100000>