From owner-freebsd-hackers Tue Oct 8 5:33:28 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D77537B401 for ; Tue, 8 Oct 2002 05:33:27 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5E43E86 for ; Tue, 8 Oct 2002 05:33:26 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g98CXE6K000596 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 8 Oct 2002 14:33:22 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.1.10]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id g98CXDgK051381 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 8 Oct 2002 14:33:14 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (localhost [127.0.0.1]) by cicely8.cicely.de (8.12.6/8.12.6) with ESMTP id g98CXClv016802; Tue, 8 Oct 2002 14:33:12 +0200 (CEST) (envelope-from ticso@cicely8.cicely.de) Received: (from ticso@localhost) by cicely8.cicely.de (8.12.6/8.12.6/Submit) id g98CXAxc016801; Tue, 8 Oct 2002 14:33:11 +0200 (CEST) Date: Tue, 8 Oct 2002 14:33:09 +0200 From: Bernd Walter To: Riaal Domingues Cc: freebsd-hackers@FreeBSD.ORG, pk@nanoteq.com Subject: Re: Network connections keep dropping Message-ID: <20021008123309.GC1837@cicely8.cicely.de> Reply-To: ticso@cicely.de References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Oct 08, 2002 at 09:18:21AM +0000, Riaal Domingues wrote: > I have a strange problem and I hope you guys can help me. > > We have several 4.6-RELEASE boxes running SSH, after connected for a > while (varies between 5 min. and an +-40) the connection dies. The SSH > on the server only writes out the following message: "fatal: Write > failed : permission denied". I looked in the SSH source code, and the > only file that generates an error like that is > /usr/src/crypto/openssh/packet.c. The permissions denied (errno set by > system) error is generated in an attempt to write to the > "connection_out" socket. The typical reason for directly seeing denies when accessing sockets is a deny by an ipfw rule. Check your ipfw dynamic rules carefully - they might timeout because of a configuration error. It's also possible, but I'm not shure, that an mbuf/mbufcluster shortage can produces such errors. Well there are some other reasons too, but most of them don't apply to your scenario or are unlikely. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message