OpenSSH
[Top] [All Lists]

Re: sshd leaking processes

To: Darren Tucker <dtucker@zip.com.au>
Subject: Re: sshd leaking processes
From: Frederik Eaton <frederik@a5.repetae.net>
Date: Mon, 5 Mar 2007 02:17:30 +0000
Cc: openssh-unix-dev@mindrot.org
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <45EB67B0.10601@zip.com.au>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <20070305002746.GA755@a5.repetae.net> <45EB67B0.10601@zip.com.au>
Reply-to: frederik@ofb.net
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: mutt-ng/devel-r804 (Debian)
> You're using "traditional" netcat (ie 1.10) on the intermediate server?

Yes

> What's happening is that sshd closes the stdio to the "nc" processes
> and waits for it to exit, but the nc process never checks for this
> closure and never exits, thus deadlocks.
>
> You can substitute connect[1] for netcat as it does not have this particular 
> problem.

Thanks a lot, that indeed works.

Frederik

-- 
http://ofb.net/~frederik/
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>