Bizarre network+ssh+bash shell behaviour

Robert Watson rwatson at freebsd.org
Sat Oct 9 01:38:07 PDT 2004


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




More information about the freebsd-current mailing list